summaryrefslogtreecommitdiff
path: root/src/Fl_Native_File_Chooser_MAC.mm
AgeCommit message (Collapse)Author
2025-05-11Fix address sanitizer exception for macOS native file chooserMatthias Melcher
The `memcmp` call would crash in Adress sanitizer if the memory compare would run into an undefined buffer. `memcmp` is not guaranteed to stop reading a buffer if a difference is found.
2025-04-05Fixes error: two consecutive '[' tokens on g++ with objcpp files (#1246)Mohammed Alyousef
Applying MoAlyousef's PR. -erco
2024-06-21Remove trailing whitespaceAlbrecht Schlosser
no code changes
2024-06-16Link frameworks used by recent macOS versions with -weak_frameworkManoloFLTK
This allows FLTK apps to use the recent frameworks when they run on recent macOS versions even if the minimum supported macOS version of these apps is more ancient than the framework.
2024-06-03macOS: remove use of deprecated [NSBox setBorderType:] methodManoloFLTK
2024-05-03macOS + CMake: fix use of optional framework UniformTypeIdentifiersManoloFLTK
2024-03-23macOS: remove deprecated use of property allowedFileTypes in class NSSavePanelManoloFLTK
The recommended replacement requires macos ≥ 11.0 and a new framework: UniformTypeIdentifiers
2023-10-11Add legit #pragma clang diagnostic ignored "-Wdeprecated-declarations"ManoloFLTK
2023-10-09macOS: remove a bunch of deprecation warningsManoloFLTK
2023-01-04 Fix for "Fl_Native_File_Chooser_MAC.mm compilation warning" (#627)ManoloFLTK
2023-01-01FLUID refactor and macOS warnings removed (#623)Matthias Melcher
P renamed to g_project class Project renamed to class Fluid_Project fixes macOS type cast warnings
2022-12-30Use `FL_OVERRIDE` for all overridden virtual methods (#611)Matthias Melcher
FL_OVERRIDE is defined as `override` for C++11 and higher FL_OVERRIDE is defined as `override` for VisualC 2015 and newer Don't interfere with Fl_Widget::override()
2022-12-16 Fix for "Recent macos build issues" (#598)ManoloFLTK
2022-12-15macOS: Add "Show hidden files" button to native file chooserManoloFLTK
2022-09-26Replace all calls to sprintf() by calls to snprintf().ManoloFLTK
2022-02-03Remove platform #ifdef from macOS native filechooserAlbrecht Schlosser
2022-01-16Rename FL/fl_string.h to FL/fl_string_functions.hAlbrecht Schlosser
This is part 1 of the final fix for a previous name clash on case insensitive file systems (fl_string.h vs. Fl_String.H).
2021-10-22Test wether preprocessor variable __BLOCKS__ is definedManoloFLTK
2021-10-22Allow compiling with compiler without "blocks" support.ManoloFLTK
This corresponds to PR#284.
2021-08-06Fix problem in native file chooser with macOS 12 "Monterey" (beta).ManoloFLTK
2020-10-05Fix issue #145: Native file dialog on macOS in the absence of another FLTK ↵ManoloFLTK
window.
2020-08-01Implement + deploy fl_strdup()Greg Ercolano
2020-07-06Improve control of sheet containing file dialog window.ManoloFLTK
2020-07-06Remove $Id$ tags, update URL's, and moreAlbrecht Schlosser
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
2020-04-14Make sure output file name extension is visible.ManoloFLTK
2020-04-10Fix regression in Fl_Native_File_Chooser under macOS when USE_FILTER_EXT is ON.ManoloFLTK
2019-08-23Add check useful with macOS 10.15 public beta (Catalina).ManoloFLTK
2018-06-25Give private member variable _panel of class ↵Manolo Gouy
Fl_Quartz_Native_File_Chooser_Driver its true type, NSSavePanel*. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12971 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-01-31Replace FL/x.H with FL/platform.H - step 2 (STR #3435).Albrecht Schlosser
This second step replaces FL/x.H with FL/platform.H in all source files. Dependencies have been adjusted as well. This commit completes the replacement of FL/x.H with FL/platform.H. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-11-22MacOS native file chooser: STR#3406 continued - restore broken filename ↵Manolo Gouy
preset in save dialog. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12569 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-11-13MacOS: Fix STR#3406 where native file chooser does not show preset fileManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12561 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-27 MacOS: fix a small problem where command Quit of the application menu may ↵Manolo Gouy
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-porting@12056 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-05Fl_Native_File_Chooser on MacOS: improve handling of case where no chooser ↵Manolo Gouy
title is set. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12013 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-04 Improve Fl_Native_File_Chooser open dialog under Mac OS 10.12 that had ↵Manolo Gouy
lost its titlebar message. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12011 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-16Use more consistent naming for derived classes of Fl_Native_File_Chooser_Driver.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11628 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-06Remove unneeded #include directivesManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11538 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-05Rewrite the Fl_File_Native_Chooser class under the driver model.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11529 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-30Define NSInteger in FL/mac.H when needed, so it's available to all source files.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-29Fixes STR#3236; stops errors about "NSInteger was not declared" on OSX 10.4.xGreg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10778 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-05-04Removed deprecation and implicit cast warnings.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10729 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-02Removed small memory leak.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10549 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-16Implemented panel:shouldEnableURL: for the open dialog delegate.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10317 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-19Introduced new Fl_Native_File_Chooser option USE_FILTER_EXT.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-12Mac OS Fl_Native_File_Chooser: when saving with multiple filters, changing ↵Manolo Gouy
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-11Mac OS save file dialog: display extension of preset file.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9819 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-21Fixed STR#2921 by adding 2 missing colons.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9806 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-16Removed compilation warnings with old Mac OS SDKsManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9798 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-27Removed several deprecation warnings.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9685 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-22Mac OS: the procedure used to restore visible focus to a window after using ↵Manolo Gouy
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-09-22Mac OS: simplified use of #define MAC_OS_X_VERSION_10_xManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9057 ea41ed52-d2ee-0310-a9c1-e6b18d33e121