summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* trace.test remove knownBugvincentdarley2003-09-241-12/+13
|
* * tests/trace.test (trace-31,32-*): Added tests for [Bug 807243]dgp2003-09-241-1/+34
| | | | and [Bug 811483].
* Stop failure of expr-23.4 on 64bit architectures. [Bug 808244]dkf2003-09-191-2/+2
|
* * generic/tclExecute.c: adding (DE)CACHE_STACK_INFO() pairs to protect all ↵Miguel Sofer2003-09-191-1/+9
| | | | | | calls that may cause traces on ::errorInfo or ::errorCode to corrupt the stack [Bug 804681] ----------------------------------------------------------------------
* test suite fix for AFSvincentdarley2003-09-161-2/+8
|
* minor filesystem bug fixesvincentdarley2003-09-161-3/+43
|
* TIP#123 Implementation based on work by Arjen Markus. [Patch 655176]dkf2003-09-122-54/+108
|
* * doc/FileSystem.3: Implementation ofdgp2003-09-053-117/+382
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
* && of constraints is the default; need not be specified.dgp2003-09-041-3/+3
|
* Typo correction: knownbug -> knownBugdgp2003-09-041-2/+2
|
* * generic/tclCmdAH.c: Corrected bug in TIP 90 implementationdgp2003-08-291-2/+2
| | | | | | * tests/cmdMZ.test: where the default -errorcode NONE value was not copied into the return options dictionary. This correction modified one test result.
* * generic/tclUtil.c: Corrected [Bug 411825] and other bugs indgp2003-08-271-1/+21
| | | | | | TclNeedSpace() where non-breaking space (\u00A0) and backslash-escaped spaces were handled incorrectly. * tests/util.test: Added new tests util-8.[2-6].
* * tests/util.test: Added new tests for remaining TclNeedSpace()dgp2003-08-271-1/+36
| | | | bugs discussed in [Bug 411825].
* TIP#136 IMPLEMENTATION. We now have an [lrepeat] command!dkf2003-08-111-0/+79
|
* * tests/async.test: Added several tests that demonstrate Tcldgp2003-07-247-12/+148
| | | | | | | | | | * tests/basic.test: Bug 489537, Tcl's longstanding failure to * tests/dict.test: properly quote any leading '#' character * tests/dstring.test: when generating the string rep of a list * tests/list.test: so that the comment-power of that character * tests/parse.test: is hidden from any [eval], in order to * tests/util.test: satisfy the documentation that [list] does [eval]-safe quoting.
* * library/package.tcl: Fixed a typo that broke pkg_mkIndex -verbose.rmax2003-07-241-1/+9
| | | | * tests/pkgMkIndex.test: Added a test for [pkg_mkIndex -verbose].
* test suite on afs fixvincentdarley2003-07-211-3/+13
|
* * library/http/pkgIndex.tcl: upped to http v2.4.4hobbs2003-07-181-1/+7
| | | | | * library/http/http.tcl: add support for user:pass info in URL. * tests/http.test: [Bug 759888] (shiobara)
* Fixed error message to be less confusing [Bug 771539]dkf2003-07-151-2/+2
|
* Documented and tested for the current behaviour of [binary format a] anddkf2003-07-111-1/+23
| | | | [binary scan ? a]. This is what they've been doing all along. [Bug 735364]
* winFCmd.test fixvincentdarley2003-07-081-6/+20
|
* * tests/cmdAH.test: Made tests of [file mtime] work better on FATdkf2003-07-041-29/+76
| | | | filesystems. [Patch 760768] Also a little general cleanup.
* [string map] now can take dictionaries for maps but the condition for doing sodkf2003-07-041-1/+5
| | | | is deeply tricky. [Bug 759936]
* * tests/init.test: Added [cleanupTests] to report results of testsdgp2003-06-273-7/+6
| | | | | | * tests/pkg.test: that run in slave interps. [Bugs 761334,761344] * tests/http.test: Used more reliable path to find httpd script.
* * tests/init.test: Added tests init-4.6.* to illustrate [Bug 760872]dgp2003-06-261-3/+4
|
* Factored out the trace code - it's big enough to be its own maintenance areadkf2003-06-253-65/+63
| | | | and tricky enough to discourage non-specialists...
* * doc/dde.n: Committed TIP #135 which changes thepatthoyts2003-06-231-11/+23
| | | | | | * win/tclWinDde.c: -exact option to -force. Also cleaned * tests/winDde.test: a bug in the tests. * library/dde/pkgIndex.tcl: Incremented version to 1.2.5
* * doc/dde.n: Committed TIP #120 which provides thepatthoyts2003-06-231-10/+254
| | | | | | * win/tclWinDde.c: dde package for safe interpreters. * tests/winDde.test: Incremented package version to 1.2.4 * library/dde/pkgIndex.tcl:
* filesystem fixes -- see ChangeLogvincentdarley2003-06-231-1/+11
|
* regsub empty string fixes, and windows buildvincentdarley2003-06-171-1/+41
|
* * generic/tclBasic.c:Miguel Sofer2003-06-101-1/+11
| | | | | | | * generic/tclExecute.c: let TclExecuteObjvInternal call TclInterpReady instead of relying on its callers to do so; fix for the part of [Bug 495830] that is new in 8.4. * tests/interp.test: Added tests 18.9 (knownbug) and 18.10
* * generic/tcl.decls: Ported the changes from theandreas_kupries2003-06-091-0/+81
| | | | | | | | | | | | | | | | | * generic/tcl.h: 'tip-59-implementation' branch into the CVS * generic/tclBasic.c: head. Regenerated stub table. Regenerated * generic/tclInt.h: the configure's scripts, with help from Joe * generic/tclDecls.h English. * generic/tclStubInit.c: * generic/tclConfig.c: * generic/tclPkgConfig.c: * unix/Makefile.in: * unix/configure.in: The changes in the windows section are not * unix/tcl.m4: yet committed, they await feedback from * unix/mkLinks: David Gravereaux. * doc/RegConfig.3: * mac/tclMacPkgConfig.c: * tests/config.test:
* * string.test (string-4.15): Added test for [string first] bugdgp2003-06-091-1/+8
| | | | | reported in Tcl 8.3, where test for all-single-byte-encoded strings was not reliable.
* fix to WinTcl file rename error messagevincentdarley2003-06-021-1/+26
|
* * doc/dde.n: Updated documentation re TIP #130.patthoyts2003-05-161-70/+120
| | | | | * tests/winDde.test: Applied patch for [Bug 738929] by KKB and changed to new-style tests.
* * library/dde/pkgIndex.tcl: Applied TIP #130 which providespatthoyts2003-05-161-19/+140
| | | | | * tests/winDde.test: for unique dde server names. Added * win/tclWinDde.c: some more tests. Fixes [Bug 219293]
* Omitted constraint required for LP64 platforms.dkf2003-05-141-2/+2
|
* Stopped [format] from demoting wides to ints too easily. [Bug 699060]dkf2003-05-141-1/+24
|
* Implementation of TIP 118:das2003-05-143-2/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclFCmd.c (TclFileAttrsCmd): return the list of attributes that can be retrieved without error for a given file, instead of aborting the whole command when any error occurs. * unix/tclUnixFCmd.c: added support for new file attributes and for copying Mac OS X file attributes & resource fork during [file copy]. * generic/tclInt.decls: added declarations of new external commands needed by new file attributes support in tclUnixFCmd.c. * macosx/tclMacOSXFCmd.c (new): Mac OS X specific implementation of new file attributes and of attribute & resource fork copying. * mac/tclMacFCmd.c: added implementation of -rsrclength attribute & fixes to other attributes for consistency with OSX implementation. * mac/tclMacResource.c: fixes to OSType handling. * doc/file.n: documentation of [file attributes] changes. * unix/configure.in: check for APIs needed by new file attributes. * unix/Makefile.in: * unix/tcl.m4: added new platform specifc tclMacOSXFCmd.c source. * unix/configure: * generic/tclStubInit.c: * generic/tclIntPlatDecls.h: regen. * tools/genStubs.tcl: fixes to completely broken code trying to prevent overlap of "aqua", "macosx", "x11" and "unix" stub entries. * tests/unixFCmd.test: added tests of -readonly attribute. * tests/macOSXFCmd.test (new): tests of macosx file attributes and of preservation of attributes & resource fork during [file copy]. * tests/macFCmd.test: restore -readonly attribute of test dir, as otherwise its removal can fail on unices supporting -readonly.
* Cleaned up cmdAH.test to use test constraints properly.dkf2003-05-121-240/+240
|
* * generic/tclInterp.c: (AliasObjCmd): Added refCounting of the wordsdgp2003-05-121-1/+10
| | | | | * tests/interp.test (interp-33.1): of the target of an interp alias during its execution. Also added test. [Bug 730244].
* * generic/tclBasic.c (TclInvokeObjectCommand): objv[argc] is nodgp2003-05-121-1/+2
| | | | | | | longer set to NULL (Tcl_CreateObjCommand docs already say that it should not be accessed). * tests/cmdMZ.test: Forgot to import [temporaryDirectory].
* * generic/tclVar.c (TclObjLookupVar): [Bug 735335] temporary fix,Miguel Sofer2003-05-121-1/+16
| | | | | disabling usage of tclNsVarNameType. * tests/var.test (var-15.1): test for [Bug 735335]
* fix for [Bug 735055]Miguel Sofer2003-05-091-2/+2
|
* Made error message for [trace info] more consistent with documentation.dkf2003-05-071-2/+2
|
* * generic/tclBasic.c: Implementation of TIP 90, whichdgp2003-05-054-19/+137
| | | | | | | | | | | | | | | | * 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.
* Corrected error message for grammar and spelling.dkf2003-05-052-6/+6
|
* Made [incr] able to accept and work with wide increments [Bug 728838]dkf2003-04-281-13/+11
|
* Default mode of operation of [switch] is exact matching. [Bug 727563]dkf2003-04-281-2/+21
|
* fix to glob and filenames with square bracketsvincentdarley2003-04-251-1/+8
|