summaryrefslogtreecommitdiffstats
path: root/generic/tclTest.c
Commit message (Collapse)AuthorAgeFilesLines
* merge novemdgp2017-06-161-1/+1
|\
| * merge trunkjan.nijtmans2017-06-081-1/+1
| |\
| | * merge core-8-6-branchjan.nijtmans2017-06-081-1/+1
| | |\
| | | * tclUtil.c: Use TclUtfToUniChar() in stead of handling ASCII characters ↵jan.nijtmans2017-06-081-1/+1
| | | | | | | | | | | | | | | | | | | | separately: This macro already does that. Add new test-case for Tcl_NumUtfChars(), for a knownBug still to be fixed.
| | | * Update documentation on recent changes in Tcl_LinkVar.jan.nijtmans2017-01-311-13/+1
| | | | | | | | | | | | | | | | Don't use TCL_NO_DEPRECATED for disabling tests-cases: Those were not deprecated in 8.6 yet. Minor code clean-up. No functional changes.
* | | | merge novemdgp2017-04-111-0/+85
|\ \ \ \ | |/ / /
| * | | merge trunkjan.nijtmans2017-04-111-0/+85
| |\ \ \ | | |/ /
| | * | Merge Harald's "robust-async-connect-tests" branch. Thanks!jan.nijtmans2017-04-101-0/+85
| | |\ \
| | | * \ merge trunkjan.nijtmans2014-07-181-7/+48
| | | |\ \
| | | * | | Replaced option "-unsupported1" by test command "testsocket debugflags" ↵oehhar2014-07-171-0/+85
| | | | | | | | | | | | | | | | | | | | | | | | (thanks Donal, Donald).
* | | | | | merge novemdgp2017-03-291-1/+3
|\ \ \ \ \ \ | |/ / / / /
| * | | | | merge trunkjan.nijtmans2017-03-271-1/+3
| |\ \ \ \ \ | | |/ / / /
| | * | | | Supply more C99-compatible (and MSVC) format options: '%p' for pointers, ↵jan.nijtmans2017-03-241-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'z'/'j'/'I' for size_t/intptr_diff, 'j'/'q' for long long. Also add "I32" froom MSVC. Remove TCL_LL_MODIFIER specified as "L" for Borland: This must be wrong as "L" is meant for long double. Just assume that later Borland compilers are MSVC-compatible.
| | * | | | If compiled with TCL_NO_DEPRECATED, remove some more stub entries which are ↵jan.nijtmans2017-03-201-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | not used any more.
| | * | | | If TCL_NO_DEPRECATED is defined, remove the "case" statement, and use much ↵jan.nijtmans2017-01-251-12/+8
| | | | | | | | | | | | | | | | | | | | | | | | less interp->result. Implementation mostly taken over from "novem". If TCL_NO_DEPRECATED is not defined, nothing changes.
| | * | | | Use more Tcl_AppendResult(), in order to prevent the use of a (char *) type ↵jan.nijtmans2017-01-111-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | case.
| | * | | | Merge core-8-6-branch. jan.nijtmans2017-01-111-27/+27
| | |\ \ \ \ | | | | |_|/ | | | |/| | | | | | | | Do gcc-compiles with the option -Wwrite-strings, so we can detect mis-usage of "const". Make Tcl_AddErrorInfo() and Tcl_AddObjErrorInfo() a macro.
* | | | | | merge novemdgp2017-01-271-3/+10
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Put back counter in test-case, so we can see if TestsaveresultFree() was ↵jan.nijtmans2017-01-241-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | actually called or not.
* | | | | | merge novemdgp2017-01-031-1/+1
|\ \ \ \ \ \ | |/ / / / /
| * | | | | merge trunkjan.nijtmans2017-01-011-1/+1
| |\ \ \ \ \ | | |/ / / /
| | * | | | merge core-8-6-branchjan.nijtmans2017-01-011-1/+1
| | |\ \ \ \ | | | |/ / /
* | | | | | merge novemdgp2016-12-231-4/+4
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge trunkjan.nijtmans2016-12-211-4/+4
| |\ \ \ \ \ | | |/ / / /
| | * | | | Record the fact that all stub-enabled extensions work in Tcl 8.5+, no 8.6 ↵jan.nijtmans2016-12-201-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | (or 9.0) features are needed. (Differences between 8.x and 9.0 are handled by a different stub magic value)
* | | | | | merge novemdgp2016-12-191-0/+42
|\ \ \ \ \ \ | |/ / / / /
| * | | | | merge trunkjan.nijtmans2016-12-191-0/+42
| |\ \ \ \ \ | | |/ / / /
| | * | | | Implement all possible TCL_LL_MODIFIER formats in Tcl_ObjPrintf(), can be ↵jn_wide_printfjan.nijtmans2016-12-141-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | "ll", "I64" and "L", whatever the platform defines for long long integer. With test-cases.
* | | | | | Several commands should be picky about expecting byte-valued arguments.dgp2016-12-061-0/+4
|/ / / / / | | | | | | | | | | Make them so.
* | | | | More internal use of size_t. Eliminate unused "isBin" argument from ↵jan.nijtmans2016-12-011-1/+1
| | | | | | | | | | | | | | | | | | | | TclpSysAlloc()
* | | | | merge trunkjan.nijtmans2016-11-111-3/+3
|\ \ \ \ \ | |/ / / /
| * | | | Fix harmless gcc warning message: using "unsigned" doesn't serve any ↵jan.nijtmans2016-11-111-3/+3
| | | | | | | | | | | | | | | | | | | | purpose, actually.
* | | | | compiler warningdgp2016-09-081-1/+1
| | | | |
* | | | | merge trunkjan.nijtmans2016-09-071-12/+71
|\ \ \ \ \ | |/ / / /
| * | | | Fix [d4e7780ca1681cd095dbd81fe264feff75c988f7|d4e7780ca1]: "global" cmd ↵jan.nijtmans2016-09-071-12/+71
| |\ \ \ \ | | |/ / / | | | | | | | | | | literal sharing vs. per-interp resolvers
| | * | | merge core-8-6-branchjan.nijtmans2016-09-051-13/+13
| | |\ \ \
| | * | | | Some patch clean-up, no change in functionalityjan.nijtmans2016-09-051-9/+9
| | | | | |
| | * | | | Proposed patch for [d4e7780ca1681cd095dbd81fe264feff75c988f7|d4e7780ca1], by ↵jan.nijtmans2016-09-021-19/+85
| | | | | | | | | | | | | | | | | | | | | | | | Gustaf Neumann
* | | | | | merge trunkjan.nijtmans2016-09-051-3/+10
|\ \ \ \ \ \ | |/ / / / /
| * | | | | merge core-8-6-branchjan.nijtmans2016-09-051-3/+10
| |\ \ \ \ \ | | | |/ / / | | |/| | |
| | * | | | Allow additional optional "interp" argument for testinterpresolver command. ↵jan.nijtmans2016-09-051-3/+10
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | Not used yet in any test-case. Protect panic in tclLiteral.c for possible null-pointer access. (cherry-picked from Gustaf Neuman's interpresolver patch). Eliminate some unecessary spacing.
* | | | | merge trunkjan.nijtmans2016-07-071-2/+1
|\ \ \ \ \ | |/ / / /
| * | | | Merge core-8-6-branch: jan.nijtmans2016-07-071-2/+1
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | New tests to demo the remaining flaw in ensemble dispatch revisions. Itcl 4 also demonstrated these [bd7f17bce8] Revise ensemble dispatch to call TclNREvalObjv() which supports the TCL_EVAL_INVOKE Simplify all the Tcl_NRPostProc declarations Create and use a utility Tcl_NRPostProc when decr ref count of values is all that is needed Bugfix [5d7ea04580]. Treat .cmd and .ps1 files are executable on Windows
| | * | | Simplify all the Tcl_NRPostProc declarations.dgp2016-07-061-2/+1
| | | | |
| | * | | (cherry-pick): Fix gcc 5.3 warning: In function ‘NRInterpCmd’: ↵jan.nijtmans2016-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tclInterp.c:726:5: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if ((i + 2) < objc) { Remove some excessive spacing
* | | | | Merge trunkjan.nijtmans2016-06-291-8/+8
|\ \ \ \ \ | |/ / / /
| * | | | Eliminate internal use of TCL_STORAGE_CLASS, as it will be gone in 9.0 anywayjan.nijtmans2016-06-291-10/+2
| | | | |
| * | | | Tcl_SetVar -> Tcl_SetVar2 and comparable replacements, eliminating functions ↵jan.nijtmans2016-06-291-12/+12
| | | | | | | | | | | | | | | | | | | | which are deprecated.
* | | | | merge trunkjan.nijtmans2016-03-111-0/+35
|\ \ \ \ \ | |/ / / /
| * | | | Allow unstable Tcl releases to use unstable packages by default (this makes ↵jan.nijtmans2016-03-111-0/+35
| | | | | | | | | | | | | | | | | | | | "package require Tk" find the expected 8.7a0 version in stead of 8.6). Make many "package" test-cases work even when the environment variable TCL_PKG_PREFER_LATEST is set.