summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* * unix/configure: Regen.mdejong2002-11-062-39/+59
| | | | | | | * unix/tcl.m4: Update from Tcl. * win/configure: Regen. * win/configure.in: Check that AR, RANLIB, and RC are found on the path when building with gcc.
* * win/winMain.c (Tcl_AppInit): Calls Registry_Init() anddavygrvy2002-11-044-108/+187
| | | | | | | | | | | | | Dde_Init() when STATIC_BUILD and TCL_USE_STATIC_PACKAGES macros are set. * win/makefile.vc: linkexten option now sets the TCL_USE_STATIC_PACKAGES macro which also adds the registry and dde static lib files to the link of the shell. [Patch 479697] * win/rules.vc: Matches the one from Tcl. * win/buildall.vc.bat: More useful commentary.
* * win/makefile.vc (TCLREGLIBNAME): Updated to registry 1.1.andreas_kupries2002-11-011-2/+2
|
* * win/configure: Regen.hobbs2002-10-192-15/+66
| | | | | | | | * win/tcl.m4 (SC_CONFIG_CFLAGS): Check for bug in Cygwin version of windres and work around that case by passing a POSIX path instead of a Windows native path. One can't always pass a POSIX path because the mingw native toolchain accepts only Windows native paths. (dejong)
* * win/tkWinPort.h: define OPEN_MAX only if not defined.hobbs2002-10-191-1/+3
| | | | [Patch #625472] (howell)
* * win/winMain.c (WinMain, main): remove obsolete SetMessageQueue callhobbs2002-10-191-21/+1
|
* * win/configure:hobbs2002-10-162-20/+54
| | | | * win/tcl.m4: Add --enable-shared=mem support.
* * generic/tkCanvPs.c (TkImageGetColor): corrected bogus use ofhobbs2002-10-101-56/+65
| | | | | | | | TkColormapData on Windows (Windows now requires RGB pixel data from image). * win/tkWinImage.c (XGetImage, XGetImageZPixmap): added support for generating ps for embedded widgets on canvases on Windows, tested for 8, 16, 24 and 32-bit depths (XGetImageZPixmap not used).
* * tests/canvPs.test: tests for canvas embedded window ps generationhobbs2002-10-101-26/+324
| | | | | | | | | | * generic/tkCanvWind.c (CanvasPsWindow): removed dead code loop. * generic/tkCanvas.h: moved TkColormapData struct to tkCanvPs.c * generic/tkCanvPs.c (TkImageGetColor): corrected bogus use of TkColormapData on Windows. Non-separated data may need correction as well. * win/tkWinImage.c (XGetImage, XGetImageZPixmap): added support for generating ps for embedded windows on canvases.
* * README: Bumped to version 8.4.1 to avoid confusiondgp2002-09-272-3/+3
| | | | | | | | | | | * generic/tk.h: of CVS snapshots with release 8.4.0. * unix/README: * unix/configure.in: * unix/tk.spec * win/configure.in: * unix/configure: autoconf * win/configure:
* 2002-09-18 Mumit Khan <khan@nanotech.wisc.edu>hobbs2002-09-274-31/+88
| | | | | | | | | | | | | | | | Added basic Cygwin support. * win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build. (SC_PATH_TKCONFIG): Likewise. (SC_PROG_TCLSH): Likewise. (SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin flags. Add -mwin32 to extra_cflags and extra_ldflags. Remove ``-e _WinMain@16'' from LDFLAGS_WINDOW. * win/configure: Regenerate. * win/tkWinPort.h (tchar.h): Do not include on Cygwin. (_T): Define for Cygwin. * win/winMain.c (main): Conditionally define.
* * win/Makefile.in (install-libraries): Added code section toandreas_kupries2002-09-041-2/+10
| | | | | | install the message catalogs. Copied same section from unix/Makefile.in and adapted it to the slightly different environment.
* correction to r1.19 fix to only incr inset when no image is usedhobbs2002-09-031-5/+7
|
* * tests/button.test: added button-14.1hobbs2002-09-021-61/+79
| | | | | | | * win/tkWinButton.c (TkpComputeButtonGeometry): correct Win button sizing to be equal for one-line buttons with -height of 0 or 1, as well as -height 0 buttons with empty text and no image, which should be the same as single-line text buttons. [Bug #565485]
* Bumped version number to 8.4.0hobbs2002-09-022-3/+3
|
* Fix for bug #582457: make radio and checkbuttons work like Windows whenmacosx_8_4_premerge_2002_08_31_trunkmacosx_8_4_merge_2002_08_30_trunkdrh2002-08-281-4/+31
| | | | -relief is sunken, -offrelief is flat, and -overrelief is raised.
* * win/Makefile.in: Removed dependence on the (parts of) thedgp2002-08-262-44/+4
| | | | | * win/winMain.c: tcltest executable on Windows. It was not used, and the dependency complicated the Makefile. [Bug 592638].
* * README: Bumped version number to 8.4b3 to distinguishmacosx_8_4_merge_2002_08_20_trunkdgp2002-08-202-3/+3
| | | | | | | | | | | | | | * generic/tk.h: HEAD from the 8.4b2 release. * unix/configure.in: * win/configure.in: * unix/tk.spec: * unix/configure: autoconf * win/configure: * generic/tk.h: Added compile-time check that the tcl.h header file #included by Tk 8.4 is one from Tcl 8.4. This is needed to be sure that new #defines like CONST84 are available. [Bug 597432].
* * unix/Makefile.in (install-binaries): simplified pkgIndex.tclhobbs2002-08-161-9/+9
| | | | | | file created on installation. * win/Makefile.in (install-binaries): corrected and simplified creation of pkgIndex.tcl file on installation.
* compilation, link fixesvincentdarley2002-08-143-6/+21
|
* Fix for Tk Bug #592201 "wm transient fails with two masters".jenglish2002-08-081-4/+4
|
* * win/configure:hobbs2002-08-082-4/+4
| | | | | * win/tcl.m4: added shell32 to libs for updated native Windows tk_chooseDirectory dialog.
* * win/tkWinMenu.c (TkpSetWindowMenuBar): fixed logic bug in whenhobbs2002-08-081-4/+3
| | | | to idle call ReconfigureWindowsMenu.
* * win/tkWinDialog.c: enabled use of the updated native Windowshobbs2002-08-081-7/+3
| | | | | directory browser (tk_chooseDirectory). This does require shell32.dll v4.71 or greater. [Patch #468139]
* * win/tkWinFont.c: Additional changes to fix CONST warnings ondgp2002-08-052-7/+7
| | | | * win/tkWinWM.c: Windows due to latest patch. Tks Vince Darley.
* Applied companion patch for Tcl Patch 585105,dgp2002-08-055-15/+15
| | | | | | | | | | | | | | | | | | | | | updating Tk to use Tcl 8.4's fully CONST-ified interface, and fully CONSTifying Tk at the same time. This patch includes purging Tk of its last direct access to interp->result. [Bug 589853] The substantial changes include copying event sequence strings into Tcl_DStrings in tkBind.c, and copying [text] indices into Tcl_DStrings because parsing them involved overwriting them. If this causes performance trouble, that can be resolved by further converting them to Tcl_Obj's. The #defines USE_NON_CONST and USE_COMPAT_CONST have the same effect for Tk as they do for Tcl. (They actually change tcl.h)
* Objectifed wm. [Patch #564521]pspjuth2002-07-251-1347/+2310
|
* * win/tkWinButton.c (TkpDisplayButton): corrected display of focushobbs2002-07-241-9/+10
| | | | | ring around the actual text when the button is a compound button. [Bug #583691]
* * unix/configure:mdejong2002-07-192-44/+46
| | | | | | | | | * unix/configure.in: * win/configure: * win/configure.in: Add AC_PREREQ(2.13) in an attempt to make it more clear that the configure scripts must be generated with autoconf version 2.13. [Tcl Bug 583573]
* code cleanupvincentdarley2002-07-171-38/+80
|
* * unix/Makefile.in:mdejong2002-07-161-2/+4
| | | | | * win/Makefile.in: Add a more descriptive warning in the event `make genstubs` needs to be rerun.
* WinWm fixesvincentdarley2002-07-161-20/+216
|
* re-add of the borland makefile. Submitted by Helmut Giese ↵davygrvy2002-07-161-0/+534
| | | | <hgiese@ratiosoft.com>.
* * Fixes for [Bug 581627].dgp2002-07-151-2/+2
| | | | | | | | * generic/tkTest.c: Test commands not supported on non-Unix platforms should not be defined there in the first place. * tests/constraints.tcl: Fixed "secureserver" constraint. * tests/unixWm.test: Some tests needed "unix" constraint. * win/tkWinWm.c: Typo in error message.
* * Bumped HEAD to version 8.4b2 in order to distinguish it fromdgp2002-07-142-3/+3
| | | | | the 8.4b1 release. Also extended LOCALES to cover all message catalogs.
* * win/tkWinDialog.c (Tk_ChooseDirectoryObjCmd): initializehobbs2002-07-111-4/+9
| | | | | utfTitle to NULL, add a few more notes about limitations of possible new Tk_ChooseDirectoryObjCmd function.
* * win/Makefile.in (install-binaries): Fix of troubled Makefileandreas_kupries2002-06-271-7/+7
| | | | | quoting introduced by [Patch 521356] causing the installed to fail.
* * Expanded install-binaries target to create and install adgp2002-06-261-3/+17
| | | | pkgIndex.tcl file to enable Tk as a loadable package [Patch 521356]
* * tests/winWm.test: Verify that both an unmappedmdejong2002-06-241-3/+13
| | | | | | | | | | | | | | | | | | | | and already mapped toplevel are raised and receive the focus when deiconified. * tests/wm.test: Add wm deiconify tests. Check that a toplevel that has never been mapped is not mapped by the deiconify command since it should be done at idle by MapFrame. * win/tkWinWm.c (Tk_WmCmd): Check the WM_NEVER_MAPPED flag while processing the wm deiconify command. The WM_UPDATE_PENDING flag should never be set when WM_NEVER_MAPPED is set, but double check so that the implementation is more explicit and matches the comment just above. Return without invoking TkWmRestackToplevel or TkSetFocusWin on a toplevel that has never been mapped. This fixes a bug where a toplevel is mapped with the wrong size and is then resized by the idle call to MapFrame. [Tk bug 233150]
* * win/tkWinWm.c (UpdateGeometryInfo): remove the check for a nullhobbs2002-06-241-3/+2
| | | | | | | wrapper introduced in r1.41 on 2002-06-15 because it prevented geometry setting from taking effect if the window was not on the screen. Another check may go in it's place as IsIconic and IsZoomed should not be passed NULL.
* * tests/wm.test: Remove invalid minsize test. Add updatemdejong2002-06-241-4/+4
| | | | | | | | | | calls to wm transient tests so that idle handlers get run. This is needed to get the tests to pass under Win32. * unix/tkUnixWm.c (WmWaitMapProc): Move the special transient withdrawn check into the if body to make it easier to set a breakpoint on this test inside a debugger. No functional changes. * win/tkWinWm.c (WmWaitVisibilityOrMapProc): Ditto.
* * doc/wm.n: TIP #95 Windows implementation andhobbs2002-06-221-51/+49
| | | | | | | | * mac/tkMacWm.c (Tk_WmCmd): docs with mac and unix stubs. * unix/tkUnixWm.c (Tk_WmCmd): * win/tkWinWm.c (Tk_WmCmd): * tests/unixWm.test: * tests/winWm.test: more wm attr tests will be needed.
* * win/tkWinEmbed.c (EmbedWindowDeleted): added a check for a nullhobbs2002-06-221-1/+3
| | | | containerPtr. The core of this bug is likely elsewhere. [Bug #476176]
* * tests/wm.test: Add tests to make sure a withdrawnmdejong2002-06-221-2/+29
| | | | | | | | | | | transient does not get remapped by state changes in the master. * unix/tkUnixWm.c (Tk_WmCmd, WmWaitMapProc): * win/tkWinWm.c (Tk_WmCmd, WmWaitVisibilityOrMapProc): Add a WM_TRANSIENT_WITHDRAWN flag that gets set by the withdraw, deiconify, or state wm subcommands. Check this flag before mapping a transient when processing a MapNotify event. [Tk bug 570764]
* Regen.dkf2002-06-221-1/+1
|
* Tk patchlevel bumped to 8.4b1 in preparation for release.dkf2002-06-221-2/+2
|
* * doc/text.n: TIP #104 implementation which generalizes thehobbs2002-06-213-3/+7
| | | | | | | | | | | | | | | * generic/tkText.c: undo/redo stack to not be tied solely to the * generic/tkText.h: text widget. The APIs are still private. * generic/tkUndo.c: This also adds a stack limiting ability and * generic/tkUndo.h: a -maxundo option to the text widget (in * library/text.tcl: addition to the options from TIP #26) should * mac/tkMacDefault.h: users want to limit the undo/redo stack * tests/text.test: (should not be necessary in most cases). * unix/Makefile.in: [Patch #554763] (callewart) * unix/tkUnixDefault.h: * win/Makefile.in: * win/makefile.vc: * win/tkWinDefault.h:
* * doc/listbox.n:hobbs2002-06-211-1/+2
| | | | | | | | * generic/tkListbox.c (DisplayListbox): * mac/tkMacDefault.h: TIP #94 implementation adding -activestyle * tests/listbox.test: option to the listbox. This adds the ability * unix/tkUnixDefault.h: to have listboxes look native on Windows, and * win/tkWinDefault.h: "nicer" elsewhere using the 'dotbox' style.
* * generic/tkBind.c (TkBindDeadWindow):mdejong2002-06-191-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle case where Tk_DestroyWindow is invoked on clipboard and send windows. * generic/tkClipboard.c (TkClipCleanup): Invoke Tk_DestroyWindow to cleanup the dispPtr->clipWindow. Call Tcl_Preserve and Tcl_Release on the window to avoid an invalid memory ref on shutdown. * generic/tkEvent.c (Tk_HandleEvent): Panic if XCreateIC is invoked twice for the same window. This should never happen, the check were just added to make sure it does not since this could lead to crashes in XCloseIM. * generic/tkFocus.c (TkFocusDeadWindow): Handle case where Tk_DestroyWindow is invoked on clipboard and send windows. * generic/tkOption.c (TkOptionDeadWindow): Ditto. * generic/tkWindow.c (TkCloseDisplay): Move deletion of dispPtr->winTable after TkpCloseDisplay call since Tk_DestroyWindow uses it and could be called by TkpCloseDisplay for clipboard/send windows. Also invoke ckfree for the dispPtr instead of doing it in TkpCloseDisplay. (Tk_DestroyWindow): Check for a null winPtr->mainPtr before doing certain cleanup tasks so the we can invoke Tk_DestroyWindow on clipboard and send windows. We need to do this so that XDestroyIC will get invoked for the input contexts of each window. * mac/tkMacXStubs.c (TkpCloseDisplay): Don't free the displayPtr since this is now done in TkCloseDisplay. * unix/tkUnixEvent.c (TkpCloseDisplay, OpenIM): Remove conditional compilation around calls to XCloseIM since I am confident that the crashes related to input contexts has been fixed. Don't free the displayPtr since this is now done in TkCloseDisplay. * unix/tkUnixSend.c (TkSendCleanup): Invoke the Tk_DestroyWindow method to cleanup the special send window. This will call XDestroyIC and thereby avoid a crash in XCloseIM. The send window needs to be Tcl_Preserve and Tcl_Release to avoid an invalid memory ref on shutdown. * win/tkWinX.c (TkpCloseDisplay): Don't free the displayPtr since this is now done in TkCloseDisplay.
* Added TIP#48 style engine implementationdkf2002-06-182-2/+4
| | | | Frederic Bonnet to supply docs+tests as soon as possible.