Manolo Gouy
8b93da8f20
MacOS: fix a small problem where command Quit of the application menu may not work if Fl_Native_File_Chooser is used before any window is shown.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12055 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-27 15:43:09 +00:00
Manolo Gouy
842c45f938
Fl_Native_File_Chooser on MacOS: improve handling of case where no chooser title is set.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12012 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-05 07:36:04 +00:00
Manolo Gouy
6324e540fe
Improve Fl_Native_File_Chooser open dialog under Mac OS 10.12 that had lost its titlebar message.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12010 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-04 14:56:38 +00:00
Manolo Gouy
634ede015d
Define NSInteger in FL/mac.H when needed, so it's available to all source files.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-30 02:23:26 +00:00
Greg Ercolano
b4662e4f44
Fixes STR#3236; stops errors about "NSInteger was not declared" on OSX 10.4.x
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10778 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-29 15:44:17 +00:00
Manolo Gouy
0e633c4872
Removed deprecation and implicit cast warnings.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10729 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-05-04 17:00:46 +00:00
Manolo Gouy
62ed929ea5
Removed small memory leak.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10549 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-02 14:09:04 +00:00
Manolo Gouy
9dae6e96b2
Implemented panel:shouldEnableURL: for the open dialog delegate.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10317 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-16 17:34:29 +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
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
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
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
Manolo Gouy
74496aa2cc
Removed several deprecation warnings.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9685 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-27 12:49:39 +00:00
Manolo Gouy
81fcaed456
Mac OS: the procedure used to restore visible focus to a window after using an Fl_Native_File_Chooser
...
window failed under OS X 10.7. It's replaced by a simpler, OS version-independent procedure.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9144 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-22 15:12:57 +00:00
Manolo Gouy
5b04fd35fc
Mac OS: simplified use of #define MAC_OS_X_VERSION_10_x
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9057 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-22 11:40:53 +00:00
Manolo Gouy
19b3e33944
Keep filter attached to an Fl_Native-File_Chooser after it's closed.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-05 16:52:16 +00:00
Manolo Gouy
bb9dd96ad3
Fixed Mac OS crash when using Fl_Native_File_Chooser with filter that does not end with \n.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9029 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-04 13:50:31 +00:00
Greg Ercolano
4f4a8fc3c7
Modifications to all LGPL headers for STR #2685 .
...
(to clarify static exception LGPL by changing license references)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19 04:49:30 +00:00
Manolo Gouy
9223527992
Mac OS: allow internationalization of file dialogs (continued).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8784 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-06 12:11:04 +00:00
Manolo Gouy
6fde8226fa
Mac OS: allow internationalization of file dialogs.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8776 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-03 16:08:42 +00:00
Manolo Gouy
ad73700388
Fix STR #2653 : (Mac OS only) filters in file chooser panels have now the form filter_name (pattern)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8774 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-03 10:06:27 +00:00
Manolo Gouy
422a2570a8
Allows to set the chooser's type at construction time without calling the type(int) function.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8692 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-19 15:40:43 +00:00
Manolo Gouy
c8ae58db48
Fix STR #2569 : put back Mac OS version of Fl_Native_File_Chooser::filter_value() and filters()
...
that had been erroneously removed by r.8378 that merged include files (these were
previously inline functions for Mac OS only).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8453 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-20 21:28:55 +00:00
Matthias Melcher
b661be2778
Distille the Native File Chooser files down into a single file. I would like to avoid that the common API runs out of sync between platforms (no code doubling - there was already a mismatch with 'const'), and that the users may wonder which file to include. Please check this on WIN32 and Unix. It does work on OS X.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8378 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-05 22:35:51 +00:00
Manolo Gouy
8072ef8ce8
Replaced a bunch of delete by delete[] where it's legitimate.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8362 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-02 18:39:34 +00:00
Manolo Gouy
dc0c85b964
Added protection against compilation besides Mac OS X.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8062 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-19 17:57:19 +00:00
Manolo Gouy
79d185c068
Renamed Fl_Native_File_Chooser_MAC.cxx to Fl_Native_File_Chooser_MAC.mm
...
because this is an objective-c++ file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8041 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15 20:06:56 +00:00