summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclCompCmdsSZ.c (TclSubstCompile): If the first token doesdkf2010-04-081-3/+17
| | | | | | | | not result in a *guaranteed* push of a Tcl_Obj on the stack, we must push an empty object. Otherwise it is possible to get to a 'concat1' or 'done' without enough values on the stack, resulting in a crash. Thanks to Joe Mistachkin for identifying a script that could trigger this case.
* TIP #348 IMPLEMENTATION - Substituted error stackferrieux2010-04-056-15/+49
|
* * generic/tcl.decls: [TIP #357]: First round of changesKevin B Kenny2010-04-023-5/+46
| | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: to export Tcl_LoadFile, Tcl_FindSymbol, * generic/tclIOUtil.c: and Tcl_FSUnloadFile to the public API. * generic/tclInt.h: * generic/tclLoad.c: * generic/tclLoadNone.c: * generic/tclStubInit.c: * tests/fileSystem.test: * tests/load.test: * tests/unload.test: * unix/tclLoadDl.c: * unix/tclLoadDyld.c: * unix/tclLoadNext.c: * unix/tclLoadOSF.c: * unix/tclLoadShl.c: * unix/tclUnixPipe.c: * win/Makefile.in: * win/tclWinLoad.c:
* * library/reg/pkgIndex.tcl: [TIP #362]: Fixed first round ofKevin B Kenny2010-04-021-5/+5
| | | | | | * tests/registry.test: bugs resulting from the recent commits * win/tclWinReg.c: of changes in support of the referenced TIP.
* [FRQ 2974744]: share exception codes (ObjType?):nijtmans2010-03-313-17/+17
| | | | | | Revised test cases, making sure that abbreviated codes are checked resulting in an error, and checking for the exact error message.
* TIP #362 IMPLEMENTATIONdkf2010-03-301-4/+49
| | | | | | * win/tclWinReg.c: [Patch 2960976]: Apply patch from Damon Courtney to * tests/registry.test: allow the registry command to be told to work with both 32-bit and 64-bit registries.
* * generic/tclResult.c: [Bug 2383005] Revise [return -errorcode] sodgp2010-03-241-1/+4
| | | | * tests/result.test: that it rejects illegal non-list values.
* * generic/tclOOInfo.c (InfoObjectMethodTypeCmd)dkf2010-03-241-7/+9
| | | | | (InfoClassMethodTypeCmd): Added introspection of method types so that it is possible to find this info out without using errors.
* * tests/async.test (async-4.*): Reduce obscurity of these tests bydkf2010-03-241-36/+32
| | | | | putting the bulk of the code for them inside the test body with the help of [apply].
* Make error message in "try" implementationnijtmans2010-03-231-3/+3
| | | | exactly the same as the one in "return"
* * generic/tclListObj.c: Prevent in overflow trouble in [lreplace]dgp2010-03-181-1/+25
| | | | | * generic/tclTestObj.c: operations. Thanks to kbk for fix and test. * tests/listObj.test: [Bug 2971669].
* Fix silly error in bytecode generation for [try].dkf2010-03-181-6/+55
|
* [Bug 2971921]: Corrected jump so that it doesn't skip into the middledkf2010-03-181-1/+23
| | | | | of an instruction! Tightened the instruction issuing. Moved endCatch calls closer to their point that they guard.
* * generic/tclIORTrans.c (ReflectInput, ReflectOutput,andreas_kupries2010-03-171-2/+91
| | | | | | | | | | | | | ReflectSeekWide): [Bug 2921116]: Added missing TclEventuallyFree calls for preserved ReflectedTransform* structures. Reworked ReflectInput to preserve the structure for its whole life, not only in InvokeTclMethod. * generic/tclIO.c (Tcl_GetsObj): [Bug 2921116]: Regenerate topChan, may have been changed by a self-modifying transformation. * tests/ioTrans/test (iortrans-4.8, iortrans-4.9, iortrans-5.11, iortrans-7.4, iortrans-8.3): New test cases.
* * generic/tclIORChan.c: [Bug 2936225]: Thanks to Alexandre Ferrieuxandreas_kupries2010-03-091-1/+77
| | | | | | * doc/refchan.n: <ferrieux@users.sourceforge.net> for debugging and fixing * tests/ioCmd.test: the problem. It is the write-side equivalent to the bug fixed 2009-08-06.
* Fix [Bug 2962664] by forcing oo::object deletion on oo::class deletion.dkf2010-03-041-1/+25
|
* Added test case for empty table in ::prefixferrieux2010-03-011-1/+4
|
* [Bug 2818131] further tests added to cover use of mismatched zlib algorithmspatthoyts2010-02-261-2/+76
| | | | | | Using zlib gzip to write and inflate to read from a channel where gets was also used for reading data was causing a crash. This has been fixed by Andreas' last commit.
* Fix some nasties with handling duplicate keys in list->dict->list conversions.dkf2010-02-241-3/+15
|
* Follow-up to Fix [Bug 2954959] expr abs(0.0) is -0.0nijtmans2010-02-211-1/+13
| | | | | | Some more tests, showing that the LONG implementation was not quite correct too, and a fix for that. Some more internal "const" additions
* * tests/regexp.test: Add test cases back ported frommdejong2010-02-211-1/+111
| | | | Jacl regexp work.
* Fix [Bug 2954959] expr abs(0.0) is -0.0nijtmans2010-02-211-1/+7
| | | | and added test cases for it.
* Fix [Bug 2950259] so that deleting an object by killing its namespace willdkf2010-02-151-8/+52
| | | | reliably call the object's destructor.
* add tests for explicit backslash zero as argument to list commandmdejong2010-02-121-1/+21
|
* [Bug 2949740]: Do not try to put a NULL pipeline channel into binary mode.dkf2010-02-111-1/+4
|
* Tcl Bug 2826551 regexp bugs related to -all -line and -start and newlinesdkf2010-02-111-25/+279
|
* Two more hash-iteration-order assumptions bite the dustdkf2010-02-101-3/+3
|
* Remove assumption of ordered results from [info procs]dkf2010-02-101-2/+2
|
* Fix tests with known dependencies on hash iteration order.dkf2010-02-073-10/+15
|
* More consistency in errorcode generation.dkf2010-02-051-2/+2
|
* minor maintenancedkf2010-02-041-3/+8
|
* Make [array get] work again with a trivial pattern.dkf2010-02-041-3/+8
|
* Turned the [array] command into a true ensemble. Test changes indicate somedkf2010-02-021-6/+6
| | | | alteration to error messages, otherwise no change.
* [Bug 2944404] Be careful in case an object deletes itself in its destructor.dkf2010-02-021-1/+17
|
* Fix [Bug 2939073]: dangling ref when an unset trace triggered by [array unset]dkf2010-02-021-5/+29
| | | | hits the next element to be deleted.
* Improvements to destructor handling.dkf2010-01-281-1/+111
| | | | Stop crashes from odd destruction routes.
* Improve error code generation from some of the tailcall-related bits of TEBC.dkf2010-01-221-21/+42
|
* * generic/tclCompile.h: NRE-enable direct eval on BC spoilageMiguel Sofer2010-01-211-1/+23
| | | | | * generic/tclExecute.c: [Bug 2910748] * tests/nre.test:
* [Bug 2932421]: Make [format] less likely to smash intreps.dkf2010-01-181-7/+10
|
* * win/tclWinDde.c: VC++ 6.0 doesn't havenijtmans2010-01-101-2/+2
| | | | | | | | | | | | | | | | | | | | * win/tclWinReg.c PDWORD_PTR * win/tclWinThrd.c: Fix various minor gcc warnings. * win/tclWinTime.c * win/tclWinConsole.c Put channel type definitions * win/tclWinChan.c in static const memory * win/tclWinPipe.c * win/tclWinSerial.c * win/tclWinSock.c * generic/tclIOGT.c * generic/tclIORChan.c * generic/tclIORTrans.c * unix/tclUnixChan.c * unix/tclUnixPipe.c * unix/tclUnixSock.c * unix/configure (regenerated with autoconf 2.59) * tests/info.test: Make test independant from tcltest implementation.
* Record that [Bug 2898722] is lurking.dkf2010-01-101-12/+51
|
* * generic/tclPathObj.c (TclPathPart): Correct inconsistency betweendgp2010-01-051-1/+16
| | | | | | * tests/fileName.test (filename-14.31): the string rep and the intrep of a path value created by [file rootname]. Thanks to Vitaly Magerya for reporting. [Bug 2918610]
* * generic/tclBasic.c: Fix lerak of coroutines on namespaceMiguel Sofer2010-01-032-2/+50
| | | | | | | * generic/tclCompile.h: deletion, [Bug 2724403]. Added a test * generic/tclNamesp.c: for this leak, and also a test for * tests/coroutine.test: leaks on namespace deletion. * tests/namespace.test:
* [Bug 2923613]: Make the safer [source] handle a [return] at the end of thedkf2009-12-301-1/+12
| | | | file correctly.
* [Bug 2895741]: Make min() and max() supported in safe interpreters.dkf2009-12-292-254/+270
|
* Handle completely invalid input to the decode methods [Bug 2922555]patthoyts2009-12-291-6/+15
|
* [Bug 942170]: Detect the st_blocks field of 'struct stat' correctly.dkf2009-12-281-1/+3
|
* Correct failing testdkf2009-12-281-2/+2
|
* Slight improvement of test so it shouldn't block forever if it failsdkf2009-12-281-2/+6
|
* [Bug 2891362]: Make time limits work better with the event loop.dkf2009-12-281-81/+21
|