summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* Tidying up.dkf2007-08-031-3/+2
|
* autoheader-2.59das2007-08-021-0/+6
|
* Regenerated configure using autoconf 2.59. Autoconf 2.61 changedandreas_kupries2007-08-011-6019/+5991
| | | | the location of the installed manpages.
* Regen with autoconf 2.61Miguel Sofer2007-07-311-5953/+6052
|
* * unix/configure.in: allow use of 'inline' in Tcl sourcesMiguel Sofer2007-07-311-1/+2
| | | | | * win/configure.in: [Patch 1754128] * win/makefile.vc:
* Whitespace/format cleanupdkf2007-07-312-64/+61
|
* * unix/tclUnixInit.c (TclpSetVariables): Use the thread-safe getpwuiddkf2007-07-311-15/+21
| | | | | replacement to fill the tcl_platform(user) field as it is not subject to spoofing.
* Simplify the #ifdef logic.dkf2007-07-311-334/+396
|
* One more bad change spotted by AKudkf2007-07-311-2/+2
|
* Fix test failures.dkf2007-07-311-2/+2
|
* Added macros to make bit chopping clearerdkf2007-07-301-149/+160
|
* * library/platform/platform.tcl: Fixed bug in 'platform::patterns'andreas_kupries2007-07-201-3/+3
| | | | | | | | | * library/platform/pkgIndex.tcl: where identifiers not matching * unix/Makefile.in: the special linux and solaris forms would not * win/Makefile.in: get 'tcl' as an acceptable platform added to * doc/platform.n: the result. Bumped package to version 1.0.3 and * doc/platform_shell.n: updated documentation and Makefiles. Also fixed bad version info in the documentation of platform::shell.
* * generic/tclIO.c: Removed dead code.dgp2007-07-021-75/+1
| | | | * unix/tclUnixChan.c:
* * generic/tclBasic.c: Removed dead code, including thedgp2007-06-281-6/+2
| | | | | | | | | | | | | * generic/tclExecute.c: entire file tclMathOp.c. * generic/tclInt.h: * generic/tclMathOp.c (removed): * generic/tclTestObj.c: * win/tclWinFile.c: * unix/Makefile.in: Updated to reflect deletion of tclMathOp.c. * win/Makefile.in: * win/makefile.bc: * win/makefile.vc:
* * generic/tclInt.decls: Revised the interfaces of the routinesdgp2007-06-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclExecute.c: TclStackAlloc and TclStackFree to make them easier for callers to use (or more precisely, harder to misuse). TclStackFree now takes a (void *) argument which is the pointer intended to be freed. TclStackFree will panic if that's not actually the memory the call will free. TSA/TSF also now tolerate receiving (interp == NULL), in which case they simply fall back to be calls to Tcl_Alloc/Tcl_Free. * generic/tclIntDecls.h: make genstubs * generic/tclBasic.c: Updated callers * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCompCmds.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclIOCmd.c: * generic/tclIndexObj.c: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclProc.c: * generic/tclTrace.c: * unix/tclUnixPipe.c:
* * macosx/Tcl.xcodeproj/project.pbxproj: add settings for Fix&Continue.das2007-06-064-26/+44
| | | | | | | | | | * unix/configure.in (Darwin): add plist for tclsh; link the * unix/Makefile.in (Darwin): Tcl and tclsh plists into their * macosx/Tclsh-Info.plist.in (new): binaries in all cases. * macosx/Tcl-Common.xcconfig: * unix/tcl.m4 (Darwin): fix CF checks in fat 32&64bit builds. * unix/configure: autoconf-2.59
* * unix/Makefile.in: add datarootdir to silence autoconf-2.6x warning.das2007-06-031-1/+2
|
* * unix/tclUnixThrd.c (Tcl_JoinThread): fix for 64-bit handling ofhobbs2007-05-291-3/+7
| | | | pthread_join exit return code storage. [Bug 1712723]
* restore line endingsdgp2007-05-297-1058/+1058
|
* * unix/configure: autoconf-2.59 (FC6 fork)dgp2007-05-183-5/+5
| | | | | | | | | | | | | | | | | * win/configure: * README: Bump version number to 8.5a7 * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * generic/tclParse.c: Disable and remove the ALLOW_EXPAND sections * tests/info.test: that continued to support the deprecated * tests/mathop.test: {expand} syntax. Updated the few remaining users of that syntax in the test suite.
* Convert to using ANSI function definitions.dkf2007-05-027-1066/+1058
|
* * unix/Makefile.in: add 'tclsh' dependency to install targets that relydas2007-04-301-6/+6
| | | | on tclsh, fixes parallel 'make install' from empty build dir.
* * unix/Makefile.in (dist): copy license.terms to dist macosx dir; fix ↵das2007-04-251-17/+19
| | | | autoheader bits.
* * unix/Makefile.in (dist): add macosx/*.xcconfig files to src dist.das2007-04-251-2/+3
|
* * unix/Makefile.in (dist): add platform library package to src disthobbs2007-04-241-9/+7
|
* * unix/configure.in: install license.terms into Tcl.framework.das2007-04-232-1/+3
| | | | * unix/configure: autoconf-2.59
* * unix/tclLoadDyld.c (TclpLoadMemory): fix (void*) arithmetic.das2007-04-231-4/+4
|
* * unix/tclUnixFCmd.c: add workaround for crashing bug in fts_open()das2007-04-232-18/+35
| | | | * unix/tclUnixInit.c: without FTS_NOSTAT on 64bit Darwin 8 or earlier.
* Replaced commas in varargs with string concatenation where possible [Patch ↵Kevin B Kenny2007-04-202-6/+6
| | | | 1515234]
* Eliminate use of (VOID*) casts when calling memset or memcpy.dkf2007-04-173-10/+8
|
* Complete the purge of K&R function definitions from manually-written code.dkf2007-04-168-55/+83
|
* * generic/tclBasic.c: Replace arrays on the C stack and ckallocdgp2007-04-021-5/+6
| | | | | | | | | | | | * generic/tclExecute.c: calls with TclStackAlloc calls to use memory * generic/tclFCmd.c: on Tcl's evaluation stack. * generic/tclFileName.c: * generic/tclIOCmd.c: * generic/tclIndexObj.c: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclTrace.c: * unix/tclUnixPipe.c:
* * generic/tclBasic.c (Tcl_CreateMathFunc): Replaced somedgp2007-03-191-3/+3
| | | | | | | * generic/tclEvent.c (Tcl_CreateThread): calls to Tcl_Alloc() * generic/tclObj.c (UpdateStringOfBignum): with calls to * unix/tclUnixTime.c (SetTZIfNecessary): ckalloc(), which better * win/tclAppInit.c (setargv): supports memory debugging.
* * library/platform/shell.tcl: Made more robust if an older platformandreas_kupries2007-03-091-3/+3
| | | | | | | * library/platform/pkgIndex.tcl: package is present in the inspected * unix/Makefile.in: shell. Package forget it to prevent errors. Bumped * win/Makefile.in: package version to 1.1.3, and updated the makefiles installing it as Tcl Module.
* * macosx/tclMacOSXNotify.c: add spinlock debugging and sanity checks.das2007-03-072-2/+2
| | | | | | | | | | * macosx/Tcl.xcodeproj/project.pbxproj: ensure gcc version used by * macosx/Tcl.xcodeproj/default.pbxuser: Xcode and configure/make are * macosx/Tcl-Common.xcconfig: consistent and independent of gcc_select default and CC env var; fixes for Xcode 3.0. * unix/tcl.m4 (Darwin): s/CFLAGS/CPPFLAGS/ in macosx-version-min check. * unix/configure: autoconf-2.59
* * library/platform/shell.tcl (::platform::shell::RUN): In the caseandreas_kupries2007-03-051-3/+3
| | | | | | | * library/platform/pkgIndex.tcl: of a failure put the captured stderr * unix/Makefile.in: into the error message to aid in debugging. Bumped * win/Makefile.in: package version to 1.1.2, and updated the makefiles installing it as Tcl Module.
* various "const" additions, in line with TIP #27nijtmans2007-02-202-42/+42
|
* * unix/tcl.m4: use SHLIB_SUFFIX=".so" on HP-UX ia64 arch.hobbs2007-02-192-2/+10
| | | | * unix/configure: autoconf-2.59
* * unix/tclUnixInit.c (TclpCheckStackSpace): do stack size checkshobbs2007-02-081-3/+3
| | | | | with unsigned size_t to correctly validate stackSize in the 2^31+ range.
* * unix/tcl.m4: use gcc4's __attribute__((__visibility__("hidden"))) ifdas2007-02-044-80/+194
| | | | | | | available to define MODULE_SCOPE effective on all platforms. * unix/configure.in: add caching to -pipe and zoneinfo checks. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
* * unix/tcl.m4: integrate CPPFLAGS into CFLAGS as late as possible anddas2007-01-252-8/+21
| | | | | | | move (rather than duplicate) -isysroot flags from CFLAGS to CPPFLAGS to avoid errors about multiple -isysroot flags from some older gcc builds. * unix/configure: autoconf-2.59
* * macosx/tclMacOSXFCmd.c (TclMacOSXSetFileAttribute): on some versionsdas2007-01-195-6/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | of Mac OS X, truncate() fails on resource forks, in that case use open() with O_TRUNC instead. * macosx/tclMacOSXNotify.c: accommodate changes to prototypes of OSSpinLock(Un)Lock API. * macosx/Tcl.xcodeproj/project.pbxproj: ensure HOME and USER env vars * macosx/Tcl.xcodeproj/default.pbxuser: are defined when running testsuite from Xcode. * tests/env.test: add extra system env vars that need to be preserved on some Mac OS X versions for testsuite to work. * unix/Makefile.in: move libtommath defines into configure.in to avoid * unix/configure.in: replicating them across multiple buildsystems. * macosx/Tcl.xcodeproj/project.pbxproj: * unix/tcl.m4: ensure CPPFLAGS env var is used when set. [Bug 1586861] (Darwin): add -isysroot and -mmacosx-version-min flags to CPPFLAGS when present in CFLAGS to avoid discrepancies between what headers configure sees during preprocessing tests and compiling tests. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
* supply missing RCS linedgp2006-12-191-1/+1
|
* Fix [Bug 1618838]dkf2006-12-191-2/+5
|
* * unix/tclUnixThrd.c (TclpInetNtoa): fix for 64 bit.das2006-12-191-1/+1
|
* * unix/tclUnixThrd.c (TclpInetNtoa): fix for 64 bit.das2006-12-191-3/+3
|
* * unix/tclUnixThrd.c (TclpInetNtoa): fix for 64 bit.das2006-12-191-7/+3
|
* * unix/tcl.m4 (Darwin): --enable-64bit: verify linking with 64bit -archdas2006-12-192-10/+148
| | | | | flag succeeds before enabling 64bit build. * unix/configure: autoconf-2.59
* * tests/macOSXLoad.test (new file): add testing of .bundle loading anddas2006-12-174-20/+82
| | | | | | | | | | | * tests/load.test: unloading on Darwin (in addition to * tests/unload.test: existing tests of .dylib loading). * macosx/Tcl.xcodeproj/project.pbxproj: add building of dltest binaries so that testsuite run from Xcode can use them; fix testsuite run script. * unix/configure.in: add support for building dltest binaries as * unix/dltest/Makefile.in: .bundle (in addition to .dylib) on Darwin. * unix/Makefile.in: add stub lib dependency to dltest target. * unix/configure: autoconf-2.59
* * generic/tclBasic.c: TIP #291. Define tcl_platform element forandreas_kupries2006-12-051-2/+8
| | | | | | | | | | | | | | | | * doc/tclvars.n: pointerSize. * win/Makefile.in: Added installation instructions for the platform * win/makefile.vc: package. Added the platform package. * win/makefile.bc: * unix/Makefile.in: * tests/platform.test: * tests/safe.test: * library/platform/platform.tcl: * library/platform/shell.tcl: * library/platform/pkgIndex.tcl: