summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* * unix/configure: Regen.mdejong2001-08-123-91/+72
| | | | | | * unix/configure.in: * unix/tcl.m4: Use GCC variable set by AC_PROG_CC instead of defining our own using_gcc variable.
* * unix/Makefile.in: Delete the unused getcwd.omdejong2001-08-101-4/+1
| | | | target. This fixes bug #440942.
* Bumped up patchlevel to 8.4a4 to distinguishdgp2001-08-083-6/+6
| | | | | CVS snapshots from the 8.4a3 release. This does not necessarily mean there will be an 8.4a4 release. [Bug 448938].
* updated auto-gend mkLinkscore_8_4_a3hobbs2001-08-071-0/+6
|
* * changes:hobbs2001-08-071-2/+2
| | | | | | | * README: * mac/README: * unix/README: * win/README.binary: updated for 8.4a3 release
* added GNU (HURD) configuration target. (brinkmann)hobbs2001-08-072-27/+105
|
* * unix/tclUnixPipe.c (TclpCreateTempFile): fixed use of tmpnam,hobbs2001-08-071-7/+14
| | | | | which is dangerous. [Patch: #442636] (lim) The use of tmpnam in TclpTempFileName must still be changed.
* * unix/tclUnixFCmd.c: minor casts to eliminate warnings. (lim)hobbs2001-08-021-4/+4
| | | | [Patch: #440218]
* Changes from TIP#17 "Redo Tcl's filesystem"vincentdarley2001-07-315-254/+553
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following files were impacted. * doc/Access.3: * doc/FileSystem.3: * doc/OpenFileChnl.3: * doc/file.n: * doc/glob.n: * generic/tcl.decls: * generic/tcl.h: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclDate.c: * generic/tclDecls.h: * generic/tclEncoding.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclGetDate.y: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclIOUtil.c: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclLoad.c: * generic/tclStubInit.c: * generic/tclTest.c: * generic/tclUtil.c: * library/init.tcl: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacInit.c: * mac/tclMacPort.h: * mac/tclMacResource.c: * mac/tclMacTime.c: * tests/cmdAH.test: * tests/event.test: * tests/fCmd.test: * tests/fileName.test: * tests/io.test: * tests/ioCmd.test: * tests/proc-old.test: * tests/registry.test: * tests/unixFCmd.test: * tests/winDde.test: * tests/winFCmd.test: * unix/mkLinks: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPipe.c: * win/tclWinFCmd.c: * win/tclWinFile.c: * win/tclWinInit.c: * win/tclWinPipe.c
* TIP#36 implementation. Also includes cleanup for subst optiondkf2001-07-121-0/+8
| | | | | handling and improved documentation for the subst command (in my capacity as maintainer of the Commands M-Z functional area.)
* * unix/Makefile.in: Add AR variable for use in STLIB_LD.mdejong2001-07-114-46/+86
| | | | | | | | | | | | | | * unix/configure: Regen. * unix/configure.in: Use STLIB_LD when defining MAKE_LIB and MAKE_STUB_LIB. Subst RANLIB and AR. * unix/tcl.m4 (SC_CONFIG_CFLAGS): Add doc comment about STLIB_LD command. Check ${AR} env var when setting STLIB_LD and delay evaluation until make time. * win/configure: Regen. * win/tcl.m4 (SC_CONFIG_CFLAGS): Delay evaluation of ${AR} in STLIB_LD and add flags to better match the Unix implementation. Don't bother defining AR when using VC++ since it is not used.
* updated READMEs with purlsuid381722001-07-051-5/+11
|
* * tests/unixInit.test (unixInit-2.8): Corrected test for alldgp2001-07-021-1/+13
| | | | | | | | | | | | absolute pathnames in library path when executable is installed near root directory to use correct development directory layout. [Bug 438014] * tests/unixInit.test (unixInit-2.9): * unix/tclUnixInit.c (TclpInitLibraryPath): * win/tclWinInit.c (TclpInitLibraryPath): Corrected buggy construction of search path entries relative to executable. Added test for bad construction. [Bug 438014]
* * generic/tclInt.h:hobbs2001-06-281-2/+2
| | | | | | | * generic/tclObj.c: * unix/Makefile.in: added a -DPURIFY mode that makes Tcl_Obj's allocated and free singularly (instead of in alloc in blocks and never free) to allow checkers like Purify to operate better.
* * unix/Makefile.in:mdejong2001-06-271-1/+10
| | | | | | * win/Makefile.in: Add `make shell` target. This target will set the proper env vars before invoking tclsh 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-299/+311
| | | | | | | | * 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-21/+35
| | | | | | | | | | | | | | | | | | | | Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@. Add LDFLAGS_DEBUG and LDFLAGS_OPTIMIZE to match the way CFLAGS_DEFAULT works. This will support user set CFLAGS or LDFLAGS at configure time. * 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_DEFAULT, LDFLAGS_DEFAULT, LDFLAGS_DEBUG, and LDFLAGS_OPTIMIZE. * unix/tcl.m4 (SC_ENABLE_SYMBOLS): Modify LDFLAGS_DEFAULT so that it uses a Makefile variable just like CFLAGS_DEFAULT. * win/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@. Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@. This will support user set CFLAGS or LDFLAGS at configure time. * 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 (SC_ENABLE_SYMBOLS): Modify LDFLAGS_DEFAULT so that it uses a Makefile variable just like CFLAGS_DEFAULT.
* Unix channels now have the right type associated with them [bug #219137]dkf2001-06-181-29/+58
| | | | A couple of nasty faults/assumptions in unixInit.test are fixed too.
* * generic/tclInt.decls:dgp2001-06-171-1/+7
| | | | | | | | | | | | | | | * generic/tclInt.h: * generic/tclPanic.c (Tcl_PanicVA): * mac/tclMacAppInit.c (main): * mac/tclMacPanic.c (TclpPanic): * unix/tclUnixPort.h: * win/tclWinPort.h: Replaced TclMacSetPanic with TclpPanic for setting a platform-specific panic handler. TclpPanic is NULL on Unix and Windows. Fixes broken wish on Mac due to earlier patches. [Patch 415648] * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: `make gentubs` after above changes.
* * generic/tcl.h:dgp2001-06-081-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.decls: * generic/tclPanic.c: Added CONST to Tcl_*Panic* public interfaces. [Patch 415648, TIP 27] * generic/tclInt.decls: * mac/tclMacAppInit.c (main): * mac/tclMacBOAAppInit.c (main): * mac/tclMacPanic.c: Modified special Mac implementations of Tcl_*Panic* to be exact copies of the generic implementations. Added TclMacSetPanic. The generic implementations should be used directly, rather than copies, but that requires further changes by someone familiar with the Mac build systems. [Patch 415648] * generic/tclDecls.h: * generic/tclIntPlatDecls.h: *`generic/tclStubInit.c: `make gentubs` after above changes. * doc/Panic.3: * unix/mkLinks: New file documenting Tcl_*Panic* public interfaces, followed by `make mklinks`. [Patch 415648, Bug 219170, Bug 414936]
* unix/Makefile.in (tclUtf.o): added tclUniData.c dependencyhobbs2001-05-281-2/+2
|
* * unix/tcl.m4 (SC_PATH_TCLCONFIG): Fix comments,mdejong2001-05-231-2/+2
| | | | and typo in cached variable name.
* * unix/tcl.m4 (SC_LOAD_TKCONFIG):mdejong2001-05-231-2/+2
| | | | | | Remove use of undefined TCLCONFIG variable and call AC_MSG_RESULT to print the checking result. * win/tcl.m4: Ditto.
* * unix/tcl.m4: added more common install directories in which tohobbs2001-05-231-2/+8
| | | | search for *Config.sh [Bug #419812]
* * unix/tclUnixPipe.c: updated pipeChannelType tohobbs2001-05-151-11/+15
| | | | TCL_CHANNEL_VERSION_2 type specification.
* * unix/Makefile.in: Add a LDFLAGS variable to themdejong2001-05-113-17/+22
| | | | | | | | | | | | | | Makefile instead of directly substing @LDFLAGS@. * unix/configure: Regen. * unix/tcl.m4: Fix CFLAGS_DEFAULT so that the name of a Makefile variable is passed as @CFLAGS@.win/tcl.m4 * win/Makefile.in: Move the setting of CFLAGS higher up in the Makefile. * win/configure: Regen. * win/configure.in: Use dnl to comment out macros so that they are not accidently expanded. * win/tcl.m4: Fix CFLAGS_DEFAULT so that the name of a Makefile variable is passed as @CFLAGS@.
* * unix/configure: Regen.mdejong2001-04-253-262/+268
| | | | | | | | * unix/tcl.m4: Subst TCL_THREADS into tclConfig.sh. * unix/tclConfig.sh.in: Add TCL_THREADS variable. * win/configure: Regen. * win/tcl.m4: Subst TCL_THREADS into tclConfig.sh. * win/tclConfig.sh.in: Add TCL_THREADS variable.
* * unix/configure: Regen.mdejong2001-04-252-17/+13
| | | | | | * 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 TCL_STUB_LIB_FILE.
* Woops, fix last checking of broken configure.mdejong2001-04-251-0/+6351
|
* * unix/Makefile.in: Use TCL_STUB_LIB_FILE instead of STUB_LIB_FILE.mdejong2001-04-253-6359/+3
| | | | | | * unix/configure: Regen. * unix/configure.in: Don't subst STUB_LIB_FILE, use TCL_STUB_LIB_FILE instead.
* Altered tclUnixTime.c in hopes of better K&R compatibility.Kevin B Kenny2001-04-101-3/+5
|
* Oops. Committed the wrong copy of the source with the last commit fiveKevin B Kenny2001-04-101-3/+3
| | | | minutes ago.
* Fixed silly typo in calls to 'gmtime' and 'localtime'.Kevin B Kenny2001-04-101-3/+3
|
* Bug #219140: Added DYNAMIC_PATH to the shl_load flags.Kevin B Kenny2001-04-091-2/+4
|
* Changes to support re-entrant coding of gmtime and localtime.Kevin B Kenny2001-04-093-169/+363
| | | | (Bugs #219136 and #232558)
* 2001-04-07 Andreas Kupries <andreas_kupries@users.sourceforge.net>andreas_kupries2001-04-062-1/+43
| | | | | | | | | | | * unix/Makefile.in (checkdoc): New target, checking the definitions as found in the compiled library against the manpages to find undocumented public functionality. * unix/mkLinks: Updated to include the new manpage. * doc/UniCharIsAlpha.3: New manpage documenting the Unicode character classification APIs [Bug #218720].
* 2001-04-07 Andreas Kupries <andreas_kupries@users.sourceforge.net>andreas_kupries2001-04-061-0/+10
| | | | | | | | | | | | | * unix/mkLinks: Updated to incorporate the changes below. * doc/StringObj.3: Added 'Tcl_AttemptSetObjLength' to the NAME section. [Bug #414435]. * doc/Alloc.3: Added both 'Tcl_AttemptAlloc' and 'Tcl_AttemptRealloc' to the NAME section. [Bug #414435]. * doc/Utf.3: Added both 'Tcl_UniCharCaseMatch' and 'Tcl_UniCharNcasecmp' to the NAME section. [Bug #414435].
* 2001-04-05 Andreas Kupries <andreas_kupries@users.sourceforge.net>andreas_kupries2001-04-051-10/+6
| | | | | * doc/Macintosh.3: Removed duplicates from .SH line [Bug #413983].
* 2001-04-04 Andreas Kupries <andreas_kupries@users.sourceforge.net>andreas_kupries2001-04-041-0/+24
| | | | | | | | | | * unix/mkLinks: Updated to contain the new manpage. * doc/Environment.3: New manpage, describes Tcl_PutEnv [Bug #219171]. * doc/Macintosh.3: New manpage describing the macintosh specific parts of the public API [Bug #219169].
* * unix/configure:hobbs2001-04-042-183/+369
| | | | | | | * unix/tcl.m4: extended test of termios vs. termio vs. sgtty to better detect result on Linux and when certain configure redirections are being used. (max) [Patch #402923; Bug #227412, #219194]
* give mklinks its own targethobbs2001-04-041-5/+8
|
* 2001-04-03 Andreas Kupries <andreas_kupries@users.sourceforge.net>andreas_kupries2001-04-031-0/+8
| | | | | | | | | * unix/mkLinks: Added 'Signal.3', 'Tcl_WaitPid'. * doc/DetachPids.3: Added description of 'Tcl_WaitPid' [Bug #219173]. * doc/Signal.3: New man page describing the public API procedures 'Tcl_SignalId' and 'Tcl_SignalMsg' [Bug #219172].
* * README:hobbs2001-04-021-2/+2
| | | | | | | | * mac/README: * win/README: * win/README.binary: * unix/README: updated patchlevel information to 8.4a3 and updated links and notes.
* * generic/tcl.h:hobbs2001-04-023-5/+5
| | | | | | | | | * tools/tcl.wse.in: * win/configure.in (VER): * win/configure: * unix/configure: * unix/configure.in (VER): * unix/tcl.spec: updated patchlevel information to 8.4a3
* 2001-03-30 Andreas Kupries <andreas_kupries@users.sourceforge.net>andreas_kupries2001-03-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * All of the changes below belong to TIP #10 [Tcl I/O Enhancement: Thread-Aware Channels]. See also [Patch #403358] at SF. * generic/tclIO.h (struct ChannelState, line 236f): Extended the structure with a new field of type 'Tcl_ThreadId' to hold the id of the thread currently managing all channels with this state. Note: This structure is shared by all channels in a stack of transformations. * generic/tclIO.c (Tcl_CreateChannel, lines 1058-1065): Modified to store the Id of the current thread in the 'ChannelState' of the new channel. * generic/tclIO.c (Tcl_SpliceChannel, lines 2265-2270): Modified in the same manner as 'Tcl_CreateChannel' as the channel will be managed by the current thread afterward. * generic/tclIO.c (Tcl_GetChannelThread, lines 1478-1503): * generic/tcl.decls (Tcl_GetChannelThread, lines 1504-1506): New API function to retrieve the Id of the managing thread from a channel. Implementation and declaration. * generic/tclTest.c (TestChannelCmd, lines 4520-4532): Added subcommand 'mthread' to query a channel about its managing thread.
* * unix/tclUnixPipe.c (TclpCreateTempFile): prevent potential racehobbs2001-03-291-2/+7
| | | | | condition and security leak in tmp filename creation. (max) [Patch #402924]
* * unix/configure:hobbs2001-03-292-31/+53
| | | | | * unix/tcl.m4: corrected IRIX-5.x config to not use -n32. (english) [Patch 403626]
* * unix/tclUnixThrd.c (Tcl_ConditionWait): fixed handling ofhobbs2001-03-291-2/+11
| | | | | timeout for threads (corrects excessive CPU usage issue for Tk on Unix in threaded Tcl environment). (ruppert) [Bug #411603]
* 2000-01-18 Andreas Kupries <a.kupries@westend.com>andreas_kupries2001-01-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * Everything below belongs together, it fixes bug #123153. * generic/tcl.h (line 342): A bit more explanation about the default value for TCL_PRESERVE_BINARY_COMPATABILITY. * generic/tcl.h (line 1208): Removed the macro 'Tcl_InitHashTable' as it kills binary compatibility to 8.3 and earlier versions. This is the main part of the patch/change. * generic/tcl.decls (line 1469): * generic/tclHash.c (Tcl_InitHashTable): * generic/tclHash.c (Tcl_InitHashTableEx): * generic/tclObj.c (Tcl_InitObjHashTable): Changed 'Tcl_InitHashTableEx' to 'Tcl_InitCustomHashTable'. This change is more of an estethical nature, replacing the ubiquitous 'Ex' suffix with a more meaningful name. The introduced binary incompatibility is deemed acceptable as it is between alpha versions. Updated callers. * doc/Hash.3: * unix/mkLinks: Changed 'Tcl_InitHashTableEx' to 'Tcl_InitCustomHashTable'.