| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This stops [file exists] from returning false for files that exist but are locked by
resorting to FindFirstFile when GetFileAttributes fails.
|
|
|
|
|
|
| |
'My Documents' folder to the one that's correct for Windows 2000,
XP, Server 2003, Vista, Server 2008, and Windows 7.
(See http://support.microsoft.com/kb/310746)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
sure that Xxxxx_Init is always exported even when Tcl is built
static (otherwise we cannot create a DLL).
tclThreadTest.c: Make all functions static, except TclThread_Init.
fCmd.test Enable fCmd-30.1 when registry is available.
tcl.m4 Fix ${SHLIB_LD_LIBS} definition, fix conflicts
configure.in between static libraries and import library on windows.
configure (regenerated)
Makefile.in Simplifications related to tcl.m4 changes.
|
| |
|
|
|
|
|
|
| |
Fix safe-10.1 and safe-10.4 test cases,
making the wrong assumption that Tcltest
should be a static package.
|
|
|
|
| |
marks (added test case)
|
| |
|
|
|
|
| |
manifestations in the future. Add tcltest support for finalization.
|
|
|
|
|
|
| |
* tests/io.test: which used the number of _written_ bytes or
character to update the counters for the read bytes/characters.
New test io-53.11. This is a forward port from the 8.5 branch.
|
|
|
|
|
|
|
|
|
| |
On Windows7 and Vista we really have no access and these were
getting left behind.
A few tests were changed to reflect the intent of the test where
setting a directory chmod 000 should prevent any
modification. This restriction was ignored on XP but is honoured
on Vista
|
|
|
|
|
| |
[Bug 2895323]. Forward port from Tcl 8.5 branch, change by Don
Porter.
|
|
|
|
| |
"res". Forward port from 8.5
|
| |
|
|
|
|
|
|
|
|
|
| |
up to date with code guidelines, Tcl's features, also eliminating
a number of inefficiencies along the way.
(8) Converted the path token system to cache normalized paths and
path <-> token conversions. Removed more procedures not used any
longer. Removed the test cases 4.3 and 4.4 from safe.test. They
were testing the now deleted command "InterpStateName".
|
| |
|
|
|
|
|
|
|
| |
When creating the notwritabledir we deny the current user access to
delete the file. We must grant this right when we cleanup. Required
on Windows 7 when the user does not automatically have administrator
rights.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* tests/clock.test (clock-67.1):
Corrected a problem where '%%' followed by a letter in a format group
could expand recursively: %%R would turn into %%H:%M:%S. [Bug 2819334]
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/info.test: First, as noted in the comments of the
TclCleanupLiteralTable routine, since the teardown of the intrep
of one Tcl_Obj can cause the teardown of others in the same table,
the full table cleanup must be done with care, but the code did not
contain the same care demanded in the comment. Second, recent
additions to the info.test file had poor hygiene, leaving an array
variable ::a lying around, which breaks later interp.test tests during
a -singleproc 1 run of the test suite.
|
|
|
|
|
|
| |
hygiene (failure to save and restore the working directory) that
caused these two tests to fail on Windows (and [Bug 2806250]
to be reopened).
|
|
|
|
|
|
|
|
| |
Corrected a problem where [clock scan] didn't load the timezone
soon enough when processing a time format that lacked a complete
date. [Bug 2886852]
* tests/clock.test (clock-66.1):
Added a test case for the above bug.
|
|
|
|
|
|
|
|
|
|
|
| |
Corrected a regression in the fix to [Bug 2207436] that caused
[clock] to apply EU daylight saving time rules in the US.
Thanks to Karl Lehenbauer for reporting this regression.
* tests/clock.test (clock-52.4):
Added a regression test for the above bug.
* library/tzdata/Asia/Dhaka:
* library/tzdata/Asia/Karachi:
New DST rules for Bangladesh and Pakistan. (Olson's tzdata2009o.)
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* tests/error.test: Tcl_SetReturnOptions() calls as a simple fix
for [Bug 2855247]. Thanks to Anton Kovalenko for the report and fix.
Additional fixes for other failures demonstrated by new tests.
|
|
|
|
| |
Test error-15.9.3.0.0 covers [Bug 2855247].
|
|
|
|
| |
flaws in the propagation of return options by [try].
|
|
|
|
|
| |
unbalanced [] in regexp. Added additional simple test cases
of basic regsub command.
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclParse.c: wrapper around TclNRSubstObj(). This has
* tests/basic.test: the effect of caching compiled bytecode in
* tests/parse.test: the value to be substituted. Note that
Tcl_SubstObj() now exists only for extensions. Tcl itself no longer
makes any use of it. Note also that TclSubstTokens() is now reachable
only by Tcl_EvalEx() and Tcl_ParseVar() so tests aiming to test its
functioning needed adjustment to still have the intended effect.
|
|
|
|
|
|
|
|
|
| |
* generic/tclCmdMZ.c: [Bug 2314561].
* generic/tclCompCmds.c:
* generic/tclCompile.c:
* generic/tclInt.h:
* tests/coroutine.test:
* tests/parse.test:
|
| |
|
|
|
|
| |
* tests/into.test: script substitutions. [Bug 2850901].
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclBasic.c: compiler routine for the [subst] command.
* generic/tclCmdMZ.c: This is a partial solution to the need to
* generic/tclCompile.c: NR-enable [subst] since bytecode execution is
* generic/tclCompile.h: already NR-enabled. [Bug 2314561] Two new
* generic/tclExecute.c: bytecode instructions, INST_NOP and
* generic/tclInt.h: INST_RETURN_CODE_BRANCH were added to support
* generic/tclParse.c: the new routine. INST_RETURN_CODE_BRANCH is
* tests/basic.test: likely to be useful in any future effort to
* tests/info.test: add a bytecode compiler routine for [try].
* tests/parse.test:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tcl_EvalEx, TclEvalEx, TclAdvanceContinuations, TclNREvalObjEx):
* generic/tclCmdMZ.c (Tcl_SwitchObjCmd, TclListLines):
* generic/tclCompCmds.c (*):
* generic/tclCompile.c (TclSetByteCodeFromAny, TclInitCompileEnv,
TclFreeCompileEnv, TclCompileScript, TclCompileTokens):
* generic/tclCompile.h (CompileEnv):
* generic/tclInt.h (ContLineLoc, Interp):
* generic/tclObj.c (ThreadSpecificData, ContLineLocFree,
TclThreadFinalizeObjects, TclInitObjSubsystem,
TclContinuationsEnter, TclContinuationsEnterDerived,
TclContinuationsCopy, TclContinuationsGet, TclFreeObj):
* generic/tclParse.c (TclSubstTokens, Tcl_SubstObj):
* generic/tclProc.c (TclCreateProc):
* generic/tclVar.c (TclPtrSetVar):
* tests/info.test (info-30.0-24):
Extended the parser, compiler, and execution engine with code and
attendant data structures tracking the position of continuation
lines which are not visible in the resulting script Tcl_Obj*'s, to
properly account for them while counting lines for #280.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* tests/fileName.test: [glob]. [Bug 2837800]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/NRE.3: New public routine Tcl_NRExprObj() permits
* generic/tcl.decls: extension commands to evaluate Tcl expressions
* generic/tclBasic.c: in NR-enabled command procedures.
* generic/tclCmdAH.c:
* generic/tclExecute.c:
* generic/tclInt.h:
* generic/tclObj.c:
* tests/expr.test:
* generic/tclDecls.h: make genstubs
* generic/tclStubInit.c:
|
|
|
|
|
|
|
|
| |
* generic/tclIORChan.c: reflective channels (TIP 219, method
* tests/ioCmd.test: 'read'), enabling handlers to signal EAGAIN to
indicate 'no data, but not at EOF either', and other system
errors. Updated documentation, extended testsuite (New test cases
iocmd*-23.{9,10}).
|
| |
|
|
|
|
|
| |
* tests/format.test: when format spec request large width
floating point values. Thanks to Clemens Misch. [Bug 2830354]
|