summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Updated tclZIC.tcl to be bignum-safeKevin B Kenny2005-11-282-7/+6
|
* Corrected bug in DST transition times for locales that specify transition in ↵Kevin B Kenny2005-11-2896-8998/+9033
| | | | local Standard Time
* fix settings orderdas2005-11-271-1/+1
|
* add #include <libkern/OSByteOrder.h> for OSX 10.2das2005-11-272-2/+4
|
* * unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),das2005-11-2751-609/+12540
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to configure (flag can't be present twice, so can't be in both CFLAGS and LDFLAGS during configure), don't use -prebind when deploying on 10.4, define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542). (SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete autoconf macros. Sync with tk/unix/tcl.m4. * unix/configure.in: fix obsolete autoconf macros, sync gratuitous formatting/ordering differences with tk/unix/configure.in. * unix/Makefile.in: add CFLAGS to tclsh/tcltest link to make executable linking the same as during configure (needed to avoid loosing any linker relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS). Avoid concurrent linking of tclsh and compiling of tclTestInit.o or xtTestInit.o during parallel make. (checkstubs, checkdoc, checkexports): dependency and Darwin fixes (dist): add new macosx files. * unix/tclLoadDyld.c (TclpDlopen): use NSADDIMAGE_OPTION_WITH_SEARCHING on second NSAddImage only. [Bug 1204237] (TclGuessPackageName): should not be MODULE_SCOPE. (TclpLoadMemory): ppc64 and endian (i386) fixes, add support for loading universal (fat) bundles from memory. * unix/tclUnixFCmd.c: * macosx/tclMacOSXFCmd.c: ppc64 and endian (i386) fixes. (TclMacOSXCopyFileAttributes): add support for new Tiger copyfile() API to enable copying of xattrs & ACLs by [file copy]. * generic/tcl.h: add Darwin specifc configure overrides for TCL_WIDE defines to support fat compiles of ppc and ppc64 at the same time, (replaces Darwin CVS fix by emoy, rdar://3693001). add/correct location of version numbers in macosx files. * generic/tclInt.h: clarify fat compile comment. * unix/tclUnixPort.h: add Darwin specifc configure overrides to support fat compiles, where configure runs only once for multiple architectures (replaces Darwin CVS fix by emoy, rdar://3693001). * macosx/tclMacOSXBundle.c: * macosx/tclMacOSXNotify.c: * unix/tclUnixNotfy.c: * unix/tclUnixPort.h: fix #include order to support compile time override of HAVE_COREFOUNDATION in tclUnixPort.h when building for ppc64 * macosx/Tcl.pbproj/default.pbxuser (new file): * macosx/Tcl.pbproj/jingham.pbxuser: * macosx/Tcl.pbproj/project.pbxproj: * macosx/Tcl.xcode/default.pbxuser (new file): * macosx/Tcl.xcode/project.pbxproj (new file): * macosx/Tcl.xcodeproj/default.pbxuser (new file): * macosx/Tcl.xcodeproj/project.pbxproj (new file): new/updated projects for Xcode 2.2 on 10.4, Xcode 1.5 on 10.3 & ProjectBuilder on 10.2, with native tcltest targets and support for universal (fat) compiles. * macosx/README: clarification/cleanup, document new Xcode projects and universal (fat) builds via CFLAGS (i.e. all of ppc ppc64 i386 at once). * unix/Makefile.in: * unix/aclocal.m4: * unix/configure.in: * unix/dltest/Makefile.in: * macosx/configure.ac (new file): add support for inclusion of unix/configure.in by macosx/configure.ac, allows generation of a config headers enabled configure script in macosx (required by Xcode projects). * macosx/GNUmakefile: rename from Makefile to avoid overwriting by configure run in tcl/macosx, add support for reusing configure cache, build target fixes, remove GENERIC_FLAGS override now handled by tcl.m4. * generic/tcl.decls: add Tcl_Main declaration as comment to avoid 'checkstubs' target complaining about it missing from stubs. * generic/regex.h: * generic/tclDate.c: * generic/tclEnv.c: * generic/tclGetDate.y: * generic/tclIOUtil.c: * generic/tclObj.c: * generic/tclStubInit.c: * generic/tclStubLib.c: * generic/tclPathObj.c: * generic/tclThreadAlloc.c: * generic/tclThreadStorage.c: * generic/tclTrace.c: * generic/tclVar.c: * generic/tommath.h: * tools/fix_tommath_h.tcl: * unix/tclUnixFCmd.c: ensure externally visible symbols not contained in stubs table are declared as MODULE_SCOPE (or as static if not used outside of own source file). These changes allow 'make checkstubs' to complete without error on Darwin with gcc 4. * generic/rege_dfa.c (getvacant): * generic/regexec.c (cfind): * generic/tclCompExpr.c (CompileSubExpr): * generic/tclNamesp.c (NamespaceEnsembleCmd): * unix/tclUnixChan.c (TclUnixWaitForFile): initialise variables to silence gcc 4 warnings. * generic/tclExecute.c (TclExecuteByteCode): fix unused variable warning when NO_WIDE_TYPE is defined. * generic/regguts.h: only #define NDEBUG if not already #defined. * unix/tclUnixNotfy.c: * macosx/tclMacOSXNotify.c: sync whitespace & comments. * unix/tclUnixPort.h: * win/tclWinPort.h: remove declaration of obsolete&unused TclpMutex API. * unix/configure: * unix/tclConfig.h.in: regen.
* Renamed Makefile to GNUmakefiledas2005-11-221-1/+1
|
* * unix/Makefile.in (install-libraries): Updated Makefile to newandreas_kupries2005-11-213-6/+18
| | | | | | | | | | | * win/Makefile.in (install-libraries): version of the http package. This fixes the ifneeded/provide mismatch reported when trying to require http. Should we maybe try to automatically extract the version number from the http code to prevent future breakage ? This follows the update of the version number by dgp on Nov 15 (No entry found in the ChangeLog).
* Don't set tclStubsPtr to 0 when Tcl_PkgRequireEx() failsjenglish2005-11-202-24/+10
| | | | [Fix for #1091431 "Tcl_InitStubs failure crashes wish"]
* * tests/trace.test (trace-34.5): [Bug 1047286], added a secondMiguel Sofer2005-11-182-1/+20
| | | | | test illustrating the role of "ns in callStack" in the ns's visibility during deletion traces.
* Bug 1359183Kevin B Kenny2005-11-182-0/+13
|
* * generic/tclIO.c (TclFinalizeIOSubsystem): preserve statePtrhobbs2005-11-182-5/+15
| | | | until we netrieve next statePtr from it.
* more testsdgp2005-11-181-1/+17
|
* * generic/tclObj.c (GetBignumFromObj): replace NULL withMiguel Sofer2005-11-182-2/+9
| | | | | | tclEmptyStringRep to stop memcpy from complaining in a debug build (the corresponding branch is eliminated by the optimiser otherwise).
* * generic/tclIO.c (TclFinalizeIOSubsystem): Applied Pat Thoyts'andreas_kupries2005-11-182-2/+14
| | | | | | | patch for [SF Tcl Bug 1359094]. This moves the retrieval of the next channel state to the end of the loop, as the called closeproc may close other channels, i.e. modify the list we are iterating, invalidating any pointer retrieved earlier.
* * generic/tclListObj.c: Restored the SetListFromAny routine todgp2005-11-183-3/+12
| | | | | | | * generic/tclObj.c: the "list" Tcl_ObjType, and restored the Tcl_RegisterObjType() call for "list". This addresses the needs of some "bridge" extensions to examine whether the Tcl_ObjType of a Tcl_Obj is that of the "list" Tcl_ObjType.
* Fix silly errors in REs, in variables, and in tests that were working withdkf2005-11-182-19/+19
| | | | invalid URLs.
* Improved URL validation that better describes why validation failed. [Bug ↵dkf2005-11-183-159/+249
| | | | 1358369]
* Whitespace/formatting fixesdkf2005-11-171-17/+17
|
* * tests/namespace.test: fix commentMiguel Sofer2005-11-172-2/+6
|
* Bump to http 2.5.2 to cover changing rules in [http::mapReply] [1182373]dgp2005-11-152-3/+3
|
* * generic/tclStrToD.c: More data in the "can't happen" Tcl_Panicdgp2005-11-142-2/+6
| | | | to aid debugging.
* * generic/tclBasic.c (CallCommandTraces): Save/restore thedgp2005-11-142-1/+14
| | | | interp result during traces to fix [Bug 1355342].
* added comments to tests/namespace.testMiguel Sofer2005-11-141-1/+5
|
* * generic/tclInt.h:Miguel Sofer2005-11-145-12/+84
| | | | | | | | | * generic/tclNamesp.c: * tests/namespace.test: fix for bugs #1354540 and #1355942. The new tests 7.3-6 and the modified 51.13 fail due to the unrelated [Bug 1355342] * tests/trace.test: added tests 20.13-16 for [Bug 1355342]
* fixing last commit, no Changelog entryMiguel Sofer2005-11-131-3/+9
|
* * generic/tclBasic.c (Tcl_DeleteCommandFromToken):Miguel Sofer2005-11-133-11/+12
| | | | | | * generic/tclObj.c (Tcl_GetCommandFromObj): more partial fixes for [Bug 1354540] - making sure that cached references to a command being deleted cannot be made reusable by a delete trace.
* Use correct bug number :-}dkf2005-11-121-1/+1
|
* Partial fix for [Bug 1355342]dkf2005-11-122-350/+355
| | | | Also ANSIfy the rest of the file
* * generic/tclInt.h: Revised TclParseNumber interface to enabledgp2005-11-124-127/+174
| | | | | | * generic/tclScan.c: revision to the [scan] command implementation * generic/tclStrToD.c: to permit tests scan-4.44,55 to pass again. [Bug 1348067].
* typodas2005-11-121-2/+2
|
* More bits of ANSIfyingdkf2005-11-111-653/+665
| | | | Also start moving to use the new code for doing formatted prints to objects
* More bits of ANSIfyingdkf2005-11-1111-392/+433
|
* * generic/tclBasic.c (Tcl_DeleteCommandFromToken):Miguel Sofer2005-11-113-10/+22
| | | | | | | | | * generic/tclObj.c (Tcl_GetCommandFromObj): bump the cmd epoch early to insure that cached references to this command are invalidated. Partial fix for [Bug 1352734] - at least insures that namespace-51.13 does not cause a panic. The test is still marked as knownbug, pending resolution of what is actually the correct return value ([Bug 1354540])
* Finish applying the style guide to the RE engine (except for variable anddkf2005-11-105-1472/+1817
| | | | function names, which are a much bigger job to fix!)
* Deleted unwanted extra space at end of some linesdkf2005-11-101-5/+5
|
* bugs 1350291 and 1350293Kevin B Kenny2005-11-093-60/+117
|
* doc changes with 1162286 fixdgp2005-11-091-8/+1
|
* * tests/compile.test: Updated tests with changed behaviordgp2005-11-098-247/+266
| | | | | | | | | * tests/execute.test: due to addition of bignums. * tests/expr-old.test: * tests/expr.test: * tests/parseExpr.test: * tests/platform.test: * tests/string.test:
* ANSIfy the RE compiler.dkf2005-11-098-4852/+5523
|
* More ANSIfyingdkf2005-11-091-25/+25
|
* * unix/tclUnixFCmd.c (MAX_READDIR_UNLINK_THRESHOLD): reduce to 130hobbs2005-11-092-3/+9
| | | | | based on errors seen on OS X 10.3 with lots of links in a dir. [Bug 1034337 followup]
* Added target to make it easier to debug crashing tests.dkf2005-11-092-1/+13
|
* * tests/compExpr-old.test: Updated tests with changed behaviordgp2005-11-082-5/+8
| | | | due to addition of bignums.
* * tests/expr.test: Portable tests expr-46.13-18 [Bug 1341368]dgp2005-11-082-2/+28
|
* * generic/tclPkg.c: Corrected inconsistencies in the value returneddgp2005-11-083-31/+274
| | | | | | | * tests/pkg.test: by Tcl_PkgRequire(Ex) so that the returned values will always agree with what is stored in the package database. This way repeated calls to Tcl_PkgRequire(Ex) have the same results. Thanks to Hemang Lavana. [Bug 1162286].
* Fix for [Bug 1348775]dkf2005-11-082-32/+92
|
* ANSIfydkf2005-11-071-7/+9
|
* Strip a few more pre-ANSI-ismsdkf2005-11-071-21/+20
|
* ANSIfydkf2005-11-077-90/+89
|
* Tidy updkf2005-11-071-41/+47
|