Commit Graph

4003 Commits

Author SHA1 Message Date
Greg Ercolano
5162d3bc8d Added howto-add_fd_and-popen.cxx, added missing version Id EOF markers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-06 21:24:06 +00:00
Greg Ercolano
384929e7d2 Added examples directory
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7628 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-06 20:28:37 +00:00
Greg Ercolano
cc7b798179 Document return values for some methods that had none.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7627 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-03 15:46:59 +00:00
Albrecht Schlosser
27d9926856 Fixed dependencies for next snapshot.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7626 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-28 07:39:27 +00:00
Manolo Gouy
da69734f02 added device to demo's dependencies
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 22:10:03 +00:00
Manolo Gouy
170242b174 Reflected new device hierarchy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7624 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 22:04:05 +00:00
Manolo Gouy
4aa1da7f0e Changed file properties
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7623 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 17:52:27 +00:00
Manolo Gouy
85eb95a550 Changed svn properties
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7622 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 17:50:51 +00:00
Manolo Gouy
b6d9a8c15f Changed following new device hierarchy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7621 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 17:45:22 +00:00
Manolo Gouy
b7a566bdfc Changes following new device hierarchy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7620 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 17:44:01 +00:00
Manolo Gouy
e0a798f115 Reflecting deleted files by new device hierarchy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7619 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 17:30:03 +00:00
Manolo Gouy
6fb99e7ec7 Reflecting change in device hierarchy.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7618 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 17:24:21 +00:00
Manolo Gouy
26049351e0 Better device hierarchy with surfaces and graphics drivers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7617 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 17:20:18 +00:00
Manolo Gouy
0a280ce591 Fl_cocoa.m: better delete_timer function
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 07:06:43 +00:00
Manolo Gouy
53d7a643f1 Fl_get_key_mac.cxx: removed GetKeys Carbon call
Tested OK with keyboard demo.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-26 21:25:11 +00:00
Manolo Gouy
e2165ba028 Fl_cocoa.mm: removed 4 more Carbon calls (related to timers)
Tested OK with clock, scroll and tabs demos.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-26 20:04:00 +00:00
Manolo Gouy
ace4c55f35 Fl_Gl_Device_Plugin.cxx: fixed compilation error under some 10.4
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7613 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-21 07:15:13 +00:00
Greg Ercolano
2bf58376e5 Documentation fixes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-19 07:22:37 +00:00
Manolo Gouy
347754de61 Fixed "Unlock focus on wrong view" error that occurred sometimes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-18 14:21:45 +00:00
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