summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * tests/info.test (info-37.0): Add !singleTestInterp constraint;das2008-07-251-21/+21
| | | | | | (info-22.8, info-23.0): switch to glob matching to avoid sensitivity to tcltest.tcl line number changes, remove knownBug constraint, fix expected result. [Bug 1605269]
* Added relative speed test for pure byte array concats.ferrieux2008-07-231-1/+12
|
* Added relative speed test for lrange, checking fro in-place optimization.ferrieux2008-07-231-2/+7
|
* * tests/info.test: Reordered the tests to have monotonouslyandreas_kupries2008-07-231-154/+154
| | | | increasing numbers.
* Rename new test to avoid duplicate test name.andreas_kupries2008-07-231-2/+2
|
* * generic/tclBasic.c: Modified TclArgumentGet to reject pure listsandreas_kupries2008-07-231-1/+27
| | | | | | | | | | * generic/tclCmdIL.c: immediately, without search. Reworked setup * generic/tclCompile.c: of eoFramePtr, doesn't need the line * tests/info.test: information, more sensible to have everything on line 1 when eval'ing a pure list. Updated the users of the line information to special case this based on the frame type (i.e. TCL_LOCATION_EVAL_LIST). Added a testcase demonstrating the new behaviour.
* * generic/tclBasic.c: Extended the existing TIP #280 system (infoandreas_kupries2008-07-211-7/+7
| | | | | | | | | | | | * generic/tclCmdAH.c: frame), added the ability to track the * generic/tclCompCmds.c: absolute location of literal procedure * generic/tclCompile.c: arguments, and making this information * generic/tclCompile.h: available to uplevel, eval, and * generic/tclInterp.c: siblings. This allows proper tracking of * generic/tclInt.h: absolute location through custom (Tcl-coded) * generic/tclNamesp.c: control structures based on uplevel, etc. * generic/tclProc.c: * tests/info.test:
* fix [2021443] inconsistant "wrong # args" messages (follow-up)nijtmans2008-07-215-15/+15
|
* Added test for file rename with inode collision on windowspatthoyts2008-07-211-1/+39
|
* fix [2021443] inconsistant "wrong # args" messages (follow-up)nijtmans2008-07-218-35/+35
|
* Resync with recent ?arg ...? normalizationferrieux2008-07-212-4/+4
|
* TIP #304 implementationferrieux2008-07-213-14/+46
|
* * generic/tclBasic.c: NRE: enabled calling NR commandsMiguel Sofer2008-07-211-12/+23
| | | | | | | | * generic/tclExecute.c: from the callbacks. Completely * generic/tclInt.h: redone tailcall implementation * generic/tclNRE.h: using the new feature. * generic/tclProc.c: * tests/NRE.test:
* add cleanup to fix subsequent test failures with -singleproc 1das2008-07-201-14/+36
|
* * tests/fileName.test: Repaired the failing test fileName-15.7Kevin B Kenny2008-07-201-2/+2
| | | | from dkf's commit earlier today.
* Reduce obscurity of tests by eliminating many [catch]es through use of tcltest2dkf2008-07-201-624/+549
|
* Finish cleaning up this file (move cleanup actions out of test bodies, etc.)dkf2008-07-201-96/+124
|
* fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-1925-67/+67
|
* Fix miguel's problem with env failures; need LANG to get [encoding system]dkf2008-07-191-30/+32
| | | | right in subprocesses...
* More test cleanup.dkf2008-07-191-273/+237
|
* Rewrite to use tcltest2 and not generate non-ascii chars in results.dkf2008-07-191-55/+58
| | | | Part of fix of [Bug 1513659]
* * tests/NRE.test: Added basic tests for deep TclOO callsMiguel Sofer2008-07-181-1/+89
|
* * tests/NRE.test: better constraint for testing theMiguel Sofer2008-07-162-7/+14
| | | | | * tests/stack.test: existence of teststacklimit, to insure that the testsuite runs under tclsh.
* * generic/tclParse.c: reverting the "fix" for [Bug 2017583],Miguel Sofer2008-07-141-3/+3
| | | | | * tests/parse.test: numLevel management and TclInterpReady check seems to be necessary after all.
* * generic/tclParse.c: remove unnecessary numLevel managementMiguel Sofer2008-07-141-3/+3
| | | | [Bug 2017583]
* more consistent wrong # arg messages: change all messages containing ↵nijtmans2008-07-1312-37/+37
| | | | ?options? to the form ?-option value ...?
* added new files generic/tclNRE.h and tests/NRE.testMiguel Sofer2008-07-131-0/+308
|
* NRE implementation [Patch 2017110]Miguel Sofer2008-07-133-12/+12
|
* Fix [2006884]dkf2008-07-011-10/+8
|
* * library/tm.tcl: Modified the handling of Tcl Modules and of theandreas_kupries2008-06-251-9/+9
| | | | | | * library/safe.tcl: Safe Base to interact nicely with each other, * library/init.tcl: enabling requiring Tcl Modules in safe * tests/safe.test: interpreters. Fixes [Bug 1999119].
* * changes: Updates for 8.6a1 release.dgp2008-06-207-22/+56
| | | | | | | | | | | | | | * generic/tclInterp.c: Fixed completely boneheaded mistake that * tests/interp.test: [interp bgerror $slave] and [$slave bgerror] would always act like [interp bgerror {}]. [Bug 1999035]. * tests/chanio.test: Corrected flawed tests revealed by a -debug 1 * tests/cmdAH.test: -singleproc 1 test suite run. * tests/event.test: * tests/interp.test: * tests/io.test: * tests/ioTrans.test: * tests/namespace.test:
* * tests/encoding.test: Make failing tests pass again.dgp2008-06-201-1/+3
|
* Make [next] work as described in TIP. [Bug 1998244]dkf2008-06-191-11/+13
|
* Fix [Bug 1998221]dkf2008-06-191-1/+18
|
* 2006-06-17 Kevin Kenny <kennykb@acm.org>Kevin B Kenny2008-06-171-1/+9
| | | | | | | | | * generic/tclClock.c (ConvertLocalToUTC): * tests/clock.test (clock-63.1): Fixed a bug where the internal ConvertLocalToUTC command segfaulted if passed a dictionary without the 'localSeconds' key. To the best of my knowledge, the bug was not observable in the [clock] command itself.
* * generic/tclCmdIL.c (TclInfoFrame): Moved the code looking up theandreas_kupries2008-06-161-8/+8
| | | | | | | | * tests/info.test: information for key 'proc' out of the TCL_LOCATION_BC branch to after the switch, this is common to all frame types. Updated the testsuite to match. This was exposed by the 2008-06-08 commit (Miguel), switching uplevel from direct eval to compilation. Fixes [Bug 1987851].
* * tests/ioTrans.test (iortrans-11.*): Fixed same issue as forandreas_kupries2008-06-161-1/+3
| | | | | iortrans.tf-11.*, cleanup of temp file, making this a followup to the entry on 2008-06-10 by myself.
* TIP 285 ImplementationJoe Mistachkin2008-06-133-10/+1198
|
* sync with 2008-05-26 io-53.9 changedas2008-06-121-1/+2
|
* * tests/ioTrans.test (iortrans.tf-6.1): Fixed the [Bug 1988552],andreas_kupries2008-06-101-3/+8
| | | | | | | | reported by Kevin. Have to close the channel before removal of the file. Fixed same bug in test 'iortrans.tf-11.0', after fixing missing cleanup of the file in 'iortrans.tf-11.*'. Lastly fixed the names of the threaded tests 'iortrans-8.*' to the correct 'iortrans.tf-8.*'.
* * generic/tclBasic.c: Compilation of uplevel scripts, allowMiguel Sofer2008-06-081-1/+68
| | | | | | | | | * generic/tclCompCmds.c: non-body compiled scripts to access the * generic/tclCompile.c: LVT (but not to extend it) and enable the * generic/tclCompile.h: canonical list opt to sidestep the * generic/tclExecute.c: compiler. This is [Patch 1973096] * generic/tclProc.c: * tests/uplevel.test:
* TIP #230 IMPLEMENTATIONandreas_kupries2008-06-063-5/+1468
| | | | | | | | | | | | | | | | | | | * generic/tclIOCmd.c: Integration of transform commands into 'chan' ensemble. * generic/tclInt.h: Definitions of the transform commands. * generic/tclIORTrans.c: Implementation of the reflection transforms. * tests/chan.test: Tests updated for new sub-commands of 'chan'. * tests/ioCmd.test: Tests updated for new sub-commands of 'chan'. * tests/ioTrans.test: Whole new set of tests for the reflection transform. * unix/Makefile.in: Integration of new files into build rules. * win/Makefile.in: Integration of new files into build rules. * win/makefile.vc: Integration of new files into build rules. NOTE: The file 'tclIORTrans.c' has a lot of code in common with the file 'tclIORChan.c', as that made it much easier to develop the reference implementation as a separate module. Now that the transforms have been committed the one thing left to do is to go over both modules and see which of the common parts we can factor out and share.
* TIP #317 implementationpatthoyts2008-06-031-17/+307
|
* * tests/msgcat.test: fix for ::tcl::mac::locale with @modifier.das2008-05-311-2/+3
|
* Plug method-related memory leaks pointed out by Miguel.dkf2008-05-311-1/+8
|
* Implementation of TIP #257. Incomplete due to missing Win build support.dkf2008-05-313-12/+1782
|
* (io-53.9): need to close chan before removing filehobbs2008-05-261-1/+2
|
* * win/tclWinChan.c (FileWideSeekProc): Accepted a patch byandreas_kupries2008-05-232-12/+12
| | | | | | | | | | | | Alexandre Ferrieux <ferrieux@users.sourceforge.net> to fix the [Bug 1965787]. 'tell' now works for locations > 2 GB as well instead of going negative. * generic/tclIO.c (Tcl_SetChannelBufferSize): Accepted a patch by * tests/io.test: Alexandre Ferrieux <ferrieux@users.sourceforge.net> * tests/chanio.test: to fix the [Bug 1969953]. Buffersize outside of the supported range are now clipped to nearest boundary instead of ignored.
* * generic/tclParse.c (ParseComment): The new TclParseAllWhiteSpace()dgp2008-05-211-1/+5
| | | | | | | * tests/parse.test (parse-15.60): routine has no mechanism to return the "incomplete" status of "\\\n" so calling this routine anywhere that can be reached within a Tcl_ParseCommand() call is a mistake. In particular, ParseComment() must not use it. [Bug 1968882].
* Correct logic for handling error cases when setting the namespace unknown ↵dkf2008-05-201-2/+11
| | | | handler.