summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvas.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate all usage of functions Tcl_VarEval (deprecated) and Tcl_Eval (to ↵jan.nijtmans2013-03-071-4/+13
| | | | the prefered Tcl_EvalEx).
* Revert [ac229dabaa]. There is a reason the Tcl_GetIndexFromObj wrapper jenglish2013-02-271-8/+8
| | | exists and is used.
* Eliminate all Tcl_GetIndexFromObj calls, which is only a thin wrapper around ↵jan.nijtmans2013-02-271-8/+8
| | | | Tcl_GetIndexFromObjStruct.
* some more int -> size_t changesjan.nijtmans2013-02-011-3/+4
|
* 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 auditing of error codesdkf2012-07-301-3/+6
|
* Working towards making the error codes more consistent.dkf2012-07-301-1/+1
|
* Purged Tcl_AppendElement from all non-test code.dkf2012-07-291-24/+41
|
* Much more cleaning up of result handling.dkf2012-07-231-24/+21
|
* consistent error formatting, added error codesdkf2012-07-211-101/+128
|
* [Bug 3437816]: Missing TCL_ERROR return in [canvas lower].ferrieux2011-11-141-0/+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/tkCanvas.c: Fix logic that determines when canvas itemdgp2008-04-171-4/+5
| | | | | | | | | | | | <Enter> event should fire. Thanks to Sebastian Wangnick. [Bug 1327482]
| | * * generic/tkCanvas.c: allow -selectforeground option to be None; adddas2007-04-291-8/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkCanvText.c: fallback to fgColor when selFgColor is None * generic/tkEntry.c: (new default on aqua to match native L&F). * generic/tkListbox.c: * generic/tkText.c: * generic/tkCanvas.c: add support for bypassing all of Tk's double * generic/tkEntry.c: buffered drawing into intermediate pixmaps * generic/tkFrame.c: (via TK_NO_DOUBLE_BUFFERING #define), it is * generic/tkListbox.c: unnecessary & wasteful on aqua where all * generic/tkPanedWindow.c: drawing is already double-buffered by the * generic/tkTextDisp.c: window server. (Use of this on other * unix/tkUnixScale.c: platforms would only require implementation of TkpClipDrawableToRect()).
| | * Fix [Bug 1252702]dkf2005-08-111-6/+5
| | |
| | * typodgp2005-06-211-2/+2
| | |
| | * Backport fix for [Bug 1114977]; canvas tag searches now work with threads.dkf2005-06-031-81/+146
| | |
| * | [Bug 2931374]: Stop overflow of working buffer during construction of longdkf2010-01-191-2/+6
| | | | | | | | | | | | tag expressions.
| * | Apply patch [#2932808]: Canvas itemsnijtmans2010-01-181-1/+23
| | | | | | | | | | | | not updating on widget state change
| * | Correct error result generation of [$canvas select clear $bogus].dkf2008-10-111-2/+2
| | |
| * | * generic/tkCanvas.c: Fix logic that determines when canvas itemdgp2008-04-171-4/+5
| | | | | | | | | | | | <Enter> event should fire. Thanks to Sebastian Wangnick. [Bug 1327482]
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-32/+29
| | | | | | | | | using useful casts internally.
* | | Eliminate many unnecessary (ClientData) type casts.nijtmans2010-06-151-4/+3
| | |
* | | CONSTify everything related to Tk_ConfigSpecnijtmans2010-02-171-2/+2
| | |
* | | [Bug 2931374]: Stop overflow of working buffer during construction of longdkf2010-01-191-2/+6
| | | | | | | | | | | | tag expressions.
* | | fix more gcc warnings: missing initializernijtmans2010-01-181-36/+58
| | | | | | | | | | | | | | | Apply patch [#2932808]: Canvas items not updating on widget state change
* | | Eliminate tkpMenubuttonClassnijtmans2010-01-131-2/+4
| | | | | | | | | | | | | | | make tkpButtonProcs CONST fix gcc warnings: missing initializer
* | | SMALL FIX: Remove useless explicit casts now that we require C89 or later.dkf2010-01-021-6/+6
| | |
* | | [Bug 2899685]: fix the redraw logic of [imove]ferrieux2009-11-191-3/+8
| | |
* | | A few const -> CONST86 modifications, improvingnijtmans2009-01-061-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | backwards compatibility. Change Tk_ItemIndexProc and Tk_ItemInsertProc signature to have a Tcl_Obj parameter in stead of a string parameter. This is binary and source compatible with previous API, it just prevents the need for a type cast in the Tk_ItemType table construction. Bring doc in line with API.
* | | TIP 337dgp2008-12-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
* | | make all Tk_CustomOption tables const andnijtmans2008-11-091-8/+6
| | | | | | | | | | | | remove unnecessary type cast
* | | Added cast to work around stupid type inference bug in MSVC. Apparently itdkf2008-11-031-2/+2
| | | | | | | | | | | | can't tell the difference between 'const char **' and 'char *const *'...
* | | Implementation of TIP 97 - canvas imove and rchars methods.dkf2008-11-011-351/+558
| | |
* | | Avoid const jiggling by using Tcl_SetObjResultpatthoyts2008-10-181-2/+3
| | |
* | | Add "const" to many internalnijtmans2008-10-171-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Correct error result generation of [$canvas select clear $bogus].dkf2008-10-111-2/+2
| | |
* | | Implemented TIP #236 from patch by Neil McKay.dkf2008-09-301-158/+228
| | |
* | | fix [2021443] inconsistant "wrong # args" messages (for Tk)nijtmans2008-07-231-8/+8
| | |
* | | fix constness warningsdas2008-05-031-4/+4
| | |
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-75/+77
| | |
* | | * generic/tkCanvas.c: Fix logic that determines when canvas itemdgp2008-04-171-4/+5
|/ / | | | | | | <Enter> event should fire. Thanks to Sebastian Wangnick. [Bug 1327482]
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | * generic/tkArgv.c: Fix gcc warnings about 'cast to/fromdas2007-10-151-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkCanvUtil.c: pointer from/to integer of different * generic/tkCanvas.c: size' on 64-bit platforms by casting * generic/tkCursor.c: to intermediate types * generic/tkInt.h: intptr_t/uintptr_t via new PTR2INT(), * generic/tkListbox.c: INT2PTR(), PTR2UINT() and UINT2PTR() * generic/tkObj.c: macros. * generic/tkStyle.c: * generic/tkTextIndex.c: * generic/tkUtil.c: * generic/ttk/ttkTheme.h: * generic/ttk/ttkTreeview.c: * unix/tkUnixMenu.c: * unix/configure.in: * unix/configure: autoconf-2.59 * unix/tkConfig.h.in: autoheader-2.59
* | header cleanupdgp2007-09-071-2/+1
| |
* | * generic/tkCanvas.c: allow -selectforeground option to be None; adddas2007-04-231-8/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkCanvText.c: fallback to fgColor when selFgColor is None * generic/tkEntry.c: (new default on aqua to match native L&F). * generic/tkListbox.c: * generic/tkText.c: * generic/tkCanvas.c: add support for bypassing all of Tk's double * generic/tkEntry.c: buffered drawing into intermediate pixmaps * generic/tkFrame.c: (via TK_NO_DOUBLE_BUFFERING #define), it is * generic/tkListbox.c: unnecessary & wasteful on aqua where all * generic/tkPanedWindow.c: drawing is already double-buffered by the * generic/tkTextDisp.c: window server. (Use of this on other * generic/ttk/ttkWidget.c: platforms would only require implementation * unix/tkUnixScale.c: of TkpClipDrawableToRect()).
* | Add in cast for boneheadedness in VC's handling of const qualifiersdkf2007-04-171-4/+5
| |
* | Eliminate use of (VOID*) casts when calling memset or memcpy.dkf2007-04-171-3/+2
| |