summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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. FossilOrigin-Name: c9b836ac06039b02353fba98ada7fb240b3fb2b4
* * 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. FossilOrigin-Name: 45a2053f23903de93a1d692f69fb0c79323eb69f
* * 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. FossilOrigin-Name: 7e89e7df59b461e3f3179063e3ef13a04505a48c
* * 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. FossilOrigin-Name: 847f6d256e60a0a9036c23b1f727ceacf69aa64b
* Problem with TCLDIR macro not accepting forward slash path seperatorsdavygrvy2002-05-081-36/+45
| | | | | | resolved. Added the same logic to INSTALLDIR, too. [Bug #553208] FossilOrigin-Name: e3c32ab93d2eb5581eaa3bc3922eea4f831f1cc9
* corrected runtest target dependencieshobbs2002-04-231-3/+3
| | | FossilOrigin-Name: 7ebd909a179a349a7a98bf3d9137c81a256b0eb7
* * 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) FossilOrigin-Name: 584decd87473126d02435d2e43ce6c28441284fd
* * 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. FossilOrigin-Name: ca09d55644cd9006092eec025b62e54ee611bf11
* * 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 FossilOrigin-Name: a38bcfe0978f822090ea08793b3b8c862796b776
* * 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] FossilOrigin-Name: 6a63d1d7a0f1be3097d743ebd8b1a1c3c46b07b5
* * 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. FossilOrigin-Name: eb1f6c15c2ec7a1c61a0faeeee4eda55fb73b9c6
* * win/Makefile.in: changed gdb and shell targets to properly buildhobbs2002-04-051-3/+3
| | | | | | all binaries before running (otherwise an error often occured). FossilOrigin-Name: 732f078d7efb560b960bea8f3d9bd7816a412145
* * win/tkWinX.c: added Tk_SetCaretPos code to position IME windowshobbs2002-04-051-1/+87
| | | | | | correctly when WM_IME_STARTCOMPOSITION is received. FossilOrigin-Name: 82d048b498cb9bcf2daa024e16081601dcd096a2
* small lint in comments/docs.davygrvy2002-03-291-15/+13
| | | FossilOrigin-Name: dcc45900b96e019c5830f63426c1ebd73d3df9bf
* updated to match Tcldavygrvy2002-03-291-6/+29
| | | FossilOrigin-Name: c22ae872b3d0438a4fdb4743f2842bb5597a8f66
* small cruftdavygrvy2002-03-291-4/+24
| | | FossilOrigin-Name: 44b9cc58511bbee20f38bcc3c48ae2255b42b670
* ack! fixed big typo.davygrvy2002-03-291-2/+1
| | | FossilOrigin-Name: cbf3fc84f54600697972d336714b642051cb402d
* * 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] FossilOrigin-Name: 4a326cb1e4f723412a1599333bf2c59809ac78ae
* fixed double use of $(ldebug)davygrvy2002-03-281-6/+6
| | | FossilOrigin-Name: 0d5bdb02a47e9f8bd1fa1d662682aa6f229ec8fe
* * 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] FossilOrigin-Name: 8bb6331b52c3c5354d532404f7dc125089c6b701
* Changed bitmap_bit_order to LSBFirst in XCreateImage (bug 481255)chengyemao2002-03-261-2/+2
| | | FossilOrigin-Name: c1a533e15fafe54c9166b0dee1b13d89fa807f2f
* fix for bug #528441. max optimize seems to cause problems for some folks.davygrvy2002-03-211-3/+4
| | | FossilOrigin-Name: 6542bf338591f065d4768901fa52168624a8129a
* * 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. FossilOrigin-Name: c524eb8b1f8def1b4a0a56b6c16c5c7ed553289d
* Bumped patchlevel; might need changing in the future, but it makes lifedkf2002-03-061-2/+2
| | | | | | easier for now. FossilOrigin-Name: 7472801139405296ccc3c3b2e111902f93bc3bbe
* updated to use www.tcl.tk URLhobbs2002-03-041-2/+2
| | | FossilOrigin-Name: c57468da5f1f17910ee05fca7963bb3c3ad140aa
* changed panedwindow default relief to flathobbs2002-02-221-2/+2
| | | FossilOrigin-Name: 8383ba3542ca5589e281e9f136fbabd3a77db6e1
* TIP #41 implementation, panedwindow [Patch #512503] (melski)hobbs2002-02-223-3/+40
| | | FossilOrigin-Name: 7314a88b0f4af54da1dbbef59b183da7dd715071
* * modified some callers of Tcl routines thatdgp2002-02-082-6/+4
| | | | | | were restored to return (char *) pointing into Tcl_DStrings. FossilOrigin-Name: f49c1699589cd69f47093575953d7ee75a28cf4f
* * win/makefile.vc: unset macro located in the tktest target caused a failure.davygrvy2002-02-011-2/+4
| | | | | | [Bug 511652] FossilOrigin-Name: 0706b485edcd5b2fc7ecccb7f685787a542a4197
* * Overlooked COSNTification of XSetCommanddgp2002-02-011-1/+1
| | | FossilOrigin-Name: 15f338bab29cbbf8e66c4b944f44bc426196c9af
* * 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. FossilOrigin-Name: 6b1785497d20fd266cac609d492d2d09e65a5136
* * 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. FossilOrigin-Name: 178a19e30ac1930ca02d550822059d0cd157f01c
* * 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. FossilOrigin-Name: 933dcfe881579bb3925ff2a05e925a0bd8d67087
* * Overloked Tcl_GetIndexFromObj callersdgp2002-01-181-11/+11
| | | FossilOrigin-Name: 78e880525bb5a1240f24ac264df24f0fc87f641b
* * 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] FossilOrigin-Name: 061e364d6f7bae391846089032e5501a301d0dde
* * unix/configure: Regen.mdejong2002-01-172-9/+15
| | | | | | | | * unix/tcl.m4: Update from Tcl. * win/configure: Regen. * win/tcl.m4: Update from Tcl. FossilOrigin-Name: b5febdbfd80d2878cd0757f3e4d126eb86575970
* 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. FossilOrigin-Name: 616ed4052e7d8dbe340b1510f2273ddbed4f89e2
* 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. FossilOrigin-Name: 6069b52dd4b62ea9164bafee3e456a57b216b213
* * 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). FossilOrigin-Name: 1212ac05ffc669b8894ad1f69c35fabd8fa6438a
* * 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 FossilOrigin-Name: f3c178ef5e236e37afc583d44e1ae98e3c6fa0c0
* * 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. FossilOrigin-Name: d76a213a8adaa31cf1dd8c98c1e6eddc01d16472
* * 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. FossilOrigin-Name: 081e2c0707adca6861223d368262ad2bf2816ec5
* win/tkWinInit.c (TkpDisplayWarning): added Tcl_DStringFreeshobbs2001-12-281-1/+3
| | | FossilOrigin-Name: f3f5aa50750c88de3cb946f7d7df5e8cfd711ba4
* * 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). FossilOrigin-Name: 38638893207dddb0353b82a4ccc5169df3416e45
* * win/tkWinInit.c (TkpDisplayWarning): Use MessageBoxW in case thehobbs2001-12-281-2/+9
| | | | | | error displayed has unicode chars. [Bug #485986] FossilOrigin-Name: 1d95df52a9bbc270d4d355c07605c88956a4c155
* * unix/Makefile.in:mdejong2001-12-191-2/+2
| | | | | | | * win/Makefile.in: Use $(MAKE) instead of make in the tcltest rule. FossilOrigin-Name: e2967b875dd664c24d19d9fb868bb0b40cd3b8d7
* Added panic in TkPutImage in case of failure to allocate bitmapchengyemao2001-12-071-2/+4
| | | FossilOrigin-Name: 251ce02cb8182c7a493f6cac048d633c29ae527f
* Added panic to TkPutImage in case of failure to allocate bitmapchengyemao2001-12-071-1/+5
| | | FossilOrigin-Name: 9337ddfcd0cfcc0c2053a1d3a8d779829ffa4aac
* 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. FossilOrigin-Name: 45e73f13a603eba5167ba98b8dbe8ecbbab7a443
* install target changes by request from Ryan Casey <scfiead@hotmail.com>.davygrvy2001-12-031-26/+15
| | | FossilOrigin-Name: 7397078fab5822715c8a9fee01cda7f5735eef9d