| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
no longer needed.
|
|
|
|
| |
timing sensitive to the Bug 1481986 fix. [Bug 1550858]
|
| |
|
|
|
|
|
|
| |
disabling the INST_TRY_CVT_TO_NUMERIC instruction at the end
of an expression when function arguments contain operators.
[Bug 1541274]
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
| |
ports.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* 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]
|
|
|
|
|
| |
to count up the number of arguments required by examining the
format string. [Bug 1547681]
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
* tests/parseExpr.test: testing the error messages of the
new expr parser. Several bug fixes and code simplifications that
appeared during that effort.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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:
|
|
|
|
|
| |
TclCheckBadOctal(), so both [expr 08] and [expr 08z] have same
additional info in error message.
|
|
|
|
| |
of the cwdPathPtr. [Bug 1536142]
|
| |
|
| |
|
|
|
|
|
| |
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]
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
| |
returns early (e.g. due to a signal), call it again instead of returning
a timeout result. Fixes intermittent event-13.8 failures.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/tclParseExpr.c: parse error messages.
|
|
|
|
| |
with prec[] static array.
|
| |
|
| |
|
| |
|
|
|
|
| |
with call to memcpy(). Thanks to afredd. [Patch 1530262]
|
| |
|
| |
|
| |
|
|
|
|
|
| |
channels are initialized before vfork() so that the child doesn't
potentially corrupt global state in the parent's address space.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* tests/expr.test: INST_EXPON that caused [expr 2**64]
to return 0 instead of the same value as [expr 1<<64].
|
|
|
|
| |
to afredd. [Bug 1518166]
|
|
|
|
| |
* tests/execute.test (execute-9.1): dgp's fix for [Bug 1522803].
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
notifier thread lazily upon first call to Tcl_WaitForEvent() rather than
in Tcl_InitNotifier(). Allows calling exeve() in processes where the
event loop has not yet been run (Darwin's execve() fails in processes
with more than one thread), in particular allows embedders to call
fork() followed by execve(), previously the pthread_atfork() child
handler's call to Tcl_InitNotifier() would immediately recreate the
notifier thread in the child after a fork.
* macosx/tclMacOSXFCmd.c (TclMacOSXCopyFileAttributes): add support
* macosx/tclMacOSXNotify.c (Tcl_InitNotifier): for weakly
* unix/tclUnixInit.c (Tcl_GetEncodingNameFromEnvironment): importing
symbols not available on OSX 10.2 or 10.3, enables binaires built on
later OSX versions to run on earlier ones.
* macosx/Tcl.xcodeproj/project.pbxproj: enable weak-linking; turn on
extra warnings.
* macosx/README: document how to enable weak-linking; cleanup.
* unix/tclUnixPort.h: add support for weak-linking; conditionalize
AvailabilityMacros.h inclusion; only disable realpath on 10.2 or earlier
when threads are enabled.
* unix/tclLoadDyld.c (TclpLoadMemoryGetBuffer): change runtime Darwin
* unix/tclUnixInit.c (TclpInitPlatform): release check to use
global initialized once.
* unix/tclUnixFCmd.c (DoRenameFile, TclpObjNormalizePath): add runtime
Darwin release check to determine if realpath is threadsafe.
* unix/configure.in: add check on Darwin for compiler support of weak
* unix/tcl.m4: import and for AvailabilityMacros.h header;
move Darwin specific checks & defines that are only relevant to the tcl
build out of tcl.m4; restrict framework option to Darwin; cleanup
quoting and help messages.
* unix/configure: autoconf-2.59
* unix/tclConfig.h.in: autoheader-2.59
* unix/tclLoadDyld.c (TclpLoadMemory): fix signed-with-unsigned
comparison and other warnings from gcc4 -Wextra.
|
|
|
|
|
|
| |
<AvailabilityMacros.h>. The missing header caused the upcoming
#if conditions to wrongly exclude realpath, causing file
normalize to ignore symbolic links in the path.
|
|
|
|
| |
has been garbage-collected.
|