summaryrefslogtreecommitdiffstats
path: root/generic/ttk
Commit message (Collapse)AuthorAgeFilesLines
* Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-1211-74/+70
| | | using useful casts internally.
* Eliminate some unneeded write-only variables (discovered by gcc-4.6)jan.nijtmans2011-03-113-6/+3
|\
| * Eliminate some unneeded write-only variables (discovered by gcc-4.6)jan.nijtmans2011-03-113-6/+3
| |
| * ttk::combobox: Add missing 'validate' command (reported by schelte).jenglish2011-01-221-1/+2
| |
| * Make sure to use CONST/VOID in stead ofnijtmans2011-01-191-12/+12
| | | | | | | | | | | | const/void when appropriate. This allows to use const/void in the *.decls file always, genStubs will do the right thing.
| * Make sure to use CONST/VOID in stead ofnijtmans2011-01-192-23/+42
| | | | | | | | | | | | const/void when appropriate. This allows to use const/void in the *.decls file always, genStubs will do the right thing.
| * Fix crash in 'tag add' / 'tag remove' when no -tags specified [SF#3085489].jenglish2010-10-111-4/+4
| |
| * TreeviewSeeCommand: Schedule redisplay if [$tv see] opens any items [#2829363]jenglish2010-09-081-1/+2
| |
| * Major backport of 8.6 Ttk for 8.5.9. Most changes were only beinghobbs2010-08-2635-1602/+2117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | committed to head (8.6), although they could apply for 8.5 as well. This re-sync makes future work easier to maintain and adds some useful work for 8.5 users. Notable changes: - Lots of code cleanup - Some bug fixes never backported - Addition of ttk::spinbox - minor color changes - Improved Vista/7 styling - Move to tile version 0.8.6 (pseudo-package) - ABI and API compatible (even $w identify) - minor new features (extended $w identify)
| * Tk_CreateBinding: Silently ignore empty binding scripts (Fixes [Bug 3006842]).jenglish2010-05-311-19/+24
| | | | | | | | ttkTreeview.c: [$tv tag bind $tag <...> {}] now removes binding.
| * Backport various formatting (spacing)nijtmans2010-02-073-105/+116
| | | | | | | | | | | | | | changes from HEAD, so diffing between 8.5.x and 8.6 shows the real structural differences again. (any signature change not backported!)
| * Fix various gcc-4.4 warnings and formatting, allnijtmans2010-01-291-11/+11
| | | | | | | | backported from HEAD.
| * generic/ttk/ttkNotebook.c: Don't call Tk_DeleteOptionTable()jenglish2009-12-161-4/+1
| | | | | | | | [Bug 2915709], backport fix for [Bug 2496162].
| * Backported support for the Vista theme.patthoyts2009-05-143-4/+21
| | | | | | | | This requires the vsapi element engine, the hover state and the theme script definition.
| * Prevent zero-size malloc() calls. [Bug 2178820]dkf2009-03-251-3/+3
| |
| * * generic/tkImgPhoto.c: fix numerous leaks discovered with thedas2009-02-061-1/+4
| | | | | | | | | | | | | | | | | | | | * generic/tkMenu.c: Mac OS X Instruments.app Leaks tool. * generic/tkText.c: * generic/tkTextImage.c: * generic/tkTextIndex.c: * generic/tkUndo.c: * generic/ttk/ttkFrame.c: * macosx/tkMacOSXWm.c:
| * Don't crash when application uses nondefault visual [Bug 2264732]jenglish2008-12-221-3/+3
| | | | | | | | | | | | (Backport from trunk change 2008-11-11) Workaround for [Bug 2207435] (Backport from trunk change 2008-10-31)
| * generic/ttk/ttkScroll.c: Don't use sprintf "%g" to format floatingjenglish2008-08-191-11/+11
| | | | | | | | | | point numbers in -[xy]scrollcommand callbacks or [xy]view methods. Minor incompatibility: 0 and 1 now formatted as "0.0" resp "1.0".
| * Audit: ensure that output arguments to Tk_Get*FromObj() are initialized,jenglish2008-07-044-17/+15
| | | | | | | | in case of erroneous style specifications [#2009213].
| * Avoid passing width or height <= 0 to Tk_RedrawImage,jenglish2008-05-231-1/+7
| | | | | | | | as this leads to a panic on Windows [Bug 1967576]
* | ttk::combobox: Add missing 'validate' command (reported by schelte).jenglish2011-01-221-1/+2
| |
* | Remove stippling from disabled images under Aqua; renders as white box ↵wordtech2011-01-141-1/+7
| | | | | | | | currently.
* | Fix crash in 'tag add' / 'tag remove' when no -tags specified [SF#3085489].jenglish2010-10-111-4/+4
| |
* | Dummy genstubs::export (from genStubs.tcl)nijtmans2010-09-231-1/+19
| |
* | clean-up, port all genStubs.tcl changesnijtmans2010-09-202-118/+159
| | | | | | | | | | from Tcl to ttkGenStubs.tcl as well (no change in any output files)
* | TreeviewSeeCommand: Schedule redisplay if [$tv see] opens any items [#2829363]jenglish2010-09-081-1/+2
| |
* | [Patch 3034251] partly: remove some more unneeded ifdeffery from stub header ↵nijtmans2010-08-192-86/+10
| | | | | | | | files
* | [Bug #3019363] "make genstubs" failurenijtmans2010-06-222-13/+13
| | | | | | | | (undid previous unintended edit)
* | [Bug #3019363] "make genstubs" failurenijtmans2010-06-223-18/+17
| |
* | ttk::treeview: [$tv tag bind $tag <...> {}] now removes binding completely.jenglish2010-05-271-17/+22
| | | | | | | | | | Fixes [Bug 3006842] (although there's still a problem somewhere in Tk_CreateBinding()).
* | ttk::treeview widget: add 'tag names', 'tag add', and 'tag remove' methods.jenglish2010-03-285-16/+188
| |
* | ttk::treeview: Cache the result of the last call to EndPosition()jenglish2010-02-201-10/+30
| | | | | | | | | | | | | | to avoid quadratic-time behavior in the common cases where the treeview is populated in depth-first or breadth-first order. (Translation for LM: that means "3X faster!")
* | Laxative patch: Revert contravariant const qualifiers added by thejenglish2010-02-0513-44/+43
| | | | | | | | | | previous commit to keep codebase in sync with the Tile extension, which must remain 8.4 compatible.
* | Make the various stub tables and hook pointers const,nijtmans2010-02-0518-58/+74
| | | | | | | | | | just as Tcl and Tk. Make more internal tables "const"
* | Follow-up to [2010-01-29] commit:nijtmans2010-02-052-24/+30
| | | | | | | | | | prevent space within stub table function parameters if the parameter type is a pointer.
* | Change signature of widget subcommand procedures to match Tcl_ObjCmdProc.jenglish2010-01-3115-397/+341
| | | | | | | | Merge now-redundant ensemble dispatch code.
* | genStubs.tcl: No longer generate a space afternijtmans2010-01-292-69/+74
| | | | | | | | | | | | "*" and immediately after a function name, so the format of function definitions in *Decls.h match all other *.h header files.
* | fix more gcc warnings: missing initializernijtmans2010-01-2211-56/+57
| | | | | | | | | | | | | | Eliminate use of __argc and __argv for CYGWIN Make cygwin configuration error into a warning: CYGWIN compilation works although there still are test failures.
* | Eliminate tkpMenubuttonClassnijtmans2010-01-131-4/+6
| | | | | | | | | | make tkpButtonProcs CONST fix gcc warnings: missing initializer
* | Uniform, extensible syntax for [$w identify] methods:jenglish2009-11-013-46/+97
| | | | | | | | | | | | | | | | | | | | [$w identify $component $x $y]. All ttk::* widgets support [$w identify element $x $y]; widgets with other identifiable parts may have additional subcommands. Notebook widgets support [$nb identify tab], Panedwindow widgets support [$w identify sash]. Older 2-argument form [$w identify $x $y] still supported, though it does different things depending on the widget.
* | Eliminate various gcc warningsnijtmans2009-08-091-10/+10
| | | | | | | | include <vssym32.h> only when available
* | BUGFIX: last commit did not account for possibility of 0 tabs.jenglish2009-05-171-17/+20
| |
* | generic/ttkNotebook.c: More flexible tab placement [Bug 1470246]jenglish2009-05-171-23/+42
| |
* | Prevent zero-size malloc() calls. [Bug 2178820]dkf2009-03-251-3/+3
| |
* | ElementStateEventProc: Avoid dangling pointers when layout changesjenglish2009-02-092-17/+26
| | | | | | | | [Fix for #2431428].
* | Renamed several internal data structures and functions:jenglish2009-02-0816-277/+283
| | | | | | | | | | | | | | ElementImpl -> ElementClass, LayoutNode -> Element. Remove more unnecessary casts. Add function Ttk_ClientRegion, common factor of entry, scale, progress, and treeview widgets.
* | * generic/tkImgPhInstance.c: fix numerous leaks discovered with thedas2009-02-061-1/+4
| | | | | | | | | | | | | | | | | | | | | | * generic/tkMenu.c: Mac OS X Instruments.app Leaks tool. * generic/tkText.c: * generic/tkTextImage.c: * generic/tkTextIndex.c: * generic/tkUndo.c: * generic/tkUtil.c: * generic/ttk/ttkFrame.c: * macosx/tkMacOSXWm.c:
* | - eliminate some unnessary type castsnijtmans2009-01-284-16/+16
| | | | | | | | | | - some internal const decorations - spacing
* | ttkNotebook.c(NotebookCleanup): Don't call Tk_DeleteOptionTable(),jenglish2009-01-111-4/+1
| | | | | | | | it's unnecessary and quite possibly harmful [Bug 2496162].
* | * generic/ttk/ttkDefaultTheme.c: Fix color palette for radiobuttonjenglish2008-12-311-95/+62
| | | | | | | | | | | | | | and checkbutton indicators. Fixes [Bug 2003310]; also makes "alt" theme check/radiobuttons look like Windows 98, as intended. * library/ttk/altTheme.tcl: Specify dark gray -bordercolor to soften edges.