summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tkCanvUtil.c: fix gcc-4.2 warnings.das2008-03-111-7/+7
|
* Don't enforce minimum sash thickness of 5 pixels, just use 5 as a defaultjenglish2008-02-231-9/+4
| | | | [FR 1898288]
* *** 8.5.1 TAGGED FOR RELEASE ***dgp2008-02-041-2/+2
| | | | | | | | | | | * generic/tk.h: Bump to 8.5.1 for release. * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * generic/tkImgGIF.c: Fixed a buffer overflow (CVE-2006-4484).rmax2008-02-011-1/+7
| | | | * tests/imgPhoto.test: Added a test for the above.
* Make sure to schedule a redisplay when adding and/or hiding tabs [Bug 1878298].jenglish2008-01-281-2/+5
|
* BUGFIX: fix crash in [ttk::labelframe] when -style option specifiedjenglish2008-01-081-34/+37
| | | | [Bug 1867122].
* (oops. Missed a spot.)jenglish2008-01-061-11/+1
|
* Call Tk_MakeWindowExist() in widget constructor.jenglish2008-01-062-10/+6
| | | | Removed now-unnecessary initial ConfigureNotify processing.
* * generic/tk.h: Bump version number to 8.5.1b1 to distinguishdgp2008-01-021-3/+3
| | | | | | | | | | * library/tk.tcl: CVS development snapshots from the 8.5.0 and * unix/configure.in: 8.5.1 releases. * unix/tk.spec: * win/configure.in: * unix/configure: autoconf (2.59) * win/configure:
* * generic/tkMenubutton.c (ConfigureMenuButton): trace thehobbs2007-12-131-8/+5
| | | | -textvariable even if an image exists as it may use -compound.
* merge stable branch onto HEADdgp2007-12-13113-117/+117
|
* * generic/tkText.c (DeleteIndexRange, TextEditCmd, UpdateDirtyFlag):hobbs2007-12-131-40/+48
| | | | | | | * tests/text.test (text-25.10.1,25.11.[12]): Don't require [update idle] to trigger Modified event [Bug 1809538] Modified virtual event should only fire on state change [Bug 1799782] Make sure we delete chars before triggering <<Modified>> [Bug 1737288]
* fix typos in commentshobbs2007-12-131-4/+4
|
* * generic/ttk/ttkTheme.c(StyleElementOptionsCmd):jenglish2007-12-121-9/+9
| | | | Use Ttk_GetElement() to find element instead of direct hash table access.
* Added code to rebuild the from index after the deletion phase so that thedkf2007-12-111-10/+20
| | | | linePtr field is valid for the insertion phase. [Bug 1602537]
* * generic/tkIntDecls.h: regen with new genStubs.tcl.das2007-12-105-261/+283
| | | | | | | * generic/tkIntPlatDecls.h: [Tcl Bug 1834288] * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h: * generic/tkStubInit.c:
* * generic/tk.decls: use new genstubs 'export' command todas2007-12-102-645/+426
| | | | | * generic/tkInt.decls: mark exported symbols not in stubs table [FR 1716117]; cleanup formatting.
* Improved macrology for statically-initialized layout template tables.jenglish2007-12-027-75/+90
|
* Internal Ttk_Manager API updates (missed from 2007-11-25 commit)jenglish2007-12-022-19/+24
|
* * generic/tkImgPPM.c (StringReadPPM): Corrected a comparisonKevin B Kenny2007-11-261-2/+2
| | | | | | | whose sense was reversed that resulted in reading beyond the end of the input buffer on malformed PPM data. [Bug #1822391] * tests/imgPPM.test (imgPPM-4.1): Added test case that exercises [Bug #1822391].
* Internal Ttk_Manager API updates; Fixed [Bug 1343984];jenglish2007-11-255-65/+116
| | | | | | Added [$nb hide] method; [$nb add] on already-managed windows no longer throws an error, can be used to re-add a hidden tab. Updated docs and test suite.
* Fixed crash bug in style element createpatthoyts2007-11-191-2/+2
|
* * README: Bump version number to 8.5b3.dgp2007-11-191-3/+3
| | | | | | | | | | | * generic/tk.h: * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * generic/ttk/ttkElements.c, macosx/ttkMacOSXTheme.c:jenglish2007-11-193-158/+85
| | | | | | | | | | | | Add "fill" element: like "background" but only erases parcel. * generic/ttk/ttkFrame.c: Use fill element in Labelframe Label sublayout. Also improved default labelmargins for -labelanchor w*, e*. * generic/ttk/ttkLabel.c: no longer need Labelframe hack. * library/ttk/aquaTheme.tcl: ImageTextElement no longer needed. TextElement no longer needs '-background' option.
* * generic/ttk/ttkFrame.c: Use sublayout for ttk::labelframe labelsjenglish2007-11-182-38/+61
| | | | | | | | instead of single element. * generic/ttk/ttkLabel.c: Default -anchor for text and label elements is now "w" instead of "center". Fixes [Bug 1614540]. * library/ttk/defaults.tcl, library/ttk/*Theme.tcl: Button styles now need explicit "-anchor center".
* BUGFIX: Ttk_GetPaddingFromObj() and Ttk_GetBorderFromObj() returned garbagejenglish2007-11-181-1/+2
| | | | when passed an empty list.
* Tidy up some variable types.patthoyts2007-11-1710-25/+29
|
* Only check for -displayof if there are sufficient arguments. This permits ↵patthoyts2007-11-171-5/+7
| | | | checking strings like -d.
* Ttk_ElementSize: Fixed longstanding, subtle bug that caused element paddingjenglish2007-11-086-37/+54
| | | | | | to sometimes be counted twice in size computations. Fix ElementSizeProcs affected by previous change.
* + Use null "treearea" element for treeview owner-draw areajenglish2007-11-042-5/+6
| | | | | | | instead of "client", to avoid nameclash with Notebook.client element. This was causing sizing anomalies in XP theme, and introduced extraneous padding. + "alt" theme Treeitem.indicator element needs left margin now.
* Improve Tk_PhotoPutBlock a bit more. Derived from [Patch 224066]dkf2007-10-311-25/+53
|
* Use -fp:strict with msvc8 as -fp:precise fails on amd64 builds. Fixpatthoyts2007-10-312-6/+10
| | | | | the two places in Tk that generate errors with msvc8 when using this flag.
* * generic/tk.h: Bump version number to 8.5b2.1 to distinguishdgp2007-10-301-2/+2
| | | | | | | | | | * library/tk.tcl: CVS development snapshots from the 8.5b2 * unix/configure.in: release. * unix/tk.spec: * win/configure.in: * unix/configure: autoconf (2.59) * win/configure:
* Rename enumermation for somewhat simpler-to-read code. [Bug 1677613]dkf2007-10-301-3/+3
|
* * generic/ttk/ttkWidget.c: Split up RedisplayWidget()jenglish2007-10-301-63/+56
| | | | | | | | | | | | | to factor out double-buffering related code. * macosx/ttkMacOSXAquaTheme.c: Use SetThemeBackGround/ kThemeBrushModelessDialogBackground{Active|Inactive} instead of ApplyThemeBackground/kThemeBackgroundWindowHeader (advice from DAS). * library/ttk/aquaTheme.tcl: Use darker shade for inactive and disabled text, to match typical values of most kThemeXXXTextColorInactive values.
* * README: Bump version number to 8.5b2.dgp2007-10-261-3/+3
| | | | | | | | | | | * generic/tk.h: * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* ttk::notebook: reworked [$nb insert] logic (fixes multiple bugs; see #1817596)jenglish2007-10-251-32/+34
|
* * generic/tkPlace.c: Prevent segfault in place geometry manager.dgp2007-10-251-4/+42
| | | | Thanks to Colin McDonald. [Bug 1818491]
* Move widget layout registration from TtkElements_Init()jenglish2007-10-2512-271/+230
| | | | | to widget *_Init() routines. Renaming/consistency: s/...ElementGeometry()/...ElementSize()/
* permit wm manage of any widget (esp: ttk::frame)patthoyts2007-10-241-2/+2
|
* * library/ttk/combobox.tcl: ttk::combobox overhaul;jenglish2007-10-221-5/+4
| | | | | | | | fixes [#1814778, #1780286, #1609168, #1349586] * library/ttk/aquaTheme.tcl: Factored out aqua-specific combobox -postposition adjustments. * generic/ttk/ttkTrack.c: Detect [grab]s and unpress pressed element; combobox workaround no longer needed.
* * generic/tkFont.c (Tk{Create,Delete}NamedFont): allow NULL interp.das2007-10-211-8/+11
|
* * generic/tkFocus.c, generic/tkFrame.c, generic/tkInt.h:hobbs2007-10-153-5/+163
| | | | | | | | * macosx/tkMacOSXButton.c, macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXWm.c, unix/tkUnixWm.c, win/tkWinWm.c: * doc/wm.n, tests/wm.test: TIP #125 implementation [Bug 998125] Adds [wm manage|forget] for dockable frames. Finished X11 and Windows code, needs OS X completion.
* generic/ttk/ttkTreeview.c: Store pointer to column table entryjenglish2007-10-152-73/+39
| | | | | | | instead of column index in columnNames hash table. This avoids the need for the evil PTR2INT and INT2PTR macros, and simplifies things a bit.
* * generic/tkArgv.c: Fix gcc warnings about 'cast to/fromdas2007-10-1512-58/+107
| | | | | | | | | | | | | | | | | | | * 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
* * generic/tkTextDisp.c (CharUndisplayProc): fix textDisp.test crash.das2007-10-121-21/+23
|
* Make Ttk_GetImage safe if called with NULL interp. Added some testspatthoyts2007-10-091-2/+4
| | | | that crash on Windows without this fix.
* * generic/tk.h: Bump version number to 8.5b1.1 to distinguishdgp2007-10-021-2/+2
| | | | | | | | | | * library/tk.tcl: CVS development snapshots from the 8.5b1 * unix/configure.in: release. Updated LOCALES. * unix/tk.spec: * win/configure.in: * unix/configure: autoconf (2.59) * win/configure:
* Only call callbacks that are not NULL. [Bug 1791052]dkf2007-09-201-3/+8
|
* fix 'make checkstubs' complaint about Tk_PkgInitStubsCheckdas2007-09-201-1/+3
|