summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* Merged changes from feature branch dgp-privates-into-namespace,dgp2001-08-012-11/+23
| | | | | implementing TIP 44. All Tk commands and variables matching tk[A-Z]* are now in the ::tk namespace.
* * unix/Makefile.in: Add AR and STLIB_LD variables.mdejong2001-07-114-129/+173
| | | | | | | | | * unix/configure: * unix/configure.in: Use STLIB_LD when defining MAKE_LIB and MAKE_STUB_LIB. Subst STLIB_LD, RANLIB, and AR. * unix/tcl.m4: Update from Tcl. * win/configure: Regen. * win/tcl.m4: Update from Tcl.
* updated README with purlshobbs2001-07-051-5/+5
|
* * unix/tkUnixScale.c (TkpDisplayScale): corrected FMR when scalehobbs2001-07-031-2/+2
| | | | was deleted while calling its command.
* * library/console.tcl:hobbs2001-07-031-3/+41
| | | | | | | | | | | | | | | | | | | | | * library/entry.tcl: * library/spinbox.tcl: * library/text.tcl: * library/tk.tcl: added private ::tk::GetSelection command to handle requesting selection. This is to support requesting UTF8_STRING before generic STRING on Unix. Changed Text, Spinbox, Entry and Console to use this command. * tests/select.test: * generic/tkSelect.c (Tk_CreateSelHandler, Tk_DeleteSelHandler): on Unix, a UTF8_STRING handler will be created when the user requests a STRING handler (in addition to the STRING handler). This provides implicit support for the new UTF8_STRING selection target. * unix/tkUnixSelect.c (TkSelEventProc, ConvertSelection): Added support for UTF8_STRING target. [RFE #418653, Patch #433283] * generic/tkInt.h: added utf8Atom to TkDisplay structure.
* * unix/Makefile.in:mdejong2001-06-271-1/+13
| | | | | | * win/Makefile.in: Add `make shell` target. This target will set the proper env vars before invoking wish from the build directory.
* * unix/configure: Regen.mdejong2001-06-262-4/+4
| | | | | | | * unix/configure.in: Fix last checkin by removing export since that only works in bash. * win/configure: Regen. * win/configure.in: Ditto.
* * unix/configure: Regen.mdejong2001-06-262-171/+191
| | | | | | | | * unix/configure.in: Set CFLAGS to "" if the user did not set CFLAGS in the env. This keeps AC_PROG_CC from adding "-g -O2" to the CFLAGS by default. * win/configure: Regen. * win/configure.in: Ditto.
* * unix/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@.mdejong2001-06-224-114/+127
| | | | | | | | | | | | | | | | | | Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@. Add LDFLAGS_DEBUG and LDFLAGS_OPTIMIZE to match the way CFLAGS_DEFAULT works. Use new LDFLAGS variable in the Makefile instead of @LDFLAGS@. * unix/configure: Regen. * unix/configure.in: Don't set CFLAGS to CFLAGS_DEFAULT, instead subst CFLAGS_DEFAULT into the Makefile. Add AC_SUBST for CFLAGS_DEBUG, CFLAGS_OPTIMIZE, LDFLAGS_DEFAULT, LDFLAGS_DEBUG, and LDFLAGS_OPTIMIZE. Remove unused LD_FLAGS subst. * unix/tcl.m4: Update from Tcl. * win/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@. Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@. * win/configure: Regen. * win/configure.in: Don't set CFLAGS or LDFLAGS, instead subst CFLAGS_DEFAULT and LDFLAGS_DEFAULT into the Makefile. * win/tcl.m4: Update from Tcl.
* * unix/tkUnixFont.c: Corrected support for iso10646 (X11 Unicode)hobbs2001-06-041-8/+214
| | | | | | | | | fonts on Unix. This adds a ucs-2be (UCS-2 Big Endian) encoding in Tk on Unix that is used for those fonts (X11 requires big-endianness). (welch) [Patch #406411; Bug #220890 #220899] This differs from the 8.3.3 patch by not adding ucs-2be in the preferred encodingList (seems works fine without). Added alias for jisx0201* fonts to jis0201 encoding. [Bug #414033]
* * unix/configure:mdejong2001-05-232-137/+142
| | | | | | * unix/tcl.m4: * win/configure: * win/tcl.m4: Sync from Tcl sources.
* unix/tcl.m4: synced up wih Tcl tcl.m4. [Bug #419812]hobbs2001-05-221-2/+8
|
* implement TIP11, -compound option for menubutton widgettmh2001-05-211-60/+201
|
* * unix/configure: Regen.mdejong2001-04-252-138/+234
| | | | | | * unix/tcl.m4: Update from Tcl. * win/configure: Regen. * win/tcl.m4: Update from Tcl.
* * unix/configure: Regen.mdejong2001-04-252-14/+12
| | | | | | * unix/configure.in: Use $@ in MAKE_LIB and MAKE_STUB_LIB commands instead of using a delayed subst variable. Replace instances of STUB_LIB_FILE with TK_STUB_LIB_FILE.
* * unix/Makefile.in: Use TCL_STUB_LIB_FILE instead of STUB_LIB_FILE.mdejong2001-04-253-9/+4
| | | | | | * unix/configure: Regen. * unix/configure.in: Don't subst STUB_LIB_FILE, use TCL_STUB_LIB_FILE instead.
* * generic/tk.h:hobbs2001-04-023-6/+6
| | | | | | | | * unix/configure.in (TK_PATCH_LEVEL): * unix/configure: * unix/tk.spec: * win/configure.in (TK_PATCH_LEVEL): * win/configure: updated patchlevel to 8.4a3
* * unix/configure:hobbs2001-03-292-116/+138
| | | | | * unix/tcl.m4: corrected IRIX-5.x config to not use -n32. (english) [Patch 403626]
* Overall change: Implemented TIP 5, which exportsericm2000-11-224-16/+18
| | | | | | | | | TkClassProcs/TkSetClassProcs as Tk_ClassProcs/Tk_SetClassProcs, adding a size field to Tk_ClassProcs to allow for future expansion, and renaming the geometryProc to worldChangedProc, which is more in keeping with the actual use of the callback. See ChangeLog for details.
* updated for latest doc fixeshobbs2000-11-031-2/+2
|
* * unix/configure:hobbs2000-11-031-0/+4546
| | | | | | | * win/configure: checked in configure scripts so people doing CVS checkouts aren't required to have autoconf. Changes to configure.in in the future will require the corresponding configure script to also be re-autoconf'ed and checked in.
* * unix/tcl.m4: removed use of -lbsd and -ldl for AIX-5.hobbs2000-11-021-53/+36
|
* unix/tcl.m4: added support for AIX-5.hobbs2000-10-311-1/+27
|
* * win/Makefile.in: commented use of TESTFLAGShobbs2000-09-291-3/+8
| | | | | * unix/Makefile.in: added TESTFLAGS to test and testlang targets to conform with Windows makefile and TEA style.
* * README:hobbs2000-09-062-5/+5
| | | | | | | * generic/tk.h: * unix/configure.in: * unix/tk.spec: * win/configure.in: updated to patchlevel 8.4a2
* * win/makefile.vc (install-libraries):ericm2000-09-021-2/+3
| | | | | | | | | * win/Makefile.in (install-libraries): * unix/Makefile.in (install-libraries): Added tkPlatDecls.h to list of header files to install. * generic/tk.h: Added #include "tkPlatDecls.h", which declares the platform specific component of the public Tk stubs API's.
* remove --enable-gcc configure optionmo2000-08-253-38/+9
|
* * unix/tkUnixButton.c (TkpDisplayButton): Added bits to changeericm2000-07-291-8/+17
| | | | | | the indicator color when radio-/check-buttons are disabled. This reduces the visual incongruity when a group of these controls are disabled together.
* * mac/tkMacDefault.h:ericm2000-07-281-1/+3
| | | | | | | | | | | | | | | | | * unix/tkUnixDefault.h: Added default values for listbox disabledforeground and state. * win/tkWinDefault.h: Changed default listbox background color to white and listbox selection borderwidth to 0, in keeping with the "Microsoft Windows User Experience"; added default values for listbox disabledforeground and listbox state. * doc/listbox.n: Added documentation for -state option. * generic/tkListbox.c: Added support for -state to listbox. [RFE: 6052]. * tests/listbox.test: Tests for listbox disabled state.
* * unix/tkUnixDraw.c (TkScrollWindow): Replaced a use of a trinaryericm2000-07-201-2/+6
| | | | | operator with an if/else, to avoid build problems on some platforms [Bug: 5819].
* * unix/aclocal.m4: Use tcl.m4.mo2000-07-191-0/+1753
| | | | | | | | * unix/configure.in: Properly quote LOCALES variable. Properly quote argument to m4 macro. * unix/tcl.m4: Add updated file from tcl. * win/tcl.m4: Updated file from tcl.
* * unix/aclocal.m4: Use tcl.m4.mo2000-07-192-1768/+4
| | | | | | | | * unix/configure.in: Properly quote LOCALES variable. Properly quote argument to m4 macro. * unix/tcl.m4: Add updated file from tcl. * win/tcl.m4: Updated file from tcl.
* * unix/configure.in (MAKE_LIB): Corrected definition of MAKE_LIBericm2000-07-181-2/+2
| | | | for shared builds, with patch from Mike Hopkirk.
* * library/msgs/de.msg: German message catalog.ericm2000-06-302-3/+29
| | | | | | | | | | | | | | | | | | | | * library/msgs/en.msg: English message catalog. * library/msgs/es.msg: Spanish message catalog. * library/msgs/fr.msg: French message catalog. * unix/Makefile.in: * unix/configure.in: * library/tk.tcl: * library/clrpick.tcl: * library/choosedir.tcl: * library/console.tcl: * library/msgbox.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl: * library/bgerror.tcl: Applied patches from Laurent Duperval to provide localization of Tk dialogs. [RFE: 2671].
* * doc/CrtCmHdlr.3: new doc for ClientMessage handler procshobbs2000-06-031-0/+6
|
* * mac/tkMacDefault.h (DEF_ENTRY_READONLY_BG_COLOR,ericm2000-05-171-1/+3
| | | | | | | | | | | | | | | | | DEF_ENTRY_READONLY_BG_COLOR): * win/tkWinDefault.h (DEF_ENTRY_READONLY_BG_COLOR, DEF_ENTRY_READONLY_BG_COLOR): * unix/tkUnixDefault.h (DEF_ENTRY_READONLY_BG_COLOR, DEF_ENTRY_READONLY_BG_COLOR): Added default values for entry -readonlybackground option. * generic/tkEntry.c: Added -readonlybackground option, cleaned up excessive use of graphics contexts. * tests/entry.test: Added configuration test for -readonlybackground option. * doc/entry.n: Added documentation for -readonlybackground option.
* * doc/SetOptions.3: Added information about TK_OPTION_NULL_OK withericm2000-05-172-16/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TK_OPTION_RELIEF. * win/tkWinButton.c: Removed bits about TK_RELIEF_LINK. * tests/button.test: Added tests for -overrelief; removed tests for -relief link. * mac/tkMacButton.c: Removed bits about TK_RELIEF_LINK. * generic/tkOldConfig.c: Removed bits about TK_RELIEF_LINK. * generic/tkConfig.c: Removed bits about TK_RELIEF_LINK; added support for TK_OPTION_NULL_OK for TK_OPTION_RELIEF. * library/button.tcl: Added binding support for -overrelief. * generic/tk3d.c (Tk_GetRelief): Added branch for TK_RELIEF_NULL. * generic/tkButton.c: Added -overrelief option; removed Enter/Leave EventProc masks and handlers. * generic/tk.h: Added TK_RELIEF_NULL definition, removed TK_RELIEF_LINK. * mac/tkMacDefault.h (DEF_BUTTON_OVER_RELIEF): * win/tkWinDefault.h (DEF_BUTTON_OVER_RELIEF): * unix/tkUnixDefault.h (DEF_BUTTON_OVER_RELIEF): Added default value for the -overrelief option.
* * library/entry.tcl: Adjusted Button-1 binding to set focus to theericm2000-05-141-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | entry when it is readonly or normal. * doc/entry.n: Added documentation for readonly state, -disabledforeground, -disabledbackground. * tests/entry.test: Added tests for readonly state. * generic/tkEntry.c: Added support for "readonly" state, and redefined "disabled" state. A disabled entry will display its text in a dimmed color and possibly with a different background, and will be completely unusable (no selection, no editing). A readonly entry will look like a normal entry, but it will not be editable; selection is still allowed. [RFE: 4239]. To support the new disabled state properly, "-disabledforeground" and "-disabledbackground" options were added. *** THIS IS A BACKWARDS INCOMPATIBLE BEHAVIOR CHANGE *** * win/tkWinDefault.h: * mac/tkMacDefault.h: * unix/tkUnixDefault.h: Added DEF_ENTRY_DISABLED_FG, DEF_ENTRY_DISABLED_BG_COLOR, DEF_ENTRY_DISABLED_BG_MONO.
* * unix/tkUnixButton.c (TkpDisplayButton, TkpComputeButtonGeometry):ericm2000-05-132-64/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | | * mac/tkMacButton.c (TkpDisplayButton, TkpComputeButtonGeometry): * win/tkWinButton.c (TkpDisplayButton, TkpComputeButtonGeometry): Added code for drawing compound buttons. * tests/button.test: Added configuration tests for -repeatdelay, -repeatinterval, -compound. * library/button.tcl: Added support for -repeatedelay, -repeatinterval options. * generic/tkOldConfig.c: Changed handling of link relief so that proper error messages are used. * generic/tkButton.h: Added -compound, -repeatdelay, -repeatinterval options. * generic/tkButton.c: Added event watchers for enter/leave events, for link relief support. * generic/tk3d.c: Changed handling of link relief so that proper error messages are used. * generic/tk.h: Changed values of TK_OPTION_LINK_OK/TK_CONFIG_LINK_OK for link relief support.
* * doc/button.n: Added documentation for link relief.ericm2000-05-101-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/button.test: Added tests for link relief for buttons. * generic/tk.h (TK_CONFIG_LINK_OK): Added definition of TK_RELIEF_LINK, TK_OPTION_LINK_OK and TK_CONFIG_LINK_OK. [RFE: 4348] * generic/tk3d.c: Added support for link relief. [RFE: 4348] * mac/tkMacButton.c (TkpDisplayButton): * unix/tkUnixButton.c (TkpDisplayButton): Added support for link relief. [RFE: 4348] * generic/tkOldConfig.c (Tk_ConfigureWidget): * generic/tkConfig.c (DoObjConfig): Added understanding of link relief, which is allowed only for widgets that have TK_OPTION_LINK_OK or TK_CONFIG_LINK_OK set for the "-relief" option. [RFE: 4348] * generic/tkButton.c: Added TK_OPTION_LINK_OK to "-relief" option for buttons. [RFE: 4348] * win/tkWinWm.c (EX_TRANSIENT_STYLE): Removed WS_EX_TOOLWINDOW style bit, so that transient windows have full-size titlebars (like the tk_getOpenFile dialog). * win/tkWinMenu.c (GetMenuSeparatorGeometry): Tweaked height requested for separator bars to be (linespace - (2*descent)) instead of just (linespace); this makes the separator occupy a more correct amount of vertical space. [Bug: 5303].
* * README:hobbs2000-05-033-14/+14
| | | | | | | | | | | | | * generic/tk.h: * library/tk.tcl: * mac/README: * unix/README: * unix/configure.in: * unix/tk.spec: * win/README: * win/aclocal.m4: * win/configure.in: * win/makefile.vc: updated patchlevel to 8.4a1
* * unix/Makefile.in: added tk.spec to dist targethobbs2000-05-031-2/+2
|
* * doc/Tk_Init.3: Added Tk_SafeInit information [Bug: 1884].ericm2000-04-281-0/+4
| | | | * doc/keysyms.n: Man page enumerating keysyms [RFE: 1645].
* Regen'd with new mkLinks.tclericm2000-04-261-680/+357
|
* * README:core_8_3_1hobbs2000-04-262-5/+5
| | | | | | | * mac/README: * unix/README: * unix/tk.spec: * win/README: Updating URLs to reference dev.scriptics.com
* * unix/Makefile.in:hobbs2000-04-251-87/+91
| | | | * win/Makefile.in: makefile cleanup
* * generic/tkMain.c: Fixed function header comment for Tk_MainEx.ericm2000-04-251-0/+4
| | | | | | * unix/mkLinks: * doc/GetScroll.3: Added information about Tk_GetScrollInfoObj [Bug: 1866].
* * unix/mkLinks:ericm2000-04-251-0/+8
| | | | * doc/Grab.3: Man page for Tk_Grab and Tk_Ungrab [Bug: 1868, 1889]
* * unix/mkLinks:ericm2000-04-251-0/+4
| | | | * doc/MainWin.3: Added entry for Tk_GetNumMainWindows [Bug: 1865].
* * unix/mkLinks:ericm2000-04-251-0/+4
| | | | * doc/GetHINSTANCE.3: Man page for Tk_GetHINSTANCE [Bug: 1862].