summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tkCanvPoly.c (PolygonToPostscript):hobbs2003-05-113-4/+20
| | | | | * tests/canvPs.test: correct crash when generating postscript for a single-line polygon (point) with no color. [Bug #734498] (wilm)
* macosx/tkMacOSXClipboard.c (TkSelGetSelection): Convertwolfsuit2003-05-102-2/+18
| | | | '\r' to '\n' on the way into Tcl.
* Stop deleted images from showing up in the various [image *] operations.dkf2003-05-084-16/+75
| | | | Can't delete early though as that removes the link with widgets and image names.
* * macosx/tkMacOSXButton.c (TkpDisplayButton): correct typo forhobbs2003-04-302-3/+8
| | | | stippleGC [Bug #730124].
* * generic/tkButton.h: Rewrote the handlinghobbs2003-04-267-139/+205
| | | | | | | | | | * generic/tkButton.c (TkButtonWorldChanged): of compound *buttons * mac/tkMacButton.c (TkpDisplayButton): to correctly display * macosx/tkMacOSXButton.c (TkpDisplayButton): mixture of disabledfg, * unix/tkUnixButton.c (TkpDisplayButton): selectcolor, indicator, * win/tkWinButton.c (TkpDisplayButton): etc. *buttons will now only stipple the image, unless no disabledfg is given, in which case it will stipple the whole button.
* * unix/tkUnixButton.c (TkpDisplayButton): Use the normalTextGc whenhobbs2003-04-253-13/+30
| | | | | | * win/tkWinButton.c (TkpDisplayButton): displaying disabled text that have images, as they get a gray50 stipple as well and the disabledGc is not set up correctly for font drawing. [Bug #477740]
* * library/bgerror.tcl: make bgerror dialog topmost on Windows tohobbs2003-04-251-3/+6
| | | | prevent it being covered by other windows.
* * win/configure: regenhobbs2003-04-183-1/+23
| | | | | * win/configure.in (SHELL): force it to /bin/sh as autoconf 2.5x uses /bin/bash, which can fail to find exes in the path (ie: lib).
* * generic/tkCanvBmap.c: s/CreateBitmap/TkcCreateBitmap as Windowshobbs2003-04-181-5/+5
| | | | has a CreateBitmap function already.
* * generic/tkCursor.c: s/GetCursor/TkcGetCursor as Windows has ahobbs2003-04-181-7/+7
| | | | GetCursor func already, which causes compiler warnings.
* * win/tkWinMenu.c (TkpInitializeMenuBindings):mdejong2003-04-152-11/+18
| | | | | | Rename the private menu helper cmd from tk::tkWinMenuKey to tk::WinMenuKey. [Bug 721514]
* * generic/tkBind.c (TkpGetBindingXEvent): Add helper methodmdejong2003-04-144-38/+143
| | | | | | | | | | | | | | that can be used to query the XEvent* for the currently executing binding. * generic/tkInt.h: Declare TkpGetBindingXEvent. * win/tkWinMenu.c (MenuKeyBindProc, TkWinMenuKeyObjCmd, TkpInitializeMenuBindings): Rename MenuKeyBindProc to TkWinMenuKeyObjCmd and convert it into a Tcl command named tk::tkWinMenuKey. Bind keyboard accelerator actions to this Tcl command instead of using a native C binding. This makes it possible to extend the existing binding with Tcl code and makes the Windows version work just like the unix version.
* * unix/Makefile.in: Subst TCL_LIBS instead ofmdejong2003-04-046-1333/+94
| | | | | | | | | | | | | | | | | | | | DL_LIBS and MATH_LIBS. * unix/configure: Regen. * unix/configure.in: Remove SC_ENABLE_THREADS invocation. Thread support in an extension should be automatic when Tcl is compiled with thread support. Add AC_DEFINE calls to set TCL_THREADS, _REENTRANT, and _THREAD_SAFE since this was done in SC_ENABLE_THREADS. Remove socket and math lib checks since these are already done in the Tcl configure script. * unix/tcl.m4: Update from Tcl to get TCL_LIBS fix. This fixes bug 597847 which was caused by improper linking. * unix/tkConfig.sh.in: Subst TCL_LIBS instead of MATH_LIBS and DL_LIBS. [Bug 597847]
* * win/configure: Regen.mdejong2003-04-034-3/+19
| | | | | | | * win/configure.in: Set stub lib flag based on new LIBFLAGSUFFIX variable. * win/tcl.m4: Update from Tcl to get new LIBFLAGSUFFIX variable.
* * win/configure: Regen.mdejong2003-04-033-28/+13
| | | | | | | | | | * win/configure.in: Don't set TCL_DLL_FILE, TCL_LIB_FILE, TCL_STUB_LIB_FILE, TCL_STUB_LIB_FLAG, and TCL_BUILD_STUB_LIB_SPEC. These variables are already set in tclConfig.sh. Don't subst vars that are either not used, or already covered by a subst in SC_LOAD_TCLCONFIG. [Bug 691908]
* * unix/configure: Regen.mdejong2003-04-023-7/+76
| | | | * unix/tcl.m4: Update from Tcl.
* * tests/all.tcl: Made better use of a commondgp2003-04-0194-596/+292
| | | | | * tests/constraints.tcl: -loadfile to hold definitions * tests/*.test: common to all test files.
* * unix/configure: Regen.mdejong2003-03-283-4/+9
| | | | * unix/tcl.m4: Update from Tcl.
* * unix/configure: Regen.mdejong2003-03-273-0/+30
| | | | * unix/tcl.m4: Update from Tcl to get BeOS changes.
* Corrected several problems that prevented OPTS=symbols from building Kevin B Kenny2003-03-233-9/+24
| | | | properly. [Patch 707792] Thanks to Joe Mistachkin for the fixes.
* * macosx/tkMacOSXApplication.r (removed):das2003-03-217-1355/+37
| | | | | | | | | | * macosx/tkMacOSXLibrary.r (removed): * macosx/tkMacOSXResource.r (removed): * macosx/Wish.pbproj/project.pbxproj: * macosx/tkAboutDlg.r: updated copyrights, cleaned up about box, removed obsolete unused resource files. * macosx/buildTkConfig.tcl: TK_DEFS space fix.
* * win/tkConfig.sh.in: Add TK_DLL_FILE entrymdejong2003-03-192-1/+9
| | | | | to mirror the TCL_DLL_FILE entry in tclConfig.sh. [Patch 694271]
* * win/configure: Regen.mdejong2003-03-193-92/+85
| | | | | | | | | * win/configure.in: Don't run the AC_CYGWIN macro since it uses AC_CANONICAL_HOST under autoconf 2.5X. Just check to see if __CYGWIN__ is defined by the compiler and set the ac_cv_cygwin variable based on that. [Tcl Bug 705912]
* * tests/unixWm.test (unixWm-41.2): Corrected typo in 2003-03-13dgp2003-03-182-2/+7
| | | | commit. Thanks Larry Virden. [Bug 705567]
* * macosx/Wish.pbproj/project.pbxproj:das2003-03-185-48/+98
| | | | | | | | * macosx/Makefile: * macosx/README: added support for giving 'make' the location of Tcl.framework and tclsh to build and link against. * macosx/tkMacOSXXStubs.c: fixed crash in [winfo server].
* * tests/unixWm.test: Constrained all tests older than revision 1.21dgp2003-03-133-171/+179
| | | | | | to run only on Unix. Alternative approach did not match maintainer habits. * tests/spinbox.test (spinbox-17.4): Avoid long failure message.
* Require autoconf 2.57 or newer, see TIP 34mdejong2003-03-137-3754/+10191
| | | | | | | | | | | | | for a detailed explanation of why this is good. This will no doubt break the build on some platforms, let the flaming begin. * unix/configure: Regen with autoconf 2.57. * unix/configure.in: Require autoconf 2.57. * unix/tcl.m4: Update from Tcl. * win/configure: Regen with autoconf 2.57. * win/configure.in: Require autoconf 2.57. * win/tcl.m4: Update from Tcl.
* Better aesthetics for the messageBox. [Bug #701812]dkf2003-03-122-3/+9
|
* 2003-03-11 Jim Ingham <jingham@apple.com>wolfsuit2003-03-123-12/+67
| | | | | | | | | | | | | | * macosx/tkMacOSXMenu.c (EventuallyInvokeMenu): New function, used to invoke menu commands at idle time. (TkMacOSXDispatchMenuEvent): Don't immediately dispatch menu commands, wait till the idle loop to do so. This is more like what is done on Windows, and avoids the crash from destroying a menu in it's command. * macosx/tkMacOSXHLEvents.c (ReallyKillMe): Don't force the shell to exit. According to the OS X HI guidelines, it should be possible to cancel an attempt to quit, and if we force the kill, here, it would not be possible to implement this.
* * tests/unixWm.test: Add the testwrappermdejong2003-03-122-7/+14
| | | | | | constraint to tests that depend on the testwrapper command. These tests should not be run under Windows for example.
* * doc/wm.n (minimize, maximize): Remove claimmdejong2003-03-126-61/+367
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that the resizable command keeps scripts from changing the size of windows since it is not true. The resizable command only applies to user sizing via user interaction. * tests/unixWm.test: Replace broken tests with the nonPortable constraint with new tests for maxsize and minsize options. These tests verify that setting the minsize and maxsize will resize the window if needed, and that the wm hints will be updated with the new sizes. * tests/wm.test: Add an exhaustive set of tests for the wm maxsize and wm minsize commands. These tests verify that setting the minsize and maxsize will resize the window if needed. These tests have only been run under Win98 and Window Maker under Linux, so further tweaking may be needed for other systems. * unix/tkUnixWm.c (UpdateGeometryInfo, UpdateSizeHints): Fixup comments and initialization for the minWidth, minHeight, maxWidth, maxHeight, width, and height members of the WmInfo struct. Check to ensure that a new toplevel window size is not larger than the maxsize or smaller than the minsize when updating the geometry at idle time. Pass new width and height values to the UpdateSizeHints method so that it can properly set the window min and max sizes for a window that cannot be resized by the user. This fixes a bug where the window resizes back to the original size when the user clicks on the window border. * win/tkWinWm.c (UpdateGeometryInfo): Fixup comments and initialization for the minWidth, minHeight, maxWidth, maxHeight, width, and height members of the WmInfo struct. Check to ensure that a new toplevel window size is not larger than the maxsize or smaller than the minsize when updating the geometry at idle time. [Patch 568861]
* * generic/tkGrid.c (GridStructureProc, ConfigureSlaves):mdejong2003-03-127-99/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check for a NULL masterPtr and slavePtr in the GridStructureProc code to ensure that a Gridder created before some error condition is ignored when it comes to geometry calculations. This approach closely matches the pack implementation. Keep track of a -in argument to a grid command in order to detect the case of an already gridded widget that wants to change some options. The previous implementation could make repeated and unnecessary calls to Tk_ManageGeometry. Replace use of "parent" with "master" in comments throughout the file. * generic/tkPack.c (PackStructureProc): Check for a NULL masterPtr before other checks so that a slave created under certain error conditions is cleaned up properly. Replace use of "parent" with "master" in comments throughout the file. * generic/tkPlace.c (CreateSlave, ConfigureSlave, SlaveStructureProc): Don't call Tk_ManageGeometry in CreateSlave since this was causing incorrect results in some error cases. Rework the ConfigureSlave method so that slave setup is done in one place. The call to Tk_ManageGeometry was added to the one place where a slave is setup. When a slave is configured but the master is not changed, simply goto the scheduleLayout label. Check for a NULL master in SlaveStructureProc for the sake of readability. * tests/grid.test: * tests/pack.test: * tests/place.test: Add test to check that a winfo manager call does not return incorrect results after an error condition is hit. [Patch 693063]
* Backported the code that makes the makefile build pkgIndex.tcl as part Kevin B Kenny2003-03-112-1/+13
| | | | of the install step.
* Fix a bug with MacOS X Tk's handling of the help menu. The code expected thewolfsuit2003-03-083-23/+27
| | | | | MacOS 9 behavior, which was to insert a separator item after the system help menus, but this doesn't happen on X...
* Documentation changes due to TIP#116dkf2003-03-062-34/+66
|
* TIP#116 implementation. Docs still to come, tests will never be done becausedkf2003-03-068-76/+295
| | | | | they could never be done portably as they'd inevitably depend on the total amount of memory available to the process... :^(
* no messagedavygrvy2003-03-061-0/+4
|
* updated default tcl version to 8.5davygrvy2003-03-061-2/+2
|
* * README: Bumped version number ofdgp2003-03-0415-69/+87
| | | | | | | | | | | | | | | | | * generic/tk.h: Tk to 8.5a0. * library/tk.tcl: * mac/README: * macosx/Wish.pbproj/project.pbxproj: * unix/README: * unix/configure.in: * unix/tk.spec: * win/README: * win/configure.in: * win/makefile.vc: * win/tcl.m4: * unix/configure: autoconf * win/configure:
* mark Mar 3 date for 8.4.2core_8_4_2hobbs2003-03-032-2/+6
|
* Added credits to changesdkf2003-03-031-30/+39
|
* updated changes for 8.4.2 release drafted by dkfdgp2003-03-031-1/+102
|
* Make all %-expansions generate ?? when their event doesn't have the rightdkf2003-02-283-58/+108
| | | | underlying field to prevent a crash on Windows. [Bug #612110]
* see ChangeLoghobbs2003-02-271-0/+6
|
* correct 8.4.3 refs to 8.4.2hobbs2003-02-271-3/+3
|
* replace version refs with version-agnostic wordinghobbs2003-02-271-5/+6
|
* * win/tkWinInt.h:hobbs2003-02-264-7/+47
| | | | | | * win/tkWinDraw.c: * win/tkWinFont.c (Tk_DrawChars): add support for simple XOR text drawing on Windows. [Patch #685388] (martin)
* * generic/tkMenu.c (TkMenuCleanup): make sure to reset statichobbs2003-02-262-2/+35
| | | | menusInitialized on finalize. [Bug #548729]
* Added the 'aete' resource defining the doscript event, and adding it to the ↵wolfsuit2003-02-253-205/+1103
| | | | Wish target.
* * macosx/tkMacOSXHLEvents.c: fixed conversion of apple eventdas2003-02-251-2/+2
| | | | | parameters to posix style path names. [Bug #621672] (steffen, Benjamin Riefenstahl)