summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* When a dialog box (ex: tk_messageBox) pops up whiledrh2000-09-301-2/+4
| | | | | another application is holding the grab, the "grab" command fails and the dialog box is inoperative. "catch" the "grab" to prevent this.
* * win/Makefile.in: commented use of TESTFLAGShobbs2000-09-293-4/+19
| | | | | * 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-295-37/+64
| | | | | | | | | | | * 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-176-18/+450
| | | | | | | | | | | | | | | | | | | | | | | 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-074-9/+14
| | | | | * doc/bell.n: * doc/loadTk.n: minor doc cleanup
* * doc/HWNDToWindow.3:ericm2000-09-074-18/+6
| | | | | | | | | | | | | | | | * doc/GetHWND.3: Changed synopsis to indicate the tkPlatDecls.h should be included, not tk.h. * generic/tkPlatDecls.h: Removed #include <windows.h> for Windows, a better solution for now is to update the docs and have extension authors #include <tkPlatDecls.h>. * generic/tk.h: Removed '#include "tkPlatDecls.h"', as the incorrect inclusion order between windows.h/tkPlatDecls.h causes build conflicts on Windows. * generic/tkPlatDecls.h: Added #include <windows.h> for Windows, so that HWND, etc., are defined properly.
* * doc/canvas.n: fixed doc bug (ellson). [Bug: 6218]hobbs2000-09-072-2/+4
|
* * generic/tkPlatDecls.h: Added #include <windows.h> for Windows,ericm2000-09-062-1/+11
| | | | so that HWND, etc., are defined properly.
* * README:hobbs2000-09-065-12/+12
| | | | | | | * generic/tk.h: * unix/configure.in: * unix/tk.spec: * win/configure.in: updated to patchlevel 8.4a2
* see changeshobbs2000-09-061-0/+14
|
* * generic/tkGrab.c (Tk_GrabObjCmd): changed len arg from size_t tohobbs2000-09-061-2/+2
| | | | int to fix pedantic warning.
* * generic/tkMessage.c (MessageWidgetObjCmd): initialized result tohobbs2000-09-061-2/+3
| | | | avoid pedantic warning.
* * win/makefile.vc (install-libraries):ericm2000-09-025-8/+26
| | | | | | | | | * 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-293-4/+16
| | | | | | | | | | | | 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-292-3/+12
| | | | | handling of multi-pattern filters (eg, "* *.*"), which was broken by the getOpenFile performance patches applied earlier.
* * doc/toplevel.n:ericm2000-08-2517-113/+143
| | | | | | | | | | | | | | | | | | | * 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-256-100/+41
|
* * generic/tkButton.c (ButtonTextVarProc): reversed change below,hobbs2000-08-232-8/+8
| | | | it was not correct.
* * generic/tkButton.c (ButtonTextVarProc): changed order ofhobbs2000-08-232-3/+13
| | | | incr/decr of new value object, in case they are equal.
* Comment correction.ericm2000-08-211-3/+3
|
* Removed unused variable left behind from previous check-in.ericm2000-08-191-2/+1
|
* * generic/tkImgPhoto.c (ImgPhotoGet): Removed redundant call toericm2000-08-182-11/+9
| | | | | | 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-152-2/+6
|
* * 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.