summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* * win/tkWinWm.c (RaiseWinWhenIdle): Checked for the possibilityhobbs2000-02-261-1/+4
| | | | | that the window could be destroyed (can occur with wm deiconify .toplevel; destroy .toplevel).
* flipped debug bithobbs2000-02-101-2/+2
|
* * generic/tk.decls:hobbs2000-02-091-18/+376
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-082-3/+5
| | | | | | | | | | | | | | | | | | | | | * 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
* * 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]
* fixed transient window madnesshobbs2000-01-271-16/+45
|
* fixes transient window crash when transient is destroyed while masterhobbs2000-01-271-6/+15
| | | | is iconified/withdrawn
* 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]
* 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.
* * win/tkWinScrlbr.c: added check for valid hwnd in ModalLoopProchobbs2000-01-131-10/+12
| | | | to avoid crash when building statically
* * unix/tkUnixWm.c: fixed possible X error being raised [Bug: 3377]hobbs2000-01-121-51/+151
| | | | | | | | * 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.
* * win/tkWinImage.c: added static declaration to functionhobbs2000-01-061-3/+3
|
* * win/configure.in:hobbs1999-12-212-14/+14
| | | | | * win/aclocal.m4: * README: updated for patch level 8.3b1
* Removed tcl.hpj from list of output files.wart1999-12-161-2/+2
|
* * win/tkWinCursor.c: added support for Windows cursors tohobbs1999-12-163-6/+46
| | | | | | | | | | TkGetCursorByName (.ani, .cur) using -cursor @<filename> (Ascher) [Bug: 1350] * win/tkWinWm.c: fixed 'wm deiconify' to update position of the toplevel if event is waiting before mapping. (Mao) [Bug: 3687] This removes the need for 'update idle' before 'wm deiconify' on Windows.
* * win/tkWinDraw.c:hobbs1999-12-142-40/+131
| | | | | * win/tkWinPointer.c: added support for pointer warping and platform specific support for dash patch items
* Fixed "doc" target so that it copies man.macros from Tclwart1999-12-131-3/+3
|
* * win/makefile.vc: removed 16bit stuff, simplified makefile.hobbs1999-12-091-82/+45
|
* Added support for building Windows winhelp files.wart1999-12-073-4/+77
|
* * generic/tkMain.c :redman1999-12-021-9/+50
| | | | | | | * unix/tkAppInit.c: * win/winMain.c: Added added hooks into the main() code for supporting TclPro and other "big" shells more easily without requiring a copy of the main() code.
* Replaced references to mkinstalldirs with mkdir -pwart1999-11-231-5/+4
|
* Removed bogus dependency on "installdirs"wart1999-11-231-2/+2
|
* * win/tkWinInt.h: removed TkFontAttributes typedef (washobbs1999-11-193-8/+8
| | | | | | | | redundant with tkFont.h). * win/tkWinPort.h: put #ifndef __GNUC__ around redefinition of str[n]casecmp, as cygwin uses the originals. * win/tkWinX.c: changed GetCurrentTime to GetTickCount (the former is deprecated). [Bug: 2053]
* Use mkdir -p to create the install directories (like Tcl already does)wart1999-11-181-6/+7
|
* * 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.
* * win/winMain.c: corrected winMain to not do a DebugBreak whenhobbs1999-11-101-2/+6
| | | | returning an error message from the top level
* * win/tkWinKey.c: fixed XKeysymToKeycode to handle mapping ofhobbs1999-10-301-10/+13
| | | | symbolic keysyms (Left, Home, ...) with event generate
* * makefile.vc: changed 'c:/program files' to c:/progra~1hobbs1999-10-292-8/+6
|
* 1999-09-24 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-10-013-10/+10
| | | | | | | | | | | | | * */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-213-7/+18
| | | | | | | | | | | | | | | | | | | | | | | * 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]
* added DEMOPROGSstanton1999-09-181-1/+3
|
* 1999-09-14 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-09-151-2/+2
| | | | * win/tkWinMenu.c: fix for stack overrun in GetTextFace [Bug: 909]
* Made sure that the tkConfig.sh file is always installed.wart1999-09-102-4/+6
| | | | | configure now substitutes XINCLUDES in tkConfig.sh. Needed for Tk extensions like Itk.
* * win/tkWinDraw.c:hobbs1999-09-021-10/+9
| | | | | | | * unix/tkUnixDraw.c: fixed header style for TkpDrawHighlightBorder * generic/tkCanvas.c: fixed GC error (bg <> fg) in tkCanvas.c (from code added to support TkpDrawHighlightBorder) [Bug: 2676] * unix/aclocal.m4: added -bnoentry to the AIX-* flags
* Added "make doc" target that copies the man.macros file from Tcl.wart1999-08-261-2/+5
|
* Change version numbers to 8.2.0redman1999-08-101-2/+2
|
* 1999-08-10 Jeff Hobbs <hobbs@scriptics.com>core_8_2_b3_basehobbs1999-08-101-1/+7
| | | | | | * win/tkWinWm.c: changed "wm deiconify" on Windows to raise and force the focus on the deiconified window (behavioral change from 8.1 to comply better with Windows style) [Bug: 1609]
* New Function: TkpDrawHighlightBorder. Use this in place of ↵jingham1999-08-101-1/+35
| | | | 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 configure scripts for beta version number (b2 instead of b1).redman1999-08-041-2/+2
|
* * win/makefile.vc: Corrected building threaded tktest.exe onredman1999-07-311-5/+7
| | | | | | Windows. Needed to link in .obj files from Tcl, needs to change later so that code is in Tk and doesn't require a Tcl build. Also added runtest target.
* * win/Makefile.in: Corrected building threaded tktest.exe onredman1999-07-291-7/+35
| | | | | Windows. Needed to link in .obj files from Tcl, needs to change later so that code is in Tk and doesn't require a Tcl build.
* * Changed version to 8.2b2redman1999-07-222-13/+22
| | | | | | | | | | | * win/tkWinPort.h: Block out include of sys/stat.h in order to build extensions with MetroWerks compiler for Win32. [Bug: 2385] * unix/Makefile.in: Need to make install-sh executable before calling (with chmod +x). [Bug: 2413] * library/menu.tcl: Applied patch from Jeff Hobbs to fix typo. [Bug: 2425]
* Added eval to EXESUFFIX value to resolve ${DBGX} immediately.wart1999-07-201-1/+2
| | | | The debug wish executable was missing the 'd' in its name.
* * unix/Makefile.in:redman1999-07-161-2/+2
| | | | | | | * win/Makefile.in: Copy the prolog.ps from the generic directory for install-libraries. * unix/aclocal.m4: Check for Alpha/Linux to set the IEEE flag to the compiler to be -mieee. Patch from Don Porter.
* * tests/unixSelect.test: Fixed broken test.stanton1999-07-092-3/+5
| | | | | | | | | | * win/makefile.vc: Added special case target to ensure that tkStubLib.obj is built with -DSTATIC_BUILD. * win/tkWinX.c (TkWinChildProc): Changed to pass WM_WINDOWPOSCHANGED through to DefWindowProc to make OpenGL sub-windows happy. This allows Windows to generate the WM_SIZE and WM_MOVE messages.
* Patches from Bug: 2068 2080 2269redman1999-07-011-2/+15
|
* Add prolog.ps to windows install-librariesredman1999-06-301-2/+3
|