Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | [Bug #3239768] tk8.4.19 (and later) WIN32 menu font support |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | core-8-4-branch |
Files: | files | file ages | folders |
SHA1: |
2423937d803d56d9607712110b6fba5a |
User & Date: | jan.nijtmans 2011-03-24 08:11:32 |
Context
2011-03-26
| ||
06:35 | The -debug:full option is not supported when using the modern versions of link.exe included with MSVC, use -debug instead check-in: 970fa676 user: jan tags: core-8-4-branch | |
2011-03-24
| ||
08:50 | [Bug #3239768] tk8.4.19 (and later) WIN32 menu font support. check-in: 25270cde user: jan.nijtmans tags: core-8-5-branch | |
08:11 | [Bug #3239768] tk8.4.19 (and later) WIN32 menu font support check-in: 2423937d user: jan.nijtmans tags: core-8-4-branch | |
2011-03-11
| ||
23:47 | SEH-emulation for AMD64 mingw-w64 does not accept _WIN32_IE < 0x0501 Merged --cherrypick from core-8-5-branch (2010-12-13, f4ecadb40d) remove conflicting definition of timezone struct check-in: 5b16e78f user: jan.nijtmans tags: core-8-4-branch | |
Changes
Changes to ChangeLog.
|
| > > > > > | | 1 2 3 4 5 6 7 8 9 10 11 12 13 | 2011-03-24 Jan Nijtmans <[email protected]> * win/tkWinMenu.c: [Bug #3239768] tk8.4.19 (and later) WIN32 menu font support. 2011-03-12 Jan Nijtmans <[email protected]> * win/tkWin32Dll.c: SEH-emulation for AMD64 * win/tkWinX.c: mingw-w64 does not accept _WIN32_IE < 0x0501 Merged --cherrypick from core-8-5-branch (2010-12-13, f4ecadb40d) * win/tkWinPort.h: remove conflicting definition of timezone struct 2011-03-11 Jan Nijtmans <[email protected]> |
︙ | ︙ | |||
288 289 290 291 292 293 294 | 2007-12-13 Jeff Hobbs <[email protected]> * generic/tkMenubutton.c (ConfigureMenuButton): trace the -textvariable even if an image exists as it may use -compound. 2007-12-12 Jeff Hobbs <[email protected]> | | | | | | | 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 | 2007-12-13 Jeff Hobbs <[email protected]> * generic/tkMenubutton.c (ConfigureMenuButton): trace the -textvariable even if an image exists as it may use -compound. 2007-12-12 Jeff Hobbs <[email protected]> * generic/tkText.c (DeleteChars, TextEditCmd, updateDirtyFlag): * tests/text.test (text-25.10.1,25.11.[12]): Don't require [update idle] to trigger Modified event [Bug 1809538] Modified virtual event should only fire on state change [Bug 1799782] Make sure we delete chars before triggering <<Modified>> [Bug 1737288] 2007-12-05 Jeff Hobbs <[email protected]> * win/tkWinInt.h: remove CS_CLASSDC (not recommended for any apps now) * win/tkWinX.c: and simplify WNDCLASS to one style. * win/tkWinWm.c: Reduce wrapper update for exStyle to toolwindow change only and set WS_EX_LAYERED as sticky (once set on a window, do not remove it) to reduce alpha transition flicker. * win/tkWinDraw.c: Applied [Patch 1723362] for transparent bitmaps. 2007-11-26 Kevin Kenny <[email protected]> Backport from HEAD of [Bug #1822391]: * generic/tkImgPPM.c (StringReadPPM): Corrected a comparison whose sense was reversed that resulted in reading beyond the end of the input buffer on malformed PPM data. [Bug #1822391] * tests/imgPPM.test (imgPPM-4.1): Added test case that exercises [Bug #1822391]. 2007-11-09 Daniel Steffen <[email protected]> Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09: * macosx/tkMacOSXCarbonEvents.c (InstallStandardApplicationEventHandler): on Mac OS X Leopard, replace the 2005-11-27 approach of installing the standard application handler |
︙ | ︙ | |||
381 382 383 384 385 386 387 | * library/bgerror.tcl: fix background of detail text on Aqua. * library/console.tcl: sync aqua font size with HEAD. * library/demos/widget: Aqua GOOBE. * macosx/tkMacOSXEvent.c (TkMacOSXProcessCommandEvent): fix boolean arg | | | 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 | * library/bgerror.tcl: fix background of detail text on Aqua. * library/console.tcl: sync aqua font size with HEAD. * library/demos/widget: Aqua GOOBE. * macosx/tkMacOSXEvent.c (TkMacOSXProcessCommandEvent): fix boolean arg * macosx/tkMacOSXColor.c (GetThemeColor): improve translation of RGB pixel values into RGBColor. * library/demos/widget: increase height of main window text widget to use more of the available vertical space. |
︙ | ︙ | |||
712 713 714 715 716 717 718 | * macosx/tkMacOSXInt.h: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDraw.c: factor out clip clearing in QD ports; * macosx/tkMacOSXEntry.c: formatting cleanup. * unix/configure.in (Darwin): link the Tk and Wish plists into their | | | | 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 | * macosx/tkMacOSXInt.h: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDraw.c: factor out clip clearing in QD ports; * macosx/tkMacOSXEntry.c: formatting cleanup. * unix/configure.in (Darwin): link the Tk and Wish plists into their binaries in all cases; fix 64bit arch removal in fat 32&64bit builds. * unix/tcl.m4 (Darwin): fix CF checks in fat 32&64bit builds. * unix/configure: autoconf-2.13 2007-06-05 Donal K. Fellows <[email protected]> * doc/photo.n: Clarified the fact that base64 support for the -data option is not universal. [Bug 1731348] (matzek) |
︙ | ︙ | |||
1066 1067 1068 1069 1070 1071 1072 | * macosx/tkMacOSXXStubs.c (TkMacOSXDisplayChanged): add maximal window bounds field to Screen record (in ext_data), computed as the union of available window positioning bounds of all graphics devices (displays). * macosx/tkMacOSXBitmap.c: fix macRoman encoding leak. * macosx/tkMacOSXCursor.c: | | | 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 | * macosx/tkMacOSXXStubs.c (TkMacOSXDisplayChanged): add maximal window bounds field to Screen record (in ext_data), computed as the union of available window positioning bounds of all graphics devices (displays). * macosx/tkMacOSXBitmap.c: fix macRoman encoding leak. * macosx/tkMacOSXCursor.c: * macosx/tkMacOSXDebug.c (TkMacOSXCarbonEventToAscii): use static * macosx/tkMacOSXDebug.h: buffer to simplify callers; const fixes. * macosx/tkMacOSXBitmap.c: use more efficient QDSwapPort() instead of * macosx/tkMacOSXButton.c: GetPort()/SetPort()/GetGWorld()/SetGWorld(). * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXFont.c: |
︙ | ︙ | |||
1103 1104 1105 1106 1107 1108 1109 | * macosx/tkMacOSXMenus.c: remove now useless call to TkMacOSXHandleTearoffMenu(); use \x.. quoting for non-latin1 macroman literar chars to allow file to be edited as utf-8. * macosx/tkMacOSXScale.c: replace TrackControl() by modern * macosx/tkMacOSXScrlbr.c: HandleControlClick() API (using new TkMacOSXModifierState()). | | | 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 | * macosx/tkMacOSXMenus.c: remove now useless call to TkMacOSXHandleTearoffMenu(); use \x.. quoting for non-latin1 macroman literar chars to allow file to be edited as utf-8. * macosx/tkMacOSXScale.c: replace TrackControl() by modern * macosx/tkMacOSXScrlbr.c: HandleControlClick() API (using new TkMacOSXModifierState()). * macosx/tkMacOSXInt.h: move all constant #defines needed to * macosx/tkMacOSXColor.c: support building on older OS X releases * macosx/tkMacOSXEvent.h: to a central location in tkMacOSXInt.h. * macosx/tkMacOSXFont.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMenus.c: |
︙ | ︙ | |||
1595 1596 1597 1598 1599 1600 1601 | 2006-06-15 Don Porter <[email protected]> * changes: changes to start prep for an 8.4.14 release. 2006-06-15 Pat Thoyts <[email protected]> | | | 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 | 2006-06-15 Don Porter <[email protected]> * changes: changes to start prep for an 8.4.14 release. 2006-06-15 Pat Thoyts <[email protected]> * win/makefile.vc: Sync with tcl to enable building with * win/rules.vc: VC8 (VS2005 C compiler) * win/nmakehlp.c: 2006-06-14 Don Porter <[email protected]> * generic/tkScale.c: Revised variable writing logic to account for [scale]'s design that it deals with its value as a formatted |
︙ | ︙ | |||
1624 1625 1626 1627 1628 1629 1630 | * generic/tkMain.c: Added Tcl_Preserve() call on the master interp as crash protection against any Tcl_DeleteInterp() call that might happen. 2006-06-05 Don Porter <[email protected]> | | | 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 | * generic/tkMain.c: Added Tcl_Preserve() call on the master interp as crash protection against any Tcl_DeleteInterp() call that might happen. 2006-06-05 Don Porter <[email protected]> * generic/tkInt.h: Thread safety for the data structures of * generic/tkConsole.c: the wish [console]. [Bug 1188340]. 2006-06-01 Don Porter <[email protected]> * generic/tkConsole.c: Added Tcl_RegisterChannel() calls to bump the refcount of channels passed to Tcl_SetStdChannel(). This prevents early free-ing of the channels that leads to crashes. [Bug 912571]. |
︙ | ︙ | |||
1737 1738 1739 1740 1741 1742 1743 | * macosx/tkMacOSXMouseEvent.c (XQueryPointer): implement return of window-local pointer position. * macosx/tkMacOSXInt.h: use improvements above to avoid calls to * macosx/tkMacOSXKeyEvent.c: GlobalToLocal() when the current port might * macosx/tkMacOSXMenu.c: not be set correctly. May fix [Bug 1243318] | | | 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 | * macosx/tkMacOSXMouseEvent.c (XQueryPointer): implement return of window-local pointer position. * macosx/tkMacOSXInt.h: use improvements above to avoid calls to * macosx/tkMacOSXKeyEvent.c: GlobalToLocal() when the current port might * macosx/tkMacOSXMenu.c: not be set correctly. May fix [Bug 1243318] * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * tkAboutDlg.r: update copyright. * macosx/tkMacOSXCarbonEvents.c: sync with HEAD * macosx/tkMacOSXDebug.c: |
︙ | ︙ | |||
1792 1793 1794 1795 1796 1797 1798 | * generic/tkBind.c (Tk_BindEvent, ChangeScreen): replace Tcl_GlobalEval with more efficient Tcl_EvalEx. * win/tkWinEmbed.c (TkpGetOtherWindow): do not panic if no window * win/tkWinWm.c (UpdateGeometryInfo): is found - handle it in * unix/tkUnixEmbed.c (TkpGetOtherWindow): the caller. [Bug 1212056] | | | | 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 | * generic/tkBind.c (Tk_BindEvent, ChangeScreen): replace Tcl_GlobalEval with more efficient Tcl_EvalEx. * win/tkWinEmbed.c (TkpGetOtherWindow): do not panic if no window * win/tkWinWm.c (UpdateGeometryInfo): is found - handle it in * unix/tkUnixEmbed.c (TkpGetOtherWindow): the caller. [Bug 1212056] * unix/tkUnixWm.c (Tk_CoordsToWindow, UpdateGeometryInfo): 2006-04-11 Daniel Steffen <[email protected]> * changes: added latest aqua bug fixes. * macosx/tkMacOSXDialog.c (Tk_MessageBoxObjCmd): added standard Escape key binding for msgbox cancel buttons [Patch 1193614], whitespace. * macosx/tkMacOSXCarbonEvents.c: handle kEventCommandUpdateStatus * macosx/tkMacOSXEvent.c: carbon event to dynamically enable the 'Preferences' app menu item when proc [::tk::mac::ShowPreferences] is defined. [Bug 700316] * macosx/tkMacOSXHLEvents.c: call ::tk::mac::* procs for all * macosx/tkMacOSXWindowEvent.c: registered appleevents [FR 1105284], implement print applevent handling, style/whitespace cleanup. * macosx/tkMacOSXDraw.c (TkMacOSXInitCGDrawing): prevent multiple init. * macosx/tkMacOSXInt.h: Implemented 'zoomed' window state * macosx/tkMacOSXWindowEvent.c: handling for TkAqua, via titlebar * macosx/tkMacOSXWm.c: widget clicks as well as [wm state]. * doc/wm.n: [Bug 1073456] |
︙ | ︙ | |||
1838 1839 1840 1841 1842 1843 1844 | values, implement window dragging & growing in background (with Command key down) and by fronting clicks [Bug 934524], use correct button & modifier state API when application is in background (also in TkMacOSXButtonKeyState). * macosx/tkMacOSXWm.c (TkMacOSXGrowToplevel): ensure QD port is set correctly before using API relying on it. | | | | | | 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 | values, implement window dragging & growing in background (with Command key down) and by fronting clicks [Bug 934524], use correct button & modifier state API when application is in background (also in TkMacOSXButtonKeyState). * macosx/tkMacOSXWm.c (TkMacOSXGrowToplevel): ensure QD port is set correctly before using API relying on it. 2006-04-06 Vince Darley <[email protected]> * macosx/tkMacOSXMouseEvent.c: now that [wm attributes -titlepath] works correctly, add OS support for dragging proxy icons and using the titlepath menu. 2006-04-06 Daniel Steffen <[email protected]> * macosx/tkMacOSXWm.c (WmAttributesCmd, WmIconbitmapCmd): fix errors in setting/removing window proxy icons via [wm attributes -titlepath] and [wm iconbitmap], use HIWindow API on Tiger or later. [Bug 1455241] * unix/tcl.m4: remove TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING define on Darwin. [Tcl Bug 1457515] * unix/configure: autoconf-2.13 2006-04-05 Jeff Hobbs <[email protected]> * win/tkWinMenu.c (FreeID, TkpNewMenu, MenuExitHandler) (MenuThreadExitHandler, TkpMenuInit, TkpMenuThreadInit): rework Windows menu init/finalization to better respect per-process and per-thread boundaries. * win/tkWinWm.c (WmProc): pass WM_QUERYENDSESSION message to Tk as WM_SAVE_YOURSELF wm protocol callback. |
︙ | ︙ | |||
2063 2064 2065 2066 2067 2068 2069 | * generic/tkImgBmap.c (ImgBmapConfigureInstance): Force creation of new Pixmaps before deletion of old ones to prevent stupid caching problems. [Bug 480862] 2006-02-09 Daniel Steffen <[email protected]> * generic/tk.decls: fix signature of TkMacOSXInvalClipRgns | | | | | 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 | * generic/tkImgBmap.c (ImgBmapConfigureInstance): Force creation of new Pixmaps before deletion of old ones to prevent stupid caching problems. [Bug 480862] 2006-02-09 Daniel Steffen <[email protected]> * generic/tk.decls: fix signature of TkMacOSXInvalClipRgns * generic/tkPlatDecls.h: to use Tk_Window instead of internal * macosx/tkMacOSXSubwindows.c: type TkWindow (which led to any include * macosx/tkMacOSXWindowEvent.c: of public header tkMacOSX.h requiring * macosx/tkMacOSXWm.c: prior include of tkInt.h). * generic/tk.h: move TkAqua specific REDO_KEYSYM_LOOKUP define * macosx/tkMacOSXPort.h: out of tk.h into platform header. 2006-01-25 Don Porter <[email protected]> * library/bgerror.tcl: Updates to use Tcl 8.4 features. [Patch 1237759] * library/button.tcl: |
︙ | ︙ | |||
2104 2105 2106 2107 2108 2109 2110 | 2006-01-23 Daniel Steffen <[email protected]> * unix/configure: minor fix to Darwin specific code removing * unix/configure.in: 64bit flags from CFLAGS for Tk build. 2006-01-20 Joe English <[email protected]> | | | 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 | 2006-01-23 Daniel Steffen <[email protected]> * unix/configure: minor fix to Darwin specific code removing * unix/configure.in: 64bit flags from CFLAGS for Tk build. 2006-01-20 Joe English <[email protected]> * generic/tkEvent.c, unix/tkUnixEvent.c: XIM fixes [See #905830, patch tk84-xim-fixes.patch]. + Revert 2005-12-05 patch disabling XIM when SCIM in use; + Make sure all X events get passed to XFilterEvent, including those without a corresponding Tk window. 2006-01-10 Daniel Steffen <[email protected]> |
︙ | ︙ | |||
2194 2195 2196 2197 2198 2199 2200 | * macosx/tkMacOSXWm.c: messages among different platform's * tests/wm.test: [wm grid] commands. [Bug 1323972]. * win/tkWinWm.c: 2005-12-01 Kevin Kenny <[email protected]> * win/makefile.vc: restored buildability. | | | 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 | * macosx/tkMacOSXWm.c: messages among different platform's * tests/wm.test: [wm grid] commands. [Bug 1323972]. * win/tkWinWm.c: 2005-12-01 Kevin Kenny <[email protected]> * win/makefile.vc: restored buildability. 2005-12-01 Jeff Hobbs <[email protected]> * library/menu.tcl (::tk::PostOverPoint): correct menu post near bottom of screen on Windows. [Bug 1353416] 2005-12-01 Daniel Steffen <[email protected]> |
︙ | ︙ | |||
2484 2485 2486 2487 2488 2489 2490 | * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXWindowEvent.c: | | | | 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 | * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * unix/configure.in: define TK_MAC_DEBUG on aqua when symbols enabled. * unix/configure: autoconf-2.13 * library/listbox.tcl: corrected comments. * library/text.tcl: * xlib/xcolors.c: fixed warning 2005-08-23 Jeff Hobbs <[email protected]> * macosx/tkMacOSXDialog.c: make dialogs ignore -initialfile "" and -initialdir "" instead of error. |
︙ | ︙ | |||
2512 2513 2514 2515 2516 2517 2518 | 2005-08-22 Daniel Steffen <[email protected]> * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDialog.c: fix warnings. 2005-08-16 Donal K. Fellows <[email protected]> | | | | | | 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 | 2005-08-22 Daniel Steffen <[email protected]> * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDialog.c: fix warnings. 2005-08-16 Donal K. Fellows <[email protected]> * generic/tkOldConfig.c (Tk_ConfigureWidget, Tk_ConfigureInfo): (Tk_ConfigureValue, DeleteSpecCacheTable): Keep per-interpreter (and hence per-thread) copies of all the Tk_ConfigSpec tables so that Tk_Uids do not leak across threads. [Bug 749908] 2005-08-11 Donal K. Fellows <[email protected]> * generic/tkCanvLine.c, generic/tkCanvPoly.c, generic/tkCanvText.c: * generic/tkCanvas.c, generic/tkConfig.c, generic/tkFocus.c: * generic/tkFrame.c, generic/tkGrid.c, generic/tkImgPhoto.c: * generic/tkPack.c, generic/tkPanedWindow.c: Don't pass size_t arguments to Tcl_GetStringFromObj, even with casting; it's not portable to 64-bit systems. [Bug 1252702] 2005-08-09 Daniel Steffen <[email protected]> * macosx/tkMacOSXCarbonEvents.c (new): moved carbon events code into |
︙ | ︙ | |||
2706 2707 2708 2709 2710 2711 2712 | 2005-07-21 Jeff Hobbs <[email protected]> * unix/configure, unix/tcl.m4: sync'ed to Tcl's tcl.m4 * macosx/tkMacOSXEntry.c (TkpDrawEntryBorderAndFocus): set oldWidth to avoid warning | | | 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 | 2005-07-21 Jeff Hobbs <[email protected]> * unix/configure, unix/tcl.m4: sync'ed to Tcl's tcl.m4 * macosx/tkMacOSXEntry.c (TkpDrawEntryBorderAndFocus): set oldWidth to avoid warning * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): corrected if expression error (use of = instead of ==) 2005-07-06 Jeff Hobbs <[email protected]> * doc/getOpenFile.n: correct -multiple docs (takes boolean) 2005-06-25 Daniel Steffen <[email protected]> |
︙ | ︙ | |||
2771 2772 2773 2774 2775 2776 2777 | * unix/configure: autoconf * win/configure: 2005-06-04 Donal K. Fellows <[email protected]> * generic/tkCanvas.c (SearchUids): Move all global data into | | | | | 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 | * unix/configure: autoconf * win/configure: 2005-06-04 Donal K. Fellows <[email protected]> * generic/tkCanvas.c (SearchUids): Move all global data into protected storage to stop cross-thread issues. [Bug 1114977] 2005-06-03 Donal K. Fellows <[email protected]> * generic/tkConsole.c (Tk_CreateConsoleWindow, TkConsolePrint): Transmit the ConsoleInfo through AssocData, so renaming [console] won't make things break. [Bug 1016385] 2005-06-03 Daniel Steffen <[email protected]> *** 8.4.10 TAGGED FOR RELEASE *** * macosx/Makefile: fixed 'embedded' target. 2005-06-02 Jim Ingham <[email protected]> Another patch from M. Kirkham. * macosx/tkMacOSXScrlbr.c (ThumbActionProc, ScrollBarBindProc): Record the first mouse down point, and compute differences from that, rather than getting the mouse down each time through the loop. The old method would get fooled if you moved the mouse less than a text line height in the text widget. [Bug 1083728] 2005-06-02 Jeff Hobbs <[email protected]> * changes: update for 8.4.10 release (porter) 2005-05-31 Mo DeJong <[email protected]> * macosx/tkMacOSXWm.c (TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): |
︙ | ︙ | |||
2859 2860 2861 2862 2863 2864 2865 | * macosx/tkMacOSXInit.c (TkpInit): fixed resource file extraction from __tk_rsrc section to work with non-prebound .dylib and .bundle. * macosx/Makefile: corrected EMBEDDED_BUILD check, use separate tcl and tk version vars to properly support tk/x11 framework version overriding, rewrite tkConfig.sh when overriding tk version, corrected Wish.app symlink in tk build dir. | | | 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 | * macosx/tkMacOSXInit.c (TkpInit): fixed resource file extraction from __tk_rsrc section to work with non-prebound .dylib and .bundle. * macosx/Makefile: corrected EMBEDDED_BUILD check, use separate tcl and tk version vars to properly support tk/x11 framework version overriding, rewrite tkConfig.sh when overriding tk version, corrected Wish.app symlink in tk build dir. * unix/configure.in: corrected framework finalization to softlink stub library to Versions/8.x subdir instead of Versions/Current. * unix/configure: autoconf-2.13 2005-05-25 Jeff Hobbs <[email protected]> * unix/configure, unix/configure.in: ensure false Tcl.framework is |
︙ | ︙ | |||
2912 2913 2914 2915 2916 2917 2918 | * macosx/Wish.pbproj/project.pbxproj: * macosx/tkAboutDlg.r: updated copyright years to 2005. 2005-05-15 Jim Ingham <[email protected]> Fixes from Michael Kirkham: | | | | | 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 | * macosx/Wish.pbproj/project.pbxproj: * macosx/tkAboutDlg.r: updated copyright years to 2005. 2005-05-15 Jim Ingham <[email protected]> Fixes from Michael Kirkham: * macosx/tkMacOSXMenu.c (TkpConfigureMenuEntry): Thinko in clearing the ENTRY_ACCEL_MASK before re-parsing it. [Tk Bug 1012852] * macosx/tkMacOSXScrlbr.c (UpdateControlValues): Don't set the control value BEFORE setting the min and max or the control manager will reset it for you. [Tk Bug 1202181] * macosx/tkMacOSXXStubs.c (TkMacOSXXGetPixel, TkMacOSXXPutPixel): Restore the port to what it was before putting we were called. [Tk Bug 1202223] 2005-05-14 Daniel Steffen <[email protected]> * macosx/tkMacOSXInit.c: * macosx/tkMacOSXNotify.c: introduction of new tcl notifier based on CFRunLoop allows replacement of the custom TkAqua notifier by a standard tcl event source. Removes requirement of threaded tcl core for TkAqua, allows to stub-link TkAqua against Tcl by removing use of |
︙ | ︙ | |||
3004 3005 3006 3007 3008 3009 3010 | 2005-04-09 Daniel Steffen <[email protected]> * macosx/README: updated requirements for OS & developer tool versions + other small fixes/cleanup. * macosx/tkMacOSXEntry.c (ComputeIncDecParameters): manually define constants present only in 10.3 headers so that we can build on 10.2. | | | | | 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 | 2005-04-09 Daniel Steffen <[email protected]> * macosx/README: updated requirements for OS & developer tool versions + other small fixes/cleanup. * macosx/tkMacOSXEntry.c (ComputeIncDecParameters): manually define constants present only in 10.3 headers so that we can build on 10.2. * macosx/Wish.pbproj/project.pbxproj: fixed absolute path to tkEntry.h that confused 10.2 PBX. * unix/tcl.m4 (Darwin): added -single_module linker flag to TCL_SHLIB_LD_EXTRAS and TK_SHLIB_LD_EXTRAS. * unix/configure: autoconf-2.13 2005-03-29 Jeff Hobbs <[email protected]> * win/tcl.m4, win/configure: do not require cygpath in macros to |
︙ | ︙ | |||
3031 3032 3033 3034 3035 3036 3037 | * generic/tkEntry.c (DisplayEntry): Call out to TkpDrawEntryBorderAndFocus and TkpDrawSpinboxButtons. Also provide default implementations for X11 & Win. * macosx/tkMacOSXEntry.c: New file, implements the entry & focus and spinbox button drawing. * tkMacOSXDefaults.h: Change the Mac OS X defaults so they fit the native widget shapes. | | | | | | | | | | 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 | * generic/tkEntry.c (DisplayEntry): Call out to TkpDrawEntryBorderAndFocus and TkpDrawSpinboxButtons. Also provide default implementations for X11 & Win. * macosx/tkMacOSXEntry.c: New file, implements the entry & focus and spinbox button drawing. * tkMacOSXDefaults.h: Change the Mac OS X defaults so they fit the native widget shapes. * xlib/xgc.c (XCreateGC): Set the default linewidth to 1, not 0. Some extensions seem to expect this. 2005-03-15 Pat Thoyts <[email protected]> * unix/tcl.m4: Updated for OpenBSD and regenerated the configure * unix/configure: script 2005-03-11 Jim Ingham <[email protected]> * macosx/tkMacOSXButton.c (TkpDisplayButton): Set the port to the Button window's port BEFORE you set the clip, otherwise you are setting the clip on the wrong window! Also, a little cleanup - move x & y into the branches where they are used, and don't compute the TextAnchor if we are using the native button text, since we aren't going to use it. (TkMacOSXDrawControl): Call ShowControl & SetControlVisibility in a more logical order. * tkMacOSXInt.h: Add TkMacOSXGenerateFocusEvent. * tkMacOSXSubwindows.c (XDestroyWindow): We don't get Activate events for the remaining windows when a Floating window is destroyed. This can cause the focus to disappear. So catch this case when the window is being destroyed and move the focus here. * tkMacOSXWindowEvent.c (TkMacOSXGenerateFocusEvent): Make this public (used to be GenerateFocusEvent) since we need it here and in tkMacOSXSubwindows.c. Then change the name everywhere it is used. [Bug 1124237] 2005-03-10 Jim Ingham <[email protected]> * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): In the inDrag section, set the GrafPort to the drag window's GrafPort before doing LocalToGlobal. [Bug 1160025] 2005-03-08 Jeff Hobbs <[email protected]> * win/tkWinWm.c (WinSetIcon): fix GCLP_ICONSM -> GCLP_HICONSM. * win/makefile.vc: clarify necessary defined vars that can come from MSVC or the Platform SDK. |
︙ | ︙ | |||
3141 3142 3143 3144 3145 3146 3147 | * unix/configure, unix/tcl.m4: add solaris 64-bit gcc build support. [Bug 1021871] 2005-01-25 Daniel Steffen <[email protected]> * macosx/tkMacOSXInit.c (TkpInit): set tcl_interactive to 1 to show console at startup instead of directly calling [console show]. | | | | | 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 | * unix/configure, unix/tcl.m4: add solaris 64-bit gcc build support. [Bug 1021871] 2005-01-25 Daniel Steffen <[email protected]> * macosx/tkMacOSXInit.c (TkpInit): set tcl_interactive to 1 to show console at startup instead of directly calling [console show]. * unix/tcl.m4 (Darwin): fixed bug with static build linking to dynamic library in /usr/lib etc instead of linking to static library earlier in search path. [Tcl Bug 956908] Removed obsolete references to Rhapsody. * unix/configure: autoconf-2.13 2005-01-18 Donal K. Fellows <[email protected]> * library/demos/menu.tcl: Reworked to make dialogs children of the demo widget so that they are properly visible. Issue reported by Keith Nash <[email protected]> 2005-01-14 Joe English <[email protected]> * unix/tkUnixWm.c: Sync with CVS HEAD (r1.47): Fixes: #959973 "wm title bug" (support Unicode titles) Fixes: #742882 "Potential division by zero in gridded wm geometry" Use Tcl_GetTime instead of TclpGetTime [#874745] Use Tcl_Panic() instead of "panic" [#865264] Fixes: #632816 "cannot remove transient" Fixes: #568861 "Fix for wm minsize and maxsize commands" * tests/unixWm.test, tests/wm.test: Updated test suite for #632816 (unixWm-37.3, unixWm-37.4, wm-grid-1.11, wm-grid-1.12) and #742882 (unixWm-20.9, unixWm-20.11). 2005-01-11 Donal K. Fellows <[email protected]> * generic/tkObj.c (TkParsePadAmount): * generic/tkPack.c: Moved function to tkObj.c and rewrote so that it |
︙ | ︙ | |||
3309 3310 3311 3312 3313 3314 3315 | sure that the lastSubFontPtr remains valid even when the subfont array is reallocated. [Bug 618872] 2004-11-11 Daniel Steffen <[email protected]> * generic/tkMain.c: * macosx/tkMacOSXAppInit.c (removed): | | | 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 | sure that the lastSubFontPtr remains valid even when the subfont array is reallocated. [Bug 618872] 2004-11-11 Daniel Steffen <[email protected]> * generic/tkMain.c: * macosx/tkMacOSXAppInit.c (removed): * macosx/Wish.pbproj/project.pbxproj: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: changes to make TkAqua dynamically loadable, enabling [package require Tk] from tclsh. Startup code from tkMacOSXAppInit.c moved into tkMacOSXInit.c, added code that notifies the window server that an unbundled executable is a full GUI application after loading Tk. [Patch 1035348] |
︙ | ︙ | |||
3340 3341 3342 3343 3344 3345 3346 | targets at the same time. Ensure that xcodebuild will use Wish.pbproj project even if a .xcode project is also present. 2004-11-10 Jim Ingham <[email protected]> From Michael Kirkham ([email protected]): | | | | | 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 | targets at the same time. Ensure that xcodebuild will use Wish.pbproj project even if a .xcode project is also present. 2004-11-10 Jim Ingham <[email protected]> From Michael Kirkham ([email protected]): * macosx/tkMacOSXButton.c (TkpDisplayButton): Don't set the text if compound is NONE and we have and image. [Bug 1055023] 2004-10-29 Mo DeJong <[email protected]> * tests/wm.test: Add Win32 test cases for attributes subcommand. * win/tkWinWm.c (WmAttributesCmd): Fixup broken option processing logic for attributes subcommand. 2004-10-29 Pat Thoyts <[email protected]> * win/makefile.vc (DOTVERSION): Was installing 8.4 relabelled as 8.5 * library/tk.tcl (::tk::PlaceWindow): Backported the fix from #533519 to handle window placement on multi-monitor Windows. 2004-10-28 Mo DeJong <[email protected]> * doc/wm.n: Add wm attributes . -alpha doc to account for recent alpha changes. |
︙ | ︙ | |||
3412 3413 3414 3415 3416 3417 3418 | * win/tkWinEmbed.c: * win/tkWinMenu.c: * win/tkWinX.c: * generic/tkInt.decls: Signature for tkWinXCleanup needed to be * generic/tkIntPlatDecls.h: changed so it matches the Tcl_ExitProc typedef to avoid a bad-style cast. | | | | 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 | * win/tkWinEmbed.c: * win/tkWinMenu.c: * win/tkWinX.c: * generic/tkInt.decls: Signature for tkWinXCleanup needed to be * generic/tkIntPlatDecls.h: changed so it matches the Tcl_ExitProc typedef to avoid a bad-style cast. * win/makefile.vc: Backport to the most recent * win/rules.vc: changes on the HEAD. * win/nmakehlp.c: 2004-10-26 Don Porter <[email protected]> * tests/safe.test (safe-1.3): Made test less sensitve to the full set of existing aliases in an interp, so the it only tests whether the tested ones are present. * unix/Makefile.in: Copied LD_LIBRARY_PATH machinery from `make shell` target to other similar targets so that just built libraries are tested, rather than previous installations. 2004-10-26 Reinhard Max <[email protected]> * generic/tkEvent.c (Tk_HandleEvent): Call XSetICFocus whenever the window receives focus. This fixes bug #905830 but avoids #1000051. 2004-10-20 Jeff Hobbs <[email protected]> * win/tkWinWm.c (UpdateWrapper): pass SWP_NOOWNERZORDER to SetWindowPos when maintaining win Z order, to prevent parent from flashing (adjusting Z order). 2004-10-05 Jeff Hobbs <[email protected]> |
︙ | ︙ | |||
3485 3486 3487 3488 3489 3490 3491 | 2004-09-22 Vince Darley <[email protected]> * win/tkWinMenu.c: only provide a submenu handle when the MF_POPUP flag is given, fixing a recently-introduced crash when submenus are disabled. Also better error checking for this sort of situation in the future. | | | 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 | 2004-09-22 Vince Darley <[email protected]> * win/tkWinMenu.c: only provide a submenu handle when the MF_POPUP flag is given, fixing a recently-introduced crash when submenus are disabled. Also better error checking for this sort of situation in the future. 2004-09-22 Mo DeJong <[email protected]> * win/tkWinMenu.c (ReconfigureWindowsMenu): Fix drawing of a disabled (TkWinHandleMenuEvent, DrawMenuEntryArrow): 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 |
︙ | ︙ | |||
3634 3635 3636 3637 3638 3639 3640 | 2004-08-18 Donal K. Fellows <[email protected]> * generic/tkPanedWindow.c (optionSpecs): Add missing GEOMETRY flag to -handlepad option. [Bug 1010938] 2004-08-10 Joe English <[email protected]> | | | 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 | 2004-08-18 Donal K. Fellows <[email protected]> * generic/tkPanedWindow.c (optionSpecs): Add missing GEOMETRY flag to -handlepad option. [Bug 1010938] 2004-08-10 Joe English <[email protected]> * unix/tkUnixWm.c: Fix for #1006686 "wm resizable command not working on Solaris/CDE" (patch from Colin McDonald). 2004-08-09 Mo DeJong <[email protected]> * tests/canvText.test: * win/tkWinFont.c (Tk_MeasureChars): Fix for text wrapping problem that appeared using canvas text |
︙ | ︙ | |||
3659 3660 3661 3662 3663 3664 3665 | corrected the compositing rule now that I have looked up what the right thing to do is, and factorized out the compositing rule code into a few simpler macros. 2004-07-30 Daniel Steffen <[email protected]> * unix/configure: | | | 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 | corrected the compositing rule now that I have looked up what the right thing to do is, and factorized out the compositing rule code into a few simpler macros. 2004-07-30 Daniel Steffen <[email protected]> * unix/configure: * unix/tcl.m4 (SC_CONFIG_CFLAGS): Darwin: instead of setting PLAT_OBJS to explict object files in tcl.m4, refer to MAC_OSX_OBJS makefile var. 2004-07-29 Don Porter <[email protected]> *** 8.4.7 TAGGED FOR RELEASE *** * changes: |
︙ | ︙ | |||
3681 3682 3683 3684 3685 3686 3687 | in case of premature end of image data, return error instead of passing nil buffer to Tk_PhotoPutBlock(). * generic/tkRectOval.c (ComputeRectOvalBbox): Mac OS X specific fix to rounding in bounding box 'bloat' calculation to avoid drawing outside of bounding box when CG drawing enabled. Fix probably correct on other platforms as well? | | | | | | | | | | | | | | 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 | in case of premature end of image data, return error instead of passing nil buffer to Tk_PhotoPutBlock(). * generic/tkRectOval.c (ComputeRectOvalBbox): Mac OS X specific fix to rounding in bounding box 'bloat' calculation to avoid drawing outside of bounding box when CG drawing enabled. Fix probably correct on other platforms as well? * macosx/tkMacOSXDraw.c (TkMacOSXInitCGDrawing): fixed LinkVar type for tkMacOSXCGAntiAliasLimit. 2004-07-26 Jeff Hobbs <[email protected]> * changes: Updated for Tcl 8.4.7 release. 2004-07-24 Jim Ingham <[email protected]> * macosx/tkMacOSXDefault.h: Change the default -tearoff value to 0. It doesn't work at present, so it is silly to make it the default. Mac OS X: Complete the implementation of the CG version of the X drawing emulation layer. This was mostly done by James Tittle (tigital<at>mac<dot>com), with a little help from me. * macosx/tkMacOSXint.h: Add declaration of TkMacOSXInitCGDrawing. * macosx/tkMacOSXInit.c: Call it. * macosx/tkMacOSXDraw.c (TkMacOSXInitCGDrawing): New function set up the variables controlling the use of cg drawing. (XFillRectangles): Make the CG branch work. (XDrawLines): Ditto (XDrawSegments): Ditto (XFillPolygon): Ditto (XDrawRectangle): Ditto (XDrawRectangles): Ditto (XDrawArc): Ditto (XDrawArcs): Ditto (XFillArc): Ditto (XFillArcs): Ditto (TkMacOSXSetupCGContext): Make this actually work. (TkMacOSXReleaseCGContext): Ditto. Mac OS X: Add support for reading the wm attributes -titlepath command, and convert to using FSRef's. This was done by Neil Madden (nem<at>cs<dot>nott<dot>ac<dot>uk). * macosx/tkMacOSXWm.c (WmAttrGetModifiedStatus): New function. (WmAttrGetTitlePath) New function. (WmAttributesCmd): Convert command parsing to use the options index. Use the two above functions to report results. Convert the titlepath code to use FSRef's. 2004-07-23 Benjamin Riefenstahl <[email protected]> [Merge from HEAD] Mac OS X: Fix several problems with Icelandic (and Faroese) keyboards reported by J�r�me Gagnon-Voyer <gagnonje5000<at>mac<dot>com> on tcl-mac on 2004-03-22. * macosx/tkMacOSXKeyEvent.c (KLSInit): Add. (GetKeyboardLayout): Add calls to Keyboard Layout Services, if present. Rework classic handling. Use GetKCHREncoding(). Add parameter encodingPtr. (GetKCHREncoding): Add. 2004-07-22 Jeff Hobbs <[email protected]> * library/tkfbox.tcl (::tk::dialog::file::Update): use -directory [pwd] (instead of .) to get around some VFS edge case bugs. Use [bind $w], not [$w configure] to modify bindings. 2004-07-20 Jim Ingham <[email protected]> * generic/tkEvent.c (TkQueueEventForAllChildren): Don't queue events for unmapped windows. 2004-07-20 Jeff Hobbs <[email protected]> * generic/tkEvent.c (Tk_HandleEvent): ensure IC focus is set after creation. [Bug #905830] 2004-07-20 Daniel Steffen <[email protected]> * unix/tcl.m4: fixed Darwin autoconf breakage caused by recent CFLAGS reordering. * unix/configure: regen * macosx/Makefile: added support to tk framework build to optionally install tk manpages in addition to html help, similarly to tcl/macosx/Makefile. * macosx/Wish.pbproj/project.pbxproj: fixes for building with non-default SYMROOT/OBJROOT/SRCROOT, added support for using a Tcl.framework in DYLIB_INSTALL_PATH != /Library/Frameworks, added optional support for building html help without tcl sources present by giving explicit location of tcltk-man2html script. * macosx/tkMacOSXMenu.c: fixed #include case sensitivity bug. 2004-07-19 Jeff Hobbs <[email protected]> * unix/Makefile.in, unix/tcl.m4: move (C|LD)FLAGS after their * unix/configure.in, unix/configure: _DEFAULT to allow for env setting to override m4 switches. |
︙ | ︙ | |||
3796 3797 3798 3799 3800 3801 3802 | 2004-07-14 Jim Ingham <[email protected]> * macosx/tkMacOSXCursor.c (TkpSetCursor): The code to not reset the cursor more often than necessary was getting fooled when the current cursor was nulled out when the current cursor gets freed. So in the case where the input cursor was NULL, we have to just always set it. [Bug #894550] | | | | 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 | 2004-07-14 Jim Ingham <[email protected]> * macosx/tkMacOSXCursor.c (TkpSetCursor): The code to not reset the cursor more often than necessary was getting fooled when the current cursor was nulled out when the current cursor gets freed. So in the case where the input cursor was NULL, we have to just always set it. [Bug #894550] 2004-07-14 Jeff Hobbs <[email protected]> * generic/tkUndo.c (TkUndoSetDepth): correct -maxundo segfault. [Bug #969358] (jiangwu) * generic/tk.h (TK_PATCH_LEVEL): * README, macosx/Wish.pbproj/project.pbxproj: bumped to * unix/configure, unix/configure.in, unix/tk.spec: patchlevel 8.4.7 * win/configure, win/configure.in: 2004-07-11 Donal K. Fellows <[email protected]> * library/tkfbox.tcl (::tk::dialog::file::Create): Watch out for |
︙ | ︙ | |||
3898 3899 3900 3901 3902 3903 3904 | * generic/tkImgPhoto.c (ImgPhotoConfigureMaster): force -data into ByteArray and -format into String to correctly handle them if they've been shimmered or created as some other object type. [Bug #1027849] (ImgPhotoCmd): correctly init matched to 0. 2004-04-20 Joe English <[email protected]> | | | | | 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 | * generic/tkImgPhoto.c (ImgPhotoConfigureMaster): force -data into ByteArray and -format into String to correctly handle them if they've been shimmered or created as some other object type. [Bug #1027849] (ImgPhotoCmd): correctly init matched to 0. 2004-04-20 Joe English <[email protected]> * unix/tkUnixWm.c: Backported fix for bug #915350 "Tk sets min, max size in WM_HINTS when it shouldn't" and #922336 "Tk apps have no maximize window button under KDE-3.2.1" 2004-04-16 Jeff Hobbs <[email protected]> * library/bgerror.tcl (bgerror): rework to only set -topmost bit on Windows if necessary. Also use existing ::tk functions for placing dialog and managing focus/grab. |
︙ | ︙ | |||
3934 3935 3936 3937 3938 3939 3940 | function. (XMoveWindow): Generate configure notify events for child widgets on move. (XMoveResizeWindow): Ditto. 2004-03-17 Jim Ingham <[email protected]> | | | 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 | function. (XMoveWindow): Generate configure notify events for child widgets on move. (XMoveResizeWindow): Ditto. 2004-03-17 Jim Ingham <[email protected]> * macosx/tkMacOSXHLEvents.c (ApplicationCarbonEventsHandler): New function. (tkMacOSXInitAppleEvents): Init the Application Event handler as well. * macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): Grab the Command-H & Command-Shift-H keys and use them for Hide and Hide Others before passing keystrokes on to the generic keyboard event processing. There isn't any other good way to get the |
︙ | ︙ | |||
3958 3959 3960 3961 3962 3963 3964 | IRIX64-6.5* systems. [Bug 218561] * unix/configure: autoconf-2.13 2004-02-23 Daniel Steffen <[email protected]> * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXXStubs.c: | | | 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 | IRIX64-6.5* systems. [Bug 218561] * unix/configure: autoconf-2.13 2004-02-23 Daniel Steffen <[email protected]> * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXXStubs.c: * xlib/ximage.c: fixed MacOSX XGetImage/XPutImage and related functions to deal properly with XImages copied from screen. * generic/tkCanvPs.c (TkImageGetColor): MacOSX fix. * generic/tkImgPhoto.c (ImgPhotoDisplay): enabled alpha blending for images with partial transparency on MacOSX. [Bug 809157] 2004-02-18 Peter Spjuth <[email protected]> |
︙ | ︙ | |||
3984 3985 3986 3987 3988 3989 3990 | * tests/imgPhoto.test (imgPhoto-16.1): Corrected incorrect variable name [Bug 899010]. 2004-02-17 Daniel Steffen <[email protected]> * macosx/tkMacOSXMouseEvent.c: fixed modifiers for MouseWheel events. | | | | | | | | | | | | 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 | * tests/imgPhoto.test (imgPhoto-16.1): Corrected incorrect variable name [Bug 899010]. 2004-02-17 Daniel Steffen <[email protected]> * macosx/tkMacOSXMouseEvent.c: fixed modifiers for MouseWheel events. * library/listbox.tcl: * library/text.tcl: * library/scrlbar.tcl: on Mac OS, add bindings for MouseWheel with modifiers, according to platform convention: Option increases scrolling speed 10 fold; Space scrolls horizontally. * macosx/Wish.pbproj/project.pbxproj: * macosx/tkAboutDlg.r: changed year in copyright strings to 2004. 2004-02-16 Jim Ingham <[email protected]> Fix for MouseWheel Events (from Daniel Steffen): * generic/tkEvent.c (Tk_HandleEvent): On Mac OS X, don't route MouseWheel events to the Focus window. They are sent to the window under the pointer on X (and the GenerateMouseWheelEvent already got this right.) * library/listbox.tcl: On Mac OS, don't use the magic 120 divisor that is used on Windows. We may come up with a cleaner way to do this for the TOT, but this is simple and will do for the 8.4 branch. * library/text.tcl: Ditto. * doc/bind.n: Update the docs to reflect the changes. 2004-02-15 Jim Ingham <[email protected]> Backport Mac OS X specific fixes from TOT: * macosx/tkMacOSXKeyboard.c: General cleanup. Add support for [event generate]. [Bug #860454] - [Benjamin Riefenstahl] * macosx/tkMacOSXKeyboard.c: Add PowerBook keycode 0x34 as <Return>. [Benjamin Riefenstahl] * macosx/tkMacOSXScrlbr.c: Reworking Vince's fix to [Bug 842952]. This version is clearer, and works helps keep the mouse better pinned to the scrollbar. I also removed the glitch where the scrollbar would jump get its middle over the mouse when you first moved it. * macosx/tkMacOSXClipboard.c (TkSuspendClipboard, TkSelGetSelection): add unicode clipboard support. [Patch #840107] (senn) * macosx/tkMacOSXDialog.c (NavServicesGetFile): Minor cleanups. * (OpenFileFilterProc): Handle FSRef's as well as FSSpec's in the input file. Also convert the FSSpec filename to an C-string before passing to MatchOneFile. [bug 517600] * (MatchOneFile): Require the input filename to be a C-string, not a pascal string. * macosx/tkMacOSXDialog.c (MatchOneType): If the Macintosh filetype is 0, then automatically pass the fileType check. * macosx/tkMacOSXButton.c (TkpDisplayButton): Use the tk text drawing for checkbuttons & radiobuttons as well as for labels. * macosx/tkMacOSXEvent.c (XSync): New function, need to implement this so drawing will get flushed in "update idletasks". * tkMacOSXPort.h: convert #define of XSync to function def'n. * generic/tkWindow.c: * macosx/tkMacOSXDialog.c: added native tk_messageBox command, (Tk_MessageBoxObjCmd) for MacOS X platform. [Vince Darley] * macosx/tkMacOSXMenu.c: corrected encoding conversion for torn-off menu entries (but many other display problems still exist with these) [Vince Darley] * macosx/tkMacOSXMouseEvent.c: improved handling of events in the presence of grabs, particularly activation events. [Vince Darley] * macosx/tkMacOSXColor.c (GetControlPartColor): Use the ThemeBrushes to get the control text color for buttons. * tkMacOSXAppInit.c: Formatting cleanups. * tkMacOSXButton.c: Ditto * tkMacOSXClipboard.c: Ditto * tkMacOSXDebug.c: Ditto * tkMacOSXDialog.c: Ditto * tkMacOSXDraw.c: Ditto * tkMacOSXEvent.c: Ditto |
︙ | ︙ | |||
4079 4080 4081 4082 4083 4084 4085 | * tkMacOSXMouseEvent.c: Ditto * tkMacOSXNotify.c: Ditto * tkMacOSXScale.c: Ditto * tkMacOSXScrlbr.c: Ditto * tkMacOSXSubwindows.c: Ditto * tkMacOSXWindowEvent.c: Ditto * tkMacOSXWm.c: Ditto | | | | | | 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 | * tkMacOSXMouseEvent.c: Ditto * tkMacOSXNotify.c: Ditto * tkMacOSXScale.c: Ditto * tkMacOSXScrlbr.c: Ditto * tkMacOSXSubwindows.c: Ditto * tkMacOSXWindowEvent.c: Ditto * tkMacOSXWm.c: Ditto 2004-02-13 Jeff Hobbs <[email protected]> * win/tkWinFont.c (Tk_MeasureChars): backport fixes to bold/italic font handling. [Patch 852669] [Bug 478568] * tests/textDisp.test: added test for the font measurement problem. 2004-02-13 Jim Ingham <[email protected]> * macosx/tkMacOSXDialog.c (Tk_GetOpenFileObjCmd): Use CFStringRef for title & message options, not pascal strings. (Tk_GetSaveFileObjCmd): Ditto (Tk_ChooseDirectoryObjCmd): Ditto (NavServicesGetFile): Now that we get CFStrings, we don't need to convert them here. * macosx/tkMacOSXMenu.c (TkMacOSXDispatchMenuEvent): Cleanup, we don't need to handle the Apple Menu picks any more, but the code didn't reflect that. * macosx/tkMacOSXWm.c (TkSetWMName): Use CFStrings for the Window Title name, not Pascal strings. 2004-02-12 Jeff Hobbs <[email protected]> * README: update to patchlevel 8.4.6 * generic/tk.h: * macosx/Wish.pbproj/project.pbxproj: * unix/configure, unix/configure.in, unix/tk.spec: * win/configure, win/configure.in: |
︙ | ︙ | |||
4124 4125 4126 4127 4128 4129 4130 | 2004-02-10 Donal K. Fellows <[email protected]> * library/msgs/eo.msg: Language support for Esperanto and Polish from * library/msgs/pl.msg: Artur Trzewik <[email protected]> with thanks. 2004-02-09 Donal K. Fellows <[email protected]> | | | 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 | 2004-02-10 Donal K. Fellows <[email protected]> * library/msgs/eo.msg: Language support for Esperanto and Polish from * library/msgs/pl.msg: Artur Trzewik <[email protected]> with thanks. 2004-02-09 Donal K. Fellows <[email protected]> * generic/tkImgPhoto.c (Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock): * tests/imgPhoto.test (imgPhoto-16.1): Better handling of the case when copying from one area of a photo to another triggers a resizing of the image. [Bug 877950] 2004-02-03 Jeff Hobbs <[email protected]> * library/menu.tcl (::tk::MbPost): make menubuttons that post |
︙ | ︙ | |||
4150 4151 4152 4153 4154 4155 4156 | part of the copy files phase to Resources/Scripts). * macosx/Makefile: added support for 'xcodebuild' on Mac OS X 10.3. 2003-12-31 Daniel Steffen <[email protected]> * macosx/Wish.pbproj/project.pbxproj: added missing private headers | | | | 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 | part of the copy files phase to Resources/Scripts). * macosx/Makefile: added support for 'xcodebuild' on Mac OS X 10.3. 2003-12-31 Daniel Steffen <[email protected]> * macosx/Wish.pbproj/project.pbxproj: added missing private headers to installed Tk.framework, so that tkInt.h can be included sucessfully from Tk.framework/PrivateHeaders. * generic/tkPort.h: corrected include of tkMacOSXPort.h 2003-12-17 Jim Ingham <[email protected]> * macosx/tkMacOSXScrlbr.c: Reworking Vince's fix to [Bug 842952]. This version is clearer, and works helps keep the mouse better pinned to the scrollbar. I also removed the glitch where the scrollbar would jump get its middle over the mouse when you first moved it. Import from TOT. 2003-12-11 David Gravereaux <[email protected]> * win/winMain.c: Backed-out yesterdays change. Reverted to 1.15 for two reasons. 1) problem is best addressed in Tcl's DllMain() and 2) needs a MinGW custom assembly implimentation as it doesn't |
︙ | ︙ | |||
4222 4223 4224 4225 4226 4227 4228 | * changes: updated for 8.4.5 release 2003-11-17 Jeff Hobbs <[email protected]> * generic/tkMenubutton.h: fixed compound menubutton handling like * generic/tkMenubutton.c: *button corrections of 2003-04-25. | | | | 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 | * changes: updated for 8.4.5 release 2003-11-17 Jeff Hobbs <[email protected]> * generic/tkMenubutton.h: fixed compound menubutton handling like * generic/tkMenubutton.c: *button corrections of 2003-04-25. * mac/tkMacMenubutton.c (TkpDisplayMenuButton): * unix/tkUnixMenubu.c (TkpDisplayMenuButton): 2003-11-16 Don Porter <[email protected]> * win/makefile.vc: Restored consistency of pkgIndex.tcl file with that generated by Makefile. 2003-11-15 David Gravereaux <[email protected]> |
︙ | ︙ | |||
4419 4420 4421 4422 4423 4424 4425 | Set window background from the -background resource. Fixes [BUG #791500 "PanedWindow refresh glitches on X"] 2003-08-13 Pat Thoyts <[email protected]> * library/scale.tcl: Fix for bug #787065 for Button-2 press. * tests/scale.test: Added test for this bug. | | | | 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 | Set window background from the -background resource. Fixes [BUG #791500 "PanedWindow refresh glitches on X"] 2003-08-13 Pat Thoyts <[email protected]> * library/scale.tcl: Fix for bug #787065 for Button-2 press. * tests/scale.test: Added test for this bug. 2003-08-12 Daniel Steffen <[email protected]> * macosx/tkMacOSXMenu.c: fixed C99'ism that breaks gcc 2.95. 2003-07-21 Jeff Hobbs <[email protected]> *** 8.4.4 TAGGED FOR RELEASE *** * changes: updated for 8.4.4 release 2003-07-20 Daniel Steffen <[email protected]> * macosx/buildTkConfig.tcl: fix to TK_BUILD_* ref generation broken by changes to tcl buildsystem. 2003-07-19 Pat Thoyts <[email protected]> * library/scale.tcl: Fix for bug 706765 to correctly handle the -sliderrelief option while moving the thumb. 2003-07-18 Jeff Hobbs <[email protected]> * unix/tkUnixFont.c (Tk_DrawChars): do not make XGetGeometry call that prevents overwidth lines as it requires a roundtrip call to the X server for every string drawn. Hard-code max width to 32768 |
︙ | ︙ | |||
4463 4464 4465 4466 4467 4468 4469 | * win/tkWinDialog.c: doubled the TK_MULTI_MAX_PATH value to ~10K. This is a short-term solution until the -multiple option is extended. [Bug 641261] 2003-07-18 Donal K. Fellows <[email protected]> | | | 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 | * win/tkWinDialog.c: doubled the TK_MULTI_MAX_PATH value to ~10K. This is a short-term solution until the -multiple option is extended. [Bug 641261] 2003-07-18 Donal K. Fellows <[email protected]> * tests/panedwindow.test (panedwindow-30.2): * generic/tkPanedWindow.c (Tk_PanedWindowObjCmd): Ensure that we can share GCs between a panedwindow and its sash proxy, even if the panedwindow is in a toplevel with a different visual. [Bug 702230] 2003-07-17 Daniel Steffen <[email protected]> * macosx/Makefile: Changes for new tcl buildsystem. |
︙ | ︙ | |||
4554 4555 4556 4557 4558 4559 4560 | * unix/configure: autoconf (2.13) * win/configure: 2003-07-15 Vince Darley <[email protected]> * generic/tkMenu.c * generic/tkMenu.h | | | | 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 | * unix/configure: autoconf (2.13) * win/configure: 2003-07-15 Vince Darley <[email protected]> * generic/tkMenu.c * generic/tkMenu.h * generic/tkMenuDraw.c: * tests/menu.test: fixed complex bug in menu clone cleanup [Bug#465324] and removed 'knownBug' from a test. (This was applied to cvs head on 2003-05-03). 2003-07-09 Donal K. Fellows <[email protected]> * tests/send.test: Strengthened constraints to stop accidental smashing of Xserver access; some systems (*ahem* mine *ahem*) require xhost-style security for all use... :^/ 2003-07-07 Donal K. Fellows <[email protected]> |
︙ | ︙ | |||
4609 4610 4611 4612 4613 4614 4615 | 2003-05-14 Jeff Hobbs <[email protected]> * library/msgs/fr.msg: updated msg catalog. [Bug #737790] (zolli) 2003-05-13 Daniel Steffen <[email protected]> | | | | 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 | 2003-05-14 Jeff Hobbs <[email protected]> * library/msgs/fr.msg: updated msg catalog. [Bug #737790] (zolli) 2003-05-13 Daniel Steffen <[email protected]> * macosx/tkMacOSXInit.c (TkpInit): use new versioned bundle resource API to get tk runtime library for TK_VERSION. [Bug 736774] 2003-05-13 Daniel Steffen <[email protected]> backport of Mac OS X specific changes on trunk since 8.4.2: * macosx/tkMacOSXClipboard.c (TkSelGetSelection): Convert '\r' to '\n' on the way into Tcl. (ingham) * macosx/tkMacOSXMenu.c (EventuallyInvokeMenu): New function, used to invoke menu commands at idle time. (TkMacOSXDispatchMenuEvent): Don't immediately dispatch menu commands, wait till the idle loop to do so. This is more like |
︙ | ︙ | |||
4657 4658 4659 4660 4661 4662 4663 | * generic/tkButton.h: Rewrote the handling * generic/tkButton.c (TkButtonWorldChanged): of compound *buttons * mac/tkMacButton.c (TkpDisplayButton): to correctly display * macosx/tkMacOSXButton.c (TkpDisplayButton): mixture of disabledfg, * unix/tkUnixButton.c (TkpDisplayButton): selectcolor, indicator, * win/tkWinButton.c (TkpDisplayButton): etc. *buttons will | | | 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 | * generic/tkButton.h: Rewrote the handling * generic/tkButton.c (TkButtonWorldChanged): of compound *buttons * mac/tkMacButton.c (TkpDisplayButton): to correctly display * macosx/tkMacOSXButton.c (TkpDisplayButton): mixture of disabledfg, * unix/tkUnixButton.c (TkpDisplayButton): selectcolor, indicator, * win/tkWinButton.c (TkpDisplayButton): etc. *buttons will now only stipple the image, unless no disabledfg is given, in which case it will stipple the whole button. * library/bgerror.tcl: make bgerror dialog topmost on Windows to prevent it being covered by other windows. * unix/tkUnixButton.c (TkpDisplayButton): Use the normalTextGc when * win/tkWinButton.c (TkpDisplayButton): displaying disabled text |
︙ | ︙ | |||
4699 4700 4701 4702 4703 4704 4705 | 2003-03-22 Kevin Kenny <[email protected]> * win/makefile.vc: * win/rules.vc: Corrected several problems that prevented OPTS=symbols from building properly. [Patch 707792] Thanks to Joe Mistachkin for the fixes. | | | 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 | 2003-03-22 Kevin Kenny <[email protected]> * win/makefile.vc: * win/rules.vc: Corrected several problems that prevented OPTS=symbols from building properly. [Patch 707792] Thanks to Joe Mistachkin for the fixes. 2003-03-18 Don Porter <[email protected]> * tests/unixWm.test (unixWm-41.2): Corrected typo in 2003-03-13 commit. Thanks Larry Virden. [Bug 705567] 2003-03-18 Daniel Steffen <[email protected]> |
︙ | ︙ | |||
4730 4731 4732 4733 4734 4735 4736 | habits. * tests/spinbox.test (spinbox-17.4): Avoid long failure message. 2003-03-13 Kevin Kenny <[email protected]> * win/makefile.vc: Backed the version to 8.4 on the 8.4 branch. (I just loathe sticky tags). | | | | | 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 | habits. * tests/spinbox.test (spinbox-17.4): Avoid long failure message. 2003-03-13 Kevin Kenny <[email protected]> * win/makefile.vc: Backed the version to 8.4 on the 8.4 branch. (I just loathe sticky tags). 2002-03-11 Kevin Kenny <[email protected]> * win/makefile.vc: Backported the code that makes the makefile build pkgIndex.tcl as part of the install step. 2003-03-03 Jeff Hobbs <[email protected]> *** 8.4.2 TAGGED FOR RELEASE *** 2003-02-28 Donal K. Fellows <[email protected]> * tests/bind.test (bind-16.44): * generic/tkBind.c (ExpandPercents): Only allow events to see those expansions that are actually valid for them, and force the substitution of the rest as "??". This stops some crashes on Windows and gets rid of bogus values everywhere. [Bug #612110] 2003-02-26 Jeff Hobbs <[email protected]> |
︙ | ︙ | |||
4768 4769 4770 4771 4772 4773 4774 | * generic/tkMenu.c (TkMenuCleanup): make sure to reset static menusInitialized on finalize. [Bug #548729] 2003-02-25 Daniel Steffen <[email protected]> * macosx/tkMacOSXHLEvents.c: fixed conversion of apple event parameters to posix style path names. | | | | | | 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 | * generic/tkMenu.c (TkMenuCleanup): make sure to reset static menusInitialized on finalize. [Bug #548729] 2003-02-25 Daniel Steffen <[email protected]> * macosx/tkMacOSXHLEvents.c: fixed conversion of apple event parameters to posix style path names. [Bug #621672] (steffen, Benjamin Riefenstahl) * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXWm.c: * macosx/Wish.pbproj/project.pbxproj: * macosx/tkMacOSXUtil.c (removed): * macosx/tkMacOSXUtil.h (removed): removed all references to tkMacOSXUtil.{c,h}, made obsolete by the patch above. [Bug #621672] 2003-02-24 Jeff Hobbs <[email protected]> * unix/tkUnixFont.c (CreateClosestFont, CanUseFallback): use the first best font match in user font path. [Bug #647497] (dal zotto) * generic/tkListbox.c (ListboxSelectionSubCmd): * tests/listbox.test: Allow 'selection includes' to respond when disabled (but only 'includes'). [Bug #632514] * unix/tkUnixButton.c (TkpDisplayButton): Correct visual display of disabled check/radiobutton to be more distinctive on unix. * tests/unixButton.test: [Bug #669595] (hintermayer) |
︙ | ︙ | |||
4804 4805 4806 4807 4808 4809 4810 | modify requests when entry/spinbox is disabled). [Bug #637828] 2003-02-24 Benjamin Riefenstahl <[email protected]> * tkMacOSXDialog.c (NavServicesGetFile): Fix bug with kNavCtlSetSelection - control data should be a pointer not a handle. | | | | | | | | 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 | modify requests when entry/spinbox is disabled). [Bug #637828] 2003-02-24 Benjamin Riefenstahl <[email protected]> * tkMacOSXDialog.c (NavServicesGetFile): Fix bug with kNavCtlSetSelection - control data should be a pointer not a handle. 2003-02-21 Donal K. Fellows <[email protected]> * library/clrpick.tcl (color::BuildDialog): * library/msgbox.tcl (MessageBox): Yet more places that did complex and fragile width calculations instead of using grid, though with these it is the -uniform option that saves the day. * library/tkfbox.tcl (file::Create): This procedure was really very crufty in how it went about creating the GUI. It is far easier and more robust to use the grid geometry manager than it is to tune the results of pack with tweaks to -width. [Bug #673722] * library/comdlg.tcl (FDGetFileTypes): Set an upper limit on how long a file type item description string can get due to appending of types. [Bug #617392] * tests/panedwindow.test (panedwindow-30.1): * generic/tkPanedWindow.c (DisplayPanedWindow, DisplayProxyWindow): Use the window's depth, not the screen's default depth. [Bug #671122] 2003-02-20 Daniel Steffen <[email protected]> * library/console.tcl: (aqua & macintosh) added missing <Cmd-q> binding for corresponding Quit menu item shortcut. * macosx/README: updated instructions for embedded build, added various improvements by Russell Owen. * unix/tcl.m4: update from Tcl. * unix/configure: regen. 2003-02-20 Jeff Hobbs <[email protected]> * win/tkWinScrlbr.c (UpdateScrollbar): use SIF_DISABLENOSCROLL to "disable" scrollbar when on Windows when there is nothing to scroll. This is Windows style, and fixes [Bug #624116]. * tests/panedwindow.test: * generic/tkPanedWindow.c (ValidSashIndex): corrected to note that 2 panes must exist before any one sash does. [tcllib Bug #689258] 2003-02-20 Peter Spjuth <[email protected]> * tests/panedwindow.test: * generic/tkPanedWindow.c: Fixed calculation of the last slave's |
︙ | ︙ | |||
4872 4873 4874 4875 4876 4877 4878 | * macosx/tkMacOSXKeyEvent.c: fix for uninitialized var warning. 2003-02-19 Jim Ingham <[email protected]> * macosx/tkMacOSXMouseEvents.c (GeneratePollingEvents): In the case where there was a capture window, we were sending the events to the capture window. But the capture window (return value or | | | | | | | | | | 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 | * macosx/tkMacOSXKeyEvent.c: fix for uninitialized var warning. 2003-02-19 Jim Ingham <[email protected]> * macosx/tkMacOSXMouseEvents.c (GeneratePollingEvents): In the case where there was a capture window, we were sending the events to the capture window. But the capture window (return value or TkMacOSXGetCapture) is always a toplevel. So this is wrong in the case that the Event's toplevel IS the capture window - in which case the event should go to the subwindow most closely containing the event. 2003-02-19 Benjamin Riefenstahl <[email protected]> & Jim Ingham <[email protected]> This patch changes the default Tk behavior so that events are by default routed to the standard event handlers after Tk has looked at them. * macosx/tkMacOSXEvent.h: Rename "handledByTk" into "stopProcessing". * macosx/tkMacOSXEvent.c: Update erroneous comments and remove unused includes. (TkMacOSXProcessAppleEvent): Don't declare events handled that we didn't even look at. (TkMacOSXProcessEvent): Add a comment on policy for "stopProcessing". (TkMacOSXProcessEvent): Remove "handling" of events that are not our business. (TkMacOSXProcessEvent): Rename "handledByTk" into "stopProcessing". (ReceiveAndProcessEvent): Ditto. (ReceiveAndProcessEvent): Tune error production of message. * macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): Rename "handledByTk" into "stopProcessing". * macosx/tkMacOSXWindowEvent.c: Ditto. * macosx/tkMacOSXMouseEvent.c: Remove setting of "handledByTk". (TkMacOSXProcessMouseEvent): Handle clicks in the "traffic lights" in the window title when the window (or app) is in the background. This patch changes the key event handling to use the MacOS translation mechanisms. It also improves dead key handling. * macosx/tkMacOSXKeyEvent.c (InitKeyData): Add. (InitKeyEvent): Add. (DecodeViaUnicodeResource): Rename KeycodeToUnicodeViaUnicodeResource. (DecodeViaKCHRResource): Rename KeycodeToUnicodeViaKCHRResource. (GetKeyboardLayout): Use a boolean flag instead of a special layout id. |
︙ | ︙ | |||
4937 4938 4939 4940 4941 4942 4943 | (KeycodeToUnicodeViaKCHRResource): Ditto. (KeycodeToUnicodeViaUnicodeResource): Clear deadKeyState if a character was produced. (KeycodeToUnicodeViaKCHRResource): Use CFString and current keyboard encoding instead of Tcl Tcl_ExternalToUtf() and fixed TkMacOSXCarbonEncoding. (TkMacOSXKeycodeToUnicode): Add. | | | | | | | | 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 | (KeycodeToUnicodeViaKCHRResource): Ditto. (KeycodeToUnicodeViaUnicodeResource): Clear deadKeyState if a character was produced. (KeycodeToUnicodeViaKCHRResource): Use CFString and current keyboard encoding instead of Tcl Tcl_ExternalToUtf() and fixed TkMacOSXCarbonEncoding. (TkMacOSXKeycodeToUnicode): Add. (TkMacOSXProcessKeyboardEvent): Add some heuristics to improve keyup events. (deadKeyState): Split into deadKeyStateUp and deadKeyStateDown. (GenerateKeyEvent): Change interface and implementation to accept a Unicode string instead of individual characters. (GenerateKeyEvent): Don't generate string representations for special characters. * macosx/tkMacOSXEvent.h (TkMacOSXKeycodeToUnicode): Add prototype. * macosx/tkMacOSXKeyboard.c (KCHRPtr): Remove. (XKeycodeToKeysym): Use TkMacOSXKeycodeToUnicode instead of KeyTranslate. (XKeycodeToKeysym): Support latin-1 keysyms. This patch reverts the hack to put icons in menus that Vince put in yesterday (but preserves the bug fix in that submission.) * macosx/tkMacOSXMenu.c (SetMenuTitle): revert treating "<bullet> number" as a request to put icon number <number> in the menu. 2003-02-18 Mo DeJong <[email protected]> * doc/entry.n: * doc/text.n: Update double and triple click docs to match implementation changes made on 2002-02-14. 2003-02-19 Daniel Steffen <[email protected]> * macosx/Wish.pbproj/project.pbxproj: * macosx/Makefile: reworked embedded build to no longer require relinking but to use install_name_tool instead to change the install_names for embedded frameworks. [Bug #644510] |
︙ | ︙ | |||
5053 5054 5055 5056 5057 5058 5059 | * unix/tcl.m4: correct HP-UX ia64 --enable-64bit build flags 2003-02-13 Kevin Kenny <[email protected]> * doc/wish.n: Added language to describe the handling of the end-of-file character \u001a in script files. [Bug 685505] | | | | 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 | * unix/tcl.m4: correct HP-UX ia64 --enable-64bit build flags 2003-02-13 Kevin Kenny <[email protected]> * doc/wish.n: Added language to describe the handling of the end-of-file character \u001a in script files. [Bug 685505] 2003-02-10 Jim Ingham <[email protected]> * macosx/tkMacOSXCursor.c (TkMacOSXInstallCursor): Set all theme cursors using SetThemeCursor or SetAnimatedThemeCursors. (TkGetCursorByName): Use the theme cursors for arrow, ibeam, etc. Allow animatedCursor{NUM} form for an animated cursor with count. (TkpSetCursor): Don't reset the cursor if there is no change. * macosx/tkMacOSXMouseEvent.c (GeneratePollingEvents): Don't directly call TkMacOSXInstallCursor, it gets called by the call to Tk_UpdatePointer immediately above. 2003-02-05 Fred Fish <[email protected]> * macosx/tkMacOSXWm.c (Tk_SetGrid): Fix precedence problem with * mac/tkMacWm.c (Tk_SetGrid): '==' and '|'. 2003-02-08 Jeff Hobbs <[email protected]> |
︙ | ︙ | |||
5266 5267 5268 5269 5270 5271 5272 | * tests/textDisp.test: * generic/tkTextDisp.c (TkTextSeeCmd): handle see for unmapped text displays. [Bug #641778] 2002-11-19 Jim Ingham <[email protected]> * macosx/tkMacOSXScrlbr.c (TkpDisplayScrollbar): If the | | | | 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 | * tests/textDisp.test: * generic/tkTextDisp.c (TkTextSeeCmd): handle see for unmapped text displays. [Bug #641778] 2002-11-19 Jim Ingham <[email protected]> * macosx/tkMacOSXScrlbr.c (TkpDisplayScrollbar): If the scrollbar width is set to 12 or less (but 12 is what you should use) use the small metric scrollbar. (UpdateControlValues): Fix thinko in setting off AUTO_ADJUST for the place geometry manager. 2002-11-19 Jeff Hobbs <[email protected]> * unix/Makefile.in: add macosx/*.tcl (buildTkConfig.tcl in particular) to the dist target. 2002-11-14 Mo DeJong <[email protected]> |
︙ | ︙ | |||
5350 5351 5352 5353 5354 5355 5356 | * win/makefile.vc (TCLREGLIBNAME): Updated to registry 1.1. 2002-10-29 Daniel Steffen <[email protected]> * macosx/README: added info on new package searching in Frameworks directories. | | | | | 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 | * win/makefile.vc (TCLREGLIBNAME): Updated to registry 1.1. 2002-10-29 Daniel Steffen <[email protected]> * macosx/README: added info on new package searching in Frameworks directories. 2002-10-22 Jeff Hobbs <[email protected]> *** 8.4.1 TAGGED FOR RELEASE *** * changes: updated for 8.4.1 release 2002-10-21 Daniel Steffen <[email protected]> * macosx/README: revised according to Jim's suggestions * macosx/tkMacOSXAppInit.c: use standard PATH_MAX from <limits.h> 2002-10-18 Jeff Hobbs <[email protected]> * win/winMain.c (WinMain, main): remove obsolete SetMessageQueue call * win/configure: Regen. * 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. |
︙ | ︙ | |||
5415 5416 5417 5418 5419 5420 5421 | Added a linked boolean ::tk::mac::antialiasedtext with write trace to allow control of antialiasing from tcl. 2002-10-16 Vince Darley <[email protected]> * macosx/tkMacOSXMenu.c: fix to accelerators shown in menus with non-alphanumeric keys. | | | 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 | Added a linked boolean ::tk::mac::antialiasedtext with write trace to allow control of antialiasing from tcl. 2002-10-16 Vince Darley <[email protected]> * macosx/tkMacOSXMenu.c: fix to accelerators shown in menus with non-alphanumeric keys. * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXKeyboard.c: applied first patch from [Patch #622582] to fix some of [Bug #616988]. Further work is needed in this area, but this will let foreign keyboards at least work reasonably with Tk. 2002-10-15 Jeff Hobbs <[email protected]> |
︙ | ︙ | |||
5467 5468 5469 5470 5471 5472 5473 | * generic/tk.h: Added reminder comment to edit macosx/Wish.pbproj/project.pbxproj when version number changes. 2002-10-09 Daniel Steffen <[email protected]> * macosx/Makefile: don't remove tclsh after building embedded. | | | | | | 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 | * generic/tk.h: Added reminder comment to edit macosx/Wish.pbproj/project.pbxproj when version number changes. 2002-10-09 Daniel Steffen <[email protected]> * macosx/Makefile: don't remove tclsh after building embedded. * macosx/Wish.pbproj/project.pbxproj: bumped version to 8.4.1; added missing library/mkpsenc.tcl to framework. 2002-10-09 Daniel Steffen <[email protected]> * generic/tkInt.decls(tkIntXlib): added XQueryTree declaration for mac & aqua, since it's now called from ParentXId via Tk_HandleEvent. * generic/tkIntXlibDecls.h: * generic/tkStubInit.c: regen. * mac/tkMacXStubs.c: added XQueryTree stub * mac/tkMacEmbed.c (TkpUseWindow): check that container window has -container option set (sync with other platforms). * mac/tkMacBitmap.c: * mac/tkMacFont.c: * mac/tkMacSend.c: * mac/tkMacTest.c: * mac/tkMacWm.c: CONSTification. * mac/tkMacProjects.sea.hqx: added tkStyle.c and tkUndo.c to tk library projects. 2002-10-09 Donal K. Fellows <[email protected]> |
︙ | ︙ | |||
5543 5544 5545 5546 5547 5548 5549 | Tcl's encoding engine by using the same code path as for the normal string selection. It might be a bit slower, but it should be a lot more correct. [Bug #614650] 2002-09-30 Jeff Hobbs <[email protected]> * tests/panedwindow.test: added panedwindow-28.[12] | | | 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 | Tcl's encoding engine by using the same code path as for the normal string selection. It might be a bit slower, but it should be a lot more correct. [Bug #614650] 2002-09-30 Jeff Hobbs <[email protected]> * tests/panedwindow.test: added panedwindow-28.[12] * generic/tkPanedWindow.c (PanedWindowCmdDeletedProc): (Tk_PanedWindowObjCmd): when destroying the panedwindow, destroy the proxy before the parent to avoid dependency conflicts. [Bug #616589] 2002-09-30 Donal K. Fellows <[email protected]> * tests/unixSelect.test: Test for various things that can fail to |
︙ | ︙ | |||
5589 5590 5591 5592 5593 5594 5595 | 2002-09-18 Mumit Khan <[email protected]> Added basic Cygwin support. * win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build. (SC_PATH_TKCONFIG): Likewise. (SC_PROG_TCLSH): Likewise. | | | 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 | 2002-09-18 Mumit Khan <[email protected]> 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. |
︙ | ︙ | |||
5614 5615 5616 5617 5618 5619 5620 | Add symbolic links to debug lib, stub libs and tkConfig.sh in framework toplevel. Made tkIntXlibDecls.h a public header since Headers/X11/Xlib.h includes it. Install wish8.4 script that runs "Wish Shell.app" and corresponding wish link. Use tcl headers from built Tcl.framework instead of from tcl source directory. | | | 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 | Add symbolic links to debug lib, stub libs and tkConfig.sh in framework toplevel. Made tkIntXlibDecls.h a public header since Headers/X11/Xlib.h includes it. Install wish8.4 script that runs "Wish Shell.app" and corresponding wish link. Use tcl headers from built Tcl.framework instead of from tcl source directory. * macosx/tkMacOSXPort.h: added missing standard unix includes and defines, similarly to tkUnixPort.h. * macosx/tkMacOSXNotify.c: removed dependency on internal tcl header "tclPort.h" * unix/Makefile.in: * unix/install-sh: copied support for 'install-strip' target over from tcl/unix/{Makefile.in,install-sh} |
︙ | ︙ | |||
5658 5659 5660 5661 5662 5663 5664 | * generic/tk.h: * mac/tkMacApplication.r: * mac/tkMacLibrary.r: * mac/tkMacResource.r: * macosx/tkAboutDlg.r: * macosx/tkMacOSXApplication.r: * macosx/tkMacOSXLibrary.r: | | | 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 | * generic/tk.h: * mac/tkMacApplication.r: * mac/tkMacLibrary.r: * mac/tkMacResource.r: * macosx/tkAboutDlg.r: * macosx/tkMacOSXApplication.r: * macosx/tkMacOSXLibrary.r: * macosx/tkMacOSXResource.r: unified use of the two equivalent resource compiler header inclusion defines RC_INVOKED and RESOURCE_INCLUDED, now use RC_INVOKED throughout. * macosx/tkMacOSXAppInit.c: improved detection of Wish startup by the finder (by checking if stdin is /dev/null), in which case we want to bring up the Tk console window. |
︙ | ︙ | |||
5753 5754 5755 5756 5757 5758 5759 | * macosx/Wish.pbproj/project.pbxproj: Bumped version number to 8.4.0 and updated copyright info. 2002-09-03 Vince Darley <[email protected]> * macosx/tkMacOSXWm.c: fix to 'wm attributes' error-handling bug. | | | 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 | * macosx/Wish.pbproj/project.pbxproj: Bumped version number to 8.4.0 and updated copyright info. 2002-09-03 Vince Darley <[email protected]> * macosx/tkMacOSXWm.c: fix to 'wm attributes' error-handling bug. 2002-09-03 Don Porter <[email protected]> * changes: Updated for 8.4.0 release 2002-09-02 Jeff Hobbs <[email protected]> * tests/cursor.test: reverted 2002-08-31 change for OS X to use |
︙ | ︙ | |||
5818 5819 5820 5821 5822 5823 5824 | * generic/tk.decls: * generic/tkInt.decls: added new "aqua" specific entries to the stubs tables. Changed all "unix" entries to "x11" to allow us to distinguish and build both "aqua" on MacOSX and "x11" on MacOSX. * generic/tk.h: added a #ifnded RESOURCE_INCLUDED so that tk.h can | | | | | 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 | * generic/tk.decls: * generic/tkInt.decls: added new "aqua" specific entries to the stubs tables. Changed all "unix" entries to "x11" to allow us to distinguish and build both "aqua" on MacOSX and "x11" on MacOSX. * generic/tk.h: added a #ifnded RESOURCE_INCLUDED so that tk.h can be passed to the resource compiler. * generic/tkCmds.c (Tk_TkObjCmd): added [tk windowingsystem] subcommand: returns "x11" when running on X11, "win32" on Windows, "classic" on MacOS9 and "aqua" on MacOSX Aqua (i.e. Carbon) * generic/tkFont.c (TkFontGetFirstTextLayout): new private function returning the first chunk of a Tk_TextLayout, i.e. until the first font change on the first line (or the whole first line if there is no such font change). * generic/tkMain.c: made Tcl_ThreadDataKey static * library/demos/puzzle.tcl: fixed button metrics for aqua * tests/cursor.test: check for presence of arrow cursor instead of heart cursor * xlib/xcolors.c: changed xColors static initialization to more standard C * macosx/Wish.pbproj/jingham.pbxuser (new): * macosx/Wish.pbproj/project.pbxproj (new): project for Apple's ProjectBuilder IDE. * macosx/Makefile (new): simple makefile for building the project from the command line via the ProjectBuilder tool 'pbxbuild'. |
︙ | ︙ | |||
5868 5869 5870 5871 5872 5873 5874 | * macosx/tkMacOSXEvent.h (new): * macosx/tkMacOSXKeyEvent.c (new): * macosx/tkMacOSXMouseEvent.c (new): * macosx/tkMacOSXWindowEvent.c (new): new macosx specific event handling functionality. * macosx/tkMacOSX.h (new): | | | 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 | * macosx/tkMacOSXEvent.h (new): * macosx/tkMacOSXKeyEvent.c (new): * macosx/tkMacOSXMouseEvent.c (new): * macosx/tkMacOSXWindowEvent.c (new): new macosx specific event handling functionality. * macosx/tkMacOSX.h (new): * macosx/tkMacOSXBitmap.c (new): * macosx/tkMacOSXButton.c (new): * macosx/tkMacOSXClipboard.c (new): * macosx/tkMacOSXColor.c (new): * macosx/tkMacOSXConfig.c (new): * macosx/tkMacOSXCursor.c (new): * macosx/tkMacOSXDefault.h (new): * macosx/tkMacOSXDialog.c (new): |
︙ | ︙ | |||
5958 5959 5960 5961 5962 5963 5964 | * generic/tkInt.h: * mac/tkMacBitmap.c: * mac/tkMacWm.c: added missing CONSTification * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: | | | 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 | * generic/tkInt.h: * mac/tkMacBitmap.c: * mac/tkMacWm.c: added missing CONSTification * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h: * generic/tkStubInit.c: regen 2002-08-27 D. Richard Hipp <[email protected]> * doc/checkbutton.n: [Bug 582457] Fix the -offrelief option so * doc/radiobutton.n: that when -offrelief is flat and -relief is * mac/tkMacButton.c: sunken and -overrelief is raised, buttons |
︙ | ︙ | |||
5982 5983 5984 5985 5986 5987 5988 | 2002-08-20 Don Porter <[email protected]> * README: Bumped version number to 8.4b3 to distinguish * generic/tk.h: HEAD from the 8.4b2 release. * unix/configure.in: * win/configure.in: * unix/tk.spec: | | | 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 | 2002-08-20 Don Porter <[email protected]> * README: Bumped version number to 8.4b3 to distinguish * 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]. |
︙ | ︙ | |||
6076 6077 6078 6079 6080 6081 6082 | * win/tkWinMenu.c (TkpSetWindowMenuBar): fixed logic bug in when to idle call ReconfigureWindowsMenu. * doc/GetBitmap.3: removed doc refs to deprecated Tk_GetBitmapFromData. [Bug #590379] | | | 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 | * win/tkWinMenu.c (TkpSetWindowMenuBar): fixed logic bug in when to idle call ReconfigureWindowsMenu. * doc/GetBitmap.3: removed doc refs to deprecated Tk_GetBitmapFromData. [Bug #590379] * generic/tkPanedWindow.c (Tk_PanedWindowObjCmd): * library/panedwindow.tcl: changed class from PanedWindow to Panedwindow to not conflict with existing bwidgets, but also to be more regular with other names used in the core. * tests/panedwindow.test: added -text foobar to some test buttons to enable correct testing of panedwindow across platforms. [Bug #582370] |
︙ | ︙ | |||
6104 6105 6106 6107 6108 6109 6110 | (PanedWindowReqProc): Do the old behaviour when the panedwindow is not mapped; easiest way of making the test suite pass while still preserving improved behaviour in the face of children whose size is not known immediately. 2002-08-06 Don Porter <[email protected]> | | | 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 | (PanedWindowReqProc): Do the old behaviour when the panedwindow is not mapped; easiest way of making the test suite pass while still preserving improved behaviour in the face of children whose size is not known immediately. 2002-08-06 Don Porter <[email protected]> * tests/defs.tcl: removed file. No longer needed now that Tk is using the tcltest package to do its testing. 2002-08-05 Don Porter <[email protected]> * win/tkWinFont.c: Additional changes to fix CONST warnings on * win/tkWinWM.c: Windows due to latest patch. Tks Vince Darley. |
︙ | ︙ | |||
6173 6174 6175 6176 6177 6178 6179 | * generic/tkGrid.c: * generic/tkImage.c: * generic/tkImgBmap.c: * generic/tkImgPhoto.c: * generic/tkInt.decls: * generic/tkInt.h: * generic/tkIntDecls.h: | | | 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 | * generic/tkGrid.c: * generic/tkImage.c: * generic/tkImgBmap.c: * generic/tkImgPhoto.c: * generic/tkInt.decls: * generic/tkInt.h: * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkListbox.c: * generic/tkMenu.c: * generic/tkMenubutton.c: * generic/tkMessage.c: * generic/tkOldConfig.c: * generic/tkOption.c: * generic/tkRectOval.c: |
︙ | ︙ | |||
6345 6346 6347 6348 6349 6350 6351 | 2002-07-18 Reinhard Max <[email protected]> * unix/tkUnixSend.c: Using Tcl_GetTime instead of TclpGetTime. 2002-07-17 Reinhard Max <[email protected]> * library/unsupported.tcl: Extended ExposePrivateVariable, and | | | | 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 | 2002-07-18 Reinhard Max <[email protected]> * unix/tkUnixSend.c: Using Tcl_GetTime instead of TclpGetTime. 2002-07-17 Reinhard Max <[email protected]> * library/unsupported.tcl: Extended ExposePrivateVariable, and ExposePrivateCommand to accept patterns as well. 2002-07-17 Don Porter <[email protected]> * generic/tkFont.c: Corrected reversed logic in assert -> panic conversion. [Bug 582799] 2002-07-16 Mo DeJong <[email protected]> * generic/tkFont.c (TkFontPkgFree): Call panic instead of assert since assert is not used in the rest of Tk. [Tk bug 579651] 2002-07-16 Mo DeJong <[email protected]> * unix/Makefile.in: * win/Makefile.in: Add a more descriptive warning in the event `make genstubs` needs to be rerun. 2002-07-16 Vince Darley <[email protected]> * win/tkWinWm.c: * doc/wm.n: fix for part of [Bug 581627], and made iconbitmap code on Windows more flexible about reading in icons [Bug 220800]. 2002-07-15 David Gravereaux <[email protected]> * win/makefile.bc (new): re-add of the borland makefile. Submitted |
︙ | ︙ | |||
6390 6391 6392 6393 6394 6395 6396 | * win/tkWinWm.c: Typo in error message. 2002-07-14 Don Porter <[email protected]> * tests/event.test: Fixes to enable testing of only userInteraction * tests/visual_bb.test: tests. | | | 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 | * win/tkWinWm.c: Typo in error message. 2002-07-14 Don Porter <[email protected]> * tests/event.test: Fixes to enable testing of only userInteraction * tests/visual_bb.test: tests. * README: Bumped HEAD to version 8.4b2 in order to * generic/tk.h: distinguish it from the 8.4b1 release. * unix/configure*: Also extended LOCALES to cover all message * unix/tk.spec: catalogs. * win/configure*: * tests/focustTcl.test: Conversion bug: Corrected backwards logic. * tests/imgPhoto.test: Conversion bug: overwrote unix/README. |
︙ | ︙ | |||
6489 6490 6491 6492 6493 6494 6495 | match the <eol> of the file itself. Windows users where getting \r\r\n. Problem fixed. 2002-06-26 Anton Kovalenko <[email protected]> * generic/tkFont.c (TkTextLayoutToPostscript): fixed potential buffer overflow which could be intentionally triggered from | | | 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 | match the <eol> of the file itself. Windows users where getting \r\r\n. Problem fixed. 2002-06-26 Anton Kovalenko <[email protected]> * generic/tkFont.c (TkTextLayoutToPostscript): fixed potential buffer overflow which could be intentionally triggered from within safe interpreter -- malicious applet could modify tk::psglyphs array. 2002-06-26 Anton Kovalenko <[email protected]> * tests/font.test (font-32.1): updated this test to expect the new behavior of canvas postscript. |
︙ | ︙ | |||
6615 6616 6617 6618 6619 6620 6621 | 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] 2002-06-21 Donal K. Fellows <[email protected]> | | | 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 | 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] 2002-06-21 Donal K. Fellows <[email protected]> * unix/tk.spec (version), README, win/configure.in, unix/configure.in: * generic/tk.h (TK_RELEASE_*, TK_PATCH_LEVEL): Bumped to beta1. 2002-06-21 Jeff Hobbs <[email protected]> * doc/text.n: TIP #104 implementation which generalizes the * generic/tkText.c: undo/redo stack to not be tied solely to the * generic/tkText.h: text widget. The APIs are still private. |
︙ | ︙ | |||
6644 6645 6646 6647 6648 6649 6650 | * unix/tkAppInit.c: executable on the tcltest executable on Unix. If there are similar dependencies on other platforms, they can probably be removed as well. [Bug 572134]. 2002-06-20 Jeff Hobbs <[email protected]> * doc/listbox.n: | | | | 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 | * unix/tkAppInit.c: executable on the tcltest executable on Unix. If there are similar dependencies on other platforms, they can probably be removed as well. [Bug 572134]. 2002-06-20 Jeff Hobbs <[email protected]> * doc/listbox.n: * 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. 2002-06-20 Peter Spjuth <[email protected]> * generic/tkGrid.c: Corrected the test for grid propagate change. [Bug #571433] |
︙ | ︙ | |||
6733 6734 6735 6736 6737 6738 6739 | * generic/tkWindow.c (TkCreateMainWindow, Tk_DestroyWindow): Added calls to set up and tear down the style subsystem. * generic/tk.decls, generic/tk.h: Many declarations forming TIP#48 public interface. | | | 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 | * generic/tkWindow.c (TkCreateMainWindow, Tk_DestroyWindow): Added calls to set up and tear down the style subsystem. * generic/tk.decls, generic/tk.h: Many declarations forming TIP#48 public interface. * generic/tkInt.decls (TkStylePkgInit,TkStylePkgFree): * generic/tkInt.h (TkGetOptionSpec): Supporting declarations. * unix/Makefile.in, win/Makefile.in, win/makefile.vc: Added tkStyle.c to list of generic source files. 2002-06-18 Donal K. Fellows <[email protected]> |
︙ | ︙ | |||
6768 6769 6770 6771 6772 6773 6774 | * win/rc/wish.rc: removed the #define RESOURCE_INCLUDED lines. 2002-06-17 Jeff Hobbs <[email protected]> * unix/Makefile.in (dist): correct installation of wish.exe.manifest to DISTDIR target directory. | | | | | | | 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 | * win/rc/wish.rc: removed the #define RESOURCE_INCLUDED lines. 2002-06-17 Jeff Hobbs <[email protected]> * unix/Makefile.in (dist): correct installation of wish.exe.manifest to DISTDIR target directory. * generic/tkCmds.c (Tk_TkObjCmd): * generic/tkInt.h (struct TkCaret): * mac/tkMacXStubs.c (Tk_SetCaretPos): * unix/tkUnixKey.c (TkpGetString, Tk_SetCaretPos): * win/tkWinX.c (Tk_SetCaretPos): * tests/tk.test: Added 'tk caret' implementation of TIP#96 * doc/SetCaret.3 (new): which adds a TkCaret structure element to * doc/tk.n: TkDisplay for maintaining state. * unix/tkUnixSend.c (TkSendCleanup): special cleanup of inputContext to avoid bug in XCloseIM. (dejong) |
︙ | ︙ | |||
6815 6816 6817 6818 6819 6820 6821 | * generic/tkOption.c (Tk_GetOption): Allocate memory with ckalloc not malloc. This keeps Tk from erroring out when built with TCL_MEM_DEBUG. 2002-06-14 Jeff Hobbs <[email protected]> | | | | | | | | | | | 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 | * generic/tkOption.c (Tk_GetOption): Allocate memory with ckalloc not malloc. This keeps Tk from erroring out when built with TCL_MEM_DEBUG. 2002-06-14 Jeff Hobbs <[email protected]> * generic/tkBind.c (HandleEventGenerate): * generic/tkInt.h: changed warpInProgress boolean from int to a bit in the flags variable (TK_DISPLAY_IN_WARP) * generic/tkCmds.c (Tk_TkObjCmd): * unix/tkUnixKey.c (TkpGetString): * generic/tkEvent.c (Tk_HandleEvent): * generic/tkInt.h: changed useInputMethods boolean from int to a bit in the flags variable (TK_DISPLAY_USE_IM) * generic/tkInt.h: * 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) * generic/tkEvent.c (Tk_HandleEvent): * unix/tkUnixEvent.c (OpenIM): * unix/tkUnixKey.c (TkpGetString): * generic/tkInt.h: added TK_DISPLAY_XIM_SPOT flag bit for TkDisplay and used this to allow a runtime check to see if over-the-spot XIM is possible. If not it will try and fallback to the old-style input context, which handles things like dead keys input. * generic/tk.decls: added TIP #84 implementation that adds a * generic/tkDecls.h: Tk_CollapseMotionEvents API which controls |
︙ | ︙ | |||
6884 6885 6886 6887 6888 6889 6890 | * unix/Makefile.in: * unix/tkUnixEmbed.c: * unix/tkUnixWm.c: * win/tkWinScrlbr.c: * win/tkWinWindow.c: * win/tkWinWm.c: Implementation of TIP #47 by Neil McKay "Modifying Tk to Allow Writing X Window managers". | | | | | | | | | 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 | * unix/Makefile.in: * unix/tkUnixEmbed.c: * unix/tkUnixWm.c: * win/tkWinScrlbr.c: * win/tkWinWindow.c: * win/tkWinWm.c: Implementation of TIP #47 by Neil McKay "Modifying Tk to Allow Writing X Window managers". 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. [Tk patch 572978] 2002-06-14 Andreas Kupries <[email protected]> * unix/tkAppInit.c: Removed now unneeded and erroneous reference to 'matherr'. See Tcl ChangeLog entry 2002-05-31 Don Porter. 2002-06-14 David Gravereaux <[email protected]> * win/rules.vc: The test for compiler optimizations was in error. Thanks goes to Roy Terry <[email protected]> for his assistance with this. 2002-06-14 Donal K. Fellows <[email protected]> Implement TIP 98 [Tk patch 566765] * doc/FindPhoto.3, generic/tk.h, generic/tk.decls: * generic/tkImgPhoto.c: Changed *_Old to *_NoComposite and USE_OLD_PHOTO_PUT_BLOCK to USE_COMPOSITELESS_PHOTO_PUT_BLOCK following a suggestion from Don Porter. * tests/imgPhoto.test: Added tests of -compositingrule * doc/photo.n: Added documentation for "-compositingrule". * generic/tkImgPhoto.c (ImgPhotoCmd, ParseSubcommandOptions): New "-compositingrule" option for [$photo copy] subcommand, using OPT_COMPOSITE flag and compositingRule field in SubcommandOptions structure. * doc/FindPhoto.3: Documented the extra argument for the compositing rule and the action to take if anyone wants to maintain total backward-compatability. * generic/tk.h (TK_PHOTO_COMPOSITE_*): Defined values for use as compositing rules. (USE_OLD_PHOTO_PUT_BLOCK): Added a way for users to select the old interface to Tk_PhotoPutBlock to provide an easier upgrade path. * generic/tk.decls: Alter Tk_PhotoPut*Block to Tk_PhotoPut*Block_Old and introduce new slots for the old name of function with an extra argument at the end for the compositing rule. * generic/tkImgPhoto.c (ImgPhotoCmd): Updated "transparency set" subcommand to use TkSubtractRegion(). * win/tkWinRegion.c (TkSubtractRegion): * mac/tkMacRegion.c (TkSubtractRegion): * generic/tkInt.decls (TkSubtractRegion): * unix/tkUnixPort.h (TkSubtractRegion): Added function to perform the set-difference operation on regions; it seems all platforms can support it, and it makes removing rectangular bits from regions much easier. * generic/tkImgPPM.c (FileReadPPM): Reading a PPM/PGM always uses the SET compositing rule because it is faster and the format does |
︙ | ︙ | |||
6981 6982 6983 6984 6985 6986 6987 | * win/tkWinCursor.c (TkGetCursorByName): Undone Jeff's back-off and fixed things so that they should work now. Cursor specs are lists first and foremost. 2002-06-12 Mo DeJong <[email protected]> * changes: Clearly label wm transient changes as | | | 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 | * win/tkWinCursor.c (TkGetCursorByName): Undone Jeff's back-off and fixed things so that they should work now. Cursor specs are lists first and foremost. 2002-06-12 Mo DeJong <[email protected]> * changes: Clearly label wm transient changes as a POTENTIAL INCOMPATIBILITY. * doc/wm.n: Remove "some window managers will" text and explicitly state what behavior a transient window will display. Also mention that it is an error to make a window a transient of itself. 2002-06-12 Mo DeJong <[email protected]> |
︙ | ︙ | |||
7051 7052 7053 7054 7055 7056 7057 | 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. [Tk patch 561708] 2002-06-11 Joe English <[email protected]> | | | | | | 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 | 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. [Tk patch 561708] 2002-06-11 Joe English <[email protected]> * library/menu.tcl: fix for bug report #530212 "Bad Window Path Name in tkMenuFind" 2002-06-10 David Gravereaux <[email protected]> * win/makefile.vc: Fixed a win98 issue where the /exclude option for xcopy is unsupported. Reported by Roy Terry <[email protected]>. 2002-06-10 Anton Kovalenko <[email protected]> * library/tk.tcl: added utility functions to get "-underline" and "-text" for labels and buttons from translatable string containing "magic ampersand" [patch #566605] * library/clrpick.tcl: * library/msgbox.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl: some places where msgcat is used to get translated label are modified to handle labels with magic ampersand. * library/msgs/ru.msg: russian translations added * library/msgs/cs.msg: * library/msgs/de.msg: * library/msgs/el.msg: * library/msgs/es.msg: * library/msgs/fr.msg: * library/msgs/it.msg: * library/msgs/nl.msg: all translation files now have labels with 'magic ampersand' where appropriate. In el.msg some ampersands are missing, as I don't know which underline positions seems natural to "el" users. |
︙ | ︙ | |||
7099 7100 7101 7102 7103 7104 7105 | works when the file has a space in instead of requiring fiddling with backslashes. 2002-06-06 Anton Kovalenko <[email protected]> * library/msgbox.tcl (MessageBox): Add -default normal when creating non-default buttons for message box. | | | | | | 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 | works when the file has a space in instead of requiring fiddling with backslashes. 2002-06-06 Anton Kovalenko <[email protected]> * library/msgbox.tcl (MessageBox): Add -default normal when creating non-default buttons for message box. They already get -default normal when they're unfocused, and dialog window size used to change suddenly in such cases. 2002-06-05 Anton Kovalenko <[email protected]> * unix/tkUnixFont.c (Tk_DrawChars): Don't assume that one char is always one byte, and that required subfont for the last character in any string is the same as for the previous character [Bug #559435] [Patch #559437] 2002-05-27 Mo DeJong <[email protected]> * changes: Document [wm transient .t .t] error. * tests/wm.test: Check that setting a window as a transient of itself raises an error. Check |
︙ | ︙ | |||
7175 7176 7177 7178 7179 7180 7181 | [Bug #548765] 2002-05-26 Peter Spjuth <[email protected]> * generic/tkCanvText.c (ComputeTextBbox): Negative coordinates were rounded badly causing a 1 pixel displacement. [Bug #556526] | | | 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 | [Bug #548765] 2002-05-26 Peter Spjuth <[email protected]> * generic/tkCanvText.c (ComputeTextBbox): Negative coordinates were rounded badly causing a 1 pixel displacement. [Bug #556526] 2002-05-24 Mo DeJong <[email protected]> * mac/tkMacWm.c (Tk_WmCmd): * 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. |
︙ | ︙ | |||
7256 7257 7258 7259 7260 7261 7262 | 2002-04-22 Jeff Hobbs <[email protected]> * library/button.tcl (ButtonLeave): corrected the 3 implementations of ButtonLeave to check for Priv(relief) existing before trying to use it. [Patch #541849] | | | | 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 | 2002-04-22 Jeff Hobbs <[email protected]> * library/button.tcl (ButtonLeave): corrected the 3 implementations of ButtonLeave to check for Priv(relief) existing before trying to use it. [Patch #541849] * generic/tkTextDisp.c (DisplayLineBackground): * unix/tkUnix3d.c (Tk_3DHorizontalBevel): * unix/tkUnixFont.c (Tk_DrawChars): applied fixes to not overrun the X window 16-bit size limit. [Patch #541999] (bonfield) 2002-04-22 Donal K. Fellows <[email protected]> * generic/tkTextDisp.c (GetXView, GetYView): Comparison with previous values of scrollbar range are now done in a way that is |
︙ | ︙ | |||
7380 7381 7382 7383 7384 7385 7386 | 2002-04-08 Daniel Steffen <[email protected]> * mac/tkMacProjects.sea.hqx: added tkPanedWindow.c to projects * mac/tkMacAppInit.c: fixes to MSL stdin/stdout hookup to the TkConsole when using shared MSL libraries; fix for crashing bug on exit: writing to stdin/sterr when console has already | | | 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 | 2002-04-08 Daniel Steffen <[email protected]> * mac/tkMacProjects.sea.hqx: added tkPanedWindow.c to projects * mac/tkMacAppInit.c: fixes to MSL stdin/stdout hookup to the TkConsole when using shared MSL libraries; fix for crashing bug on exit: writing to stdin/sterr when console has already been destroyed. (both fixes need support in MSL, see 'CW Pro6 changes' in tcl/mac/tcltkMacBuildSupport.sea.hqx) * mac/tkMacDialog.c: fixes to Navigation Services Dialog filter. * mac/tkMacDraw.c: add panic for overwide TkImages that would crash Tk on mac otherwise. 2002-04-05 Jeff Hobbs <[email protected]> |
︙ | ︙ | |||
7402 7403 7404 7405 7406 7407 7408 | * generic/tkDecls.h: * generic/tk.decls: added Tk_SetCaretPos declaration. This command allows users to indicate the cursor position and is used by XIM (Unix) or IME (Windows) to place the caret box correctly. It is also part of correct Accessibility style on Windows to make the magnifier jump to the focus point. | | | 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 | * generic/tkDecls.h: * generic/tk.decls: added Tk_SetCaretPos declaration. This command allows users to indicate the cursor position and is used by XIM (Unix) or IME (Windows) to place the caret box correctly. It is also part of correct Accessibility style on Windows to make the magnifier jump to the focus point. * win/tkWinButton.c (TkpDisplayButton): * generic/tkTextMark.c (TkTextInsertDisplayProc): * generic/tkCanvText.c (DisplayCanvText): * generic/tkEntry.c (DisplayEntry): added Tk_SetCaretPos calls * generic/tkInt.h: added TK_XIM_SPOT #define (default 1). Added XFontSet attribute to TkDisplay when TK_XIM_SPOT is true. * generic/tkEvent.c (Tk_HandleEvent): made sure inputContexts are |
︙ | ︙ | |||
7461 7462 7463 7464 7465 7466 7467 | 2002-03-21 David Gravereaux <[email protected]> * win/makefile.vc: Changed optimize flag to -0ti instead of -02. [Bug 528441] 2002-03-20 Don Porter <[email protected]> | | | | | 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 | 2002-03-21 David Gravereaux <[email protected]> * win/makefile.vc: Changed optimize flag to -0ti instead of -02. [Bug 528441] 2002-03-20 Don Porter <[email protected]> * generic/tkButton.c (ButtonTextVarProc,ButtonVarProc): * generic/tkCmds.c (WaitVariableProc): * generic/tkEntry.c (EntryTextVarProc): * generic/tkListbox.c (ListboxListVarProc): * generic/tkMenu.c (MenuVarProc): * generic/tkMenubutton.c (MenuButtonTextVarProc): * generic/tkMessage.c (MessageTextVarProc): * generic/tkScale.c (ScaleVarProc): Updates to handle change in type of part2 argument of Tcl_VarTraceProc typedef. [TIP 27] [Patch 532644]. 2002-03-19 Jeff Hobbs <[email protected]> * generic/tkOldConfig.c (Tk_ConfigureValue): prevent leaving |
︙ | ︙ | |||
7510 7511 7512 7513 7514 7515 7516 | * unix/README: updated --* options docs. * unix/tk.spec: fixed URL refs to use www.tcl.tk or SF. 2002-03-04 Jeff Hobbs <[email protected]> | | | | | 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 | * unix/README: updated --* options docs. * unix/tk.spec: fixed URL refs to use www.tcl.tk or SF. 2002-03-04 Jeff Hobbs <[email protected]> * README: * mac/README: * unix/README: * win/README: updated to use www.tcl.tk URL. 2002-03-03 Jeff Hobbs <[email protected]> * library/entry.tcl: added catch around Triple-1 binding use of sel.last |
︙ | ︙ | |||
7829 7830 7831 7832 7833 7834 7835 | 2002-01-16 Jeff Hobbs <[email protected]> * generic/tkListbox.c (ChangeListboxOffset): improved tracking when scrolling on x axis with entry/text. [Bug #225025] (voskuil) 2002-01-16 Don Porter <[email protected]> | | | | | | | | | | | | | | 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 | 2002-01-16 Jeff Hobbs <[email protected]> * generic/tkListbox.c (ChangeListboxOffset): improved tracking when scrolling on x axis with entry/text. [Bug #225025] (voskuil) 2002-01-16 Don Porter <[email protected]> * generic/tk3d.c (Tk_GetReliefFromObj): * generic/tkBind.c (Tk_EventObjCmd,HandleEventGenerate): * generic/tkButton.c (ButtonWidgetObjCmd): * generic/tkCanvas.c (CanvasWidgetCmd,FindItems): * generic/tkClipboard.c (Tk_ClipboardObjCmd): * generic/tkCmds.c (Tk_BellObjCmd, Tk_TkObjCmd, Tk_TkwaitObjCmd, Tk_UpdateObjCmd, Tk_WinfoObjCmd, Tk_WmObjCmd): * generic/tkConfig.c (DoObjConfig): * generic/tkEntry.c (EntryWidgetObjCmd, SpinboxWidgetObjCmd): * generic/tkFocus.c (Tk_FocusObjCmd): * generic/tkFont.c (Tk_FocusObjCmd, ConfigAttributesObj): * generic/tkFrame.c (Tk_FrameObjCmd): * generic/tkGet.c (Tk_GetAnchorFromObj, Tk_GetJustifyFromObj): * generic/tkGrab.c (Tk_GrabObjCmd): * generic/tkGrid.c (Tk_GridObjCmd,GridRowColumnConfigureCommand, GridSlavesCommand, ConfigureSlaves): * generic/tkImage.c (Tk_ImageObjCmd): * generic/tkImgBmap.c (ImgBmapCmd): * generic/tkImgGIF.c (FileReadGIF): * generic/tkImgPhoto.c (ImgPhotoCmd): * generic/tkListbox.c (ListboxWidgetObjCmd, ListboxSelectionSubCmd, GetListboxIndex): * generic/tkMenu.c (MenuWidgetObjCmd, MenuAddOrInsert, MenuCmd, ConfigureMenu, CloneMenu): * generic/tkMenubutton.c (MenuButtonWidgetObjCmd): * generic/tkMessage.c (MessageWidgetObjCmd): * generic/tkOption.c (Tk_OptionObjCmd): * generic/tkPack.c (Tk_PackObjCmd, ConfigureSlaves): * generic/tkPlace.c (Tk_PlaceObjCmd): * generic/tkScale.c (ScaleWidgetObjCmd): * generic/tkSelect.c (Tk_SelectionObjCmd): * generic/tkSquare.c (SquareWidgetObjCmd): * generic/tkTest.c (TestobjconfigObjCmd, TrivialConfigObjCmd, TestfontObjCmd): Updates to handle change in type of tablePtr argument of Tcl_GetIndexFromObj(Struct) from (char **) to (CONST char **). [TIP 27] [Patch 504705] * generic/tkCanvText.c (GetSelText): * generic/tkEntry.c (Entry{FetchSelection,Setvalue},ExpandPercents): |
︙ | ︙ | |||
7889 7890 7891 7892 7893 7894 7895 | * win/tcl.m4: Update from Tcl. 2002-01-04 Don Porter <[email protected]> * generic/tkMain.c (Tk_MainEx): Updated callers of CONSTified Tcl interfaces Tcl_EvalFile and TclGetStartupScriptFileName. | | | | 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 | * win/tcl.m4: Update from Tcl. 2002-01-04 Don Porter <[email protected]> * generic/tkMain.c (Tk_MainEx): Updated callers of CONSTified Tcl interfaces Tcl_EvalFile and TclGetStartupScriptFileName. * generic/tkConsole.c (ConsoleOutputProc, TkConsolePrint): * generic/tkInt.h (TkConsolePrint): * mac/tkMacAppInit.c (TkConsolePrint): Updated Tk's console to CONSTified channel driver interface. [Tcl Patch 503565, Tk Patch 503983] 2002-01-11 Mo DeJong <[email protected]> Use ${libdir} instead of ${exec_prefix}/lib. [Tcl bug 489370] * unix/configure: Regen. * unix/configure.in: Define and use libdir. * win/configure: Regen. * win/configure.in: Define libdir. 2002-01-11 Mo DeJong <[email protected]> |
︙ | ︙ | |||
7998 7999 8000 8001 8002 8003 8004 | * mac/tkMacLibrary.r: minor version resources cleanup 2001-12-27 Jeff Hobbs <[email protected]> * generic/tkButton.c (ButtonTextVarProc): guard against being called while the *button/label is being deleted. [Bug #490051] | | | | 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 | * mac/tkMacLibrary.r: minor version resources cleanup 2001-12-27 Jeff Hobbs <[email protected]> * generic/tkButton.c (ButtonTextVarProc): guard against being called while the *button/label is being deleted. [Bug #490051] * library/entry.tcl: * library/spinbox.tcl: * library/text.tcl: added extra checks against bug #220269 and made spinbox reuse more of the entry procedure code. 2001-12-20 Mo DeJong <[email protected]> * unix/configure: Regen. * unix/tcl.m4: Update from Tcl. |
︙ | ︙ | |||
8222 8223 8224 8225 8226 8227 8228 | TkpIsWindowFloating from tkMacInt.h to tkInt.decls: interface tkIntPlat. - these changes to the stub tables might require you to recompile your Tk extensions if they turn out to reference one of the removed routines in the wrong table (should be unlikely). * generic/tkMain.c: MAC_TCL: workaround for broken/non-standard isatty on MW Pro6, #include <unistd.h> instead of defining isatty | | | | | | | 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 | TkpIsWindowFloating from tkMacInt.h to tkInt.decls: interface tkIntPlat. - these changes to the stub tables might require you to recompile your Tk extensions if they turn out to reference one of the removed routines in the wrong table (should be unlikely). * generic/tkMain.c: MAC_TCL: workaround for broken/non-standard isatty on MW Pro6, #include <unistd.h> instead of defining isatty * generic/tkPointer.c: MAC_TCL: #include tkMacInt.h * generic/tkStubLib.c: MAC_TCL: removed obsolete special casing of mac headers, standardize #include'd files to what's done on other platforms * mac/tclets.r: * mac/tkMacWindowMgr.c: * mac/tkMacScrlbr.c: * mac/tkMacMenu.c: * mac/tkMacMenus.c: * mac/tkMacFont.c: * mac/tkMacDialog.c: * mac/tkMacButton.c: renamed obsolete apple API names to modern equivalents; UH3.4 support: added #include <ControlDefinitions.h>; fixed munged non-ASCII chars in sources due to bungled latin1<->mac roman encoding in CVS repository. * mac/tkMacDialog.c: added support for -filetypes option (fix for bug tcl #221636); added update event handling for background windows while in a NavigationMgr dialog; fixed nasty bug when calling CustomGetFile (missing addr operator) (fix for bug tk #220911 & tcl #219367); renamed routines conflicting with standard MoreFiles headers (see Tcl ChangeLog for details) * mac/tkMacApplication.r: * mac/tkMacLibrary.r: * mac/tkMacResource.r: fixed obsolete copyrights/dates in version strings, updated version strings to standard usage, added support for '(Support Libraries)' subfolder for shared runtime libraries in unmerged binaries, commented out demo setting of "Tcl Environment Variables"; reorganized resources among these files to avoid multiple copies in applications and shared libraries, the script libraries/Xcursors etc are now no longer duplicated in Wish but are only included in the resources of Tk.shlb. * mac/tkMacMenu.c: * mac/tkMacMDEF.r: changes to support MW Pro 6 68k (vers 0x2400 only) compiler producing different offset to start of MDEF; fix to static 68k presence testing when calling the custom MDEF * mac/tkMacWm.c.c: * mac/tkMacWindowMgr.c: added/fixed AppearanceMgr checks; override AppearanceMgr version detection on static 68k to ensure static 68k Wish runs on PPCs with recent AppearanceMgr |
︙ | ︙ | |||
8292 8293 8294 8295 8296 8297 8298 | 2001-11-17 Jeff Hobbs <[email protected]> * win/tkWinButton.c (TkpComputeButtonGeometry): corrected the default size of Windows buttons to conform to the Windows style. This changes the default size of buttons on Windows. [Patch #463234] (nelson) **** POTENTIAL VISUAL INCOMPATABILITY **** | | | 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 | 2001-11-17 Jeff Hobbs <[email protected]> * win/tkWinButton.c (TkpComputeButtonGeometry): corrected the default size of Windows buttons to conform to the Windows style. This changes the default size of buttons on Windows. [Patch #463234] (nelson) **** POTENTIAL VISUAL INCOMPATABILITY **** 2001-11-16 Jeff Hobbs <[email protected]> * library/menu.tcl: corrected menu traversal code on Unix to better handle entering cascades. [Patch #481219] (oleinick) 2001-11-16 David Gravereaux <[email protected]> |
︙ | ︙ | |||
8393 8394 8395 8396 8397 8398 8399 | variables since it is not needed when linking with CC. If required when linking with LD it should be done on a case by case basis in tcl.m4. 2001-11-05 Donal K. Fellows <[email protected]> * library/demos/dialog2.tcl: Typo-fix. | | | 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 | variables since it is not needed when linking with CC. If required when linking with LD it should be done on a case by case basis in tcl.m4. 2001-11-05 Donal K. Fellows <[email protected]> * library/demos/dialog2.tcl: Typo-fix. * library/demos/browse, library/demos/ixset, library/demos/rolodex: Installation does version number fixup, so we shouldn't. Thanks to [email protected] for pointing these (thankfully minor) problems out. 2001-10-30 Donal K. Fellows <[email protected]> * library/demos/widget: Integrated labelframe item into the labels |
︙ | ︙ | |||
8515 8516 8517 8518 8519 8520 8521 | 2001-09-30 Peter Spjuth <[email protected]> * doc/grid.n: * generic/tkGrid.c: * tests/grid.test: Added -uniform option to grid's row/column- configure. [TIP 37] [Patch 459343] | | | 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 | 2001-09-30 Peter Spjuth <[email protected]> * doc/grid.n: * generic/tkGrid.c: * tests/grid.test: Added -uniform option to grid's row/column- configure. [TIP 37] [Patch 459343] 2001-09-26 Peter Spjuth <[email protected]> * win/tkWinFont.c (Tk_DrawChars): Added support for clipping text. * doc/frame.n: * doc/labelframe.n: * doc/toplevel.n: |
︙ | ︙ | |||
8539 8540 8541 8542 8543 8544 8545 | * win/tkWinDefault.h: Added labelframe widget. Added -padx/y options to frame and toplevel. * tests/grid.test: * tests/pack.test: * tests/place.test: Used labelframe to test geometry manager changes. [TIP 18] [Patch 429164] | | | | | | 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 | * win/tkWinDefault.h: Added labelframe widget. Added -padx/y options to frame and toplevel. * tests/grid.test: * tests/pack.test: * tests/place.test: Used labelframe to test geometry manager changes. [TIP 18] [Patch 429164] 2001-09-26 Peter Spjuth <[email protected]> * doc/GeomReq.3: * doc/WindowId.3: * generic/tk.decls: * generic/tk.h: * generic/tkDecls.h: * generic/tkGeometry.c: * generic/tkGrid.c (ArrangeGrid): * generic/tkInt.h: * generic/tkPack.c (ArrangePacking): * generic/tkPlace.c (RecomputePlacement): * generic/tkStubInit.c: * generic/tkUtil.c (TkComputeAnchor): * generic/tkWindow.c (TkAllocWindow): * unix/mkLinks: Geometry manager changes to support TIP#18. Allows a widget to set different internal border widths on different sides, and to set a minimum requested size. POTENTIAL INCOMPATIBILITY. [Patch 429164] 2001-09-25 Don Porter <[email protected]> * generic/tkBind.c: * generic/tkInt.decls (TkpScanWindowId): * unix/tkUnixPort.h (Tkp{Print,Scan}WindowId): * unix/tkUnixXId.c (TkpScanWindowId): * win/tkWinWindow.c (TkpScanWindowId): Corrected definition of TkpScanWindowId to handle situation where types Window and int do not have the same number of bits. CONST-ified too. * generic/tkIntPlatDecls.h: * generic/tkStubInit.c: make genstubs 2001-09-24 Don Porter <[email protected]> * generic/tkMain.c (StdinProc): Update to handle change in return type of Tcl_DStringAppend() from (char *) to (CONST char *). [TIP 27] 2001-09-23 Peter Spjuth <[email protected]> * generic/tkPack.c (ConfigureSlaves): * tests/pack.test: * tests/grid.test: Pack accepted asymmetric values for -ipadx/y. Only -padx/y supports asymmetry. [Bug #462348] 2001-09-21 Jeff Hobbs <[email protected]> * win/tkWinWindow.c (TkpPrintWindowId, TkpScanWindowId): fixed to work on Win64 with 64bit XIDs. * generic/tkWindow.c (Tk_CreateAnonymousWindow): * generic/tkEntry.c (GetSpinboxElement): fixed unreachable returns. * win/tkWinX.c (TkGetServerInfo): added recognition of Win64. * xlib/X11/X.h: made XID __int64 type for Win64. * unix/tkUnixPort.h: |
︙ | ︙ | |||
8643 8644 8645 8646 8647 8648 8649 | * generic/tkPack.c (PackAfter): Corrected type definition of argument passed to Tcl_GetStringFromObj() from size_t to int. Incorrect type broke [pack] and [grid] on systems where sizeof(size_t) != sizeof(int). [Bugs 462375, 462342, 462338] 2001-09-17 Donal K. Fellows <[email protected]> | | | 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 | * generic/tkPack.c (PackAfter): Corrected type definition of argument passed to Tcl_GetStringFromObj() from size_t to int. Incorrect type broke [pack] and [grid] on systems where sizeof(size_t) != sizeof(int). [Bugs 462375, 462342, 462338] 2001-09-17 Donal K. Fellows <[email protected]> * library/choosedir.tcl (DblClick): * library/tkfbox.tcl (OkCmd, ListInvoke): Rewrote so as to avoid the highly confusing string "text" and to be consistent about what is and what is not a list. [Bug 459895, reported by fandom] 2001-09-14 Andreas Kupries <[email protected]> * generic/tkImgGIF.c: |
︙ | ︙ | |||
8745 8746 8747 8748 8749 8750 8751 | * doc/CrtPhImgFmt.3: removed bogus note about including tkPhoto.h 2001-08-22 Peter Spjuth <[email protected]> * generics/tkGrid.c (ConfigureSlaves): * tests/grid.test: Fixed a bug where adjacent 'x' and '^' where not handled properly. [Bug #452040] | | | 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 | * doc/CrtPhImgFmt.3: removed bogus note about including tkPhoto.h 2001-08-22 Peter Spjuth <[email protected]> * generics/tkGrid.c (ConfigureSlaves): * tests/grid.test: Fixed a bug where adjacent 'x' and '^' where not handled properly. [Bug #452040] 2001-08-22 Jeff Hobbs <[email protected]> * generic/tkPack.c (TkParsePadAmount): added lint init for sepChar. * tests/dialog.test (HitReturn): fixed failing dialog-2.1 test because it wasn't always getting focus properly. |
︙ | ︙ | |||
8794 8795 8796 8797 8798 8799 8800 | 2001-08-18 Peter Spjuth <[email protected]> * doc/grid.n: * tests/grid.test: * generic/tkGrid.c: Grid configure rejected initial "x" and "^". [Bug #418664] | | | | | 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 | 2001-08-18 Peter Spjuth <[email protected]> * doc/grid.n: * tests/grid.test: * generic/tkGrid.c: Grid configure rejected initial "x" and "^". [Bug #418664] 2001-08-17 Donal K. Fellows <[email protected]> * generic/tkObj.c (TkGetWindowFromObj): Was failing to reuse cached window objects, forcing a call to Tcl_GetStringFromObj and Tk_NameToWindow every time. This fault has been in there for nearly three years... 2001-08-15 Don Porter <[email protected]> * changes: Labelled the TIP 44 changes as "POTENTIAL INCOMPATIBILITY". Although technically internal changes are not incompatible, they'll be perceived as such by those who get bitten, and this will help them find the cause of their trouble. 2001-08-14 Donal K. Fellows <[email protected]> * generic/tk{Util,Font,Cursor,Color,Bitmap,3d}.c: Modified objtype declarations so that they can be picked up in tkObj.c and the names are now prefixed with "tk" too. * generic/tkObj.c (TkRegisterObjTypes): * generic/tkWindow.c (Initialize): * generic/tkInt.h: Added code to register Tk's object types with the Tcl runtime. [Tcl Bug 450545] 2001-08-12 Mo DeJong <[email protected]> * unix/configure: Regen. * unix/tcl.m4: Update from Tcl. |
︙ | ︙ | |||
9163 9164 9165 9166 9167 9168 9169 | several shades of blue, all of which were listed as RGB 0 0 0. [Bug #432104]. 2001-06-14 Donal K. Fellows <[email protected]> * library/demos/floor.tcl, library/demos/filebox.tcl, * library/demos/clrpick.tcl, library/demos/vscale.tcl, | | | | | 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 | several shades of blue, all of which were listed as RGB 0 0 0. [Bug #432104]. 2001-06-14 Donal K. Fellows <[email protected]> * library/demos/floor.tcl, library/demos/filebox.tcl, * library/demos/clrpick.tcl, library/demos/vscale.tcl, * library/demos/twind.tcl, library/demos/ruler.tcl, * library/demos/plot.tcl, library/demos/items.tcl, * library/demos/hscale.tcl, library/demos/ctext.tcl, * library/demos/cscroll.tcl, library/demos/arrow.tcl, * library/xmfbox.tcl, library/msgbox.tcl, * library/clrpick.tcl, library/bgerror.tcl: Braced expressions. 2001-06-06 Mo DeJong <[email protected]> * win/configure: Regen. * win/configure.in: Handle the --prefix option correctly it should default to /usr/local like the unix version. 2001-06-03 Jeff Hobbs <[email protected]> * doc/selection.n: * doc/clipboard.n: added SEE ALSOs to cross-reference selection and clipboard, with extra note for clipboard command in selection docs. [Patch #422256] * unix/tkUnixFont.c: Corrected support for iso10646 (X11 Unicode) fonts on Unix. This adds a ucs-2be (UCS-2 Big Endian) encoding in Tk on Unix that is used for those fonts (X11 requires |
︙ | ︙ | |||
9322 9323 9324 9325 9326 9327 9328 | 2001-04-01 Jeff Hobbs <[email protected]> * README: * mac/README: updated patchlevel to 8.4a3 and corrected links and notes. * generic/tk.h: | | | | | 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 | 2001-04-01 Jeff Hobbs <[email protected]> * README: * mac/README: updated patchlevel to 8.4a3 and corrected links and notes. * generic/tk.h: * unix/configure.in (TK_PATCH_LEVEL): * unix/configure: * unix/tk.spec: * win/configure.in (TK_PATCH_LEVEL): * win/configure: updated patchlevel to 8.4a3 2001-03-30 Jeff Hobbs <[email protected]> * tests/safe.test: added note about correcting failures in safe.test. * library/tk.tcl: moved package require msgcat inside if case to not be used in safe interps. * win/makefile.vc: * win/configure: * win/tcl.m4: added imm32.lib to LIBS_GUI for Tk IME support. * win/tkWinInt.h: * win/tkWinKey.c: * win/tkWinX.c: added support for changing IME on the fly in Windows (2000). (lam) [Patch #402993] * tests/bind.test (bind-22.18): * generic/tkBind.c (NameToWindow): handled the error case where a valid-looking but invalid identifier could be passed in certain event generate options causing a crash. [Bug #411307] * win/tkWinWm.c (UpdateWrapper): ensured that the passed in winPtr had an existent window to operate on. [Bug #409172] |
︙ | ︙ | |||
9427 9428 9429 9430 9431 9432 9433 | * doc/tkvars.n: * unix/mkLinks: Added documentation for commands and variables matching tk_text*. 2001-03-08 Don Porter <[email protected]> BRANCH dgp-privates-into-namespace: | | | | 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 | * doc/tkvars.n: * unix/mkLinks: Added documentation for commands and variables matching tk_text*. 2001-03-08 Don Porter <[email protected]> BRANCH dgp-privates-into-namespace: * generic/tkTextDisp.c: * library/unsupported.tcl: * tests/textDisp.test: Restored the global variables tk_textRedraw and tk_textRelayout. Since they match tk_*, they should remain publicly available until at least Tk 9. 2001-03-01 Don Porter <[email protected]> BRANCH dgp-privates-into-namespace: |
︙ | ︙ | |||
9491 9492 9493 9494 9495 9496 9497 | * tests/text.test: * tests/textDisp.test: * tests/unixMenu.test: * tests/winMenu.test: * tests/xmfbox.test: * unix/tkUnixDialog.c: All Tk commands matching ::tk[A-Z]* and all Tk private variables in the global namespace were renamed to | | | 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 | * tests/text.test: * tests/textDisp.test: * tests/unixMenu.test: * tests/winMenu.test: * tests/xmfbox.test: * unix/tkUnixDialog.c: All Tk commands matching ::tk[A-Z]* and all Tk private variables in the global namespace were renamed to live in the namespace ::tk or one of its children. 2001-02-13 Eric Melski <[email protected]> * doc/photo.n: [Bug 132213] Added clarification on interpretation of ranges for "photoName data -from" subcommand. 2001-02-12 D. Richard Hipp <[email protected]> |
︙ | ︙ | |||
9520 9521 9522 9523 9524 9525 9526 | * win/tkWinWm.c (struct ThreadSpecificData, line 335): Added reference to optional default icon for toplevel windows. * win/tkWinWm.c (line 387 ... 1169): All the new functions required to deal with icon specifications, 'InitWm' changed. * win/tkWinWm.c (TkWmNewWindow, UpdateWrapper, TkWmDeadWindow, Tk_WmCmd): Added initialization and handling of the new fields. * doc/wm.n: Documentation updated to explain the newly available | | | 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 | * win/tkWinWm.c (struct ThreadSpecificData, line 335): Added reference to optional default icon for toplevel windows. * win/tkWinWm.c (line 387 ... 1169): All the new functions required to deal with icon specifications, 'InitWm' changed. * win/tkWinWm.c (TkWmNewWindow, UpdateWrapper, TkWmDeadWindow, Tk_WmCmd): Added initialization and handling of the new fields. * doc/wm.n: Documentation updated to explain the newly available functionality. 2000-12-13 jeff hobbs <[email protected]> * generic/tkObj.c (SetMMFromAny): Added ability to recognize double type object to speed up canvas coord calculations. [Patch 403327] |
︙ | ︙ | |||
9544 9545 9546 9547 9548 9549 9550 | window, and caused *major* trouble otherwise... * generic/tkImage.c (EventuallyDeleteImage): Created this function so that images that get deleted during the creation of an image won't cause a nasty core dump. Properly fixes bug #120819. 2000-11-28 Donal K. Fellows <[email protected]> | | | | 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 | window, and caused *major* trouble otherwise... * generic/tkImage.c (EventuallyDeleteImage): Created this function so that images that get deleted during the creation of an image won't cause a nasty core dump. Properly fixes bug #120819. 2000-11-28 Donal K. Fellows <[email protected]> * doc/image.n: * generic/tkImage.c (Tk_ImageObjCmd): Backed out previous change. Bug #120819 is back again in force. Left the test in there though. 2000-11-23 Donal K. Fellows <[email protected]> * doc/image.n: * tests/image.test (image-1.10): * generic/tkImage.c (Tk_ImageObjCmd): Prohibited image names that start with "." since they can cause some really obscure crashes. Fixes Bug #120819. 2000-11-21 Eric Melski <[email protected]> |
︙ | ︙ | |||
9601 9602 9603 9604 9605 9606 9607 | * unix/tkUnixMenubu.c: * unix/tkUnixScrlbr.c: Updated to use Tk_ClassProcs instead of TkClassProcs. * generic/tkDecls.h: * generic/tkStubInit.c: * generic/tkIntDecls.h: Regenned from tk.decls, tkInt.decls. | | | 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 | * unix/tkUnixMenubu.c: * unix/tkUnixScrlbr.c: Updated to use Tk_ClassProcs instead of TkClassProcs. * generic/tkDecls.h: * generic/tkStubInit.c: * generic/tkIntDecls.h: Regenned from tk.decls, tkInt.decls. * generic/tk.h: Added declaration of Tk_ClassProcs, with size field. Added typedef's for Tk_ClassCreateProc, Tk_ClassWorldChangedProc, Tk_ClassModalProc. Added definition of Tk_GetClassProc macro, shorthand for extracting a member of the Tk_ClassProcs structure. * generic/tkInt.h: Removed declaration of TkClassProcs, |
︙ | ︙ | |||
9690 9691 9692 9693 9694 9695 9696 | 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. Removed CommDlgExtendedError() checks for color and choosedir dialogs, and removed all except the explicit invalid filename checks for the file dialogs. | | | | | | | 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 | 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. Removed CommDlgExtendedError() checks for color and choosedir dialogs, and removed all except the explicit invalid filename checks for the file dialogs. 2000-10-30 David Gravereaux <[email protected]> * 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. 2000-10-27 Jeff Hobbs <[email protected]> * unix/tcl.m4: added support for AIX-5. * tests/tk.test: * doc/tk.n: updated to reflect default on status of useinputmethods. * library/tk.tcl: tk useinputmethods is set to 1 by default. This enables Kanji and dead-char input by default. Intro'd in 1999-12-16 with default off to avoid some problems with older X servers that would slow down widget creation over time. * win/Makefile.in (test, winhelp, tktest): corrected the TCL_LIBRARY path specification. 2000-10-18 Eric Melski <[email protected]> * win/tkWinDraw.c (RenderObject): Applied patch from [Bug: 6368], 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). * library/tkfbox.tcl (OkCmd): Applied patch from [Bug: 6365], which adds safety for directory names containing spaces or which are non-lists. * win/tkWinDialog.c (GetFileNameW, GetFileNameA, 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]. 2000-10-10 Eric Melski <[email protected]> |
︙ | ︙ | |||
9758 9759 9760 9761 9762 9763 9764 | * generic/tkCmds.c (Tk_WinfoObjCmd): Added check for TK_ANONYMOUS_WINDOW flag in the [winfo children] subcommand; if set, the window will not be printed in the list of children. * doc/CrtWindow.3: Added entry for Tk_CreateAnonymousWindow. | | | | 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 | * generic/tkCmds.c (Tk_WinfoObjCmd): Added check for TK_ANONYMOUS_WINDOW flag in the [winfo children] subcommand; if set, the window will not be printed in the list of children. * doc/CrtWindow.3: Added entry for Tk_CreateAnonymousWindow. * generic/tkWindow.c (Tk_CreateAnonymousWindow): New API for creating anonymous windows. These windows are manipulable from C, but not from Tcl, because they have no pathname associated with them. They are used initially by widgets that do rubber-band resizing (panedwindow, multi-column listbox, etc.), and may be useful for other widgets as well (dropbox, combobox). (Tk_DestroyWindow): Added check for TK_ANONYMOUS_WINDOW flag when determining whether to generate a DestroyNotify event. * generic/tkStubInit.c: * generic/tkDecls.h: Regen'd from tk.decls. * generic/tk.decls: Added Tk_CreateAnonymousWindow declaration. * generic/tk.h: Added TK_ANONYMOUS_WINDOW flag for Tk_Window's. 2000-10-04 Eric Melski <[email protected]> |
︙ | ︙ | |||
9831 9832 9833 9834 9835 9836 9837 | conform with Windows makefile and TEA style. 2000-09-29 Eric Melski <[email protected]> * generic/tkTest.c: Fixed tests to use updated API. * doc/SetOptions.3: | | | 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 | conform with Windows makefile and TEA style. 2000-09-29 Eric Melski <[email protected]> * generic/tkTest.c: Fixed tests to use updated API. * doc/SetOptions.3: * generic/tk.h: * generic/tkConfig.c: Changed interface for Tk_CustomOptionSetProc and Tk_CustomOptionGetProc; these now take a pointer to the start of the widget record, and an integer offset to the slot for the option value, instead of just a pointer to the slot. This allows more sophisticated options to do interesting things based on other data in the widget record. |
︙ | ︙ | |||
9871 9872 9873 9874 9875 9876 9877 | * doc/Tk_Init.3: * doc/bell.n: * doc/loadTk.n: minor doc cleanup 2000-09-06 Eric Melski <[email protected]> | | | 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 | * doc/Tk_Init.3: * doc/bell.n: * doc/loadTk.n: minor doc cleanup 2000-09-06 Eric Melski <[email protected]> * doc/HWNDToWindow.3: * doc/GetHWND.3: Changed synopsis to indicate the tkPlatDecls.h should be included, not tk.h. * generic/tkPlatDecls.h: Removed #include <windows.h> for Windows, a better solution for now is to update the docs and have extension authors #include <tkPlatDecls.h>. |
︙ | ︙ | |||
9904 9905 9906 9907 9908 9909 9910 | avoid pedantic warning. * generic/tkGrab.c (Tk_GrabObjCmd): changed len arg from size_t to int to fix pedantic warning. 2000-09-01 Eric Melski <[email protected]> | | | | | | | | | | | | | | | | | | | | | 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 | avoid pedantic warning. * generic/tkGrab.c (Tk_GrabObjCmd): changed len arg from size_t to int to fix pedantic warning. 2000-09-01 Eric Melski <[email protected]> * win/makefile.vc (install-libraries): * 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. 2000-08-29 Eric Melski <[email protected]> * win/tkWinMenu.c (DrawWindowsSystemBitmap): Use scratchDC 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)]. * library/tkfbox.tcl (::tk::dialog::file::Update): Corrected handling of multi-pattern filters (eg, "* *.*"), which was broken by the getOpenFile performance patches applied earlier. 2000-08-24 Eric Melski <[email protected]> * doc/toplevel.n: * doc/spinbox.n: * doc/scrollbar.n: * doc/scale.n: * doc/menubutton.n: * doc/menu.n: * doc/listbox.n: * doc/entry.n: * doc/frame.n: * doc/message.n: * doc/checkbutton.n: * doc/radiobutton.n: * doc/button.n: * doc/label.n: * doc/canvas.n: * doc/text.n: Fixed Standard Options section to make best use of new tab settings in man.macros. 2000-08-24 Mo DeJong <[email protected]> * unix/README: Update to account for removal of --enable-gcc. * unix/configure.in: * unix/tcl.m4 (SC_ENABLE_GCC): Remove --enable-gcc option. * win/configure.in: * win/tcl.m4 (SC_ENABLE_GCC): Remove --enable-gcc option. Remove quick hack that provided cross compile support for windows builds. 2000-08-23 Jeff Hobbs <[email protected]> * generic/tkButton.c (ButtonTextVarProc): reversed change below, |
︙ | ︙ | |||
10050 10051 10052 10053 10054 10055 10056 | * tests/grab.test: Initial suite of tests for [grab] command. * generic/tkGrab.c (Tk_GrabObjCmd): Tcl_Obj'ified [grab] command. * generic/tkInt.h: Removed Tk_AfterCmd function prototype; the function does not exist (since 4.0p3). Cleaned up some line wrapping. | | | 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 | * tests/grab.test: Initial suite of tests for [grab] command. * generic/tkGrab.c (Tk_GrabObjCmd): Tcl_Obj'ified [grab] command. * generic/tkInt.h: Removed Tk_AfterCmd function prototype; the function does not exist (since 4.0p3). Cleaned up some line wrapping. * generic/tk.h: Removed "#define Tk_AfterCmd Tcl_AfterCmd"; nothing in the core uses Tk_AfterCmd, and Tcl_AfterCmd doesn't exist anymore anyway. * generic/tkInt.h: Replace Tk_BindCmd prototype with Tk_BindObjCmd prototype. |
︙ | ︙ | |||
10129 10130 10131 10132 10133 10134 10135 | * win/tkWinMenu.c (ReconfigureWindowsMenu): Added MF_GRAYED bit for disabled menu entries, to ensure that those which are drawn by the system are shown grayed (such as entries on menubars) [Bug: 4372]. * doc/label.n: Added -disabledforeground to list of options [Bug: 6053]. | | | 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 | * win/tkWinMenu.c (ReconfigureWindowsMenu): Added MF_GRAYED bit for disabled menu entries, to ensure that those which are drawn by the system are shown grayed (such as entries on menubars) [Bug: 4372]. * doc/label.n: Added -disabledforeground to list of options [Bug: 6053]. * mac/tkMacDefault.h: * 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. |
︙ | ︙ | |||
10152 10153 10154 10155 10156 10157 10158 | 2000-07-27 Mo DeJong <[email protected]> * win/configure.in: TCL_STUB_LIB_FLAG and TK_STUB_LIB_FLAG should not include ${TCL_DBGX} in win/tkConfig.sh, fix that. 2000-07-25 Joe English <[email protected]> | | | 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 | 2000-07-27 Mo DeJong <[email protected]> * win/configure.in: TCL_STUB_LIB_FLAG and TK_STUB_LIB_FLAG should not include ${TCL_DBGX} in win/tkConfig.sh, fix that. 2000-07-25 Joe English <[email protected]> * doc: CanvPsY.3, ConfigWidg.3, CrtImgType.3, CrtItemType.3, FontId.3, GetFont.3, canvas.n, font.n, options.n, text.n: Documentation fix: Replaced references to XFontStruct * and Tk_FontStruct with Tk_Font. 2000-07-24 Eric Melski <[email protected]> * tests/text.test: Added tests for -regexp -nocase searches with |
︙ | ︙ | |||
10209 10210 10211 10212 10213 10214 10215 | 2000-07-18 Mo DeJong <[email protected]> * unix/aclocal.m4: Use tcl.m4. * unix/configure.in: Properly quote LOCALES variable. Properly quote argument to m4 macro. | | | | | | 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 | 2000-07-18 Mo DeJong <[email protected]> * unix/aclocal.m4: Use tcl.m4. * 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. 2000-07-18 Eric Melski <[email protected]> * library/tkfbox.tcl: Fixed keyboard navigation in the iconlist. * unix/configure.in (MAKE_LIB): Corrected definition of MAKE_LIB for shared builds, with patch from Mike Hopkirk. 2000-07-18 Mo DeJong <[email protected]> * win/Makefile.in: Fix TCL_GENERIC_DIR variable so that it uses the TK_SRC_DIR in the same way as the unix version. 2000-07-17 David Gravereaux <[email protected]> * generic/tkConsole.c: Added comments for a Win2K OS bug with GetStdHandle(STD_OUTPUT_HANDLE). No change was done to the code as the resulting behaviour of ShouldUseConsoleChannel() was correct, anyways. [BUG: 5971] 2000-07-17 Eric Melski <[email protected]> * generic/tkStubImg.c (Tk_InitImageArgs): Applied patch from [Bug: 5990], from Anselm Lingnau, which correctly sets the value of useNewImage to 0 when the new image system is not to be used, instead of leaving it at -1, which causes the check to be performed more times than is really necessary. * library/bgerror.tcl: Fixed a typo in one of the bgerror dialog label. * library/msgs/it.msg: Italian message catalog, from Paolo Brutti. [RFE: 6012]. 2000-07-07 Eric Melski <[email protected]> |
︙ | ︙ | |||
10267 10268 10269 10270 10271 10272 10273 | * generic/tkFileFilter.c (AddClause): Cast to match function prototype. * 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. | | | | | | | | | | 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 | * generic/tkFileFilter.c (AddClause): Cast to match function prototype. * 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. 2000-07-05 Eric Melski <[email protected]> * tests/imgPhoto.test: Added test for GIF writing code [Bug: 5823]. * generic/tkImgGIF.c: Applied patch from Jan Nijtmans to fix a problem with the GIF writing code [Bug: 5823]. * generic/tkCursor.c: Added initialization for nextPtr field of TkCursor, patch from Nijtmans/Howlett. 2000-07-05 Eric Melski <[email protected]> * library/msgs/nl.msg: Dutch message catalog for dialogs, from Jan Nijtmans. 2000-06-30 Eric Melski <[email protected]> * doc/keysyms.n: * doc/colors.n: Added extra .CE/.CS pairs to break up the large text block, so that the generated Windows help file could accomodate the manual entry. [Bug: 5862] * tests/filebox.test: Adjusted tests to accomodate -multiple. * library/xmfbox.tcl: Adjusted arguments list construction such that -multiple is not presented as an option for tk_getSaveFile. * library/tk.tcl: Added test for safe interpreter status before attempting to load message catalogs (which is impossible in a standard safe interpreter). This means that SafeTk will not have localized dialogs, unless a means is found for loading the message catalog files. 2000-06-29 Eric Melski <[email protected]> * library/msgs/de.msg: German message catalog. * library/msgs/en.msg: English message catalog. * library/msgs/es.msg: Spanish message catalog. * library/msgs/fr.msg: French message catalog. * unix/Makefile.in: * unix/configure.in: * library/tk.tcl: * library/clrpick.tcl: * library/choosedir.tcl: * library/console.tcl: * library/msgbox.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl: * library/bgerror.tcl: Applied patches from Laurent Duperval to provide localization of Tk dialogs. [RFE: 2671]. 2000-06-27 Eric Melski <[email protected]> * generic/tkMenu.c (DeleteMenuCloneEntries): Applied fix from [Bug: 5275], which corrected a segfault-causing indexing problem when deleting entries from torn-off menus. |
︙ | ︙ | |||
10374 10375 10376 10377 10378 10379 10380 | 2000-06-15 Eric Melski <[email protected]> * win/tkWinDialog.c: Patched to support tk_getOpenFile -multiple. [RFE: 604]. 2000-06-13 Eric Melski <[email protected]> | | | | 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 | 2000-06-15 Eric Melski <[email protected]> * win/tkWinDialog.c: Patched to support tk_getOpenFile -multiple. [RFE: 604]. 2000-06-13 Eric Melski <[email protected]> * win/aclocal.m4: * win/configure.in: * win/Makefile.in: Applied patch from [RFE: 5844], to provide support for the mingw compile environment for Windows. 2000-06-06 Jeff Hobbs <[email protected]> 8.4a1 RELEASE |
︙ | ︙ | |||
10481 10482 10483 10484 10485 10486 10487 | -activeforeground, -activebackground. 2000-05-22 Jeff Hobbs <[email protected]> * win/Makefile.in (install-libraries): corrected to install X headers [Bug: 5516] | | | | | | 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 | -activeforeground, -activebackground. 2000-05-22 Jeff Hobbs <[email protected]> * win/Makefile.in (install-libraries): corrected to install X headers [Bug: 5516] * doc/bind.n: * doc/canvas.n: * doc/entry.n: * doc/listbox.n: * doc/photo.n: doc fix-ups [Bug: 5396] 2000-05-17 Jeff Hobbs <[email protected]> * doc/bell.n: * tests/bell.test: * generic/tkCmds.c (Tk_BellObjCmd): added -nice option to |
︙ | ︙ | |||
10550 10551 10552 10553 10554 10555 10556 | * 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. | | | | 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 | * 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. 2000-05-16 Eric Melski <[email protected]> * win/tkWinMenu.c (ReconfigureWindowsMenu): Added code to add the MF_SEPARATOR bit for SEPARATOR_ENTRY menu items. This causes |
︙ | ︙ | |||
10606 10607 10608 10609 10610 10611 10612 | * win/tkWinDefault.h: * mac/tkMacDefault.h: * unix/tkUnixDefault.h: Added DEF_ENTRY_DISABLED_FG, DEF_ENTRY_DISABLED_BG_COLOR, DEF_ENTRY_DISABLED_BG_MONO. 2000-05-12 Eric Melski <[email protected]> | | | | | 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 | * win/tkWinDefault.h: * mac/tkMacDefault.h: * unix/tkUnixDefault.h: Added DEF_ENTRY_DISABLED_FG, DEF_ENTRY_DISABLED_BG_COLOR, DEF_ENTRY_DISABLED_BG_MONO. 2000-05-12 Eric Melski <[email protected]> * unix/tkUnixButton.c (TkpDisplayButton, TkpComputeButtonGeometry): * 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. |
︙ | ︙ | |||
10666 10667 10668 10669 10670 10671 10672 | * 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] | | | | 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 | * 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] |
︙ | ︙ | |||
10745 10746 10747 10748 10749 10750 10751 | * unix/Makefile.in: * win/Makefile.in: makefile cleanup 2000-04-25 Eric Melski <[email protected]> * generic/tkMain.c: Fixed function header comment for Tk_MainEx. | | | | | | 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 | * unix/Makefile.in: * win/Makefile.in: makefile cleanup 2000-04-25 Eric Melski <[email protected]> * generic/tkMain.c: Fixed function header comment for Tk_MainEx. * unix/mkLinks: * doc/GetScroll.3: Added information about Tk_GetScrollInfoObj [Bug: 1866]. 2000-04-24 Eric Melski <[email protected]> * unix/mkLinks: * doc/Grab.3: Man page for Tk_Grab and Tk_Ungrab [Bug: 1868, 1889] * unix/mkLinks: * doc/MainWin.3: Added entry for Tk_GetNumMainWindows [Bug: 1865]. * unix/mkLinks: * doc/GetHINSTANCE.3: Man page for Tk_GetHINSTANCE [Bug: 1862]. 2000-04-24 Jeff Hobbs <[email protected]> * generic/tkImage.c (Tk_PostscriptImage): added check to create necessary prolog for photos * generic/tkCanvPs.c: added Tk_PostscriptPhoto that outputs PS for |
︙ | ︙ | |||
10781 10782 10783 10784 10785 10786 10787 | * mac/tkMacWm.c (Tk_WmCmd): initialized gotToplevel in colormapwindows case (bug found by Reasoning, Inc's automated code testing). 2000-04-24 Eric Melski <[email protected]> | | | | | | | | | | | 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 | * mac/tkMacWm.c (Tk_WmCmd): initialized gotToplevel in colormapwindows case (bug found by Reasoning, Inc's automated code testing). 2000-04-24 Eric Melski <[email protected]> * unix/mkLinks: * doc/GetHWND.3: Man page for Tk_GetHWND [Bug: 1863]. * unix/mkLinks: * doc/HWNDToWindow.3: Man page for Tk_HWNDToWindow [Bug: 1869]. * unix/mkLinks: * doc/AddOption.3: Man page for Tk_AddOption [Bug: 1854] 2000-04-22 Jim Ingham <[email protected]> * mac/tkMacDialog.c (Tk_MacGetOpenFile): Add empty bodies for the "-initialfile" and "-defaultextension" options. * mac/tkMacDialog.c (NavServicesGetFile): Only cons the result up into a list if multiple is true. * mac/tkMacMenus.c (SourceDialog): Use the "tk_getOpenFile" instead of hand-coding the dialog with StandardGetFile. This way we get the Navigation dialogs for free. * doc/getOpenFile.n: Document the -multiple and -message flags which are only implemented on the Mac. Also note that the -title works on the Mac with Nav Services installed. 2000-04-19 Eric Melski <[email protected]> * doc/WinViewable.3: * 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). 2000-04-19 Jeff Hobbs <[email protected]> * win/aclocal.m4: made SC_PROG_TCLSH search specifically for tclsh*.exe type files to find an executable. |
︙ | ︙ | |||
10896 10897 10898 10899 10900 10901 10902 | message box is created. In these cases, the window will be created without a parent. * unix/mkLinks: Added WinViewable.3. * tests/msgbox.test: Added tests for patch from [Bug: 4997]. | | | | | 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 | message box is created. In these cases, the window will be created without a parent. * unix/mkLinks: Added WinViewable.3. * tests/msgbox.test: Added tests for patch from [Bug: 4997]. * library/msgbox.tcl: * library/dialog.tcl: Applied patch from [Bug: 4997]; detaches dialog window from parent if parent is not viewable. * library/bgerror.tcl: Removed workaround from [Bug: 4370]; this is superceeded by patches to dialog.tcl. * generic/tkCmds.c: Changed WinfoObjCmd to use Tk_IsViewable function to determine visibility of windows instead of inlining the code. * generic/tkStubInit.c: * generic/tkDecls.h: * generic/tk.decls: Added Tk_IsViewable declaration. 2000-04-17 Eric Melski <[email protected]> * library/text.tcl: Tweaked double-/triple-click selection; previously, anchor and insert marks were placed in unexpected locations following a double or triple click. Now they are placed |
︙ | ︙ | |||
10930 10931 10932 10933 10934 10935 10936 | some systems do not draw indicators for check/radiobuttons in menubars. * library/menu.tcl: Corrected behavior of checkbuttons/commands/radiobuttons in menubars [Bug: 630]. * tests/grid.test: Added test for [grid propagate . 0] to not toggle. | | | 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 | some systems do not draw indicators for check/radiobuttons in menubars. * library/menu.tcl: Corrected behavior of checkbuttons/commands/radiobuttons in menubars [Bug: 630]. * tests/grid.test: Added test for [grid propagate . 0] to not toggle. * generic/tkGrid.c: Fixed bogus logic in [grid propagate] that caused [grid propagate . 0] to act as a toggle instead of an absolute set. [Bug: 2286]. 2000-04-16 Jeff Hobbs <[email protected]> * win/tkWinColor.c (FindSystemColor): correct calculation of |
︙ | ︙ | |||
11016 11017 11018 11019 11020 11021 11022 | * win/tkWinMenu.c: Corrected code that created separator items on menus; originally, it requested that the system be responsible for drawing those items, so it would ignore configuration items like the widget background. Now, we draw the separators ourselves (as we do with every other kind of menu item already). [Bug: 1166]. | | | 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 | * win/tkWinMenu.c: Corrected code that created separator items on menus; originally, it requested that the system be responsible for drawing those items, so it would ignore configuration items like the widget background. Now, we draw the separators ourselves (as we do with every other kind of menu item already). [Bug: 1166]. * win/tkWin3d.c: * unix/tkUnix3d.c: Applied patch from [RFE: 2501]: adds more sophisticated smarts to TkpGetShadows, so that the highlight of a very bright color is actually distinguishable from the color, and the shadow of a very dark color is similarly distinguishable from the color. * generic/tkCanvas.c: Applied patch from [Bug: 4202]; adds a check |
︙ | ︙ | |||
11045 11046 11047 11048 11049 11050 11051 | 2000-04-11 Eric Melski <[email protected]> * msgcat.n: Added docs for new behavior from patch in [Bug: 4158]. * msgcat.test: Added tests for new behavior from patch in [Bug: 4158]. | | | 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 | 2000-04-11 Eric Melski <[email protected]> * msgcat.n: Added docs for new behavior from patch in [Bug: 4158]. * msgcat.test: Added tests for new behavior from patch in [Bug: 4158]. * msgcat.tcl: Applied patch from [Bug: 4158], which enables msgcat::mc to search the entire namespace ancestry chain for message translations (ie, first it checks the current namespace, then the parent, then the parent's parent, etc). Also allows the specification of additional args for msgcat::mc; if extra args are given, the [format] command is used to substitute the additional args in the translated message. |
︙ | ︙ | |||
11071 11072 11073 11074 11075 11076 11077 | * tests/event.test: Added test for [event generate $widget <Alt-z>] [Bug: 4611]. * tests/choosedir.test: Changed "namespace import ::tcltest" to "namespace import -force ::tcltest". | | | | | 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 | * tests/event.test: Added test for [event generate $widget <Alt-z>] [Bug: 4611]. * tests/choosedir.test: Changed "namespace import ::tcltest" to "namespace import -force ::tcltest". * win/tkWinKey.c: * unix/tkUnixKey.c: * mac/tkMacKeyboard.c: Changed InitKeymapInfo to TkpInitKeymapInfo. [Bug: 4611]. * generic/tkStubInit.c: * generic/tkIntDecls.h: Re-gen'd from tkInt.decls. * generic/tkInt.decls: Added TkpInitKeymapInfo to list of function decls. * generic/tkBind.c (HandleEventGenerate): Added code to initialize keymap info if necessary, and to correctly set modifier bits in |
︙ | ︙ | |||
11149 11150 11151 11152 11153 11154 11155 | * win/tkWinX.c: * win/tkWin32Dll.c: moved TkWinGetPlatformId to tkWinX.c * win/tkWinInit.c: added TkWinXInit to TkpInit to ensure that its called for static Windows shells. [Bug: 3647] * win/tkWinInt.h: * win/tkWinX.c: | | | 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 | * win/tkWinX.c: * win/tkWin32Dll.c: moved TkWinGetPlatformId to tkWinX.c * win/tkWinInit.c: added TkWinXInit to TkpInit to ensure that its called for static Windows shells. [Bug: 3647] * win/tkWinInt.h: * win/tkWinX.c: * win/tkWinDraw.c (SetUpGraphicsPort): * win/tkWinScrlbr.c (UpdateScrollbar): removed use of tkpIsWin32s * win/tkWinInt.h (TkWinDCState struct): added bkmode value * win/tkWinDraw.c (TkWinGetDrawableDC, et al): added support for properly transparent dashed lines on Windows. [Bug: 4617] 2000-03-30 Eric Melski <[email protected]> |
︙ | ︙ | |||
11191 11192 11193 11194 11195 11196 11197 | 2000-03-27 Eric Melski <[email protected]> * unix/tkUnixWm.c: Applied patch from [Bug: 4405]; fixes memory leak in Unix wm command. 2000-03-24 Eric Melski <[email protected]> | | | | | 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 | 2000-03-27 Eric Melski <[email protected]> * unix/tkUnixWm.c: Applied patch from [Bug: 4405]; fixes memory leak in Unix wm command. 2000-03-24 Eric Melski <[email protected]> * tests/filebox.test: * tests/choosedir.test: Updated tests. * library/xmfbox.tcl: Updated to stash data array in ::tk::dialog::file namespace instead of in global namespace. * library/tkfbox.tcl: Extended some functions to support creation of a choosedir dialog, to allow greater code reuse between the two dialogs. Moved tkFDialog* functions into a namespace (::tk::dialog::file). Because these are private Tk functions (and should thus not be used directly by users), this should not impact anybody (the tk_getOpenFile and tk_getSaveFile commands still exist at the global scope). * library/tk.tcl: * library/tclIndex: Updated function names for tkFDialog* functions and choosedir functions. * library/choosedir.tcl: New and improved implementation of tk_chooseDirectory dialog. Based on tk_getOpenFile dialog. 2000-03-23 Eric Melski <[email protected]> * generic/tkWindow.c: * generic/tkInt.h: Updated Tcl_OptionCmd -> Tcl_OptionObjCmd * generic/tkOption.c: Tcl_Obj'ectified the "option" command. 2000-03-22 Eric Melski <[email protected]> * library/listbox.tcl (tkListboxCancel): Added a check for empty |
︙ | ︙ | |||
11247 11248 11249 11250 11251 11252 11253 | * library/menu.tcl: Applied patch from [Bug: 4155]; protects against grabs on non-viewable windows. 2000-03-08 Eric Melski <[email protected]> * tests/choosedir.test: Modified test 3.1 (-mustexist works) to be | | | | 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 | * library/menu.tcl: Applied patch from [Bug: 4155]; protects against grabs on non-viewable windows. 2000-03-08 Eric Melski <[email protected]> * tests/choosedir.test: Modified test 3.1 (-mustexist works) to be more careful about cleaning up its potentially troublesome after events. 2000-03-07 Eric Melski <[email protected]> * tests/button.test: * generic/tkButton.c: Added -disabledforeground/-state to labels. 2000-03-07 Jeff Hobbs <[email protected]> * tests/entry.test: * generic/tkEntry.c (EntrySetValue): malloc the value when validating because validation could cause the pointer to become |
︙ | ︙ | |||
11316 11317 11318 11319 11320 11321 11322 | turn off whenever the textvar was set. Now it will it will turn off only when the textvar is set and validation returns 0. Added %V (type of validation occuring) to %-subs to help work with trickier validation. 2000-03-01 Eric Melski <[email protected]> | | | 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 | turn off whenever the textvar was set. Now it will it will turn off only when the textvar is set and validation returns 0. Added %V (type of validation occuring) to %-subs to help work with trickier validation. 2000-03-01 Eric Melski <[email protected]> * tests/clrpick.test: * library/clrpick.tcl: Added code to make color chooser dialog inherit screen setting from parent (bug #2334) 2000-02-25 Jeff Hobbs <[email protected]> * win/tkWinWm.c (RaiseWinWhenIdle): Checked for the possibility that the window could be destroyed (can occur with |
︙ | ︙ | |||
11388 11389 11390 11391 11392 11393 11394 | some extra include info for the Mac 2000-02-09 Jim Ingham <[email protected]> * mac/tkMacButton.c: Stop removing the appearance window from the Window List. It is not clear why Ray did this, and it causes the Appearance manager to crash at random times. | | | | | | | | | | 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 | some extra include info for the Mac 2000-02-09 Jim Ingham <[email protected]> * mac/tkMacButton.c: Stop removing the appearance window from the Window List. It is not clear why Ray did this, and it causes the Appearance manager to crash at random times. * mac/tkMacWM.c: Add support in unsupported1 style for the Appearance specification of window styles, including floating window support. * mac/tkMacWindowMgr.c: Operate on the front non-floating window, unless the mouse is directly over the floating window. Also, keystrokes go to the front non-floating window. * mac/tkMacAppInit.c: Initialize floating window support. * mac/tkMacScrlbr.c: * mac/tkMacmenu.c: Fixes for floating windows - operate on the FrontNonFloatingWindow. * mac/tkMacLibrary.r: Fix typo in File info string. * mac/tkMacApplication.r: Fix typo in file info string. Add Finder balloon help for no apparent reason. * mac/tkMacSubwindows.c: Change panic in tkMacGetDrawablePort to Debugger. This is only a temporary fix. The panic is only triggered when a safeTk interpreter is torn down, and ignoring it does no harm. I haven't figured out how to avoid it yet, however. Also use the Appearance MoveWindowStructure call when available. New Files: * MW_TkOldImageHeader.h: Handle #defining USE_OLD_IMAGE for tkImgPPM.c. * MW_TkTestHeader.h: * MW_TkTestHeader.pch: * MW_TkHeader.h: Add separate prefix files for test & release versions of Tk, so we can just have separate targets w/o having to edit files. * tclets.r: The D&D Tclets icon in rez form so we can have a target for this. The above are curtesy of Daniel Steffen ([email protected]) * tkMacAppearanceStubs.c: Stubs of the Mac Appearance calls I use so I can link the static 68K Shell without putting ifdef's all over the code. 2000-02-08 Jeff Hobbs <[email protected]> * generic/tk.decls: * generic/tkBind.c: * generic/tkInt.decls: * generic/tkIntDecls.h: * generic/tkStubInit.c: * mac/tkMacKeyboard.c: * unix/tkUnixKey.c: * win/tkWinKey.c: Fix for keyboard handling of "dead" keys and caps lock from Peter Spjuth. [Bug: 4105 3359 2493] Split functions into platform specific files: Static functions GetKeySym(), SetKeycodeAndState() and InitKeymapInfo() from tkBind.c moved into platform files tkWinKey.c tkUnixKey.c and tkMacKeyboard.c. GetKeySym() and SetKeycodeAndState() renamed to Tkp* and made public (as private functions) in tkInt.decls. Step 2, fixes in tkWinKey.c New static function: KeycodeToKeysym(), based on XKeycodeToKeysym() but with different arguments, and a lot of improvements. TkpGetString() changed to use KeycodeToKeysym() + other fixes. TkpGetKeySym() changed to use KeycodeToKeysym() + other fixes. |
︙ | ︙ | |||
11473 11474 11475 11476 11477 11478 11479 | tab correctly. I.e. [event generate . <Key-Return>] gave wrong %A * generic/tkDecls.h: * generic/tk.decls: * generic/tk.h: moved new public functions created in dash patch to the stubs interface [Bug: 4062] | | | 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 | tab correctly. I.e. [event generate . <Key-Return>] gave wrong %A * generic/tkDecls.h: * generic/tk.decls: * generic/tk.h: moved new public functions created in dash patch to the stubs interface [Bug: 4062] * generic/tk.h: * doc/CrtImgType.3: * doc/CrtPhImgFmt.3: * generic/tk.h: * generic/tkImgGIF.c: * generic/tkImgPhoto.c: * generic/tkStubImg.c (new file): * generic/tkTest.c: |
︙ | ︙ | |||
11523 11524 11525 11526 11527 11528 11529 | * tests/canvText.test: test for fix for bug #2525. * generic/tkFont.c (Tk_ComputeTextLayout): Was erroneously setting the width of newline-only text display chunks to some arbitrary huge number, instead of 0; this was interfering with things like the canvas find enclosed feature. (bug #2525). | | | | | 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 | * tests/canvText.test: test for fix for bug #2525. * generic/tkFont.c (Tk_ComputeTextLayout): Was erroneously setting the width of newline-only text display chunks to some arbitrary huge number, instead of 0; this was interfering with things like the canvas find enclosed feature. (bug #2525). * tests/text.test: * generic/tkText.c (DumpLine/DumpSegment): Changed DumpSegment to take a TkTextIndex instead of two integer offsets, so that it could use TkTextPrintIndex to format the offsets into an index, which makes it UTF smart (bug #2582). 2000-02-01 Eric Melski <[email protected]> * library/tk.tcl: * library/tclIndex: * library/choosedir.tcl: Moved choosedir functions into the ::tk::dialog::chooseDir namespace instead of a toplevel ::tkChooseDirectory namespace. Additional cleanup on the chooseDir dialog. 2000-02-01 Jeff Hobbs <[email protected]> |
︙ | ︙ | |||
11555 11556 11557 11558 11559 11560 11561 | * win/tkWinFont.c (GetScreenFont): fixed possible mem overrun with long font names [Bug: 4108] * win/tkWinDialog.c: added EnableWindow calls to dialogs to correct for possible loss of control in parent Tk toplevel [Bug: 1212 et al] | | | | | | | | 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 | * win/tkWinFont.c (GetScreenFont): fixed possible mem overrun with long font names [Bug: 4108] * win/tkWinDialog.c: added EnableWindow calls to dialogs to correct for possible loss of control in parent Tk toplevel [Bug: 1212 et al] * generic/tkRectOval.c (ConfigureRectOval): * generic/tkCanvLine.c (ConfigureLine): * generic/tkCanvPoly.c (ConfigurePoly): * generic/tkCanvArc.c (Configure/DisplayArc): fixed handling for negative dash values [Bug: 4104] * generic/tkScale.c (TkRoundToResolution): fixed incorrect assumption that (N+1)*delta = N*delta + delta with floating point math [Bug: 3689, 4099] (DestroyScale) Fixed check for cancelling TkpDisplayScale (was REDRAW_ALL, is now REDRAW_PENDING) * tests/listbox.test: corrected test case for listbox itemconfigure * unix/aclocal.m4: added *BSD ELF recognition for SHARED_LIB_SUFFIX determination (from Tcl's tcl.m4) 2000-01-27 Eric Melski <[email protected]> * generic/tkImgPhoto.c: Removed unneccesary object translation in MatchStringFormat (bug #4103). 2000-01-27 Eric Melski <[email protected]> * generic/tkImgGIF.c: Additional code cleanup (now we only have one decoder! neat!) 2000-01-26 Eric Melski <[email protected]> * doc/getOpenFile.n: * doc/chooseDirectory.n: Man page/cross links for tk_chooseDirectory (bug #1786). * library/tk.tcl: * library/tclIndex: Added hooks for tk_chooseDirectory. (bug #1786) * library/choosedir.tcl: tk_chooseDirectory implementation for Unix/Mac (bug #1786). * generic/tkImgPhoto.c: Added some comments regarding slow processing of transparent images. |
︙ | ︙ | |||
11613 11614 11615 11616 11617 11618 11619 | 2000-01-21 Eric Melski <[email protected]> * library/tkfbox.tcl: Fixed bug relating to incorrect parent values for error message boxes displayed by the file dialog (bug #3616). | | | 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 | 2000-01-21 Eric Melski <[email protected]> * library/tkfbox.tcl: Fixed bug relating to incorrect parent values for error message boxes displayed by the file dialog (bug #3616). * tests/text.test: * generic/tkText.c: Fixed bug relating to regexp searching for empty lines; previously, the starting line was ignored. (bug #1643). 2000-01-20 Jeff Hobbs <[email protected]> * library/text.tcl: fixed double-click selection behavior where there were embedded windows/widgets in the same line. [Bug: 3989] |
︙ | ︙ | |||
12003 12004 12005 12006 12007 12008 12009 | * tests/imgPPM.test: fixed test 2.2 to use -format ppm (since we know have GIF write capability) 1999-12-01 Scott Redman <[email protected]> * generic/tkMain.c : | | | 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 | * tests/imgPPM.test: fixed test 2.2 to use -format ppm (since we know have GIF write capability) 1999-12-01 Scott Redman <[email protected]> * generic/tkMain.c : * unix/tkAppInit.c: * win/winMain.c: Added added hooks into the main() code for supporting TclPro and other "big" shells more easily without requiring a copy of the main() code. 1999-11-29 Jeff Hobbs <[email protected]> * generic/tkImgGIF.c: added GIF writing that uses miGIF RLE |
︙ | ︙ | |||
12108 12109 12110 12111 12112 12113 12114 | * generic/tkListbox.c: Tests exposed some bugs, now fixed. 1999-11-16 Eric Melski <[email protected]> * tests/listbox.test: Fixed tests to comply with new objectified error messages. No -listvar specific tests yet. | | | | 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 | * generic/tkListbox.c: Tests exposed some bugs, now fixed. 1999-11-16 Eric Melski <[email protected]> * tests/listbox.test: Fixed tests to comply with new objectified error messages. No -listvar specific tests yet. * win/tkWinDefault.h: * unix/tkUnixDefault.h: * mac/tkMacDefault.h: Added default value for -listvar option. * generic/tkWindow.c: Changed "listbox" mapping from old-school to new-school objectified command. * generic/tkListbox.c: Objectified listbox; added support for -listvar option. Converted internal structure to use a Tcl list |
︙ | ︙ | |||
12257 12258 12259 12260 12261 12262 12263 | * TK 8.2.0 RELEASED 1999-08-13 Jim Ingham <[email protected]> * mac/tkMacMenu.c: Tk_DrawChars ends up setting the menu background wrong. There is no clean way to stop it, so I use lower level routines here to draw the text. | | | | 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 | * TK 8.2.0 RELEASED 1999-08-13 Jim Ingham <[email protected]> * mac/tkMacMenu.c: Tk_DrawChars ends up setting the menu background wrong. There is no clean way to stop it, so I use lower level routines here to draw the text. * mac/tkMacProjects.sea.hqx: Rearrange the projects so that the build directory is separate from the sources. Much more convenient! 1999-08-10 Jeff Hobbs <[email protected]> * win/tkWinWm.c: changed "wm deiconify" on Windows to raise and force the focus on the deiconified window (behavioral change from 8.1 to comply better with Windows style) [Bug: 1609] * doc/wm.n: clarified behavior of "wm deiconify". |
︙ | ︙ | |||
12289 12290 12291 12292 12293 12294 12295 | * doc/wm.n: fixed wm positionfrom docs [Bug: 2284] 1999-08-01 Jeff Hobbs <[email protected]> * mac/tkMacPort.h: wrapped panic in #ifndef panic to avoid compiler errors when used with stubs-#defines, from Vince Darley. [Bug: 2389] | | | 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 | * doc/wm.n: fixed wm positionfrom docs [Bug: 2284] 1999-08-01 Jeff Hobbs <[email protected]> * mac/tkMacPort.h: wrapped panic in #ifndef panic to avoid compiler errors when used with stubs-#defines, from Vince Darley. [Bug: 2389] 1999-07-31 Scott Redman <[email protected]> * xlib/X11/Xlib.h: Remove XFillRectangle since it is now in the stub tables. 1999-07-30 Jeff Hobbs <[email protected]> |
︙ | ︙ | |||
12323 12324 12325 12326 12327 12328 12329 | 1999-07-22 <[email protected]> * Changed version to 8.2b2 * win/tkWinPort.h: Block out include of sys/stat.h in order to build extensions with MetroWerks compiler for Win32. [Bug: 2385] | | | | | | 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 | 1999-07-22 <[email protected]> * Changed version to 8.2b2 * win/tkWinPort.h: Block out include of sys/stat.h in order to build extensions with MetroWerks compiler for Win32. [Bug: 2385] * unix/Makefile.in: Need to make install-sh executable before calling (with chmod +x). [Bug: 2413] * library/menu.tcl: Applied patch from Jeff Hobbs to fix typo. [Bug: 2425] 1999-07-21 <[email protected]> * unix/Makefile.in: Add Windows configure script to distribution. 1999-07-16 <[email protected]> * unix/Makefile.in: * win/Makefile.in: Copy the prolog.ps from the generic directory for install-libraries. * unix/aclocal.m4: Check for Alpha/Linux to set the IEEE flag to the compiler to be -mieee. Patch from Don Porter. 1999-07-08 <[email protected]> * tests/unixSelect.test: Fixed broken test. * win/makefile.vc: Added special case target to ensure that tkStubLib.obj is built with -DSTATIC_BUILD. * win/tkWinX.c (TkWinChildProc): Changed to pass WM_WINDOWPOSCHANGED through to DefWindowProc to make OpenGL sub-windows happy. This allows Windows to generate the WM_SIZE and WM_MOVE messages. |
︙ | ︙ | |||
12372 12373 12374 12375 12376 12377 12378 | * generic/tkImgPPM.c: * generic/tkImgPhoto.c: Applied patch to allow Img extension to work with 8.2, from Jan Nijtmans. [Bug: 2068] * win/tkWinWm.c: Applied patch from Don Porter to prevent the windows code from calling the Tcl functions when the stub table has not been initialized in TkWinWmCleanup. [Bug: 2269] | | | | | | | | | | | | | | | | | | | 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 | * generic/tkImgPPM.c: * generic/tkImgPhoto.c: Applied patch to allow Img extension to work with 8.2, from Jan Nijtmans. [Bug: 2068] * win/tkWinWm.c: Applied patch from Don Porter to prevent the windows code from calling the Tcl functions when the stub table has not been initialized in TkWinWmCleanup. [Bug: 2269] 1999-06-16 <[email protected]> * unix/configure.in: * unix/Makefile.in: * unix/aclocal.m4: Numerous build changes to make Tk conform to the proposed TEA spec * tkConsole.c: changed some variable types from (int) to (size_t) to prevent compiler warnings. Cast return value from strlen() to (int) in one place for the same reason. 1999-06-03 <[email protected]> * unix/tkUnixSelect.c: * tests/unixSelect.test: * generic/tkSelect.c: Fixed selection code to handle Unicode data in COMPOUND_TEXT and STRING selections. [Bug: 1791] 1999-06-02 <[email protected]> * generic/tkIntXlibDecls.h: * xlib/X11/Xlib.h: Added Mac specific defines to help with compilation. * generic/tkFont.c: lint 1999-06-01 <[email protected]> * unix/tkUnixSelect.c: Improved I18N selection support. COMPOUND_TEXT is converted to/from iso2022, and STRING is converted to/from iso8859-1. There are still a few loose ends to tie up before this is completely done. * unix/tkUnixFont.c: Eliminated redundant case folding code. * generic/tkFont.c: Eliminated use of isupper/tolower in favor of Unicode variants. 1999-05-24 <[email protected]> * generic/tkStubLib.c: * generic/tkStubInit.c: * generic/tkIntXlibDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntDecls.h: * generic/tkInt.decls: * generic/tkConsole.c: Various changes to try to get the Mac builds working. 1999-05-21 <[email protected]> * win/tkWinClipboard.c: Fixed clipboard code to handle lack of CF_LOCALE information (e.g. from command.com). 1999-05-20 <[email protected]> * library/console.tcl: Changed copyright string to read 1999 Scriptics Corp. in wish console about box. 1999-05-19 <[email protected]> * generic/tk.h: Add extern "C" block around entire header file for C++ compilers to fix linkage issues. Submitted by Don Porter and Paul Duffin. 1999-05-18 <[email protected]> * tests/winClipboard.test: * win/tkWinClipboard.c: Fixed clipboard code so it handles Unicode data properly on Windows NT and 95. [Bug: 1791] 1999-05-07 <[email protected]> * library/menu.tcl: Fixed bug where tk_popup fails when called too quickly. [Bug: 2009] 1999-04-30 <[email protected]> * Changed version number to 8.1.1. 1999-04-30 <[email protected]> * Merged changes from 8.1.0 branch: * generic/tkDecls.h: * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h: * generic/tkStubInit.c: Changed to avoid the need for forward declarations in stub initializers. Added extern "C" blocks around stub table pointer declarations so the stubs can be used from C++ code. [Bug: 1934] * generic/tkInt.decls: Added TkClipBox, XDrawSegments, and XForceScreenSaver to stubs. |
︙ | ︙ | |||
12483 12484 12485 12486 12487 12488 12489 | * generic/tkEntry.c: Fixed bad option table entry. * generic/tkImgBmap.c: * generic/tkImgPPM.c: * generic/tkImgPhoto.c: Set the -translation and -encoding options to binary for image files. (reported by Marco Gazzetta) | | | 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 | * generic/tkEntry.c: Fixed bad option table entry. * generic/tkImgBmap.c: * generic/tkImgPPM.c: * generic/tkImgPhoto.c: Set the -translation and -encoding options to binary for image files. (reported by Marco Gazzetta) 1999-04-23 <[email protected]> * generic/tkInt.decls: Added TkClipBox, XDrawSegments, and XForceScreenSaver to stubs. * generic/tkStubLib.c: Reordered declarations to avoid circularities and forward references. |
︙ | ︙ | |||
12558 12559 12560 12561 12562 12563 12564 | * library/tkfbox.tcl: Change to restore button text after an action to avoid the sticky "Open" button in a save dialog. [Bug: 1640] * library/entry.tcl: Fixed so selection is returned using the -show character during cut and paste operations. [Bug: 1687] | | | | | 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 | * library/tkfbox.tcl: Change to restore button text after an action to avoid the sticky "Open" button in a save dialog. [Bug: 1640] * library/entry.tcl: Fixed so selection is returned using the -show character during cut and paste operations. [Bug: 1687] 1999-04-5 <[email protected]> * generic/tkInt.decls: * generic/tkIntXlibDecls.h: * generic/tkStubInit.c: * xlib/xgc.c: * xlib/X11/Xlib.h: * xlib/X11/Xutil.h: Added more X functions to the Win & Mac stubs tables. 1999-04-05 <[email protected]> * unix/configure.in: * generic/tkCanvPs.c: Added configure test for pw_gecos field in pwd to support OS/390. [Bug: 1724] 1999-04-02 <[email protected]> * tests/text.test: * generic/tkText.c: Fixed handling of Unicode in text searches. The -count option was returning byte counts instead of character counts. [Bug: 1056, 1148, 1666] 1999-04-01 <[email protected]> * generic/tk.decls: |
︙ | ︙ | |||
12623 12624 12625 12626 12627 12628 12629 | * generic/tkWindow.c (Tk_DestroyWindow): Image handlers are now finalized before the font subsystem since complex image handlers may contain references to fonts (e.g. Tix compound images). [Bug: 1603] 1999-03-29 <[email protected]> | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 | * generic/tkWindow.c (Tk_DestroyWindow): Image handlers are now finalized before the font subsystem since complex image handlers may contain references to fonts (e.g. Tix compound images). [Bug: 1603] 1999-03-29 <[email protected]> * doc/MeasureChar.3: * doc/TextLayout.3: * generic/tk.decls: * generic/tkCanvText.c: * generic/tkEntry.c: * generic/tkFont.c: * generic/tkListbox.c: * generic/tkMessage.c: * mac/tkMacFont.c: * unix/tkUnixButton.c: * unix/tkUnixFont.c: * unix/tkUnixMenu.c: * win/tkWinFont.c: * win/tkWinMenu.c: Standardized text layout and font interfaces so they are consistent with respect to byte versus character oriented indices. The layout functions all manipulate character oriented values while the lower level measurement functions all operate on byte oriented values. This distinction was not clear and so the functions were being used improperly in a number of places. [Bug: 1053, 747, 749, 1646] * generic/tk.decls: Eliminated uses of C++ STL types string and list from declarations. * generic/tkFont.c: Changes to named fonts were not being propagated in some cases. [Bug: 1144] * xlib/X11/Xlib.h: * generic/tkInt.decls: Added XParseColor to xlib stub tables. [Bug: 1574] * doc/GetBitmap.3: * generic/tkBitmap.c (BitmapInit): Eliminated use of Tk_Uid's in bitmaps. Added a few CONST declarations. 1999-03-29 <[email protected]> * unix/configure.in: * unix/Makefile.in: * win/makefile.vc: * generic/tkDecls.h: * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkPlatDecls.h: * generic/tkIntXlibDecls.h: Removed stub functions. Always use the Tcl stubs when building with --enable-shared. 1999-03-26 <[email protected]> * generic/tkTextIndex.c: * tests/testIndex.test: Avoid looking past the beginning of the array storing data for the text widget (.t index end-2c). Added test case to check for the bug. [Bug 991] * generic/tkConsole.c: Copy static strings into a Tcl_DString before passing to Tcl_Eval, in case the compiler puts static strings into read-only memory. 1999-03-26 <[email protected]> * unix/configure.in: --nameble-shared is now the default and builds Tk as a shared library; specify --disable-shared to build a static Tk library and shell. 1999-03-26 <[email protected]> * library/menu.tcl: Fixed bug reported by Bryan Oakley in the menubutton bindings. There was a false assumption that there was always a menu attached to the button. [Bug 1116] 1999-03-26 <[email protected]> * unix/configure.in: Removed --enable-tcl-stub. Linking Tk to Tcl stubs is causing too many problems when linking executables like wish. Until the Tk is a fully loadable extension, linking against the Tcl stubs is not supported in Tk. 1999-03-19 <[email protected]> * generic/tkBitmap.c: * generic/tkCursor.c: * generic/tkGC.c: When creating hash tables that key off of XID handles, make sure to pass TCL_ONE_WORD_KEYS. XIDs are guaranteed to be 32bit numbers, although on some 64bit systems (including 64bit Solaris 7) they are packed into a 64bit value where the upper 32bits are zero. The normal method of sizeof(XID)/sizeof(int) causes the hash table code to assume that the XID is a pointer to an array of two ints, which it is not. Tk now supports 64bit Solaris 7. 1999-03-17 <[email protected]> * win/makefile.vc: * generic/tk.h: Changed to use TCL_BETA_RELEASE macro, and fixed so this works in rc files. * win/makefile.vc: * win/makefile.bc: * win/README: * unix/configure.in: * generic/tk.h: * README: Updated version to 8.1b3. 1999-03-14 <stanton@GASPODE> * unix/configure.in: Added missing stub related definitions. * unix/Makefile.in: Install tkDecls.h in addition to tk.h. |
︙ | ︙ | |||
12775 12776 12777 12778 12779 12780 12781 | * generic/tkIntPlatStubs.c: * generic/tkIntXlibStubs.c: * generic/tkStubInit.c: * generic/tkStubLib.c: * generic/tkBind.c: * generic/tkCmds.c: * generic/tkConfig.c: | | | 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 | * generic/tkIntPlatStubs.c: * generic/tkIntXlibStubs.c: * generic/tkStubInit.c: * generic/tkStubLib.c: * generic/tkBind.c: * generic/tkCmds.c: * generic/tkConfig.c: * generic/tkConsole.c: * generic/tkCursor.c: * generic/tkGrab.c: * generic/tkImgPhoto.c: * generic/tkMain.c: * generic/tkMenu.c: * generic/tkPointer.c: * generic/tkTextDisp.c: |
︙ | ︙ | |||
12802 12803 12804 12805 12806 12807 12808 | stubs library, wish links directly to Tcl and Tk. Use --enable-tcl-stubs to link Tk to the Tcl stubs library (Unix), on by default on Windows. Exported all public functions through the stubs mechanism (see the *.decls files) and many of the internal functions. Most of the changes dealt with shifting around the function declarations in the header files. Mac code may not compile, but it shouldn't take much work to fix this. | | | | | | | | | | | | | | | | | | | | | | | 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 | stubs library, wish links directly to Tcl and Tk. Use --enable-tcl-stubs to link Tk to the Tcl stubs library (Unix), on by default on Windows. Exported all public functions through the stubs mechanism (see the *.decls files) and many of the internal functions. Most of the changes dealt with shifting around the function declarations in the header files. Mac code may not compile, but it shouldn't take much work to fix this. * mac/tkMacMenu.c: Added dummy TkpMenuThreadInit for Mac to be consistent with Unix and Windows versions. 1999-03-08 <[email protected]> * win/tkWinWm.c: Toplevel class no longer shared between threads. * win/tkWinX.c: Multiple threads no longer share the same TkDisplay structure. Required because TkDisplay stores much thread-specific data for a given thread. * win/tkWinSend.c: Moved application instance handle out out thread-local storage. DDE was failing to initialize when the instance handles were different between threads. * win/makefile.vc: Added THREADDEFINES for building with threads enabled. * generic/tkMenu.c: * win/tkWinMenu.c: * unix/tkUnixMenu.c: Added TkpMenuThreadInit for initializing thread-specific Menu state. 1999-03-01 <[email protected]> * win/tkWinWm.c: * win/tkWinPointer.c: * win/tkWinInt.h: Fix "focus -force" for Windows. The Win32 API function SetForegroundWindow() does not work unless the window handle is a toplevel window (a Windows toplevel). The handle being passed was a Tk toplevel, which is a child of the Windows toplevel. 1999-02-26 <[email protected]> * win/cat.c: Remove this file, use the one in the Tcl source directory. * win/makefile.vc: Remove the wishc.exe from the default targets. Add a separate console-wish target to build it. The need for a console-wish will go away soon, so we don't want to encourage its use. 1999-02-25 <[email protected]> * win/tkWinWm.c: Properly initialize the tsdPtr->firstWindow field. * win/cat.c: Code for cat32.exe, copied from the Tcl sources. Required in order to run the test suite from the makefile * win/winMain.c: Add main() for a console-based wishc.exe, which meant adding code to disable the call to Tk_ConsoleInit(). * generic/tkConsole.c: Check the standard handles before creating the new standard channels. This allows a windows app that has stdin, stdout, or stderr to correctly connect to them. * generic/tkMain.c: Add a proper check for the interactive mode, since the standard channels may actually be connected in windows mode or even in the console-based wish. * win/makefile.vc: Add targets for wishc.exe (console-based wish) and cat32.exe (for testing). Fix the test suite target so it can be run from the makefile (which can happen since the standard handles have been fixed). 1999-02-12 <[email protected]> * generic/tkMenuButton.h: * generic/tkMenuButton.c: * mac/tkMacMenubutton.c: * mac/tkMacDefault.h * unix/tkUnixMenubu.c: Eliminated Tk_Uids used by -state option. * unix/tkUnixDefault.h * win/tkWinDefault.h * generic/tk.h: * generic/tkScale.h: * generic/tkScale.c: * generic/tkWindow.c: * unix/tkUnixScale.c: * unix/tkUnixDefault.h: * unix/tkWinDefault.h: * mac/tkMacDefault.h: Objectified scale widget. * win/tkWinX.c: Removed Thread-specific data from process initialization code that was stopping the Tk Dll from loading. 1999-02-11 <stanton@GASPODE> * README: * generic/tk.h: * unix/configure.in: * win/README: * win/makefile.bc: * win/makefile.vc: Updated version to 8.1b2. * unix/tkUnixSend.c: Fixed one more Tcl_*ObjVar instance. 1999-02-04 <stanton@GASPODE> * Various cleanup related to the Tcl_Eval and Tcl_ObjSetVar changes in Tcl. INTEGRATED PATCHES FROM 8.0.5b2: * win/tkWinMenu.c (TkpDestroyMenu): Changed so modalMenuPtr is cleared when it is being destroyed. * generic/tkImgPhoto.c: Changed so color tables are freed immediately instead of being delayed. This ensures that color tables are properly disposed at process exit. |
︙ | ︙ | |||
12946 12947 12948 12949 12950 12951 12952 | * unix/configure.in: TK_LD_SEARCH_FLAGS was set incorrectly if SHLIB_LD_LIBS='${LIBS}', and shared linking is performed through the C compiler. Systems affected are Linux, MP-RAS and NEXTSTEP, but also with gcc on many more systems. [Bug: 908] * win/makefile.vc: First stab at install target. Fixed quoting so paths with spaces work. | | | | 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 | * unix/configure.in: TK_LD_SEARCH_FLAGS was set incorrectly if SHLIB_LD_LIBS='${LIBS}', and shared linking is performed through the C compiler. Systems affected are Linux, MP-RAS and NEXTSTEP, but also with gcc on many more systems. [Bug: 908] * win/makefile.vc: First stab at install target. Fixed quoting so paths with spaces work. * tests/main.test: * tests/unixWm.test: Better cleanup of temporary files. * mac/tkMacAppInit.c: * generic/tkTest.c: * generic/tkAppInit.c: * win/winMain.c: Changed some EXTERN declarations to extern since they are not defining exported interfaces. This avoids generating useless declspec() attributes and makes the windows makefile simpler. |
︙ | ︙ | |||
12979 12980 12981 12982 12983 12984 12985 | 1999-1-28 <stanton@GASPODE> * generic/tkGrid.c: Fixed bug in "grid forget" that failed to cancel pending idle handlers, resulting in a crash in a few odd cases. 1999-01-06 <lfb@JUSTICE> | | | | | | | | | | | | 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 | 1999-1-28 <stanton@GASPODE> * generic/tkGrid.c: Fixed bug in "grid forget" that failed to cancel pending idle handlers, resulting in a crash in a few odd cases. 1999-01-06 <lfb@JUSTICE> * generic/tk.h, generic/tkGet.c, generic/tkConfig.c, * generic/tkOldConfig.c, generic/tkEntry.c, generic/tkMenubutton.c, * generic/tkMenubutton.h, generic/tkScale.c, generic/tkScale.h, * generic/tkTextDisplay.c, generic/tkText.c, unix/tkUnixMenubu.c, * unix/tkUnixScale.c, mac/tkMacMenu.c, mac/tkMacMenubutton.c, Removed global Tk_Uids dealing with "-state" configuration option and added new TK_CONFIG_STATE configSpec that doesn't use Tk_Uids. 1998-12-11 === Tk 8.1b1 Release === 1998-12-11 <stanton@GASPODE> * generic/tkMain.c (Tk_Main): Fixed improper command line encoding handling. 1998-12-08 <stanton@GASPODE> * win/tkWinClipboard.c (TkSelGetSelection, TkWinClipboardRender): Changed to handle multibyte characters properly. [Bug: 935] 1998-12-07 <stanton@GASPODE> * library/xmfbox.tcl (tkMotifFDialog_Create): In the cached case, the data array was not being initialized with the correct set of widgets. 1998-12-4 <welch@SAGE> * Changed patchLevel to 8.1b1 * generic/tkMenu.c (ConfigureMenuCloneEntries): The -menu configuration option was being incorrectly specified as just "menu". 1998-11-30 <stanton@GASPODE> * generic/tkButton.c (ConfigureButton): The error result was getting lost when restoring configuration options. [Bug: 619] 1998-11-25 <stanton@GASPODE> |
︙ | ︙ | |||
13035 13036 13037 13038 13039 13040 13041 | * generic/tkFont.c (TkFontParseXLFD): initialize charset to iso8859-1 if no charset is specified. * mac/tkMacHLEvents.c (OdocHandler): added conversion from external string to UTF [Bug: 869] * integrated tk8.0.4 changes. | | | 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 | * generic/tkFont.c (TkFontParseXLFD): initialize charset to iso8859-1 if no charset is specified. * mac/tkMacHLEvents.c (OdocHandler): added conversion from external string to UTF [Bug: 869] * integrated tk8.0.4 changes. * generic/tkBind.c: fixed deletion order bug where a crash would result if a binding deleted "." * generic/tkMenu.c (MenuWidgetObjCmd): disabled menu entries were getting reenabled whenever the mouse passed over the entry [Bug: 860] * unix/tkUnixMenu.c (TkpComputeStandardMenuGeometry): hidemargin |
︙ | ︙ | |||
13059 13060 13061 13062 13063 13064 13065 | could be made, but some require a little restructuring of the code. In any case the leaks are fixed and there is a lot less allocation happening. [Bug: 620] 1998-11-19 <stanton@GASPODE> * tkMenu.c (DestroyMenuEntry): fixed memory leaks [Bug: 620] | | | 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 | could be made, but some require a little restructuring of the code. In any case the leaks are fixed and there is a lot less allocation happening. [Bug: 620] 1998-11-19 <stanton@GASPODE> * tkMenu.c (DestroyMenuEntry): fixed memory leaks [Bug: 620] * tkWinX.c (GetTranslatedKey): fixed bad code merge * tkWinWm.c, tkWinMenu.c: fixed titles and menus so they properly display Unicode [Bug: 819] |
Changes to win/tkWinMenu.c.
︙ | ︙ | |||
2481 2482 2483 2484 2485 2486 2487 | CONST Tk_FontMetrics *fmPtr; /* The precalculated metrics */ int *widthPtr; /* The resulting width of the label * portion */ int *heightPtr; /* The resulting height of the label * portion */ { TkMenu *menuPtr = mePtr->menuPtr; | | | 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 | CONST Tk_FontMetrics *fmPtr; /* The precalculated metrics */ int *widthPtr; /* The resulting width of the label * portion */ int *heightPtr; /* The resulting height of the label * portion */ { TkMenu *menuPtr = mePtr->menuPtr; int haveImage = 0; if (mePtr->image != NULL) { Tk_SizeOfImage(mePtr->image, widthPtr, heightPtr); haveImage = 1; } else if (mePtr->bitmapPtr != NULL) { Pixmap bitmap = Tk_GetBitmapFromObj(menuPtr->tkwin, mePtr->bitmapPtr); Tk_SizeOfBitmap(menuPtr->display, bitmap, widthPtr, heightPtr); |
︙ | ︙ | |||
2968 2969 2970 2971 2972 2973 2974 | HDC scratchDC; Tcl_DString boldItalicDString; int bold = 0; int italic = 0; TEXTMETRIC tm; int pointSize; HFONT menuFont; | > > | > > > > > | > > > > > > > | | | | 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 | HDC scratchDC; Tcl_DString boldItalicDString; int bold = 0; int italic = 0; TEXTMETRIC tm; int pointSize; HFONT menuFont; /* See: [Bug #3239768] tk8.4.19 (and later) WIN32 menu font support */ struct { NONCLIENTMETRICS metrics; #if (WINVER < 0x0600) int padding; #endif } nc; OSVERSIONINFO os; /* * Set all of the default options. The loop will terminate when we run * out of options via a break statement. */ defaultBorderWidth = GetSystemMetrics(SM_CXBORDER); if (GetSystemMetrics(SM_CYBORDER) > defaultBorderWidth) { defaultBorderWidth = GetSystemMetrics(SM_CYBORDER); } scratchDC = CreateDC("DISPLAY", NULL, NULL, NULL); if (!firstTime) { Tcl_DStringFree(&menuFontDString); } Tcl_DStringInit(&menuFontDString); nc.metrics.cbSize = sizeof(nc); os.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); GetVersionEx(&os); if (os.dwMajorVersion < 6) { nc.metrics.cbSize -= sizeof(int); } SystemParametersInfo(SPI_GETNONCLIENTMETRICS, nc.metrics.cbSize, &nc.metrics, 0); menuFont = CreateFontIndirect(&nc.metrics.lfMenuFont); SelectObject(scratchDC, menuFont); GetTextMetrics(scratchDC, &tm); GetTextFace(scratchDC, LF_FACESIZE, faceName); pointSize = MulDiv(tm.tmHeight - tm.tmInternalLeading, 72, GetDeviceCaps(scratchDC, LOGPIXELSY)); if (tm.tmWeight >= 700) { bold = 1; |
︙ | ︙ |