Commit Graph

5774 Commits

Author SHA1 Message Date
Manolo Gouy
ecb31ba5e8 Removed compilation warning about signed/unsigned comparison.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-23 21:19:29 +00:00
Manolo Gouy
2b2f0c43eb Updated after addition of Fl_Copy_Surface and Fl_Image_Surface classes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10162 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-23 21:12:38 +00:00
Manolo Gouy
8b62acc266 Added required #include <time.h>
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10161 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-23 18:27:55 +00:00
Manolo Gouy
423ef813f0 Removed compilation warning of signed/unsigned comparison.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10160 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-23 17:03:08 +00:00
Manolo Gouy
07dd8ba328 Added copy/paste from/to FLTK applications of graphical data.
Added Fl_Image_Surface class to draw into an Fl_Image object.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10159 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-23 16:47:21 +00:00
Manolo Gouy
85af2efe09 Simpler definition of the fl_create_offscreen() macro on the X11 platform.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10158 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-23 16:00:25 +00:00
Greg Ercolano
1b1f02a365 Fix STR #3086, missing virtual dtor when ABI >= 10303.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10157 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-22 15:38:27 +00:00
Manolo Gouy
dd2b095f87 Fix STR#2995: make FLTK robust to bad .xpm files
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10156 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-22 12:11:17 +00:00
Manolo Gouy
94d86bba5c Removed compilation warning.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10155 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-21 14:12:04 +00:00
Ian MacArthur
3cccaf83c1 Attempt pt fix keywords property on Fabien's
new Fl_sleep file, it seems to have been missed
of from the intial commit.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10154 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-21 11:00:37 +00:00
Greg Ercolano
d828af06fe Adding editor screenshot with line# feature enabled.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10153 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-21 06:59:56 +00:00
Greg Ercolano
46521bf437 Implements STR #2621: Add line numbers to Fl_Text_Display.
Applied LZA's patch and included some mods to address TODO items and ABI issues.

Also update CREDITS with LZA and a few other notably absent names.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10152 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-21 06:56:59 +00:00
Fabien Costantini
cb0f80cde7 Updated XCode 3+4 project files with new Fl_sleep.cxx file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10151 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-21 04:24:05 +00:00
Fabien Costantini
54b0123eab Added a new portable sleep API(ABI compatible). Now features a flexible multi-usage sleep() api accepting decimals, msleep() for millisecs only, usleep() for microsecs. Updated Makefiles, cmakefiles, vs2008, vs2010 with the new Fl_sleep add-on. Documented new API. still needs to be added in Xcode.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10150 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-21 04:10:12 +00:00
Greg Ercolano
2c820fd53d Fixes for STR#3085; fluid UI layout clipping issues.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10149 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-17 20:46:25 +00:00
Greg Ercolano
4c301eb6f9 Small template panel widget positioning/sizes
to prevent labels clipping (on linux).



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10148 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-17 18:43:11 +00:00
Greg Ercolano
17b3cb59cd Removed stale easysw.com info (easysw.com is apparently now a spam site)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10147 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-12 17:42:41 +00:00
Manolo Gouy
b6703eb58f Fix for STR#3079 (cont'd).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10146 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-04 14:04:52 +00:00
Manolo Gouy
1882f90a94 Removed compilation warnings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10145 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-04 13:46:09 +00:00
Manolo Gouy
f8852ab51d Fix for STR#3079 (WIN32 only).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10144 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-03 12:19:39 +00:00
Ian MacArthur
315fcfa57a Remove use of the macro min() from fl_gleam code, since it triggers redefinition warnings on some build hosts.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10143 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-02 09:13:29 +00:00
Manolo Gouy
b6049a3ef4 Fix STR#3039.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10142 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-02 06:41:01 +00:00
Ian MacArthur
7278f1ac37 Modify fl_gleam.cxx to experimentally remove
an inclde of <iostreams> and a call to 
"using namespace std;" that appear to be unnecessary
in this code.

Also add the svn $Id$ lines, which appear to have
been missing before.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10141 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-01 22:04:26 +00:00
Manolo Gouy
ab220c131a Fix STR#3044 (cont'd).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10140 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-01 15:55:03 +00:00
Ian MacArthur
b1a6eeeda2 Fix for STR #3044, part 2. (final)
Fix DEBUG statement near line 572 of Fl_File_Icon2.cxx


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10139 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-01 09:09:58 +00:00
Ian MacArthur
abb91eed73 Partial fix for STR #3044.
Fixes typo in a DEBUG section of Fl_Native_File_Chooser_WIN32.cxx



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10138 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-01 09:00:30 +00:00
Manolo Gouy
6f7b09bdf1 Fix STR#3072: text display is slow on WIN32 with Chinese characters.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10137 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-04-30 20:03:12 +00:00
Greg Ercolano
ebef1faf26 Hmm, reverted some of my doc changes in r10134 -- could swear the option
in question also affected widget focus in a broader way, but apparently not..



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10136 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-04-29 07:48:46 +00:00
Greg Ercolano
cc4697dbf2 Fixes STR#3065
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10135 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-04-29 03:22:38 +00:00
Greg Ercolano
3a14af20b3 Small doc modifications to clarify Fl::OPTION_ARROW_FOCUS
and interrelate docs for Fl_Input_::tab_nav().



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10134 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-04-29 02:56:34 +00:00
Manolo Gouy
9e079f63b8 Added details about how to build programs that run on various Mac OS X versions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10133 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-04-28 16:27:55 +00:00
Manolo Gouy
b6a46a7099 To fix "C++11 related issues" from fltk.coredev.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10132 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-04-28 09:17:12 +00:00
Manolo Gouy
deef2000fa To fix "MACOSX issue while building latest SVN 1.3.2" from fltk.general (cont'd).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10131 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-04-27 18:37:31 +00:00
Manolo Gouy
b4c9f84118 To fix "MACOSX issue while building latest SVN 1.3.2" from fltk.general
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10130 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-04-27 18:13:54 +00:00
Manolo Gouy
b24f66109d Fix STR#3063: compilation using Mac OS 10.4 (cont'd).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10129 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-04-27 15:48:18 +00:00
Manolo Gouy
6d3bb5f754 Fix STR#3063: compilation using Mac OS 10.4 (cont'd).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10128 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-04-27 14:14:23 +00:00
Manolo Gouy
6c92cc9a8d Fix STR#3063: compilation using Mac OS 10.4
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10127 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-04-27 13:57:09 +00:00
Greg Ercolano
6ae1b1665e Added "gleam" to docs for Fl::scheme()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10126 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-04-19 14:55:15 +00:00
Manolo Gouy
c44e6122d4 Modified doc following closure of STR#2990.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10125 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-04-01 09:12:02 +00:00
Manolo Gouy
2d845e708a Minor reformatting to follow the coding style of the CMP.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10124 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-03-30 21:32:46 +00:00
Manolo Gouy
623012ad72 Removes a constraint that the fancy string drawing function fl_draw() is limited to 1024 chars/line
that blocked a user of the Fl_Browser widget (see "fl_draw MAXBUF limit" in fltk.coredev).

Also, removed a useless computation in string expansion that checked for valid UTF-8 sequences:
the point is that a valid UTF-8 sequence for a non-ascii char contains no ascii char,
thus no tab, space, control, & or @ we want to process differently. 
Also, invalid UTF-8 sequences are copied unchanged by this procedure.
Therefore, checking for tab, space, control, & or @, and copying the byte otherwise, is enough.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10123 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-03-28 10:15:43 +00:00
Greg Ercolano
7accbfd440 Fixing STR#3009 as a two step process:
1) Undo r9867 (a fix for STR#2939) which made more changes than needed
        Doing this will also fix #3009.
 
     2) Apply just the small mod needed to fix STR#2939
        so that both #3009 and #2939 are solved.

This commit resolves (2), which re-fixes STR #2939.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10122 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-03-24 18:24:59 +00:00
Greg Ercolano
fca43790e0 Fixing STR#3009 as a two step process:
1) Undo r9867 (a fix for STR#2939) which made more changes than needed
       Doing this will also fix #3009.

    2) Apply just the small mod needed to fix STR#2939
       so that both #3009 and #2939 are solved.

This commit resolves (1).
Next commit will resolve (2).



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10121 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-03-24 18:22:51 +00:00
Greg Ercolano
a973a183a7 Added docs to Fl_Tabs as per STR#1174, and some doc improvements.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10120 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-03-23 17:36:59 +00:00
Manolo Gouy
fac0e9d43a Mac OS: drawing to windows at each FLTK event loop is now done as normally with Cocoa, that is,
by the [NSView drawRect:] implementation. The system therefore has prepared before the 
adequate graphics context for the window.
This introduces a limitation: it's not possible to call Fl::wait(), Fl::check()
nor Fl::ready() while in the draw() function of a widget. Use an idle callback instead.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10119 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-03-22 17:09:07 +00:00
Greg Ercolano
d175f860db Fixed casing issue for code comment: XkbSetDetectableAuto*R*epeat()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10118 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-03-13 16:57:52 +00:00
Greg Ercolano
3d8c3577cb We need to add some details about repeating keys to the keyboard events docs.
Inserting this todo item to later be replaced with something more specific.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10117 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-03-10 14:28:27 +00:00
Manolo Gouy
1ce59d2caa Removed unnecessary clip when printing a sub-window.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10116 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-03-05 12:55:34 +00:00
Ian MacArthur
770c280708 Adjust test/demo.cxx to support the newly added
"gleam" scheme.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10115 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-02-26 21:21:14 +00:00
Greg Ercolano
595da3e496 Added fl_gleam.cxx..
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10114 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-02-25 15:10:13 +00:00