summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* TIP#237 introduced a new function, entier, so add it to the list of functions.dkf2005-10-101-5/+4
|
* Fix two bugs in limits, one a crash and the other a failed flag reset.dkf2005-10-101-4/+60
|
* TIP#237 IMPLEMENTATIONdgp2005-10-088-24/+511
| | | | | | [kennykb-numerics-branch] Resynchronized with the HEAD; at this checkpoint [-rkennykb-numerics-branch-20051008], the HEAD and kennykb-numerics-branch contain identical code.
* * unix/tclUnixFCmd.c (TraverseUnixTree): Adjust 2004-11-11 change tomsofer_wcodes_branch_20051007kennykb_numerics_branch_20051008hobbs2005-10-071-2/+2
| | | | | * tests/fCmd.test (fCmd-20.2): account for NFS special files with a readdir rewind threshold. [Bug 1034337]
* * tests/env.test (env-6.1):hobbs2005-10-051-1/+8
| | | | | | | | | | | * win/tclWinPort.h: define USE_PUTENV_FOR_UNSET 1 * generic/tclEnv.c (TclSetEnv, TclUnsetEnv): add USE_PUTENV_FOR_UNSET to existing USE_PUTENV define to account for various systems that have putenv(), but can't unset env vars with it. Note difference between Windows and Linux for actually unsetting the env var (use of '='). Correct the resizing of the environ array. We assume that we are in full ownership, but that's not correct.[Bug 979640]
* * tests/http.test: do not URI encode -._~ accordinghobbs2005-10-051-3/+3
| | | | * library/http/http.tcl (init): to RFC3986. [Bug 1182373] (aho)
* * tests/winFile.test (getuser): allow valid Windows usernames.hobbs2005-10-051-2/+2
| | | | [Bug 1311285]
* fixed test cases for new US DST rules.Kevin B Kenny2005-10-031-1120/+1122
|
* implementation for TIP #255, expr min/maxhobbs2005-09-292-4/+46
|
* Test for [Bug 1116542]dkf2005-09-271-1/+5
|
* D'oh, missed a spotdkf2005-09-081-2/+2
|
* Final fixesdkf2005-09-081-3/+3
|
* Test suite about fixed up for TIP#254dkf2005-09-081-4/+4
|
* Closer to being right...dkf2005-09-081-11/+29
|
* More fixingdkf2005-09-081-17/+17
|
* A bit more fixing...dkf2005-09-081-15/+17
|
* First step to fixing test suitedkf2005-09-081-20/+20
|
* * generic/tclUtf.c (Tcl_UniCharToUtf): Corrected handling of negativedgp2005-09-071-1/+4
| | | | | | * tests/utf.test (utf-1.5): Tcl_UniChar input value. Incorrect handling was producing byte sequences outside of Tcl's legal internal encoding. [Bug 1283976].
* Add flag to lists so that evaluating contexts can handle them efficiently muchdkf2005-09-061-1/+24
| | | | | of the time even when they are not pure. The flag works by keeping track of when the string rep was derived from the internal rep.
* * library/tm.tcl (::tcl::tm::roots): Accepted Don Porter's patchandreas_kupries2005-08-291-2/+2
| | | | | for [Tcl SF Bug 1189657]. Syncs the implementation to the specification (TIP #189).
* renumber expr-39.* to expr-46.*Kevin B Kenny2005-08-291-13/+13
|
* fix test case bracing and numberingKevin B Kenny2005-08-291-10/+10
|
* removed inappropriate swizzling of tcl_precisionKevin B Kenny2005-08-291-3/+1
|
* Bug 1275043Kevin B Kenny2005-08-291-1/+75
|
* Remove extra blank lines between tests so groups go together better.dkf2005-08-241-220/+1
|
* TIP#219 IMPLEMENTATIONandreas_kupries2005-08-243-11/+3353
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/SetChanErr.3: ** New File **. Documentation of the new channel API functions. * generic/tcl.decls: Stub declarations of the new channel API. * generic/tclDecls.h: Regenerated * generic/tclStubInit.c: * tclIORChan.c: ** New File **. Implementation of the reflected channel. * generic/tclInt.h: Integration of reflected channel and new error * generic/tclIO.c: propagation into the generic I/O core. * generic/tclIOCmd.c: * generic/tclIO.h: * library/init.tcl: * tests/io.test: Extended testsuite. * tests/ioCmd.test: * tests/chan.test: * generic/tclTest.c: * generic/tclThreadTest.c: * unix/Makefile.in: Integration into the build machinery. * win/Makefile.in: * win/Makefile.vc:
* fix formatting of fp number with smallest significandKevin B Kenny2005-08-241-1/+97
|
* fixed bad clock test, removed duplicated code in Tcl_FinalizeKevin B Kenny2005-08-171-22/+16
|
* bug 1257830Kevin B Kenny2005-08-121-1/+14
|
* further untangling of Tcl_Finalize, and test cleanup on Win32 threadedKevin B Kenny2005-08-102-4/+6
|
* remove obsolete commentdgp2005-08-081-2/+1
|
* Further nonPortable [binary] test cleanupKevin B Kenny2005-08-051-10/+1
|
* Handle abs(-0x80000000) [Bug 1241572]Kevin B Kenny2005-08-051-1/+5
|
* Cleaned up [binary scan] testing for NaN [Bug 1246264]Kevin B Kenny2005-08-051-19/+16
|
* Take care with globals that have an entry in the var table but "don't exist"dkf2005-07-291-2/+15
|
* * tests/compExpr-old.test: Still more conversion of "nonPortable"dgp2005-07-2812-248/+240
| | | | | | | | | | | | | * tests/error.test: tests into tests with constraints that * tests/expr-old.test: describe the limits of their * tests/expr.test: portability. Also more consolidation * tests/fileName.test: of constraint synonyms. * tests/format.test: wideis64bit, 64bitInts => wideIs64bit * tests/get.test: wideIntegerUnparsed => wideIs32bit * tests/load.test: wideIntExpressions => wideBiggerThanInt * tests/obj.test: * tests/parseExpr.test: Dropped "roundOffBug" constraint that * tests/string.test: protected from buggy sprintf.
* * generic/tclPipe.c (TclCreatePipeline): Arrange for POSIX systems todkf2005-07-281-1/+29
| | | | | | | | * unix/tclUnixPipe.c (TclpOpenFile): use the O_APPEND flag for * tests/exec.test (exec-19.1): files opened in a pipeline like ">>this". Note that Windows cannot support such access; there is no equivalent flag on the handle that can be set at the kernel-call level. The test is unix-specific in every way. [Bug 1245953]
* * tests/expr.test: Consolidated equivalent constraints intodgp2005-07-275-207/+202
| | | | | | | | | * tests/fileName.test: single definitions and (more precise) names: * tests/get.test: longis32bit, 32bit, !intsAre64bit => longIs32bit * tests/listObj.test: empty => emptyTest; winOnly => win * tests/obj.test: intsAre64bit => longIs64bit Also updated some "nonPortable" tests to use constraints that mark precisely what about them isn't portable, so the tests can run where they work.
* typodgp2005-07-261-2/+2
|
* * generic/tclNamesp.c (TclTeardownNamespace): Re-ordering so thatdgp2005-07-261-1/+12
| | | | | * tests/trace.test (trace-34.4): command delete traces fire while the command still exists. [Bug 1047286]
* * tests/string.test: Add string is tests formdejong2005-07-231-1/+49
| | | | | | functionality that was not tested. * win/README: Update msys + mingw URL. Remove old Cygwin + mingw info.
* Compiler for [dict] and related changes.dkf2005-07-211-1/+36
|
* socket wrong#args message now follows the general conventionsdkf2005-07-171-16/+6
|
* Bug 1237907Kevin B Kenny2005-07-151-1/+55
|
* * generic/tclExecute.c (TclExecuteByteCode):mdejong2005-07-091-1/+969
| | | | | | | | | | | | | | | | | Reimplement long and wide type integer division and modulus operations so that the smallest and largest integer values are handled properly. The divide operation is more efficient since it no longer does a modulus or negation and only checks for a remainder when the quotient will be a negative number. The modulus operation is now a bit more complex because of a number of special cases dealing with the smallest and largest integers. * tests/expr.test: Add test cases for division and modulus operations on the smallest and largest integer values for 32 and 64 bit types. [Patch 1230205]
* * generic/tclNamesp.c: Allow for [namespace import] of a commanddgp2005-07-051-2/+2
| | | | | * tests/namespace.test: over a previous [namespace import] of itself without throwing an error. [RFE 1230597]
* * generic/tclExecute.c (TclExecuteByteCode):mdejong2005-06-291-1/+252
| | | | | | | | | | | When parsing an integer operand for a unary minus expression operator, check for a wide integer that is actually LONG_MIN. If found, convert it back to a long int type. * tests/expr.test: Add constraint for 32bit long int type and 64bit wide int type. Add tests that parse the smallest/largest long int and wide int values.
* bug 1194458Kevin B Kenny2005-06-211-1/+8
|
* * generic/tclBasic.c: Added missing walk of the list of active tracesdgp2005-06-211-2/+35
| | | | | | | * generic/tclTrace.c: to cleanup references to traces being deleted. * generic/tclInt.h: [Bug 1201035] Made the walk of the active trace * tests/trace.test (trace-34.*): list aware of the direction of trace scanning, so the proper correction can be made. [Bug 1224585]
* * generic/tclCmdMZ.c (Tcl_SwitchObjCmd): Generatemdejong2005-06-202-3/+107
| | | | | | | | | | | | | | | an error if a mode argument like -exact is passed more than once to the switch command. The previous implementation silently accepted invalid switch invocations like [switch -exact -glob $str ...]. * tests/for.test: Check some error cases when invoking continue and break inside a for loop next script. * tests/switch.test: Add checks for shortened version of a mode argument like -exact. Add test for more than one mode argument. Add test for odd case of passing a variable as a body script.