summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclIORChan.c (ReflectClose): Added missing removal ofandreas_kupries2008-04-041-1/+13
| | | | | | | | | the now closed channel from the reflection map. Before we could crash the system by invoking 'chan postevent' on a closed reflected channel, dereferencing the dangling pointer in the map. * tests/ioCmd.test (iocmd-31.8): Testcase for the above.
* * generic/tclIO.c (CopyData): Applied patch [Bug 1932639] toandreas_kupries2008-04-032-2/+92
| | | | | | * tests/io.test: prevent fcopy from calling -command synchronously * tests/chanio.test: the first time. Thanks to Alexandre Ferrieux <ferrieux@users.sourceforge.net> for report and patch.
* merge updates from HEAD dgp2008-03-311-3/+3
|
* Rewrite to use tcltest2 better while getting rid of bugs/misfeatures.dkf2008-03-281-971/+1084
|
* Removed duplicated testspatthoyts2008-03-241-7/+1
|
* bug #1923966 - crash in binary format. Added tests for the above crash ↵patthoyts2008-03-241-1/+19
| | | | condition.
* Added more tests of regexp-mode compilation of the [switch] command. [Bug ↵dkf2008-03-211-1/+107
| | | | 1854435]
* Added workaround for [Bug 1905562]dkf2008-03-191-2/+3
|
* Correct the handling of stack space calculation (the jump pattern used wasdkf2008-03-161-1/+8
| | | | confusing the simple-minded code doing the calculations). [Bug 1903325]
* Update test for corrected error messagedgp2008-03-141-2/+2
|
* * unix/Makefile.in (install-libraries): Bump http to 2.7hobbs2008-03-121-8/+8
| | | | | | | | | | | | * win/Makefile.in (install-libraries): Added -myaddr option to allow * library/http/http.tcl (http::geturl): control of selected socket * library/http/pkgIndex.tcl: interface. [Bug 559898] * doc/http.n, tests/http.test: Added -keepalive and -protocol 1.1 with chunked transfer encoding support. [Bug 1063703, 1470377, 219225] Added ability to override Host in -headers. [Bug 928154] Added -strict option to control URL validation on per-call basis. [Bug 1560506]
* * library/http/http.tcl (http::geturl): add -method option to supporthobbs2008-03-121-2/+2
| | | | | * tests/http.test (http-3.1): http PUT and DELETE requests. * doc/http.n: [Bug 1599901, 862554]
* improve darwin9 constraintdas2008-03-121-2/+3
|
* * macosx/GNUmakefile: fix quoting to allow paths todas2008-03-111-4/+4
| | | | | | | | | | | | * macosx/Tcl-Common.xcconfig: ${builddir} and ${INSTALL_ROOT} * unix/Makefile.in: to contain spaces. * unix/configure.in: * unix/install-sh: * unix/tcl.m4: * tests/ioCmd.test: * unix/Makefile.in (install-strip): strip non-global symbols from dynamic library.
* * tests/exec.test (exec-9.7): reduce timing sensitivitydas2008-03-112-4/+5
| | | | * tests/socket.test (socket-2.11): (esp. on multi-proc machines).
* * tests/fCmd.test (fCmd-9.4): skip on Darwin 9 (xfail).das2008-03-111-2/+6
|
* * generic/tclVar.c (TclDeleteNamespaceVars):Miguel Sofer2008-03-111-1/+17
| | | | | | | * tests/var.test (var-8.2): unset traces on vars should be called with a FQ named during namespace deletion. This was causing infinite loops when unset traces recreated the var, as reported by Julian Noble on [Bug 1911919].
* * generic/tclEvent.c (TclDefaultBgErrorHandlerObjCmd): Added errordgp2008-03-101-1/+64
| | | | | * tests/event.test (event-5.*): checking to protect against callers passing invalid return options dictionaries. [Bug 1901113]
* * generic/tclBasic.c (ExprAbsFunc): Revised so that the abs()dgp2008-03-101-1/+19
| | | | | | * tests/expr.test: function and the [::tcl::mathfunc::abs] command do not return the value of -0, or equivalent values with more alarming string reps like -1e-350. [Bug 1893815].
* * tests/execute.test (execute-6.*): More tests checking thatdgp2008-03-071-17/+97
| | | | script bytecode is invalidated in the right situations.
* * tests/execute.test (execute-6.*): More tests checking thatdgp2008-03-071-2/+81
| | | | script bytecode is invalidated in the right situations.
* * tests/execute.test (6.3,4): Added tests for Bug 1899164].dgp2008-03-041-1/+19
|
* test added (did not fail previously, just to make sure it never does)Miguel Sofer2008-03-021-1/+18
|
* * doc/clock.n: Corrected minor indentation gaffe in theKevin B Kenny2008-02-271-1/+37
| | | | | | | | | | | | penultimate paragraph. [Bug 1898025] * generic/tclClock.c (ParseClockFormatArgs): Changed to check that the clock value is in the range of a 64-bit integer. [Bug 1862555] * library/clock.tcl (::tcl::clock::format, ::tcl::clock::scan, ::tcl::clock::add, ::tcl::clock::LocalizeFormat): Fixed bugs in caching of localized strings that caused weird results when localized date/time formats were used. [Bug 1902423] * tests/clock.test (clock-61.*, clock-62.1): Regression tests for [Bug 1862555] and [Bug 1902423].
* * generic/tclUtil.c (TclReToGlob): fix the handling of the lasthobbs2008-02-261-0/+16
| | | | | * tests/regexpComp.test: star possibly being escaped in determining right anchor. [Bug 1902436]
* add missing constraintdgp2008-02-131-2/+4
|
* eliminate duplicate test namesdgp2008-02-132-4/+4
|
* Fix [Bug 1891827]dkf2008-02-121-1/+7
|
* * generic/tclClock.c (ClockParseformatargsObjCmd):Kevin B Kenny2008-02-061-3/+7
| | | | | | | | | | * library/clock.tcl (::tcl::clock::format): * tests/clock.test (clock-1.0, clock-1.4): Performance enhancements in [clock format] (moving the analysis of $args into C code, holding on to Tcl_Objs with resolved command names, [lassign] in place of [foreach], avoiding [namespace which] for command resolution).
* * generic/tclCmdIl.c (Tcl_LreverseObjCmd):Miguel Sofer2008-01-221-1/+4
| | | | | * tests/cmdIL.test (cmdIL-7.7): fix crash on reversing an empty list [Bug 1876793].
* test for memory leakdgp2008-01-161-1/+20
|
* * generic/tclStringObj.c (Tcl_AppendFormatToObj): Correct failure todgp2008-01-101-1/+5
| | | | | * tests/format.test: account for big.used == 0 corner case in the %ll(idox) format directives. [Bug 1867855].
* * generic/tclCompCmds.c (TclCompileRegexpCmd): TCL_REG_NOSUB cannothobbs2007-12-232-1/+16
| | | | | * tests/regexp.test (regexp-22.2): be used because it * tests/regexpComp.test: [Bug 1857126] disallows backrefs.
* * generic/tclCmdIL.c: speed patch for lsort [Patch 1856994].Miguel Sofer2007-12-231-1/+4
|
* * generic/tclCompCmds.c (TclCompileSwitchCmd): update switch -regexphobbs2007-12-191-1/+36
| | | | | | * tests/switch.test-14.*: compilation to pass the cflags to INST_REGEXP (changed on 12-07). Added tests for switch -regexp compilation (need more). [Bug 1854399]
* Fixes for problems created when processing regular expressions thatdkf2007-12-181-1/+10
| | | | | | | generate very large automata. An enormous number of thanks to Will Drewry <wad@google.com>, Tavis Ormandy <taviso@google.com>, and Tom Lane <tgl@sss.pgh.pa.us> from the Postgresql crowd for their help in tracking these problems down. [Bug 1810264]
* Fix for broken test on win2k with long machine namepatthoyts2007-12-141-2/+5
|
* merge stable branch onto HEADdgp2007-12-1344-44/+44
|
* * generic/tclInt.decls: move TclByteArrayMatch and TclReToGlobhobbs2007-12-111-1/+61
| | | | | | | | | | | | | * generic/tclIntDecls.h: to tclInt.h from stubs. * generic/tclStubInit.c: Add flags var to TclByteArrayMatch for * generic/tclInt.h: future extensibility * generic/tcl.h: define TCL_MATCH_EXACT doc for Tcl_StringCaseMatch. * doc/StrMatch.3: It is compatible with existing usage. * generic/tclExecute.c (INST_STR_MATCH): flag for TclByteArrayMatch * generic/tclUtil.c (TclByteArrayMatch, TclStringMatchObj): * generic/tclRegexp.c (Tcl_RegExpExecObj): * generic/tclCmdMZ.c (StringMatchCmd): Use TclStringMatchObj * tests/string.test (11.9.* 11.10.*): more tests
* * tests/io.test, tests/chanio.test (io-73.1): Make sure to invalidatehobbs2007-12-092-2/+12
| | | | | * generic/tclIO.c (SetChannelFromAny): internal rep only after validating channel rep. [Bug 1847044]
* Forgot to adjust tests to take into account safeness of [unload]dkf2007-12-081-3/+3
|
* * tests/stack.test: made the tests for stack overflow not careMiguel Sofer2007-12-051-5/+22
| | | | | about which mechanism caused the error (interp's recursion limit or C-stack depth detector).
* Prevent shimmering crash in [lsearch] when -exact and -integer/-real are mixed.dkf2007-12-051-1/+10
| | | | [Bug 1844789]
* Make two-arg switch work reliably (and actually as documented!) [Bug 1836519]dkf2007-12-031-187/+180
|
* Extra channel tests to check for no -eofcharpatthoyts2007-11-281-1/+10
|
* * doc/chan.n: "Fix" the limitation on channel -eofchardgp2007-11-271-1/+7
| | | | | | | * doc/fconfigure.n: values to single byte characters by documenting * generic/tclIO.c: it and making it fail loudly. Thanks to * tests/chan.test: Stuart Cassoff for contributing the fix. [Bug 800753]
* * generic/tclIORChan.c: Fixed a problem with reflectedandreas_kupries2007-11-241-3/+3
| | | | | | | | | | | | | | | | | | channels. 'chan postevent' is defined to work only from within the interpreter containing the handler command. Sensible, we want only handler commands to use it. It identifies the channel by handle. The channel moves to a different interpreter or thread. The interpreter containing the handler command doesn't know the channel any longer. 'chan postevent' fails, not finding the channel any longer. Uhm. Fixed by creating a second per-interpreter channel table, just for reflected channels, where each interpreter remembers for which reflected channels it has the handler command. This info does not move with the channel itself. The table is updated by 'chan create', and used by 'chan postevent'. * tests/ioCmd.test: Updated the testsuite.
* * generic/tclVar.c (Tcl_ArrayObjCmd): handle the right data forhobbs2007-11-231-1/+5
| | | | * tests/var.test (var-14.2): [array names $var -glob $ptn]
* Turn the [string] command into a real compiled ensemble.dkf2007-11-232-8/+8
|
* Rebuild [dict] as a full compiled ensemble.dkf2007-11-221-3/+3
|