Commit Graph

4134 Commits

Author SHA1 Message Date
engelsman
f0be902828 documentation/unicode.dox: added to the Unicode and UTF-8 Support chapter
added references to RFC 3629 as the source of the 21-bit U+10FFFF limit,
outlined the illegal character strategy of fl_utf8decode(), and
added warnings that fl_utf8len() is unsafe



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7610 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-17 20:16:51 +00:00
engelsman
20a837c756 src/fl_utf.c: fixed UCS handling up to and including 0x10FFFF [STR 2349]
also enabled doxygen comments for ERRORS_TO_CP1252, STRICT_RFC3629 and
ERRORS_TO_ISO8859_1 preprocessor #defines, and updated other documentation.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-17 20:03:47 +00:00
engelsman
c1fbbf03ac FL/mac.H: stop doxygen complaining by escaping # in comment
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7608 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-17 16:42:16 +00:00
Ian MacArthur
97c314c46d Typo in tree.h - needs to call fl_ask.H (not fl_ask.h)
Greg - if this is from fluid, the fluid input file may be wrong?



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7607 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-14 17:31:18 +00:00
Manolo Gouy
30933933b0 Fixed WIN32 crash when pixmap has no background area
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7606 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-13 10:18:47 +00:00
Ian MacArthur
6efdd85197 Make sure that "transparent_c" is not NULL before it is used in win32 builds.
Prevents segfault when loading pixmpas that have no transparent cell set.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7605 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-13 07:47:30 +00:00
Greg Ercolano
5be97a7868 Mods to tree widget for docs and callbacks.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7604 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-12 04:59:52 +00:00
Greg Ercolano
22f5929a2c Header file for tree test app mods.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7603 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-12 04:59:09 +00:00
Greg Ercolano
9d7b177e25 Various callback related tests added to 'tree' test program.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7602 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-12 04:58:22 +00:00
Greg Ercolano
1f6d222cb8 1) Modified tree test program to include when() options,
2) Improved when() handling for left mouse behavior
3) Added docs for when() handling



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7601 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-10 22:51:01 +00:00
Greg Ercolano
c4fd0d2900 Added 'When:' chooser to tree test program detect callback() behavior.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7600 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-10 21:07:05 +00:00
Greg Ercolano
e874b086ac 1) Invoke callback if when(FL_WHEN_RELEASE)
2) Removed unintended fallthrough from FL_DRAG -> FL_RELEASE handler.
3) Removed redundant redraw() calls



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7599 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-10 20:23:42 +00:00
Matthias Melcher
3ef47f712a Added 'rotated_text' to the Fluid IDE setup. It should probably be in 'Demo' as well.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7595 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-07 20:23:07 +00:00
Albrecht Schlosser
e61436c596 Fixed typo in src/CMakeLists.txt and added missing objective-c++ files
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7593 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-06 07:13:33 +00:00
Ian MacArthur
13ebb3bb8d svn props on ide_support.h too
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7587 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-03 20:11:59 +00:00
Ian MacArthur
21a0b338b2 svn props were not set on ide_visualc.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7586 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-03 20:10:13 +00:00
Ian MacArthur
ac33758e07 Fix compile time warnings for params to fprintf that are no longer used.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7585 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-03 20:06:22 +00:00
Matthias Melcher
f62fa46736 Fixes to VisualC6 project setup
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7584 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-02 21:12:55 +00:00
Matthias Melcher
08d62246af New VisualC6 setup, hoping that it will load on VC2008 and VC2010.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7583 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-02 20:55:20 +00:00
Ian MacArthur
c2c054c595 Utterly trivial fix to typo in visual C project generation comments...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7582 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-02 08:56:48 +00:00
Matthias Melcher
92fa35e4fb Remove obsolete plists
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7581 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-01 21:39:33 +00:00
Matthias Melcher
6918b952a1 Added missing plists
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7580 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-01 21:38:21 +00:00
Greg Ercolano
5f01490449 Doxygen HTML formatting fix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7565 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-28 07:29:01 +00:00
Greg Ercolano
7cf83d7e0f Finished up changes for references to fltk-bugs@fltk.org -> STR form.
Should solve STR #2352.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7564 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-28 07:21:41 +00:00
Greg Ercolano
4fd11eba88 Changed references to fltk-bugs@fltk.org -> STR form.
Todo: LGPL license file references (COPYING, license.dox, etc)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-28 03:15:47 +00:00
engelsman
a10e58a690 added implementations of fl_wcwidth_() and fl_wcwidth() to src/fl_utf.c
these supercede the old fl_wcwidth() code in src/xutf8/fl_wcwidth.c.
also added corresponding declarations to FL/fl_utf.c, and updated
src/Fl_Text_Buffer.c to enable the call to fl_wcwidth()



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-20 21:43:31 +00:00
engelsman
d50ca53788 tweaked fl_wcwidth.c and mk_wcwidth.c to remove system wchar_t
commented out, or replaced, wchar_t with unsigned int.
commented out unused functions from mk_wcwidth.c.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-19 21:15:30 +00:00
engelsman
a7a81061be tweaked fl_wcwidth.c and mk_wcwidth.c to supercede system wchar_t
fl_wcwidth.c has a typedef unsigned int wchar_t; and
mk_wcwidth.c has an #if 0 to stop #include <wchar.h>



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7530 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-18 18:38:13 +00:00
engelsman
4f928ef3d6 vanilla version of Markus Kuhn's wcwidth.c plus wrapper code
wcwidth() function required to give column widths for UTF-8
and is required from solving remaining parts of STR-2158



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7529 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-18 15:13:03 +00:00
Albrecht Schlosser
1ad2e5bf81 Added missing examples in CMake files: applied missing_examples_7473.patch
(STR #2317).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7528 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-18 15:09:04 +00:00
engelsman
9545e033bb Fl_Text_Buffer/Display fixes for UTF-8 / STR-2158 (part 1)
fixes to handle incorrect counting of UTF-8 characters by checking
for complete UTF-8 encodings in char* rather than char by char.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7527 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-18 14:33:33 +00:00
Manolo Gouy
1cd1045572 Fixed Quartz printing of custom dashed-lines.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7523 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-18 07:53:20 +00:00
Manolo Gouy
d0b1cc30f7 Removed multiple inheritance: back to r. 7519 exactly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7522 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-18 06:57:37 +00:00
Manolo Gouy
828568a336 Fixed compilation error at line 44.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7521 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-17 13:48:35 +00:00
Manolo Gouy
913530758a Improved the hierarchy of Fl_Device subclasses to allow separation of platform-specific devices.
This introduces multiple inheritance.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7520 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 20:19:09 +00:00
Greg Ercolano
0f180e1306 Small doc clarification for new insert() item.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7519 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 19:50:40 +00:00
Manolo Gouy
5a8c6087b0 Added Fl_Sys_Menu_Bar::insert(), clear(), clear_submenu()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7518 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 19:27:28 +00:00
Greg Ercolano
cba451be45 Doc sync.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7517 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 17:55:45 +00:00
Albrecht Schlosser
4d22e65e53 One more correction to misc/README.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7516 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 14:58:30 +00:00
Albrecht Schlosser
0aa28e28b4 Minor corrections and additions to misc UTF-8 test files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 14:49:08 +00:00
Albrecht Schlosser
ead526760f Added test files for UTF-8 character testing (use test/editor).
See the README file for more info.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7514 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 14:25:20 +00:00
Manolo Gouy
e0c8890874 Back to use of fl_file_chooser()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7510 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-15 12:58:42 +00:00
Manolo Gouy
590020a945 Replaced fl_file_chooser() by Fl_Native_File_Chooser uses in test programs
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7509 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-15 11:27:15 +00:00
Matthias Melcher
2a2e0821c9 Small fixes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7507 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-15 08:56:37 +00:00
Manolo Gouy
595b20f802 ps_image.cxx: better byte-swapping algorithm.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7506 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-15 08:24:25 +00:00
Manolo Gouy
fe76949b83 Made fl_register_images() seen by Doxygen.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7505 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 20:47:34 +00:00
Matthias Melcher
30d00ceb07 Fludi IDE: now supporting header files for OS X. If those are included for a library, the resulting framework will receive a copy of the headers, allowing Xcode to simply include the file into any new project. frameworks must be installed in /Library?Frameworks to be found automatically. A little more fixing is required.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7504 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 20:17:44 +00:00
Manolo Gouy
79b2c201a0 Fl_Pixmap: improved algorithm for WIN32 printing
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7503 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 20:12:06 +00:00
Manolo Gouy
f4a08a3672 Removed compilation warning
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 13:21:10 +00:00
Manolo Gouy
be9127c61a More logical use of Fl_Device::draw(<image class> *,...) functions
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7501 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 13:07:34 +00:00