summaryrefslogtreecommitdiffstats
path: root/win/tkWinDialog.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate use of Tcl_SetResult(), and CONST -> constjan.nijtmans2016-03-151-4/+3
|
* Bug [47af31bd3a] - tk_getSaveFile adds . as extension.ashok2015-10-091-7/+18
| | | Also added more tests for -filetypes and -defaultextension combinations.
* Fix for [46c83f60] (relative paths ignored in tk_getOpenFile/tk_getSaveFile ↵ashok2015-10-061-11/+20
| | | | on Vista+). Added tests for -initialdir option.
* Suggested fix for [2a70627a03]: shobjidl.h include in tkWinDialog.c breaks ↵bug_2a70627a03jan.nijtmans2015-03-221-1/+0
| | | | mingw cross compile
* Fix for 4a0451f529. Needed a Tcl_ResetResult after recursive eventashok2014-12-031-0/+15
| | | | | | loop otherwise clicking Cancel would return a non-empty result in case a script was run in the background as part of the event loop. Also updated test suite which did not actually check that a Cancel resulted in an empty event string.
* Fix [1c0d6e162c8876fd1bc0526c7cc59c320853d23|1c0d6e162c]: tkWinDialog.c ↵jan.nijtmans2014-11-211-14/+19
| | | | defines type "SIGDN" (enum __MIDL_IShellItem_0001), which is already defined
* Fix [d43a10ce2fed950e00890049f3c273f2cdd12583|d43a10ce2f]: tk_getOpenFile ↵ashok2014-11-141-3/+18
| | | | | | crashes when passed a bad -typevariable. Crash was caused by access to a list element after the Tcl_Obj was shimmered to a variable intrep.
* Backout last change, it doesn't solve the issuejan.nijtmans2014-11-131-50/+2
|
* Fix [d43a10ce2fed950e00890049f3c273f2cdd12583|d43a10ce2f]: tk_getOpenFile ↵jan.nijtmans2014-11-131-2/+50
| | | | crashes when passed a bad -typevariable.
* Quick-fix compilation on VC6/PSDK (reported by Andreas Kurpies)jan.nijtmans2014-10-251-0/+2
|
* Make tkWinDialog.c compile with MinGW 4.0.2. jan.nijtmans2014-10-201-197/+222
| | | | Don't use "this" (possible conflict with C++ compiler). Eliminate end-of-line spaces.
* Make sure IID_IShellItem is defined even when uuid.lib does not export it. ↵jan.nijtmans2014-10-201-0/+7
| | | | Idea stolen from here: [http://trac.wxwidgets.org/changeset/71395]
* - Fix winDialog-9.7 test in case "initialdir" contains capital characters. jan.nijtmans2014-10-201-3/+2
| | | - Add "uuid.lib" as requirement for tkWinDialog.c
* Previous commit probably broke higher VS versions (>2012) compilation. Fix that.apn_win_filedialogsjan.nijtmans2014-10-171-1/+3
|
* Fix symbol conflict when compiling with latest (??) MinGW-w64.jan.nijtmans2014-10-171-11/+11
|
* Make tkWinDialog.c buildable with gcc 4.8.1, vc6, vs2012. Passes all testsashok2014-10-161-40/+38
|
* Fixes to compile with newer Visual Studio versionsashok2014-10-161-19/+20
|
* Convert native paths returned from file dialogs to Tcl canonical paths.ashok2014-09-201-3/+11
|
* Make -xpstyle a hidden optionashok2014-09-201-30/+29
|
* Implemented Vista+ tk_chooseDirectory dialogsashok2014-09-171-478/+239
|
* Implemented -filetypes and -typevariable for new Vista file dialogs.ashok2014-09-141-13/+207
|
* Implemented multiselect in new file dialogs.ashok2014-09-141-28/+116
|
* Implemented more options for new tk_get{Open,Save} file dialogsashok2014-09-131-113/+290
| | | | Renamed Win32ErrorObj to TkWin32ErrorObj and moved it from tkWinSend.c to be generally available.
* Get basic new style dialogs working.ashok2014-09-121-145/+695
|
* Started on new Vista-style file dialogs. Refactored option processing.ashok2014-09-121-0/+195
|
* Fix [http://core.tcl.tk/tcl/info/651e828a52|651e828a52]: Wrong Windows ↵jan.nijtmans2014-02-041-9/+1
|\ | | | | | | | | version reported for Windows 8.1. Remove some dead code (since Win95/98/ME is no longer supported)
* \ some code cleanup, remove structure which is no longer used.jan.nijtmans2013-06-071-37/+10
|\ \ | |/
| * some code cleanup, remove structure which is no longer used.jan.nijtmans2013-06-071-26/+9
| |
| * Fix [1913750]: tk_chooseDirectory -initialdir internationalization problem. ↵jan.nijtmans2013-06-071-737/+182
| | | | | | | | (backported from Tk 8.6)
* | Use internalRep.twoPtrValue.ptr1 in stead of internalRep.otherValuePtr ↵jan.nijtmans2013-02-011-7/+8
|\ \ | |/ | | | | | | everywhere. Change some internal "length" variables from type int to type size_t, so it could handle bigger string sizes (for "novem")
* | Convert all Tcl_SetResult calls to Tcl_SetObjResult calls. jan.nijtmans2013-01-281-1/+1
| | | | | | Convert Tcl_GetStringFromObj to Tcl_GetString when possible.
* | Merge core-8-5-branchjan.nijtmans2013-01-241-8/+8
|\ \ | |/ | | Various Tcl_GetIndexFromObj -> Tcl_GetIndexFromObjStruct changes.
* | Replace various functions calls, for functions which are small wrappers ↵jan.nijtmans2013-01-141-1/+1
| | | | | | | | around other functions, to call the wrapped function directly.
* | Backout [c43ceec9f6]. Since the change in Tcl_GetIndexFromObj()jan.nijtmans2012-11-221-17/+33
| | | | | | | | was undone due to [http://code.activestate.com/lists/tcl-core/12524/], it looks we have to live with uglier code.
* | Bug 3500545: tk_getOpenFile -multiple 1 wrong on windowsjan.nijtmans2012-11-141-5/+15
| |
* | Unbreak windows problems with commit [961ae24a3f] as well.andreask2012-08-301-2/+2
| |
* | Working towards making the error codes more consistent.dkf2012-07-301-1/+2
| |
* | Much more cleaning up of result handling.dkf2012-07-231-60/+86
| |
* | Working towards adding all the Tcl_SetErrorCode calls that should be there.dkf2012-07-161-4/+2
| | | | | | ** WORK IN PROGRESS **
* | [Bug 3540127]: Better solution, using Tcl_GetIndexFromObj in stead of ↵jan.nijtmans2012-07-051-34/+19
| | | | | | | | Tcl_GetIndexFromObjStruct
* | typojan.nijtmans2012-07-041-3/+3
|\ \ | |/
| * typojan.nijtmans2012-07-041-3/+3
| |\
| | * typojan.nijtmans2012-07-041-1/+1
| | |
* | | Improved solution to [Bug 3540127] that disconnects options from their order,dkf2012-07-041-35/+46
|\ \ \ | |/ / | | | so reducing the likelihood of nausea when contemplating the dialog code.
| * | [Bug 3540127]: Clean up the tables of options for the file dialogs so thatdkf2012-07-041-35/+46
| |\ \ | | |/ | | | options are listed in error messages in alphabetical order.
| | * [Bug 3540127]: Clean up the tables of options for the file dialogs so thatdkf2012-07-041-32/+31
| | | | | | | | | there's no longer any need to have mysterious increments.
* | | [Bug 3540127]: filebox.test fails on win32jan.nijtmans2012-07-041-10/+11
|\ \ \ | |/ /
| * | Add various X11 stub functions, Cygwin onlyjan.nijtmans2012-07-041-10/+11
| |\ \ | | |/ | | | | | | remove TkBindDeadWindow from Cygwin stub table [Bug 3540127]: filebox.test fails on win32
| | * implement TkSetPixmapColormap and TkpPrintWindowId for cygwinjan.nijtmans2012-05-141-1/+1
| | | | | | | | | | | | export TkWinChildProc for win32 backport TCHAR determination from tkWinPort.h
* | | [Bug 1913750]: tk_chooseDirectory -initialdir internationalization problem.jan.nijtmans2012-02-171-79/+77
| | |