| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
FossilOrigin-Name: 43fe3048397d3a082c8a3c34f0cd6875f4350dd3
|
| |
|
|
|
|
|
|
| |
Revised test cases, making sure that abbreviated
codes are checked resulting in an error, and
checking for the exact error message.
FossilOrigin-Name: 8a5a22ad19487fa1fa9e96c539fc053111ab3a78
|
| |
|
| |
FossilOrigin-Name: f90f573d18f87ab1e88361e964ee10f0a73cfb63
|
| |
|
|
|
| |
manifestations in the future. Add tcltest support for finalization.
FossilOrigin-Name: 8fa4d0a5b9522d777f23908a685d9c58ccef2d34
|
| |
|
|
|
|
| |
(though not of its output format).
FossilOrigin-Name: 677f3de5be6eecbfdffcbc5dad8679bcf673c6b8
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
global variables ::errorInfo, ::errorCode, ::env and
::tcl_platform: many were relying on the alternative lookup in the
global namespace, that feature is tested specifically in namespace
and variable tests.
The modified testfiles are: apply.test, basic.test, case.test,
cmdIL.test, cmdMZ.test, compExpr-old.test, error.test, eval.test,
event.test, expr.test, fileSystem.test, for.test, http.test,
if.test, incr-old.test, incr.test, interp.test, io.test,
ioCmd.test, load.test, misc.test, namespace.test, parse.test,
parseOld.test, pkg.test, proc-old.test, set.test, switch.test,
tcltest.test, thread.test, var.test, while-old.test, while.test.
FossilOrigin-Name: a8fcd798f4d17d4d3c958b65f206e78267d99627
|
| |
|
|
|
|
|
|
|
|
|
| |
containing backslash-quoted value is treated correctly.
* generic/tclCompile.c (TclWordKnownAtCompileTime): [Bug 986196]
Corrected flaw above and the flaw that caused TCL_TOKEN_SIMPLE_WORDs
to have their original word value copied ( "{a b}" ) rather than the
actual value ( "a b" ). Thanks to Kevin Kenny for report and tests.
FossilOrigin-Name: 22941dd4e1b327492f9344b0bd87e6ec8e025d86
|
| |
|
|
|
|
|
| |
Added a test that a return code containing spaces is correctly
returned.
FossilOrigin-Name: 8e3628cad73106751096b37f1bfc0da248a70799
|
| |
|
| |
FossilOrigin-Name: f6289216a6b8e8d361beccf3be1d2828d810f7ba
|
| |
|
| |
FossilOrigin-Name: b6330dbac725e2d527ad089669aa7f4779d19398
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* tests/cmdMZ.test: list-quoting of path names that might
* tests/exec.test: contain Tcl-special chars like { or [.
* tests/io.test: Should help us sort out Tcl Bug 554068.
* tests/pid.test:
* tests/socket.test:
* tests/source.test:
* tests/unixInit.test:
FossilOrigin-Name: 0fb8324d96f8136273a901d03c2b9804166ac966
|
| |
|
|
|
|
|
| |
systems are using permissions caching, and this isn't really a Tcl
controlled issue.
FossilOrigin-Name: 0f226694e49d06b18d8405d5dc3c92758b2dd9a8
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/source.n: TIPs 137/151. Adds
* doc/tclsh.1: a -encoding option to
* generic/tcl.decls: the [source] command
* generic/tclCmdMZ.c (Tcl_SourceObjCmd): and a new C routine,
* generic/tclIOUtil.c (Tcl_FSEvalFileEx): Tcl_FSEvalFileEx(),
* generic/tclMain.c (Tcl_Main): that provides C access
* mac/tclMacResource.c (Tcl_MacSourceObjCmd): to the same function.
* tests/cmdMZ.test: Also adds command line
* tests/main.test: option handling in Tcl_Main() so that tclsh
* tests/source.test: and other apps built on Tcl_Main() respect
a -encoding command line option before a script filename. Docs and
tests updated as well. [Patch 742683]
This is a ***POTENTIAL INCOMPATIBILITY*** only for those C programs
that embed Tcl, build on Tcl_Main(), and make use of Tcl_Main's former
ability to pass a leading "-encoding" option to interactive shell
operations.
* generic/tclInt.decls: Added internal stub
* generic/tclMain.c (Tcl*StartupScript*): table entries for
two new functions Tcl_SetStartupScript() and Tcl_GetStartupScript()
that set/get the path and encoding for the startup script to be
evaluated by either Tcl_Main() or Tk_Main(). Given public names in
anticipation of their exposure by a followup TIP.
* generic/tclDecls.h: make genstubs
* generic/tclIntDecls.h:
* generic/tclStubInit.c:
FossilOrigin-Name: 8f0e879bbdc4e2ab4f52f86e0fb90d1455447e7b
|
| |
|
|
|
|
|
|
| |
* tests/cmdMZ.test: where the default -errorcode NONE value
was not copied into the return options dictionary. This correction
modified one test result.
FossilOrigin-Name: 3196407960555532f46e598ef5a0dd1faa70f97b
|
| |
|
|
|
|
| |
and tricky enough to discourage non-specialists...
FossilOrigin-Name: 9dafee66e240f17d87513dd07e1e4c48d4a0fb0c
|
| |
|
|
|
|
|
|
|
| |
longer set to NULL (Tcl_CreateObjCommand docs already say that it
should not be accessed).
* tests/cmdMZ.test: Forgot to import [temporaryDirectory].
FossilOrigin-Name: 22965bb0b08690777b678771b22356da37df86af
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclCmdAH.c: extends the [catch] and [return]
* generic/tclCompCmds.c: commands to enable creation of a
* generic/tclExecute.c: proc that is a replacement for
* generic/tclInt.h: [return]. [Patch 531640]
* generic/tclProc.c:
* generic/tclResult.c:
* tests/cmdAH.test:
* tests/cmdMZ.test:
* tests/error.test:
* tests/proc-old.test:
* library/tcltest/tcltest.tcl: The -returnCodes option to [test]
failed to recognize the symbolic name "ok" for return code 0.
FossilOrigin-Name: d2aab88bfde5587db4e06fc0d0f900ddf7db306a
|
| |
|
| |
FossilOrigin-Name: 6c57e7a165d844fc90be2f5de4f3edbb4ce7deae
|
| |
|
| |
FossilOrigin-Name: d6a2ce84903ff99a0db1daeb55b308ca24c46b43
|
| |
|
| |
FossilOrigin-Name: 29b02d384aec0378940bbf868147eff0e4a4dac7
|
| |
|
|
|
|
|
| |
Also updated several tests, mostly to correctly create and destroy
any temporary files in the [temporaryDirectory] of tcltest.
FossilOrigin-Name: 7e30b7a427687b12f5bc1752445fb994686ff993
|
| |
|
|
|
|
|
|
| |
** changes for 8.4, some already backported to 8.3.4 (patch #435658)
see ChangeLog for details
FossilOrigin-Name: f961ecdd17042f83d4cf5b21380c117066ed9b88
|
| |
|
|
|
|
| |
to prevent failure message on Linux due to OS caching bug.
FossilOrigin-Name: f3c485c4592b3bd02c33f9e36014306f1feec87a
|
| |
|
|
|
|
| |
::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
FossilOrigin-Name: c2f93a113cfcb17a21da67cc20f54ab3f1b9fa3c
|
| |
|
| |
FossilOrigin-Name: fdb0602e41e62bf526806c165dbf3f33a718fd37
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/cmdIL.test:
* tests/cmdMZ.test:
* tests/error.test:
* tests/ioCmd.test:
* tests/lindex.test:
* tests/linsert.test:
* tests/lrange.test:
* tests/lreplace.test:
* tests/string.test:
* tests/cmdIL.test:
* generic/tclUtil.c:
* generic/tclCmdMZ.c: Replaced "string icompare/iequal" with
-nocase and -length switches to "string compare/equal". Added a
-nocase option to "string map". Changed index syntax to allow
integer or end?-integer? instead of a full expression. This is
much simpler with safeTcl scripts since it avoids double
substitution issues.
FossilOrigin-Name: fb86d777335b2ac849402a221620f256735bb566
|
| |
|
|
|
|
|
|
|
| |
* tests/cmdMZ.test:
* tests/string.test:
* generic/tclCmdMZ.c (Tcl_StringObjCmd): Changed "string length"
to avoid regenerating the string rep of a ByteArray object.
FossilOrigin-Name: c7c3e9c0cf7b1cf737f729def5f4f9ac997d2e3d
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/cmdMZ.test:
* tests/error.test:
* tests/lindex.test:
* tests/linsert.test:
* tests/lrange.test:
* tests/lreplace.test:
* tests/string.test:
* generic/tclCmdMZ.c (Tcl_StringObjCmd):
* generic/tclUtil.c (TclGetIntForIndex): Applied Jeff Hobbs's
string patch which includes the following changes [Bug: 1845]:
FossilOrigin-Name: 2728afa3b5f0b6707d8655c44ac742ffa5dba059
|
|
|
FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
|