summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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
|
* fixed 2 tests for padx, padyvincentdarley2003-12-102-5/+11
|
* * (Tk_MeasureChars): Initialize size.cx in case of errors.cc_benny2003-12-101-2/+5
| | | | | Initialize lastsize (fixes bug with wrong *lenghtPtr results in case no chars fit at all).
* Line transposition bug. [Bug 857159]dkf2003-12-102-2/+7
|
* * unix/configure:hobbs2003-12-093-6/+81
| | | | | * unix/tcl.m4: updated OpenBSD build configuration based on [Patch #775246] (cassoff)
* fix to memory leaks and reading of freed memoryvincentdarley2003-12-093-19/+42
|
* clean up usage of 'edition' as a verbhobbs2003-12-082-3/+7
|
* performance of lines containing 10000+ charactersvincentdarley2003-12-056-48/+178
|
* *** empty log message ***cc_benny2003-12-051-0/+5
|
* * (Tk_MeasureChars): Fix indentation. Fix memory leak. Fixcc_benny2003-12-051-40/+32
| | | | handling of TK_WHOLE_WORDS.
* mark recent change as a potential incompatibilityvincentdarley2003-12-041-1/+9
|
* fix to text widget tabs and xy-scroll-commandvincentdarley2003-12-049-60/+188
|