summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* * 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:
* Add missing cast that makes the fix effective.dgp2006-11-281-2/+2
|
* * unix/tclUnixChan.c (TclUnixWaitForFile):Kevin B Kenny2006-11-271-2/+3
| | | | | | | * tests/event.test (event-14.*): Corrected a bug where TclUnixWaitForFile would present select() with the wrong mask on an LP64 machine if a fd number exceeds 32. Thanks to Jean-Luc Fontaine for reporting and diagnosing [Bug 1602208].
* * tcl.m4 (Linux): --enable-64bit support. [Patch 1597389], [Bug 1230558]das2006-11-262-2/+77
| | | | * configure: autoconf-2.59
* Finished coding part of TIP#174. Still have tests and docs to do.dkf2006-11-251-180/+167
|
* TIP#270 IMPLEMENTATIONdgp2006-11-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.decls: New public routines Tcl_ObjPrintf, * generic/tclStringObj.c: Tcl_AppendObjToErrorInfo, Tcl_Format, * generic/tclInt.h: Tcl_AppendLimitedToObj, Tcl_AppendFormatToObj and Tcl_AppendPrintfToObj. Former internal versions removed. * generic/tclDecls.h: make genstubs * generic/tclStubInit.c: * generic/tclBasic.c: Updated callers. * generic/tclCkalloc.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclDictObj.c: * generic/tclExecute.c: * generic/tclIORChan.c: * generic/tclIOUtil.c: * generic/tclMain.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclPkg.c: * generic/tclProc.c: * generic/tclStrToD.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/tclUnixFCmd.c:
* * generic/tclCompExpr.c: fix gcc warnings about 'cast to/fromdas2006-11-138-35/+357
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclEncoding.c: pointer from/to integer of different * generic/tclEvent.c: size' on 64-bit platforms by casting to * generic/tclExecute.c: intermediate types intptr_t/uintptr_t * generic/tclHash.c: via new PTR2INT(), INT2PTR(), * generic/tclIO.c: PTR2UINT() and UINT2PTR() macros. * generic/tclInt.h: [Patch 1592791] * generic/tclProc.c: * generic/tclTest.c: * generic/tclThreadStorage.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/configure.in: * unix/tclUnixChan.c: * unix/tclUnixPipe.c: * unix/tclUnixPort.h: * unix/tclUnixTest.c: * unix/tclUnixThrd.c: * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
* * tests/fCmd.test (fCmd-6.26): fix failure when env(HOME) path containsdas2006-11-103-1/+10
| | | | | | | | | | | | | | symlinks. * macosx/Tcl.xcodeproj/project.pbxproj: remove tclParseExpr.c; when running testsuite from inside Xcdoe, skip stack-3.1 (it only fails under those circumstances). * unix/tcl.m4 (Darwin): suppress linker arch warnings when building universal for both 32 & 64 bit and no 64bit CoreFoundation is available; sync with tk tcl.m4 change. * unix/configure.in: whitespace. * unix/configure: autoconf-2.59
* * generic/tclParseExpr.c (removed): Moved all the code ofdgp2006-11-091-6/+2
| | | | | | | | | * generic/tclCompExpr.c: tclParseExpr.c into tclCompExpr.c. * unix/Makefile.in: This sets the stage for expr compiling to * win/Makefile.in: work directly with the full parse tree * win/makefile.bc: structures, and not have to pass through * win/makefile.vc: the information lossy format of an array * win/tcl.dsp: of Tcl_Tokens.
* * unix/tclUnixFCmd.c (CopyFile): [SF Tcl Bug 1586470]. Added codeandreas_kupries2006-11-071-1/+11
| | | | | to fall back to a hardwired default block size should the filesystem report a bogus value.
* * generic/tclBasic.c: Further revised TclAppendPrintToObj() anddgp2006-11-021-2/+2
| | | | | | | | | | | | | | | | | | | | | * generic/tclCkalloc.c: TclObjPrintf() routines to panic when unable * generic/tclCmdAH.c: to complete their formatting operations, rather * generic/tclCmdIL.c: than report an error message. This means an * generic/tclCmdMZ.c: interp argument for error message recording is * generic/tclDictObj.c: no longer needed, further simplifying the * generic/tclExecute.c: interface for callers. * generic/tclIORChan.c: * generic/tclIOUtil.c: * generic/tclInt.h: * generic/tclMain.c: * generic/tclNamesp.c: * generic/tclParseExpr.c: * generic/tclPkg.c: * generic/tclProc.c: * generic/tclStringObj.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/tclUnixFCmd.c:
* * unix/tclUnixPort.h: ensure MODULE_SCOPE is defined before use, sodas2006-10-311-1/+5
| | | | | | | that tclPort.h can once again be included without tclInt.h. * generic/tclEnv.c (Darwin): mark _environ symbol as unexported even when MODULE_SCOPE != __private_extern__.
* * generic/tclBasic.c: Refactored and renamed the routinesdgp2006-10-311-5/+3
| | | | | | | | | | | | | | | | | | | | | * generic/tclCkalloc.c: TclObjPrintf, TclFormatObj, and * generic/tclCmdAH.c: TclFormatToErrorInfo to a new set of * generic/tclCmdIL.c: routines TclAppendPrintfToObj, * generic/tclCmdMZ.c: TclAppendFormatToObj, TclObjPrintf, and * generic/tclDictObj.c: TclObjFormat, with the intent of making * generic/tclExecute.c: the latter list, plus TclAppendLimitedToObj * generic/tclIORChan.c: and TclAppendObjToErrorInfo, public via * generic/tclIOUtil.c: a revised TIP 270. * generic/tclInt.h: * generic/tclMain.c: * generic/tclNamesp.c: * generic/tclParseExpr.c: * generic/tclPkg.c: * generic/tclProc.c: * generic/tclStringObj.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/tclUnixFCmd.c:
* * README: Bump version number to 8.5a6dgp2006-10-233-5/+5
| | | | | | | | | | | | * generic/tcl.h: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* Undo mistaken commit to wrong branch caused by CVS fumble... :-}dkf2006-10-201-22/+4
|
* Consolidated TIP#257 patch applied to HEAD to allow for experimentation bydkf2006-10-201-4/+22
| | | | other developers
* * unix/configure.in: Added autodetection for OS-supplied timezonermax2006-10-193-4/+112
| | | | | * unix/Makefile.in: files and configure switches to override the * unix/configure: detected default.
* * unix/tclUnixThrd.c (TclpThreadGetStackSize): Darwin: fix for maindas2006-10-161-5/+10
| | | | | | thread, where pthread_get_stacksize_np() returns incorrect info. * macosx/GNUmakefile: don't redo prebinding of non-prebound binaires.
* * library/tcltest/tcltest.tcl: Revise tcltest bump to 2.3a1.dgp2006-10-161-3/+3
| | | | | | | * library/tcltest/pkgIndex.tcl: This permits more features to be * unix/Makefile.in: added to tcltest before we reach version 2.3.0, * win/Makefile.in: best timed to match the release of Tcl 8.5.0. * win/makefile.vc: This also serves as a demo of TIP 268 features.
* * unix/tclUnixThrd.c (TclpThreadGetStackSize): on Darwin, usedas2006-10-134-0/+114
| | | | | | * unix/tcl.m4: pthread_get_stacksize_np() API to get thread stack size. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
* * tests/http.test (http-5.1): bump http to 2.5.3dgp2006-09-161-3/+3
| | | | | * unix/Makefile.in: * win/Makefile.in:
* * unix/configure.in (HAVE_MTSAFE_GETHOST*): Modified to recognizeandreas_kupries2006-09-122-1/+29
| | | | | | HP-UX 11.00 and beyond as having mt-safe implementations of the gethost functions. * unix/configure: Regenerated, using autoconf 2.59
* * unix/tclUnixCompat.c (PadBuffer): Fixed bug in calculation ofandreas_kupries2006-09-121-5/+11
| | | | | the increment needed to align the pointer, and added documentation explaining why the macro is implemented as it is.
* * unix/Makefile.in (install-libraries): Fixed typo tcltest 2.3.9 -> 2.3.0.andreas_kupries2006-09-111-2/+2
|
* * unix/tclUnixCompat.c: make compatLock static and only declare it whendas2006-09-111-107/+110
| | | | | it will actually be used; #ifdef parts of TSD that are not always needed; adjust #ifdefs to cover all possible cases; fix whitespace.
* bump msgcat version to 1.4.2Kevin B Kenny2006-09-111-3/+3
|
* * doc/tcltest.n: Bump to version tcltest 2.3.0 to accountdgp2006-09-111-3/+3
| | | | | | | | | * library/tcltest/pkgIndex.tcl: for new "-verbose line" feature. * library/tcltest/tcltest.tcl: * unix/Makefile.in: * win/Makefile.in: * win/makefile.bc: * win/makefile.vc:
* * library/msgcat/msgcat.tcl (msgcat::Init): on Darwin, add fallback ofdas2006-09-105-598/+703
| | | | | | | | | | | | | | | | | | * tests/msgcat.test: default msgcat locale to * unix/tclUnixInit.c (TclpSetVariables): current CFLocale identifier if available (via private ::tcl::mac::locale global, set at interp init when on Mac OS X 10.3 or later with CoreFoundation). * library/tcltest/tcltest.tcl: add 'line' verbose level: prints source * doc/tcltest.n: file line information of failing tests. * macosx/Tcl.xcodeproj/project.pbxproj: add new tclUnixCompat.c file; revise tests target to use new tcltest 'line' verbose level. * unix/configure.in: add descriptions to new AC_DEFINEs for MT-safe. * unix/tcl.m4: add caching to new SC_TCL_* macros for MT-safe wrappers. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
* Added special handling for Darwin where gethostbyname/addr are actuallyvasiljevic2006-09-083-15/+42
| | | | MT-safe per-se.
* * unix/tclUnixCompat.c: Fixed conditions for CopyArray/CopyString,andreas_kupries2006-09-081-6/+6
| | | | and CopyHostent. Also fixed bad var names in TclpGetHostByName.
* unix/tclUnixCompat.c: Added fallback to MT-unsafevasiljevic2006-09-071-21/+62
| | | | | | library calls if TCL_THREADS is not defined. Fixed alignment of arrays copied by CopyArrayi() to be on the sizeof(char *) boundary.
* Rewritten MT-safe wrappers to return ptrs to TSD storage.vasiljevic2006-09-075-217/+161
|