summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * library/entry.tcl (tkEntryMouseSelect):mdejong2001-03-291-0/+11
| | | | | | | | | | * library/text.tcl (tkTextSelectTo): When the mouse is dragged with the button down, move the insertion cursor to the current mouse position. * tests/event.test: Add a series of tests for event generation. Add tests for selection, check the position of the insertion cursor.
* * unix/configure:hobbs2001-03-291-0/+6
| | | | | * unix/tcl.m4: corrected IRIX-5.x config to not use -n32. (english) [Patch 403626]
* Replaced all [load {} tk] in Tk test suite with [load {} Tk].dgp2001-03-281-0/+10
| | | | [Bug 220940, Patch 411952]
* * doc/photo.n: [Bug 132213] Added clarification on interpretationericm2001-02-131-0/+5
| | | | of ranges for "photoName data -from" subcommand.
* Asymmetric padding in "pack" and "grid" geometry managersdrh2001-02-121-0/+7
|
* Clarified and extended the entry in theandreas_kupries2001-01-041-2/+14
| | | | Changelog describing the merge of TIP #8.
* 2001-01-02 Andreas Kupries <a.kupries@westend.com>andreas_kupries2001-01-021-0/+5
| | | | | * win/tkWinWm.c: * doc/wm.n: Applied patch #102833 (TIP #8).
* * generic/tkObj.c (SetMMFromAny): Added ability to recognizehobbs2000-12-131-0/+6
| | | | | double type object to speed up canvas coord calculations. [Patch #102471]
* Minor improvement to documentation for entry widgets.dkf2000-12-121-0/+5
|
* A better fix for #120819 (all it needed was some Tcl_Preserve()s)dkf2000-11-291-0/+9
| | | | | which also requires no documentation changes - the behaviour is now what you would predict from existing docs (as opposed to a crash!)
* Backed out previous change (except for test for bug.)dkf2000-11-281-2/+9
|
* Fixed bug #120819 by prohibiting images from starting with a period;dkf2000-11-231-0/+8
| | | | | | | | | I'm still not quite sure what exactly was going wrong in the bug, but I suspect the problem might have actually been due to the deletion of all images while in the midst of creating an image. The restriction is pretty light when it comes to existing code, since it previously caused a core dump due to an image typePtr field being set to random garbage, an indication of over-eager use of free()...
* Overall change: Implemented TIP 5, which exportsericm2000-11-221-0/+72
| | | | | | | | | TkClassProcs/TkSetClassProcs as Tk_ClassProcs/Tk_SetClassProcs, adding a size field to Tk_ClassProcs to allow for future expansion, and renaming the geometryProc to worldChangedProc, which is more in keeping with the actual use of the callback. See ChangeLog for details.
* Added deprecation note from Bug #120944dkf2000-11-211-0/+3
|
* Added TkPhotoGetValidRegion() to tkInt stubs. Bug #120930 closed.dkf2000-11-211-0/+7
|
* added release markhobbs2000-11-031-0/+2
|
* * generic/tkWindow.c (Initialize): added call to Tcl_SetMainLoop.hobbs2000-11-031-0/+6
| | | | | This only has effect when tclsh is run (not wish), and then Tk is loaded in interactively.
* see changeshobbs2000-11-031-0/+19
|
* * tests/winDialog.test: Corrected expected results for bad optionericm2000-11-021-1/+7
| | | | | | | | | tests (5.2, 5.5) to include -multiple option. * win/tkWinDialog.c: Removed CommDlgExtendedError() checks for color and choosedir dialogs, and removed all except the explicit invalid filename checks for the file dialogs.
* * unix/tcl.m4: removed use of -lbsd and -ldl for AIX-5.hobbs2000-11-021-0/+10
|
* Removed bogus conflict marker.ericm2000-11-021-1/+0
|
* * win/tkWinDialog.c: Added branch for 0 return fromericm2000-11-021-3/+13
| | | | | | | | CommDlgExtendedError() switches; this was formerly treated as an error, but it actually is not, since it just means the user hit cancel or closed the dialog. (GetFileNameW): Added better smarts such that -multiple is not considered a valid option for tk_getSaveFile.
* no messagedavidg2000-10-311-0/+11
|
* see changeshobbs2000-10-311-0/+14
|
* * win/tkWinDraw.c (RenderObject): Applied patch from [Bug: 6368],ericm2000-10-241-0/+10
| | | | | | | | | | | which corrects rendering of 1-pixel wide stippled lines on Windows. * generic/tkCanvLine.c (DisplayLine): Applied patch from [Bug: 6368], corrects bugs relating to use of active- and disabledwidth values for displaying lines (disabledwidth was never used, and activewidth/disablewidths would only possibly be used when greater than default width, rather than when simply not equal to default width).
* * library/tkfbox.tcl (OkCmd): Applied patch from [Bug: 6365],ericm2000-10-191-0/+4
| | | | | which adds safety for directory names containing spaces or which are non-lists.
* * win/tkWinDialog.c (GetFileNameW, GetFileNameA,ericm2000-10-191-0/+8
| | | | | | | Tk_ChooseColorObjCmd, Tk_ChooseDirectoryObjCmd): Added error checking for the return value from the common dialog functions, so that the commands will not silently fail if the common dialog returns an error. [Bug: 6369].
* * generic/tkConfig.c (Tk_InitOptions): Addedericm2000-10-121-0/+7
| | | | | | Tcl_IncrRefCount/Tcl_DecrRefCount calls on valuePtr, to prevent memory leaks when the value object comes from the option database. [Bug: 6275].
* * win/Makefile.in (cat32.${OBJEXT}): add win/ subdirectory tohobbs2000-10-061-0/+5
| | | | cat32 target to correctly find the source file.
* * generic/tkCmds.c (Tk_WinfoObjCmd): Added check forericm2000-10-051-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | TK_ANONYMOUS_WINDOW flag in the [winfo children] subcommand; if set, the window will not be printed in the list of children. * doc/CrtWindow.3: Added entry for Tk_CreateAnonymousWindow. * generic/tkWindow.c (Tk_CreateAnonymousWindow): New API for creating anonymous windows. These windows are manipulable from C, but not from Tcl, because they have no pathname associated with them. They are used initially by widgets that do rubber-band resizing (panedwindow, multi-column listbox, etc.), and may be useful for other widgets as well (dropbox, combobox). (Tk_DestroyWindow): Added check for TK_ANONYMOUS_WINDOW flag when determining whether to generate a DestroyNotify event. * generic/tkStubInit.c: * generic/tkDecls.h: Regen'd from tk.decls. * generic/tk.decls: Added Tk_CreateAnonymousWindow declaration. * generic/tk.h: Added TK_ANONYMOUS_WINDOW flag for Tk_Window's.
* * doc/MaintGeom.3: Noted that Tk_MaintainGeometry handles directericm2000-10-051-0/+18
| | | | | | | | | | | | | | | | | descendants properly. * generic/tkGeometry.c (Tk_MaintainGeometry): Added a check for the case in which the slave window is a direct descendant of the master window. In this case, we need not set up the additional infrastructure normally provide by Tk_MaintainGeometry, because we can rely on the parent/child relationship to handle it for us implicitly. In this case, Tk_MaintainGeometry just calls directly to Tk_MoveResizeWindow. This allows geometry managers to simply always use Tk_MaintainGeometry to maintain geometry for slaves, and avoid doing the direct descendant check themselves. (Tk_UnmaintainGeometry): Added a matching check for the direct descendant case; in this case, Tk_UnmaintainGeometry simply returns immediately.
* *** empty log message ***drh2000-10-011-1/+13
|
* * generic/tkButton.c (ConfigureButton): Added tests for -compoundericm2000-10-011-0/+5
| | | | | | option, so that when there is a textvariable and an image, and -compound is not none, the button will display both the textvariable and the image.
* * doc/SetOptions.3: Added note that restoreProc and freeProc mayericm2000-10-011-0/+9
| | | | | | | | be NULL. * generic/tkConfig.c (Tk_RestoreSavedOptions): For custom options, added test that the restoreProc is not NULL, to allow for custom options that don't care about supporting Tk_RestoreSavedOptions.
* * win/Makefile.in: commented use of TESTFLAGShobbs2000-09-291-0/+6
| | | | | * unix/Makefile.in: added TESTFLAGS to test and testlang targets to conform with Windows makefile and TEA style.
* * generic/tkTest.c: Fixed tests to use updated API.ericm2000-09-291-0/+13
| | | | | | | | | | | * doc/SetOptions.3: * generic/tk.h: * generic/tkConfig.c: Changed interface for Tk_CustomOptionSetProc and Tk_CustomOptionGetProc; these now take a pointer to the start of the widget record, and an integer offset to the slot for the option value, instead of just a pointer to the slot. This allows more sophisticated options to do interesting things based on other data in the widget record.
* * generic/tk.h: Added declaration of Tk_ObjCustomOption structure,ericm2000-09-171-0/+36
| | | | | | | | | | | | | | | | | | | | | | | used for TK_OPTION_CUSTOM, and typedef's of the functions Tk_CustomOptionSetProc, Tk_CustomOptionGetProc, Tk_CustomOptionRestoreProc, and Tk_CustomOptionFreeProc, used for TK_OPTION_CUSTOM. * doc/SetOptions.3: Added documentation of TK_OPTION_CUSTOM, and section "CUSTOM OPTION TYPES" explaining how to create and use custom options. * tests/config.test: Added tests for custom option type. * generic/tkTest.c: Added test support for TK_OPTION_CUSTOM to TestobjconfigObjCmd. Added CustomOption* functions to implement a test custom option. * generic/tkConfig.c: Added new option type TK_OPTION_CUSTOM, which allows the definition of custom option types by creating parsing, printing, freeing, and restoring procedures for a custom option. This is needed by the text and canvas widgets if they are to be fully objectified.
* * doc/Tk_Init.3:hobbs2000-09-071-0/+6
| | | | | * doc/bell.n: * doc/loadTk.n: minor doc cleanup
* * doc/canvas.n: fixed doc bug (ellson). [Bug: 6218]hobbs2000-09-071-0/+2
|
* * generic/tkPlatDecls.h: Added #include <windows.h> for Windows,ericm2000-09-061-0/+5
| | | | so that HWND, etc., are defined properly.
* see changeshobbs2000-09-061-0/+14
|
* * win/makefile.vc (install-libraries):ericm2000-09-021-0/+10
| | | | | | | | | * win/Makefile.in (install-libraries): * unix/Makefile.in (install-libraries): Added tkPlatDecls.h to list of header files to install. * generic/tk.h: Added #include "tkPlatDecls.h", which declares the platform specific component of the public Tk stubs API's.
* * win/tkWinMenu.c (DrawWindowsSystemBitmap): Use scratchDCericm2000-08-291-0/+11
| | | | | | | | | | | | for determining the source's logical coordinates. Patch from [Bug: 6134 (Markus Oberhumer)]. * win/tkWinMenu.c (SetDefaults): Compute the indicatorDimensions[] under Windows NT/2000 in the same way as under Windows 95/98. Patch from [Bug: 6134 (Markus Oberhumer)]. * win/tkWinFont.c (GetScreenFont): Added a memset() to pacify memory checkers. Patch from [Bug: 6134 (Markus Oberhumer)].
* * library/tkfbox.tcl (::tk::dialog::file::Update): Correctedericm2000-08-291-0/+6
| | | | | handling of multi-pattern filters (eg, "* *.*"), which was broken by the getOpenFile performance patches applied earlier.
* * doc/toplevel.n:ericm2000-08-251-0/+20
| | | | | | | | | | | | | | | | | | | * doc/spinbox.n: * doc/scrollbar.n: * doc/scale.n: * doc/menubutton.n: * doc/menu.n: * doc/listbox.n: * doc/entry.n: * doc/frame.n: * doc/message.n: * doc/checkbutton.n: * doc/radiobutton.n: * doc/button.n: * doc/label.n: * doc/canvas.n: * doc/text.n: Fixed Standard Options section to make best use of new tab settings in man.macros.
* remove --enable-gcc configure optionmo2000-08-251-0/+10
|
* * generic/tkButton.c (ButtonTextVarProc): reversed change below,hobbs2000-08-231-0/+5
| | | | it was not correct.
* * generic/tkButton.c (ButtonTextVarProc): changed order ofhobbs2000-08-231-0/+5
| | | | incr/decr of new value object, in case they are equal.
* * generic/tkImgPhoto.c (ImgPhotoGet): Removed redundant call toericm2000-08-181-0/+7
| | | | | | DitherInstance; this call was formerly being made from ImgPhotoGet->ImgPhotoConfigureInstance->DitherInstance, and ImgPhotoGet->DitherInstance. The second call was removed.
* * doc/SetOptions.3: added missing ')'.hobbs2000-08-151-0/+4
|