summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclNamesp.c: tweaks to Tcl_GetCommandFromObj andMiguel Sofer2007-06-113-13/+15
| | | | * generic/tclObj.c: TclGetNamespaceFromObj
* * generic/tclExecute.c: comments added to explain iPtr->numLevelsMiguel Sofer2007-06-112-2/+10
| | | | management.
* * generic/tclBasic.c: Further TEOvI split, creating a newMiguel Sofer2007-06-104-78/+93
| | | | | | | * generic/tclCompile.h: TclEvalObjvKnownCommand() function to * generic/tclExecute.c: handle commands that are already known and are not traced. INST_INVOKE now calls into this function instead of inlining parts of TEOvI. Same perf, better isolation.
* fix Tcl_Panic error message typo [Bug 1712602]hobbs2007-06-101-2/+2
|
* * README: updated links. [Bug 1715081]hobbs2007-06-102-34/+23
|
* * generic/tclExecute.c (TclExecuteByteCode): restore support forhobbs2007-06-102-9/+146
| | | | | INST_CALL_BUILTIN_FUNC1 and INST_CALL_FUNC1 bytecodes to support 8.4- precompiled sources (math functions). [Bug 1720895]
* * generic/tclInt.h:Miguel Sofer2007-06-105-103/+108
| | | | | | | | | * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclvar.c: new macros TclGetCurrentNamespace() and TclGetGlobalNamespace(); Tcl_GetCommandFromObj and TclGetNamespaceFromObj rewritten to make the logic clearer; slightly faster too.
* fix for ne TclCleanupCommandMacro (doh!)Miguel Sofer2007-06-101-2/+2
|
* * generic/tclExecute.c (INST_INVOKE): isolated two vars to theMiguel Sofer2007-06-092-3/+6
| | | | small block where they are actually used.
* * generic/tclObj.c (Tcl_GetCommandFromObj): rewritten to make theMiguel Sofer2007-06-092-41/+35
| | | | logic clearer; slightly faster too.
* added incompat warning in ChangelogMiguel Sofer2007-06-091-0/+8
|
* * generic/tclBasic.c: Split TEOv in two, by separating aMiguel Sofer2007-06-097-159/+359
| | | | | | | | | | | | | | | | | | | | | | processor for non-TCL_OK returns. Also spli TEOvI in a full version that handles non-existing and traced commands, and a separate shorter version for the regular case. * generic/tclBasic.c: Moved the generation of command strings for * generic/tclTrace.c: traces: previously in Tcl_EvalObjv(), now in TclCheck[Interp|Execution]Traces(). Also insured that the strings are properly nul terminated at the correct length [Bug 1693986] * generic/tclBasic.c: Extend usage of TclLimitReady() and * generic/tclExecute.c: (new) TclLimitExceeded() macros. * generic/tclInt.h: * generic/tclInterp.c: * generic/tclInt.h: New TclCleanupCommandMacro for core usage. * generic/tclBasic.c: * generic/tclExecute.c: * generic/tclObj.c:
* * macosx/Tcl.xcodeproj/project.pbxproj: add new Tclsh-Info.plist.in.das2007-06-092-2/+8
|
* Forgot to fix the relevant testsdkf2007-06-082-8/+8
|
* Make [string first] and [string last] clearerdkf2007-06-083-14/+22
|
* * generic/tclParse.c: fix for uninit read [Bug 1732414].Miguel Sofer2007-06-062-2/+7
|
* * macosx/Tcl.xcodeproj/project.pbxproj: add settings for Fix&Continue.das2007-06-068-30/+100
| | | | | | | | | | * unix/configure.in (Darwin): add plist for tclsh; link the * unix/Makefile.in (Darwin): Tcl and tclsh plists into their * macosx/Tclsh-Info.plist.in (new): binaries in all cases. * macosx/Tcl-Common.xcconfig: * unix/tcl.m4 (Darwin): fix CF checks in fat 32&64bit builds. * unix/configure: autoconf-2.59
* * generic/tclBasic.c: Added interp flag value ERR_LEGACY_COPY todgp2007-06-057-12/+51
| | | | | | | | * generic/tclInt.h: control the timing with which the global * generic/tclNamesp.c: variables ::errorCode and ::errorInfo get * generic/tclProc.c: updated after an error. This keeps more * generic/tclResult.c: precise compatibility with Tcl 8.4. * tests/result.test (result-6.2): [Bug 1649062]
* * generic/tclInt.h:Miguel Sofer2007-06-053-190/+301
| | | | * generic/tclExecute.c: Tcl-stack reform, [Patch 1701202]
* Add missing constraintsdgp2007-06-041-3/+3
|
* * unix/Makefile.in: add datarootdir to silence autoconf-2.6x warning.das2007-06-032-1/+6
|
* * generic/tclBasic.c: Removed code that dealt withdgp2007-05-307-259/+167
| | | | | | | | | | | | | | | | * generic/tclCompile.c: TCL_TOKEN_EXPAND_WORD tokens representing * generic/tclCompile.h: expanded literal words. These sections were mostly in place to enable [info frame] to discover line information in expanded literals. Since the parser now generates a token for each post-expansion word referring to the right location in the original script string, [info frame] gets all the data it needs. * generic/tclInt.h: Revised the parser so that it never produces * generic/tclParse.c: TCL_TOKEN_EXPAND_WORD tokens when parsing an * tests/parse.test: expanded literal word; that is, something like {*}{x y z}. Instead, generate the series of TCL_TOKEN_SIMPLE_WORD tokens to represent the words that expansion of the literal string produces. [RFE 1725186]
* * unix/tclUnixThrd.c (Tcl_JoinThread): fix for 64-bit handling ofhobbs2007-05-292-3/+12
| | | | pthread_join exit return code storage. [Bug 1712723]
* restore line endingsdgp2007-05-297-1058/+1058
|
* * unix/configure: autoconf-2.59 (FC6 fork)dgp2007-05-1813-65/+67
| | | | | | | | | | | | | | | | | * win/configure: * README: Bump version number to 8.5a7 * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * generic/tclParse.c: Disable and remove the ALLOW_EXPAND sections * tests/info.test: that continued to support the deprecated * tests/mathop.test: {expand} syntax. Updated the few remaining users of that syntax in the test suite.
* suppress compiler warnings about values computed and not useddgp2007-05-171-3/+3
|
* Added macro version of Tcl_LimitReady.dkf2007-05-173-86/+126
|
* sync with core-8-4-branch tcl/changesdas2007-05-161-1/+3
|
* * generic/tcl.decls: workaround 'make checkstubs' failures fromdas2007-05-162-4/+22
| | | | tclStubLib.c MODULE_SCOPE revert. [Bug 1716117]
* Change Tcl_InitStubs(), tclStubsPtr, and the auxilliary stubs tablejenglish2007-05-162-11/+14
| | | | | | | | pointers back to public visibility. These symbols need to be exported so that stub-enabled extensions may be statically linked into an extended tclsh or Big Wish with a dynamically-linked libtcl. [Bug#1716117]
* * win/configure: autoconf-2.59 (FC6 fork)dgp2007-05-156-33/+55
| | | | | | | * library/reg/pkgIndex.tcl: Bump to registry 1.2.1 to account for * win/configure.in: [1682211] bug fix. * win/makefile.bc: * win/tclWinReg.c:
* * generic/tclInt.h: Removed TclEvalObjEx and TclGetSrcInfoForPcpatthoyts2007-05-112-5/+6
| | | | from tclInt.h now they are in the internal stubs table.
* Minor whitespace cleanupdkf2007-05-111-1/+6
|
* Add a full stop to a commentdkf2007-05-111-2/+2
|
* Better const correctnessdkf2007-05-111-4/+4
|
* Minor comment improvements and code reordering for claritydkf2007-05-111-32/+42
|
* * generic/tclInt.h: TclFinalizeThreadAlloc() is always defined,dgp2007-05-092-2/+7
| | | | so make sure it is also always declared (with MODULE_SCOPE).
* * macosx/Tcl.xcodeproj/project.pbxproj: add 'DebugUnthreaded' &das2007-05-093-4/+116
| | | | | * macosx/Tcl.xcodeproj/default.pbxuser: 'DebugLeaks' targets and env var settings needed to run the 'leaks' tool.
* * generic/tclInt.h: fix warning when building threaded with -DPURIFY.das2007-05-091-1/+2
|
* [Tcl Bug 1706140]dgp2007-05-076-63/+69
| | | | | | | | | | | | | | | | | * generic/tclLink.c (LinkTraceProc): Update Tcl_VarTraceProcs so that * generic/tclNamesp.c (Error*Read): they call Tcl_InterpDeleted() * generic/tclTrace.c (Trace*Proc): for themselves, and do not rely * generic/tclUtil.c (TclPrecTraceProc): on (frequently buggy) setting of the TCL_INTERP_DESTROYED flag by the trace core. * generic/tclVar.c: Update callers of TclCallVarTraces to not pass in the TCL_INTERP_DESTROYED flag. Also apply filters so that public routines only pass documented flag values down to lower level routines. * generic/tclTrace.c (TclCallVarTraces): The setting of the TCL_INTERP_DESTROYED flag is now done entirely within the TclCallVarTraces routine, the only place it can be done right.
* regendkf2007-05-052-2/+26
|
* Changes to allow the tip257 code to work as an extension properly post-tip280dkf2007-05-055-112/+174
|
* More type-pun warning squelchesdkf2007-05-054-273/+283
|
* Record the dll base addresses for some additional extensionspatthoyts2007-05-041-1/+5
|
* Comment and open file as textpatthoyts2007-05-041-3/+14
|
* * tests/encoding.test: Modified so that encoding tests happenKevin B Kenny2007-05-044-18/+55
| | | | | | | | | in a private namespace, to avoid polluting the global one. This problem was discovered when running the test suite '-singleproc 1 -skip exec.test' because the 'path' variable in encoding.test conflicted with the one in io.test. * tests/io.test: Made more of the working variables private to the namespace.
* Changelog clarificationMiguel Sofer2007-05-031-1/+2
|
* * generic/tclPathObj.c (Tcl_FSJoinPath, Tcl_FSGetNormalizedPath):Kevin B Kenny2007-05-022-3/+14
| | | | | | Corrected several memory leaks that caused refcount imbalances resulting in memory leaks on Windows. Thanks to Joe Mistachkin for the patch.
* Convert to using ANSI function definitions.dkf2007-05-027-1066/+1058
|
* * generic/tclTest.c (SimpleMatchInDirectory): Corrected a refcountKevin B Kenny2007-05-022-2/+7
| | | | | imbalance that affected the filesystem-[147]* tests in the test suite. Thanks to Don Porter for the patch. [Bug 1710707]