summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclCompExpr.c: Corrected flawed logic fordgp2006-08-312-1/+8
| | | | | | disabling the INST_TRY_CVT_TO_NUMERIC instruction at the end of an expression when function arguments contain operators. [Bug 1541274]
* * tests/expr-old.test: The remaining failing tests reported indgp2006-08-313-4/+11
| | | | | | * tests/expr.test: [Bug 1381715] are all new in Tcl 8.5, so there's really no issue of compatibility with Tcl 8.4 result to deal with. Fixed by updating tests to expect 8.5 results.
* * generic/tclParseExpr.c: Dropped the old expr parser.dgp2006-08-302-1965/+12
|
* * generic/tclBasic.c (Tcl_CreateInterp): init iPtr->threadIdhobbs2006-08-302-1/+4
|
* * win/tclWinChan.c [Bug 819667] Improve logic for identifying COMhobbs2006-08-302-51/+55
| | | | ports.
* see changeshobbs2006-08-301-4/+16
|
* * generic/tclIOGT.c (ExecuteCallback):hobbs2006-08-302-5/+6
| | | | | * generic/tclPkg.c (Tcl_PkgRequireEx): replace Tcl_GlobalEval(Obj) with more efficient Tcl_Eval(Obj)Ex
* * unix/Makefile.in (valgrindshell): add valgrindshell target andhobbs2006-08-301-2/+9
| | | | | update default VALGRINDARGS. User can override, or add to it with VALGRIND_OPTS env var.
* * generic/tclFileName.c (DoGlob): match incrs with decrs.hobbs2006-08-301-1/+3
|
* silence compiler warndgp2006-08-291-2/+2
|
* undo mistaken commitdgp2006-08-291-2/+2
|
* * generic/tclParseExpr.c: Use the "parent" field ofdgp2006-08-292-6/+19
| | | | | | | orphan ExprNodes to store the closure of left pointers. This lets us avoid repeated re-scanning leftward for the left boundary of subexpressions, which in worst case led to near O(N^2) runtime.
* add casts to make gcc2 happy with previous commit [Bug 1548330]das2006-08-292-31/+31
|
* Fix for stack.test failures on FreeBSDJoe Mistachkin2006-08-293-13/+11
|
* fixed [ 1548263 ] NULL return from Tcl_FSGetNormalizedPath segvcoldstore2006-08-296-22/+48
|
* ftp://elsie.nci.nih.gov/pub/tzdata2006kKevin B Kenny2006-08-284-95/+106
|
* * generic/tclStringObj.c: Revised ObjPrintfVA to take caredgp2006-08-283-25/+42
| | | | | | | | * generic/tclParseExpr.c: to copy only whole characters when doing %s formatting. This relieves callers of TclObjPrintf() and TclFormatToErrorInfo() from needing to fix arguments to character boundaries. Tcl_ParseExpr() simplified by taking advantage. [Bug 1547786]
* * generic/tclStringObj.c: Corrected TclFormatObj's failuredgp2006-08-282-4/+17
| | | | | to count up the number of arguments required by examining the format string. [Bug 1547681]
* undo last commit.dgp2006-08-282-6/+2
|
* simplification of previous commit, whitespace cleanupdas2006-08-281-13/+8
|
* fixed printf format warnings from gcc4 when TCL_COMPILE_STATS defineddas2006-08-282-10/+10
|
* Fixes for [Bug 1547662] and [Bug 1547681]Joe Mistachkin2006-08-283-7/+21
|
* bugfix, docs clarification and new tests for 'namespace upvar' [Bug 1546833]Miguel Sofer2006-08-264-17/+134
|
* * library/tzdata: Regenerated, including several new files,Kevin B Kenny2006-08-2450-2510/+4212
| | | | | | | | | from Olson's tzdata2006j. * library/clock.tcl: * tests/clock.test: Removed an early testing hack that allowed loading 'registry' from the build tree rather than an installed one. This is a workaround for [Bug 15232730], which remains open because it's a symptom of a deeper underlying problem.
* removed now no longer needed '-constraints newExprParser' arg to tcltestdas2006-08-242-6/+4
|
* * generic/tclParseExpr.c: Minimal collection of new testsdgp2006-08-233-44/+221
| | | | | | * tests/parseExpr.test: testing the error messages of the new expr parser. Several bug fixes and code simplifications that appeared during that effort.
* More test flexibilitydgp2006-08-223-50/+15
|
* * tests/compExpr-old.test: Update existing tests to not faildgp2006-08-2210-843/+686
| | | | | | | | | | | * tests/compExpr.test: with the new expr parser. * tests/compile.test: * tests/expr-old.test: * tests/expr.test: * tests/for.test: * tests/if.test: * tests/parseExpr.test: * tests/while.test:
* * generic/tclParseExpr.c: Revised mistaken call todgp2006-08-212-7/+16
| | | | | TclCheckBadOctal(), so both [expr 08] and [expr 08z] have same additional info in error message.
* * generic/tclIOUtil.c: Revisions to complete the thread finalizationdgp2006-08-212-1/+8
| | | | of the cwdPathPtr. [Bug 1536142]
* Fix the 'gdb' target.dkf2006-08-212-17/+22
|
* typo: s/Xcode 2.3/Xcode 2.4/das2006-08-212-4/+4
|
* * unix/tclUnixPort.h (Darwin): override potentially faulty configuredas2006-08-212-8/+18
| | | | | detection of termios availability in all cases, since termios is known to be present on all Mac OS X releases since 10.0. [Bug 497147]
* add support for building without -fconstant-cfstrings, e.g. when ↵das2006-08-211-3/+15
| | | | MACOSX_DEPLOYMENT_TARGET unset. [Bug 1543715]
* sync with relevant core-8-4-branch additionsdas2006-08-211-1/+25
|
* * generic/tclClock.c (ClockClicksObjCmd): add support for Darwindas2006-08-217-10/+133
| | | | | | | | | * generic/tclCmdMZ.c (Tcl_TimeObjCmd): nanosecond resolution timer * generic/tclInt.h: to [clock clicks] and [time] * unix/configure.in (Darwin): when TCL_WIDE_CLICKS defined. * unix/tclUnixTime.c (TclpGetWideClicks, TclpWideClicksToNanoseconds): * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
* * macosx/tclMacOSXNotify.c (Tcl_WaitForEvent): if the run loop isdas2006-08-213-4/+58
| | | | | | | | | | | | | already running (e.g. if Tcl_WaitForEvent was called recursively), re-run it in a custom run loop mode containing only the source for the notifier thread, otherwise wakeups from other sources added to the common run loop modes might get lost. * unix/tclUnixNotfy.c (Tcl_WaitForEvent): on 64-bit Darwin, pthread_cond_timedwait() appears to have a bug that causes it to wait forever when passed an absolute time which has already been exceeded by the system time; as a workaround, when given a very brief timeout, just do a poll on that platform. [Bug 1457797]
* * unix/tclUnixChan.c (TclUnixWaitForFile): with timeout < 0, if select()das2006-08-182-1/+8
| | | | | returns early (e.g. due to a signal), call it again instead of returning a timeout result. Fixes intermittent event-13.8 failures.
* * unix/tcl.m4 (Darwin): add support for --enable-64bit on x86_64, fordas2006-08-1814-58/+348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | universal builds including x86_64, for 64-bit CoreFoundation on Leopard and for use of -mmacosx-version-min instead of MACOSX_DEPLOYMENT_TARGET. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59 * generic/tcl.h: add fixes for building on Leopard and support * unix/tclUnixPort.h: for 64-bit CoreFoundation on Leopard. * macosx/tclMacOSXFCmd.c: * unix/tclUnixPort.h: on Darwin x86_64, disable use of vfork as it causes execve to fail intermittently. (rdar://4685553) * generic/tclTomMath.h: on Darwin 64-bit, for now disable use of 128-bit arithmetic through __attribute__ ((mode(TI))), as it leads to link errors due to missing fallbacks. (rdar://4685527) * macosx/Tcl.xcodeproj/project.pbxproj: add x86_64 to universal build, switch native release targets to use DWARF with dSYM, Xcode 3.0 changes. * macosx/README: updates for x86_64 and Xcode 2.3. * macosx/Tcl.xcodeproj/default.pbxuser: add test suite target that runs * macosx/Tcl.xcodeproj/project.pbxproj: the tcl test suite at build time and shows clickable test suite errors in the GUI build window. * tests/macOSXFCmd.test: fix use of deprecated resource fork paths. * unix/tclUnixInit.c (TclpInitLibraryPath): move code that is only needed when TCL_LIBRARY is defined to run only in that case. * generic/tclLink.c (LinkTraceProc): fix 64-bit signed-with-unsigned comparison warning from gcc4 -Wextra.
* * generic/tclCompile.c: Revised the new set of expressiondgp2006-08-173-104/+89
| | | | * generic/tclParseExpr.c: parse error messages.
* * generic/tclParseExpr.c: Replace PrecedenceOf() functiondgp2006-08-162-76/+19
| | | | with prec[] static array.
* Added missing braces to validation codedkf2006-08-142-2/+7
|
* It seems that the original submitter of the patch didn't test it. Add a dkf2006-08-111-1/+9
| | | | critical buffer reset so that nested namespaces get the right fullName...
* Applied [Patch 1352382]dkf2006-08-112-150/+156
|
* D'oh! Fix silly mistakes.dkf2006-08-101-3/+3
|
* Various minor object file size efficiency fixes. [Bug 1530474]dkf2006-08-1023-278/+286
|
* * generic/tclEncoding.c: Replace buffer copy in for loopdgp2006-08-092-4/+7
| | | | with call to memcpy(). Thanks to afredd. [Patch 1530262]
* Error message consistency improvements. [Bug 1534628]dkf2006-08-093-8/+11
|
* Fix silly error in error handling for uncompiled [dict for]. [Bug 1531184]dkf2006-08-093-12/+18
|
* Make [expr] use in examples more idiomatic [Bug 1526581]dkf2006-08-097-511/+488
|