summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* * tests/dict.test (dict-19.2): Corrected a bug whereKevin B Kenny2008-05-091-1/+1
| | | | | | the test was changed to use [apply] instead of a temporary proc, but the cleanup script still attempted to delete the temporary proc.
* * Makefile:Kevin B Kenny2008-05-091-2/+2
| | | | | | | | | | | | | | | | | | Restored compilability of 'stitcher.exe' on vc2k5. * cameraparams.h: * compressor.cpp: * imageDirectory.h: * stitchEngine.h: * stitcher.cpp: Added computation of Brenner gradient and median of several images to allow for computation of white balance on the fly. Replaced a lot of 'unsigned' quantities with 'int' to avoid surprises on overflow. Turned the images to run in X-major order again. This requires a 64-bit machine for the larger images, but is considerably more cache-friendly, and reduces stitch times of the smaller images by nearly half.
* Cleaning updkf2008-05-071-380/+369
|
* Simplify testdkf2008-05-071-8/+3
|
* Detect problem case and prove that it's fixed.dkf2008-05-071-1/+9
|
* Converted the [binary] command into an ensemble.patthoyts2008-05-021-4/+4
|
* * tests/ioCmd.test: Extended testsuite for reflected channelandreas_kupries2008-04-241-1/+178
| | | | | | | | | | implementation. Added test cases about how it handles if the rug is pulled out from under a channel (= killing threads, interpreters containing the tcl command for a channel, and channel sitting in a different interpreter/thread.) * generic/tclIORChan.c: Fixed the bugs exposed by the new testcases, redone most of the cleanup and exit handling.
* Assorted improvements to make better use of tcltest2dkf2008-04-236-385/+417
|
* * generic/tclIOUtil.c: Removed all code delimited bydgp2008-04-212-334/+22
| | | | | | | | | * generic/tclTest.c: USE_OBSOLETE_FS_HOOKS, completing * tests/ioCmd.test: the deprecation path for these * tests/ioUtil.test (removed): obsolete interfaces. (Code was active in Tcl 8.4, present but enabled only by customized compile switch in Tcl 8.5, and now completely gone for Tcl 8.6). Also removed all tests relevant only to the removed interfaces.
* * generic/tclIO.c (CopyData): Applied another patch by Alexandreandreas_kupries2008-04-152-2/+82
| | | | | | | * io.test (io-53.8a): Ferrieux <ferrieux@users.sourceforge.net>, * chanio.test (chan-io-53.8a): to shift EOF handling to the async part of the command if a callback is specified, should the channel be at EOF already when fcopy is called. Testcase by myself.
* * tests/clock.test (clock-33.5, clock-33.5a, clock-33.8, clock-33.8a):Kevin B Kenny2008-04-141-1/+9
| | | | | Added comments to the test that it can fail on a heavily loaded system.
* fix one broken test, and restore unix line endingsdgp2008-04-111-439/+439
|
* * generic/tclIOCmd.c (Tcl_FcopyObjCmd): Keeping check for negativeandreas_kupries2008-04-103-13/+75
| | | | | | | | | | | | values, changed to not be an error, but behave like the special value -1 (copy all, default). * tests/iocmd.test (iocmd-15.{12,13}): Removed. * tests/io.test (io-52.5{,a,b}): Reverted last change, added * tests/chanio.test (chan-io-52.5{,a,b}): comment regarding the meaning of -1, added two more testcases for other negative values, and input wrapped to negative.
* Test improvements (tcltest2, clarify)dkf2008-04-104-1003/+1276
|
* * tests/chanio.test (chan-io-52.5): Removed '-size -1' from test,andreas_kupries2008-04-092-4/+4
| | | | | * tests/io.test (io-52.5): does not seem to have any bearing, and was an illegal value.
* * generic/tclIOCmd.c (Tcl_FcopyObjCmd): Added checking of -sizeandreas_kupries2008-04-091-1/+7
| | | | | | | | * tests/ioCmd.test (iocmd-15.{13,14}): value to reject negative values, and values overflowing 32-bit signed. [Bug 1557855]. Basic patch by Alexandre Ferrieux <ferrieux@users.sourceforge.net>, with modifications from me to separate overflow from true negative value. Extended testsuite.
* * tests/chanio.test (chan-io-53.8,53.9,53.10): fix typo & quoting fordas2008-04-082-8/+8
| | | | * tests/io.test (io-53.8,53.9,53.10): spaces in builddir path
* * tests/io.test (io-53.10): Testcase for bi-directionaly fcopy.andreas_kupries2008-04-072-2/+142
| | | | | | | | * tests/chanio.test: * generic/tclIO.c: Additional changes to data structures for fcopy * generic/tclIO.h: and channels to perform proper cleanup in case of a channel having two background copy operations running as is now possible.
* * generic/tclStringObj.c (Tcl_AppendFormatToObj):rmax2008-04-071-1/+7
| | | | | | Fix [format {% d}] so that it behaves the same way as in 8.4 and as C's printf(). * tests/format.test: Add a test for '% d' and '%+d'.
* * tests/chanio.test (chan-io-53.9):Kevin B Kenny2008-04-062-6/+9
| | | | | | | | | | | * tests/io.test (io-53.9): Made test cleanup robust against the possibility of slow process shutdown on Windows. * win/tcl.m4: Added -D_CRT_SECURE_NO_DEPRECATE and -DCRT_NONSTDC_NO_DEPRECATE to the MSVC compilation flags so that the compilation doesn't barf on perfectly reasonable Posix system calls. * win/configure: Manually patched (don't have the right autoconf to hand).
* * tests/io.test (io-53.9): Added testcase for [Bug 780533], basedandreas_kupries2008-04-042-6/+102
| | | | | | * tests/chanio.test: on Alexandre's test script. Also fixed problem with timer in preceding test, was not canceled properly in the ok case.
* * generic/tclIORChan.c (ReflectOutput): Allow zero return fromandreas_kupries2008-04-041-2/+2
| | | | | | | | write when input was zero-length anyway. Otherwise keept it an error, and separate the message from 'written too much'. * tests/ioCmd.test (iocmd-24.6): Testcase updated for changed message.
* * 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.
* * tests/mathop.test (mathop-25.9, mathop-25.14): Modified testsKevin B Kenny2008-03-301-3/+3
| | | | | to deal with (slightly buggy) math libraries in which pow() returns an incorrectly rounded result. [Bug 1808174]
* 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]