summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* * unix/tcl.m4: autoconf 2.5 fixes in Darwin section.das2004-06-182-6/+20
| | | | * unix/configure: autoconf-2.57
* Fix for #742882 "Potential division by zero in gridded wm geometry"jenglish2004-06-161-5/+15
|
* Silence compiler warningsdgp2004-06-081-5/+3
|
* * unix/tkUnixButton.c (TkpDrawCheckIndicator): allow radiobuttonshobbs2004-05-041-5/+10
| | | | | to be drawn when disabledforeground and/or selectcolor are NULL. [Bug #826850] (griffin)
* * win/tkWinMenu.c, unix/tkUnixMenu.c (DrawMenuEntryLabel): placehobbs2004-05-031-1/+14
| | | | | images of compound menu entries in indicator space if not a radio of checkbutton. [Bug #756952] (eserte)
* * generic/tkClipboard.c: Move TkClipCleanup from tkClipboard.chobbs2004-05-031-1/+37
| | | | | | | | * macosx/tkMacOSXXStubs.c: to being implemented in a platform * unix/tkUnixEvent.c: specific manner. The cleanup order was * win/tkWinX.c: bad at least on Windows, where we reset/cleared display info that was still needed for the clipboard to render. [Bug #939389, #822002, #732662]
* * generic/tkPort.h:das2004-04-241-3/+7
| | | | | | | | * unix/Makefile.in: * win/Makefile.in: followup on tcl header reform [FR 922727]: removed use of relative #include paths in tkPort.h to allow installation of private headers outside of tk source tree; added tcl plaform source dir to compiler header search path.
* Fix for bug #915350 "Tk sets min, max size in WM_HINTS when it shouldn't"jenglish2004-04-041-2/+9
| | | | and #922336 "Tk apps have no maximize window button under KDE-3.2.1"
* * unix/tcl.m4: Replaced -Wno-strict-alias with more portabledgp2004-03-262-2/+2
| | | | | -fno-strict-alias alternative. * unix/configure: autoconf-2.57
* * README: Bump version to 8.5a2.dgp2004-03-263-6/+6
| | | | | | | | | | | * generic/tk.h: * macosx/Wish.pbproj/project.pbxproj: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.57 * win/configure:
* Removed support for Mac OS Classic platform [Patch 918139]das2004-03-175-33/+9
|
* * unix/tkUnixButton.c (TkpDrawCheckIndicator): correct crashhobbs2004-03-161-3/+7
| | | | | condition for new radio/checkbuttons when colors are exhausted. [Bug 915330] (griffin)
* * unix/configure, unix/tcl.m4: add -Wno-strict-aliasing for GCC tohobbs2004-03-162-2/+2
| | | | suppress useless type puning warnings.
* fix cast warningshobbs2004-03-161-3/+4
|
* * unix/Makefile.in (dist): don't require win/lamp.bmp copy in disthobbs2004-03-041-2/+1
| | | | target (it's already handled by win/rc/*.bmp copy)
* update patchlevel to 8.5a1hobbs2004-03-023-7/+13
|
* update HP-11 build libs setuphobbs2004-03-021-1/+7
|
* * unix/tcl.m4 (SC_CONFIG_CFLAGS): Allow 64-bit enabling ondgp2004-03-012-16/+17
| | | | | IRIX64-6.5* systems. [Bug 218561] * unix/configure: autoconf-2.57
* Whitespace policedgp2004-02-181-28/+29
|
* * doc/checkbutton.n: TIP#110 implementationhobbs2004-02-182-12/+24
| | | | | | | | | | | | | | | * doc/radiobutton.n: Tristate Checkbutton and Radiobuttons * generic/tkButton.c: * generic/tkButton.h: * library/demos/check.tcl: * library/demos/radio.tcl: * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDefault.h: * tests/button.test: * unix/tkUnixButton.c: * unix/tkUnixDefault.h: * win/tkWinButton.c: * win/tkWinDefault.h:
* Replaced TclpGetTime() with Tcl_GetTime(), to removejenglish2004-01-312-6/+5
| | | | dependency on tclInt.h [Bug 874745].
* * generic/tk3d.c: All uses of 'panic' (the macro) changeddavygrvy2004-01-139-34/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkBind.c: to 'Tcl_Panic' (the function). The #define * generic/tkBitmap.c: of panic in tcl.h clearly states it is * generic/tkCanvArc.c: deprecated in the comments. * generic/tkCanvBmap.c: [Tcl Patch 865264] * generic/tkCanvImg.c: * generic/tkCanvLine.c: * generic/tkCanvPoly.c: * generic/tkCanvText.c: * generic/tkCanvWind.c: * generic/tkColor.c: * generic/tkConfig.c: * generic/tkCursor.c: * generic/tkError.c: * generic/tkEvent.c: * generic/tkFocus.c: * generic/tkFont.c: * generic/tkFrame.c: * generic/tkGC.c: * generic/tkGrid.c: * generic/tkImgBmap.c: * generic/tkImgPhoto.c: * generic/tkImgUtil.c: * generic/tkMenu.c: * generic/tkObj.c: * generic/tkPack.c: * generic/tkPlace.c: * generic/tkRectOval.c: * generic/tkSelect.c: * generic/tkText.c: * generic/tkTextBTree.c: * generic/tkTextDisp.c: * generic/tkTextImage.c: * generic/tkTextIndex.c: * generic/tkTextMark.c: * generic/tkTextWind.c: * generic/tkVisual.c: * generic/tkWindow.c: * mac/tkMacAppInit.c: * mac/tkMacAppearanceStubs.c: * mac/tkMacButton.c: * mac/tkMacDraw.c: * mac/tkMacEmbed.c: * mac/tkMacFont.c: * mac/tkMacInit.c: * mac/tkMacMenus.c: * mac/tkMacPort.h: * mac/tkMacSubwindows.c: * mac/tkMacWm.c: * mac/tkMacXStubs.c: * macosx/tkMacOSXEmbed.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXPort.h: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * unix/tkUnix3d.c: * unix/tkUnixColor.c: * unix/tkUnixEmbed.c: * unix/tkUnixEvent.c: * unix/tkUnixFocus.c: * unix/tkUnixFont.c: * unix/tkUnixSelect.c: * unix/tkUnixSend.c: * unix/tkUnixWm.c: * win/tkWin3d.c: * win/tkWinButton.c: * win/tkWinColor.c: * win/tkWinDialog.c: * win/tkWinDraw.c: * win/tkWinEmbed.c: * win/tkWinFont.c: * win/tkWinPixmap.c: * win/tkWinPointer.c: * win/tkWinScrlbr.c: * win/tkWinWm.c: * win/tkWinX.c:
* * generic/tkEvent.c: Added three new functions: TkCreateExitHandler,davygrvy2003-12-211-2/+2
| | | | | | | | | | | | | | | | | * generic/tkInt.h: TkDeleteExitHandler, and TkFinalize. This adds * generic/tkMenu.c: an insertion point so Tk's exit handlers can be * generic/tkWindow.c: called on their own from tk85.dll's DllMain * mac/tkMacButton.c: for DLL_PROCESS_DETACH. These are private to * unix/tkUnixEvent.c: the binary and not exported. It is possible * win/tkWin32Dll.c: the Windows OS can unload Tk _prior_ to Tcl * win/tkWinEmbed.c: under some conditions such as ExitProcess(). * win/tkWinMenu.c: This avoids a dangling pointer problem when Tcl * win/tkWinX.c: does Tcl_Finalize after Tk has been unloaded. * win/winMain.c: DllMain's DLL_PROCESS_DETACH now protected with SEH as DeleteWindowsExitProc is causing an exception of its own under some teardown conditions. AT&T assembly syntax has not been added for MinGW yet. [Tcl Patch 858493]
* * unix/configure:hobbs2003-12-092-6/+75
| | | | | * unix/tcl.m4: updated OpenBSD build configuration based on [Patch #775246] (cassoff)
* Removed stupid type error introduced when adding style to code.dkf2003-11-171-2/+3
|
* * generic/tkMenubutton.h: fixed compound menubutton handling likehobbs2003-11-171-48/+63
| | | | | | * generic/tkMenubutton.c: *button corrections of 2003-04-25. * mac/tkMacMenubutton.c (TkpDisplayMenuButton): * unix/tkUnixMenubu.c (TkpDisplayMenuButton):
* * unix/configure:hobbs2003-11-123-86/+84
| | | | | | | | * unix/configure.in: use xft-config instead of pkg-config to determine xft info. * unix/tcl.m4: improve AIX --enable-64bit handling remove -D__NO_STRING_INLINES -D__NO_MATH_INLINES from CFLAGS_OPTIMIZE on Linux. Make default opt -O2 (was -O).
* * unix/Makefile.in (SHLIB_LD_FLAGS): include in Makefile as it ishobbs2003-11-111-1/+2
| | | | used in MAKE_LIB sometimes (ie: AIX-64) [Bug #829686] (jimix)
* TIP 155 implementationvincentdarley2003-10-311-1/+2
|
* Basic style guide fixes for tkUnixRFont.cdkf2003-10-291-269/+258
|
* * unix/tkUnixFont.c (GetFontAttributes): place extra check for NULLhobbs2003-10-281-1/+8
| | | | family against bad X servers.
* Delete WM_TRANSIENT_FOR property instead of setting it to Nonejenglish2003-10-151-7/+10
| | | | when making a window nontransient [Bug #632816 "cannot remove transient"]
* 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.