Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 3 more places | jan.nijtmans | 2021-07-23 | 1 | -3/+3 |
| | |||||
* | wide-api-bug, still to be tested | jan.nijtmans | 2021-07-23 | 1 | -4/+4 |
| | |||||
* | MSVC++ 6.0 does't handle C++ comments | jan.nijtmans | 2020-10-28 | 1 | -3/+3 |
| | |||||
* | Replace all instances of Tcl_WinTCharToUtf()/Tcl_WinUtfToTChar() with ↵ | jan.nijtmans | 2020-03-24 | 1 | -84/+106 |
| | | | | | Tcl_UniCharToUtfDString()/Tcl_UtfToUniCharDString(), if possible (only for -DTCL_UTF_MAX=3, which is the default and only supported option) Backported, as far as possible, from 8.7. This helps moving away from Tcl_WinTCharToUtf()/Tcl_WinUtfToTChar(), even though it only becomes deprecated in 8.7. | ||||
* | Eliminate a few (harmless) gcc(-9) warnings on Windows and Cygwin. | jan.nijtmans | 2020-03-09 | 1 | -9/+10 |
| | |||||
* | Fix [f8f1f0b103]: macosx/README: update Wiki and X11 info. Also change more ↵ | jan.nijtmans | 2019-10-04 | 1 | -1/+1 |
| | | | | links to point to the current https://core.tcl-lang.org | ||||
* | Better fix for [2026405]: winfo id bug in cygwin build. | jan.nijtmans | 2019-09-26 | 1 | -1/+1 |
| | | | Actually, formatting of %p is libc-specific, now that we have TCL_Z_MODIFIER we can make it platform-independant for all cases. | ||||
* | Add type-casts to many usage of Tcl_WinTCharToUtf(), so Tk compiles without ↵ | jan.nijtmans | 2019-09-24 | 1 | -8/+8 |
| | | | | warnings when omitting -DUNICODE. | ||||
* | Use more explicit *W()-forms of the Win32 API, instead of relying on -DUNICODE | jan.nijtmans | 2019-09-23 | 1 | -33/+29 |
| | |||||
* | *A() to *W() Win32 API changes, actually the same because Tk is already ↵ | jan.nijtmans | 2019-09-19 | 1 | -29/+29 |
| | | | | compiled in UNICODE mode. | ||||
* | TCHAR -> WCHAR conversions, since our TCHAR is actually WCHAR when compiling ↵ | jan.nijtmans | 2019-09-16 | 1 | -41/+38 |
| | | | | everything in UNICODE mode on Windows. | ||||
* | Only free "patterns" once, not each time inside the loop. That might crash ↵ | jan.nijtmans | 2019-07-30 | 1 | -39/+41 |
| | | | | with long filters. | ||||
* | Fix [f3c5467f07]: various spelling fixes (from Christopher Chavez) | fvogel | 2019-07-02 | 1 | -2/+2 |
| | |||||
* | Don't use "struct ThreadSpecificData", while the type name ↵ | jan.nijtmans | 2019-07-02 | 1 | -1/+1 |
| | | | | "ThreadSpecificData" is already sufficient. | ||||
* | 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) |