summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Keeping the change-log up-to-date...dkf2003-05-291-0/+4
|
* library/msgs/cs.msg updated msg catalog [Bug 743796] <wohnivec@iol.cz>bagnonm2003-05-291-17/+31
|
* MacOS tearoff menu location fixvincentdarley2003-05-272-1/+9
|
* text widget cleanup fixvincentdarley2003-05-275-41/+63
|
* * unix/mkLinks: Set the var S to "" at the topmdejong2003-05-232-0/+9
| | | | | | of the file to avoid error when user has set S to something. [Tk Bug #739833]
* The panedwindow widget now sizes right around unmapped windows. [Bug 738143]dkf2003-05-213-4/+24
|
* D'oh! Zero and one are not the same thing...dkf2003-05-212-138/+166
|
* Fixed test suite breakage that I inadvertently introduced [Bug 739965]dkf2003-05-194-26/+37
|
* I18n (and some l10n) for the console and the main window of the widget demo.dkf2003-05-197-166/+413
|
* Stopped warnings about signed/unsigned and strncmp() and added missing ↵dkf2003-05-194-87/+135
| | | | forward decl
* tip 113 implementationvincentdarley2003-05-1923-2542/+4250
|
* * macosx/Wish.pbproj/project.pbxproj: changed tkConfig.sh locationdas2003-05-192-5/+12
| | | | | | in versioned framework subdirectories to be identical to location in framework toplevel; fixed stub library symbolic links to be tk version specific.
* * unix/tkUnixFont.c: use gb2312-raw as the alias for gb2312*hobbs2003-05-152-2/+9
| | | | | | charset fonts. gb2312.enc was made to be euc-cn for Tcl because that is what is most often meant, but X really wants the original (-raw) gb2312 encoding. [Bug 557030]
* * library/msgs/fr.msg: updated msg catalog. [Bug #737790] (zolli)hobbs2003-05-142-9/+13
|
* space in path bug fixvincentdarley2003-05-132-2/+7
|
* * macosx/tkMacOSXInit.c (TkpInit): use new versioned bundledas2003-05-132-3/+8
| | | | resource API to get tk runtime library for TK_VERSION. [Bug 736774]
* * 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...