summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* Initial implementation of TIP #82: added the -offrelief option todrh2002-06-171-2/+2
| | | | | checkbutton and radiobutton to allow those widgets to have a MS-Office look and feel.
* * generic/tkInt.h:hobbs2002-06-151-34/+107
| | | | | | | * generic/tkCmds.c (Tk_WmObjCmd): * unix/tkUnixWm.c (Tk_WmCmd): * win/tkWinWm.c (Tk_WmCmd): changed wmTracing from being an int to just a bit in the flags variable (TK_DISPLAY_WM_TRACING)
* TIP #47 "Modifying Tk to Allow Writing X Window managers"jenglish2002-06-143-14/+29
| | | | | | | | (patch from Neil McKay). * Add CirculateRequest, Create, MapRequest, ResizeRequest, and ConfigureRequest event types; * Split TK_TOPLEVEL flag into TK_TOPLEVEL, TK_HAS_WRAPPER, TK_WIN_MANAGED, and TK_TOP_HIERARCHY.
* The test for compiler optimizations was in error. Thanks goes to Roy Terrydavygrvy2002-06-141-2/+2
| | | | <royterry@earthlink.net> for his assistence with this.
* TIP#98 implementation; improved photo image copy and GIF frame accessdkf2002-06-141-1/+26
|
* Refixed cursor handling on Windows, and added tests to enforce it.dkf2002-06-131-30/+43
|
* * win/tkWinCursor.c (TkGetCursorByName): reverted fix fromhobbs2002-06-121-42/+29
| | | | | 2002-06-06 because it broke the ability to use built-in cursors like left_ptr.
* * changes: Add note about new transient behavior.mdejong2002-06-121-30/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/unixWm.test: Check that the WM_TRANSIENT_FOR property for a transient window is being cleared when the master is destroyed. * tests/wm.test: Source defs.tcl instead of using tcltest to match the rest of Tk's test files. Add new tests that ensure that a transient's state mirrors the state of the master. * unix/tkUnixWm.c (WmInfo, TkWmNewWindow, TkWmMapWindow, TkWmDeadWindow, Tk_WmCmd, WmWaitMapProc): Add numTransients member to WmInfo structure. Keep state of master and transient in sync using a callback that tracks MapNotify and UnmapNotify events. When the master is mapped, map the transient. When the master is unmapped or iconified, withdraw the transient. * win/tkWinWm.c (TkWmMapWindow, TkpWmSetState, TkWmDeadWindow, Tk_WmCmd, WmWaitVisibilityOrMapProc): Keep state of master and transient in sync using a callback that tracks MapNotify and UnmapNotify events. Move masterPtr check from TkpWmSetState into TkWmMapWindow to deal with WM_NEVER_MAPPED transients. Cleanup numTransients and the callback in TkWmDeadWindow. Cleanup numTransients and the callback only after deleting a master in wm transient command to avoid deleting the callback when an error is raised. Add support for MapNotify and UnmapNotify events to the master callback.
* D'oh! Next time, I should at least check I've got the variable names right.dkf2002-06-111-3/+3
|
* Fixed a win98 issue where the /exclude option for xcopy is unsupported.davygrvy2002-06-101-4/+7
| | | | Reported by Roy Terry <royterry@earthlink.net>.
* 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).