summaryrefslogtreecommitdiff
path: root/src/Fl_File_Chooser2.cxx
AgeCommit message (Collapse)Author
2012-04-05Fixed build error in msvs because Fl ref to FULLSCREEN enum was not ↵Fabien Costantini
accessible in Fl_Widget. new inline is_fullscreen() getter has been implemented to avoid a build error with (at least) msvc compilers. Fixed a ton of warnings / problems when bilding on windows 64 bits target with ms toolchain. cleaned up about 200 warnings raised when building win74 targets. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9325 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19Modifications to all LGPL headers for STR #2685.Greg Ercolano
(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-06-17Removed Doxygen documentation of function Fl_File_Chooser::browser() that ↵Manolo Gouy
had been removed at r. 8785. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8817 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-06Added "Show hidden files" check button to the file chooser panel.Manolo Gouy
This had been previously done in r.8282 and r.8286 without accounting for the existence of the Fl_File_Chooser.fl file. With this commit, files Fl_File_Chooser.{cxx, H} are properly generated by Fl_File_Chooser.fl git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8785 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-08Fix STR #2558: use more consistently FL_NORMAL_SIZE to define the default ↵Manolo Gouy
font size of interface elements. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8405 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-01Some Doxygen doc cleaning.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8353 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-17Fl_File_Chooser: removed the "Show hidden files" button for WIN32 where it's ↵Manolo Gouy
not relevant. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8286 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-16Fl_File_Chooser: added a "Show hidden files" button. Hidden files aren't shownManolo Gouy
by default now. This removes a TODO clause. Fl_Native_File_Chooser: removed the hack that added the "Show hidden files" button, and made the "file already exists" warning message localizable. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8282 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-19Changed all fixed filename buffers (that I could find) to use FL_PATH_MX ↵Matthias Melcher
instead. Raised FL_PATH_MX from skipy 256 characters to 2048, which corresponds with modern file systems. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8063 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08As per thread on fltk.development: "RFC: Docs - getting rid of .eps files"Greg Ercolano
Summary: Get rid of eps files, change all doxygen '\image latex' references to eps files to png/jpeg instead, convert doxygen images from gif -> png (to support html+latex). Actual operations: 1) svn remove *.eps 2) convert all gifs -> png 3) svn remove *.gif 4) svn add *.png 5) For jpeg/png images, change all \image latex foo.eps .. -> \image latex foo.[jpg,png] .. 6) For gif images, change all \image html foo.gif .. -> \image html foo.png and (harder to do): change \image latex foo.eps .. -> \image latex foo.png .. 7) Remove EPSFILES macro from documentation/Makefile and remove eps related dependencies that were added recently git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08Fixed some compiler warnings, most of them in Windows-specific code.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7975 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28Fixed Copyright to 2010.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15Fix Windows file chooser preview (STR #2440)Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7841 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30Added callback when double-clicking file in a file chooser (STR#2346)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-07-10Updated the Fluid IDE support for the current source file structure. Changed ↵Matthias Melcher
the Fl_Tree rendering code around a bit to make the tree more like MSWindows on Windows and more like Apple on Apple machines. I hope you guys like it. I also moved the function to load Fl_Preferences into an Fl_Tree into the Fl_Tree class where it belongs. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-05removed some compiler warnings (gcc 4+)Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-15Added new type 'Binary Data' to Fluid. Use this to include an arbitrary file ↵Matthias Melcher
as a byte array into your source code. Changes to load jpegs etc. from program memory will follow. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7084 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-26File chooser in preview mode would hand if user selected a special file in ↵Matthias Melcher
the /dev directory. It now shows a recycle symbol and also displays a folder and an empty file message. Untested on anything but OS X - sorry! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7031 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-14Checked in on Manolo's behalf; FNFC.patch applied from STR#2298 Greg Ercolano
to include a 'Show Hidden Files' checkbox for linux browser. Small addition to Fl_File_Chooser to support this. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7007 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-23File Chooser now also recognizes utf8 encoded text files. STR 2218.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6899 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-13Removed unused member variable ext_managed from Fl_File_ChooserAlbrecht Schlosser
and fixed a comment. src/Fl_File_Chooser.fl: Removed unused member variable ext_managed M src/Fl_File_Chooser2.cxx: Fixed comment. M FL/Fl_File_Chooser.H: Removed unused member variable ext_managed (generated by fluid) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6678 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01Changed Copyright in 'src' directoryMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-15Doxygen PDF Documentation: Added image latex tags, added missing eps ↵Fabien Costantini
corresponding images (most of them in B/W) for the widget classes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6437 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-03Fixed bad comments in fl_color_chooser, r g b param are in/out params and ↵Fabien Costantini
not in. Added param and return dox commands to these functions. Added a new Common Dialogs Module containing all fl_ask,fl,fl_color,fl_file dialogs. Fixed the fl_old_shortcut appearing in Fl_Button. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6367 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-30converted more html markup in src/Fl_File_Chooser2.cxx to doxygenengelsman
[the biggie is going to be converting the table, if that is indeed possible] git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6359 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-30doxygen comments for undocumented features of Fl_File_Chooserengelsman
- needed to use new doxygen comment feature in fluid to provide comments for the various static const char* member variables (eg add_favorites_label). I had not been able to work out how to add the comments "out-of-code" in src/Fl_File_Chooser2.cxx without getting unpredictable end-results. - needed to add doxygen comments for newButton and previewButton to the "out-of-code" comments in src/Fl_File_Chooser2.cxx because the new doxygen comment feature in fluid doesn't extend to widget member variables :-( - added some missing "out-of-code" comments about customization/copying. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6358 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-17Doxygen documentation: fixed all ambiguous methods signatures, fixed ↵Fabien Costantini
erroneous path test into ../test since the doxyfile move, fixed all intro dl,dt,dd related tags warnings in intro.dox . git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6289 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-17Doxygen documentation: replace all occurences in comments of " by a ↵Fabien Costantini
quote char. Temporarily set warn_if_undocumented to NO until we correct more severe messages. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6283 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-17Fixed bad '\' escape sequences (removed "unknown command" warnings).Albrecht Schlosser
And yes, I added some <tt> tags again, because e.g. "@." wouldn't be very well readable in a proportional font (FL_Browser.H). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6279 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-15Doxygen documentation. Completed Fl class, added a todo related to recent Fl ↵Fabien Costantini
API to document. Matt?. More cosmetics have been done, replaced *all* <pre> </pre> tags by \code \endcode sequences. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6260 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-14Doxygen Documentation WP2 done.Fabien Costantini
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6235 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-05-01STR #1908 add Fl_Widget* add_extra(Fl_Widget*) function to Fl_File_Chooser classyuri
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6120 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23First attempt at consistently using Fl_Font as a type for the font index and ↵Matthias Melcher
Fl_Font_Size as a type to measure font height (or rather size). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-12Updated 1.3 with changes from 1.1.9Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6099 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-21Flushing file chooser preferences after every change to avoid data loss due ↵Matthias Melcher
to application crash git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5703 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-23Rename fl_filename_isdir_quick to _fl_filename_isdir_quick, do notMichael R Sweet
export it, and add comments to indicate that it is a private API we do not support outside of FLTK. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-22Removed 'optimization' for fl_filename_isdir which would break the original ↵Matthias Melcher
purpose of the fuction (testing the *existence* of a directory). But I did not want to lose the performance in the directory chooser where I *know* that a directory exists, just not if it is a file or directory, so I added the function fl_filename_isdir_quick() to do just that. Please verify that the new version works as expected, especially with regard to the directory chooser. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5630 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-03-28ST 1148: a preselected filename will also be selected in the file chooser ↵Matthias Melcher
when popping up. I put a lot of effort into trying to make the chooser behave as it previously did in all other situations, e.g. to choose a directory git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4875 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-27VC++ 2005 Support, drop old files, add icons for SudokuMichael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-07STR #1062: updated code to resize the preview panel of the file chooser and ↵Matthias Melcher
hide it entirely if unused git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4643 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-24Don't try to generate a preview image of a directory.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4581 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-13Fix WIN32 compile errors.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4348 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-13Fl_File_Chooser::value() and ::directory() now handle paths withMichael R Sweet
backslashes on WIN32 (STR #811) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4346 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-12Fixed some BMP images loading bugs (STR #825)Michael R Sweet
Remove unused variable in Fl_File_Chooser::value(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4336 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-12Fl_File_Chooser now returns directory names with a trailing slashMichael R Sweet
to avoid problems with relative filenames (STR #819) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4335 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-09Remove an extra, bogus strlcpy() from the Fl_File_Chooser::value(int)Michael R Sweet
method. This caused all filenames to be returned without their paths... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4323 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-10Check for proper directory handling with FL_Enter (STR #787)Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4267 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-25Updated Fl_File_Chooser to correctly deselect other items whenMichael R Sweet
the user picks a file or directory in multiple selection mode (only files or directories, not both at once...) Use the fl_file_chooser_ok_label() function in FLUID. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4191 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-25Fl_File_Chooser no longer resets the type() when choosing aMichael R Sweet
single file, and it now works when selecting multiple directories (STR #747) Fl_File_Icon::load_system_icons() now only loads 16x16 and 32x32 icon images to improve startup performance. Fixed an error dialog message in FLUID. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4189 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-25Pressing Enter in the file chooser when selecting a directoryMichael R Sweet
will choose that directory if it is currently shown (STR #746) Added a fl_file_chooser_ok_label() function to set the "OK" button label for the fl_file_chooser() and fl_dir_chooser() functions. Added Fl_File_Chooser::ok_label() methods to set the "OK" button label. The fl_ask() function is now deprecated since it does not conform to the FLTK Human Interface Guidelines. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4188 ea41ed52-d2ee-0310-a9c1-e6b18d33e121