summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclFileName.c (TclGlob): mac specific fix todas2002-06-051-4/+4
| | | | | | | | | recent changes in 'glob -tails' handling. * mac/tclMacPort.h: * mac/tclMacChan.c: fixed TIP#91 bustage. * mac/tclMacResource.c (Tcl_MacConvertTextResource): added utf conversion of text resource contents. * tests/macFCmd.test (macFCmd-1.2): allow CWIE creator.
* * Added more TIP 85 tests from Arjen Markus.dgp2002-06-052-363/+479
| | | | | | Converted tcltest.test to use a private namespace. Fixed bugs in [tcltest::Eval] revealed by calling [tcltest::test] from a non-global namespace, and namespace errors in init.test.
* * Implementation of TIP 85. Allows tcltestdgp2002-06-031-8/+111
| | | | | | | users to add new legal values of the -match option to [test], associating each with a Tcl command that does the matching of expected results with actual results of tests. Thanks to Arjen Markus. [Patch 521362]
* * Use the "stdio" constraint to control whetherdgp2002-05-312-12/+12
| | | | an [open "|[interpreter]"] is attempted.
* glob fixesvincentdarley2002-05-301-3/+16
|
* added more string comparison checkshobbs2002-05-292-2/+26
|
* better qualified 9.1 constraint check for %shobbs2002-05-291-4/+7
|
* * tests/clock.test: added clock-9.1hobbs2002-05-291-1/+14
| | | | | | | | | | | | * compat/strftime.c: * generic/tclClock.c: * generic/tclInt.decls: * generic/tclIntDecls.h: * unix/tclUnixTime.c: fix for Windows msvcrt mem leak caused by using an env(TZ) setting trick for in clock format -gmt 1. This also makes %s seem to work correctly with -gmt 1 as well as making it a lot faster by avoid the env(TZ) hack. TclpStrftime now takes useGMT as an arg. [Bug #559376]
* * tests/winPipe.test: Applied patch for SF Tcl Bug #549617. Patchandreas_kupries2002-05-241-6/+6
| | | | and bug report by Kevin Kenny <kennykb@users.sourceforge.net>.
* * Corrected some list-quoting issues anddgp2002-05-103-10/+10
| | | | | other matters that cause tests to fail when the patch includes special characters. Report from Vince Darley. [Bug 554068].
* * Fixes to test suite when there's a spacedgp2002-05-081-2/+2
| | | | in the working path. Thanks to Kevin Kenny.
* * Fixes to test suite when there's a spacedgp2002-05-084-32/+35
| | | | in the working path. Thanks to Kevin Kenny.
* fix to bug 553320vincentdarley2002-05-073-14/+19
|
* Fix for bugs #549607 & #549610: testsuite failures for filenames with spaces.Miguel Sofer2002-05-072-7/+7
|
* fix to 551306vincentdarley2002-05-023-3/+38
|
* Added more thorough tests for handling of conversion to boolean.dkf2002-04-261-1/+13
|
* corrected constraint name for filename-12.1.4 to pcOnly from unixpcOnlyhobbs2002-04-221-2/+2
|
* list/string indexes don't destroy wide int rep [Bug #526717]dkf2002-04-191-1/+6
|
* [Bug 545325 ] info level didn't report namespace eval.Miguel Sofer2002-04-181-1/+6
|
* Fixed Bug #545644; [info body] always gives a proper string now!dkf2002-04-181-5/+13
|
* fix for [Bug #542588], where "too large integers" were reported asMiguel Sofer2002-04-181-1/+8
| | | | "floating-point value" in [expr] error messages.
* * Revised to run tests in a namespace, rather thandgp2002-04-171-57/+72
| | | | | use the useless and buggy [saveState] and [restoreState] commands of tcltest. Updated to use tcltest 2 as well. [Patch 544911]
* * Revised to run tests in a namespace, rather thandgp2002-04-161-330/+379
| | | | | use the useless and buggy [saveState] and [restoreState] commands of tcltest. Updated to use tcltest 2 as well. [Patch 544546]
* * Parts of fileSystem.test require tcltest 2. Added appropriate checks.dgp2002-04-162-20/+45
|
* * Increased timeout values so that tests havedgp2002-04-151-8/+8
| | | | time to successfully complete even on slow/busy machines. [Bug 523470]
* Improved stack trace for TCL_BREAK and TCL_CONTINUE returns from procs. [Bug ↵Miguel Sofer2002-04-151-3/+5
| | | | 536955].
* made bytecodes check for a catch before returning; the compiled [return] is ↵Miguel Sofer2002-04-151-1/+10
| | | | otherwise non-catchable. [Bug 542588]
* * Revised [tcltest::test] to return errorsdgp2002-04-151-21/+25
| | | | | | | when called with invalid syntax and to accept exactly two arguments as documented. Improved error messages. [Bug 497446, Patch 513983] ***POTENTIAL INCOMPATIBILITY***: Incompatible with previous tcltest 2.* releases, found only in alpha releases of Tcl 8.4.
* tests/ioCmd.test: fixed iocmd-8.15 to have mac and unixPc variantshobbs2002-04-121-14/+21
|
* fixed copyright noticehobbs2002-04-101-2/+4
|
* 2002-04-08 Daniel Steffen <das@users.sourceforge.net>das2002-04-085-15/+21
| | | | | | | | | | | | | | | | | | | * 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.
* * Corrected [subst] so that return codesdgp2002-04-051-1/+13
| | | | | | TCL_BREAK and TCL_CONTINUE returned by variable substitution have the same effect as when those codes are returned by command substitution. [Bug 536879]
* fs ~ cache clear testvincentdarley2002-04-031-0/+14
|
* * generic/tclCmdMZ.c (Tcl_TraceObjCmd, TraceVarProc)hobbs2002-03-291-1/+12
| | | | | | | | | (TraceCommandProc, TclTraceCommandObjCmd): corrected potential double-free of traces on variables by flagging in Trace*Proc that it will free the var in case the eval wants to delete the var trace as well. [Bug #536937] Also converted Tcl_UntraceVar -> Tcl_UntraceVar2 and Tcl_Eval to Tcl_EvalEx in Trace*Proc for slight efficiency improvement.
* * Corrected problems with Tcl_AllowExceptionsdgp2002-03-291-1/+42
| | | | | having influence over the wrong scope of Tcl_*Eval* calls. Patch from Miguel Sofer. Report from Jean-Claude Wippler. [Bug 219181]
* avoid exceptional returns at level 0 [Bug 219181]Miguel Sofer2002-03-271-1/+15
|
* * Major code cleanup to deal with whitespace,dgp2002-03-271-10/+10
| | | | | coding conventions, and namespace issues, with several minor bugs fixed in the process.
* * Added missing [after cancel]s.dgp2002-03-271-3/+5
|
* * Removed workarounds for Bug 495977.dgp2002-03-251-63/+183
|
* fixed typo and compiler warning in last commit; all tests now pass on unixvincentdarley2002-03-241-1/+1
|
* fs testsvincentdarley2002-03-241-1/+3
|
* fs testsvincentdarley2002-03-241-1/+1
|
* 4 fs fixesvincentdarley2002-03-244-6/+197
|
* adding test for [Bug 533758], fixed earlier today.Miguel Sofer2002-03-231-3/+25
|
* Fixed buffer overrun reported in 530320; luckily it is not likely todkf2002-03-151-1/+8
| | | | | be exploitable in any meaningful way, but crashing Tcl instead of triggering an error still isn't good.
* * Added the [interp recursionlimit] command todgp2002-03-071-23/+522
| | | | | set/query the recursion limit of an interpreter. Proposal and implementation from Stephen Trier. [TIP 87, Patch 522849]
* TIP#81 implementation, tests and docsdkf2002-03-061-16/+84
|
* * tests/io.test:hobbs2002-03-042-7/+49
| | | | | | | | | * 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]
* corrected iso2022 return encoding escapehobbs2002-03-021-2/+2
|
* * 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.