summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),das2005-11-2726-1566/+2397
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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, sync whitespace with HEAD. * 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 * 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/tclUnixPort.h: * unix/tclUnixFCmd.c: 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: sync with HEAD. * macosx/README: clarification/cleanup, sync with HEAD, document universal (fat) builds via CFLAGS (i.e. all of ppc ppc64 i386 at once). * macosx/Makefile: add support for reusing configure cache, build target fixes, remove GENERIC_FLAGS override now handled by tcl.m4. * generic/tclIOUtil.c: * generic/tclRegexp.c: * generic/tclVar.c: declare globals used only in own file as static (sync with HEAD). * generic/rege_dfa.c (getvacant): * generic/regexec.c (cfind): * generic/tclCompExpr.c (CompileSubExpr): * unix/tclUnixChan.c (TclUnixWaitForFile): initialise variables to silence gcc 4 warnings. * generic/regguts.h: only #define NDEBUG if not already #defined. * macosx/tclMacOSXNotify.c: sync whitespace & comments with HEAD * unix/configure: regen. FossilOrigin-Name: c6e668d19d55753d85abd5c21ef4e1589d54fade
* update changesdgp2005-11-211-2/+8
| | | FossilOrigin-Name: 3480aeec2658230084f14fc869861c83a5773ee9
* Don't set tclStubsPtr to 0 when Tcl_PkgRequireEx() failsjenglish2005-11-202-8/+10
| | | | | | [Fix for #1091431 "Tcl_InitStubs failure crashes wish"] FossilOrigin-Name: e9675e462c170b4e7c9e2b4ab4da420cd2bf04a3
* * tests/trace.test (trace-34.5): [Bug 1047286], added a secondmsofer2005-11-182-2/+19
| | | | | | | test illustrating the role of "ns in callStack" in the ns's visibility during deletion traces. FossilOrigin-Name: 7b82e0cf5b35b8c2e93fc44792e8487621c50615
* * generic/tclBasic.c (Tcl_DeleteCommandFromToken):msofer2005-11-187-20/+99
| | | | | | | | | | * generic/tclCmdMZ.c (TraceCommandProc): * generic/tclInt.h (NS_KILLED): * generic/tclNamesp.c (Tcl_DeleteNamespace * tests/namespace.test (namespace-7.3-6): * tests/trace.test (trace-20.13-16): fix [Bugs 1355942/1355342]. FossilOrigin-Name: 56a462e45ca6948aca94cef4232dec3080078aa1
* * generic/tclIO.c (TclFinalizeIOSubsystem): preserve statePtrhobbs2005-11-182-10/+18
| | | | | | until we netrieve next statePtr from it. FossilOrigin-Name: 420af74d34f4b08cd23be25bef7a101e91f5337e
* * generic/tclPkg.c: Revised Bug 1162286 fix from 2005-11-08dgp2005-11-183-8/+75
| | | | | | | | * tests/pkg.test: to be more forgiving of package version mismatch errors in [package ifneeded] commands. This reduces the ***POTENTIAL INCOMPATIBILITY*** noted for that change. FossilOrigin-Name: 833824de408392cf86d1cc2a978b42a5b56ad6c7
* * 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. FossilOrigin-Name: e8ea129e06f6d7cc70f69e4f09cc2858c9c7b3be
* update changesdgp2005-11-181-1/+3
| | | FossilOrigin-Name: ba0476547bb0dd16788de8acadd1823bb61f182c
* Backport of improved URL parsing. [Bug 1358369]dkf2005-11-183-170/+260
| | | FossilOrigin-Name: 112e07f1c537d7ae24e18f1db7059b2d5d535870
* * README: Bump version number to 8.4.12dgp2005-11-1610-16/+29
| | | | | | | | | | | | | | * generic/tcl.h: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf-2.13 * win/configure: FossilOrigin-Name: f6f6b9611b4333d21dbd4ba5927ee0f1212a8b72
* * changes: Update changes for 8.4.12 releasedgp2005-11-152-2/+91
| | | FossilOrigin-Name: 7caaec2d9b412009e7797841040edcda2ca78ecd
* Bump to http 2.5.2 to cover changing rules in [http::mapReply] [1182373]dgp2005-11-152-3/+3
| | | FossilOrigin-Name: 20ae8f3e06473ea53c1dff37edae51c1221153dd
* Bugs 926106 and 1353840kennykb2005-11-153-61/+109
| | | FossilOrigin-Name: 0c15d365be439c4323d4d6f0e1a02515a5c5253a
* Bug 1350293kennykb2005-11-093-15/+19
| | | FossilOrigin-Name: 94cf472e1acb3e02f3395f3ccddf95e7340d2a1c
* doc changes with 1162286 fixdgp2005-11-091-8/+1
| | | FossilOrigin-Name: 147e10f6e6a9df02286f59e6de62362cfc182ef9
* * 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] FossilOrigin-Name: 1b1316d0bb53b04bbebb76b81eb63d26b99d03de
* * tests/expr.test: Portable tests expr-46.13-18 [Bug 1341368]dgp2005-11-082-25/+15
| | | FossilOrigin-Name: 024787a346d6feb0f5dc5598c9b6e28a854e9e47
* * generic/tclPkg.c: Corrected inconsistencies in the value returneddgp2005-11-084-38/+298
| | | | | | | | | | * 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]. * tests/namespace.test (25.7,8): Backport test of knownBug. FossilOrigin-Name: dfc063650902e65f268e11a90c830db64c709c0c
* Fix [Bug 1348775] using Miguel's patchdkf2005-11-082-17/+51
| | | FossilOrigin-Name: 23f9e4bd609edb047f2e3849900975002b4ca5a4
* missed Changelog entrymsofer2005-11-071-0/+5
| | | FossilOrigin-Name: a0e1a811e38335ef98d1d430370262f37cf4ab05
* * tests/trace.test (trace-13.2-4): added tests to detect leak, see [Bugmsofer2005-11-071-2/+56
| | | | | | 1348775]. FossilOrigin-Name: cbd1fa5e16440ceade56c3dc35df4d159a281192
* * unix/tcl.m4: Added code to enable [load] on LynxOS. Thanks todgp2005-11-043-281/+312
| | | | | | | | heidibr@users.sf.net for the patch. [Bug 1163896]. * unix/configure: autoconf-2.13. FossilOrigin-Name: 5e50e72970f7325b6d35ba068a313feafcde938b
* Bug 1298737kennykb2005-11-043-2/+12
| | | FossilOrigin-Name: 419fc365f44d2f73b8c92fd36beee6ecc5fd89a7
* * win/tclWinPipe.c: Applied patch #1267871 by Matt Newman whichpatthoyts2005-11-044-18/+65
| | | | | | | * win/tclWinPort.h: provides extended error code support. * tests/exec.test: Wrote some tests for this feature. FossilOrigin-Name: 2c4d55e5e0278969ec6118185c93e7802f39d3ae
* Bug 1317477kennykb2005-11-042-12/+27
| | | FossilOrigin-Name: d64beb6fe2fdabbc723fa2ba32afceb7fd98f2bc
* * generic/tclInt.h:msofer2005-11-045-55/+189
| | | | | | | | | * generic/tclNamesp.c: * generic/tclVar.c: fix for [Bugs 1338280/1337229]. Thanks Don. * tests/trace.test: fix duplicate test numbers FossilOrigin-Name: 3d6cada5c05de690f8d38cd0730fbfc70261ff25
* * generic/tclUnixInit.c (TclpSetInitialEncodings): Modified sodgp2005-11-032-2/+10
| | | | | | | | that multiple calls can continue to atttempt to properly set the system encoding. Needed for Tclkit to properly support non-default encodings. Thanks to Yaroslav Schekin. [Bug 1201171]. FossilOrigin-Name: 0e75d9e50e99767a19d2288f39d6836756c40d6c
* * win/tclWin32Dll.c: Backported Anton Kovalenko's patch #1256872patthoyts2005-11-034-11/+102
| | | | | | | * win/tclWinConsole.c: to give unicode console support on * win/tclWinInt.h: suitable systems (eg: NT/XP) FossilOrigin-Name: 9944c4de74048bbe28eb5bbf34715b2344aefde6
* * generic/tclCmdMZ.c (TclCheckExecutionTraces): Corrected mistakendgp2005-11-012-14/+20
| | | | | | | assumption that all command traces are set at the script level. Report/fix from Jacques H. de Villiers. [Bug 1337941] FossilOrigin-Name: 2a6bcd3750a89ece869c0441799767ee6087c6f4
* * tests/expr-old.test (expr-32.52): Use int(.) to restrictdgp2005-11-012-2/+7
| | | | | | result of left shift to the C long range. FossilOrigin-Name: 1917596a2e86c2753e000186c0ff19878e25cae7
* * tests/expr.test: Fix problems in new round()mdejong2005-10-292-25/+47
| | | | | | | tests that lead to correct result only on 32 bit long systems. [Bug 1341368] FossilOrigin-Name: a724bb58a68bd3cf751ac07a2dd54d98afc4b831
* fix Changelog entry datemsofer2005-10-291-1/+1
| | | FossilOrigin-Name: 7aeb026666fa41c6fdcb3a457457dd81f1abe1ce
* fix new test trace-18.4 [Bug 1338280]msofer2005-10-291-6/+9
| | | FossilOrigin-Name: e8722e1ee2ea5a4ddf7880e1f542772bff3f2fac
* * generic/tclCmdMZ.c (TraceVarProc): [Bug 1337229], partialmsofer2005-10-293-5/+34
| | | | | | | | | | | fix. Insure that a second call with TCL_TRACE_DESTROYED does not lead to a second call to Tcl_EventuallyFree(). It is still true that that second call should not happen, so the bug is not completely fixed. * tests/trace.test (test-18.3-4): added tests for bugs #1337229 and 1338280. FossilOrigin-Name: 8e9ed63a056d38b4358a5c3dbb90b3cfd85bc06e
* * generic/tclExecute.c (ExprRoundFunc):mdejong2005-10-283-11/+35
| | | | | | | | | | | | | Fix typo where number before rounding is compared with smallest integer instead of number after rounding. This fix does not change the results of any tests. * tests/expr.test: Add round() tests for cases near the min and max int values. * tests/util.test: Remove pointless warning code about testobj command. FossilOrigin-Name: fb8cf7da366a326764acc225c760bab02a5ad506
* * generic/tclBasic.c:msofer2005-10-2316-79/+154
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclExecute.c: * generic/tclLink.c: * generic/tclMain.c: * generic/tclProc.c: * generic/tclScan.c: * generic/tclTest.c: * generic/tclVar.c: * mac/tclMacInit.c: * unix/tclUnixInit.c: * win/tclWinInit.c: Insure that the core never calls TclPtrSetVar, Tcl_SetVar2Ex, Tcl_ObjSetVar2 or Tcl_SetObjErrorCode with a 0-ref new value. It is not possible to handle error returns correctly in that case [Bug 1334947], one has the choice of leaking the object in some cases, or else risk crashing in some others. FossilOrigin-Name: 8761ab798f625b66cadb3eaf8fafdedce6553a02
* * generic/tclExecute.c (INST_CONCAT): disable the optimisation formsofer2005-10-222-3/+10
| | | | | | wide integers, [Bug 1251791]. FossilOrigin-Name: c86eadfafe213e45f9873d39635ebb7fd4a1aa65
* See file.vasiljevic2005-10-141-0/+6
| | | FossilOrigin-Name: f56332e3c7c244774bbb88cc575747faeb30de5b
* Backed off change from 2005-10-04 (see ChangeLog and Tcl Bug# 1323992vasiljevic2005-10-141-14/+2
| | | | | | for more info. FossilOrigin-Name: 88a6e2c1cc33e06497c9aada131f17c482698e63
* Fix [Bug 1284178] and tweak tests to accommodate.dkf2005-10-133-7/+20
| | | FossilOrigin-Name: b41705eb6e842637c1238e3aa8c6dd0a243583ab
* Added some more clarifying comments in Tcl_ClearChannelHandlers()vasiljevic2005-10-131-6/+5
| | | FossilOrigin-Name: 7910c8fdd83768eed4ba091a9436ca003a4a5e5c
* Temporary ifdef TCL_THREADS changes done to de-activate pendingvasiljevic2005-10-132-1/+14
| | | | | | event processing when channel is being closed/cutted. FossilOrigin-Name: 0c54954fc0b0ab154f044c4e74141bb7b0188281
* ensure MODULE_SCOPE declhobbs2005-10-102-1/+18
| | | FossilOrigin-Name: 0355d49ef7a71d6cbbdd8794f06538a074219277
* * unix/tclUnixFCmd.c (TraverseUnixTree): Adjust 2004-11-11 change tohobbs2005-10-073-46/+69
| | | | | | | * tests/fCmd.test (fCmd-20.2): account for NFS special files with a readdir rewind threshold. [Bug 1034337] FossilOrigin-Name: dc751fed91c7ae0eede5bddae0ce935dbdae250e
* * generic/tclPipe.c (TclCreatePipeline): Fixed [SF Tcl Bugandreas_kupries2005-10-052-7/+14
| | | | | | 1109294]. Applied the patch provided by David Gravereaux. FossilOrigin-Name: 150775a1c54cab1711359a581082b234e29a9890
* * doc/CrtChannel.3: Fixed [SF Tcl Bug 1104682], by application ofandreas_kupries2005-10-052-8/+16
| | | | | | | David Welton's patch for it, and added a note about wideSeekProc. FossilOrigin-Name: 14d10f221342c699d5d06f87fd7fb4d6ab657608
* test to fix for 979640hobbs2005-10-052-13/+9
| | | FossilOrigin-Name: e04a92f8e702db2de50c41e69eae335f93ce41e7
* * win/tclWinPort.h: define USE_PUTENV_FOR_UNSET 1hobbs2005-10-053-15/+46
| | | | | | | | | | | | * generic/tclEnv.c (TclSetEnv, TclUnsetEnv): add USE_PUTENV_FOR_UNSET to existing USE_PUTENV define to account for various systems that have putenv(), but can't unset env vars with it. Note difference between Windows and Linux for actually unsetting the env var (use of '='). Correct the resizing of the environ array. We assume that we are in full ownership, but that's not correct.[Bug 979640] FossilOrigin-Name: bb8bbfd313a53585dc5ff09eb60b466fbac2e298
* win/tclWinSerial.c (SerialSetOptionProc): free argv [Bug 1067708]hobbs2005-10-052-424/+431
| | | FossilOrigin-Name: fa6ea77a80ca8d625e039d42f471b605daaccab7