summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* changed macro argument names to match function argument namesjenglish2003-10-141-4/+4
| | | | ('dest' and 'src' were swapped, which was confusing) [GPS]
* * unix/mkLinks:hobbs2003-10-131-0/+2
| | | | * doc/GetHWND.3: add Tk_AttachHWND docs [Bug #220803]
* * mac/tkMacButton.c (TkpDisplayButton):hobbs2003-10-101-4/+4
| | | | | | * macosx/tkMacOSXButton.c (TkpDisplayButton): * unix/tkUnixButton.c (TkpDisplayButton): correct imageYOffset for buttons with just images.
* * doc/ConfigWidg.3: Removed reference to Tk_Offset from thedgp2003-10-061-4/+0
| | | | | NAME section to resolve mkLinks conflict with SetOptions.3 [Bug 404197] * unix/mkLinks: make mklinks
* *unix/configure.in: Reconfigured to use $TCL_PREFIX as thedgp2003-10-062-192/+207
| | | | | | | | default value of --prefix, and also added warning when a TK_PREFIX value different from TCL_PREFIX is selected, since [package require Tk] fails in that configuration. [Bugs 428627,765642] * unix/configure: autoconf (2.57)
* * unix/tcl.m4 (SC_PATH_TCLCONFIG): Corrected search path sodgp2003-10-062-26/+99
| | | | | | that alpha and beta releases of Tcl are not favored. [Bug 608698] * unix/configure: autoconf (2.57)
* * unix/configure.in: Added check that version of Tcl header founddgp2003-10-062-1/+17
| | | | | | | | by configure matches that of the Tk we wish to build. As long as the Tk sources insist on lockstep releases, Tk's configuration should verify that's what we have. [Bug 749088] * unix/configure: autoconf (2.57)
* Update from Tcldkf2003-09-291-1/+1
|
* * unix/configure:das2003-09-253-3/+16
| | | | | | * unix/configure.in: * unix/tkConfig.sh.in: added TK_INCLUDE_SPEC to allow extensions to find installed Tk headers, parallel to TCL_INCLUDE_SPEC. [Bug 777203]
* Make test suite pass without crashes from TIP#109 changes...dkf2003-08-142-10/+21
|
* TIP#109 implementation - checkbuttons and radiobuttons now look better.dkf2003-08-143-140/+351
|
* * unix/tkUnixFont.c (Tk_DrawChars): do not make XGetGeometry callhobbs2003-07-191-3/+12
| | | | | | that prevents overwidth lines as it requires a roundtrip call to the X server for every string drawn. Hard-code max width to 32768 until a beter solution to get max width is made.
* * unix/tkUnixEvent.c (TkpCloseDisplay): Don'tmdejong2003-07-021-10/+40
| | | | | | | | | test for XCloseIM bug when the XFree86 version is newer than 4.0 since the layout of the XIM structure has changed. The check is not needed for newer XFree86 releases since the bug we are checking for was fixed in the 4.2.99.2 release. [Bug 755530]
* Fix for [Bug#751553] "Xft: [font configure] does not update in-use fonts".jenglish2003-06-091-29/+87
| | | | | Fixed TkpGetSubFonts() to return information about all subfonts, not just the first one.
* configure.in: BUGFIX: --enable-xft test was broken.jenglish2003-06-022-3/+3
|
* * unix/tkUnixRFont.c (InitFont): Fill in TkFontAttributes fromjenglish2003-05-311-19/+25
| | | | | pattern returned from GetFont (actual font) instead of the query pattern (requested font).
* Experimental support for antialiased text under X11 [Patch#535541]jenglish2003-05-314-17/+124
|
* Changes from Keith Packard's version:jenglish2003-05-311-15/+48
| | | | | | | | | | | | | | + Added copyright notice + Fix infinite loop in Tk_MeasureChars when TK_WHOLE_WORDS is specified + Fix for crash in TkpGetNativeFont when XftXlfdParse() fails + TkpGetFontFromAttributes: use XftPatternCreate() and XftPatternAddString(... XFT_FAMILY ...) instead of XftPatternBuild() to initialise pattern; fixes crash when faPtr->family == NULL + Workaround for Tcl bug where malformed UTF-8 text can get passed to Tk_MeasureChars / Tk_DrawChars. + TkpGetFontFromAttributes: don't request 0-pixel fonts + TkpGetNativeFont: don't use FcNameParse, since that tends to always succeed, causing the usual Tk font parsing to be skipped.
* SOURCE: Imported from cvs.fontconfig.org, tk/unix/tkUnixRFont.c rev 1.4jenglish2003-05-311-0/+556
|
* * unix/mkLinks: Set the var S to "" at the topmdejong2003-05-231-0/+2
| | | | | | of the file to avoid error when user has set S to something. [Tk Bug #739833]
* * unix/tkUnixFont.c: use gb2312-raw as the alias for gb2312*hobbs2003-05-151-2/+2
| | | | | | charset fonts. gb2312.enc was made to be euc-cn for Tcl because that is what is most often meant, but X really wants the original (-raw) gb2312 encoding. [Bug 557030]
* * generic/tkButton.h: Rewrote the handlinghobbs2003-04-261-26/+37
| | | | | | | | | | * generic/tkButton.c (TkButtonWorldChanged): of compound *buttons * mac/tkMacButton.c (TkpDisplayButton): to correctly display * macosx/tkMacOSXButton.c (TkpDisplayButton): mixture of disabledfg, * unix/tkUnixButton.c (TkpDisplayButton): selectcolor, indicator, * win/tkWinButton.c (TkpDisplayButton): etc. *buttons will now only stipple the image, unless no disabledfg is given, in which case it will stipple the whole button.
* * unix/tkUnixButton.c (TkpDisplayButton): Use the normalTextGc whenhobbs2003-04-251-4/+8
| | | | | | * win/tkWinButton.c (TkpDisplayButton): displaying disabled text that have images, as they get a gray50 stipple as well and the disabledGc is not set up correctly for font drawing. [Bug #477740]
* * unix/Makefile.in: Subst TCL_LIBS instead ofmdejong2003-04-045-1333/+73
| | | | | | | | | | | | | | | | | | | | DL_LIBS and MATH_LIBS. * unix/configure: Regen. * unix/configure.in: Remove SC_ENABLE_THREADS invocation. Thread support in an extension should be automatic when Tcl is compiled with thread support. Add AC_DEFINE calls to set TCL_THREADS, _REENTRANT, and _THREAD_SAFE since this was done in SC_ENABLE_THREADS. Remove socket and math lib checks since these are already done in the Tcl configure script. * unix/tcl.m4: Update from Tcl to get TCL_LIBS fix. This fixes bug 597847 which was caused by improper linking. * unix/tkConfig.sh.in: Subst TCL_LIBS instead of MATH_LIBS and DL_LIBS. [Bug 597847]
* * unix/configure: Regen.mdejong2003-04-022-7/+71
| | | | * unix/tcl.m4: Update from Tcl.
* * unix/configure: Regen.mdejong2003-03-282-4/+4
| | | | * unix/tcl.m4: Update from Tcl.
* * unix/configure: Regen.mdejong2003-03-272-0/+25
| | | | * unix/tcl.m4: Update from Tcl to get BeOS changes.
* Require autoconf 2.57 or newer, see TIP 34mdejong2003-03-133-2711/+6585
| | | | | | | | | | | | | for a detailed explanation of why this is good. This will no doubt break the build on some platforms, let the flaming begin. * unix/configure: Regen with autoconf 2.57. * unix/configure.in: Require autoconf 2.57. * unix/tcl.m4: Update from Tcl. * win/configure: Regen with autoconf 2.57. * win/configure.in: Require autoconf 2.57. * win/tcl.m4: Update from Tcl.
* * doc/wm.n (minimize, maximize): Remove claimmdejong2003-03-121-24/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that the resizable command keeps scripts from changing the size of windows since it is not true. The resizable command only applies to user sizing via user interaction. * tests/unixWm.test: Replace broken tests with the nonPortable constraint with new tests for maxsize and minsize options. These tests verify that setting the minsize and maxsize will resize the window if needed, and that the wm hints will be updated with the new sizes. * tests/wm.test: Add an exhaustive set of tests for the wm maxsize and wm minsize commands. These tests verify that setting the minsize and maxsize will resize the window if needed. These tests have only been run under Win98 and Window Maker under Linux, so further tweaking may be needed for other systems. * unix/tkUnixWm.c (UpdateGeometryInfo, UpdateSizeHints): Fixup comments and initialization for the minWidth, minHeight, maxWidth, maxHeight, width, and height members of the WmInfo struct. Check to ensure that a new toplevel window size is not larger than the maxsize or smaller than the minsize when updating the geometry at idle time. Pass new width and height values to the UpdateSizeHints method so that it can properly set the window min and max sizes for a window that cannot be resized by the user. This fixes a bug where the window resizes back to the original size when the user clicks on the window border. * win/tkWinWm.c (UpdateGeometryInfo): Fixup comments and initialization for the minWidth, minHeight, maxWidth, maxHeight, width, and height members of the WmInfo struct. Check to ensure that a new toplevel window size is not larger than the maxsize or smaller than the minsize when updating the geometry at idle time. [Patch 568861]
* * README: Bumped version number ofdgp2003-03-044-13/+13
| | | | | | | | | | | | | | | | | * generic/tk.h: Tk to 8.5a0. * library/tk.tcl: * mac/README: * macosx/Wish.pbproj/project.pbxproj: * unix/README: * unix/configure.in: * unix/tk.spec: * win/README: * win/configure.in: * win/makefile.vc: * win/tcl.m4: * unix/configure: autoconf * win/configure:
* replace version refs with version-agnostic wordinghobbs2003-02-271-5/+6
|
* * unix/tkUnixFont.c (CreateClosestFont, CanUseFallback): use thehobbs2003-02-251-4/+4
| | | | first best font match in user font path. [Bug #647497] (dal zotto)
* * unix/tkUnixButton.c (TkpDisplayButton): Correct visual displayhobbs2003-02-251-13/+33
| | | | | of disabled check/radiobutton to be more distinctive on unix. * tests/unixButton.test: [Bug #669595] (hintermayer)
* * library/console.tcl: (aqua & macintosh) added missing <Cmd-q>das2003-02-212-2/+2
| | | | | | | | | | binding for corresponding Quit menu item shortcut. * macosx/README: updated instructions for embedded build, added various improvements by Russell Owen. * unix/tcl.m4: update from Tcl. * unix/configure: regen.
* Removed potentially fatal FMR in Unix font handling. No test because anydkf2003-02-201-22/+48
| | | | test would be very platform- and build-specific. [Bugs #618872 and #689357]
* * unix/configure: Regen.andreas_kupries2003-02-192-124/+131
| | | | * unix/tcl.m4: Update from Tcl (HP xnet [Bug #651811]).
* * unix/configure: Regen.mdejong2003-02-192-168/+174
| | | | * unix/tcl.m4: Update from Tcl.
* * README: Bumped to 8.4.2.hobbs2003-02-153-127/+132
| | | | | | | | | | | * generic/tk.h: * macosx/Wish.pbproj/project.pbxproj: * unix/configure: * unix/configure.in: * unix/tcl.m4: * unix/tk.spec: * win/configure: * win/configure.in:
* correct HP-UX ia64 --enable-64bit build flagshobbs2003-02-151-2/+7
|
* unix/tkUnixEvent.c (OpenIM): Remove unused variablejenglish2003-01-101-3/+2
| | | | (Fixes: #664780 "SGI warning: OpenIM")
* WaitForEvent(): process Map and Unmap eventsjenglish2002-12-271-9/+13
| | | | | | | as well as Configure events during WaitFor{Configure|Map}Notify. Fixes [Bug 578569] (WaitForMapNotify could process Map and Unmap events out of order, making Tk think a window was unmapped when it really wasn't).
* * tests/wm.test: Add wm-transient-6.3 tomdejong2002-12-011-17/+9
| | | | | | | | | | | check that a transient remains withdrawn when it is first withdrawn and then turned into a transient. * unix/tkUnixWm.c: * win/tkWinWm.c: Replace WM_TRANSIENT_WITHDRAWN with WM_WITHDRAWN and set this flag whenever a window is explicitly withdrawn. This fixes the test case added above. [Bug 644356]
* * unix/Makefile.in: add macosx/*.tcl (buildTkConfig.tcl inhobbs2002-11-191-3/+3
| | | | particular) to the dist target.
* * unix/Makefile.in: added macosx/README to dist target.das2002-11-071-1/+2
|
* * unix/configure: Regen.mdejong2002-11-062-133/+157
| | | | | | | * unix/tcl.m4: Update from Tcl. * win/configure: Regen. * win/configure.in: Check that AR, RANLIB, and RC are found on the path when building with gcc.
* * tests/text.test: properly return the number ofhobbs2002-10-171-4/+5
| | | | * unix/tkUnixFont.c (ControlUtfProc): bytes consumed. [Bug #624732]
* * unix/configure:hobbs2002-10-162-184/+167
| | | | | * unix/tcl.m4: add AIX-5 ppc build support. Remove unused SC_ENABLE_MEMDEBUG.
* * unix/README: doc'ed --enable-symbols options.hobbs2002-10-104-110/+146
| | | | | | | * unix/Makefile.in: comment docs * unix/configure: regen * unix/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent SC_ENABLE_SYMBOLS that takes yes|no|mem|all as options now.
* Finally dealt with 614650 and with a simpler solution too.dkf2002-10-011-86/+7
|
* Incremental transfers of UTF8_STRING selections should now work; Tk will nowdkf2002-09-301-41/+120
| | | | | | tag them with the right size and only transfer complete UTF8 characters. Previously, things only worked when the transfer could only happen in one go, and even then not always. [Bug 614650, reported by Reinhard Max]