summaryrefslogtreecommitdiffstats
path: root/win/tkWinDialog.c
Commit message (Collapse)AuthorAgeFilesLines
* (cherry-pick): Bug [64261b50]. Spurious mouse events sent to underlying ↵jan.nijtmans2016-05-121-16/+19
| | | | | window when file dialog is closed. FossilOrigin-Name: f6eb12157c021f784849a7f0b10978da3a569494
* Fixed [b362182e45] - Generation of virtual events through Tk_HandleEvent is ↵fvogel2016-04-211-4/+4
| | | | | unsafe FossilOrigin-Name: 1795939c15c48750dfa936fbaf262e45b5d9800d
* Bug [47af31bd3a] - tk_getSaveFile adds . as extension.ashok2015-10-091-7/+18
| | | | | Also added more tests for -filetypes and -defaultextension combinations. FossilOrigin-Name: 14153ed2909e17e1ba7523ac4f18b055a910c076
* Fix for http://core.tcl.tk/tk/tktview?name=46c83f603f (relative paths ignoredashok2015-10-061-11/+20
| | | | | | in tk_getOpenFile/tk_getSaveFile on Vista+). Added tests for -initialdir option. FossilOrigin-Name: 45da3436824fed73bc41366b7d5dfe374165380f
* Suggested fix for [2a70627a03]: shobjidl.h include in tkWinDialog.c breaks ↵jan.nijtmans2015-03-221-1/+0
| | | | | mingw cross compile FossilOrigin-Name: 5c194d19233c9f7785b22bcc4f0f66c795f22e92
* 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. FossilOrigin-Name: 4b723acb3e15fcac2d2cffccbc0126d06156e1f1
* Fix [1c0d6e162c8876fd1bc0526c7cc59c320853d23|1c0d6e162c]: tkWinDialog.c ↵jan.nijtmans2014-11-211-14/+19
| | | | | defines type "SIGDN" (enum __MIDL_IShellItem_0001), which is already defined FossilOrigin-Name: f1354a43f5bb768d6b581940b56b4d35035fcd8b
* 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. FossilOrigin-Name: f5c04922361cb38ee6a8eb79aad3b40101616422
* Backout last change, it doesn't solve the issuejan.nijtmans2014-11-131-50/+2
| | | FossilOrigin-Name: d7aeab093d1fdb977f3ec5a72d6940dfcc5c4066
* Fix [d43a10ce2fed950e00890049f3c273f2cdd12583|d43a10ce2f]: tk_getOpenFile ↵jan.nijtmans2014-11-131-2/+50
| | | | | crashes when passed a bad -typevariable. FossilOrigin-Name: e02a396797fba7cfa97b8bd8ac89d5b29b9d4757
* Quick-fix compilation on VC6/PSDK (reported by Andreas Kurpies)jan.nijtmans2014-10-251-0/+2
| | | FossilOrigin-Name: 4a7c00cba4683f236662af3ead28f427c3243aec
* 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. FossilOrigin-Name: bf59edccbc005e4e0573d495dbb20d513df6b489
* 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] FossilOrigin-Name: 7477c45ef0c837af31404c59bd63a4a778e90510
* - 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 FossilOrigin-Name: 2f791fb86bbef9e097fb3f09f722cf90f5e3a43b
* Previous commit probably broke higher VS versions (>2012) compilation. Fix that.jan.nijtmans2014-10-171-1/+3
| | | FossilOrigin-Name: 29504df7186084627d30e649a50be94cec06c8a5
* Fix symbol conflict when compiling with latest (??) MinGW-w64.jan.nijtmans2014-10-171-11/+11
| | | FossilOrigin-Name: 106651bb3adb996fd59fbc1c7d1d70916dad8ffd
* Make tkWinDialog.c buildable with gcc 4.8.1, vc6, vs2012. Passes all testsashok2014-10-161-40/+38
| | | FossilOrigin-Name: 6d268313dc77eae3a80b72a428278a017eda0030
* Fixes to compile with newer Visual Studio versionsashok2014-10-161-19/+20
| | | FossilOrigin-Name: 93337a536cd80bfec9e839e15ef1bd5587cb12cf
* Convert native paths returned from file dialogs to Tcl canonical paths.ashok2014-09-201-3/+11
| | | FossilOrigin-Name: 3f096107b42276eadd4f901e57b642a7c99bf72f
* Make -xpstyle a hidden optionashok2014-09-201-30/+29
| | | FossilOrigin-Name: e162b207ecd56e28fadd1118c832ad7ec11bcbb0
* Implemented Vista+ tk_chooseDirectory dialogsashok2014-09-171-478/+239
| | | FossilOrigin-Name: 92b2061e1b77f2876598e3d8b39a83a8776d5a39
* Implemented -filetypes and -typevariable for new Vista file dialogs.ashok2014-09-141-13/+207
| | | FossilOrigin-Name: d988edefe8e4c3b7d9eb5ec8881f8ebb5c512a7a
* Implemented multiselect in new file dialogs.ashok2014-09-141-28/+116
| | | FossilOrigin-Name: 295d03a020d2ab4f3dc680c2c6e1300331c47c3b
* 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. FossilOrigin-Name: 4d2302956f53c00ab845d806513f139d3efa1aa3
* Get basic new style dialogs working.ashok2014-09-121-145/+695
| | | FossilOrigin-Name: 4d5c56119f32fb3838c0539b781773d0073ae8df
* Started on new Vista-style file dialogs. Refactored option processing.ashok2014-09-121-0/+195
| | | FossilOrigin-Name: a6820e3205ddaa2db89cf4c5f7b6f2143d3e0c97
* 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) FossilOrigin-Name: 7f9c6ea12496ce8340f70363a876e9f6a1e93084
* \ some code cleanup, remove structure which is no longer used.jan.nijtmans2013-06-071-37/+10
|\ \ | |/ | | FossilOrigin-Name: aa0b268a96d3fe46875e034d4d1ecf9e0443c088
| * some code cleanup, remove structure which is no longer used.jan.nijtmans2013-06-071-26/+9
| | | | | | FossilOrigin-Name: 797c31678d5740f866bf45861c81b298d2c6cbea
| * Fix [1913750]: tk_chooseDirectory -initialdir internationalization problem. ↵jan.nijtmans2013-06-071-737/+182
| | | | | | | | | | (backported from Tk 8.6) FossilOrigin-Name: ecc7942a330b5df4f41ac98d07c02780db5516ac
* | 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") FossilOrigin-Name: dc4fe35849223678532b1af7aaa1107b75f5a724
* | Convert all Tcl_SetResult calls to Tcl_SetObjResult calls. jan.nijtmans2013-01-281-1/+1
| | | | | | | | | | Convert Tcl_GetStringFromObj to Tcl_GetString when possible. FossilOrigin-Name: 4c01ee19d4dd413193367ae99f07f40c00aa184e
* | Merge core-8-5-branchjan.nijtmans2013-01-241-8/+8
|\ \ | |/ | | | | | | Various Tcl_GetIndexFromObj -> Tcl_GetIndexFromObjStruct changes. FossilOrigin-Name: 472e3798d1c835e41e6f42f189ae802a61971a4d
* | 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. FossilOrigin-Name: cb8420c1d1cfcf429e49b78a9b97a824a99fdc52
* | 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. FossilOrigin-Name: e57220500d0d0513da3912dca5f060c3e03f61d8
* | Bug 3500545: tk_getOpenFile -multiple 1 wrong on windowsjan.nijtmans2012-11-141-5/+15
| | | | | | FossilOrigin-Name: 4c7b16f90b1096e7c5068a4901fcaaf9696f4a2b
* | Unbreak windows problems with commit [961ae24a3f] as well.andreask2012-08-301-2/+2
| | | | | | FossilOrigin-Name: a6f5a3361aaf43787663124832833788d004a3a1
* | Working towards making the error codes more consistent.dkf2012-07-301-1/+2
| | | | | | FossilOrigin-Name: 45327b3d6fc9c1c7c415e8c25e98639bed019d84
* | Much more cleaning up of result handling.dkf2012-07-231-60/+86
| | | | | | FossilOrigin-Name: 016ad9dac31d39cbc9ded6a6e8e75c11618318a8
* | Working towards adding all the Tcl_SetErrorCode calls that should be there.dkf2012-07-161-4/+2
| | | | | | | | | | ** WORK IN PROGRESS ** FossilOrigin-Name: 6f8f9336c381b81bbe323a8399eaf4dd3f89b34f
* | [Bug 3540127]: Better solution, using Tcl_GetIndexFromObj in stead of ↵jan.nijtmans2012-07-051-34/+19
| | | | | | | | | | Tcl_GetIndexFromObjStruct FossilOrigin-Name: c43ceec9f6764f8b80e3b0298cba11143f2ab91b
* | typojan.nijtmans2012-07-041-3/+3
|\ \ | |/ | | FossilOrigin-Name: 5ba9f43228cffee52d00fc1707c3ad19568c4db1
| * typojan.nijtmans2012-07-041-3/+3
| |\ | | | | | | FossilOrigin-Name: d11ca58ed3eb1f6dcb441414c6653d0b21dac200
| | * typojan.nijtmans2012-07-041-1/+1
| | | | | | | | | FossilOrigin-Name: e76f1d5a2f2a7fd0027959707d487eae32829a10
* | | 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. FossilOrigin-Name: c87e926bcac8406937dfc87f6a4d6ed12740a98b
| * | [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. FossilOrigin-Name: 7c37650ab328643fc62d57be1efc1d844c06aae5
| | * [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. FossilOrigin-Name: 734390fa3e7eb760c480b6bf3a7c6fc76292b04a
* | | [Bug 3540127]: filebox.test fails on win32jan.nijtmans2012-07-041-10/+11
|\ \ \ | |/ / | | | FossilOrigin-Name: ded3d624f66159d1abf56f0510854eda24fa9964
| * | 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 FossilOrigin-Name: e8da45ebc0c90888e14515544e07f6a455178c1d
| | * implement TkSetPixmapColormap and TkpPrintWindowId for cygwinjan.nijtmans2012-05-141-1/+1
| | | | | | | | | | | | | | | | | | export TkWinChildProc for win32 backport TCHAR determination from tkWinPort.h FossilOrigin-Name: b8bf82483ca7c90eecc13f1845302764cfebb003