summaryrefslogtreecommitdiffstats
path: root/generic/tkWindow.c
Commit message (Collapse)AuthorAgeFilesLines
* New internal function TkpCancelWarp(), which does a proper warp clean-up ↵jan.nijtmans2017-05-101-0/+2
| | | | when the display is closed. Follow-up to [db8c541b6bff91848c53006b0fe352136fbd4be9|db8c541b6b]. Backported from androwish [http://www.androwish.org/index.html/info/0b3392c9134c228f|0b3392c9134c228f] (which was a little more than just a "add tk upstream changes" ...). Thanks, Christian!
* Fix [7d967c68a09e07e355358af40f36dd5dd84c7022|7d967c68a0] follow-up: Tk ↵jan.nijtmans2017-02-101-3/+1
| | | | applications segmentation fault when ibus-daemon IME is restarted. Patch by Brad Lanam.
* Fix [7d967c68]: Tk application fault when ibud-daemon IME is restartedjan.nijtmans2017-02-051-2/+9
|\
| * Proposed fix for [7d967c68a09e07e355358af40f36dd5dd84c7022|7d967c68]: Tk ↵bug_7d967c68jan.nijtmans2016-12-151-2/+9
| | | | | | | | applications segmentation fault when ibus-daemon IME is restarted
| * Change Tk_FreeXId() into a macro.jan.nijtmans2016-08-121-1/+1
| | | | | | A few end-of-line spacing eliminations.
| * Fix for [3512539fff] removed, by popular demandbug_3512539ffffvogel2016-07-311-9/+2
| |
| * [450bb0ecad] Fix corruption [tk busy] creates on OSX.dgp2016-07-221-0/+3
| |\
| * \ Modernize Tk_Init() to use Tcl 8.6 features.dgp2016-06-221-169/+140
| |\ \
| * | | Fixed typo in commentfvogel2016-03-231-1/+1
| | | |
| * | | Fixed [3512539fff] - .. is silently accepted in widget pathsfvogel2016-03-231-2/+9
| | | |
* | | | Change more refCount checks to the form "(...refCount-- <= 1)", so no ↵jan.nijtmans2017-01-181-2/+1
| | | | | | | | | | | | | | | | separate decrement and compare is necessary. This allows (in the future) the same code to work when refCount becomes unsigned (which at least doubles the range). No functional change.
* | | | Fix [720879afe9] - WM_CHAR message handling. Patch from Christian Werner ↵jan.nijtmans2016-09-271-1/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | backported from http://www.androwish.org/index.html/info/a0da5845594cec28. Change (internal) TkpGetFontAttrsForChar() signature to match androwish's, no functional change.
| * | | [787adc5ed7] Workaround potential crash in Tcl_DStringAppend.dgp2016-06-221-1/+1
| | | |
* | | | merge 8.6bug_450bb0ecaddgp2016-07-211-169/+140
|\ \ \ \ | | |_|/ | |/| |
| * | | Fixup the typecastingdgp_modernize_initdgp2016-06-211-1/+1
| | | |
| * | | work in progressdgp2016-06-211-144/+128
| | | |
| * | | Start bringing Tk_Init up to date with facilities Tcl provides.dgp2016-06-211-27/+14
| | |/ | |/|
* | | [450bb0ecad] Proposed fix for [tk busy] corruption in Aqua Tk.dgp2016-03-021-0/+3
|/ /
* | Make the "scrollbar" a real Tcl_Obj-based command. No change in functionality.jan.nijtmans2014-05-221-14/+8
| |
* | Eliminate all usage of WIN32 macro as well: _WIN32 is the portable macro.jan.nijtmans2014-02-101-2/+2
| |
* | Eliminate all usage of __WIN32__ macro: Some compilers (e.g. Clang/LLVM) ↵jan.nijtmans2014-02-101-11/+11
| | | | | | | | | | don't define it, and _WIN32 is much more portable anyway. See: [http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#WindowsCygwinnonPOSIXandMinGW]
* | Make "menu" a normal command, initialized like any other Tk command.jan.nijtmans2013-10-291-2/+1
| |
* | Add support for X11 GUI-mode on Cygwin64jan.nijtmans2013-06-061-6/+6
|\ \ | |/
| * Add support for X11 GUI-mode on Cygwin64jan.nijtmans2013-06-061-3/+3
| |
| * Remove unused variable. jan.nijtmans2013-04-031-2/+4
| | | | | | Remove tkStubLib.o from tk85.dll. On Windows, data cannot be exported from dll's anyway, so it's just dead code. On UNIX, it makes a difference, and it would be a potential incompatibility to remove it.
| * merge release to 8.5; revert features not included in releasedgp2013-04-031-1/+5
| |
| * Easier solution, with proper protection and configure warnings.jan.nijtmans2013-03-281-1/+1
| |
| * more mergingdgp_support_tcl_8_6_builddgp2013-03-221-6/+0
| |
| * merge trunkdgp2013-03-221-8/+2
| |\
| * | Set of changes that permits Tk 8.5.14 to build against the releaseddgp2012-12-101-0/+2
| | | | | | | | | | | | header files of Tcl 8.6.0. Developed and tested only on linux so far. A step in the saga to decouple Tcl and Tk releases.
* | | Eliminate all usage of functions Tcl_VarEval (deprecated) and Tcl_Eval (to ↵jan.nijtmans2013-03-071-4/+10
| | | | | | | | | | | | the prefered Tcl_EvalEx).
* | | Eliminate usage of Tcl_PkgProvide/Tcl_PkgRequire functions, use the 'Ex' ↵jan.nijtmans2013-02-151-3/+3
| | | | | | | | | | | | versions in stead.
* | | Use some more (void *)'s in FreeProc's, a step in the direction getting Tk ↵jan.nijtmans2013-01-261-2/+2
| | | | | | | | | | | | to work with "novem"
* | | Bug [3601782]: Produce a nice error-message when the first Tcl_InitStubs() ↵jan.nijtmans2013-01-221-1/+1
|\ \ \ | | |/ | |/| | | | fails, in stead of simply abort()
* | | fix commentjan.nijtmans2013-01-151-1/+1
|\ \ \ | |/ /
| * | fix commentjan.nijtmans2013-01-151-1/+1
| | |
* | | More flexible search for win32 tclConfig.sh, backported from TEA. jan.nijtmans2013-01-151-8/+2
|\ \ \ | |/ / | | | | | | | | | Don't use deprecated "case" any more. Don't do unnecessary Tcl_PkgRequire(..., "Tcl", ...), the preceding Tcl_InitStubs() call already does that, both for dynamic loaded as wel as the static case. Disallow Tk 8.6.x to be loaded in any Tcl 8.6 alpha/beta release.
| * | Don't use deprecated "case" any more.jan.nijtmans2013-01-151-8/+2
| |\ \ | | | | | | | | | | | | Don't do unnecessary Tcl_PkgRequire(..., "Tcl", ...), the preceding Tcl_InitStubs() call already does that, both for dynamic loaded as wel as the static case. Disallow Tk 8.5.x to be loaded in any Tcl 8.5 alpha release.
| | * | Don't use deprecated "case" any more.jan.nijtmans2013-01-151-7/+1
| | | | | | | | | | | | Don't do unnecessary Tcl_PkgRequire(..., "Tcl", ...), the preceding Tcl_InitStubs() call already does that, both for dynamic loaded as wel as the static case.
* | | | Replace various functions calls, for functions which are small wrappers ↵jan.nijtmans2013-01-141-3/+3
| | | | | | | | | | | | | | | | around other functions, to call the wrapped function directly.
* | | | Eliminate all usage of deprecated Tcl_EvalObj, Tcl_GlobalEval and ↵jan.nijtmans2013-01-111-2/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | Tcl_GlobalEvalObj functions. Add [file normalize] to pkgIndex.tcl, in order to prevent '..' in file paths.
| * | | Eliminate all usage of deprecated Tcl_EvalObj, Tcl_GlobalEval and ↵jan.nijtmans2013-01-111-2/+2
| |\ \ \ | | |/ / | | | / | | |/ | |/| | | | | | | Tcl_GlobalEvalObj functions. Add [file normalize] to pkgIndex.tcl, in order to prevent '..' in file paths. Remove unused TCLPATCHL, it should be ".0" for all final releases. Enable tk.h to be used with higher tcl.h versions which might lack _ANSI_ARGS_
| | * More complete purge of things only present for supporting long-dead Mac 9 ↵dgp2012-11-151-6/+6
| | | | | | | | | | | | systems.
* | | minor improvements to flag handlingdkf2012-07-311-13/+17
| | |
* | | more auditing of error codesdkf2012-07-301-2/+3
| | |
* | | Much more cleaning up of result handling.dkf2012-07-231-35/+36
| | |
* | | Working towards adding all the Tcl_SetErrorCode calls that should be there.dkf2012-07-161-67/+91
| | | | | | | | | ** WORK IN PROGRESS **
* | | Change XChangeWindowAttributes signature and many others to match Xorg, ↵jan.nijtmans2012-06-081-0/+65
|\ \ \ | |/ / | | | | | | needed for Cygwin
| * | Implement TkCygwinMainEx for loading Cygwin's Tk_MainEx from the Tk dlljan.nijtmans2012-06-081-0/+65
| |\ \ | | |/
| | * Implement TkCygwinMainEx for loading Cygwin's Tk_MainEx from the Tk dlljan.nijtmans2012-06-081-41/+106
| | |