summaryrefslogtreecommitdiffstats
path: root/generic/tkBind.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate all usage of __WIN32__ macro: Some compilers (e.g. Clang/LLVM) ↵jan.nijtmans2014-02-101-2/+2
| | | | | 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]
* Use some more (void *)'s in FreeProc's, a step in the direction getting Tk ↵jan.nijtmans2013-01-261-1/+1
| | | | to work with "novem"
* more places convertedjan.nijtmans2013-01-241-4/+4
|
* Eliminate all usage of deprecated Tcl_EvalObj, Tcl_GlobalEval and ↵jan.nijtmans2013-01-111-1/+1
|\ | | | | | | | | 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-1/+1
| |\ | | | | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | | | | | systems.
| | * unneccessary variablejan.nijtmans2012-05-021-8/+0
| | |
| * | [Bug 533519]: Window placement with multiple screensjan.nijtmans2012-05-021-20/+0
| |\ \ | | |/
| | * [Bug 533519]: Window placement with multiple screensjan.nijtmans2012-05-021-12/+0
| | |\
* | | | minor improvements to flag handlingdkf2012-07-311-3/+3
| | | |
* | | | more auditing of error codesdkf2012-07-301-1/+2
| | | |
* | | | Working towards making the error codes more consistent.dkf2012-07-301-4/+7
| | | |
* | | | Purged Tcl_AppendElement from all non-test code.dkf2012-07-291-55/+45
| | | |
* | | | Much more cleaning up of result handling.dkf2012-07-231-20/+21
| | | |
* | | | consistent error formatting, added error codesdkf2012-07-211-19/+23
| | | |
* | | | Working towards adding all the Tcl_SetErrorCode calls that should be there.dkf2012-07-161-0/+25
| | | | | | | | | | | | ** WORK IN PROGRESS **
* | | | merge trunkjan.nijtmans2012-04-261-4/+4
|\ \ \ \
| * \ \ \ [Bug 3520202]: %K must not work with <MouseWheel> or effects are undefined!dkf2012-04-221-4/+4
| |\ \ \ \ | | |/ / /
| | * | | [Bug 3520202]: %K must not work with <MouseWheel> or effects are undefined!dkf2012-04-221-4/+4
| | |\ \ \ | | | |/ /
| | | * | [Bug 3520202]: %K must not work with <MouseWheel> or effects are undefined!dkf2012-04-221-4/+4
| | | | |
* | | | | same bugfix, but now applied to trunkjan.nijtmans2012-04-211-16/+2
|\ \ \ \ \ | |/ / / / |/| | | / | | |_|/ | |/| |
| * | | fix (hopefully) menu posting in the same way as window placementjan.nijtmans2012-04-201-12/+0
| | |/ | |/|
* | | [Bug 3176239] control-MouseWheel causes segvjan.nijtmans2012-04-061-1/+1
|\ \ \ | | |/ | |/|
| * | [Bug 3176239] control-MouseWheel causes segvjan.nijtmans2012-04-061-1/+1
| |\ \ | | |/
| | * [Bug 3176239] control-MouseWheel causes segvjan.nijtmans2012-04-061-1/+1
| | |
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * * generic/tkBind.c (TkBindInit): for REDO_KEYSYM_LOOKUP, changedas2006-07-211-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | keysym-to-string mapping hash to use first name in ks_names.h instead of last (if there are multiple possibilities), e.g. "F11" instead of "L1". * macosx/tkMacOSXKeyboard.c (TkpGetKeySym): correct keysyms for pure modifier key presses [Bugs 700311, 1525905]; correct keysym for Enter key; add keysyms for new NumLock and Fn modifiers (added 2005-08-09).
| | * * generic/tkBind.c (Tk_BindEvent, ChangeScreen): replacehobbs2006-04-111-6/+9
| | | | | | | | | | | | Tcl_GlobalEval with more efficient Tcl_EvalEx.
| | * * generic/tkBind.c <HandleEventGenerate>: Modified to fix wishdgp2004-05-131-3/+11
| | | | | | | | | | | | | | | crach due to incorrectly generate <Destroy> event. This bug was reported in comp.lang.tcl but not logged.
| | * * generic/tkBind.c (HandleEventGenerate): only modify root[xy]hobbs2004-02-181-11/+24
| | | | | | | | | | | | with [xy] when they haven't been otherwise set.
| * | Tk_CreateBinding: Silently ignore empty binding scripts (Fixes [Bug 3006842]).jenglish2010-05-311-2/+6
| | | | | | | | | | | | ttkTreeview.c: [$tv tag bind $tag <...> {}] now removes binding.
| * | Fix various gcc-4.4 warnings and formatting, allnijtmans2010-01-291-163/+144
| | | | | | | | | | | | backported from HEAD.
| * | revert HandleEventGenerate change, it was causing bind-8.2 to faildas2009-04-111-2/+1
| | |
| * | * generic/tkBind.c (HandleEventGenerate): ensure window exists beforedas2009-04-101-1/+2
| | | | | | | | | | | | generating an event for it (fixes testsuite crash).
* | | Eliminate some more unneeded write-only variables (discovered by gcc-4.6)jan.nijtmans2011-03-141-3/+2
| | |
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-22/+19
| | | | | | | | | using useful casts internally.
* | | [Patch #2999889] TkCopyAndGlobalEval obsoletenijtmans2010-06-211-38/+1
| | |
* | | [Patch 3009998]: Replace binding procedures with ordinary event handlersjenglish2010-06-191-423/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in win/tkWinScrlbr.c and carbon/tkMacOSXScrlbr.c. Simplifications enabled by previous change: * TkCreateBindingProcedure() and associated machinery no longer needed. * TkBindDeadWindow() no longer needed. * TK_DEFER_MODAL_LOOP and associated machinery no longer needed. * Tests related to C binding procedures no longer needed.
* | | Tk_CreateBinding): Silently ignore empty scripts (Fixes [Bug 3006842]).jenglish2010-05-311-2/+6
| | |
* | | Revert [Patch #2999920], as it entails an incompatible change to the C APIjenglish2010-05-171-7/+14
| | | | | | | | | | | | is and is the cause of [Bug #3002768].
* | | [Patch #2999920]: Optimize Internal Virtual event string operationsnijtmans2010-05-171-14/+7
| | | | | | | | | | | | [Bug #2987995]: Tk_getOpenFile returns garbage under described circumstances
* | | CONSTify TkCopyAndGlobalEval, TkpSetMainMenubar,nijtmans2010-05-101-13/+13
| | | | | | | | | | | | | | | TkpMenuNotifyToplevelCreate, and TkSetWindowMenuBar Bring Tk_CreateBinding doc and signature (param name) in line.
* | | use -pipe for gcc on win32 (mingw/cygwin)nijtmans2010-02-131-8/+8
| | | | | | | | | | | | | | | | | | make sure that TkpCmapStressed is exported clean up unused Tk_CreatePhotoOption Make more internal arrays "const"
* | | Little simplification in tkBind.cnijtmans2010-01-291-5/+2
| | |
* | | [Bug 2926819]: Factor out the pointer warping code a bit better and extend itdkf2010-01-061-10/+12
| | | | | | | | | | | | to work on OSX too.
* | | SMALL FIX: Remove useless explicit casts now that we require C89 or later.dkf2010-01-021-3/+3
| | |
* | | CONSTify return values of TkKeysymToString,nijtmans2009-12-161-4/+4
| | | | | | | | | | | | | | | | | | | | | TkFindStateString, TkpGetString, TkpGetChar, which are all not supposed to be modified by the caller. In tkUtil.c this gets rid of a dangerous type cast.
* | | * generic/tkBind.c (HandleEventGenerate): Don't generate events fordas2009-08-241-2/+13
| | | | | | | | | | | | windows that don't exist yet (fixes TkAqua testsuite crash).