summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclIO.c: When [gets] on a binary channel needs to usedgp2006-11-132-12/+49
| | | | | | | the "iso8859-1" encoding, save a copy of that encoding per-thread to avoid repeated freeing and re-loading of it from the file system. This replaces the cached copy of this encoding that the platform initialization code used to keep in pre-8.5 releases.
* * generic/tclCompExpr.c: fix gcc warnings about 'cast to/fromdas2006-11-1321-89/+460
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclEncoding.c: pointer from/to integer of different * generic/tclEvent.c: size' on 64-bit platforms by casting to * generic/tclExecute.c: intermediate types intptr_t/uintptr_t * generic/tclHash.c: via new PTR2INT(), INT2PTR(), * generic/tclIO.c: PTR2UINT() and UINT2PTR() macros. * generic/tclInt.h: [Patch 1592791] * generic/tclProc.c: * generic/tclTest.c: * generic/tclThreadStorage.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/configure.in: * unix/tclUnixChan.c: * unix/tclUnixPipe.c: * unix/tclUnixPort.h: * unix/tclUnixTest.c: * unix/tclUnixThrd.c: * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
* Regendkf2006-11-122-2/+30
|
* Transfer TclPtrMakeUpvar and TclObjLookupVar to the internal stubs table.dkf2006-11-123-11/+18
|
* suppress linker arch warnings when building universaldas2006-11-101-1/+4
|
* * tests/fCmd.test (fCmd-6.26): fix failure when env(HOME) path containsdas2006-11-106-8/+28
| | | | | | | | | | | | | | symlinks. * macosx/Tcl.xcodeproj/project.pbxproj: remove tclParseExpr.c; when running testsuite from inside Xcdoe, skip stack-3.1 (it only fails under those circumstances). * unix/tcl.m4 (Darwin): suppress linker arch warnings when building universal for both 32 & 64 bit and no 64bit CoreFoundation is available; sync with tk tcl.m4 change. * unix/configure.in: whitespace. * unix/configure: autoconf-2.59
* * generic/tclParseExpr.c (removed): Moved all the code ofdgp2006-11-098-1091/+1065
| | | | | | | | | * generic/tclCompExpr.c: tclParseExpr.c into tclCompExpr.c. * unix/Makefile.in: This sets the stage for expr compiling to * win/Makefile.in: work directly with the full parse tree * win/makefile.bc: structures, and not have to pass through * win/makefile.vc: the information lossy format of an array * win/tcl.dsp: of Tcl_Tokens.
* Optimize for the unshared case.dkf2006-11-094-26/+75
|
* Implemented [string reverse].dkf2006-11-095-15/+56
| | | | Finalizes basic TIP#272 implementation.
* Implemented [lreverse] from TIP#272dkf2006-11-096-4/+109
|
* Fix spot where bug number formating was inconsistentdkf2006-11-081-1/+1
|
* Minor simplification of memcpy usagedkf2006-11-084-73/+110
|
* Rewrite for style and clarity (esp. tclPkg.c)dkf2006-11-083-636/+803
|
* * unix/tclUnixFCmd.c (CopyFile): [SF Tcl Bug 1586470]. Added codeandreas_kupries2006-11-072-1/+17
| | | | | to fall back to a hardwired default block size should the filesystem report a bogus value.
* Minor updates (whitespace police, etc.)dkf2006-11-073-29/+29
|
* Minor changes (whitespace police, etc.)dkf2006-11-071-59/+56
|
* * generic/tclStringObj.c: Changed Tcl_ObjPrintf() response todgp2006-11-052-2/+7
| | | | | an invalid format specifier string. No longer panics; now produces an error message as output.
* TIP#274 IMPLEMENTATIONdgp2006-11-053-3/+17
| | | | | * generic/tclParseExpr.c: Exponentiation operator is now * tests/expr.test: right associative. [Patch 1556802]
* * generic/tclBasic.c (TEOVI): fix por possible leak of a CommandMiguel Sofer2006-11-042-3/+8
| | | | in the presence of execution traces that delete it.
* * generic/tclBasic.c (TEOVI):Miguel Sofer2006-11-033-12/+41
| | | | | | * tests/trace.test (trace-21.11): fix for [Bug 1590232], execution traces may cause a second command resolution in the wrong namespace.
* Rename constraint to look more conventionaldkf2006-11-031-15/+11
|
* Keep most tests from making sockets that are reachable off the machine.dkf2006-11-037-97/+98
|
* Minor syntactic changesdkf2006-11-031-7/+6
|
* * macosx/Tcl.xcodeproj/project.pbxproj: check autoconf/autoheader exitdas2006-11-032-1/+6
| | | | status and stop build if they fail.
* * doc/ParseCmd.3, doc/Tcl.n, doc/eval.n, doc/exec.n:hobbs2006-11-0340-316/+341
| | | | | | | | | | | | | | | | | | * doc/fconfigure.n, doc/interp.n, doc/unknown.n: * library/auto.tcl, library/init.tcl, library/package.tcl: * library/safe.tcl, library/tm.tcl, library/msgcat/msgcat.tcl: * tests/all.tcl, tests/basic.test, tests/cmdInfo.test: * tests/compile.test, tests/encoding.test, tests/execute.test: * tests/fCmd.test, tests/http.test, tests/init.test: * tests/interp.test, tests/io.test, tests/ioUtil.test: * tests/iogt.test, tests/namespace-old.test, tests/namespace.test: * tests/parse.test, tests/pkg.test, tests/pkgMkIndex.test: * tests/proc.test, tests/reg.test, tests/trace.test: * tests/upvar.test, tests/winConsole.test, tests/winFCmd.test: * tools/tclZIC.tcl: * generic/tclParse.c (Tcl_ParseCommand): Replace {expand} with {*} officially (TIP #293). Leave -DALLOW_EXPAND=0|1 option to keep {expand} syntax for transition users. [Bug 1589629]
* * generic/tclCmdAH.c: Further revisions to produce the routinesdgp2006-11-025-108/+26
| | | | | | * generic/tclInt.h: TclFormat() and TclAppendFormatToObj() that * generic/tclNamesp.c: accept (objc, objv) arguments rather than * generic/tclStringObj.c: any varargs stuff.
* Silence compiler grumbles.dkf2006-11-025-49/+51
|
* Fixed non-robustness error when opening subshell pipes when the current ↵dkf2006-11-022-12/+15
| | | | | | directory has a space in the name
* Fix some comments, make selected if/while bodies clearer by inserting comments.dkf2006-11-021-9/+11
|
* * generic/tclBasic.c: Further revised TclAppendPrintToObj() anddgp2006-11-0220-97/+110
| | | | | | | | | | | | | | | | | | | | | * generic/tclCkalloc.c: TclObjPrintf() routines to panic when unable * generic/tclCmdAH.c: to complete their formatting operations, rather * generic/tclCmdIL.c: than report an error message. This means an * generic/tclCmdMZ.c: interp argument for error message recording is * generic/tclDictObj.c: no longer needed, further simplifying the * generic/tclExecute.c: interface for callers. * generic/tclIORChan.c: * generic/tclIOUtil.c: * generic/tclInt.h: * generic/tclMain.c: * generic/tclNamesp.c: * generic/tclParseExpr.c: * generic/tclPkg.c: * generic/tclProc.c: * generic/tclStringObj.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/tclUnixFCmd.c:
* Reverted tclEncoding.c commits that caused crashes and failures all overdgp2006-11-022-125/+129
| | | | the place.
* Make better use of the core's internal macros.dkf2006-11-021-89/+96
|
* Removed unnecessary casts and reworked some loops for more clarity.dkf2006-11-022-41/+30
|
* Clean up uses of cast NULLs.dkf2006-11-022-22/+24
|
* Added explanations, cleaned up whitespace.dkf2006-11-022-12/+32
|
* Indentation policingdkf2006-11-021-20/+24
|
* More trivial formatting stuffdkf2006-11-021-17/+22
|
* Remove confusing line breakdkf2006-11-021-3/+2
|
* Whitespace policingdkf2006-11-021-9/+8
|
* Rewrote comments in TEOVI for clarity and usefulness.dkf2006-11-022-50/+97
| | | | Switched to using TclStackAlloc for unknown handler scratch space.
* fix warningdas2006-10-311-2/+1
|
* * unix/tclUnixPort.h: ensure MODULE_SCOPE is defined before use, sodas2006-10-313-3/+15
| | | | | | | that tclPort.h can once again be included without tclInt.h. * generic/tclEnv.c (Darwin): mark _environ symbol as unexported even when MODULE_SCOPE != __private_extern__.
* Updated version of http packagepatthoyts2006-10-311-6/+6
|
* * generic/tclBasic.c: Refactored and renamed the routinesdgp2006-10-3120-195/+212
| | | | | | | | | | | | | | | | | | | | | * generic/tclCkalloc.c: TclObjPrintf, TclFormatObj, and * generic/tclCmdAH.c: TclFormatToErrorInfo to a new set of * generic/tclCmdIL.c: routines TclAppendPrintfToObj, * generic/tclCmdMZ.c: TclAppendFormatToObj, TclObjPrintf, and * generic/tclDictObj.c: TclObjFormat, with the intent of making * generic/tclExecute.c: the latter list, plus TclAppendLimitedToObj * generic/tclIORChan.c: and TclAppendObjToErrorInfo, public via * generic/tclIOUtil.c: a revised TIP 270. * generic/tclInt.h: * generic/tclMain.c: * generic/tclNamesp.c: * generic/tclParseExpr.c: * generic/tclPkg.c: * generic/tclProc.c: * generic/tclStringObj.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/tclUnixFCmd.c:
* * generic/tclBasic.c:Miguel Sofer2006-10-315-13/+17
| | | | | | | | * generic/tcl.h: * generic/tclInterp.c: * generic/tclNamesp.c: removing the flag bit TCL_EVAL_NOREWRITE, the last remnant of the callObjc/v fiasco. It is not needed, as it is now always set and checked or'ed with TCL_EVAL_INVOKE.
* Fix for bug #1582769 - options conflict with VC2003.patthoyts2006-10-312-1/+12
|
* Fix [Bug 1587618], eliminating the callObjc and callObjv fields from the Interpdkf2006-10-318-109/+85
| | | | structure.
* * tools/tcltk-man2html.tcl (option-toc): handle any kind ofhobbs2006-10-312-1/+6
| | | | options defined toc section (needed for ttk docs)
* boo - last commit did not compile :(Miguel Sofer2006-10-311-2/+2
|
* * generic/tclBasic.c (TEOVI): insured that the interp's callObjc/vMiguel Sofer2006-10-312-4/+20
| | | | | fields are restored after traces run, as they be spoiled. This was causing a segfault in tcllib's profiler tests.