Ian MacArthur
8e789d61a3
This check-in brings in the simplified version of
...
Michael Baeuerle's patch to restore scandir like
operation on *nix like hosts that do not provide a
native scandir implementation, notably SunOS and
some others.
STR #2931 refers...
These changes are tested to have no effect on OSX,
Win32 or Linux systems, and indeed on any system that
has a working scandir implementation that configure
can detect.
Michael has released these changes to the fltk project,
and they are licensed under our usual conditons.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9832 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-06 22:15:01 +00:00
Albrecht Schlosser
3de79d1fd0
Update another, probably the last remaining old version number.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9831 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-01 00:48:00 +00:00
Albrecht Schlosser
61923a5bf8
Update even more version numbers.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9830 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-01 00:40:53 +00:00
Albrecht Schlosser
618eb31b20
Update version number in src/Makefile (STR #2932 ).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9829 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-28 23:16:27 +00:00
Ian MacArthur
eaa67248a7
Typo: It turns out that when we stepped the version number up to
...
1.3.2, we didn't change the hard coded value in fluid's about_panel.
Though:
Why is this value hard-coded anyway? Should fluid not be picking
that up from Enumerations.h at build time, or something?
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9827 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-20 10:27:47 +00:00
Manolo Gouy
dbae4f68c7
Introduced new Fl_Native_File_Chooser option USE_FILTER_EXT.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9826 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-19 15:25:17 +00:00
Manolo Gouy
3e7386137e
Introduced new Fl_Native_File_Chooser option USE_FILTER_EXT.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-19 15:19:58 +00:00
Greg Ercolano
8f8c52939e
Fixes STR#2930:
...
Applying Chris's patch to fix d+d of text selections from Firefox/Thunderbird -> FLTK.
Also applied Greg's fix for d+d of utf8 text in same use case.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9824 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-14 18:40:04 +00:00
Manolo Gouy
ef67cdc9d0
Added changes in Mac version of Fl_Native_File_Chooser.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-12 14:33:48 +00:00
Manolo Gouy
9ba6dd4a59
Mac OS Fl_Native_File_Chooser: when saving with multiple filters, changing the file type changes
...
the output file extension in the dialog window.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9821 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-12 13:20:11 +00:00
Manolo Gouy
7f9e6ae829
Mac OS save file dialog: display extension of preset file.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9819 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-11 12:11:30 +00:00
Manolo Gouy
42cc953b0b
Mac OS text input: fixed processing of dead key followed by non-text key.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9817 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-09 13:54:58 +00:00
Manolo Gouy
914e7f9b09
Mac OS text input: removed the Fl::marked_text_length() function that's not necessary.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9816 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-08 11:58:19 +00:00
Manolo Gouy
b22744aac0
Mac OS text input: a single FL_KEYBOARD event is now sent when processing dead keys.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9812 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-02 15:46:00 +00:00
Manolo Gouy
49f8a3cfc9
Fix STR#2928: alt+e on US keyboard not processed correctly as shortcut on Mac OS.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9811 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-28 21:05:29 +00:00
Manolo Gouy
e7c0c31661
Improved German translation, thanks to Albrecht.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9810 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-28 16:14:48 +00:00
Manolo Gouy
834c714f26
Mac OS: added support for internationalization of the application menu.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9809 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-25 16:28:49 +00:00
Manolo Gouy
e9c3075c26
added directories
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9808 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-25 16:27:31 +00:00
Manolo Gouy
9dc0f6016c
Fixed STR#2921 by adding 2 missing colons.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9806 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-21 09:25:25 +00:00
Manolo Gouy
b5a9c5218a
Mac OS: changed memory allocation style of static NSBitmapImageRep* rect_to_NSBitmapImageRep().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-20 16:54:23 +00:00
Manolo Gouy
161bdb8973
Mac OS: fixed a crash when printing window with OS 10.5
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9804 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-19 14:07:34 +00:00
Manolo Gouy
511c14e47d
Mac OS: fixed processing of system menu shortcuts that had been partly damaged in r.9799,
...
and fixed application menu with OS <= 10.3 that was duplicated.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9803 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-19 09:49:33 +00:00
Manolo Gouy
b08f91e529
r.9800 was a bad move; going back.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9801 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-18 17:12:39 +00:00
Manolo Gouy
a0ef82b7dc
Simplification of the - (BOOL)[FLView performKeyEquivalent:(NSEvent*)theEvent] method.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9800 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-18 16:34:58 +00:00
Manolo Gouy
81da29ff12
Mac OS: reorganized the text input handling code. Added a detailed description of what the code does
...
for this rather complex issue in comments.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9799 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-17 17:40:53 +00:00
Manolo Gouy
e1ddb7952a
Removed compilation warnings with old Mac OS SDKs
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9798 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-16 15:25:39 +00:00
Ian MacArthur
f37c9a1b6f
Doh! Forgot to bump the copyright year...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9797 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-16 12:50:29 +00:00
Ian MacArthur
f40aece7ee
I just noticed that when 1.3.2 was released, the FL_PATCH_VERSION in configure.in was left at 1 rather than being bumped to 2.
...
Though the FL_PATCH_VERSION in Enumerations.H seems to be fine, I think.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9796 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-16 12:48:29 +00:00
Manolo Gouy
6e880cee6a
Allow compilation with early Mac OS versions.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9795 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-16 08:45:35 +00:00
Manolo Gouy
9e67096dbb
Mac OS: added support for the text input feature introduced in OS 10.7 "Lion" where pressing and holding
...
some key opens a window with possible accented characters: added [NSView windowLevel] useful for
fullscreen windows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9793 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-14 09:07:34 +00:00
Manolo Gouy
482c4a5e0a
Mac OS: added support for the text input feature introduced in OS 10.7 "Lion" where pressing and holding
...
some key opens a window with possible accented characters. This feature is used by the Fl_Input_ and
Fl_Text_Editor widgets. User-defined text input widgets can optionally use this feature, but the default
behavior is to not use it. Fl_Secret_Input turns it off, for example.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9792 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-13 15:25:37 +00:00
Manolo Gouy
e042966ae7
About the fix for a problem apparent with the "cube" test program:
...
if the cube window is moved around rapidly, the GL pixels leak away from where they should be.
This problem no longer occurs with Mac OS 10.7 and above. The fix is thus made effective
only when OS < 10.7.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9790 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-10 08:57:19 +00:00
Manolo Gouy
57771e16fd
Fix STR#2915 where subwindow stayed hidden after hide() and then show().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-08 21:06:29 +00:00
Manolo Gouy
31e49fcf12
Mac OS: divided the FLDelegate object in two objects, FLWindowDelegate and FLAppDelegate.
...
This might help mixing FLTK and other window-creating systems.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-07 15:56:14 +00:00
Greg Ercolano
369bde4474
Added Fl::run() to list of things not to call in child thread..
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9784 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-04 08:15:12 +00:00
Manolo Gouy
0c6ad247dd
Display the moving insertion point when doing drag&drop to an Fl_Text_Display widget from the widget itself.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9781 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-29 11:58:49 +00:00
Manolo Gouy
d879e4b2e8
Added support for JIS (Japanese) keyboards under Mac OS X.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-26 19:44:56 +00:00
Manolo Gouy
28a85d27e9
Mac OS text input: corrected processing of arrow keys during character composition.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9777 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-26 14:02:59 +00:00
Manolo Gouy
a4c021e595
Repaired Fl_PostScript_Printer::start_job() that didn't work well when its 1st argument was 0
...
to indicate unknown number of pages.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9775 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-25 21:18:12 +00:00
Manolo Gouy
cf672dba0d
Mac OS text input: defined a small API that user-defined text editing widgets can use to signal marked text.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9774 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-24 11:45:07 +00:00
Manolo Gouy
3c72b20458
Handle special case for multiline input with 'old tab behavior' where tab is entered as a character:
...
didn't work when selection had been done with ctrl-A.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9773 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-24 04:06:46 +00:00
Manolo Gouy
d7a5f3f04a
Mac OS text input: corrected minor issue when text widget is in a subwindow (cont'd).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9772 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-20 16:00:04 +00:00
Manolo Gouy
4ab7e91c61
Mac OS text input: corrected minor issue when text widget is in a subwindow.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9770 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-20 15:12:32 +00:00
Manolo Gouy
70ea6b8d7c
Mentioned support for Mac OS text input system.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9768 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-19 12:34:42 +00:00
Manolo Gouy
7ab1a8b204
Mac OS text input: marked text is now underlined.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9767 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-19 08:50:34 +00:00
Manolo Gouy
81c98f228b
Removed compilation warning.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9766 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-18 16:06:56 +00:00
Manolo Gouy
fd2cc45334
Mac OS text input support: Last change in Fl_Text_Display useless because HIGHLIGHT_MASK
...
is not used anymore for marked text..
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9764 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-18 14:54:08 +00:00
Manolo Gouy
a59ec3744d
Mac OS text input support: use primary selection for marked text in Fl_Text_Display + some reformatting.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9763 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-18 14:24:07 +00:00
Manolo Gouy
46abc078b4
Mac OS: improved text input support with visible display of marked text in text widgets.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9761 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-17 17:44:15 +00:00
Manolo Gouy
3eb27ccf3e
Mac OS text input: set marked text as selected in text widgets so user is aware of it.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9759 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-16 16:04:02 +00:00