summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * doc/SetOptions.3: Updated documentation to reflect support forericm2000-08-107-448/+552
| | | | | | | | | | | | | | | | | | TK_OPTION_NULL_OK for TK_OPTION_DOUBLE and TK_OPTION_PIXELS. * generic/tkConfig.c: Added for TK_OPTION_NULL_OK support for TK_OPTION_DOUBLE and TK_OPTION_PIXELS. * doc/place.n: Updated, reformatted manual entry. * tests/place.test: Added many tests. * generic/tkPlace.c (Tk_PlaceObjCmd): Updated to use Tk widget-option management facilities to manage place options (-x, -y, etc.), which simplifies the placer code. Added support for [place configure pathName] and [place configure pathName -option], similar to the behavior of the configure subcommand supported by widgets.
* * tests/place.test: Extended test suite to test error returns fromericm2000-08-085-280/+464
| | | | | | | | | | | | [place]. * generic/tkInt.h: Replaced Tk_PlaceCmd prototype with Tk_PlaceObjCmd prototype. * generic/tkWindow.c: Updated [place] command entry to use new Tcl_Obj interface. * generic/tkPlace.c (Tk_PlaceObjCmd): Tcl_Obj'ified [place] command.
* ihobbs2000-08-081-0/+4
|
* corrected use of .SS macrohobbs2000-08-071-9/+14
|
* * generic/tkWindow.c: Updated [selection] command entry to useericm2000-08-075-269/+328
| | | | | | | | | | | | | new Tcl_Obj interface. * generic/tkInt.h: Replaced Tk_SelectionCmd prototype with Tk_SelectionObjCmd prototype. * tests/select.test: Updated test suite to recognize standardized error messages. * generic/tkSelect.c (Tk_SelectionObjCmd): Tcl_Obj'ified [selection] command.
* * library/safetk.tcl: rationalized the setting of tk_library whenhobbs2000-08-062-1/+11
| | | | initialized Tk in a safe interpreter.
* cleaned up use of *_DIR macroshobbs2000-08-061-10/+10
|
* * generic/tkWindow.c: Updated "grab" command entry to useericm2000-08-046-118/+369
| | | | | | | | | | | | | Tcl_Obj'ified command. * generic/tkInt.h: Replaced Tk_GrabCmd prototype with Tk_GrabObjCmd prototype. * tests/grab.test: Initial suite of tests for [grab] command. * generic/tkGrab.c (Tk_GrabObjCmd): Tcl_Obj'ified [grab] command. * generic/tkCmds.c: Fixed casting problem in Tk_BindtagsObjCmd.
* * generic/tkInt.h: Removed Tk_AfterCmd function prototype; theericm2000-08-033-5/+9
| | | | | | | | function does not exist (since 7.4p3). * generic/tk.h: Removed Tk_AfterCmd => Tcl_AfterCmd #define; nothing in the core uses it, and Tcl_AfterCmd doesn't exist anymore anyway.
* * generic/tkInt.h: Replace Tk_BindCmd prototype withericm2000-08-034-25/+62
| | | | | | | | | Tk_BindObjCmd prototype. * generic/tkWindow.c: Updated "bind" command entry to use Tcl_Obj'ified command. * generic/tkCmds.c (Tk_BindObjCmd): Tcl_Obj'ified [bind] command.
* * tests/bind.test: Tweaked expected error messages for [bindtags]ericm2000-08-036-48/+79
| | | | | | | | | | | | | | | | to comply with updated error messages. * generic/tkMenu.c (CloneMenu): Replaced calls to Tk_BindtagsCmd with equivalent calls to Tk_BindtagsObjCmd. * generic/tkInt.h: Replace Tk_BindtagsCmd prototype with Tk_BindtagsObjCmd prototype. * generic/tkWindow.c: Updated "bindtags" command entry to use Tcl_Obj'ified command. * generic/tkCmds.c (Tk_BindtagsObjCmd): Tcl_Obj'ified [bindtags] command.
* * generic/tkCmds.c (Tk_TkwaitObjCmd): Tcl_Obj'ified [tkwait] command.ericm2000-08-024-74/+93
| | | | | | | | * generic/tkWindow.c: Updated "tkwait" command entry to use Tcl_Obj'ified command. * generic/tkInt.h: Replace Tk_TkwaitCmd prototype with Tk_TkwaitObjCmd prototype.
* * generic/tkGrid.c (Tk_GridCmd): Split [grid] subcommands intoericm2000-08-022-535/+799
| | | | separate functions instead of inlining them all in Tk_GridCmd.
* * generic/tkInt.h: Replaced prototype for Tk_MessageCmd withericm2000-08-025-165/+339
| | | | | | | | | | | | | | | | | prototype for Tk_MessageObjCmd. * generic/tkWindow.c: Marked message command as using the new MessageObjCmd instead of the old MessageCmd. * tests/message.test: Added tests for the message widget. * generic/tkMessage.c: Obj'ified the message widget. * generic/tkInt.h: Removed prototype for Tk_ClipboardCmd, added prototype for Tk_ClipboardObjCmd. * generic/tkWindow.c: Updated function pointers for clipboard command to use Tcl_Obj version.
* * generic/tkInt.h: Removed prototype for Tk_ClipboardCmd, addedericm2000-08-014-153/+200
| | | | | | | | | | | | | prototype for Tk_ClipboardObjCmd. * generic/tkWindow.c: Updated function pointers for clipboard command to use Tcl_Obj version. * tests/clipboard.test: Updated tests to expect standard error messages. * generic/tkClipboard.c (Tk_ClipboardObjCmd): Obj'ified Tk_ClipboardCmd -> Tk_ClipboardObjCmd.
* * unix/tkUnixButton.c (TkpDisplayButton): Added bits to changeericm2000-07-292-8/+22
| | | | | | the indicator color when radio-/check-buttons are disabled. This reduces the visual incongruity when a group of these controls are disabled together.
* * win/tkWinMenu.c (ReconfigureWindowsMenu): Added MF_GRAYED bitericm2000-07-282-2/+6
| | | | | for disabled menu entries, to ensure that those which are drawn by the system are shown grayed (such as entries on menubars) [Bug: 4372].
* * doc/label.n: Added -disabledforeground to list of options [Bug: 6053].ericm2000-07-283-11/+13
| | | | | * generic/tkListbox.c: Changed resource class for disabledforeground to "DisabledForeground".
* * mac/tkMacDefault.h:ericm2000-07-287-112/+284
| | | | | | | | | | | | | | | | | * unix/tkUnixDefault.h: Added default values for listbox disabledforeground and state. * win/tkWinDefault.h: Changed default listbox background color to white and listbox selection borderwidth to 0, in keeping with the "Microsoft Windows User Experience"; added default values for listbox disabledforeground and listbox state. * doc/listbox.n: Added documentation for -state option. * generic/tkListbox.c: Added support for -state to listbox. [RFE: 6052]. * tests/listbox.test: Tests for listbox disabled state.
* * win/configure.in: TCL_STUB_LIB_FLAG andmo2000-07-272-3/+9
| | | | | TK_STUB_LIB_FLAG should not include ${TCL_DBGX} in win/tkConfig.sh, fix that.
* CanvPsY.3, ConfigWidg.3, CrtImgType.3, CrtItemType.3,jenglish2000-07-2513-35/+44
| | | | | | FontId.3, GetFont.3, canvas.n, font.n, options.n, text.n: Documentation fix: Replaced references to XFontStruct * and Tk_FontStruct with Tk_Font.
* * tests/text.test: Added tests for -regexp -nocase searches withericm2000-07-253-5/+47
| | | | | | | | | | backslash character classes. * generic/tkText.c (TextSearchCmd): Text search did not work properly when -regexp and -nocase were used, in combination with backslash character classes represented by capital letters (ie, \W, \M); altered implementation of -regexp -nocase searches to use new regexp interfaces to fix this problem. [Bug: 5988].
* * tests/text.test: Added tests for searching when text is elided.ericm2000-07-213-8/+51
| | | | | | | | * generic/tkText.c (TextSearchCmd): Text search was not returning the correct index when the search covered (but did not search) elided characters; corrected this by adjusting the match index by the number of elided characters preceeding the start of the match, just as is done with embedded windows, etc. [Bug: 5470].
* * win/configure.in: Add TK_STUB_LIB_FLAG andmo2000-07-212-5/+26
| | | | | TK_BUILD_STUB_LIB_SPEC. These are needed to build a stub enabled extension.
* * unix/tkUnixDraw.c (TkScrollWindow): Replaced a use of a trinaryericm2000-07-202-2/+10
| | | | | operator with an if/else, to avoid build problems on some platforms [Bug: 5819].
* Applied patch from [RFE: 5939]ericm2000-07-202-1/+10
|
* * library/text.tcl: Enhanced <Tab> binding to behave like normalericm2000-07-192-6/+15
| | | | | <Tab> bindings when the text widget is disabled (ie, it advances focus to the next widget).
* * generic/tkText.c (TextSearchCmd): Added a test for a NULLericm2000-07-192-4/+16
| | | | | segment pointer when doing backwards searches for "" on an empty text widget. [Bug: 6007].
* * unix/aclocal.m4: Use tcl.m4.mo2000-07-191-0/+1753
| | | | | | | | * unix/configure.in: Properly quote LOCALES variable. Properly quote argument to m4 macro. * unix/tcl.m4: Add updated file from tcl. * win/tcl.m4: Updated file from tcl.
* * unix/aclocal.m4: Use tcl.m4.mo2000-07-194-1770/+15
| | | | | | | | * unix/configure.in: Properly quote LOCALES variable. Properly quote argument to m4 macro. * unix/tcl.m4: Add updated file from tcl. * win/tcl.m4: Updated file from tcl.
* * library/tkfbox.tcl: Fixed keyboard navigation in the iconlist.ericm2000-07-192-37/+40
|
* no messagedavidg2000-07-181-1/+1
|
* Updated Greek message catalog.ericm2000-07-181-68/+67
|
* Updated German message catalog.ericm2000-07-181-16/+16
|
* * unix/configure.in (MAKE_LIB): Corrected definition of MAKE_LIBericm2000-07-182-2/+7
| | | | for shared builds, with patch from Mike Hopkirk.
* fix usage of TK_SRC_DIRmo2000-07-182-2/+8
|
* no messagedavidg2000-07-181-0/+7
|
* Just added comments about a Win2K OS bug with GetStdHandle(STD_OUTPUT_HANDLE).davidg2000-07-181-1/+18
| | | | No change was made to the code.
* * generic/tkStubImg.c (Tk_InitImageArgs): Applied patch from [Bug:ericm2000-07-172-1/+9
| | | | | | | 5990], from Anselm Lingnau, which correctly sets the value of useNewImage to 0 when the new image system is not to be used, instead of leaving it at -1, which causes the check to be performed more times than is really necessary.
* * library/bgerror.tcl: Fixed a typo in one of the bgerror dialogericm2000-07-172-3/+6
| | | | label.
* * library/msgs/it.msg: Italian message catalog, from Paoloericm2000-07-172-0/+73
| | | | Brutti. [RFE: 6012].
* Greek message catalog from George Petasis.ericm2000-07-082-0/+88
|
* fix TK_SHARED_BUILD and TK_SRC_DIR variable definitions for mingw/vc++ buildmo2000-07-072-3/+16
|
* Updated Spanish message catalog.ericm2000-07-061-9/+9
|
* Applied patch from Nijtmans/Howlett to intialize nextPtr field of TkCursorericm2000-07-062-3/+8
| | | | structure when it is created, to prevent possible core dumps.
* * generic/tkFileFilter.c (AddClause): Cast to match function prototype.mo2000-07-0612-37/+32
| | | | | | | | | | | | | | | * win/stubs.c (_XInitImageFuncPtrs): Add return value for function. * win/tkWinButton.c (buttonStyles, ButtonBindProc, ComputeStyle): Remove unused declarations. * win/tkWinColor.c (GetColorByName, GetColorByValue): Remove unused function declarations. * win/tkWinDialog.c (TrySetDirectory): Remove unused function declaration. * win/tkWinEmbed.c (TkWinEmbeddedEventProc): Cast to match function prototype. * win/tkWinMenu.c (winMenuMutex, MenuExitProc): Remove unused declaration. * win/tkWinWindow.c (StackWindow): Remove unused declaration. * win/tkWinWm.c (ConfigureEvent): Remove unused declaration. * win/tkWinX.c (winXMutex): Remove unused declaration. * xlib/ximage.c (XCreateBitmapFromData): Cast to match function prototype.
* * tests/imgPhoto.test: Added test for GIF writing code [Bug: 5823].ericm2000-07-053-61/+76
| | | | | * generic/tkImgGIF.c: Applied patch from Jan Nijtmans to fix a problem with the GIF writing code [Bug: 5823].
* *** empty log message ***ericm2000-07-051-0/+5
|
* Duth message catalog, from Jan Nijtmans.ericm2000-07-051-0/+103
|
* * doc/keysyms.n:ericm2000-06-303-4/+24
| | | | | | * doc/colors.n: Added extra .CE/.CS pairs to break up the large text block, so that the generated Windows help file could accomodate the manual entry. [Bug: 5862]