summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
...
* * README: Bumped patchlevel to 8.4.4 in preparationdgp2003-07-153-6/+6
| | | | | | | | | | | | | * generic/tk.h: for the Tk 8.4.4 release. * macosx/Wish.pbproj/project.pbxproj: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure: FossilOrigin-Name: 8af3bd8d8360de00b5cd5dd9e75835c7600a8153
* * unix/Makefile.in: do not run autoconf during 'make dist' as thehobbs2003-05-201-4/+2
| | | | | | configure is now a CVS-maintained file and should be up-to-date. FossilOrigin-Name: 55a4d627a71ee4b0cc6fa4d87c77c8706f18980b
* Bumped version to 8.4.3hobbs2003-05-153-6/+6
| | | FossilOrigin-Name: 73092b4effa1f8f9b8af839cedd2c2c68376c2d0
* * 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] FossilOrigin-Name: b53243d3b8738bde651a9535f693aa0cbad78dc8
* remove outdated commentshobbs2003-04-261-5/+1
| | | FossilOrigin-Name: 3e8d01ffdc84509288d3db712e38c1ffdec34d9d
* * generic/tkButton.h: Rewrote the handlinghobbs2003-04-261-22/+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. FossilOrigin-Name: 6e8bda65b8ba2dd0a752ecffcd03955feadd3093
* * 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] FossilOrigin-Name: 069316b2e3ce03439a944683226db04795d4b188
* replace version refs with version-agnostic wordinghobbs2003-02-271-5/+6
| | | FossilOrigin-Name: 5cb2be978ec62827ebaf4fb311c81bf424a3c369
* * unix/tkUnixFont.c (CreateClosestFont, CanUseFallback): use thehobbs2003-02-251-4/+4
| | | | | | first best font match in user font path. [Bug #647497] (dal zotto) FossilOrigin-Name: 0c01a07f4fda26c6959400596b030de160de4451
* * 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) FossilOrigin-Name: 3d026b4c6d983865a0d5694dbd76688e53b78997
* * 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. FossilOrigin-Name: 258a3fd4bad32c093d19bd8cc6e538ee4ac25e98
* 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] FossilOrigin-Name: a9b64ff1d4d172478038990c9f1aebaeadbb1d73
* * unix/configure: Regen.andreas_kupries2003-02-192-124/+131
| | | | | | * unix/tcl.m4: Update from Tcl (HP xnet [Bug #651811]). FossilOrigin-Name: 140673d7f23752162c8c87fbc82c9c2381404832
* * unix/configure: Regen.mdejong2003-02-192-168/+174
| | | | | | * unix/tcl.m4: Update from Tcl. FossilOrigin-Name: 1afdae285a8e44e01d939d17f7797e777db71a75
* * 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: FossilOrigin-Name: 4404a5cbd0f4594cee308d8d93a647263f054a94
* correct HP-UX ia64 --enable-64bit build flagshobbs2003-02-151-2/+7
| | | FossilOrigin-Name: 5d0d3a94db904aee9e1065c882fe57e4355d1e54
* unix/tkUnixEvent.c (OpenIM): Remove unused variablejenglish2003-01-101-3/+2
| | | | | | (Fixes: #664780 "SGI warning: OpenIM") FossilOrigin-Name: 0a0c9fffbc5d5688a9fb5d6e7556ef55eef2d3e2
* 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). FossilOrigin-Name: 2effd3475ec648210ce266d0882d758d6d808243
* * 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] FossilOrigin-Name: 35f7ae4fdc9831ebce4991bb57ad16ee1347afd6
* * unix/Makefile.in: add macosx/*.tcl (buildTkConfig.tcl inhobbs2002-11-191-3/+3
| | | | | | particular) to the dist target. FossilOrigin-Name: 8bd4b1384e150beb6802fd9b7cce88c25f7419d6
* * unix/Makefile.in: added macosx/README to dist target.das2002-11-071-1/+2
| | | FossilOrigin-Name: 44e063d0bbb4a895f15ceac79085d87591333c01
* * 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. FossilOrigin-Name: 37ce221ad3dfa2b9fca25348b9e849cbc605de2f
* * tests/text.test: properly return the number ofhobbs2002-10-171-4/+5
| | | | | | * unix/tkUnixFont.c (ControlUtfProc): bytes consumed. [Bug #624732] FossilOrigin-Name: e02410d5466c5e624c8e4373a694e372ef8e57d4
* * unix/configure:hobbs2002-10-162-184/+167
| | | | | | | * unix/tcl.m4: add AIX-5 ppc build support. Remove unused SC_ENABLE_MEMDEBUG. FossilOrigin-Name: 358e85b4956e4b9d7a8e2dbc23e98cf07cbc9285
* * 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. FossilOrigin-Name: f1a68625005ce4aae8a2571fa158927b64fe1022
* Finally dealt with 614650 and with a simpler solution too.dkf2002-10-011-86/+7
| | | FossilOrigin-Name: 4f349c2e568bed62e7bf4d0a527b161f1d2e557e
* 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] FossilOrigin-Name: bdabe5ef3614ee37392cac781fe4e52b7facfc3c
* * README: Bumped to version 8.4.1 to avoid confusiondgp2002-09-274-9/+9
| | | | | | | | | | | | | * generic/tk.h: of CVS snapshots with release 8.4.0. * unix/README: * unix/configure.in: * unix/tk.spec * win/configure.in: * unix/configure: autoconf * win/configure: FossilOrigin-Name: 646705f847239b26ec35d10e1205511271f1c8a7
* * unix/configure: regen.hobbs2002-09-272-131/+147
| | | | | | * unix/tcl.m4: improve AIX-4/5 64bit compilation support. FossilOrigin-Name: bede30d4100644fcb70e8ac1f477070bb3f9db69
* * unix/Makefile.in: add macosx subdir to dist target.hobbs2002-09-271-13/+14
| | | | | | Do not generate .Z, only .gz and .zip in alldist target. FossilOrigin-Name: 4b84a1eb36fbdaaa1985afef0a4159e2b30ebdb9
* * macosx/Makefile: preserve environment value of INSTALL_ROOT.das2002-09-262-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | When embedding only use deployment build. Force relink before embedded build to ensure new linker flags are picked up. * macosx/buildTkConfig.tcl (new): * macosx/Wish.pbproj/project.pbxproj: synthesize tkConfig.sh based on tclConfig.sh in Tcl.framework and tkConfig.sh.in. Add symbolic links to debug lib, stub libs and tkConfig.sh in framework toplevel. Made tkIntXlibDecls.h a public header since Headers/X11/Xlib.h includes it. Install wish8.4 script that runs "Wish Shell.app" and corresponding wish link. Use tcl headers from built Tcl.framework instead of from tcl source directory. * macosx/tkMacOSXPort.h: added missing standard unix includes and defines, similarly to tkUnixPort.h. * macosx/tkMacOSXNotify.c: removed dependency on internal tcl header "tclPort.h" * unix/Makefile.in: * unix/install-sh: copied support for 'install-strip' target over from tcl/unix/{Makefile.in,install-sh} FossilOrigin-Name: 405953cfce4dca4fe79e1db1b496e642b0d2644c
* Regen from Tcldkf2002-09-242-162/+174
| | | FossilOrigin-Name: d0b8c1fa03d52247161b11930edd0055edd33f01
* Regen from Tcldkf2002-09-242-145/+150
| | | FossilOrigin-Name: 444e47c0558d6e90f4c18976b2929050b8de7fde
* * unix/configure: Regen.mdejong2002-09-153-114/+140
| | | | | | | | | | | * unix/tcl.m4: Update from Tcl. * unix/tkUnixEvent.c (TkpCloseDisplay): Use PEEK_XCLOSEIM to examine the input context queue before invoking XCloseIM. Generate an assert if there is an input context that has not been freed. [Patch 570902] FossilOrigin-Name: 5b90814a1e529149663547788910e11a4e45da0a
* * unix/Makefile.in: added DYLIB_INSTALL_DIR variable for Darwindas2002-09-103-110/+117
| | | | | | | | | | | | | | | and set it to default value ${LIB_RUNTIME_DIR} * unix/tcl.m4 (Darwin): use DYLIB_INSTALL_DIR instead of LIB_RUNTIME_DIR in the -install_name argument to ld. * unix/configure: regen. * macosx/Wish.pbproj/project.pbxproj: * macosx/Makefile: added support for building Tcl as an embedded framework, i.e. using an dyld install_name containing @executable_path/../Frameworks via the new DYLIB_INSTALL_DIR unix/Makefile variable. FossilOrigin-Name: 419f67e76a6a210f8d79e5844fc9211bd1e00d16
* make sure to substitute LD_LIBRARY_PATH_VARhobbs2002-09-022-122/+142
| | | FossilOrigin-Name: debadbbc25e094a184a2095a2bdba20e3890d4af
* add support for 64-bit builds on HP-11 with gcchobbs2002-09-021-2/+17
| | | FossilOrigin-Name: 2b462bcabe855f51f5d7258bd32223cac642062a
* * tests/wm.test:hobbs2002-09-021-155/+18
| | | | | | | * unix/tkUnixWm.c: remove possible 2-second delay in 'raise'. [Patch #601518] (english) TIP #107 FossilOrigin-Name: 1d77e81a202a0a43c9f2463d6bccacb8640c53a5
* Bumped version number to 8.4.0hobbs2002-09-023-6/+6
| | | FossilOrigin-Name: 912aaecc43ffea8ab2570af2e2258aba3e7b2402
* * unix/tcl.m4: update from Tcldas2002-08-313-142/+261
| | | | | | | | | * unix/Makefile.in: import of TK_SHLIB_LD_EXTRAS for Tk library specific linker settings. Added use of new LD_LIBRARY_PATH_VAR. * unix/configure: regen FossilOrigin-Name: 17a60be43f656e3723b5eef11bd5db8dac84256c
* *** macosx-8-4-branch merged into the mainline [tcl patch #602770] ***macosx-8-4-merge-2002-08-31-trunkdas2002-08-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tk.decls: * generic/tkInt.decls: added new "aqua" specific entries to the stubs tables. Changed all "unix" entries to "x11" to allow us to distinguish and build both "aqua" on MacOSX and "x11" on MacOSX. * generic/tk.h: added a #ifnded RESOURCE_INCLUDED so that tk.h can be passed to the resource compiler. * generic/tkCmds.c (Tk_TkObjCmd): added [tk windowingsystem] subcommand: returns "x11" when running on X11, "win32" on Windows, "classic" on MacOS9 and "aqua" on MacOSX Aqua (i.e. Carbon) * generic/tkFont.c (TkFontGetFirstTextLayout): new private function returning the first chunk of a Tk_TextLayout, i.e. until the first font change on the first line (or the whole first line if there is no such font change). * generic/tkMain.c: made Tcl_ThreadDataKey static * library/demos/puzzle.tcl: fixed button metrics for aqua * tests/cursor.test: check for presence of arrow cursor instead of heart cursor * xlib/xcolors.c: changed xColors static initialization to more standard C * macosx/Wish.pbproj/jingham.pbxuser (new): * macosx/Wish.pbproj/project.pbxproj (new): project for Apple's ProjectBuilder IDE. * macosx/Makefile (new): simple makefile for building the project from the command line via the ProjectBuilder tool 'pbxbuild'. * macosx/tkMacOSXAppInit.c (new): macosx specific AppInit looking for a AppMain.tcl file in its bundled Resources/Scripts folder. If present, argv[1] is set to that file and the Scripts folder is added to the auto_path. This allows tk apps to embed scripts within their bundle directory structure. * macosx/tkMacOSXInit.c (new): macosx adapted version of tkUnixInit.c: we initialize & cache the Carbon native encoding (e.g. 'macRoman') and try to find the tk script library files inside Tk packaged as a framework. * macosx/tkMacOSXNotify.c (new): new macosx specific merged Carbon/select-based notifier. * macosx/tkMacOSXEvent.c (new): * macosx/tkMacOSXEvent.h (new): * macosx/tkMacOSXKeyEvent.c (new): * macosx/tkMacOSXMouseEvent.c (new): * macosx/tkMacOSXWindowEvent.c (new): new macosx specific event handling functionality. * macosx/tkMacOSX.h (new): * macosx/tkMacOSXBitmap.c (new): * macosx/tkMacOSXButton.c (new): * macosx/tkMacOSXClipboard.c (new): * macosx/tkMacOSXColor.c (new): * macosx/tkMacOSXConfig.c (new): * macosx/tkMacOSXCursor.c (new): * macosx/tkMacOSXDefault.h (new): * macosx/tkMacOSXDialog.c (new): * macosx/tkMacOSXDraw.c (new): * macosx/tkMacOSXEmbed.c (new): * macosx/tkMacOSXFont.c (new): * macosx/tkMacOSXHLEvents.c (new): * macosx/tkMacOSXInt.h (new): * macosx/tkMacOSXKeyboard.c (new): * macosx/tkMacOSXMenu.c (new): * macosx/tkMacOSXMenubutton.c (new): * macosx/tkMacOSXMenus.c (new): * macosx/tkMacOSXPort.h (new): * macosx/tkMacOSXRegion.c (new): * macosx/tkMacOSXScale.c (new): * macosx/tkMacOSXScrlbr.c (new): * macosx/tkMacOSXSubwindows.c (new): * macosx/tkMacOSXTest.c (new): * macosx/tkMacOSXUtil.c (new): * macosx/tkMacOSXUtil.h (new): * macosx/tkMacOSXWm.c (new): * macosx/tkMacOSXWm.h (new): * macosx/tkMacOSXXStubs.c (new): macosx ports of classic mac Tk implementation in tk/mac. * macosx/tkMacOSXSend.c (new): only send to local interp implemented currently. * macosx/tkMacOSXDebug.h (new): * macosx/tkMacOSXDebug.c (new): new macosx specific functions for debugging MacOS events, regions, etc. * macosx/tkAboutDlg.r (new): * macosx/tkMacOSXApplication.r (new): * macosx/tkMacOSXCursors.r (new): * macosx/tkMacOSXLibrary.r (new): * macosx/tkMacOSXMenu.r (new): * macosx/tkMacOSXResource.r (new): * macosx/tkMacOSXXCursors.r (new): * macosx/tclets.r (new): sources for Rez resource compiler. * macosx/Wish.icns (new): Wish application icon. * generic/tk.h: * generic/default.h: * generic/tkBind.c: * generic/tkCmds.c: * generic/tkGrab.c: * generic/tkPointer.c: * generic/tkPort.h: * generic/tkSelect.c: * generic/tkStubLib.c: * generic/tkTest.c: * generic/tkText.c: * generic/tkWindow.c: * unix/tkUnix3d.c: * xlib/xgc.c: * xlib/X11/X.h: * xlib/X11/Xlib.h: * xlib/X11/Xutil.h: added #includes and #ifdefs for macosx * library/bgerror.tcl: * library/button.tcl: * library/console.tcl: * library/dialog.tcl: * library/entry.tcl: * library/listbox.tcl: * library/menu.tcl: * library/msgbox.tcl: * library/scrlbar.tcl: * library/spinbox.tcl: * library/text.tcl: * library/tk.tcl: * library/demos/menu.tcl: * library/demos/menubu.tcl: * library/demos/widget: check [tk windowingsystem] instead of and/or in addition to $tcl_platform(platform). * generic/tkInt.h: * mac/tkMacBitmap.c: * mac/tkMacWm.c: added missing CONSTification * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h: * generic/tkStubInit.c: regen FossilOrigin-Name: 6b4c1410c56a191e66a5d9fdeed5b10c8b44eaa0
* Fix for bug #582457: make radio and checkbuttons work like Windows whenmacosx-8-4-premerge-2002-08-31-trunkmacosx-8-4-merge-2002-08-30-trunkdrh2002-08-281-4/+31
| | | | | | -relief is sunken, -offrelief is flat, and -overrelief is raised. FossilOrigin-Name: 9abdf011ca88bab450f8f209eef2613da8ec603f
* * README: Bumped version number to 8.4b3 to distinguishmacosx-8-4-merge-2002-08-20-trunkdgp2002-08-203-6/+6
| | | | | | | | | | | | | | | | * generic/tk.h: HEAD from the 8.4b2 release. * unix/configure.in: * win/configure.in: * unix/tk.spec: * unix/configure: autoconf * win/configure: * generic/tk.h: Added compile-time check that the tcl.h header file #included by Tk 8.4 is one from Tcl 8.4. This is needed to be sure that new #defines like CONST84 are available. [Bug 597432]. FossilOrigin-Name: da31378977193262b10329ee2205aded0442aae3
* make mklinksdgp2002-08-201-2/+0
| | | FossilOrigin-Name: 40b6870eae11179e50af3a94da165cfaafb2a93b
* * unix/Makefile.in (install-binaries): simplified pkgIndex.tclhobbs2002-08-161-8/+8
| | | | | | | | file created on installation. * win/Makefile.in (install-binaries): corrected and simplified creation of pkgIndex.tcl file on installation. FossilOrigin-Name: 98f260cd40848b13eb25af0c752e5bbee4e06609
* * unix/tkUnixSend.c (Tk_SetAppName): Fixed a compiler warning.rmax2002-08-131-5/+3
| | | FossilOrigin-Name: 40a616af449e1757b6f3800a5d2971470fe1a6c7
* * unix/tkUnixWm.c (WmTransientCmd): Apply fix formdejong2002-08-081-4/+4
| | | | | | | wm transient assertion error that was applied to tkWinWm.c for Tk Bug #592201. FossilOrigin-Name: c489a1d0dbfd11d7c4df469a04313711bcc96a6c
* * tests/wm.test: Add deleteWindows at start ofmdejong2002-08-081-4/+18
| | | | | | | | | new transient tests so they do not fail if the toplevels already exist. * unix/tkUnixWm.c: Revert patch for Tk Bug #592201 which incorrectly removed numTransients member. FossilOrigin-Name: 8bf516653dec88df045f4ede9bd20a29f36a2772
* Fix for Tk Bug #592201 "wm transient fails with two masters".jenglish2002-08-081-18/+4
| | | FossilOrigin-Name: 4e600e965166da9366159ab1c056fa4f581c2dc9
* * unix/Makefile.in: Fixed typos in DISTNAME, and ZIPNAME.rmax2002-08-081-3/+3
| | | FossilOrigin-Name: da67b924a6371f4e540876b64fadc2f17db62b4a