summaryrefslogtreecommitdiffstats
path: root/generic/tkListbox.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate all usage of WIN32 macro as well: _WIN32 is the portable macro.jan.nijtmans2014-02-101-4/+4
|
* 3607326 Stop segfault from [listbox .l -listvariable $array].dgp2013-03-111-3/+0
|\
| * 3607326 Stop segfault from [listbox .l -listvariable $array].dgp2013-03-111-3/+0
| |
| * SetOptions.3: minor doc fixjan.nijtmans2012-06-191-2/+2
| |\ | | | | | | | | | make various other tables const (all backported from Tk 8.6)
| | * SetOptions.3: minor doc fixjan.nijtmans2012-06-191-4/+4
| | | | | | | | | | | | make various other tables CONST (All backported from Tk 8.6)
| * | make some internal tables constjan.nijtmans2012-04-181-2/+2
| |\ \ | | |/
| | * make some more internal tables CONSTjan.nijtmans2012-04-181-2/+2
| | |
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-1/+1
| | |
* | | Eliminate all usage of functions Tcl_VarEval (deprecated) and Tcl_Eval (to ↵jan.nijtmans2013-03-071-4/+18
| | | | | | | | | | | | the prefered Tcl_EvalEx).
* | | Revert [ac229dabaa]. There is a reason the Tcl_GetIndexFromObj wrapper jenglish2013-02-271-8/+7
| | | | | | | | | exists and is used.
* | | Eliminate all Tcl_GetIndexFromObj calls, which is only a thin wrapper around ↵jan.nijtmans2013-02-271-7/+8
| | | | | | | | | | | | Tcl_GetIndexFromObjStruct.
* | | Replace all Tcl_TraceVar/Tcl_UntraceVar with Tcl_TraceVar2/Tcl_UntraceVar2 ↵jan.nijtmans2013-02-221-2/+2
| | | | | | | | | | | | calls: The former are just thin wrappers around the latter.
* | | Use some more (void *)'s in FreeProc's, a step in the direction getting Tk ↵jan.nijtmans2013-01-261-4/+4
| | | | | | | | | | | | to work with "novem"
* | | Replace various functions calls, for functions which are small wrappers ↵jan.nijtmans2013-01-141-4/+4
| | | | | | | | | | | | around other functions, to call the wrapped function directly.
* | | Working towards making the error codes more consistent.dkf2012-07-301-2/+2
| | |
* | | Much more cleaning up of result handling.dkf2012-07-231-16/+15
| | |
* | | Working towards adding all the Tcl_SetErrorCode calls that should be there.dkf2012-07-161-78/+78
| | | | | | | | | ** WORK IN PROGRESS **
* | | frq-3536507: clientData field in Tk_OptionSpec should be "const void *"frq_3536507jan.nijtmans2012-06-201-13/+13
| | |
* | | 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: allow -selectforeground option to be None; adddas2007-04-291-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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()).
| | * * generic/tkListbox.c (ConfigureListboxItem): ListboxWorldChangedhobbs2006-12-041-5/+10
| | | | | | | | | | | | not needed - just call EventuallyRedrawRange. [Bug 1608046] (rezic)
| | * * tests/entry.test (entry-22.1):hobbs2006-05-291-24/+22
| | | | | | | | | | | | | | | | | | | | | * tests/listbox.test (listbox-6.15): * generic/tkListbox.c (ListboxInsertSubCmd, ListboxDeleteSubCmd): Ignore Tcl_SetVar2Ex failure of listVarName, similar to entry widget handling. [Bug 1424513]
| | * silence compiler warningdgp2004-06-081-3/+2
| | |
| | * * generic/tkListbox.c (ListboxDeleteSubCmd, ListboxListVarProc):hobbs2003-11-111-3/+4
| | | | | | | | | | | | free itemconfig data when removing it from table. [Bug #836483]
| * | Fix various gcc-4.4 warnings and formatting, allnijtmans2010-01-291-10/+10
| | | | | | | | | | | | backported from HEAD.
| * | Backported some fixes for uninitialized variables identified by das using ↵patthoyts2009-03-031-3/+4
| | | | | | | | | | | | clang analysis.
| * | * generic/tkListbox.c: Make literal return values consistent withdgp2008-10-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | those generated by Tcl_PrintDouble(). * tests/canvText.test: Backport test updates in light of the * tests/entry.test: 2008-10-05 commit. * tests/listbox.test:
| * | Backport of fix for [Bug 2112563]dkf2008-10-051-21/+32
| | |
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-14/+11
| | | | | | | | | using useful casts internally.
* | | Formattingnijtmans2010-04-231-2/+2
| | | | | | | | | | | | | | | | | | typo fixes remove not existing tkDisplayList; Useless re-definitions of TCL_STORAGE_CLASS
* | | 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-47/+45
| | |
* | | Fix gcc warning: ignoring return value of ‘strtol’,nijtmans2009-12-161-2/+2
| | | | | | | | | | | | | | | | | | declared with attribute warn_unused_result Fix gcc warning: dereferencing pointer ‘xgePtr’ does break strict-aliasing rules
* | | - eliminate some unnessary type castsnijtmans2009-02-031-11/+12
| | | | | | | | | | | | | | | - some internal const decorations - spacing
* | | 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:
* | | Fix potential use of uninitialized variable flagged by clang static analyzerdas2008-12-071-3/+4
| | |
* | | More small changes to use C89 better and manage the result more efficiently.dkf2008-11-081-23/+16
| | |
* | | more internal -Wwrite-strings warning fixesnijtmans2008-10-301-4/+4
| | |
* | | 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.
* | | * generic/tkListbox.c: Make literal return values consistent withdgp2008-10-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | those generated by Tcl_PrintDouble(). * tests/entry.test: Restore test naming consistency with Tk 8.5. * tests/listbox.test: Remove some more dependency on precision in test results.
* | | Greatly clean up Tk's handling of the writability of the Tcl result object.dkf2008-10-051-3/+3
| | |
* | | typodkf2008-10-031-2/+2
| | |
* | | Convert %g to Tcl_PrintDouble to avoid locale trouble. [Bug 2112563]dkf2008-10-031-18/+26
| | |
* | | fix [2021443] inconsistant "wrong # args" messages (for Tk)nijtmans2008-07-231-5/+5
|/ /
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | * generic/tkArgv.c: Fix gcc warnings about 'cast to/fromdas2007-10-151-21/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Assorted minor cleanups.dkf2007-09-081-13/+19
| |
* | header cleanupdgp2007-09-071-2/+1
| |