summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* * win/tkWinDialog.c: Added checks for visibility of parent windowericm2000-04-181-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | before creating MessageBox and ChooseColor dialogs; this prevents the application from locking when the parent is withdrawn and the message box is created. In these cases, the window will be created without a parent. * unix/mkLinks: Added WinViewable.3. * tests/msgbox.test: Added tests for patch from [Bug: 4997]. * library/msgbox.tcl: * library/dialog.tcl: Applied patch from [Bug: 4997]; detaches dialog window from parent if parent is not viewable. * library/bgerror.tcl: Removed workaround from [Bug: 4370]; this is superceeded by patches to dialog.tcl. * generic/tkCmds.c: Changed WinfoObjCmd to use Tk_IsViewable function to determine visibility of windows instead of inlining the code. * generic/tkStubInit.c: * generic/tkDecls.h: * generic/tk.decls: Added Tk_IsViewable declaration.
* * unix/tkUnixScale.c:hobbs2000-04-142-194/+83
| | | | | | | | | | * mac/tkMacScale.c: moved (PixelToValue|ValueToPixel|SetScaleValue) to tkScale.c. Caused an associated variable to be immediately set [Bug: 4833] * unix/aclocal.m4 (SC_ENABLE_THREADS): enhanced the detection of pthread_mutex_init [Bug: 4359] and (SC_CONFIG_CFLAGS) added --enable-64bit-vis switch for Sparc VIS compilation [Bug: 4995]
* * win/tkWinKey.c: Added smarts to check whether the left or rightericm2000-04-141-2/+2
| | | | | | | | Control, Shift, or Alt key was pressed. [Bug: 870]. * win/tkWin3d.c: * unix/tkUnix3d.c: Tweaked threshhold for using different highlight computation.
* * win/tkWin3d.c:ericm2000-04-131-24/+64
| | | | | | | | * unix/tkUnix3d.c: Applied patch from [RFE: 2501]: adds more sophisticated smarts to TkpGetShadows, so that the highlight of a very bright color is actually distinguishable from the color, and the shadow of a very dark color is similarly distinguishable from the color.
* * 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]
* * unix/Makefile.in (MAN_INSTALL_DIR): patch to accept --mandirhobbs2000-04-041-2/+2
| | | | correctly [Bug: 4085]
* * unix/configure.in: Applied patch from [Bug: 4237]; ensures thatericm2000-03-302-4/+12
| | | | | | | | srcdir is fully qualified. * unix/Makefile.in: Applied patch from [Bug: 4237]; if tcltest was not compiled, make test/tktest failed. Now it has a rule to build tcltest if it has not been built.
* * unix/tkUnixWm.c: Applied patch from [Bug: 4405]; fixes memoryericm2000-03-271-1/+13
| | | | leak in Unix wm command.
* * unix/Makefile.in (SCRIPT_INSTALL_DIR): removed extraneous '/'hobbs2000-03-022-3/+3
| | | | * unix/aclocal.m4: corrected TCL_NEEDS_EXP_FILE to be 1 for AIX
* * unix/tk.spec: RPM specification for producing a binary Tk RPM for Linux.ericm2000-02-142-1/+67
| | | | * unix/Makefile.in: Added rpm target to generate Tk binary RPM.
* * unix/tkUnixWm.c (Tk_CoordsToWindow): qualified delete of errorhobbs2000-02-107-466/+78
| | | | | | | | | | | | | 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
* * generic/tk.decls:hobbs2000-02-091-1/+265
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-081-2/+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]
* * 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
* * unix/tkUnixScale.c (TkpDestroyScale): changed ckfree tohobbs2000-02-051-6/+7
| | | | | Tcl_EventuallyFree to behave with Tcl_Preserve in TkpDisplayScale (prevents possible segfault).
* * unix/aclocal.m4: added *BSD ELF recognition forhobbs2000-02-011-1/+11
| | | | SHARED_LIB_SUFFIX determination (from Tcl's tcl.m4)
* * doc/getOpenFile.n:ericm2000-01-271-0/+4
| | | | | | | | | | | * 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).
* *** empty log message ***hobbs2000-01-211-0/+8
|
* made install less verbosehobbs2000-01-161-22/+23
|
* * changes: updated changes file to reflect 8.3b2 modshobbs2000-01-141-2/+2
| | | | | | | * README: * generic/tk.h: * unix/configure.in: * win/configure.in: updated to patchlevel 8.3b2
* * unix/aclocal.m4: strtod bug on Tru64 [Bug: 3378]hobbs2000-01-124-33/+132
| | | | | | | | | | | | | | | | | * unix/Makefile.in: added tests to prevent unnecessary chmod +x in source dirs while installing [Bug: 3367] * unix/configure.in: properly sub'ed in TK_SHARED_BUILD [Bug: 3385] * tests/winWm.test: * 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.
* * unix/Makefile.in: added unix/aclocal.m4 to distribution [Bug: 3938]hobbs2000-01-062-2/+4
| | | | * unix/aclocal.m4: changed NetBSD SHLIB_CFLAGS from -fpic to -fPIC
* * unix/tkUnixScale.c: fixed potential segv from patch in 3897hobbs1999-12-221-2/+3
|
* * unix/configure.in:hobbs1999-12-215-14/+19
| | | | | | | | | | | | | | | | | | | * README: updated for patch level 8.3b1 * unix/tkUnixWm.c: fixed panic in Tk_CoordsToWindow to print error and continue instead (for Tix) [Bug: 716 et al] * unix/tkUnixMenu.c: * unix/tkUnixFont.c: * generic/tkImgPPM.c: removed extranneous vars that were set but never used. * unix/aclocal.m4: removed -O flag for AIX when using the IBM compiler (several versions have a bug that crops up in the text widget). [Bug: 2316] * unix/Makefile.in: removed extra slash in SCRIPT_INSTALL_DIR [Bug: 3896]
* * unix/tkUnixKey.c:hobbs1999-12-161-4/+4
| | | | | | | | | * generic/tkCmds.c: * generic/tkEvent.c: * generic/tkWindow.c: * generic/tkInt.h: add 'tk useinputmethods ?-display win? ?bool?' call to provide support for disabling/enabling the use of XIM on X. This was previously all done at compile time, and always on.
* * unix/mkLinks: added GetDash.3 into the mkLink stephobbs1999-12-141-0/+4
|
* "make install" now has a dependency on "make all"wart1999-12-131-2/+2
|
* * unix/aclocal.m4: added warning when configuring withhobbs1999-12-121-0/+1
| | | | --enable-threads that Tk may have problems
* * generic/tkMain.c :redman1999-12-021-2/+25
| | | | | | | * 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.
* * 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.
* Added $(TCLTESTARGS) to the test target so that users can set additionalwart1999-11-121-2/+2
| | | | | | test harness arguments on the make command line: % make test TCLTESTARGS="-verbose pbs"
* * unix/Makefile.in: added ChangeLog to dist archivehobbs1999-10-201-3/+3
|
* 1999-09-24 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-10-014-17/+17
| | | | | | | | | | | | | * */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-12/+15
| | | | | | | | | | | | | | | | | | | | | | | * 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]
* * win/tkWinDraw.c:hobbs1999-09-022-12/+11
| | | | | | | * 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
* "make doc" now copies the Tcl file "man.macros" locally. This should allowwart1999-08-211-2/+6
| | | | | | users to use the man pages from inside the Tk source tree (without having to install). It also fixes some problems that TclX was having when building its help pages.
* Change version numbers to 8.2.0redman1999-08-101-2/+2
|
* New Function: TkpDrawHighlightBorder. Use this in place of ↵jingham1999-08-101-1/+34
| | | | 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.
* Added line to make mkLinks executable before it's used.wart1999-08-041-1/+2
|
* Fix configure scripts for beta version number (b2 instead of b1).redman1999-08-041-2/+2
|
* Fix one more install-sh bugredman1999-07-271-2/+2
|
* Fix install-sh problem, wrong directory.redman1999-07-231-2/+2
|
* * Changed version to 8.2b2redman1999-07-221-2/+4
| | | | | | | | | | | * 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]
* * unix/Makefile.in: Add Windows configure script to distribution.redman1999-07-221-1/+2
|
* * unix/Makefile.in:redman1999-07-162-15/+5
| | | | | | | * 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.
* Add .m4 files and Windows configure.in and Makefile.inscriptics_tclpro_1_3_b3core_8_2_b1redman1999-07-131-1/+6
|
* configure now adds the "g" suffix to the stub library if buildwart1999-07-081-16/+7
| | | | with --enable-symbols
* Fix Tk stub file names and flagsredman1999-07-081-2/+4
|
* Add prolog.psredman1999-06-301-2/+3
|
* Changed to Tk 8.2b1welch1999-06-252-11/+10
|