summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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]
* 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
|