summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * unix/Makefile.in (MAN_INSTALL_DIR): patch to accept --mandirhobbs2000-04-041-2/+2
| | | | correctly [Bug: 4085]
* * library/clrpick.tcl (tkColorDialog_Config): error now thrownhobbs2000-04-041-16/+14
| | | | when -initialcolor "" specified. [Bug: 4198]
* * generic/tkTest.c: fixed incorrect platform inclusion forhobbs2000-04-041-4/+3
| | | | TkplatformtestInit (it would never get called).
* * generic/tkTest.c: fixed incorrect platform inclusion forhobbs2000-04-041-0/+11
| | | | | | | | | | TkplatformtestInit (it would never get called). * unix/Makefile.in (MAN_INSTALL_DIR): patch to accept --mandir correctly [Bug: 4085] * library/clrpick.tcl (tkColorDialog_Config): error now thrown when -initialcolor "" specified. [Bug: 4198]
* * win/tkWinDialog.c: added unicode-aware open/save file dialogshobbs2000-03-319-208/+423
| | | | | | | | | | | | | | | | | | | | | | | * win/tkWinFont.c (TkpFontPkgInit): move private ref to platformId to TkWinGetPlatformId * win/tkWinMenu.c (SetDefaults): moved private use of versionInfo to TkWinGetPlatformId and removed all code for (versionInfo.dwMajorVersion < 4) (== Win32s) * win/tkWinX.c: * win/tkWin32Dll.c: moved TkWinGetPlatformId to tkWinX.c * win/tkWinInit.c: added TkWinXInit to TkpInit to ensure that its called for static Windows shells. [Bug: 3647] * win/tkWinInt.h: * win/tkWinX.c: * win/tkWinDraw.c (SetUpGraphicsPort): * win/tkWinScrlbr.c (UpdateScrollbar): removed use of tkpIsWin32s * win/tkWinInt.h (TkWinDCState struct): added bkmode value * win/tkWinDraw.c (TkWinGetDrawableDC, et al): added support for properly transparent dashed lines on Windows. [Bug: 4617]
* * library/menu.tcl (tkMenuInvoke): corrected naming of tearoffshobbs2000-03-314-18/+18
| | | | | | | | [Bug: 4506] * library/tkfbox.tcl (tkIconList_Goto): caused browsecmd to be called in tkIconList_Select. This causes the entry to be set properly when using the type-in-name-in-listbox bindings.
* * generic/tkEntry.c: set TK_OPTION_NULL_OK bit on -invcmd optionhobbs2000-03-311-52/+5
| | | | and removed #ifdef ENTRY_VALIDATE expressions
* * doc/DrawFocHlt.3: doc name correctionhobbs2000-03-311-2/+2
|
* * doc/DrawFocHlt.3: doc name correctionhobbs2000-03-311-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkEntry.c: set TK_OPTION_NULL_OK bit on -invcmd option and removed #ifdef ENTRY_VALIDATE expressions * library/menu.tcl (tkMenuInvoke): corrected naming of tearoffs [Bug: 4506] * library/tkfbox.tcl (tkIconList_Goto): caused browsecmd to be called in tkIconList_Select. This causes the entry to be set properly when using the type-in-name-in-listbox bindings. * win/tkWinDialog.c: added unicode-aware open/save file dialogs * win/tkWinFont.c (TkpFontPkgInit): move private ref to platformId to TkWinGetPlatformId * win/tkWinMenu.c (SetDefaults): moved private use of versionInfo to TkWinGetPlatformId and removed all code for (versionInfo.dwMajorVersion < 4) (== Win32s) * win/tkWinX.c: * win/tkWin32Dll.c: moved TkWinGetPlatformId to tkWinX.c * win/tkWinInit.c: added TkWinXInit to TkpInit to ensure that its called for static Windows shells. [Bug: 3647] * win/tkWinInt.h: * win/tkWinX.c: * win/tkWinDraw.c (SetUpGraphicsPort): * win/tkWinScrlbr.c (UpdateScrollbar): removed use of tkpIsWin32s * win/tkWinInt.h (TkWinDCState struct): added bkmode value * win/tkWinDraw.c (TkWinGetDrawableDC, et al): added support for properly transparent dashed lines on Windows. [Bug: 4617]
* * generic/tkImgGIF.c: Fixed some ANSI specific bits to avoidericm2000-03-302-5/+18
| | | | | compile problems with non-ANSI compilers (ie, replace const with CONST, etc). [Bug: 4223].
* * unix/configure.in: Applied patch from [Bug: 4237]; ensures thatericm2000-03-302-4/+12
| | | | | | | | srcdir is fully qualified. * unix/Makefile.in: Applied patch from [Bug: 4237]; if tcltest was not compiled, make test/tktest failed. Now it has a rule to build tcltest if it has not been built.
* * library/tkfbox.tcl: Moved an overlooked tkFDialog* function inscriptics_sc_2_0_fixedscriptics_sc_2_0_b5ericm2000-03-295-20/+61
| | | | | | | | | | | | | | ::tk::dialog::file namespace. * tests/unixWm.test: Added tests for memory leak conditions in tkUnixWm.c. * tests/canvas.test: Added test for bad configuration options on empty and non-empty canvas. * generic/tkCanvas.c: Removed bad code in CANV_CONFIGURE block of CanvasWidgetCmd; this was causing non-empty canvases to improperly handle bad configuration options [Bug: 4456].
* * unix/tkUnixWm.c: Applied patch from [Bug: 4405]; fixes memoryericm2000-03-271-1/+13
| | | | leak in Unix wm command.
* * tests/xmfbox.test: Updated tests.ericm2000-03-244-98/+117
| | | | | | | * generic/tkWindow.c: * generic/tkInt.h: Updated Tcl_OptionCmd -> Tcl_OptionObjCmd * generic/tkOption.c: Tcl_Obj'ectified the "option" command.
* * tests/filebox.test:ericm2000-03-249-415/+572
| | | | | | | | | | | | | | | | | | | | | | | | | | * tests/choosedir.test: Updated tests. * library/xmfbox.tcl: Updated to stash data array in ::tk::dialog::file namespace instead of in global namespace. * library/tkfbox.tcl: Extended some functions to support creation of a choosedir dialog, to allow greater code reuse between the two dialogs. Moved tkFDialog* functions into a namespace (::tk::dialog::file). Because these are private Tk functions (and should thus not be used directly by users), this should not impact anybody (the tk_getOpenFile and tk_getSaveFile commands still exist at the global scope). * library/tk.tcl: * library/tclIndex: Updated function names for tkFDialog* functions and choosedir functions. * library/choosedir.tcl: New and improved implementation of tk_chooseDirectory dialog. Based on tk_getOpenFile dialog. * library/listbox.tcl: (tkListboxCancel) Added a check for empty string value for tkPriv(listboxPrev). Without this check, it's possible to get a stack trace under certain conditions. [Bug: 4373].
* *** empty log message ***scriptics_sc_2_0_b2scriptics_sc_2_0_b1sven2000-03-161-0/+9
|
* * win/tkWinDialog.c: Changed the behavior for thesven2000-03-161-12/+7
| | | | | | | | tk_chooseDirectory dialog under Windows. Instead of trying to return the currently selected listbox entry (which didn't work in case the user selected the initial directory anyway), we now return the value shown in the entry. This seems to be in accordance with the expected behavior for this dialog.
* * tests/choosedir.test: Marked test 3.1 and 3.2 as bad until theericm2000-03-141-6/+6
| | | | issue with those tests on IRIX can be determined.
* * library/menu.tcl: Applied patch from [Bug: 4155]; protectsericm2000-03-102-4/+18
| | | | against grabs on non-viewable windows.
* * tests/choosedir.test: Modified test 3.1 (-mustexist works) to beericm2000-03-081-6/+9
| | | | | more careful about cleaning up its potentially troublesome after events.
* * tests/button.test:ericm2000-03-083-26/+48
| | | | * generic/tkButton.c: Added -disabledforeground/-state to labels.
* * tests/entry.test:hobbs2000-03-073-53/+74
| | | | | | | * generic/tkEntry.c (EntrySetValue): malloc the value when validating because validation could cause the pointer to become invalid. Also fixed configure to not trigger focus-based validation. Improved use of Tcl_WrongNumArgs. [Bug: 4320]
* * library/menu.tcl: Added a check in tkMenuFirstEntry that changesericm2000-03-071-2/+7
| | | | | | | | | menu behavior to only auto-post an immediate child cascade if we are currently on a menubar menu. This prevents massive auto-cascading in cases where the first entry of the cascade is itself a cascade, and the first entry of that cascade is a cascade, and the first entry of that cascade is a cascade ... [Bug: 676].
* * generic/tkOldConfig.c: Added check for NULL tkwin value inericm2000-03-073-2/+34
| | | | | | | Tk_ConfigureWidget [Bug: 4079] * generic/tkWindow.c: Added check for NULL tkwin value in Tk_NameToWindow [Bug: 4079]
* Unset err at the end because some other tests use it.ericm2000-03-071-8/+8
|
* fixed gridding problemericm2000-03-041-3/+4
|
* Added more tests.ericm2000-03-031-16/+43
|
* * tests/color.test:hobbs2000-03-021-7/+10
| | | | | | * xlib/xcolors.c (XParseColor FindColor): * win/tkWinColor.c (XAllocColor): Fixed bit fiddling for colors to return "correct" values for color mapping. [Bug: 4282]
* * unix/Makefile.in (SCRIPT_INSTALL_DIR): removed extraneous '/'hobbs2000-03-022-3/+3
| | | | * unix/aclocal.m4: corrected TCL_NEEDS_EXP_FILE to be 1 for AIX
* * tests/color.test:hobbs2000-03-023-28/+10
| | | | | | * xlib/xcolors.c (XParseColor FindColor): * win/tkWinColor.c (XAllocColor): Fixed bit fiddling for colors to return "correct" values for color mapping. [Bug: 4282]
* * library/focus.tcl: fixed tkFocusOK to protect $w inhobbs2000-03-021-2/+2
| | | | uplevel with list. [Bug: 4208]
* * win/tkWinInt.h: change extern to EXTERN for TkWinChildProchobbs2000-03-022-9/+24
| | | | | | | | declaration with extra #defs. [Bug: 4240] * tests/color.test: * xlib/xcolors.c (XParseColor FindColor): * win/tkWinColor.c (XAllocColor): Fixed bit fiddling for colors to return "correct" values for color mapping. [Bug: 4282]
* see loghobbs2000-03-021-0/+41
|
* fixed var set problemhobbs2000-03-021-2/+2
|
* * doc/CrtItemType.3: fixed docs for Tk_CreateItemType to reflecthobbs2000-03-022-33/+43
| | | | | | | changes made in 8.3.0 (but old style would still work as well). [Bug: 4252] * doc/entry.n: improved docs discussing caveats and gotchas when mixing textvar with widget validation
* * generic/tkListbox.c (DestroyListbox): fixed crash inhobbs2000-03-022-30/+54
| | | | | | | | | | | | | | DestroyListbox due to null tkwin. [Bug: 4207] * tests/entry.test: added test suite for entry validation * doc/entry.n: improved docs discussing caveats and gotchas when mixing textvar with widget validation * generic/tkEntry.c (EntryValidateChange): improved handling of validation with relation to -textvariable. Previously, it would turn off whenever the textvar was set. Now it will it will turn off only when the textvar is set and validation returns 0. Added %V (type of validation occuring) to %-subs to help work with trickier validation.
* * tests/config.test: extra test to check object cleanup whenhobbs2000-03-024-46/+174
| | | | | destroying the widget * tests/entry.test: added test suite for entry validation
* *** empty log message ***ericm2000-03-021-3/+3
|
* * tests/clrpick.test:ericm2000-03-023-7/+24
| | | | | * library/clrpick.tcl: Added code to make color chooser dialog inherit screen setting from parent (bug #2334)
* * win/tkWinWm.c (RaiseWinWhenIdle): Checked for the possibilityhobbs2000-02-261-1/+4
| | | | | that the window could be destroyed (can occur with wm deiconify .toplevel; destroy .toplevel).
* * generic/tkImgGIF.c: Applied "spirit of" the patch in 1605 (theericm2000-02-263-18/+51
| | | | | | submitted patch was more complicated than necessary and did not extend to writing GIF's, only reading), to allow reading/writing of GIF files on EBCDIC and other non-ASCII based systems.
* * unix/tk.spec: RPM specification for producing a binary Tk RPM for Linux.ericm2000-02-142-1/+67
| | | | * unix/Makefile.in: Added rpm target to generate Tk binary RPM.
* Fixed handling of -mustexist flag for tk_chooseDirectory.ericm2000-02-142-22/+135
|
* cleaned upcore_8_3_0hobbs2000-02-101-36/+39
|
* Resolve Conflict with Jeffrey's checkin.jingham2000-02-101-0/+39
|
* updated changes for 8.3.0hobbs2000-02-102-1/+59
|
* Comment some functions that have moved.jingham2000-02-101-1/+3
|
* Fixes for Tk8.3jingham2000-02-101-1/+2831
|
* Add support for Appearance Manager 1.2 Floating windows, and the new window ↵jingham2000-02-107-45/+387
| | | | classes in unsupported1
* * xlib/xgc.c: #def'd out XDrawSegments for the Mac, and addedhobbs2000-02-101-1/+6
| | | | some extra include info for the Mac