summaryrefslogtreecommitdiffstats
path: root/generic/tkBind.c
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* | | Eliminate various gcc warningsnijtmans2009-08-091-76/+75
| | | | | | | | | | | | include <vssym32.h> only when available
* | | Fix [Bug 2441988]. Also squelch use of TkCopyAndGlobalEval, we can do better!dkf2009-07-231-2/+4
| | |
* | | 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).
* | | CONSTify TkDebugBorder, TkStringToKeysym, TkDebugBitmapnijtmans2009-01-091-10/+11
| | | | | | | | | | | | | | | TkDebugColor, TkDebugCursor, TkDebugFont All those mods TIP #27 complient, no incompatibility risks.
* | | TIP 337dgp2008-12-091-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkBind.c: Updated callers of Tcl_BackgroundError() * generic/tkCanvas.c: to use the new routine * generic/tkEntry.c: Tcl_BackgroundException() as appropriate. * generic/tkImgBmap.c: * generic/tkListbox.c: * generic/tkSelect.c: * generic/tkTextDisp.c: * generic/tkTextWind.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXWindowEvent.c: * unix/tkUnixScale.c: * unix/tkUnixWm.c: * win/tkWinButton.c: * win/tkWinMenu.c: * win/tkWinScrlbr.c: * win/tkWinWm.c:
* | | Minor tidying updkf2008-11-251-99/+74
| | |
* | | [Bug 1389270] event generate silently ignored focus events. These can now be ↵patthoyts2008-11-231-1/+5
| | | | | | | | | | | | generated.
* | | Lots of small changes to make code more pretty and C89-like.dkf2008-11-081-115/+110
| | |
* | | Add "const" to many internalnijtmans2008-10-171-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | const tables, so those will be put by the C-compiler in the TEXT segment in stead of the DATA segment. This makes those table sharable in shared libraries.