summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * win/lamp.bmp (deleted):davygrvy2004-01-131-0/+0
| | | | * win/rc/lamp.bmp (new): Moved.
* * win/rc/tk.rc:davygrvy2004-01-134-24/+19
| | | | | | | * win/rc/tk_base.rc: * win/rc/wish.rc: * win/makefile.vc: Refreshed how the resource files are built. Should be a bit easier for people linking with a static Tk library.
* Typo fix.pspjuth2004-01-091-2/+2
|
* Implementation of TIP#146,pspjuth2004-01-094-114/+260
| | | | | "Add Overall Anchoring to the Grid Geometry Manager", adding [grid anchor] subcommand.
* fix to text widget yview bugvincentdarley2004-01-074-7/+46
|
* utf-8 aware text wordstart and wordendvincentdarley2004-01-073-27/+126
|
* disabled submenu fixvincentdarley2004-01-072-12/+30
|
* * macosx/Wish.pbproj/project.pbxproj: added missing private headersdas2004-01-013-2/+17
| | | | | | to installed Tk.framework, so that tkInt.h can be included sucessfully from Tk.framework/PrivateHeaders. * generic/tkPort.h: corrected include of tkMacOSXPort.h
* * win/tkWinMenu.c (ReconfigureWindowsMenu,mdejong2003-12-282-26/+57
| | | | | | | | | | | | | TkWinHandleMenuEvent, DrawMenuEntryArrow): Fix drawing of a disabled cascade menu arrow. Tk was displaying a disabled cascade menu arrow in black instead of gray. This was caused by a bug in the Win32 code for user drawn menu items. The fix is to avoid telling Windows that the menu item is a cascade type and then draw the gray arrow bitmap on our own. [Patch 865842]
* * win/tkWinMenu.c (DrawWindowsSystemBitmap):mdejong2003-12-282-2/+13
| | | | | | | | | | Fix a strange Win32 bug where the logical coordinates returned by a call to DPtoLP are wrong the first time a menu is posted. This bug manifested itself by drawing the bitmap in the wrong place in a menu. The fix was to pass the newly created DC instead of the DC from the window.
* * win/tkWinMenu.c (DrawMenuEntryAccelerator,mdejong2003-12-262-2/+24
| | | | | | | | | DrawMenuEntryLabel): When drawing the label text and accelerator text for a disabled menu entry be sure to draw a 3D highlight. The only exception to this is when a disabled menu entry is highlighted, in that case do not draw a 3D hightlight.
* * win/tkWinMenu.c (DrawMenuEntryAccelerator,mdejong2003-12-262-13/+68
| | | | | | | | DrawMenuEntryArrow): Move the unused menu arrow drawing code in DrawMenuEntryAccelerator into a new function named DrawMenuEntryArrow. This makes no functional change but it will make it easier to fix things in the future.
* * win/tkWin32Dll.c (DllMain): Add HAVE_NO_SEHmdejong2003-12-262-1/+78
| | | | | | blocks in place of __try and __except statements to support gcc builds. This is needed after David's changes on 2003-12-21. [Tcl patch 858493]
* prevent static buffer overflow (Doh!)davygrvy2003-12-231-4/+4
|
* fixed static buffer overflowdavygrvy2003-12-231-2/+2
|
* no messagedavygrvy2003-12-231-0/+11
|
* removed the note about having to update makefile.vc when the version changes.davygrvy2003-12-231-2/+1
|
* Uses new features of nmakehlp to get the version strings from header filesdavygrvy2003-12-231-7/+13
| | | | without the use of hardcoded values.
* sync'd to Tcl.davygrvy2003-12-232-14/+108
|
* doc/text.n: Fix markup errors (".t" at beginning of line).jenglish2003-12-222-7/+18
|
* * generic/tkEvent.c: Added three new functions: TkCreateExitHandler,davygrvy2003-12-2112-26/+223
| | | | | | | | | | | | | | | | | * generic/tkInt.h: TkDeleteExitHandler, and TkFinalize. This adds * generic/tkMenu.c: an insertion point so Tk's exit handlers can be * generic/tkWindow.c: called on their own from tk85.dll's DllMain * mac/tkMacButton.c: for DLL_PROCESS_DETACH. These are private to * unix/tkUnixEvent.c: the binary and not exported. It is possible * win/tkWin32Dll.c: the Windows OS can unload Tk _prior_ to Tcl * win/tkWinEmbed.c: under some conditions such as ExitProcess(). * win/tkWinMenu.c: This avoids a dangling pointer problem when Tcl * win/tkWinX.c: does Tcl_Finalize after Tk has been unloaded. * win/winMain.c: DllMain's DLL_PROCESS_DETACH now protected with SEH as DeleteWindowsExitProc is causing an exception of its own under some teardown conditions. AT&T assembly syntax has not been added for MinGW yet. [Tcl Patch 858493]
* library/bgerror.tcl: Truncate displayed error message if it's too longjenglish2003-12-202-3/+7
| | | | (fixes: #231251)
* * (Tk_MeasureChars): Fix bugs shown by the test suitecc_benny2003-12-181-18/+29
| | | | [#861777]. Clarify comment on TK_AT_LEAST_ONE.
* * win/rc/wish.exe.manifest: It seems that Windows XP insists on apatthoyts2003-12-162-1/+5
| | | | | strict format for the version value. 8.5.a0 or 8.5.0 results in an unloadable executable -- must be 4 numbers.
* * win/tkWinSend.c: Removed some misleading comments (bug #846134)patthoyts2003-12-162-10/+27
| | | | and disabled the send package until bug #858822 is resolved.
* Check for TK_ALREADY_DEAD to avoid handling of dead windows.a_kovalenko2003-12-162-2/+7
|
* opps.. paren typodavygrvy2003-12-161-3/+3
|
* no messagedavygrvy2003-12-161-4/+8
|
* * win/tkWinWm.c (UpdateGeometryInfo) : wmPtr->wrapper mightdavygrvy2003-12-161-2/+3
| | | | | be NULL. No exception is thrown, but it isn't correct to ignore. discovered with NuMega's BoundsChecker.
* * win/tkWinMenu.c (ReconfigureWindowsMenu) : Only redraw thedavygrvy2003-12-161-0/+7
| | | | | | menubar when a menubar exists. Although the invalid handle doesn't cause an exception, it was discovered with NuMega's BoundsChecker.
* (ReconfigureWindowsMenu) : Only redraw the menubar when a menubardavygrvy2003-12-161-2/+6
| | | | | exists. Although the invalid handle doesn't cause an exception, it was discovered with NuMega's BoundsChecker and flagged as a problem.
* * (TkpSetKeycodeAndState): Don't clobber xkey.state.cc_benny2003-12-151-3/+1
|
* * (InitLatin1Table): Rename initialized to latin1_initializedcc_benny2003-12-151-32/+32
| | | | | | | | | | to avoid confusion. Actually set lastKeyLayoutID. Use keycode<<16 for XKeycodeToKeysym. * (XKeycodeToKeysym): Remove variables c and virtualKey, simplify code, don't special handle keycode == 0 (-> 'a'). * (XKeysymToMacKeycode): Add handling for function keys. Use ASCII control codes instead of keysyms. * (TkpSetKeycodeAndState): Ditto.
* * Add bug number to last change.cc_benny2003-12-151-1/+1
|
* * macosx/tkMacOSXKeyboard.c: General cleanup. Add support forcc_benny2003-12-151-0/+5
| | | | [event generate].
* * latin1Table, (InitLatin1Table): Add.cc_benny2003-12-151-29/+177
| | | | | | | | * (XKeysymToMacKeycode): Add. * (XKeysymToKeycode): Use XKeysymToMacKeycode. * (TkpSetKeycodeAndState): Ditto. * (TkpSetKeycodeAndState): Adapt modifier flags handling. * (TkpInitKeymapInfo): Update a comment.
* * (TkpInitKeymapInfo): Remove dead code. The code depended oncc_benny2003-12-151-104/+40
| | | | | | | | | | | | | | | the result of XGetModifierMapping, but that will always return an empty list. * ALT_MASK, OPTION_MASK: Symbols for understanding the code better. * (TkpSetKeycodeAndState): Hardcode Mode_switch == Option. * (TkpGetKeySym): Ditto. * (TkpGetKeySym): Comment lockUsage conditions, Mac OS X uses LU_CAPS always. * (XKeycodeToKeysym): Handle option key in parameter index (only used by TkpGetKeySym). * (TkpGetKeySym): Use Tcl_UniCharIsUpper, highlight problems with Latin1 limitation.
* * LATIN1_MAX and MAC_KEYCODE_MAX: Add and use for bettercc_benny2003-12-151-25/+47
| | | | | | | | | maintainability. * General comment on keyArray: Add. * (XKeycodeToKeysym): Replace garbled comment. Use symbols instead of magic constants. * (TkpGetKeySym): Reorder computations to make this more logical.
* * Comments: Add and clarify some points, correct spellings.cc_benny2003-12-151-268/+306
| | | | | | | * Whitespace: Remove tabs, re-indent, re-wrap comments. * keyArray: Reorder keys in logical groups. * vituralkeyArray: Rename virtualkeyArray. * Prototypes, function headers: Use ISO-C consistently.
* text widget more extensive documentation, and two small code improvementsvincentdarley2003-12-155-25/+147
|
* spelingdavygrvy2003-12-141-1/+1
|
* no messagedavygrvy2003-12-131-0/+3
|
* updated version stringdavygrvy2003-12-131-1/+1
|
* no messagedavygrvy2003-12-131-0/+5
|
* (TkWinXInit): Don't restric InitCommonControlsEx. It's valid on all platformsdavygrvy2003-12-131-10/+9
| | | | | | given IE 3.0+ is installed. As tkWinX.c does set #define _WIN32_IE 0x0300, I guess we can accept IE3 as the lowest denominator and use version 4.71 features of Comctl32.dll
* no messagedavygrvy2003-12-131-0/+6
|
* (TkWinEmbeddedEventProc) : for loop dereferences containerPtr but can'tdavygrvy2003-12-131-5/+7
| | | | | get to the if (containerPtr == NULL) test due to the unhandled read memory exception for when it really is NULL.
* fixed bad commit from before. my mistake. This is 1.16 now.davygrvy2003-12-121-4/+45
|
* Reverted to 1.15 for two reasons. 1) problem is best addressed in Tcl'sdavygrvy2003-12-121-45/+4
| | | | | DllMain() and 2) needs a MinGW custom assembly implimentation as it doesn't understand SEH syntax.
* off-by-one error in recent cleanup fixvincentdarley2003-12-101-2/+2
|