summaryrefslogtreecommitdiffstats
path: root/tests/binary.test
Commit message (Collapse)AuthorAgeFilesLines
* Revert previous commit at request of KBK.dkf2010-11-091-5/+1
| | | FossilOrigin-Name: 1695a5f14d9da1a9b788dcc59036f32f15ca397d
* Added test case for [Bug #3105247] -NaN?nijtmans2010-11-091-1/+5
| | | FossilOrigin-Name: 6803fb1fbcb1b5abe1914ce7cbd23c17a6af10c9
* * generic/tclBinary.c (TclAppendBytesToByteArray): [Bug 3067036]: Makedkf2010-09-151-2/+23
| | | | | | | sure we never try to double zero repeatedly to get a buffer size. Also added a check for sanity on the size of buffer being appended. FossilOrigin-Name: 6d28eb4724dd55abb224612e528c7144cd35472f
* Handle completely invalid input to the decode methods [Bug 2922555]patthoyts2009-12-291-6/+15
| | | FossilOrigin-Name: 7cac795579188e6c1a5ea11e8d92dba45ec56a2c
* Revert commits of 20080723. Those were speed tests, that are inherently ↵ferrieux2009-02-221-12/+1
| | | | | brittle. FossilOrigin-Name: 1ee78aeeae90e3a804027b9da8619e97f408c44d
* Fix [Bug 2380293]. Redefine non-strict decoding to ignore only whitespace.ferrieux2008-12-151-1/+9
| | | FossilOrigin-Name: 1d99671194f9d92febaf6f05ecb23ad4f1aa2597
* Use the powers of tcltest2 for good! Also add basic testing of disassmblerdkf2008-09-101-742/+761
| | | | | | (though not of its output format). FossilOrigin-Name: 677f3de5be6eecbfdffcbc5dad8679bcf673c6b8
* Added relative speed test for pure byte array concats.ferrieux2008-07-231-1/+12
| | | FossilOrigin-Name: 00a4e94abd513d57352df39a606594745f1bbf0c
* fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-191-4/+4
| | | FossilOrigin-Name: 1e5261316ed076ff5ff69f2a720e8eff30fcf66e
* TIP #317 implementationpatthoyts2008-06-031-17/+307
| | | FossilOrigin-Name: 8a9c01c0ca8302c68e962b54ec4c753c17f58b6d
* Converted the [binary] command into an ensemble.patthoyts2008-05-021-4/+4
| | | FossilOrigin-Name: dca4069c80c22c0e2159f7c4dc55c8a7e481a574
* Removed duplicated testspatthoyts2008-03-241-7/+1
| | | FossilOrigin-Name: 492afc7d35a1d41d599b61fba0b17004d1401f1d
* bug #1923966 - crash in binary format. Added tests for the above crash ↵patthoyts2008-03-241-1/+19
| | | | | condition. FossilOrigin-Name: 7774371e843517c2a3076b2872d9e918a7606587
* Correct typos that produced duplicate test namesdgp2006-11-291-5/+5
| | | FossilOrigin-Name: 04638e42fa1ac2d789efb46226f736ea5ab57be1
* TIP #275: Support unsigned values in binary commandpatthoyts2006-10-061-1/+161
| | | FossilOrigin-Name: 42dcb6f5f3007d09105779ce79e56b66c9da2a7d
* * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Allow emptydgp2006-04-051-3/+3
| | | | | | | strings to be matched by the Tcl_GetIndexFromObj machinery, in the same manner as any other key. [Bug 1464039] FossilOrigin-Name: d86bf5b78aa65c9872581801e88e38a284b56cc6
* Use test constraints properly instead of looking in tcl_platformdkf2006-03-211-3/+3
| | | | | | | Consistent method of calling test constraints, and (try to) move constraint setup to the top of the test file FossilOrigin-Name: 36829d55d6ebcac6be4d3d7d887b06650a5b394a
* eliminate test name duplicationdgp2005-12-021-2/+2
| | | FossilOrigin-Name: 1af4ae2e53512823152bd28f5e732d76a8ffa1f8
* TIP#237 IMPLEMENTATIONdgp2005-10-081-2/+65
| | | | | | | | [kennykb-numerics-branch] Resynchronized with the HEAD; at this checkpoint [-rkennykb-numerics-branch-20051008], the HEAD and kennykb-numerics-branch contain identical code. FossilOrigin-Name: 83fdb360a9aec952bc3ad040afe39106bf9e5ec3
* Test for [Bug 1116542]dkf2005-09-271-1/+5
| | | FossilOrigin-Name: d7a27184e4ecb60259c1edd0ebe934163a6ec1fc
* fix formatting of fp number with smallest significandkennykb2005-08-241-1/+97
| | | FossilOrigin-Name: 7c355ef822d4c536791c88819feab4e85ffd297b
* Further nonPortable [binary] test cleanupkennykb2005-08-051-10/+1
| | | FossilOrigin-Name: ae8648b5cb457bc4ec4969e345b3504e71f3ad5b
* Cleaned up [binary scan] testing for NaN [Bug 1246264]kennykb2005-08-051-19/+16
| | | FossilOrigin-Name: a8f252687cf6160ad109c8bad19ffc9695a7b874
* Fixes for C++-style comment and bad NaN on PA-RISCkennykb2005-05-101-22/+22
| | | FossilOrigin-Name: a4754204f2fb6d16f60635d63fe33606df6f94d5
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232kennykb2005-05-101-35/+33
| | | FossilOrigin-Name: 1cc2336920c70c6b9f7825b88dec87fc223f2c4e
* Standardize some use of test constraints onto names that are documenteddkf2004-06-231-4/+4
| | | FossilOrigin-Name: f6289216a6b8e8d361beccf3be1d2828d810f7ba
* It seems all NaN handling is non-portable except where the platform isdkf2004-05-201-5/+5
| | | | | | incredibly constrained. FossilOrigin-Name: 652cb13c63e4e21cffa0e72376e9f83adbb1d7a9
* corrected test name duplicationdgp2004-05-191-2/+2
| | | FossilOrigin-Name: 66716f7cec44b8918c9eb89c506bf4bc78e3ae66
* TIP#129 implementation. Probably also much more breakage in the test suite toodkf2004-05-131-68/+648
| | | FossilOrigin-Name: a353a77e5d8e3ba896a86b54478ff225a51aae51
* Removed support for Mac OS Classic platform [Patch 918142]das2004-03-171-40/+29
| | | FossilOrigin-Name: b6330dbac725e2d527ad089669aa7f4779d19398
* Stop losing references when variables are repeated in [binary scan]. [851747]dkf2003-12-021-1/+9
| | | FossilOrigin-Name: e1aa93441ded621fb6bcdfaf2ee18f6a10c6a728
* Documented and tested for the current behaviour of [binary format a] anddkf2003-07-111-1/+23
| | | | | | [binary scan ? a]. This is what they've been doing all along. [Bug 735364] FossilOrigin-Name: d4013a53351152f2116386ac21d00372ffda7797
* Stopped sign-bit propagation in [binary scan] of wide values. [Bug #690774]dkf2003-02-211-1/+9
| | | FossilOrigin-Name: 1ebdea1ccdcfee2043a5f33a45169791238fb14a
* [info exist]->[info exists]. [Bug 602566]dkf2002-10-031-3/+3
| | | FossilOrigin-Name: eb7c8f93a557fc3d8cf44cce5db3fcfad2313358
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-151-2/+28
| | | | | | | This version builds clean on Solaris/SPARC, with GCC and CC, both with and without threads and both in 32-bit and 64-bit mode. FossilOrigin-Name: 8d82de1905ada4c5d06f5fb967721e8b681b7c82
* * tests/string.test: added string map tests for the one-pair case,hobbs2000-05-261-14/+1
| | | | | | | corrected tests to reflect improved error messages in first/last. Added tests against mem overrun in string index bytearray case. FossilOrigin-Name: 446f8b2bdeb17bd7611bc850f3fb3ea434f20d06
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948]. FossilOrigin-Name: c2f93a113cfcb17a21da67cc20f54ab3f1b9fa3c
* Applied patch from Peter Hardie (with modifications) to fixredman1999-06-281-1/+6
| | | | | | | Tcl_GetIndexFromObj when the key is "". Added test cases and doc note. FossilOrigin-Name: 4fe945f8856dd33e3452d3873bdb9dcefb3ec8dd
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
| | | FossilOrigin-Name: fdb0602e41e62bf526806c165dbf3f33a718fd37
* * tests/binary.test:stanton1999-05-031-1/+11
| | | | | | | * generic/tclBinary.c (DupByteArrayInternalRep): Fixed bug where type was not being set in duplicated object. FossilOrigin-Name: 23b030de278fdb69fa845a975c49a0981ed6b19a
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-3/+22
| | | FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
* Replaced SCCS strings, fixed binary filescore-8-0-3stanton1998-09-141-1/+1
| | | FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
* Initial revisionrjohnson1998-03-261-0/+1443
FossilOrigin-Name: f86c34e38d2a946e0ed196001fd756c57f90791a