| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* generic/tclIOSock.c (TclCreateSocketAddress): The interp != NULL
check is needed for ::tcl::unsupported::socketAF as well.
|
| |
|
|
|
|
| |
* win/tclWinSock.c (TcpGetOptionProc): NULL (a legal situation).
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* generic/tclCompile.c (tclInstructionTable): of [dict for] so that
* generic/tclExecute.c (TEBCresume): it no longer makes any
use of INST_DICT_DONE now that's not needed, and make it clearer in
the implementation of the instruction that it's just a deprecated form
of unset operation. Followup to my commit of 2010-10-16.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Tcl_GetObjResult, as we don't want to do that anti-pattern no more.
|
|
|
|
| |
Added testcases for Unicode 6.0
|
| |
|
| |
|
|
|
|
|
| |
of the bytecode-level dictionary iterator information so that the
side-conditions on instruction issuing are simpler.
|
|
|
|
|
|
| |
UnicodeData.txt,
corresponding with Unicode 6.0 (except for out-of-range chars > 0xFFFF)
|
| |
|
|
|
|
| |
* generic/tclExecute.c: sharing of empty scripts is allowed again.
|
| |
|
| |
|
|
|
|
| |
(hand-modified) regc_locale.c
|
|
|
|
| |
refactor the calls to freeaddrinfo() [Bug #3084338].
|
|
|
|
| |
Fix some MSVC 6.0 warnings
|
| |
|
|
|
|
| |
Add netapi32 to the windows link line, so we no longer have to use LoadLibrary to access those functions.
|
| |
|
|
|
|
| |
(mixing numwords and numbytes)
|
| |
|
| |
|
|
|
|
| |
* tests/subst.test: freed Tcl_Obj. [Bug 3081065]
|
|
|
|
| |
of string representations of dictionaries in some cases.
|
| |
|
|
|
|
|
|
|
|
|
| |
return data to interp by default, or if given an arg, use that as
filename to output to (accepts 'stdout' and 'stderr').
Fix output to print used inst count data.
* generic/tclCkalloc.c: change TclDumpMemoryInfo sig to allow
* generic/tclInt.decls: objPtr as well as FILE* as output.
* generic/tclIntDecls.h:
|
|
|
|
|
|
|
|
| |
* generic/tclEnv.c, generic/tclLoad.c, generic/tclNamesp.c,
* generic/tclObj.c, generic/tclRegexp.c, generic/tclResolve.c,
* generic/tclResult.c, generic/tclUtil.c, macosx/tclMacOSXFCmd.c:
More purging of strcpy() from locations where we already know the
length of the data being copied.
|
| |
|
| |
|
| |
|
|
|
|
| |
be accomplished by TEBCresume()
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[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/tclCmdIL.c: update): a saner NRE.
* generic/tclCompExpr.c:
* generic/tclCompile.c: This makes TclNRExecuteByteCode
* generic/tclCompile.h: (ex TEBC) to be a normal NRE
* generic/tclExecute.c: citizen: it loses its special status.
* generic/tclInt.decls: The logic flow within the BC engine is
* generic/tclInt.h: simplified considerably.
* generic/tclIntDecls.h:
* generic/tclObj.c:
* generic/tclProc.c:
* generic/tclTest.c:
|
| |
|
|
|
|
|
| |
duplication, let the runtime var resolver call the compiled var
resolver.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
and internal co-thread access of a socket's structure because of
the thread not using the socketListLock in TcpAccept(). Added
documentation on how the module works to the top.
|
|
|
|
| |
as Tcl_SetVar.
|
|
|
|
|
|
| |
* generic/tclEvent.c: Tcl_GetReturnOptions() was leaked.
* generic/tclMain.c: Thanks to Jeff Hobbs for discovery of the
anti-pattern to seek and destroy.
|
|
|
|
| |
Many clean-ups in comments.
|
|
|
|
| |
fixes [Bug 3072640]
|
|
|
|
| |
test causes a mem failure.
|
|
|
|
|
|
|
| |
or ::errorCode with DECACHE_STACK_INFO(), as they could run
traces. The new calls to be protected are Tcl_ResetResult(),
Tcl_SetErrorCode(), IllegalExprOperandType(),
TclExprFloatError(). The error was triggered by [Patch 3072080].
|