Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sync'd to Tcl. | davygrvy | 2003-12-23 | 2 | -14/+108 |
| | |||||
* | doc/text.n: Fix markup errors (".t" at beginning of line). | jenglish | 2003-12-22 | 2 | -7/+18 |
| | |||||
* | * generic/tkEvent.c: Added three new functions: TkCreateExitHandler, | davygrvy | 2003-12-21 | 12 | -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 long | jenglish | 2003-12-20 | 2 | -3/+7 |
| | | | | (fixes: #231251) | ||||
* | * (Tk_MeasureChars): Fix bugs shown by the test suite | cc_benny | 2003-12-18 | 1 | -18/+29 |
| | | | | [#861777]. Clarify comment on TK_AT_LEAST_ONE. | ||||
* | * win/rc/wish.exe.manifest: It seems that Windows XP insists on a | patthoyts | 2003-12-16 | 2 | -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) | patthoyts | 2003-12-16 | 2 | -10/+27 |
| | | | | and disabled the send package until bug #858822 is resolved. | ||||
* | Check for TK_ALREADY_DEAD to avoid handling of dead windows. | a_kovalenko | 2003-12-16 | 2 | -2/+7 |
| | |||||
* | opps.. paren typo | davygrvy | 2003-12-16 | 1 | -3/+3 |
| | |||||
* | no message | davygrvy | 2003-12-16 | 1 | -4/+8 |
| | |||||
* | * win/tkWinWm.c (UpdateGeometryInfo) : wmPtr->wrapper might | davygrvy | 2003-12-16 | 1 | -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 the | davygrvy | 2003-12-16 | 1 | -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 menubar | davygrvy | 2003-12-16 | 1 | -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_benny | 2003-12-15 | 1 | -3/+1 |
| | |||||
* | * (InitLatin1Table): Rename initialized to latin1_initialized | cc_benny | 2003-12-15 | 1 | -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_benny | 2003-12-15 | 1 | -1/+1 |
| | |||||
* | * macosx/tkMacOSXKeyboard.c: General cleanup. Add support for | cc_benny | 2003-12-15 | 1 | -0/+5 |
| | | | | [event generate]. | ||||
* | * latin1Table, (InitLatin1Table): Add. | cc_benny | 2003-12-15 | 1 | -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 on | cc_benny | 2003-12-15 | 1 | -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 better | cc_benny | 2003-12-15 | 1 | -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_benny | 2003-12-15 | 1 | -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 improvements | vincentdarley | 2003-12-15 | 5 | -25/+147 |
| | |||||
* | speling | davygrvy | 2003-12-14 | 1 | -1/+1 |
| | |||||
* | no message | davygrvy | 2003-12-13 | 1 | -0/+3 |
| | |||||
* | updated version string | davygrvy | 2003-12-13 | 1 | -1/+1 |
| | |||||
* | no message | davygrvy | 2003-12-13 | 1 | -0/+5 |
| | |||||
* | (TkWinXInit): Don't restric InitCommonControlsEx. It's valid on all platforms | davygrvy | 2003-12-13 | 1 | -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 message | davygrvy | 2003-12-13 | 1 | -0/+6 |
| | |||||
* | (TkWinEmbeddedEventProc) : for loop dereferences containerPtr but can't | davygrvy | 2003-12-13 | 1 | -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. | davygrvy | 2003-12-12 | 1 | -4/+45 |
| | |||||
* | Reverted to 1.15 for two reasons. 1) problem is best addressed in Tcl's | davygrvy | 2003-12-12 | 1 | -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 fix | vincentdarley | 2003-12-10 | 1 | -2/+2 |
| | |||||
* | fixed 2 tests for padx, pady | vincentdarley | 2003-12-10 | 2 | -5/+11 |
| | |||||
* | * (Tk_MeasureChars): Initialize size.cx in case of errors. | cc_benny | 2003-12-10 | 1 | -2/+5 |
| | | | | | Initialize lastsize (fixes bug with wrong *lenghtPtr results in case no chars fit at all). | ||||
* | Line transposition bug. [Bug 857159] | dkf | 2003-12-10 | 2 | -2/+7 |
| | |||||
* | * unix/configure: | hobbs | 2003-12-09 | 3 | -6/+81 |
| | | | | | * unix/tcl.m4: updated OpenBSD build configuration based on [Patch #775246] (cassoff) | ||||
* | fix to memory leaks and reading of freed memory | vincentdarley | 2003-12-09 | 3 | -19/+42 |
| | |||||
* | clean up usage of 'edition' as a verb | hobbs | 2003-12-08 | 2 | -3/+7 |
| | |||||
* | performance of lines containing 10000+ characters | vincentdarley | 2003-12-05 | 6 | -48/+178 |
| | |||||
* | *** empty log message *** | cc_benny | 2003-12-05 | 1 | -0/+5 |
| | |||||
* | * (Tk_MeasureChars): Fix indentation. Fix memory leak. Fix | cc_benny | 2003-12-05 | 1 | -40/+32 |
| | | | | handling of TK_WHOLE_WORDS. | ||||
* | mark recent change as a potential incompatibility | vincentdarley | 2003-12-04 | 1 | -1/+9 |
| | |||||
* | fix to text widget tabs and xy-scroll-command | vincentdarley | 2003-12-04 | 9 | -60/+188 |
| | |||||
* | font measurement fix | vincentdarley | 2003-12-04 | 3 | -122/+161 |
| | |||||
* | Typo fix | dkf | 2003-12-03 | 1 | -2/+2 |
| | |||||
* | * generic/tkMenu.c (MenuVarProc): prevent this from triggering | hobbs | 2003-12-03 | 2 | -5/+18 |
| | | | | while interp is being destroyed. | ||||
* | Corrected targetWinPtr check, now if winPtr==0 and targetWinPtr!=0 then | a_kovalenko | 2003-11-25 | 2 | -2/+8 |
| | | | | the event is not ignored any more | ||||
* | add further updates to ensure test captures all cases | vincentdarley | 2003-11-24 | 1 | -1/+2 |
| | |||||
* | correct handling of interpolated tabs using fractional pixel widths | vincentdarley | 2003-11-21 | 5 | -44/+64 |
| | |||||
* | fix to two test suite bugs | vincentdarley | 2003-11-21 | 4 | -39/+144 |
| |