summaryrefslogtreecommitdiffstats
path: root/tests/obj.test
Commit message (Collapse)AuthorAgeFilesLines
* merge trunkdgp2021-04-031-2/+2
|\
| * Thanks to TIP #587, convert many escapes in the testcases into the actual ↵jan.nijtmans2021-03-301-2/+2
| | | | | | | | (UTF-8) character.
* | merge trunkdgp2020-12-071-3/+3
|\ \ | |/
| * TIP 590: Recommend lowercase Package Namesjan.nijtmans2020-12-041-1/+1
| |\
| | * Case-sensitive package namesjan.nijtmans2020-11-031-1/+1
| | |
| * | More ©-sign consolidationjan.nijtmans2020-11-231-1/+1
| | |
| * | Now that all Tcl source files are UTF-8 by default, we can use the ©-sign ↵jan.nijtmans2020-11-231-2/+2
| |/ | | | | | | whenever reasonable.
* | merge trunkdgp2020-09-161-3/+3
|\ \ | |/
| * Merge 8.6jan.nijtmans2020-09-141-1/+1
| |\
| | * Prevent the usage of the term safe/unsafe child. Suggested by Keith Nash. ↵jan.nijtmans2020-09-141-1/+1
| | | | | | | | | | | | | | | Thanks! More usage of $index<0 in stead of $index==-1 consistantly
| * | Merge 8.6jan.nijtmans2020-09-041-1/+1
| |\ \ | | |/
| | * Let all test-cases load the "tcltest" package the same way. Depend on ↵jan.nijtmans2020-09-041-2/+2
| | | | | | | | | | | | tcltest 2.5, since we never test with earlier tcltest versions
| * | simplify check for ::tcltest namespace in testcasesjan.nijtmans2020-07-161-1/+1
| | |
* | | Merge trunkjan.nijtmans2019-04-021-14/+14
|\ \ \ | |/ /
| * | Modify testbytestring such that is only produces pure byte-arrays, if not it ↵jan.nijtmans2019-04-011-14/+14
| | | | | | | | | | | | | | | errors out. Modify Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewWideIntObj. Less references to "long" datatype.
* | | merge trunkdgp2018-11-191-1/+0
|\ \ \ | |/ /
| * | merge 8.7dgp2018-10-181-9/+9
| |\ \
| * \ \ merge trunkdgp2016-11-181-0/+13
| |\ \ \
| * \ \ \ merge trunkdgp2016-07-191-1/+0
| |\ \ \ \
| * | | | | Revise the "end-offset" objType to use proposed routines, and not export ordgp2016-04-111-48/+0
| | | | | | | | | | | | | | | | | | provide unneeded things.
* | | | | | merge trunkdgp2018-10-241-9/+9
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | |
| * | | | | Merge 8.7jan.nijtmans2018-09-051-12/+13
| |\ \ \ \ \
| * \ \ \ \ \ Merge 8.7jan.nijtmans2018-09-031-1/+1
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | Eliminate use of wideBiggerThanInt test constraint, since it's the same as ↵jan.nijtmans2018-09-031-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | {longIs32bit wideIs64bit}. And ... it's name is actually wrong ... Don't use int() any more in any test constraint, since it's semantics might change. We don't want the test constraints to change with it. (See: TIP# 514) Simplify implementation of wideIs64bit test constraint, just testing for 64-bit sign bit is enough.
| * | | | | | Now, restore wide(), but make int() the same as entier(). Add new utility ↵jan.nijtmans2018-08-281-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | function.
| * | | | | | Undo various test-case changes, in order to prove platform compatibilityjan.nijtmans2018-08-161-11/+13
| | | | | | |
| * | | | | | Experiment, resolving platform differences at script level. Don't look ...jan.nijtmans2018-08-161-9/+7
| |/ / / / /
* | | | | | merge trunkdgp2018-02-231-47/+0
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Remove tests of "end-offset" Tcl_ObjType, taken private.dgp2018-02-231-47/+0
| | |_|/ / | |/| | |
* | | | | Rebase to trunk.dgp2017-11-081-3/+2
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Purge the old and broken Tcl_ObjType.dgp2016-12-061-3/+2
| | | | |
| * | | | merge trunkjan.nijtmans2016-11-171-0/+13
| |\ \ \ \ | |/ / / / |/| / / / | |/ / /
* | | | Fix libtommath's mp_radix_size() function such that it returns 2 for ↵jan.nijtmans2016-11-171-0/+13
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| single-digit numbers. Add testcases for mp_radix_size() and mp_iseven(). Undo useless change in bn_mp_add_d.c (bring back libtommath's version).
| * | Fix libtommath's mp_radix_size() function such that it returns 2 for ↵jan.nijtmans2016-11-171-0/+13
| |\ \ | | | | | | | | | | | | single-digit numbers. Add testcases for mp_radix_size() and mp_iseven(). Undo useless change in bn_mp_add_d.c (bring back libtommath's version).
| | * | Fix libtommath's mp_radix_size() function such that it returns 2 for ↵jan.nijtmans2016-11-171-0/+13
| | | | | | | | | | | | | | | | single-digit numbers. Add testcases for mp_radix_size() and mp_iseven(). Undo useless change in bn_mp_add_d.c (bring back libtommath's version).
* | | | "array search" is no longer a registered Tcl_ObjType.dgp2016-07-191-1/+0
| |_|/ |/| |
* | | Eliminate exess spacings in many test-casesjan.nijtmans2016-03-101-3/+3
|/ /
* | Test-cases which pick up the completion of bug-fix ↵jan.nijtmans2014-04-151-2/+2
| | | | | | | | [e663138a06d98e48b5fbb42cc015cf1698f486cd|e663138a06]. Thanks, Don!
* | No longer build tcltest.exe to run the tests,but use tclsh86.exe in ↵jan.nijtmans2012-07-291-0/+3
|/ | | | combination with tcltest86.dll to do that (Windows only)
* Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
|\ | | | | more harm than good. Purged them.
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | more harm than good. Purged them.
| * One less crazy long/wide aunt in the attic... [Bug 868489]dkf2004-09-101-1/+67
| |
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | * generic/tclInt.h: Removed the "nsName" Tcl_ObjType from thedgp2007-09-091-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclNamesp.c: registered set. Revised the management of * generic/tclObj.c: the intrep of that Tcl_ObjType. Revised the * tests/obj.test: TclGetNamespaceFromObj() routine to return TCL_ERROR and write a consistent error message when a namespace is not found. [Bug 1588842. Patch 1686862] ***POTENTIAL INCOMPATIBILITY*** For callers of Tcl_GetObjType() on the name "nsName". * generic/tclExecute.c: Update TclGetNamespaceFromObj() callers. * generic/tclProc.c: * tests/apply.test: Updated tests to expect new consistent * tests/namespace-old.test: error message when a namespace is not * tests/namespace.test: found. * tests/upvar.test:
* | TIP#237 IMPLEMENTATIONdgp2005-10-081-11/+9
| | | | | | | | | | | | [kennykb-numerics-branch] Resynchronized with the HEAD; at this checkpoint [-rkennykb-numerics-branch-20051008], the HEAD and kennykb-numerics-branch contain identical code.
* | * tests/compExpr-old.test: Still more conversion of "nonPortable"dgp2005-07-281-26/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | * tests/expr.test: Consolidated equivalent constraints intodgp2005-07-271-9/+9
| | | | | | | | | | | | | | | | | | * 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.
* | * generic/tclInt.h: Revision to the "boolean" Tcl_ObjType, sodgp2005-05-181-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tclObj.c: that only string values like "yes" and "false" * tests/obj.test: are kept as the "boolean" Tcl_ObjType. The string values "0" and "1" are kept as "int" Tcl_ObjType, which also produce quick calls to Tcl_GetBooleanFromObj(). Since this internal change means a Tcl_ConvertToType to a "boolean" Tcl_ObjType might not produce a Tcl_Obj of type "boolean", the registration of the "boolean" type is also removed. ***POTENTIAL INCOMPATIBILITY*** For callers of Tcl_GetObjType on the type name "boolean".
* | * generic/tclObj.c (TclInitObjSubsystem): Removed thedgp2005-05-171-4/+6
| | | | | | | | | | | | | | | | | | | | | | * tests/listObj.test: registration of the Tcl_ObjType's "list", * tests/obj.test: "procbody", "index", "ensembleCommand", "localVarName", and "levelReference". The only reason to register a Tcl_ObjType is to have it returned by Tcl_GetObjType, and the only reason for that is to retrieve a (Tcl_ObjType *) to pass to Tcl_ConvertToType(). None of the types above can support a Tcl_ConvertToType() call; they panic. Better not to offer something than to lead users into a panic.
* | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
| |