summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
* Applied companion patch for Tcl Patch 585105,dgp2002-08-057-39/+42
| | | | | | | | | | | | | | | | | | | | | | | updating Tk to use Tcl 8.4's fully CONST-ified interface, and fully CONSTifying Tk at the same time. This patch includes purging Tk of its last direct access to interp->result. [Bug 589853] The substantial changes include copying event sequence strings into Tcl_DStrings in tkBind.c, and copying [text] indices into Tcl_DStrings because parsing them involved overwriting them. If this causes performance trouble, that can be resolved by further converting them to Tcl_Obj's. The #defines USE_NON_CONST and USE_COMPAT_CONST have the same effect for Tk as they do for Tcl. (They actually change tcl.h) FossilOrigin-Name: 5603f01aa35a127f83db9bb68f3b1ff9e5bb64de
* different method of silencing compiler warning.dgp2002-08-021-3/+3
| | | FossilOrigin-Name: cdf795b7aa20494bfa87eda6aefc190e59429be1
* silenced compiler warningdgp2002-08-021-2/+3
| | | FossilOrigin-Name: ea64d4e8738ddd96aaf8ee9a81b7584a6934de4a
* Resynch with Tcldkf2002-07-312-40/+53
| | | FossilOrigin-Name: e37a92a207320a0a004ac7145219024536bee79a
* * unix/configure: Regen.mdejong2002-07-293-205/+264
| | | | | | | | | * unix/configure.in: Remove code that was setting CC_SEARCH_FLAGS and LD_SEARCH_FLAGS to try to account for cc vs ld linking. Tcl now handles this. * unix/tcl.m4: Update from Tcl. FossilOrigin-Name: 90aa51585fabef4ad39b42f9b6c17203a3341ed6
* * unix/Makefile.in: Add MAJOR_VERSION, MINOR_VERSION,mdejong2002-07-285-318/+383
| | | | | | | | | | | | | | | | | | | | | PATCH_LEVEL, INSTALL_LIBRARY, STUB_LIB_FILE, and LIB_FILE to support changes in tcl.m4 related to library builds. Use MAKE_LIB macro to avoid dealing with RANLIB issues. Rename TK_CC_SEARCH_FLAGS to CC_SEARCH_FLAGS and rename TK_LD_SEARCH_FLAGS to LD_SEARCH_FLAGS. Use new INSTALL_LIB and INSTALL_STUB_LIB substs to deal with ranlib issues when install libraries. * unix/configure: Regen. * unix/configure.in: Remove AC_PROG_RANLIB since this is done by tcl.m4 now. Define CC_SEARCH_FLAGS instead of TK_CC_SEARCH_FLAGS and so on. Use MAKE_LIB and MAKE_STUB_LIB from tcl.m4. Remove AC_SUBST calls that are no done in tcl.m4. * unix/tcl.m4: Update from Tcl. * unix/tkConfig.sh.in: Subst CC_SEARCH_FLAGS and LD_SEARCH_FLAGS. FossilOrigin-Name: dc30e10656e22fdb5bf07e6f4e63247ed9034af5
* Objectifed wm. [Patch #564521]pspjuth2002-07-251-1149/+2112
| | | FossilOrigin-Name: 92401d20cc4325169eeb6ae277fea3cd22014fb3
* * unix/README: Corrected notes about running user interactive Tkhobbs2002-07-241-5/+7
| | | | | | tests. [Bug #462320] FossilOrigin-Name: 192d0b4741bd3738f0438f5b709adf89d4628f29
* * unix/configure: Regen.mdejong2002-07-232-116/+144
| | | | | | * unix/tcl.m4: Update from Tcl. FossilOrigin-Name: 739f9716eb46c9577478fb5fea96811018a5b718
* * unix/configure: Regen.mdejong2002-07-232-17/+16
| | | | | | * unix/tcl.m4: Update from Tcl. FossilOrigin-Name: 0090380c62dd33b1bdd06dfa238bbc415bffc177
* * unix/configure:mdejong2002-07-192-207/+209
| | | | | | | | | | | * unix/configure.in: * win/configure: * win/configure.in: Add AC_PREREQ(2.13) in an attempt to make it more clear that the configure scripts must be generated with autoconf version 2.13. [Tcl Bug 583573] FossilOrigin-Name: b62109fb8699d7886b0263350b4f1c1e75ca0887
* * unix/tkUnixSend.c: Using Tcl_GetTime instead of TclpGetTime.rmax2002-07-181-3/+3
| | | FossilOrigin-Name: e83e4b856ba2c1be6bc3af4e6c8c11b132942505
* * unix/Makefile.in:mdejong2002-07-161-2/+4
| | | | | | | * win/Makefile.in: Add a more descriptive warning in the event `make genstubs` needs to be rerun. FossilOrigin-Name: 20db6a8739e021f7d1bf16d5e4f3a3913b3491ad
* * Bumped HEAD to version 8.4b2 in order to distinguish it fromdgp2002-07-143-8/+8
| | | | | | | the 8.4b1 release. Also extended LOCALES to cover all message catalogs. FossilOrigin-Name: 1248e4a3566e430ae5e41ab1d3d0549e3e3f8c6d
* * Completed conversion of Tk test suite to use tcltest.dgp2002-07-141-3/+3
| | | FossilOrigin-Name: c483179b915e863450b867189ddfab962971936a
* * Converted several files in the Tk test suite for testing bydgp2002-07-121-3/+3
| | | | | | tcltest 2.1. FossilOrigin-Name: 3892bfbf58651928daf7fae82d0d6453eb050f88
* Added missing win/lamp.bmp to the dist target.davygrvy2002-07-081-1/+2
| | | FossilOrigin-Name: eb5e2eb2230a9c562495706ba70ba9e957e416dc
* Updated to latest tcl.m4 from Tcl.dgp2002-07-012-169/+229
| | | FossilOrigin-Name: 24ac0b9daca7eeb0323b32695c9a9f1e0a2f1534
* * (Tk_DrawChars) silence compiler warning.dgp2002-06-261-2/+3
| | | FossilOrigin-Name: 8713088a4c190d4e5600df0b07aaa526d829383c
* * Expanded install-binaries target to create and install adgp2002-06-261-2/+21
| | | | | | pkgIndex.tcl file to enable Tk as a loadable package [Patch 521356] FossilOrigin-Name: 0f8555e74536c23ab3bca8f45f8493836b352119
* * unix/tcl.m4: New macro SC_CONFIG_MANPAGES.rmax2002-06-256-762/+1273
| | | | | | | | | | | | | * unix/configure.in: Added support for symlinks and compression * unix/Makefile.in: when installing the manpages. [Patch 518052] Default is still hardlinks and no compression. * unix/mkLinks: generated * unix/configure: * unix/README: Added documentation for the new features. FossilOrigin-Name: 4786c9feb60b65c23e37b740c809ec9e3bd1e6b1
* * unix/configure: Replaced ${exec_prefix}/librmax2002-06-252-3/+3
| | | | | | * unix/tcl.m4 (SC_PATH_TCLCONFIG): by ${libdir}. FossilOrigin-Name: ab620e42200e3cd7e299e3ad109c7092316cb462
* * tests/wm.test: Remove invalid minsize test. Add updatemdejong2002-06-241-4/+4
| | | | | | | | | | | | calls to wm transient tests so that idle handlers get run. This is needed to get the tests to pass under Win32. * unix/tkUnixWm.c (WmWaitMapProc): Move the special transient withdrawn check into the if body to make it easier to set a breakpoint on this test inside a debugger. No functional changes. * win/tkWinWm.c (WmWaitVisibilityOrMapProc): Ditto. FossilOrigin-Name: 033a5a14b699169c2ef9e9277c3b97bbfac41cd4
* * doc/wm.n: TIP #95 Windows implementation andhobbs2002-06-221-3/+11
| | | | | | | | | | * mac/tkMacWm.c (Tk_WmCmd): docs with mac and unix stubs. * unix/tkUnixWm.c (Tk_WmCmd): * win/tkWinWm.c (Tk_WmCmd): * tests/unixWm.test: * tests/winWm.test: more wm attr tests will be needed. FossilOrigin-Name: 724d114ee255fa02f6c998701cf372f58a936ac0
* * tests/wm.test: Add tests to make sure a withdrawnmdejong2002-06-221-2/+19
| | | | | | | | | | | | | transient does not get remapped by state changes in the master. * unix/tkUnixWm.c (Tk_WmCmd, WmWaitMapProc): * win/tkWinWm.c (Tk_WmCmd, WmWaitVisibilityOrMapProc): Add a WM_TRANSIENT_WITHDRAWN flag that gets set by the withdraw, deiconify, or state wm subcommands. Check this flag before mapping a transient when processing a MapNotify event. [Tk bug 570764] FossilOrigin-Name: 18c2fcbb3135b4363ddb86da2a2e33b37dbbe0e5
* Regen.dkf2002-06-221-1/+1
| | | FossilOrigin-Name: 0b436a8e2d182bc6d0d7dc4115e7c009be0a5269
* Tk patchlevel bumped to 8.4b1 in preparation for release.dkf2002-06-222-5/+5
| | | FossilOrigin-Name: 2ea857432978c8b180b88c78554a0b3df4588987
* * doc/text.n: TIP #104 implementation which generalizes thehobbs2002-06-212-5/+9
| | | | | | | | | | | | | | | | | * generic/tkText.c: undo/redo stack to not be tied solely to the * generic/tkText.h: text widget. The APIs are still private. * generic/tkUndo.c: This also adds a stack limiting ability and * generic/tkUndo.h: a -maxundo option to the text widget (in * library/text.tcl: addition to the options from TIP #26) should * mac/tkMacDefault.h: users want to limit the undo/redo stack * tests/text.test: (should not be necessary in most cases). * unix/Makefile.in: [Patch #554763] (callewart) * unix/tkUnixDefault.h: * win/Makefile.in: * win/makefile.vc: * win/tkWinDefault.h: FossilOrigin-Name: 6a28d5bdfd4bd0d8ab71bc4b8aeb118626124b0a