| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
have been run
|
|
|
|
| |
unneeded [after]s.
|
|
|
|
| |
tests
|
|
|
|
|
|
|
|
| |
address family set to any, inet, and inet6 respectively. Use
constraints to skip the tests if a family is found to be
unsupported or not configured on the local machine. Adjust the
tests to dynamically adapt to the address family that is being
tested.
|
|
|
|
| |
issues in [try] compilation.
|
|
|
|
|
| |
* tests/error.test (error-19.1[12]): message/opt capture variables get
reflected properly to the caller.
|
|
|
|
|
|
|
|
|
|
| |
* tests/compile.test (compile-3,6): Reworked the compilation of
the [catch] command so as to avoid placing any code that might
throw an exception (specifically, any initial substitutions
or any stores to result or options variables) between the
BEGIN_CATCH and END_CATCH but outside the exception range.
Added a test case that panics on a stack smash if the change
is not made. [Bug #3098302]
|
|
|
|
| |
particular.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when a bytearray gets its internals entangled with zlib for more than
a passing moment, that bytearray will never be shimmered away. This
increases the amount of copying but is simple to get right, which is a
reasonable trade-off.
* generic/tclStringObj.c (Tcl_AppendObjToObj): Added some special
cases so that most of the time when you build up a bytearray by
appending, it actually ends up being a bytearray rather than
shimmering back and forth to string.
* tests/http11.test (check_crc): Use a simpler way to express the
functionality of this procedure.
|
|
|
|
| |
Added testcases for Unicode 6.0
|
| |
|
|
|
|
| |
* tests/subst.test: freed Tcl_Obj. [Bug 3081065]
|
|
|
|
| |
of string representations of dictionaries in some cases.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[fconfiguyre] commands.
* generic/tclInt.h: Introduce TclCreateSocketAddress() as a
* generic/tclIOSock.c: replacement for the platform-dependent
* unix/tclUnixSock.c: TclpCreateSocketAddress() functions.
* unix/tclUnixChan.c: Extend the [socket] and [fconfigure]
* unix/tclUnixPort.h: commands to behave as proposed in
* win/tclWinSock.c: TIP #162.
* win/tclWinPort.h:
* compat/fake-rfc2553.c: A compat implementation of the APIs
* compat/fake-rfc2553.h: defined in RFC-2553 (getaddrinfo() and
friends) on top of the existing
gethostbyname() etc.
* unix/configure.in: Test whether the fake-implementation is
* unix/tcl.m4: needed.
* unix/Makefile.in: Add a compile target for fake-rfc2553.
* win/configure.in: Allow cross-compilation by default
* tests/socket.test: Improve the test suite to make more use of
* tests/remote.tcl: randomized ports to reduce interference with
tests running in parallel or other services
on the machine.
|
|
|
|
|
|
|
| |
* generic/tclExecute.c (TclExecuteByteCode): merge INST_STR_CMP
and INST_STR_EQ/INST_STR_NEQ paths. Speeds up eq/ne/[string eq]
with obj-aware comparisons and eq/==/ne/!= with length equality
check.
|
|
|
|
| |
test causes a mem failure.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
* generic/tclVar.c: make the behaviour of lappend in bytecompiled
* tests/append.test: mode consistent with direct-eval and 'append'
* tests/appendComp.test: generally. Added tests (append*-9.*)
showing the difference.
|
|
|
|
|
|
|
|
|
| |
* generic/tclCmdAH.c: it now schedules the command and returns
* generic/tclCmdMZ.c: TCL_RETURN. This fixes all issues with
* generic/tclExecute.c: [catch] and [try] - [Bug 3046594],
* generic/tclInt.h: [Bug 3047235] and [Bug 3048771]. Thanks
* generic/tclNamesp.c: dgp for exploring the dark corners.
* tests/tailcall.test: More thorough testing is required.
|
|
|
|
|
|
|
|
|
| |
* generic/tclCmdAH.c: (a) fix #3047235
* generic/tclCompile.h: (b) enable fix for #3046594
* generic/tclExecute.c: (c) enable recursive tailcalls
* generic/tclInt.h:
* generic/tclNamesp.c:
* tests/tailcall.test:
|
|
|
|
| |
working condition.
|
|
|
|
|
| |
handling of passing the wrong number of arguments to [apply] somewhat
less verbose when a lambda term is present.
|
| |
|
|
|
|
|
| |
* generic/tclIORTrans.c: in InvokeTclMethod and callers.
* tests/ioTrans.test:
|
| |
|
| |
|
|
|
|
| |
demonstrating the local hashtable deletion crash and fix.
|
|
|
|
|
| |
branch about [Bug 2933089]. Should not fail, and doesn't, after
updating the line numbers to the changed position.
|
|
|
|
|
| |
robust and (apparently) similar through focusing in on what is really being
tested
|
| |
|
| |
|
|
|
|
|
|
| |
sure that errors caused by an argument to an operator being outside
the domain of the operator all result in ::errorCode being ARITH
DOMAIN and not NONE.
|
| |
|
|
|
|
| |
args message.
|
|
|
|
| |
offsets no longer overestimated.
|
|
|
|
|
| |
Only depend on callerPtr chaining now.
Needed for upcoming coro patch.
|
| |
|
|
|
|
|
| |
Corrected error in handling of catch contexts to prevent crash with
chained handlers.
|
| |
|
| |
|
| |
|
|
|
|
| |
(dkf): EIAS violation in list-dict conversions.
|
|
|
|
|
|
| |
* generic/tclBasic.c (NRInterpCoroutine): Corrected handling of
* tests/coroutine.test (coroutine-6.4): arguments to deal with
trickier cases.
|
|
|
|
| |
check that only 0/1 allowed
|
|
|
|
|
|
|
|
| |
not result in a *guaranteed* push of a Tcl_Obj on the stack, we must
push an empty object. Otherwise it is possible to get to a 'concat1'
or 'done' without enough values on the stack, resulting in a crash.
Thanks to Joe Mistachkin for identifying a script that could trigger
this case.
|
| |
|