summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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
|
* Fix declaration after statement.nijtmans2010-09-214-4/+11
| | | | | Add -Wdeclaration-after-statement, so this mistake cannot happen again.
* Eliminate tclWinProcs->useWide everywhere, since the value is always "1" on ↵dogeen_assembler_splitnijtmans2010-09-204-189/+60
| | | | platforms >win95
* * doc/file.n (file readlink): [Bug 3070580]: Typofix.dkf2010-09-182-7/+11
|
* Oops, didn't mean to check in this file.nijtmans2010-09-181-15/+7
|
* [Bug 3069278]: breakage on head Windows triggerednijtmans2010-09-183-12/+32
| | | | by install-tzdata. Temporary don't compile this with -DUNICODE, while investigating this bug.
* * win/tclWinFile.c: remove define of FINDEX_INFO_LEVELS as allhobbs2010-09-162-23/+4
| | | | supported versions of compilers should now have it.
* * unix/Makefile.in: do not pass current build env vars when usinghobbs2010-09-162-10/+11
| | | | NATIVE_TCLSH in targets.
* Make Tcl_FindExecutable() work in UNICODE compiles (windows-only) as well as ↵nijtmans2010-09-164-8/+18
| | | | | | ASCII. Needed for [FRQ 491789]: setargv() doesn't support a unicode cmdline
* * generic/tclBinary.c (TclAppendBytesToByteArray): [Bug 3067036]: Makedkf2010-09-153-18/+60
| | | | | 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.
* * unix/Makefile.in: Revise `make dist` target to tolerate thedgp2010-09-152-2/+8
| | | | case of zero bundled packages.
* update file generated by 'make dist'dgp2010-09-151-3/+6
|
* [Patch 3034251] backport ttkGenStubs.tclnijtmans2010-09-156-989/+1047
| | | | | | | | features to genStubs.tcl. Make the "generic" argument in the *.decls files optional (no change to any tcl*Decls.h files) This allows genStubs.tcl to generate the ttk stub files as well, while keeping full compatibility with existing *.decls files.
* Allow all Win2000+ API entries in Tclnijtmans2010-09-143-110/+75
| | | | Eliminate dynamical loading of advapi23 and kernal32 symbols.
* Add scspec feature from ttkGenStubs.tclnijtmans2010-09-132-2/+23
| | | | (no change in output for *Decls.h files)
* Various clean-ups, converting from tclWinProc->xxxProc directly to Xxxnijtmans2010-09-137-33/+40
| | | | (no change in functionality)
* Partly revert yesterday's change, to make it work on VC++ 6.0 again.nijtmans2010-09-102-22/+79
|
* * doc/regsub.n: [Bug 3063568]: Fix for gotcha in example due to Tcl'sdkf2010-09-102-16/+24
| | | | | special handling of backslash-newline. Makes example slightly less pure, but more useful.
* mingw should always link with -ladvapi32nijtmans2010-09-098-292/+93
| | | | | | | | | Remove ascii variant of tkWinPocs table, it is no longer necessary. Fix CreateProcess signature and remove unused GetModuleFileName and lstrcpy mingw/cygwin fixes: <tchar.h> should always be included, and fix conflict in various macro values: Always force the same values as in VC++.
* * win/tclWinChan.c: #ifdef protections to permit builds withdgp2010-09-083-25/+40
| | | | | * win/tclWinFCmd.c: mingw on amd64 systems. Thanks to "mescalinum" for reporting and testing. [Bug 3059922]
* * doc/tm.n: Added underscore to the set of characters accepted inandreas_kupries2010-09-082-3/+9
| | | | | module names. This is true for quite some time in the code, this change catches up the documentation.
* Start producing HTML out for Thread package. Consequent bugfixes:dkf2010-09-033-30/+48
| | | | | | | | | * tools/tcltk-man2html.tcl (plus-pkgs): Improve the package documentation search pattern to support the doctoos-generated directory structure. * tools/tcltk-man2html-utils.tcl (output-name): Made this more resilient against misformatted NAME sections, induced by import of Thread package documentation into Tcl doc tree.
* * doc/glob.n: Fixed documentation ambiguity regarding the handlingandreas_kupries2010-09-022-3/+7
| | | | of -join.
* * library/safe.tcl (::safe::AliasGlob): Fixed another problem, theandreas_kupries2010-09-022-2/+8
| | | | | option -join does not stop option processing in the core builtin, so the emulation must not do that either.
* * library/safe.tcl (::safe::AliasGlob): Moved the commandandreas_kupries2010-09-022-2/+8
| | | | | extending the actual glob command with a -directory flag to when we actually have a proper untranslated path,
* * generic/tclExecute.c: [Bug 3057639]. Applied patch by Jeff toandreas_kupries2010-09-015-17/+148
| | | | | | | * 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.
* [Patch 2997642] many type casts needed when using Tcl_Pkg* API. Remaining ↵nijtmans2010-08-312-4/+5
| | | | part, doc.
* [Patch 2997642] many type casts needed when using Tcl_Pkg* API. Remaining part.nijtmans2010-08-319-24/+36
| | | | Typo in rules.vc
* * win/tcl.m4: Applied patch by Jeff fixing issues with theandreas_kupries2010-08-313-4/+14
| | | | | manifest handling on Win64. * win/configure: Regenerated.
* * generic/tclBasic.c: New implementation for [tailcall]:Miguel Sofer2010-08-308-180/+136
| | | | | | | | | * 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.
* [Patch 2997642] many type casts needed when using Tcl_Pkg* API. Partly.nijtmans2010-08-302-3/+5
|
* [Patch 2997642] many type casts needed when using Tcl_Pkg* API. Partly.nijtmans2010-08-306-28/+32
|
* [Freq 2965056]: Windows build with -DUNICODEnijtmans2010-08-3010-29/+58
|