summaryrefslogtreecommitdiffstats
path: root/mac
Commit message (Collapse)AuthorAgeFilesLines
* Protect GenerateKeyEvent from a null tkwin.jingham2000-04-171-1/+5
|
* Don't worry, this file is not used yet...jingham2000-04-171-12/+175
|
* Protect the define of strncasecmp, it IS present in MSL from CW Pro 5.jingham2000-04-171-2/+5
|
* Add FIXME comment XKeySymToKeyCode needs to be implemented, since it is used ↵jingham2000-04-171-1/+3
| | | | in event generate.
* Add Navigation Services support.jingham2000-04-171-135/+716
|
* Hide button window BEHIND all the others in the applicationjingham2000-04-171-6/+67
|
* * mac/tkMacScale.c: moved (PixelToValue|ValueToPixel|SetScaleValue)hobbs2000-04-141-178/+16
| | | | | to tkScale.c. Caused an associated variable to be immediately set [Bug: 4833]
* * tests/event.test: Added test for [event generate $widgetericm2000-04-101-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | <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 XEvent structure create to handle [event generate] calls. Previously, the alt/meta bits were not set correctly, so [event generate $widget <Alt-z>] would always fail. [Bug: 4611]
* Comment some functions that have moved.jingham2000-02-101-1/+3
|
* Fixes for Tk8.3jingham2000-02-101-1/+2831
|
* Add support for Appearance Manager 1.2 Floating windows, and the new window ↵jingham2000-02-107-45/+387
| | | | classes in unsupported1
* Add support for Appearance Manager 1.2 Floating windows, and the new window ↵jingham2000-02-102-3/+7
| | | | classes in unsupported1
* Fix up debugging detritus in previous checkin.jingham2000-02-101-4/+4
|
* Stop hiding the buffer window used for off-screen drawing from the window ↵jingham2000-02-101-21/+30
| | | | list. This doesn't really buy us much, and crashes the newest Appearance manager.
* Fix typo in the file info, add Finder Balloon help just cause you can.jingham2000-02-102-4/+17
|
* 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.
* * generic/tk.decls:hobbs2000-02-091-1/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * tests/winWm.test:hobbs2000-01-121-30/+85
| | | | | | | | | | | * tests/unixWm.test: * mac/tkMacWm.c: * unix/tkUnixWm.c: fixed possible X error being raised [Bug: 3377] * win/tkWinWm.c: wm deiconify in zoom state [Bug: 2077], fixed possible flashing of unmapped toplevel in deiconify [Bug: 3338] and fixed mapping of transient window [Bug: 572] Also, for all wm's, extended 'wm state' command to allow setting of the state, and added official support of 'zoomed' state on Win.
* * mac/tkMacClipboard.c: fixed i18n problems with clipboard [Bug: 3544]hobbs2000-01-061-5/+15
|
* * generic/tkScale.c:hobbs1999-12-221-9/+7
| | | | | | * generic/tkScale.h: * mac/tkMacScale.c: * unix/tkUnixScale.c: fixed potential segv from patch in 3897
* fix for mac happinesshobbs1999-12-221-37/+36
|
* * mac/tclMacHLEvents.c: fixed applescript for I18N [Bug: 3644]hobbs1999-12-211-2/+6
|
* * mac/tkMacMenu.c: finished bug 3075 by changing the char values ofhobbs1999-12-161-10/+10
| | | | what was checked (verified correctness on Mac).
* * mac/tkMacDraw.c: mac still needs pointer warping routinehobbs1999-12-142-2/+82
| | | | | | | * mac/tkMacXStubs.c: * win/tkWinDraw.c: * win/tkWinPointer.c: added support for pointer warping and platform specific support for dash patch items
* added TkMacPreprocessMenuhobbs1999-12-072-13/+25
|
* added TkpPreprocessMenu (commited before saving one last file...)hobbs1999-12-071-1/+31
|
* * mac/tkMacFont.c:hobbs1999-12-073-61/+96
| | | | | | | * mac/tkMacMenu.c: * mac/tkMacWindowMgr.c: fixed greyed out menu items, handling of ... elipsis, font mapping problem, and enabled generated menu posting [Bug: 3705]
* * tests/listbox.test: Fixed tests to comply with new objectifiedericm1999-11-171-1/+2
| | | | | | | | error messages. No -listvar specific tests yet. * win/tkWinDefault.h: * unix/tkUnixDefault.h: * mac/tkMacDefault.h: Added default value for -listvar option.
* 1999-09-24 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-10-011-14/+15
| | | | | | | | | | | | | * */README: * win/makefile.vc: * */configure.in: * generic/tk.h: * library/tk.tcl: up'd to 8.3a1 * unix/Makefile.in: changed 'mkdir' to 'mkdir -p' * library/dialog.tcl: changed {Times 18} to {Times 12} for dialog font.
* 1999-09-16 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-09-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | * generic/tkFont.c: fixed processing of font options and error returned [Bug: 2075] * win/tkWinWm.c: fixed bug in 'wm deiconify' that raised the wrong toplevel, and changed it to not set focus on overridden toplevels 1999-09-15 Jeff Hobbs <hobbs@scriptics.com> * unix/aclocal.m4: added fix for FreeBSD-[1-2] recognition [Bug: 2070] and fix to AIX-* to get ldAix right [Bug: 2624], fixed AIX version check (readjust from 8-21 fix) and several other config fixes for AIX * mac/tkMacMenubutton.c: * unix/tkUnixMenubu.c: fixed permanently stippled menubutton image * win/tkWinButton.c: fixed possible pointer smash [Bug: 2733] 1999-09-14 Jeff Hobbs <hobbs@scriptics.com> * win/tkWinMenu.c: fix for stack overrun in GetTextFace [Bug: 909]
* *** empty log message ***hobbs1999-09-021-3/+2
|
* Fix a typo.jingham1999-08-161-2/+2
|
* Update copyrights and add my name to Ray's in the credits (blush).jingham1999-08-163-14/+14
|
* Update to move the build directory out of the source tree.jingham1999-08-131-1/+1
|
* Fix a bug where the background of the menu can be wrong on Appearances that ↵jingham1999-08-131-4/+18
| | | | use pixmaps for the background of the menu.
* New Function: TkpDrawHighlightBorder. Use this in place of ↵jingham1999-08-103-14/+62
| | | | Tk_DrawFocusHighlight. The latter did not work on the Mac, since you need to know both foreground & background color when you draw the active focus ring.
* Fix a typo from the 8.0 -> 8.1 conversion of the Menu code.jingham1999-08-071-2/+3
|
* Check the return from Tk_MacGetColor before changing the colorjingham1999-08-071-3/+5
|
* Fix a typo left over from the conversion of the Menu code from 8.0 to 8.1.jingham1999-08-051-3/+2
|
* 1999-08-01 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-011-1/+3
| | | | | | * mac/tkMacPort.h: wrapped panic in #ifndef panic to avoid compiler errors when used with stubs-#defines, from Vince Darley. [Bug: 2389]
* Changed to Tk 8.2b1welch1999-06-251-7/+7
|
* Fix a bug in the region calculation for popup menus which would cause the ↵jingham1999-06-161-3/+23
| | | | popup to get posted in the wrong place if the menu was going to stick off the bottom of the screen.
* Have to call Tcl_FindExecutable BEFORE creating the first interpreter. Need ↵jingham1999-06-161-1/+11
| | | | to do this in main, since Tk_Main surreptitiously creates the interpreter now.
* Changes needed to get Tk8.1 to compile with stubs on the Macjingham1999-05-229-1328/+52
|
* Changes needed to get Tk8.1 to compile with stubs on the Mac Also copied ↵jingham1999-05-221-45/+25
| | | | over some changes from Tk8.0.5 to support themed menus.
* Changes needed to get Tk8.1 to compile with stubs on the Macjingham1999-05-223-8/+8
|
* Copied changes over from Tk8.0.5 to support Themed menusjingham1999-05-221-10/+21
|