summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* * tests/canvText.test:mdejong2004-08-091-2/+2
| | | | | | | | | * win/tkWinFont.c (Tk_MeasureChars): Fix for text wrapping problem that appeared using canvas text under Win32. A long wrapping string that had leading spaces was being incorrectly wrapped. This change makes the Win32 implementation behave the same as the Unix implementation. [Patch 1006286]
* * unix/Makefile.in:das2004-07-201-1/+22
| | | | | * win/Makefile.in: added 'install-private-headers' makefile target to allow optionally installing private tk headers. [Tcl FR 922727]
* TIP#158 implementation; keypad keys on Win are now distinguishable.dkf2004-07-051-1/+8
|
* Fix for #742882 "Potential division by zero in gridded wm geometry"jenglish2004-06-161-5/+16
|
* win/tkWinButton.c: Add a 3D highlight to disabled *buttons anda_kovalenko2004-06-161-1/+25
| | | | labels, the same way as it's now done for disabled menu entries.
* * win/tkWinWm.c (UpdateWrapper): Let overrideredirect'ed window'sa_kovalenko2004-06-121-2/+10
| | | | | | wrapper be the child of desktop window, thus making it to behave more similarly to X11 Override Redirect. Esp. useful for combobox-like megawidgets.
* Finish off the TIP#152 implementation with Win implementation, tests & docs.dkf2004-05-241-12/+29
|
* Fixed bug 767176chengyemao2004-05-081-3/+3
|
* * win/tkWinFont.c (FindSubFontForChar): corrections to dkf patchhobbs2004-05-051-14/+16
| | | | to handle subFontPtrPtr in EnumFontFamilies callback.
* Fix FMR in subfont handling on Windows. [Bug 618872]dkf2004-05-051-15/+31
|
* * win/tkWinMenu.c, unix/tkUnixMenu.c (DrawMenuEntryLabel): placehobbs2004-05-031-16/+12
| | | | | images of compound menu entries in indicator space if not a radio of checkbutton. [Bug #756952] (eserte)
* * win/tkWinX.c: fix drawing of unicode chars in menuhobbs2004-05-033-5/+12
| | | | | * win/tkWinInt.h (TkWinProcs): titles. [Bug #904371] (riefenstahl) * win/tkWinMenu.c (ReconfigureWindowsMenu):
* * generic/tkClipboard.c: Move TkClipCleanup from tkClipboard.chobbs2004-05-031-16/+49
| | | | | | | | * macosx/tkMacOSXXStubs.c: to being implemented in a platform * unix/tkUnixEvent.c: specific manner. The cleanup order was * win/tkWinX.c: bad at least on Windows, where we reset/cleared display info that was still needed for the clipboard to render. [Bug #939389, #822002, #732662]
* * generic/tkPort.h:das2004-04-241-2/+2
| | | | | | | | | * unix/Makefile.in: * win/makefile.bc: * win/Makefile.in: followup on tcl header reform [FR 922727]: removed use of relative #include paths in tkPort.h to allow installation of private headers outside of tk source tree; added tcl plaform source dir to compiler header search path.
* * generic/tkPort.h:das2004-04-241-5/+11
| | | | | | | | * unix/Makefile.in: * win/Makefile.in: followup on tcl header reform [FR 922727]: removed use of relative #include paths in tkPort.h to allow installation of private headers outside of tk source tree; added tcl plaform source dir to compiler header search path.
* * README: Bump version to 8.5a2.dgp2004-03-262-3/+3
| | | | | | | | | | | * generic/tk.h: * macosx/Wish.pbproj/project.pbxproj: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.57 * win/configure:
* Checks MSDevDir, not MSVCDir envar.davygrvy2004-03-092-5/+5
|
* * win/tkWin32Dll.c: Add variables needed whenmdejong2004-03-051-1/+10
| | | | | compiling with mem debug under Mingw. This fixes the checking from 2003-12-25.
* update patchlevel to 8.5a1hobbs2004-03-022-3/+3
|
* * doc/checkbutton.n: TIP#110 implementationhobbs2004-02-182-4/+12
| | | | | | | | | | | | | | | * doc/radiobutton.n: Tristate Checkbutton and Radiobuttons * generic/tkButton.c: * generic/tkButton.h: * library/demos/check.tcl: * library/demos/radio.tcl: * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDefault.h: * tests/button.test: * unix/tkUnixButton.c: * unix/tkUnixDefault.h: * win/tkWinButton.c: * win/tkWinDefault.h:
* * win/tkWinDialog.c (ChooseDirectoryValidateProc): create a pidlhobbs2004-02-131-7/+40
| | | | | for -initialdir if we have a UNC path because BFFM_SETSELECTION doesn't support UNC paths in strings.
* * win/makefile.vc:davygrvy2004-02-084-19/+45
| | | | | | * win/rules.vc: * win/rc/tk.rc: * win/rc/wish.rc: Now supports the 'unchecked' option when building.
* #include <malloc.h> has no purpose.davygrvy2004-02-021-2/+1
|
* * win/lamp.bmp (deleted): use win/rc/lamp.bmp instead.davygrvy2004-02-011-0/+0
|
* * win/winMain.c: Removed our custom setargv() in favor ofdavygrvy2004-02-011-165/+8
| | | | the exported __argc and __argv exported by the c-runtime.
* * win/rc/tk.rc:davygrvy2004-02-012-4/+4
| | | | * win/rc/wish.rc: General clean-up.
* * win/makefile.vc: General clean-up.davygrvy2004-02-011-52/+87
|
* sync'd to Tcl.davygrvy2004-02-012-15/+29
|
* * win/tkWinSendCom.c: Placed the requirement for the special COMdavygrvy2004-01-152-5/+11
| | | | | | | | | | libraries into the object file itself with #paragma comment (lib, ...) when built with VC++. This will simplify linking for users of the static library. uuid.lib is required for VC5.2, but is implicit with VC6. * win/makefile.vc: Removed 'ole32.lib oleaut32.lib uuid.lib' from $(baselibs).
* uuid.lib needed by tkWinSendvincentdarley2004-01-131-2/+2
|
* * generic/tk3d.c: All uses of 'panic' (the macro) changeddavygrvy2004-01-1312-44/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkBind.c: to 'Tcl_Panic' (the function). The #define * generic/tkBitmap.c: of panic in tcl.h clearly states it is * generic/tkCanvArc.c: deprecated in the comments. * generic/tkCanvBmap.c: [Tcl Patch 865264] * generic/tkCanvImg.c: * generic/tkCanvLine.c: * generic/tkCanvPoly.c: * generic/tkCanvText.c: * generic/tkCanvWind.c: * generic/tkColor.c: * generic/tkConfig.c: * generic/tkCursor.c: * generic/tkError.c: * generic/tkEvent.c: * generic/tkFocus.c: * generic/tkFont.c: * generic/tkFrame.c: * generic/tkGC.c: * generic/tkGrid.c: * generic/tkImgBmap.c: * generic/tkImgPhoto.c: * generic/tkImgUtil.c: * generic/tkMenu.c: * generic/tkObj.c: * generic/tkPack.c: * generic/tkPlace.c: * generic/tkRectOval.c: * generic/tkSelect.c: * generic/tkText.c: * generic/tkTextBTree.c: * generic/tkTextDisp.c: * generic/tkTextImage.c: * generic/tkTextIndex.c: * generic/tkTextMark.c: * generic/tkTextWind.c: * generic/tkVisual.c: * generic/tkWindow.c: * mac/tkMacAppInit.c: * mac/tkMacAppearanceStubs.c: * mac/tkMacButton.c: * mac/tkMacDraw.c: * mac/tkMacEmbed.c: * mac/tkMacFont.c: * mac/tkMacInit.c: * mac/tkMacMenus.c: * mac/tkMacPort.h: * mac/tkMacSubwindows.c: * mac/tkMacWm.c: * mac/tkMacXStubs.c: * macosx/tkMacOSXEmbed.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXPort.h: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * unix/tkUnix3d.c: * unix/tkUnixColor.c: * unix/tkUnixEmbed.c: * unix/tkUnixEvent.c: * unix/tkUnixFocus.c: * unix/tkUnixFont.c: * unix/tkUnixSelect.c: * unix/tkUnixSend.c: * unix/tkUnixWm.c: * win/tkWin3d.c: * win/tkWinButton.c: * win/tkWinColor.c: * win/tkWinDialog.c: * win/tkWinDraw.c: * win/tkWinEmbed.c: * win/tkWinFont.c: * win/tkWinPixmap.c: * win/tkWinPointer.c: * win/tkWinScrlbr.c: * win/tkWinWm.c: * win/tkWinX.c:
* * win/rules.vc: Sync'd to Tcl, respects the CHECKS=nodepdavygrvy2004-01-131-1/+20
| | | | commandline macro and was used to verify the Tcl_Panic change above.
* * win/lamp.bmp (deleted):davygrvy2004-01-131-0/+0
| | | | * win/rc/lamp.bmp (new): Moved.
* * win/rc/tk.rc:davygrvy2004-01-134-24/+19
| | | | | | | * win/rc/tk_base.rc: * win/rc/wish.rc: * win/makefile.vc: Refreshed how the resource files are built. Should be a bit easier for people linking with a static Tk library.
* disabled submenu fixvincentdarley2004-01-071-12/+23
|
* * win/tkWinMenu.c (ReconfigureWindowsMenu,mdejong2003-12-281-26/+43
| | | | | | | | | | | | | TkWinHandleMenuEvent, DrawMenuEntryArrow): Fix drawing of a disabled cascade menu arrow. Tk was displaying a disabled cascade menu arrow in black instead of gray. This was caused by a bug in the Win32 code for user drawn menu items. The fix is to avoid telling Windows that the menu item is a cascade type and then draw the gray arrow bitmap on our own. [Patch 865842]
* * win/tkWinMenu.c (DrawWindowsSystemBitmap):mdejong2003-12-281-2/+2
| | | | | | | | | | Fix a strange Win32 bug where the logical coordinates returned by a call to DPtoLP are wrong the first time a menu is posted. This bug manifested itself by drawing the bitmap in the wrong place in a menu. The fix was to pass the newly created DC instead of the DC from the window.
* * win/tkWinMenu.c (DrawMenuEntryAccelerator,mdejong2003-12-261-2/+14
| | | | | | | | | DrawMenuEntryLabel): When drawing the label text and accelerator text for a disabled menu entry be sure to draw a 3D highlight. The only exception to this is when a disabled menu entry is highlighted, in that case do not draw a 3D hightlight.
* * win/tkWinMenu.c (DrawMenuEntryAccelerator,mdejong2003-12-261-13/+59
| | | | | | | | DrawMenuEntryArrow): Move the unused menu arrow drawing code in DrawMenuEntryAccelerator into a new function named DrawMenuEntryArrow. This makes no functional change but it will make it easier to fix things in the future.
* * win/tkWin32Dll.c (DllMain): Add HAVE_NO_SEHmdejong2003-12-261-1/+71
| | | | | | blocks in place of __try and __except statements to support gcc builds. This is needed after David's changes on 2003-12-21. [Tcl patch 858493]
* prevent static buffer overflow (Doh!)davygrvy2003-12-231-4/+4
|
* fixed static buffer overflowdavygrvy2003-12-231-2/+2
|
* Uses new features of nmakehlp to get the version strings from header filesdavygrvy2003-12-231-7/+13
| | | | without the use of hardcoded values.
* sync'd to Tcl.davygrvy2003-12-232-14/+108
|
* * generic/tkEvent.c: Added three new functions: TkCreateExitHandler,davygrvy2003-12-215-13/+42
| | | | | | | | | | | | | | | | | * generic/tkInt.h: TkDeleteExitHandler, and TkFinalize. This adds * generic/tkMenu.c: an insertion point so Tk's exit handlers can be * generic/tkWindow.c: called on their own from tk85.dll's DllMain * mac/tkMacButton.c: for DLL_PROCESS_DETACH. These are private to * unix/tkUnixEvent.c: the binary and not exported. It is possible * win/tkWin32Dll.c: the Windows OS can unload Tk _prior_ to Tcl * win/tkWinEmbed.c: under some conditions such as ExitProcess(). * win/tkWinMenu.c: This avoids a dangling pointer problem when Tcl * win/tkWinX.c: does Tcl_Finalize after Tk has been unloaded. * win/winMain.c: DllMain's DLL_PROCESS_DETACH now protected with SEH as DeleteWindowsExitProc is causing an exception of its own under some teardown conditions. AT&T assembly syntax has not been added for MinGW yet. [Tcl Patch 858493]
* * (Tk_MeasureChars): Fix bugs shown by the test suitecc_benny2003-12-181-18/+29
| | | | [#861777]. Clarify comment on TK_AT_LEAST_ONE.
* * win/rc/wish.exe.manifest: It seems that Windows XP insists on apatthoyts2003-12-161-1/+1
| | | | | strict format for the version value. 8.5.a0 or 8.5.0 results in an unloadable executable -- must be 4 numbers.
* * win/tkWinSend.c: Removed some misleading comments (bug #846134)patthoyts2003-12-161-10/+22
| | | | and disabled the send package until bug #858822 is resolved.
* Check for TK_ALREADY_DEAD to avoid handling of dead windows.a_kovalenko2003-12-161-2/+2
|
* opps.. paren typodavygrvy2003-12-161-3/+3
|