summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* * README: Bump version number to 8.5b1.dgp2007-09-191-4/+4
| | | | | | | | * generic/tk.h: Merge from core-stabilizer-branch. * library/tk.tcl: Stabilizing toward 8.5b1 release now done * unix/configure.in: on the HEAD. core-stabilizer-branch is * unix/tk.spec: now suspended. * win/configure.in:
* Replace isdigit call with an internal implementation to avoid libc linkage ↵patthoyts2007-09-191-2/+11
| | | | on windows
* * generic/tkStubLib.c: Remove C library calls from Tk_InitStubs()dgp2007-09-181-2/+8
| | | | | * win/makefile.vc: so that we don't need the C library linked in to libtkStub.
* fix warningsdas2007-09-181-3/+3
|
* Yet another step in the tidying up of the GIF code.dkf2007-09-181-138/+169
|
* * generic/tkConsole.c: Revised callers of Tcl_InitStubs() to accountdgp2007-09-175-11/+75
| | | | | | | | | | | | * generic/tkMain.c: for restored compatible support for the call * generic/tkWindow.c: Tcl_InitStubs(interp, TCL_VERSION, 1). Also revised Tcl_PkgRequire() call for Tcl so that, for example, a Tk library built against Tcl 8.5.1 headers will not refuse to [load] into a Tcl 8.5.0 interpreter. [Tcl Bug 1578344]. * generic/tk.h: Revised Tk_InitStubs() to restore Tk 8.4 * generic/tkStubLib.c: source compatibility with callers of * generic/tkWindow.c: Tk_InitStubs(interp, TK_VERSION, 1).
* Missed one PkgRequire Tcl revisiondgp2007-09-111-2/+2
|
* * generic/tkImgGIF.c: Fixed a buffer overrun that got triggered byrmax2007-09-111-2/+2
| | | | | | | multi-frame interlaced GIFs that contain subsequent frames that are smaller than the first one. * tests/imgPhoto.test: Added a test for the above.
* * generic/tkConsole.c: Revised calls to Tcl_InitStubs() anddgp2007-09-113-6/+6
| | | | | | | | | * generic/tkMain.c: [package require Tcl] so that Tk Says What * generic/tkWindow.c: It Means using the new facilties of [package] * library/tk.tcl: in Tcl 8.5 about what version(s) of Tcl it * unix/Makefile.in: is willing to work with. [Bug 1578344]. * win/Makefile.in: * win/makefile.vc:
* * generic/tkConsole.c: Revise all Tcl_InitStubs() calls to restoredgp2007-09-103-6/+6
| | | | | | | * generic/tkMain.c: the traditional practice that a Tk shared * generic/tkWindow.c: library may [load] into a Tcl 8.5 interp at any patchlevel. This practice also matches the compile time checks of TCL_MAJOR_VERSION and TCL_MINOR_VERSION in tk.h. [Bug 1723622]
* Assorted minor cleanups.dkf2007-09-085-92/+125
|
* Disable __NO_OLD_CONFIG configuration enabled by latest commitdgp2007-09-071-1/+3
|
* header cleanupdgp2007-09-0767-141/+86
|
* * generic/tkWindow.c (Initialize): Moved common Tk initializationdgp2007-09-062-55/+23
| | | | | | | | | | | * generic/tkInitScript.h (removed): script out of tkInitScript.h * macosx/tkMacOSXInit.c: and multiple TkpInit() routines and * unix/Makefile.in: into the common Initialize() routine in * unix/tkUnixInit.c: generic code. Also removed constraint on * win/tkWinInit.c: ability to define a custom [tkInit] before calling Tk_Init(). Until now the custom [tkInit] had to be a proc. Now it can be any command. Removal of tkInitScript.h also fixes [Bug 1656283].
* Fix for [Bug 1788019] "tkTest.c compiler warning".jenglish2007-09-041-4/+5
|
* * generic/ttk/ttkInit.c (Ttk_Init): register ttk in package databasedas2007-09-032-5/+3
| | | | | | to enable extension access to the ttkStubs table. * generic/ttk/ttkDecls.h: correct capitalization of ttk package name.
* restore unix line endingsdgp2007-06-258-2491/+2491
|
* fix compile errors & warnings introduced by dkf's cleanupdas2007-06-253-8/+8
|
* Cleaning up whitespace, comments, declarations. No functional changes.dkf2007-06-241-830/+825
|
* Cleaning up whitespace, comments, declarations. No functional changes.dkf2007-06-242-80/+77
|
* Cleaning up whitespace, comments, declarations. No functional changes.dkf2007-06-2417-2195/+2160
|
* * generic/tkImgPhoto.c (ImgPhotoConfigureInstance, DisposeInstance):das2007-06-231-19/+12
| | | | | | | | use XDestroyImage instead of XFree to destroy XImage; replace runtime endianness determination by compile-time check for WORDS_BIGENDIAN. * xlib/ximage.c (XCreateBitmapFromData): use XCreateImage and XDestroyImage instead of creating XImage structure manually.
* Added -width and -height options.jenglish2007-06-101-15/+69
| | | | | | | Added 'panes' method, return list of managed windows. 'sashpos' method is now documented as part of the public interface, and details clarified. Should be easier to set initial sash positions now [Alleviates #1659067].
* Ttk_Manager API overhaul:jenglish2007-06-095-339/+386
| | | | | | | | | | | + Ttk_Manager no longer responsible for managing slave records + Ttk_Manager structure now opaque + Ttk_Slave structure now private + Pass Ttk_Manager * to Tk_GeomMgr hooks instead of Ttk_Slave * ttk::labelframe: Simplified -labelwidget management. ttk::noteboook 'insert' command didn't correctly maintain current tab. Changed documentation of ttk::panedwindow 'identify' command to match implementation.
* * generic/tkFont.c: #ifdef out debug msg printing to stderr.das2007-05-312-3/+9
| | | | * generic/tkTextDisp.c:
* * generic/tk.h: Correct placement of #include <tcl.h> [Bug 1723812].dgp2007-05-301-8/+6
|
* Fix comments. (Thanks to Emiliano for spotting)dkf2007-05-241-3/+3
|
* EntrySetValue: Ensure that widget is in a consistent state before settingjenglish2007-05-181-5/+10
| | | | | the linked -textvariable. Previously, it was possible for [$e index insert] to point past the end of the string, leading to heap corruption [Bug 1721532].
* * unix/configure: autoconf-2.59 (FC6 fork)dgp2007-05-181-3/+3
| | | | | | | | | | | * win/configure: * README: Bump version number to 8.5a7 * generic/tk.h: * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in:
* * generic/tk.decls: workaround 'make checkstubs' failures fromdas2007-05-161-1/+19
| | | | | | | tkStubLib.c MODULE_SCOPE revert. [Bug 1716117] * macosx/Wish.xcodeproj/project.pbxproj: add tkOldTest.c and remove tkStubImg.c.