summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Yet another step in the tidying up of the GIF code.dkf2007-09-181-25/+30
|
* Made ttk/all.tcl be the same as tk's all.tcl and make use of file normalizepatthoyts2007-09-181-0/+6
|
* Add crt flags for tkStubLib now it makes use of C-library functionspatthoyts2007-09-171-0/+5
|
* Use '${CC} -shared' instead of 'ld -Bshareable' to build shared librariesjenglish2007-09-171-0/+6
| | | | on current NetBSDs [#1749251].
* * generic/tkConsole.c: Revised callers of Tcl_InitStubs() to accountdgp2007-09-171-0/+13
| | | | | | | | | | | | * 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).
* Try to improve combobox appearance on OSX + Tk 8.5 [#1780286].jenglish2007-09-171-0/+5
|
* * unix/tcl.m4: replace all direct references to compiler by ${CC} todas2007-09-151-0/+10
| | | | | | | | | enable CC overriding at configure & make time; run check for visibility "hidden" with all compilers; quoting fixes from TEA tcl.m4. (SunOS-5.1x): replace direct use of '/usr/ccs/bin/ld' in SHLIB_LD by 'cc' compiler driver. * unix/configure: autoconf-2.59
* * macosx/Wish-Common.xcconfig: enable Tcl DTrace support.das2007-09-141-0/+5
| | | | * macosx/Wish.xcodeproj/project.pbxproj:
* * win/Makefile.in (install-binaries): Fixed missing brace in theandreas_kupries2007-09-121-0/+6
| | | | | * win/makefile.vc (install-binaries): generated package index file. Note: unix/Makefile.in is good.
* * generic/tkImgGIF.c: Fixed a buffer overrun that got triggered byrmax2007-09-111-0/+8
| | | | | | | 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-111-0/+10
| | | | | | | | | * 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:
* typo corrections [Bug 1788682]hobbs2007-09-101-0/+4
|
* * generic/tkConsole.c: Revise all Tcl_InitStubs() calls to restoredgp2007-09-101-0/+8
| | | | | | | * 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]
* * generic/tkWindow.c (Initialize): Moved common Tk initializationdgp2007-09-061-0/+12
| | | | | | | | | | | * 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].
* * macosx/Wish.xcode/project.pbxproj: discontinue unmaintained supportdas2007-09-061-0/+14
| | | | | | | | | | | | | * macosx/Wish.xcode/default.pbxuser: for Xcode 1.5; replace by Xcode2 project for use on Tiger (with Wish.xcodeproj to be used on Leopard). * macosx/Wish.xcodeproj/project.pbxproj: updates for Xcode 2.5 and 3.0. * macosx/Wish.xcodeproj/default.pbxuser: * macosx/Wish.xcode/project.pbxproj: * macosx/Wish.xcode/default.pbxuser: * macosx/Wish-Common.xcconfig: * macosx/README: document project changes.
* Fix for [Bug 1788019] "tkTest.c compiler warning".jenglish2007-09-041-0/+4
|
* * unix/Makefile.in: It's unreliable to count on the releasedgp2007-09-041-0/+4
| | | | | manager to remember to `make genstubs` before `make dist`. Let the Makefile remember the dependency for us.
* * unix/Makefile.in: Corrections to `make dist` dependencies to bedgp2007-09-041-0/+5
| | | | sure that macosx/configure gets generated whenever it does not exist.
* * generic/ttk/ttkInit.c (Ttk_Init): register ttk in package databasedas2007-09-031-0/+7
| | | | | | to enable extension access to the ttkStubs table. * generic/ttk/ttkDecls.h: correct capitalization of ttk package name.
* Assorted documentation improvements.dkf2007-08-281-0/+9
|
* * macosx/tkMacOSXDialog.c (Tk_ChooseColorObjCmd): correct setting ofdas2007-08-271-1/+7
| | | | | interp result [Bug 1782105]; fix -initialcolor overwriting last color selection; style cleanup.
* Synchronize with tcl rules.vcpatthoyts2007-08-211-0/+1
|
* Fix the line-endings.patthoyts2007-08-211-0/+4
|
* Updated for better readability.dkf2007-08-181-197/+197
|
* * unix/Makefile.in: add support for compile flags specific todas2007-08-071-0/+10
| | | | | | | | | object files linked directly into executables. * unix/configure.in (Darwin): only use -seg1addr flag when prebinding; use -mdynamic-no-pic flag for object files linked directly into exes. * unix/configure: autoconf-2.59
* Fix bug #1692927 (buffer length problems). Added 'testfindwindow' and ↵patthoyts2007-08-011-0/+8
| | | | | | | 'testgetwindowinfo' and extended 'testwinevent' for WM_COMMAND support to enable testing native messagebox dialogs and added a new test file to use these functions.
* * macosx/tkMacOSXDialog.c (NavServicesGetFile): reset interp result ondas2007-07-251-0/+5
| | | | nav dialog cancel. [Bug 1743786]
* * unix/Makefile.in: clarify what the headers installed are, andhobbs2007-07-091-0/+5
| | | | add ttkTheme.h and ttkDecls.h to private headers (later public).
* * macosx/tkMacOSXWindowEvent.c (Tk_MacOSXIsAppInFront): use process mgrcore_stablilizer_mergedas2007-07-091-1/+19
| | | | | | | | | | | | | * macosx/tkMacOSXMouseEvent.c: to determine if app is in front instead of relying on activate/deactivate events (which may arrive after this info is needed, e.g. during window drag/click activation); replace other process mgr use to get this info with calls to Tk_MacOSXIsAppInFront(). * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): correct window click activation, titlebar click handling and background window dragging/growing in the presence of grabs or window-/app-modal windows; fix window click activation bringing all other app windows to front.
* Explicitly set -anchor w for TMenubuttons [#1614540]jenglish2007-07-061-0/+4
| | | | CVS :----------------------------------------------------------------------
* * macosx/tkMacOSXXStubs.c (DestroyImage): Fixed seg.fault inandreas_kupries2007-07-041-0/+7
| | | | | | release of image data for images coming from XGetImage. Change committed by me for Daniel Steffen. See 2007-06-23 for the change which introduced the problem.
* * macosx/tkMacOSXDraw.c (TkMacOSXRestoreDrawingContext): don't restoredas2007-07-021-0/+10
| | | | port state if it wasn't altered by TkMacOSXSetupDrawingContext().
* * macosx/tkMacOSXScrlbr.c: correct int <-> dobule conversion issuesdas2007-06-291-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that could lead to Carbon getting confused about scrollbar thumb size. * macosx/tkMacOSXDraw.c (XCopyArea, XCopyPlane, TkPutImage) use TkMacOSX{Setup,Restore}DrawingContext() to setup/restore clip & colors. (TkMacOSXSetupDrawingContext, TkMacOSXRestoreDrawingContext): add save and restore of QD port clip region; factor out clip region code common to CG and QD branches; check for port and context validity; handle tkPictureIsOpen flag during QD port setup. (TkScrollWindow): remove unnecessary scroll region manipulation * macosx/tkMacOSXDraw.c: remove second global QD temp region * macosx/tkMacOSXInt.h: (no longer necessary) and rename * macosx/tkMacOSXRegion.c: remaining global QD temp region. * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXDraw.c: make useCGDrawing variable MODULE_SCOPE * macosx/tkMacOSXFont.c: and respect it for ATSUI font drawing. * macosx/tkMacOSXButton.c: reduce reliance on current QD port * macosx/tkMacOSXColor.c: setting and remove unnecessary * macosx/tkMacOSXDebug.c: references to a drawable's QD port, * macosx/tkMacOSXDebug.h: notably replace GetWindowFromPort( * macosx/tkMacOSXDialog.c: TkMacOSXGetDrawablePort()) idiom by new * macosx/tkMacOSXDraw.c: TkMacOSXDrawableWindow() and change * macosx/tkMacOSXKeyEvent.c: TkMacOSXSetColorInPort() to take a port * macosx/tkMacOSXMenu.c: argument. * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXInt.h: factor out macros, declarations * macosx/tkMacOSXPrivate.h (new): and prototypes that are purely internal and private to the 'macosx' sources into a new internal header file that does _not_ get installed into Tk.framework/PrivateHeaders. * macosx/tkMacOSXButton.c: #include new tkMacOSXPrivate.h * macosx/tkMacOSXCarbonEvents.c: instead of tkMacOSXInt.h. * macosx/tkMacOSXClipboard.c: * macosx/tkMacOSXColor.c: * macosx/tkMacOSXCursor.c: * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXRegion.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * macosx/ttkMacOSXTheme.c:
* * macosx/tkMacOSXXStubs.c (XCreateImage, DestroyImage): correct XImagedas2007-06-231-4/+20
| | | | | | | | bytes_per_line/bitmap_pad calculations and endianness setting; free image data and XImage structure at destruction; formatting cleanup. * macosx/tkMacOSXDialog.c (NavServicesGetFile): disable app-modal sheet variant of nav dialog on OS versions where it causes problems.
* * library/ttk/ttk.tcl: should require Tk before pseudo-providinghobbs2007-06-211-0/+5
| | | | tile 0.8.0.
* Added -width and -height options.jenglish2007-06-101-0/+9
| | | | | | | 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].
* * win/tkWinWm.c (WmIconphotoCmd): fix wm iconphoto RGBA issues.hobbs2007-06-101-0/+3
| | | | [Bug 1467997] (janssen)
* * win/tkWinMenu.c (TkWinHandleMenuEvent): improve handling tohobbs2007-06-091-0/+6
| | | | | allow for unicode char menu indices and not use CharUpper on Tcl utf strings. [Bug #1734223]
* Ttk_Manager API overhaul:jenglish2007-06-091-0/+20
| | | | | | | | | | | + 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.
* * macosx/tkMacOSXColor.c: fix issues with TK_{IF,ELSE,ENDIF} macros;das2007-06-091-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXDraw.c: implement Jaguar equivalent of unavailable * macosx/tkMacOSXEntry.c: kHIToolboxVersion global; panic at startup * macosx/tkMacOSXEvent.c: if MAC_OS_X_VERSION_MIN_REQUIRED constraint * macosx/tkMacOSXInit.c: is not satisfied. * macosx/tkMacOSXInt.h: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDraw.c (XCopyArea, XCopyPlane, TkPutImage) (TkMacOSXSetupDrawingContext): factor out common code and standardize setup/restore of port, context and clipping; formatting cleanup. * macosx/tkMacOSXWindowEvent.c: add error checking. * macosx/tkMacOSXMenu.c: fix gcc3 warning. * macosx/tkMacOSXScrlbr.c: fix testsuite crash. * macosx/tkMacOSXSubwindows.c: formatting cleanup. * macosx/tkMacOSXRegion.c: fix typos. * macosx/tkMacOSXScale.c: * macosx/tkMacOSXXStubs.c (Tk_GetUserInactiveTime): remove superfluous CFRetain/CFRelease. * macosx/Wish-Release.xcconfig: disable tktest release build stripping. * macosx/Wish.xcodeproj/project.pbxproj: add new Tclsh-Info.plist.in.
* * macosx/tkMacOSXInt.h: use native debug message API when available.das2007-06-061-0/+3
| | | | * macosx/Wish-Debug.xcconfig:
* * macosx/tkMacOSXMouseEvent.c (GenerateMouseWheelEvent): enabledas2007-06-061-1/+29
| | | | | | | | | | | | | | | | | | | | | processing of mousewheel events in background windows. * macosx/tkMacOSXScrlbr.c: modernize checks for active/front window. * macosx/tkMacOSXScale.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXColor.c: factor out verbose #ifdef checks of * macosx/tkMacOSXDraw.c: MAC_OS_X_VERSION_{MAX_ALLOWED,MIN_REQUIRED} * macosx/tkMacOSXEntry.c: and runtime checks of kHIToolboxVersion into * macosx/tkMacOSXEvent.c: new TK_{IF,ELSE,ENDIF}_MAC_OS_X macros. * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDraw.c: factor out clip clearing in QD ports; * macosx/tkMacOSXEntry.c: formatting cleanup. * macosx/Wish.xcodeproj/project.pbxproj: add settings for Fix&Continue.
* Fix [Bug 1731348]dkf2007-06-051-1/+6
|
* * macosx/tkMacOSXInit.c: comment formatting fix for Xcode 3.0.das2007-06-041-1/+2
|
* * macosx/tkMacOSXDraw.c: comment formatting fix for Xcode 3.0.das2007-06-031-0/+21
| | | | | | | | | | | | | | * macosx/tkMacOSXEmbed.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXKeyboard.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXSend.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c:
* typodas2007-06-021-1/+1
|
* * macosx/tkMacOSXMenu.c (TkpPostMenu): ensure cascade menus display indas2007-06-021-1/+7
| | | | | posted menus that are not part of the menubar or attached to a menubutton (fixes bug reported on tcl-mac by Linux Nyberg).
* typo fixesdkf2007-06-011-67/+66
|
* * macosx/tkMacOSXWindowEvent.c (GenerateUpdateEvent): complete alldas2007-05-311-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | pending idle-time redraws before newly posted Expose events are processed; add bounds of redrawn windows to update region to ensure all child windows overdrawn by parents are redrawn. * macosx/tkMacOSXWindowEvent.c: centralize clip and window invalidation * macosx/tkMacOSXSubwindows.c: after location/size changes in the * macosx/tkMacOSXWm.c: BoundsChanged carbon event handler; correct/add window invalidation after window attribute changes. * macosx/tkMacOSXSubwindows.c (XResizeWindow, XMoveResizeWindow, XMoveWindow): factor out common code dealing with embedded and non-toplevel windows; remove unnecessary clip and window invalidation. * macosx/tkMacOSXButton.c (TkpDisplayButton): move clip setup closer to native button drawing calls. * macosx/tkMacOSXWm.c (TkMacOSXIsWindowZoomed, TkMacOSXZoomToplevel): correct handle gridded windows in max size calculations. * macosx/tkMacOSXEvent.c (TkMacOSXFlushWindows): use HIWindowFlush API when available. * macosx/tkMacOSXColor.c: cleanup whitespace and formatting. * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c:
* * generic/tk.h: Correct placement of #include <tcl.h> [Bug 1723812].dgp2007-05-301-0/+4
|