Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make Tk run on win32/win64 using -DTCL_UTF_MAX=6. Adapted from androwish. | jan.nijtmans | 2019-03-15 | 1 | -5/+2 |
| | |||||
*-. | Merge 8.6 and all changes from original [bug-9e31fd9449] branch | jan.nijtmans | 2019-01-08 | 1 | -2/+2 |
|\ \ | |||||
* \ \ | Fix [9e31fd9449]: X11/X.h and Windows.h have conflicting symbols | jan.nijtmans | 2018-12-20 | 1 | -2/+2 |
|\ \ \ | |/ / |/| / | |/ | *** POTENTIAL INCOMPATIBILITY *** for Win32 only: On X11 and Mac, "None" can still be used as before | ||||
* | | Eliminate type-casts, by using size_t type internally in more situations. No ↵ | jan.nijtmans | 2018-08-10 | 1 | -2/+2 |
| | | | | | | | | functional changes | ||||
* | | tkWinDialog.c: Change a LoadLibrary() call to GetModuleHandle(), since ↵ | jan.nijtmans | 2017-11-27 | 1 | -6/+1 |
| | | | | | | | | | | "shell32.dll" is already linked to Tk. Also various whitespace changes (mainly at line-ends) and comment fixes. Nothing functional. | ||||
* | | merge trunk. | jan.nijtmans | 2017-05-18 | 1 | -1/+1 |
|\ \ | | | | | | | Make "font actual" return integers, for compatibility. | ||||
| * | | minor gcc warning (const usage) | jan.nijtmans | 2017-05-18 | 1 | -1/+1 |
| | | | |||||
* | | | Another attempt to fix ↵ | jan.nijtmans | 2017-05-15 | 1 | -1/+1 |
|/ / | | | | | | | [434d294df8b053246ee86e7898d06bc3a6d1d771|434d294df8], this time (hopefully) suitable for 8.6. (less changes than the original attempt) | ||||
* | | On Windows, use Tcl_WinTCharToUtf() in stead of Tcl_NewUnicodeObj(), since ↵ | jan.nijtmans | 2017-05-05 | 1 | -8/+44 |
| | | | | | | | | | | | | Tcl_WinTCharToUtf() works correctly when TCL_UTF_MAX==6 while Tcl_NewUnicodeObj() doesn't. All changes taken over from androwish. Thanks to Christian Werner! And ... on the go ... fixed a few memory leaks correctly detected by Christian. | ||||
* | | (cherry-pick): Bug [64261b50]. Spurious mouse events sent to underlying ↵ | jan.nijtmans | 2016-05-12 | 1 | -16/+19 |
| | | | | | | | | window when file dialog is closed. | ||||
* | | Fixed [b362182e45] - Generation of virtual events through Tk_HandleEvent is ↵ | fvogel | 2016-04-21 | 1 | -4/+4 |
| | | | | | | | | unsafe | ||||
* | | Bug [47af31bd3a] - tk_getSaveFile adds . as extension. | ashok | 2015-10-09 | 1 | -7/+18 |
| | | | | | | Also added more tests for -filetypes and -defaultextension combinations. | ||||
* | | Fix for [46c83f60] (relative paths ignored in tk_getOpenFile/tk_getSaveFile ↵ | ashok | 2015-10-06 | 1 | -11/+20 |
| | | | | | | | | on Vista+). Added tests for -initialdir option. | ||||
* | | Suggested fix for [2a70627a03]: shobjidl.h include in tkWinDialog.c breaks ↵ | jan.nijtmans | 2015-03-22 | 1 | -1/+0 |
| | | | | | | | | mingw cross compile | ||||
* | | Fix for 4a0451f529. Needed a Tcl_ResetResult after recursive event | ashok | 2014-12-03 | 1 | -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.nijtmans | 2014-11-21 | 1 | -14/+19 |
| | | | | | | | | defines type "SIGDN" (enum __MIDL_IShellItem_0001), which is already defined | ||||
* | | Fix [d43a10ce2fed950e00890049f3c273f2cdd12583|d43a10ce2f]: tk_getOpenFile ↵ | ashok | 2014-11-14 | 1 | -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 issue | jan.nijtmans | 2014-11-13 | 1 | -50/+2 |
| | | |||||
* | | Fix [d43a10ce2fed950e00890049f3c273f2cdd12583|d43a10ce2f]: tk_getOpenFile ↵ | jan.nijtmans | 2014-11-13 | 1 | -2/+50 |
| | | | | | | | | crashes when passed a bad -typevariable. | ||||
* | | Quick-fix compilation on VC6/PSDK (reported by Andreas Kurpies) | jan.nijtmans | 2014-10-25 | 1 | -0/+2 |
| | | |||||
* | | Make tkWinDialog.c compile with MinGW 4.0.2. | jan.nijtmans | 2014-10-20 | 1 | -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.nijtmans | 2014-10-20 | 1 | -0/+7 |
| | | | | | | | | Idea stolen from here: [http://trac.wxwidgets.org/changeset/71395] | ||||
* | | - Fix winDialog-9.7 test in case "initialdir" contains capital characters. | jan.nijtmans | 2014-10-20 | 1 | -3/+2 |
| | | | | | | - Add "uuid.lib" as requirement for tkWinDialog.c | ||||
* | | Previous commit probably broke higher VS versions (>2012) compilation. Fix that. | jan.nijtmans | 2014-10-17 | 1 | -1/+3 |
| | | |||||
* | | Fix symbol conflict when compiling with latest (??) MinGW-w64. | jan.nijtmans | 2014-10-17 | 1 | -11/+11 |
| | | |||||
* | | Make tkWinDialog.c buildable with gcc 4.8.1, vc6, vs2012. Passes all tests | ashok | 2014-10-16 | 1 | -40/+38 |
| | | |||||
* | | Fixes to compile with newer Visual Studio versions | ashok | 2014-10-16 | 1 | -19/+20 |
| | | |||||
* | | Convert native paths returned from file dialogs to Tcl canonical paths. | ashok | 2014-09-20 | 1 | -3/+11 |
| | | |||||
* | | Make -xpstyle a hidden option | ashok | 2014-09-20 | 1 | -30/+29 |
| | | |||||
* | | Implemented Vista+ tk_chooseDirectory dialogs | ashok | 2014-09-17 | 1 | -478/+239 |
| | | |||||
* | | Implemented -filetypes and -typevariable for new Vista file dialogs. | ashok | 2014-09-14 | 1 | -13/+207 |
| | | |||||
* | | Implemented multiselect in new file dialogs. | ashok | 2014-09-14 | 1 | -28/+116 |
| | | |||||
* | | Implemented more options for new tk_get{Open,Save} file dialogs | ashok | 2014-09-13 | 1 | -113/+290 |
| | | | | | | | | Renamed Win32ErrorObj to TkWin32ErrorObj and moved it from tkWinSend.c to be generally available. | ||||
* | | Get basic new style dialogs working. | ashok | 2014-09-12 | 1 | -145/+695 |
| | | |||||
* | | Started on new Vista-style file dialogs. Refactored option processing. | ashok | 2014-09-12 | 1 | -0/+195 |
| | | |||||
* | | Fix [http://core.tcl.tk/tcl/info/651e828a52|651e828a52]: Wrong Windows ↵ | jan.nijtmans | 2014-02-04 | 1 | -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.nijtmans | 2013-06-07 | 1 | -37/+10 |
|\ \ | |/ | |||||
| * | some code cleanup, remove structure which is no longer used. | jan.nijtmans | 2013-06-07 | 1 | -26/+9 |
| | | |||||
| * | Fix [1913750]: tk_chooseDirectory -initialdir internationalization problem. ↵ | jan.nijtmans | 2013-06-07 | 1 | -737/+182 |
| | | | | | | | | (backported from Tk 8.6) | ||||
* | | Use internalRep.twoPtrValue.ptr1 in stead of internalRep.otherValuePtr ↵ | jan.nijtmans | 2013-02-01 | 1 | -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.nijtmans | 2013-01-28 | 1 | -1/+1 |
| | | | | | | Convert Tcl_GetStringFromObj to Tcl_GetString when possible. | ||||
* | | Merge core-8-5-branch | jan.nijtmans | 2013-01-24 | 1 | -8/+8 |
|\ \ | |/ | | | Various Tcl_GetIndexFromObj -> Tcl_GetIndexFromObjStruct changes. | ||||
* | | Replace various functions calls, for functions which are small wrappers ↵ | jan.nijtmans | 2013-01-14 | 1 | -1/+1 |
| | | | | | | | | around other functions, to call the wrapped function directly. | ||||
* | | Backout [c43ceec9f6]. Since the change in Tcl_GetIndexFromObj() | jan.nijtmans | 2012-11-22 | 1 | -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 windows | jan.nijtmans | 2012-11-14 | 1 | -5/+15 |
| | | |||||
* | | Unbreak windows problems with commit [961ae24a3f] as well. | andreask | 2012-08-30 | 1 | -2/+2 |
| | | |||||
* | | Working towards making the error codes more consistent. | dkf | 2012-07-30 | 1 | -1/+2 |
| | | |||||
* | | Much more cleaning up of result handling. | dkf | 2012-07-23 | 1 | -60/+86 |
| | | |||||
* | | Working towards adding all the Tcl_SetErrorCode calls that should be there. | dkf | 2012-07-16 | 1 | -4/+2 |
| | | | | | | ** WORK IN PROGRESS ** | ||||
* | | [Bug 3540127]: Better solution, using Tcl_GetIndexFromObj in stead of ↵ | jan.nijtmans | 2012-07-05 | 1 | -34/+19 |
| | | | | | | | | Tcl_GetIndexFromObjStruct |