| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* generic/tkEntry.c (EntrySetValue): malloc the value when
validating because validation could cause the pointer to become
invalid. Also fixed configure to not trigger focus-based
validation. Improved use of Tcl_WrongNumArgs. [Bug: 4320]
|
|
|
|
|
|
|
|
|
| |
menu behavior to only auto-post an immediate child cascade if we
are currently on a menubar menu. This prevents massive
auto-cascading in cases where the first entry of the cascade is
itself a cascade, and the first entry of that cascade is a
cascade, and the first entry of that cascade is a cascade
... [Bug: 676].
|
|
|
|
|
|
|
| |
Tk_ConfigureWidget [Bug: 4079]
* generic/tkWindow.c: Added check for NULL tkwin value in
Tk_NameToWindow [Bug: 4079]
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* xlib/xcolors.c (XParseColor FindColor):
* win/tkWinColor.c (XAllocColor): Fixed bit fiddling for colors to
return "correct" values for color mapping. [Bug: 4282]
|
|
|
|
| |
* unix/aclocal.m4: corrected TCL_NEEDS_EXP_FILE to be 1 for AIX
|
|
|
|
|
|
| |
* xlib/xcolors.c (XParseColor FindColor):
* win/tkWinColor.c (XAllocColor): Fixed bit fiddling for colors to
return "correct" values for color mapping. [Bug: 4282]
|
|
|
|
| |
uplevel with list. [Bug: 4208]
|
|
|
|
|
|
|
|
| |
declaration with extra #defs. [Bug: 4240]
* tests/color.test:
* xlib/xcolors.c (XParseColor FindColor):
* win/tkWinColor.c (XAllocColor): Fixed bit fiddling for colors to
return "correct" values for color mapping. [Bug: 4282]
|
| |
|
| |
|
|
|
|
|
|
|
| |
changes made in 8.3.0 (but old style would still work as well).
[Bug: 4252]
* doc/entry.n: improved docs discussing caveats and gotchas when
mixing textvar with widget validation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
DestroyListbox due to null tkwin. [Bug: 4207]
* tests/entry.test: added test suite for entry validation
* doc/entry.n: improved docs discussing caveats and gotchas when
mixing textvar with widget validation
* generic/tkEntry.c (EntryValidateChange): improved handling of
validation with relation to -textvariable. Previously, it would
turn off whenever the textvar was set. Now it will it will turn
off only when the textvar is set and validation returns 0. Added
%V (type of validation occuring) to %-subs to help work with
trickier validation.
|
|
|
|
|
| |
destroying the widget
* tests/entry.test: added test suite for entry validation
|
| |
|
|
|
|
|
| |
* library/clrpick.tcl: Added code to make color chooser dialog
inherit screen setting from parent (bug #2334)
|
|
|
|
|
| |
that the window could be destroyed (can occur with
wm deiconify .toplevel; destroy .toplevel).
|
|
|
|
|
|
| |
submitted patch was more complicated than necessary and did not
extend to writing GIF's, only reading), to allow reading/writing
of GIF files on EBCDIC and other non-ASCII based systems.
|
|
|
|
| |
* unix/Makefile.in: Added rpm target to generate Tk binary RPM.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
classes in unsupported1
|
|
|
|
| |
some extra include info for the Mac
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
handler as the goto label is reached from above and below.
* unix/configure.in:
* unix/aclocal.m4: cleaned up macros to coincide with tcl.m4,
added -export-dynamic to LDFLAGS for FreeBSD-3+ [Bug: 2998]
* unix/README:
* unix/Makefile.in (dist): removed porting.notes and porting.old
from distribution and CVS. The information was very outdated. Now
refer to http://dev.scriptics.com/services/support/platforms.html
|
|
|
|
| |
classes in unsupported1
|
|
|
|
| |
allow unix tests to run (testmetrics is mac/pc only)
|
|
|
|
|
| |
* library/text.tcl: added support for <4> and <5> for mousewheel
style scrolling on Unix for mice that map to these buttons.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkIntXlibDecls.h:
* generic/tkInt.decls: declared some Xlib emulation calls for
the Mac
* generic/tkFrame.c (TkInstallFrameMenu): added extra panic to
inform user of bad call when framePtr is NULL [Bug: 2530]
* generic/tkMenu.c (DestroyMenuInstance): Placed checks around
menu name objects before trying to incr the ref. [Bug: 3402]
* generic/tkTest.c: removed USE_OLD_IMAGE def for Mac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkIntXlibDecls.h:
* generic/tkInt.decls: declared some Xlib emulation calls for
the Mac
* generic/tkFrame.c (TkInstallFrameMenu): added extra panic to
inform user of bad call when framePtr is NULL [Bug: 2530]
* generic/tkMenu.c (DestroyMenuInstance): Placed checks around
menu name objects before trying to incr the ref. [Bug: 3402]
* generic/tkTest.c: removed USE_OLD_IMAGE def for Mac
* library/listbox.tcl:
* library/text.tcl: added support for <4> and <5> for mousewheel
style scrolling on Unix for mice that map to these buttons.
* tests/scrollbar.test: fixed check of testmetrics command to
allow unix tests to run (testmetrics is mac/pc only)
* unix/tkUnixWm.c (Tk_CoordsToWindow): qualified delete of error
handler as the goto label is reached from above and below.
* unix/configure.in:
* unix/aclocal.m4: cleaned up macros to coincide with tcl.m4,
added -export-dynamic to LDFLAGS for FreeBSD-3+ [Bug: 2998]
* unix/README:
* unix/Makefile.in (dist): removed porting.notes and porting.old
from distribution and CVS. The information was very outdated. Now
refer to http://dev.scriptics.com/services/support/platforms.html
* xlib/xgc.c: #def'd out XDrawSegments for the Mac, and added
some extra include info for the Mac
|
| |
|
|
|
|
| |
list. This doesn't really buy us much, and crashes the newest Appearance manager.
|
| |
|
| |
|
|
|
|
| |
MacTk. This allows me not to conditionalize their use in the real code.
|
| |
|
|
|
|
| |
prefix file for tkImgPPM.c, so we can define USE_OLD_IMAGE.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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/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]
|
|
|
|
|
|
|
|
|
| |
characters [Bug: 2406]
* README:
* unix/configure.in:
* win/configure.in:
* generic/tk.h (TK_RELEASE_SERIAL): Moved to 8.3.0 patchlevel
|
|
|
|
|
|
|
| |
* README:
* unix/configure.in:
* win/configure.in:
* generic/tk.h (TK_RELEASE_SERIAL): Moved to 8.3.0 patchlevel
|
|
|
|
| |
exists because it won't in safe interpreters
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|