summaryrefslogtreecommitdiff
path: root/src/Fl_Native_File_Chooser_WIN32.cxx
AgeCommit message (Collapse)Author
2016-01-30Fix Windows compilation error in Fl_Native_File_Chooser_WIN32.cxx.Albrecht Schlosser
Fix regression (typo) introduced in svn r11086. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11089 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-29Fixed a few warnings from a picky compiler setting.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11086 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-28Some trivial adjustments to support buildingIan MacArthur
under Win32/mingw with the configure/make on Win7 with Msys. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11073 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-22Fix for STR #3221: restore the correct state of mouse buttons and keyboard ↵Manolo Gouy
modifier keys after closing a non-FLTK window (file or printer dialogs). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10713 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-11-06The Fl_Native_File_Chooser class contains, under WIN32, two system-defined ↵Manolo Gouy
structures (OPENFILENAMEW and BROWSEINFOW). This forces any application program that uses Fl_Native_File_Chooser to include file windows.h. This is corrected by using in the Fl_Native_File_Chooser class pointers to the 2 structures. The changes are protected by #if FLTK_ABI_VERSION >= 10304 for ABI compatibility. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10437 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-15Consolidate the Win32 init and cleanup code in to one place soPierre Ossman
it's easier to keep track of it. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10312 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-07-21Removed unused code strcnt() to prevent warnings w/mingwGreg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10222 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-07-01Fix for STR #3101 to handle e.g. "foo.f[ld]" filters properly.Greg Ercolano
(Was only counting ',' style filters, not character oriented filters) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10216 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-30Changes brought in at r. 10046 make fluid crash when open or saving files ↵Manolo Gouy
with Fl_Native_File_Chooser on the WIN32 platform. The filter used by fluid "FLUID files \t*.f[ld]/n" makes Fl_Native_File_Chooser::parse_filter() crash. The present changes TEMPORARILY avoid this crash, but r. 10046 changes should be closely reviewed. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10215 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-24It's probably better to also change SendMessage into SendMessageWManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10208 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-24Fixed error when browsing for a directory and using a non-ascii starting ↵Manolo Gouy
directory. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10207 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-01Partial fix for STR #3044.Ian MacArthur
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-01-27Fixes STR#3041, int -> size_tGreg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10086 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-16Two functions strcnt() with distinct prototypes where defined and only one ↵Manolo Gouy
was used, causing a -Wunused-function warning. Also strcnt() is used in WIN32 only, so should not belong to Fl_Native_File_Chooser_common.cxx that contains functions used across platforms. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10064 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-06Fixes STR# 3025; string overflow with large filter()s.Greg Ercolano
Replaced fixed arrays with dynamic strings. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10046 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-06Fix mem leak with 'oldcwd' if user hits 'cancel' button in browser..Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10045 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-06-06Remove a header file I added during testing, but which is not required now...Ian MacArthur
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9933 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-06-06Attempt to fix UTF8 encoding of WIN32 Native File Chooser BROWSE_DIRECTORY ↵Ian MacArthur
options git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9931 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-26Imported Walter Garms' comments re:BIF_SHAREABLE from theGreg Ercolano
./TODO file that came with the original version of FNFC. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-24Fixed more warnings in VC2010 32+64 bits buildsFabien Costantini
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9395 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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-11-13Small fix: typo affected string length calc.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9175 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-13Solve STR #2733: MAX_PATH too small on Win32 (260 chars!)Greg Ercolano
Removed some hardcoded arrays in favor of dynamic, and created a new macro with 32768 and used it for remaining pathname arrays. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9174 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-13Solve STR #2768: WIN32 file filter pulldown menu was not showing wildcard ↵Greg Ercolano
patterns. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9173 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-02-20Fix STR #2569 cont'd: put back MSWindows version of ↵Manolo Gouy
Fl_Native_File_Chooser::filters() that had been erroneously removed by r.8378 that merged include files (it was previously an inline function). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8454 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08Fixed more Windows compiler warnings:Albrecht Schlosser
- unused functions: dnullprint, strapp - format mismatch for newer compilers and/or 64-bit mode git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7977 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-29More copyright 2010 mods.Greg Ercolano
Used: vi `grep -r 'Copyright .*Spitzak' . | grep -v 2010 | grep -v '/\.svn' | cut -d: -f1` git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7913 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-09-27Fixed unbalanced Windows OleInitialize/OleUnitialize callsAlbrecht Schlosser
when loading/unloading the FLTK dll (STR #2417) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-21Fixed msvc6 compilation was broken. What is the use of visualc now? seems we ↵Fabien Costantini
should remove that one ... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7312 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-17Small indent / whitespace fixups, Manolo's doc modification for Greg Ercolano
Fl_Native_File_Chooser::options. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7015 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-14Fl_Native_File_Chooser follow up maintenance.Greg Ercolano
* doxygen docs added * Changed all FNFC_XXX macros to full Fl_Native_File_Chooser names for doxygen * Added missing svn $Id tags * Small mods to Manolo's old_dir[] in Fl_Native_File_Chooser_FLTK to use a dynamic string instead of old_dir[300] git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7003 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-14More Native File Chooser stuff.Ian MacArthur
The end of file Id tags aren't expanding correctly - looks like a typo. This is an attempt to fix that! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7001 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-13Added Fl_Native_File_Chooser widget (with manolo's cocoa mods) to FLTK.Greg Ercolano
* Source brought into CMP standards compliance * test program added (test/native-filechooser.cxx) * Tested with linux (Ubuntu8) and with OSX (cocoa and non-cocoa builds) TODO: * Needs doxygen docs from Greg's original HTML documentation * Needs mods to Windows build files * Needs mods to cmake, and other build files * Needs Manolo's latest mods (from STR #2298) mentioned on and after "02:05 Jan 13, 2010" git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121