summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2001-01-02 Andreas Kupries <a.kupries@westend.com>andreas_kupries2001-01-023-38/+922
| | | | | * win/tkWinWm.c: * doc/wm.n: Applied patch #102833 (TIP #8).
* * generic/tkObj.c (SetMMFromAny): Added ability to recognizehobbs2000-12-132-47/+61
| | | | | double type object to speed up canvas coord calculations. [Patch #102471]
* Minor improvement to documentation for entry widgets.dkf2000-12-122-2/+12
|
* A better fix for #120819 (all it needed was some Tcl_Preserve()s)dkf2000-11-293-28/+65
| | | | | 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-283-22/+14
|
* Fixed bug #120819 by prohibiting images from starting with a period;dkf2000-11-234-6/+32
| | | | | | | | | 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()...
* Documentation for Tk_SetClassProcs.ericm2000-11-221-0/+91
|
* Overall change: Implemented TIP 5, which exportsericm2000-11-2234-162/+279
| | | | | | | | | 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-212-1/+13
|
* Added TkPhotoGetValidRegion() to tkInt stubs. Bug #120930 closed.dkf2000-11-215-4/+55
|
* updated with 8.4a2 changescore_8_4_a2hobbs2000-11-041-1/+60
|
* added release markhobbs2000-11-031-0/+2
|
* updated for latest doc fixeshobbs2000-11-031-2/+2
|
* added comments about Tcl_SetMainLoop call effectshobbs2000-11-031-1/+9
|
* * generic/tkWindow.c (Initialize): added call to Tcl_SetMainLoop.hobbs2000-11-032-1/+9
| | | | | This only has effect when tclsh is run (not wish), and then Tk is loaded in interactively.
* fixed remaining references to old-style TCL_SRC_DIR defnhobbs2000-11-031-8/+8
|
* see changeshobbs2000-11-031-0/+19
|
* * win/tkWinButton.c:hobbs2000-11-034-10/+104
| | | | | | | * win/tkWinDialog.c: * win/tkWinScrlbr.c: * win/tkWinWm.c: fixed up code for Win64 support. This mostly remains in _WIN64 #ifdef's, until updated compilers are standard.
* * unix/configure:hobbs2000-11-032-0/+6536
| | | | | | | * win/configure: checked in configure scripts so people doing CVS checkouts aren't required to have autoconf. Changes to configure.in in the future will require the corresponding configure script to also be re-autoconf'ed and checked in.
* * win/tcl.m4:hobbs2000-11-032-30/+50
| | | | * win/makefile.vc: updated for Win64 compile support
* doc/event.n: added note that key events require window focus.hobbs2000-11-031-3/+4
|
* updated copyrighthobbs2000-11-021-3/+3
|
* * tests/winDialog.test: Corrected expected results for bad optionericm2000-11-022-109/+45
| | | | | | | | | 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-022-53/+46
|
* corrected tests to recognize new -multiple openfile dialog switchhobbs2000-11-021-3/+3
|
* * tests/color.test: marked color-2.6 nonPortable as we can'thobbs2000-11-021-2/+6
| | | | reliably assume what 'red' maps to.
* * win/tkWinDialog.c (GetFileNameW, GetFileNameA,hobbs2000-11-021-5/+61
| | | | | | Tk_ChooseDirectoryObjCmd): created work-around for change in NT5.0/98 that caused no initialdir setting to open the browser up in the user's documents dir.
* Removed bogus conflict marker.ericm2000-11-021-1/+0
|
* * win/tkWinDialog.c: Added branch for 0 return fromericm2000-11-022-11/+69
| | | | | | | | 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
|
* 2000-10-30 David Gravereaux <davygrvy@ajubasolutions.com>davidg2000-10-316-149/+249
| | | | | | | | | | | * win/configure.in: * win/Makefile.in: * win/makefile.vc: * win/rc/tk.rc: * win/rc/tk_base.rc (new): * win/rc/wish.rc: Added logic to derive filenames better in the resource scripts based on compile options along with better support for building a static wish shell with cursor resources.
* see changeshobbs2000-10-311-0/+14
|
* unix/tcl.m4: added support for AIX-5.hobbs2000-10-311-1/+27
|
* threw catch around tk useinputmethods call for safe interpshobbs2000-10-311-3/+4
|
* simplified tk_library path normalization callhobbs2000-10-311-2/+2
|
* * win/Makefile.in (test, winhelp, tktest): corrected thehobbs2000-10-311-4/+4
| | | | TCL_LIBRARY path specification.
* * tests/tk.test:hobbs2000-10-313-6/+9
| | | | | | | | * doc/tk.n: updated to reflect default on status of useinputmethods. * library/tk.tcl: tk useinputmethods is set to 1 by default. This enables Kanji and dead-char input by default. Intro'd in 1999-12-16 with default off to avoid some problems with older X servers that would slow down widget creation over time.
* Added type cast to (ClientData) for &CustomOption in option tests.ericm2000-10-301-3/+3
|
* * win/tkWinDraw.c (RenderObject): Applied patch from [Bug: 6368],ericm2000-10-243-14/+22
| | | | | | | | | | | 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).
* Added comment marking "new in 8.4a2" declsericm2000-10-211-1/+3
|
* * library/tkfbox.tcl (OkCmd): Applied patch from [Bug: 6365],ericm2000-10-192-4/+7
| | | | | which adds safety for directory names containing spaces or which are non-lists.
* * win/tkWinDialog.c (GetFileNameW, GetFileNameA,ericm2000-10-192-10/+130
| | | | | | | 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-122-1/+17
| | | | | | 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-062-2/+7
| | | | cat32 target to correctly find the source file.
* * generic/tkCmds.c (Tk_WinfoObjCmd): Added check forericm2000-10-058-20/+170
| | | | | | | | | | | | | | | | | | | | | | | | 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-053-3/+51
| | | | | | | | | | | | | | | | | 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-012-3/+12
| | | | | | 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-013-6/+19
| | | | | | | | 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.
* Fix bitmaps so that the same bitmap will not be useddrh2000-09-302-8/+15
| | | | | | on two difference screens of the same display. Without this fix you get a BadMatch error from the X-server when you try to use a bitmap on two screens at once.