summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Minor Doco fixes.jingham2000-02-102-11/+11
|
* Stubs for the Apearance manager routines for use with the 68K version of ↵jingham2000-02-101-0/+106
| | | | MacTk. This allows me not to conditionalize their use in the real code.
* The res form of the Drag & Drop Tclets icon.jingham2000-02-101-0/+172
|
* Switch to using .h prefix files, add pre-built headers for TkTest, and add ↵jingham2000-02-104-0/+80
| | | | prefix file for tkImgPPM.c, so we can define USE_OLD_IMAGE.
* flipped debug bithobbs2000-02-101-2/+2
|
* * generic/tk.decls:hobbs2000-02-099-314/+1001
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. 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. InitKeymapInfo() changed to use KeycodeToKeysym(). TkpSetKeycodeAndState() rewritten, mostly by copying code from XKeysymToKeycode(). XKeycodeToKeysym() rewritten. Preferably it should be removed. EXPLANATION: The main problem is ToAscii() which has a lot of side effects, and also that XKeycodeToKeysym() is not provided enough input to do a proper job. The changes' main goal is to avoid calling ToAscii() if not necessary, and to provide it with as correct information as possible when called. Also some attempts to clean up what ToAscii() did are done. See the code for details. BUGS FIXED: Typing shifted (and AltGr) dead keys did not work. Keyboard lock lamps did not work on Win98. Events regarding AltGr-keys behaved badly. Example: On a Swedish keyboard, $ is typed with AltGr-4. That keyboard event would get the keysym '4' not 'dollar'. Also, doing [event generete . <Key-dollar>] would send keysym '4'. Translation to ascii in TkpGetString did not handle return and tab correctly. I.e. [event generate . <Key-Return>] gave wrong %A
* * generic/tkDecls.h:hobbs2000-02-0814-133/+494
| | | | | | | | | | | | | | | | | | | | | * 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: * unix/Makefile.in: * win/Makefile.in: * win/makefile.vc: improved support for moving from the old style image C API to the new obj'ified one with new Tk_InitImageArgs command and stub'ing of image code. See docs for how to make the transition. [Bug: 4060]
* * win/tkWinFont.c: corrected symbol font use to only work on 8-bithobbs2000-02-082-6/+8
| | | | | | | | | characters [Bug: 2406] * README: * unix/configure.in: * win/configure.in: * generic/tk.h (TK_RELEASE_SERIAL): Moved to 8.3.0 patchlevel
* * unix/aclocal.m4: changed all -fpic to -fPIChobbs2000-02-082-4/+4
| | | | | | | * README: * unix/configure.in: * win/configure.in: * generic/tk.h (TK_RELEASE_SERIAL): Moved to 8.3.0 patchlevel
* * library/tk.tcl: wrapped check for tcl_platform(os) around infohobbs2000-02-081-9/+9
| | | | exists because it won't in safe interpreters
* * generic/tk.h (TK_RELEASE_SERIAL): Moved to 8.3.0 patchlevelhobbs2000-02-081-5/+5
|
* * README:hobbs2000-02-082-7/+28
| | | | | | | | | | | | | | * unix/configure.in: * win/configure.in: * generic/tk.h (TK_RELEASE_SERIAL): Moved to 8.3.0 patchlevel * library/tk.tcl: wrapped check for tcl_platform(os) around info exists because it won't in safe interpreters * win/tkWinFont.c: corrected symbol font use to only work on 8-bit characters [Bug: 2406] * unix/aclocal.m4: changed all -fpic to -fPIC
* * library/tkfbox.tcl: Applied patch from bug #4117,ericm2000-02-072-2/+19
| | | | | | tk_getOpenFile/getSaveFile doesn't do the right thing when user types a directory name in the entry and a default extension is specified.
* * unix/tkUnixScale.c (TkpDestroyScale): changed ckfree tohobbs2000-02-052-6/+13
| | | | | Tcl_EventuallyFree to behave with Tcl_Preserve in TkpDisplayScale (prevents possible segfault).
* * tests/canvText.test: test for fix for bug #2525.ericm2000-02-032-4/+19
| | | | | | | * 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:ericm2000-02-033-16/+46
| | | | | | | * 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).
* * library/tk.tcl:ericm2000-02-014-51/+103
| | | | | | | | * 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.
* * win/Makefile.in (install-*): reduced verbosity of installhobbs2000-02-015-59/+104
| | | | | | | | | | | | * win/tkWinPixmap.c (XGetGeometry): added support for windows in XGetGeometry [Bug: 4069] * 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]
* * unix/aclocal.m4: added *BSD ELF recognition forhobbs2000-02-011-1/+11
| | | | SHARED_LIB_SUFFIX determination (from Tcl's tcl.m4)
* * tests/listbox.test: corrected test case for listbox itemconfigurehobbs2000-02-011-3/+3
|
* * generic/tkRectOval.c (ConfigureRectOval):hobbs2000-02-016-19/+235
| | | | | | | | | | | | | * 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)
* * doc/text.n: clarified docs on what happens during a search withhobbs2000-02-011-4/+8
| | | | -count when images/windows are embedded
* see logshobbs2000-02-011-0/+34
|
* Fix for bug #4103.ericm2000-01-311-4/+2
|
* fixed transient window madnesshobbs2000-01-271-16/+45
|
* * generic/tkImgGIF.c: Additional code cleanup (now we only haveericm2000-01-271-163/+44
| | | | one decoder! neat!)
* fixes transient window crash when transient is destroyed while masterhobbs2000-01-271-6/+15
| | | | is iconified/withdrawn
* * generic/tkImgPhoto.c: Fixed bug with use of binary data forericm2000-01-272-2/+12
| | | | "-data" option to "image create" command.
* * doc/getOpenFile.n:ericm2000-01-276-2/+263
| | | | | | | | | | | * 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 slowericm2000-01-264-99/+315
| | | | | | | | | | | processing of transparent images. * generic/tkImgGIF.c: Improved GIF decoder for ~60% speed increase. Added some comments on how to further improve the implementation, time permitting. * doc/photo.n: Added a description of what the -data string can contain (base64 or binary data).
* * generic/tkImgPhoto.c: Fixed bug with use of binary data forericm2000-01-261-4/+8
| | | | "-data" option to "image create" command.
* * library/tkfbox.tcl: Fixed bug relating to incorrect parentericm2000-01-212-8/+18
| | | | | values for error message boxes displayed by the file dialog (bug #3616).
* * tests/text.test:ericm2000-01-212-3/+11
| | | | | * generic/tkText.c: Fixed bug relating to regexp searching for empty lines; previously, the starting line was ignored. (bug #1643).
* removed deletehandler for transient master so that they willhobbs2000-01-211-1/+3
| | | | always trigger children when made visible
* * win/tkWinWm.c (TkWmProtocolEventProc): cached atom name as thehobbs2000-01-211-33/+24
| | | | window could get destroyed during eval [Bug: 2513]
* *** empty log message ***hobbs2000-01-211-0/+8
|
* * tests/text.test:hobbs2000-01-211-8/+8
| | | | | * generic/tkText.c: fixed missing " in error case and missing 'dump' in subcommand listing [Bug: 4036]
* * library/text.tcl: fixed double-click selection behavior wherehobbs2000-01-211-4/+21
| | | | there were embedded windows/widgets in the same line. [Bug: 3989]
* * generic/tkInt.h: moved new TkDisplay useInputMethods structurehobbs2000-01-215-21/+28
| | | | | | | | | | | | | | | | | | element to end to not disturb position of previous elements in the structure (as compared to Tk <=8.2). * generic/tkCanvLine.c (LineCoords): fixed segfault when too few coords were passed to a line with certain options set (it should always have thrown an error anyway). [Bug: 4042] * tests/text.test: * generic/tkText.c: fixed missing " in error case and missing 'dump' in subcommand listing [Bug: 4036] * generic/tkListbox.c: adjusted use of basic string concatenation in (non-K&R behavior) [Bug: 4027] Swapped bg/fg class for -select(bg|fg) for listbox and their items [Bug: 4039]
* * doc/WindowId.3: added docs for Tk_IsContainer and Tk_IsEmbeddedhobbs2000-01-213-20/+37
| | | | | * doc/text.n: clarified mark gravity definition and usage of ``word'' in binding definitions. [Bug: 2004 2277 1388]
* see loghobbs2000-01-211-1/+31
|
* * tests/grid.test: Added a test for the consecutive ^ and multipleericm2000-01-203-11/+51
| | | | | | | | | | | | widget case (bug #1386). * generic/tkGrid.c: Fixed interpretation of consecutive ^ characters in grid command. Previously, ^ ^ was interpreted as meaning that there must be a 2-column widget above to extend, neglecting the case where there was actually 2 1-column widgets above. Now, ^ ^ is interpreted as a possible width; the gridder will consume as many ^'s as there are columns in the widget, and leave the rest for the extension of other widgets. (bug #1386).
* * library/tk.tcl: Created a virtual event <<PrevWindow>> forericm2000-01-201-2/+16
| | | | | reverse tab traversals, with one default binding <Shift-Tab>, and OS specific bindings for Linux, HP-UX, and IRIX. (bug #3163)
* made install less verbosehobbs2000-01-161-22/+23
|
* fixed masterPtr reference problemhobbs2000-01-141-2/+2
|
* * unix/configure.in:core_8_3_b2hobbs2000-01-142-10/+77
| | | | | | | * win/configure.in: updated to patchlevel 8.3b2 * win/tkWinWm.c: added visibility event handler to make sure that transient window wrappers would be updated when the master was initially mapped.
* * changes: updated changes file to reflect 8.3b2 modshobbs2000-01-145-24/+58
| | | | | | | * README: * generic/tk.h: * unix/configure.in: * win/configure.in: updated to patchlevel 8.3b2
* * win/tkWinScrlbr.c: added check for valid hwnd in ModalLoopProchobbs2000-01-131-10/+12
| | | | to avoid crash when building statically
* * tests/text.test: changed test to reflect change of -hiddenhobbs2000-01-131-2/+2
| | | | to -elide in search options.
* * doc/event.n:hobbs2000-01-132-4/+8
| | | | | | * generic/tkBind.c: prevented core with event -warp on Windows when window wasn't mapped [Bug: 4004] and added docs stating the requirement for mapped windows.