summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [Patch 2995655] Report inner contexts in [info errorstack]ferrieux2010-10-2011-41/+369
|
* * generic/tclCompCmds.c (TclCompileDictForCmd): Update the compilationdkf2010-10-204-27/+46
| | | | | | | | * 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.
* * generic/tclZlib.c (Tcl_ZlibStreamGet): [Bug 3081008]: Ensure thatdkf2010-10-194-7/+40
| | | | | | | | | | | | | | | 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.
* * generic/tclZlib.c: Purge code that wrote to the object returned bydkf2010-10-192-52/+62
| | | | Tcl_GetObjResult, as we don't want to do that anti-pattern no more.
* [Bug 3085863]: tclUniData 9 years oldnijtmans2010-10-184-21/+32
| | | | Added testcases for Unicode 6.0
* Document [info errorstack] faithfully.ferrieux2010-10-171-0/+4
|
* Document [info errostack] faithfully.ferrieux2010-10-171-4/+14
|
* * generic/tclExecute.c (ReleaseDictIterator): Factored out the releasedkf2010-10-162-41/+75
| | | | | of the bytecode-level dictionary iterator information so that the side-conditions on instruction issuing are simpler.
* [Bug 3085863] tclUniData 9 years old: Updated Unicode tables to latest ↵nijtmans2010-10-154-974/+1009
| | | | | | UnicodeData.txt, corresponding with Unicode 6.0 (except for out-of-range chars > 0xFFFF)
* remove outdated commentdgp2010-10-131-7/+1
|
* * generic/tclCompile.c: Alternative fix for [Bugs 467523,983660] wheredgp2010-10-133-7/+12
| | | | * generic/tclExecute.c: sharing of empty scripts is allowed again.
* tclWinThrd.h: (removed) because it is just empty en used nowherenijtmans2010-10-133-25/+5
|
* Generate proper const qualifiers for tclUniData.cnijtmans2010-10-123-8/+10
|
* Spacing and comments: let uniClass.tcl generation match better the current ↵nijtmans2010-10-123-18/+15
| | | | (hand-modified) regc_locale.c
* * unix/tclUnixSock.c (CreateClientSocket): Fix a memleak andrmax2010-10-122-16/+11
| | | | refactor the calls to freeaddrinfo() [Bug #3084338].
* Eliminate many tclWinProcs-> indirect calls, which are no longer needed.nijtmans2010-10-129-233/+197
| | | | Fix some MSVC 6.0 warnings
* Update for VS10nijtmans2010-10-112-2/+5
|
* [FRQ 2965056]: Windows build with -DUNICODEnijtmans2010-10-118-416/+174
| | | | Add netapi32 to the windows link line, so we no longer have to use LoadLibrary to access those functions.
* fix wrong date in Changelog entryMiguel Sofer2010-10-091-1/+1
|
* * generic/tclExecute.c: fix overallocation of exec stack in TEBCMiguel Sofer2010-10-092-4/+11
| | | | (mixing numwords and numbytes)
* On Windows, use gai_strerrorAnijtmans2010-10-072-1/+11
|
* * tests/winPipe.test: Test hygiene with makeFile and removeFile.dgp2010-10-062-11/+18
|
* * generic/tclCompile.c: Prevent writing to the intrep fields of adgp2010-10-063-4/+33
| | | | * tests/subst.test: freed Tcl_Obj. [Bug 3081065]
* * generic/tclExecute.c (TEBCresume): [Bug 3079830]: Added invalidationdkf2010-10-023-118/+150
| | | | of string representations of dictionaries in some cases.
* Add function-header comments.dkf2010-10-021-13/+38
|
* * generic/tclExecute.c (EvalStatsCmd): change 'evalstats' tohobbs2010-10-025-113/+154
| | | | | | | | | 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/tclBasic.c, generic/tclClock.c, generic/tclEncoding.c,dkf2010-10-0113-67/+87
| | | | | | | | * 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.
* tclMain.c: make compilable with -DUNICODE as wellnijtmans2010-09-292-24/+73
|
* re-generate configure with autoconf-2.59nijtmans2010-09-293-4879/+13786
|
* reverting faulty commitMiguel Sofer2010-09-282-17/+31
|
* * generic/tclExecute.c: remove TEBCreturn() callback, the job canMiguel Sofer2010-09-282-33/+19
| | | | be accomplished by TEBCresume()
* Implement TIP#162rmax2010-09-283-0/+468
|
* * doc/socket.n: Document the changes to the [socket] and rmax2010-09-2815-14117/+5972
| | | | | | | | | | | | | | | | | | | | | | | | | | | [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.
* fix error with --enable-symbols=compileMiguel Sofer2010-09-271-9/+9
|
* missed ChangeLog entryMiguel Sofer2010-09-271-3/+2
|
* * generic/tclBasic.c: [Patch 3072080] (minus the itclMiguel Sofer2010-09-2713-772/+497
| | | | | | | | | | | | | | * 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:
* * generic/tclVar.c: use the macro HasLocalVars everywhereMiguel Sofer2010-09-272-4/+7
|
* * generic/tclOOMethod.c (ProcedureMethodVarResolver): avoid codeMiguel Sofer2010-09-262-51/+16
| | | | | duplication, let the runtime var resolver call the compiled var resolver.
* * tests/stringComp.test: improved string test coveragehobbs2010-09-253-264/+232
| | | | | | | * 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.
* * tclWinsock.c: [Bug 3056775]: Fixed race condition between threadandreas_kupries2010-09-242-1/+54
| | | | | | 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.
* Make Tcl_SetPanicProc and Tcl_GetStringResult callable without stubs, just ↵nijtmans2010-09-234-5/+15
| | | | as Tcl_SetVar.
* * generic/tclCmdAH.c: Fix cases where value returned bydgp2010-09-234-3/+13
| | | | | | * generic/tclEvent.c: Tcl_GetReturnOptions() was leaked. * generic/tclMain.c: Thanks to Jeff Hobbs for discovery of the anti-pattern to seek and destroy.
* Make compilable with -DUNICODE (not actived yet)nijtmans2010-09-233-115/+130
| | | | Many clean-ups in comments.
* * generic/tclExecute: one more DECACHE_STACK_INFO() missing; thisMiguel Sofer2010-09-222-2/+5
| | | | fixes [Bug 3072640]
* * tests/execute.test: added execute-10.3 for [Bug 3072640]. TheMiguel Sofer2010-09-222-1/+25
| | | | test causes a mem failure.
* * generic/tclExecute: protect all possible writes to ::errorInfoMiguel Sofer2010-09-222-2/+52
| | | | | | | 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].
* Improved readability of tcl+pkgs builds and testsdgp2010-09-221-7/+9
|
* Add kernel32 to LIBS, so the link line for mingw is exactly the same as for ↵nijtmans2010-09-223-2/+7
| | | | MSVC++
* * generic/tclOOMethod.c (ProcedureMethodCompiledVarConnect):hobbs2010-09-227-43/+50
| | | | | | | | | * generic/tclVar.c (TclLookupSimpleVar, CompareVarKeys): * generic/tclPathObj.c (Tcl_FSGetNormalizedPath, Tcl_FSEqualPaths): * generic/tclExecute.c (TclExecuteByteCode): * generic/tclIOUtil.c (TclFSCwdPointerEquals): peephole opt * generic/tclResult.c (TclMergeReturnOptions): use memcmp where applicable as possible speedup on some libc variants.
* [Bug 3069278]: Breakage on head Windows triggered by install-tzdata, final fixnijtmans2010-09-213-17/+11
|