summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
...
* * win/tkWinDialog.c: Added branch for 0 return fromericm2000-11-021-8/+56
| | | | | | | | | | 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. FossilOrigin-Name: 659e0e7b6e920fa3c92a0c59325e51db9542f968
* 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. FossilOrigin-Name: 86a7638c291edb8cb1ed64b2dc09f50e9cfab2ca
* * win/Makefile.in (test, winhelp, tktest): corrected thehobbs2000-10-311-4/+4
| | | | | | TCL_LIBRARY path specification. FossilOrigin-Name: 59cda872592d2d1360adb54aded34d096986a087
* * win/tkWinDraw.c (RenderObject): Applied patch from [Bug: 6368],ericm2000-10-241-8/+6
| | | | | | | | | | | | | 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). FossilOrigin-Name: 7ea26f00bfd15acabe87e2f5f64bbe9f264c752b
* * win/tkWinDialog.c (GetFileNameW, GetFileNameA,ericm2000-10-191-10/+122
| | | | | | | | | 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]. FossilOrigin-Name: 6225f80f3c978c4dc27def9c4ebf00bc4b3c3955
* * win/Makefile.in (cat32.${OBJEXT}): add win/ subdirectory tohobbs2000-10-061-2/+2
| | | | | | cat32 target to correctly find the source file. FossilOrigin-Name: 9dcbaf6efeab9bb54f96095b1105f5cb7d2aa775
* * win/Makefile.in: commented use of TESTFLAGShobbs2000-09-291-1/+5
| | | | | | | * unix/Makefile.in: added TESTFLAGS to test and testlang targets to conform with Windows makefile and TEA style. FossilOrigin-Name: 21ea9340fdeefba136e92f5098ac7fc94a577336
* * README:hobbs2000-09-061-2/+2
| | | | | | | | | * generic/tk.h: * unix/configure.in: * unix/tk.spec: * win/configure.in: updated to patchlevel 8.4a2 FossilOrigin-Name: 773dd7a98444821148617f3c93c6ad2961eb83f7
* * win/makefile.vc (install-libraries):ericm2000-09-022-4/+5
| | | | | | | | | | | * 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. FossilOrigin-Name: 960c59512df2dfeb34b8851852007eb1efe83eeb
* * win/tkWinMenu.c (DrawWindowsSystemBitmap): Use scratchDCericm2000-08-292-4/+5
| | | | | | | | | | | | | | 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)]. FossilOrigin-Name: fbfb2fa6b53612256c15d7183620b6f69ce32f1c
* remove --enable-gcc configure optionmo2000-08-252-62/+22
| | | FossilOrigin-Name: 63c6411be67f99b00c28c7bf513849377f93a802
* cleaned up use of *_DIR macroshobbs2000-08-061-10/+10
| | | FossilOrigin-Name: 6c6a1c0cbfc95b169d41bd9bed1e276f041993ae
* * win/tkWinMenu.c (ReconfigureWindowsMenu): Added MF_GRAYED bitericm2000-07-281-2/+2
| | | | | | | for disabled menu entries, to ensure that those which are drawn by the system are shown grayed (such as entries on menubars) [Bug: 4372]. FossilOrigin-Name: 52e781f7d519d53ea929442cdb32931496e91f3e
* * mac/tkMacDefault.h:ericm2000-07-281-3/+5
| | | | | | | | | | | | | | | | | | | * unix/tkUnixDefault.h: Added default values for listbox disabledforeground and state. * win/tkWinDefault.h: Changed default listbox background color to white and listbox selection borderwidth to 0, in keeping with the "Microsoft Windows User Experience"; added default values for listbox disabledforeground and listbox state. * doc/listbox.n: Added documentation for -state option. * generic/tkListbox.c: Added support for -state to listbox. [RFE: 6052]. * tests/listbox.test: Tests for listbox disabled state. FossilOrigin-Name: a19d0bbf22658890f96264d9fea43a2494dfb897
* * win/configure.in: TCL_STUB_LIB_FLAG andmo2000-07-271-3/+3
| | | | | | | TK_STUB_LIB_FLAG should not include ${TCL_DBGX} in win/tkConfig.sh, fix that. FossilOrigin-Name: 883a60a3acdad910fe1854084f0888b1b40c8ffe
* * win/configure.in: Add TK_STUB_LIB_FLAG andmo2000-07-211-5/+20
| | | | | | | TK_BUILD_STUB_LIB_SPEC. These are needed to build a stub enabled extension. FossilOrigin-Name: ab40709ae90c1b35d25fe45bcb62d68ce37d8c4b
* Applied patch from [RFE: 5939]ericm2000-07-201-1/+5
| | | FossilOrigin-Name: b7b0d686211a255c70ffa700bcd8561e8d767898
* * unix/aclocal.m4: Use tcl.m4.mo2000-07-191-2/+2
| | | | | | | | | | * unix/configure.in: Properly quote LOCALES variable. Properly quote argument to m4 macro. * unix/tcl.m4: Add updated file from tcl. * win/tcl.m4: Updated file from tcl. FossilOrigin-Name: 9f7b475c17c69a9dea4e9c18a4691452fda39fbf
* fix usage of TK_SRC_DIRmo2000-07-181-2/+2
| | | FossilOrigin-Name: 981ce46232de991af9bb7693a68ebba279191521
* fix TK_SHARED_BUILD and TK_SRC_DIR variable definitions for mingw/vc++ buildmo2000-07-071-3/+9
| | | FossilOrigin-Name: 244e01c8f155a654674fa5989d0db258d34ed911
* * generic/tkFileFilter.c (AddClause): Cast to match function prototype.mo2000-07-069-31/+10
| | | | | | | | | | | | | | | | | * win/stubs.c (_XInitImageFuncPtrs): Add return value for function. * win/tkWinButton.c (buttonStyles, ButtonBindProc, ComputeStyle): Remove unused declarations. * win/tkWinColor.c (GetColorByName, GetColorByValue): Remove unused function declarations. * win/tkWinDialog.c (TrySetDirectory): Remove unused function declaration. * win/tkWinEmbed.c (TkWinEmbeddedEventProc): Cast to match function prototype. * win/tkWinMenu.c (winMenuMutex, MenuExitProc): Remove unused declaration. * win/tkWinWindow.c (StackWindow): Remove unused declaration. * win/tkWinWm.c (ConfigureEvent): Remove unused declaration. * win/tkWinX.c (winXMutex): Remove unused declaration. * xlib/ximage.c (XCreateBitmapFromData): Cast to match function prototype. FossilOrigin-Name: 51f47c0c03aff365cd11fd45c22dc16f8da2f17a
* Removed unused variable declaration.ericm2000-06-151-2/+1
| | | FossilOrigin-Name: f2b9197c044df5a213c10d681b06f04b5da3dbdc
* Recheckin without ^M line feeds.ericm2000-06-151-580/+580
| | | FossilOrigin-Name: 4dafeff6848ae4e8b144190e8895a75160867200
* reverted to 1.26 revision to fix bad 1.27 checkinericm2000-06-151-19/+103
| | | FossilOrigin-Name: cb840dd363fc600e71d549d67e4c53dd5bc9424d
* Added @LIBS@ to definition for LIBS variable, so that user32.lib and ericm2000-06-131-580/+580
| | | | | | advapi32.lib are included in the link line for the wish binary. FossilOrigin-Name: 4b1af016b48c208bd4bbc95d36b794a49800f200
* Added per RFE 5844.ericm2000-06-131-0/+625
| | | FossilOrigin-Name: 08e453c7ca48366d7fb656a8103ba22b13acb96b
* * win/tcl.m4:ericm2000-06-133-527/+79
| | | | | | | | * win/configure.in: * win/Makefile.in: Applied patch from [RFE: 5844], to extend support for mingw compile environment on Windows. FossilOrigin-Name: b5582e2af625cc2c1b5799d5c21fa6290902565c
* * win/Makefile.in (install-libraries): corrected to install Xhobbs2000-05-231-3/+9
| | | | | | headers [Bug: 5516] FossilOrigin-Name: 186af9a762d7b93ed23058f6cb0732d6a59a26b4
* * mac/tkMacDefault.h (DEF_ENTRY_READONLY_BG_COLOR,ericm2000-05-171-1/+3
| | | | | | | | | | | | | | | | | | | DEF_ENTRY_READONLY_BG_COLOR): * win/tkWinDefault.h (DEF_ENTRY_READONLY_BG_COLOR, DEF_ENTRY_READONLY_BG_COLOR): * unix/tkUnixDefault.h (DEF_ENTRY_READONLY_BG_COLOR, DEF_ENTRY_READONLY_BG_COLOR): Added default values for entry -readonlybackground option. * generic/tkEntry.c: Added -readonlybackground option, cleaned up excessive use of graphics contexts. * tests/entry.test: Added configuration test for -readonlybackground option. * doc/entry.n: Added documentation for -readonlybackground option. FossilOrigin-Name: d9e1274dcc5725b4ea72f2b214ee4e6763d688b9
* * doc/SetOptions.3: Added information about TK_OPTION_NULL_OK withericm2000-05-172-16/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TK_OPTION_RELIEF. * win/tkWinButton.c: Removed bits about TK_RELIEF_LINK. * tests/button.test: Added tests for -overrelief; removed tests for -relief link. * mac/tkMacButton.c: Removed bits about TK_RELIEF_LINK. * generic/tkOldConfig.c: Removed bits about TK_RELIEF_LINK. * generic/tkConfig.c: Removed bits about TK_RELIEF_LINK; added support for TK_OPTION_NULL_OK for TK_OPTION_RELIEF. * library/button.tcl: Added binding support for -overrelief. * generic/tk3d.c (Tk_GetRelief): Added branch for TK_RELIEF_NULL. * generic/tkButton.c: Added -overrelief option; removed Enter/Leave EventProc masks and handlers. * generic/tk.h: Added TK_RELIEF_NULL definition, removed TK_RELIEF_LINK. * mac/tkMacDefault.h (DEF_BUTTON_OVER_RELIEF): * win/tkWinDefault.h (DEF_BUTTON_OVER_RELIEF): * unix/tkUnixDefault.h (DEF_BUTTON_OVER_RELIEF): Added default value for the -overrelief option. FossilOrigin-Name: 107c0be19713ca6aedb57383ae53c62d430c9280
* * win/tkWinMenu.c (ReconfigureWindowsMenu): Added code to add theericm2000-05-161-2/+14
| | | | | | | MF_SEPARATOR bit for SEPARATOR_ENTRY menu items. This causes separator entries on the system menu to be drawn correctly [Bug: 5451]. FossilOrigin-Name: 909f18beae2f9d5b2705b332bc2186eb4ecbf28d
* * win/tkWinWm.c (Tk_WmCmd): changed wm deiconify from using idlehobbs2000-05-161-46/+6
| | | | | | callback to calling restack and focus code immediately. FossilOrigin-Name: 451102882f0d518cfd9962030473da1f9c1bfd7e
* * library/entry.tcl: Adjusted Button-1 binding to set focus to theericm2000-05-141-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | entry when it is readonly or normal. * doc/entry.n: Added documentation for readonly state, -disabledforeground, -disabledbackground. * tests/entry.test: Added tests for readonly state. * generic/tkEntry.c: Added support for "readonly" state, and redefined "disabled" state. A disabled entry will display its text in a dimmed color and possibly with a different background, and will be completely unusable (no selection, no editing). A readonly entry will look like a normal entry, but it will not be editable; selection is still allowed. [RFE: 4239]. To support the new disabled state properly, "-disabledforeground" and "-disabledbackground" options were added. *** THIS IS A BACKWARDS INCOMPATIBLE BEHAVIOR CHANGE *** * win/tkWinDefault.h: * mac/tkMacDefault.h: * unix/tkUnixDefault.h: Added DEF_ENTRY_DISABLED_FG, DEF_ENTRY_DISABLED_BG_COLOR, DEF_ENTRY_DISABLED_BG_MONO. FossilOrigin-Name: 1e58446d8a212f90f788f6cd0965f9cbb2d1e606
* * unix/tkUnixButton.c (TkpDisplayButton, TkpComputeButtonGeometry):ericm2000-05-132-84/+253
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mac/tkMacButton.c (TkpDisplayButton, TkpComputeButtonGeometry): * win/tkWinButton.c (TkpDisplayButton, TkpComputeButtonGeometry): Added code for drawing compound buttons. * tests/button.test: Added configuration tests for -repeatdelay, -repeatinterval, -compound. * library/button.tcl: Added support for -repeatedelay, -repeatinterval options. * generic/tkOldConfig.c: Changed handling of link relief so that proper error messages are used. * generic/tkButton.h: Added -compound, -repeatdelay, -repeatinterval options. * generic/tkButton.c: Added event watchers for enter/leave events, for link relief support. * generic/tk3d.c: Changed handling of link relief so that proper error messages are used. * generic/tk.h: Changed values of TK_OPTION_LINK_OK/TK_CONFIG_LINK_OK for link relief support. FossilOrigin-Name: 965b15d89edbe399990f79d5b0592c72ffd00a42
* * win/tkWinFont.c (LoadFontRanges): improved support for all charshobbs2000-05-131-1/+12
| | | | | | | in 0-255 range for bitmap ANSI fonts. May be improved to handle bitmap non-ANSI fonts in the future. [Bug: 2172] FossilOrigin-Name: 98d9aa794b91185874a1b5bd0778436502a4ccba
* * win/tkWinWm.c (RaiseWinWhenIdle): added TK_DONT_DESTROY_WINDOWhobbs2000-05-131-2/+3
| | | | | | to flag check to prevent timing related core dump. [Bug: 5438] FossilOrigin-Name: 56864c5526f674d9c1c00b223603cc699de26fff
* * win/tkWinTest.c (TestclipboardObjCmd): ensured CloseClipboardhobbs2000-05-111-2/+4
| | | | | | would always get called for each OpenClipboard. FossilOrigin-Name: 3e266ca964ec815e9e47d1b720f2751491ae5cc3
* Added link relief support.ericm2000-05-111-1/+15
| | | FossilOrigin-Name: 27c077f9102cd1e07d9d1dbcc37e14576c8ffca2
* * doc/button.n: Added documentation for link relief.ericm2000-05-102-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/button.test: Added tests for link relief for buttons. * generic/tk.h (TK_CONFIG_LINK_OK): Added definition of TK_RELIEF_LINK, TK_OPTION_LINK_OK and TK_CONFIG_LINK_OK. [RFE: 4348] * generic/tk3d.c: Added support for link relief. [RFE: 4348] * mac/tkMacButton.c (TkpDisplayButton): * unix/tkUnixButton.c (TkpDisplayButton): Added support for link relief. [RFE: 4348] * generic/tkOldConfig.c (Tk_ConfigureWidget): * generic/tkConfig.c (DoObjConfig): Added understanding of link relief, which is allowed only for widgets that have TK_OPTION_LINK_OK or TK_CONFIG_LINK_OK set for the "-relief" option. [RFE: 4348] * generic/tkButton.c: Added TK_OPTION_LINK_OK to "-relief" option for buttons. [RFE: 4348] * win/tkWinWm.c (EX_TRANSIENT_STYLE): Removed WS_EX_TOOLWINDOW style bit, so that transient windows have full-size titlebars (like the tk_getOpenFile dialog). * win/tkWinMenu.c (GetMenuSeparatorGeometry): Tweaked height requested for separator bars to be (linespace - (2*descent)) instead of just (linespace); this makes the separator occupy a more correct amount of vertical space. [Bug: 5303]. FossilOrigin-Name: 4194a8ac77bf8dfeaa5e9522117ac35c829e9897
* * README:hobbs2000-05-034-22/+22
| | | | | | | | | | | | | | | * generic/tk.h: * library/tk.tcl: * mac/README: * unix/README: * unix/configure.in: * unix/tk.spec: * win/README: * win/aclocal.m4: * win/configure.in: * win/makefile.vc: updated patchlevel to 8.4a1 FossilOrigin-Name: 8f7cbc1d2d96c6bcb39077da34bb659e49477384
* * README:core-8-3-1hobbs2000-04-261-2/+2
| | | | | | | | | * mac/README: * unix/README: * unix/tk.spec: * win/README: Updating URLs to reference dev.scriptics.com FossilOrigin-Name: 93369f5e99fa007528c89991f02235f14a3a5935
* extra careful quotinghobbs2000-04-251-2/+2
| | | FossilOrigin-Name: 280b94c1fb0879d059d501df9178704b54ed2ec5
* winhelp target improvementshobbs2000-04-251-1/+2
| | | FossilOrigin-Name: caa58dc9d101a7215e429f6b2d9902f8431f817c
* * unix/Makefile.in:hobbs2000-04-251-24/+28
| | | | | | * win/Makefile.in: makefile cleanup FossilOrigin-Name: e9e426d70cfe0bc2d2c210bd75e93296dccf1867
* * win/aclocal.m4: made SC_PROG_TCLSH search specifically forhobbs2000-04-212-10/+16
| | | | | | | | tclsh*.exe type files to find an executable. * win/Makefile.in: fixed up cleanup, winhelp, cat32 targets FossilOrigin-Name: 26bcc8a25462d5b9011315f529c5c3088e44a5d6
* * library/choosedir.tcl (::tk::dialog::file::chooseDir::Config):hobbs2000-04-191-23/+23
| | | | | | | | | | | * library/tkfbox.tcl (::tk::dialog::file::Config): removed the extraneous glob on -initialdir after file isdir already returned 1 and moved cd trick into this case as the else already uses [pwd]. [Bug: 5181] * win/winMain.c: moved extern call out of WinMain func FossilOrigin-Name: 363c75beb90525f9a7136a709b82fc3a43a9bf41
* * doc/WinViewable.3:ericm2000-04-191-10/+4
| | | | | | | | | | | | | | | * unix/mkLinks: Removed docs for Tk_IsViewable. * win/tkWinDialog.c: Removed calls to Tk_IsViewable. * generic/tkUtil.c: * generic/tkStubInit.c: * generic/tkDecls.h: * generic/tkCmds.c: * generic/tk.decls: Removed Tk_IsViewable function (it was not actually needed). FossilOrigin-Name: e6573914e2482a3c4a9f0cdfc307d2412ee6c8ee
* * README:hobbs2000-04-191-2/+2
| | | | | | | | | | | | | | | * generic/tk.h: * unix/configure.in: * unix/tk.spec: * win/configure.in: bumped to version 8.3.1 * library/msgbox.tcl (tkMessageBox): changed to use grid in some places, realign icon to anchor nw. * mac/tkMacScale.c: reverted tkMacScale.c to 1.5 equivalent (it was accidentally bumped forward). FossilOrigin-Name: 7eb9e57682eca7b5da89db7c783e152ba154a632
* * win/tkWinPointer.c: Changed Mod2Mask in TkWinGetModifierState toericm2000-04-192-4/+4
| | | | | | | | | | | | | | | | | | ALT_MASK, to fix some event problems [Bugs: 1160, 5088]. * win/tkWinX.c: Changed Mod2Mask in GetState to ALT_MASK, to fix some event problems [Bugs: 1160, 5088]. * generic/tkInt.h: Moved definition of ALT_MASK and META_MASK here so that it would be accessible from other modules than tkBind.c. * generic/tkBind.c: Added code in BindEvent to check for ALT_MASK and META_MASK in the event state field, as this field may not be set up with the correct display modifier mask bits if the XEvent structure was created by [event generate] or by the Windows X emulation. [Bugs: 1160, 5088]. FossilOrigin-Name: c62394546f5315ab8053ba1dc769ee48089d0bfb
* * win/tk.rc:redman2000-04-183-4/+4
| | | | | | | | * win/wish.rc: * win/wish.ico: Modified copyright dates in Windows resource files. Updated the icon for wish.exe. FossilOrigin-Name: 26654e19230f512083806d17c52beefb138bfd4e