summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* Cursor name parsing was quite broken compared with Unix; cursor names aredkf2002-06-061-29/+42
| | | | supposed to be first-and-foremost a list...
* * changes: Document [wm transient .t .t] error.mdejong2002-05-271-27/+29
| | | | | | | | | | | | | | * tests/wm.test: Check that setting a window as a transient of itself raises an error. Check that passing a non-toplevel window to the wm transient command uses the enclosing toplevel. * unix/tkUnixWm.c (Tk_WmCmd): Raise an error if the user tries to make a toplevel a transient of itself. * win/tkWinWm.c (Tk_WmCmd): Raise an error if the user tries to make a toplevel a transient of itself. Test for other error before checking for the transient self error.
* * tests/embed.test: Added cross platform embed tests.mdejong2002-05-271-1/+11
| | | | | | | | | | | | | | Check that window passed to -use has the -container option set. * tests/wm.test: Remove useless catch call. Deiconify . just in case, stackorder tests will not pass unless it is in the normal state. Add -container flag to embedded stackorder test. * unix/tkUnixEmbed.c (TkpUseWindow): * win/tkWinEmbed.c (TkpUseWindow): Lookup Tk window based on the id passed in as the value for -use. Generate an error if the Tk window did not have the -container option set.
* * mac/tkMacWm.c (Tk_WmCmd):mdejong2002-05-241-1/+21
| | | | | | | | | | | * tests/unixWm.test: Move wm transient checks over to wm.test so they will be run on all systems. * tests/wm.test: Add tests to check for error when an iconwindow is passed to the wm transient command. * unix/tkUnixWm.c (Tk_WmCmd): * win/tkWinWm.c (Tk_WmCmd): Raise an error if one of the windows passed to the wm transient command is an iconwindow for another toplevel.
* * mac/tkMacWm.c (TkWmStackorderToplevelWrapperMap):mdejong2002-05-231-2/+3
| | | | | | | | * tests/wm.test: Add embedded Window test case for the stackorder command. * unix/tkUnixWm.c (TkWmStackorderToplevelWrapperMap): * win/tkWinWm.c (TkWmStackorderToplevelWrapperMap): Ignore embedded windows during wm stackorder command.
* Problem with TCLDIR macro not accepting forward slash path seperatorsdavygrvy2002-05-081-36/+45
| | | | resolved. Added the same logic to INSTALLDIR, too. [Bug #553208]
* corrected runtest target dependencieshobbs2002-04-231-3/+3
|
* * win/tkWinX.c (Tk_SetCaretPos): remove WM_IME_STARTCOMPOSITIONhobbs2002-04-121-37/+118
| | | | | | | | | | | and place the IME position within Tk_SetCaretPos. Cache results in Tk_SetCaretPos to reduce unnecessary repositioning. Also call DestroyCaret if we receive WM_KILLFOCUS. (TkpOpenDisplay): ZeroMemory the initial display structures. (TkWinGetUnicodeEncoding): Added so that Windows only needs to cache this value one, and then free it in TkWinXCleanup. (HandleIMEComposition): add support for Win98 and ATOK13 IME. (yamamoto)
* * win/tkWinInt.h: declaration for TkWinGetUnicodeEncodinghobbs2002-04-124-13/+17
| | | | | | | * win/tkWinDialog.c (GetFileNameW): use TkWinGetUnicodeEncoding * win/tkWinInit.c (TkpDisplayWarning): use TkWinGetUnicodeEncoding * win/tkWinFont.c: use TkWinGetUnicodeEncoding instead of static unicodeEncoding.
* * win/configure:hobbs2002-04-122-3/+3
| | | | | | | * win/tcl.m4: Enabled COFF as well as CV style debug info with --enable-symbols to allow Dr. Watson users to see function info. More info on debugging levels can be obtained at: http://msdn.microsoft.com/library/en-us/dnvc60/html/gendepdebug.asp
* * doc/wm.n:mdejong2002-04-101-2/+2
| | | | | | | | | * mac/tkMacWm.c: * tests/wm.test: * unix/tkUnixWm.c: * win/tkWinWm.c: Update wm stackorder usage message to make it clear that either 1 or 3 arguments are required. [Bug 540013]
* * win/tkWinButton.c (TkpDisplayButton):hobbs2002-04-051-1/+5
| | | | | | * generic/tkTextMark.c (TkTextInsertDisplayProc): * generic/tkCanvText.c (DisplayCanvText): * generic/tkEntry.c (DisplayEntry): added Tk_SetCaretPos calls.
* * win/Makefile.in: changed gdb and shell targets to properly buildhobbs2002-04-051-3/+3
| | | | all binaries before running (otherwise an error often occured).
* * win/tkWinX.c: added Tk_SetCaretPos code to position IME windowshobbs2002-04-051-1/+87
| | | | correctly when WM_IME_STARTCOMPOSITION is received.
* small lint in comments/docs.davygrvy2002-03-291-15/+13
|
* updated to match Tcldavygrvy2002-03-291-6/+29
|
* small cruftdavygrvy2002-03-291-4/+24
|
* ack! fixed big typo.davygrvy2002-03-291-2/+1
|
* * win/makefile.vc: Tk helpfile is now installing itself into Tcl'sdavygrvy2002-03-291-8/+26
| | | | | contents file as part of the install target and rebuilding the contents table as desired. [Bug 527941]
* fixed double use of $(ldebug)davygrvy2002-03-281-6/+6
|
* * win/.cvsignore (new):davygrvy2002-03-285-73/+521
| | | | | | | | | | | | | * win/lamp.bmp (new): * win/makefile.vc: * win/nmakehlp.c (new): * win/rules.vc: Brought the makefile up-to-date with Tcl's one. This now has support for Win9x issues and the winhelp target now exists. Color scheme can be changed. I'm just imparting a first suggestion using orange :) I'll have to think about the install portion of the helpfile as I'll need to do some tricks to insert tk's contents file into Tcl's using some special winhlp32.exe switches. [Bug 533862 527941]
* Changed bitmap_bit_order to LSBFirst in XCreateImage (bug 481255)chengyemao2002-03-261-2/+2
|
* fix for bug #528441. max optimize seems to cause problems for some folks.davygrvy2002-03-211-3/+4
|
* * win/tkWinX.c: Define _WIN32_IE as 0x0300mdejong2002-03-071-1/+12
| | | | | | before including commctrl.h so that we can access the InitCommonControlsEx API when building Tk with mingw.
* Bumped patchlevel; might need changing in the future, but it makes lifedkf2002-03-061-2/+2
| | | | easier for now.
* updated to use www.tcl.tk URLhobbs2002-03-041-2/+2
|
* changed panedwindow default relief to flathobbs2002-02-221-2/+2
|
* TIP #41 implementation, panedwindow [Patch #512503] (melski)hobbs2002-02-223-3/+40
|
* * modified some callers of Tcl routines thatdgp2002-02-082-6/+4
| | | | were restored to return (char *) pointing into Tcl_DStrings.
* * win/makefile.vc: unset macro located in the tktest target caused a failure.davygrvy2002-02-011-2/+4
| | | | [Bug 511652]
* * Overlooked COSNTification of XSetCommanddgp2002-02-011-1/+1
|
* * win/tkWinInit.c (TkpGetAppName): TIP 27 fixup. The code now doesandreas_kupries2002-01-291-4/+6
| | | | | not write into the CONST path returned by "argv0" and Tcl_SplitPath anymore.
* * unix/Makefile.in: Remove commented out vars.mdejong2002-01-292-12/+67
| | | | | | | | | * unix/configure: Regen. * unix/configure.in: Don't subst vars that are already taken care of in SC_LOAD_TCLCONFIG. * unix/tcl.m4: Update from Tcl. * win/configure: Regen. * win/tcl.m4: Update from Tcl.
* * Updated callers of Tcl_SplitList and Tcl_Merge.dgp2002-01-254-14/+14
| | | | | | | | | * Updated callers of Tcl_GetStringResult. Rewrote PrintScrollFractions to ScrollFractions to stop scribbling directly on interp->result. * Updated callers of Tcl_GetVar, Tcl_GetVar2 * Updated callers of Tcl_SplitPath, Tcl_JoinPath, and Tcl_TranslateFileName.
* * Overloked Tcl_GetIndexFromObj callersdgp2002-01-181-11/+11
|
* * Updated callers of Tcl_Utf* and Tcl_Regexp* APIs to reflect TIP 27dgp2002-01-171-4/+4
| | | | API changes (see Tcl Patch 471509). [Patch 471513]
* * unix/configure: Regen.mdejong2002-01-172-9/+15
| | | | | | * unix/tcl.m4: Update from Tcl. * win/configure: Regen. * win/tcl.m4: Update from Tcl.
* Use ${libdir} instead of ${exec_prefix}/lib. [Tcl bug 489370]mdejong2002-01-112-44/+48
| | | | | | | * unix/configure: Regen. * unix/configure.in: Define and use libdir. * win/configure: Regen. * win/configure.in: Define libdir.
* Fix the following bug: If you select an entry on a cascade menu (on Win32)drh2002-01-081-1/+13
| | | | | | | then the next time the parent menu is posted, the cascade entry appears active. Also, if you traverse to a disabled menu entry using keystrokes and press ENTER on the disabled entry, then that entry appears active the next time the menu is posted. The same patch fixes both problems.
* * test/winButton.test:hobbs2001-12-291-99/+131
| | | | | | * win/tkWinButton.c: added updated patch #463234 which returns the default sizing behavior (not so native), but enables native L&F with negative sizing (-11 for example).
* * win/tkWinWm.c (InitWindowClass): corrected init routines tohobbs2001-12-281-41/+56
| | | | | allow unicode in window titles on Windows (for Win2K/XP). (TkWmStackorderToplevel): Corrected casts to enable debug compile
* * win/tkWinDialog.c (Tk_MessageBoxObjCmd): use MessageBoxW forhobbs2001-12-281-7/+434
| | | | | | | | proper display of unicode errors. Added patch which uses new OLE based directory chooser. This still has some issues, so is disabled by default. [Patch #468139] (ColorDlgHookProc) Corrected ability to use unicode chars in tk_chooseColor -title.
* * win/tkWinInt.h:hobbs2001-12-282-2/+64
| | | | | | | | * win/tkWinX.c: added TkWinProcs that represent a function table to switch between unicode and ansi procs on Windows. This is analogous to the TclWinProcs. Using Tcl_WinUtfToTChar, we can easily take advantage of using unicode functions where available without having to switch on the platform id each time.
* win/tkWinInit.c (TkpDisplayWarning): added Tcl_DStringFreeshobbs2001-12-281-1/+3
|
* * win/configure: regen'edhobbs2001-12-282-4/+4
| | | | | * win/tcl.m4: added shell32.lib to link libs, as these are necessary for new directory chooser (when enabled).
* * win/tkWinInit.c (TkpDisplayWarning): Use MessageBoxW in case thehobbs2001-12-281-2/+9
| | | | error displayed has unicode chars. [Bug #485986]
* * unix/Makefile.in:mdejong2001-12-191-2/+2
| | | | | * win/Makefile.in: Use $(MAKE) instead of make in the tcltest rule.
* Added panic in TkPutImage in case of failure to allocate bitmapchengyemao2001-12-071-2/+4
|
* Added panic to TkPutImage in case of failure to allocate bitmapchengyemao2001-12-071-1/+5
|
* Add TK patch 481148 to implement TIP 74, themdejong2001-12-041-3/+271
| | | | | | | | | | | | | | | | | | | | | | | | | | wm stackorder command. * doc/winfo.n: Update documentation for the winfo children command to indicate that top-level windows are not returned in stacking order. * doc/wm.n: Add documentation for wm stackorder. * generic/tkInt.decls (TkWmStackorderToplevel): Add decl for new function. * generic/tkIntDecls.h: Regen. * generic/tkStubInit.c: Regen. * tests/unixWm.test: Add stackorder command to test for wm command usage message. * tests/wm.test: Add new set of tests for generic window manager methods. * unix/tkUnixWm.c (Tk_WmCmd, TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): Add unix implementation of new wm stackorder command. * win/tkWinWm.c (Tk_WmCmd, TkWmStackorderToplevelEnumProc, TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): Add windows implementation of new wm stackorder command.