summaryrefslogtreecommitdiffstats
path: root/tests/encoding.test
Commit message (Collapse)AuthorAgeFilesLines
* * doc/ParseCmd.3: Implementation of TIP 157. Adds recognitiondgp2003-11-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/Tcl.n: of the new leading {expand} syntax on words. * generic/tcl.h: Parses such words as the new Tcl_Token type * generic/tclBasic.c: TCL_TOKEN_EXPAND_WORD. Updated Tcl_EvalEx * generic/tclCompile.c: and the bytecode compiler/execution engine * generic/tclCompile.h: to recognize the new token type. New opcodes * generic/tclExecute.c: INST_LIST_VERIFY and INST_INVOKE_EXP and a new * generic/tclParse.c: operand type OPERAND_ULIST1 are defined. Docs * generic/tclTest.c: and tests are included. * tests/basic.test: * tests/compile.test: * tests/parse.test: * library/auto.tcl: Replaced several [eval]s used to perform * library/package.tcl: argument expansion with the new syntax. * library/safe.tcl: In the test files lindex.test and lset.test, * tests/cmdInfo.test: replaced use of [eval] to force direct * tests/encoding.test: string evaluation with use of [testevalex] * tests/execute.test: which more directly and robustly serves the * tests/fCmd.test: same purpose. * tests/http.test: * tests/init.test: * tests/interp.test: * tests/io.test: * tests/ioUtil.test: * tests/iogt.test: * tests/lindex.test: * tests/lset.test: * tests/namespace-old.test: * tests/namespace.test: * tests/pkg.test: * tests/pkgMkIndex.test: * tests/proc.test: * tests/reg.test: * tests/trace.test: * tests/upvar.test: * tests/winConsole.test: * tests/winFCmd.test: FossilOrigin-Name: cbfb8313bae848d0c0a2070542fbc2e4fa371ba2
* Altered test numers to eliminate duplicates, [Bugs 710313, 710320, 710352]msofer2003-03-271-2/+2
| | | FossilOrigin-Name: 101098e0e0c404d3d1544d6df5348f3c7be7863b
* * tests/encoding.test: Name temp files *.tcltestoutmdejong2003-03-071-5/+5
| | | | | | | | instead of *.out so that when they are removed later, we don't accidently toast any files named *.out that the user has created in the build directory. FossilOrigin-Name: a98aa84cc8c9746a5efb2a45ffe42880cb075dd1
* * generic/tclEncoding.c (LoadTableEncoding):hobbs2003-02-211-1/+131
| | | | | | | | | | | * library/encoding/cp932.enc: Correct jis round-trip encoding * library/encoding/euc-jp.enc: by adding 'R' type to .enc files. * library/encoding/iso2022-jp.enc: [Patch #689341] (koboyasi, taguchi) * library/encoding/jis0208.enc: * library/encoding/shiftjis.enc: * tests/encoding.test: FossilOrigin-Name: 3e571abd436400833c8512cb0decc12742e445b6
* * Cleaned up, constrained, and reduced the amount of [exec] usagedgp2002-07-101-15/+9
| | | | | | in the test suite. FossilOrigin-Name: b0f3dfed629f8e4c506365bc62ba4dd7900a03c6
* * Updated the instructions on running and adding to the test suite.dgp2002-07-011-40/+53
| | | | | | | Also updated several tests, mostly to correctly create and destroy any temporary files in the [temporaryDirectory] of tcltest. FossilOrigin-Name: 7e30b7a427687b12f5bc1752445fb994686ff993
* * Corrections to tcltest and the Tcl test suite so that a testdgp2002-06-221-4/+4
| | | | | | | | | with options -constraints knownBug -limitConstraints 1 only tests the knownBug tests. Mostly involves replacing direct access to the testConstraints array with calls to the testConstraint command (which requires tcltest version 2). FossilOrigin-Name: 9ba9324aefb481870bbdcf7c812e149be23ddd02
* Fix for bugs #549607 & #549610: testsuite failures for filenames with spaces.msofer2002-05-071-3/+3
| | | FossilOrigin-Name: 3ec77da87ce82b22646f66dc4be243c086a8158e
* 2002-04-08 Daniel Steffen <das@users.sourceforge.net>das2002-04-081-4/+6
| | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: no <sys/types.h> on mac. * mac/tclMacFile.c: minor fixes to Vince's changes from 03-24. * mac/tclMacOSA.c: * mac/tclMacResource.c: added missing Tcl_UtfToExternalDString conversions of resource file names. * mac/tclMacSock.c (TcpGetOptionProc): fixed bug introduced by Andreas on 02-25; changed strcmp's to strncmp's so that option comparison behaves like on other platforms. * mac/tcltkMacBuildSupport.sea.hqx (CW Pro6 changes): added support to allow Tk to hookup C library stderr/stdout to TkConsole. * tests/basic.test: * tests/cmdAH.test: * tests/encoding.test: * tests/fileSystem.test: * tests/ioCmd.test: fixed tests failing on mac: check for existence of [exec], changed some result strings. FossilOrigin-Name: 3ae45d9135ce87686a3e3b1927650b352481bc93
* * tests/io.test:hobbs2002-03-041-5/+47
| | | | | | | | | | | * tests/encoding.test: corrected iso2022 encoding results. added encoding-24.* * generic/tclEncoding.c (EscapeFromUtfProc): corrected output of escape codes as per RFC 1468. [Patch #474358] (taguchi) (TclFinalizeEncodingSubsystem): corrected potential double-free when encodings were finalized on exit. [Bug #219314, #524674] FossilOrigin-Name: 2804b06a3e59e423d17d347d1e5a2cb330008ef9
* * tests/encoding.test: added encoding-23.* testshobbs2002-03-021-19/+73
| | | | | | | | | * generic/tclIO.c (FilterInputBytes): reset the TCL_ENCODING_START flags in the ChannelState when using 'gets'. [Bug #523988] Also reduced the value of ENCODING_LINESIZE from 30 to 20 as this seems to improve the performance of 'gets' according to tclbench. FossilOrigin-Name: 53ae028f580704ebc7ea128bb94913d8ab77fea7
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948]. FossilOrigin-Name: c2f93a113cfcb17a21da67cc20f54ab3f1b9fa3c
* * tests/basic.test: updated test cases for 8.3hobbs1999-10-131-7/+7
| | | | | | | | * tests/encoding.test: fixed test case that change system encoding to a double-byte one (this causes a bogus mem read error for purify) FossilOrigin-Name: dcf7902796cf1e77177af6e71670032775aba857
* * tests/tcltest.test: Added additional tests for -tmpdir, markedjenn1999-08-231-3/+3
| | | | | | | | | | | | | | | | all tests that use exec as unixOrPc. * tests/encoding.test: * tests/interp.test: * tests/macFCmd.test: * tests/parseOld.test: * tests/regexp.test: Applied patches from Jim Ingham to add encoding to a Mac only interp test, change an error message in macFCmd.tet, put a comment in parseOld.test, fix tests using the testencoding path command, and put unixOrPc constraints on tests that use exec. FossilOrigin-Name: 13304f0d0d02e8e4244e1e51ab5e3e8479f962f2
* Improved support for empty array nameswelch1999-07-021-2/+2
| | | FossilOrigin-Name: 29f911e5bf6ae1423a0f7d8db5d9df225d7a8c92
* Changed the tests to use the testConstraints array that thejenn1999-07-011-2/+2
| | | | | | test harness uses instead of the old name (testConfig). FossilOrigin-Name: 6b946e4c3413bd78b62341d25d3a25f9f9a1d0b0
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
| | | FossilOrigin-Name: fdb0602e41e62bf526806c165dbf3f33a718fd37
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-0/+316
FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9