summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclExecute.c: small opts in obj handlingMiguel Sofer2005-04-042-61/+50
|
* * generic/tclVar.c: converted a few function calls to macros.Miguel Sofer2005-04-032-23/+27
|
* Changed the internal representation of lists to (a) reduce the malloc/freeMiguel Sofer2005-04-0212-639/+530
| | | | | | | | calls at list creation (from 2 to 1), (b) reduce the cost of handling empty lists (we now never create a list internal rep for them), (c) allow refcounting of the list internal rep. The latter permits insuring that the pointers returned by Tcl_ListObjGetElements remain valid even if the object shimmers away from its original list type. This is [Patch 1158008]
* slight reduction in cost of INST_START_CMDMiguel Sofer2005-04-012-16/+36
|
* * generic/tclExecute.c:Miguel Sofer2005-04-013-5/+19
| | | | | * generic/tclInt.h: ExecEnv now stores two Tcl_Obj* pointing to the constants "0" and "1", for use by TEBC.
* * generic/tclExecute.c:Miguel Sofer2005-04-015-138/+267
| | | | | | | | | * generic/tclInt.h: * generic/tclObj.c: * generic/tclStringObj.c: defined new internal macros for creating and setting frequently used obj types (int,long, wideInt, double, string). Changed TEBC to use eg 'TclNewIntObj(objPtr, i)' to avoid the function call in 'objPtr = Tcl_NewIntObj(i)'
* * generic/tclExecute.c (INST_JUMP_TRUE/FALSE): replacedMiguel Sofer2005-03-312-70/+63
| | | | "test and branch" with "compute index into table"
* Added doc for missing argument. [Bug 1172401]dkf2005-03-302-2/+8
|
* * win/tcl.m4, win/configure: do not require cygpath in macros tohobbs2005-03-303-265/+499
| | | | allow msys alone as an alternative.
* * generic/tclCompile.h: Move the TclInterpReady() declaration fromdgp2005-03-254-8/+15
| | | | | | | | | | * generic/tclInt.h: tclCompile.h to tclInt.h. Should have been done as part of the 1115904 bug fix on 2005-03-18. * generic/tclThreadTest.c: Stop providing the phony package "Thread 1.0" when the [::testthread] command is defined. It's never used by anything, and conflicts with loading the real "Thread" package.
* purge outdated commentdgp2005-03-231-4/+2
|
* date typodgp2005-03-181-1/+1
|
* * generic/tclBasic.c (Tcl_EvalEx): Restored recursion limitdgp2005-03-185-22/+80
| | | | | | | | * generic/tclParse.c (TclSubstTokens): testing in nested command * tests/basic.test (basic-46.4): substitutions within direct * tests/parse.test (parse-19.*): script evaluation (Tcl_EvalEx) that got lost in the parser reforms of Tcl 8.1. Added tests for correct behavior. [Bug 1115904]
* * generic/tclCompCmds.c (TclCompileIncrCmd): Corrected checksdgp2005-03-182-15/+17
| | | | | for immediate operand usage to permit leading space and sign characters. [Bug 1165671]
* more tests and a fix to bug 1158199vincentdarley2005-03-152-5/+16
|
* fix to file norm, file pathtype on windows reserved filenames - ensure build ↵vincentdarley2005-03-151-4/+4
| | | | ok on unix
* fix to file norm, file pathtype on windows reserved filenames - ensure build ↵vincentdarley2005-03-151-4/+10
| | | | ok on unix
* fix to file norm, file pathtype on windows reserved filenamesvincentdarley2005-03-154-18/+152
|
* Updated the OpenBSD configuration and regenerated the configure script.patthoyts2005-03-153-30/+83
|
* * generic/tclExecute.c: fixed INST_PUSH1's debugging code (wrongMiguel Sofer2005-03-142-2/+7
| | | | obj ref passed to TRACE_WITH_OBJ).
* * generic/tclCompile.c: fixed INST_RETURN's stack effect inMiguel Sofer2005-03-142-2/+7
| | | | tclInstructionTable (-1 instead of -2)
* * generic/tclCompCmds.c: removed debugging lineMiguel Sofer2005-03-102-2/+5
|
* * generic/tclTrace.c (TclCheckInterpTraces): Corrected mistakendgp2005-03-104-24/+40
| | | | | | | | | cast of ClientData to (TraceCommandInfo *) when not warranted. Thanks to Yuri Victorovich for the report. [Bug 1153871] * generic/tcl.h: Moved flag values TCL_TRACE_ENTER_EXEC and * generic/tclInt.h: TCL_TRACE_LEAVE_EXEC from public interface into private. Should be used only by internal workings of execution traces.
* Fix commentdkf2005-03-091-1/+2
|
* reverting Changelog entry (sticky tags, doh ...)Miguel Sofer2005-03-091-10/+0
|
* msofer-wcodes-branch created to develop a compiler/engine based onMiguel Sofer2005-03-091-0/+10
| | | | wordsized instructions and operands.
* * win/makefile.vc: clarify necessary defined vars that can comehobbs2005-03-082-14/+23
| | | | from MSVC or the Platform SDK.
* Minor typo fix. [Bug 1158247]dkf2005-03-072-6/+10
|
* missing Changelog entryMiguel Sofer2005-03-071-0/+6
|
* * generic/tclExecute.c: new peephole optimisation for INST_PUSH1;Miguel Sofer2005-03-071-6/+27
| | | | | fixed the peephole opt in INST_POP so that it is not used when TCL_COMPILE_DEBUG is defined.
* * doc/CrtSlave.3: Changed to Tcl_Object to Tcl_Obj in the man page.davidw2005-03-012-2/+7
|
* speed up some testsdgp2005-02-241-7/+7
|
* More robust new test tcltest-9.5dgp2005-02-241-7/+9
|
* * library/tcltest/tcltest.tcl: Better use of [glob -types] to avoiddgp2005-02-246-27/+47
| | | | | | | | | * tests/tcltest.test: failed attempts to [source] a directory, and similar matters. Thanks to "mpettigr". [Bug 1119798] * library/tcltest/pkgIndex.tcl: Bump to tcltest 2.2.8 * unix/Makefile.in: * win/Makefile.in:
* Formatting typo [Bug 1149605]dkf2005-02-232-2/+6
|
* * win/tclWinFCmd.c (TraverseWinTree): use wcslen on wchar, nothobbs2005-02-172-6/+11
| | | | Tcl_UniCharLen.
* * /doc/variable.n: fix for [Bug 1124160], variables are detectedMiguel Sofer2005-02-162-2/+7
| | | | by [info vars] but not by [info locals].
* * unix/Makefile.in: remove SHLIB_LD_FLAGS (only for AIX, inlinedhobbs2005-02-114-1077/+2344
| | | | | | * unix/tcl.m4: into SHLIB_LD). Combine AIX-* and AIX-5 * unix/configure: branches in SC_CONFIG_CFLAGS. Correct gcc builds for AIX-4+ and HP-UX-11. autoconf-2.59 gen'd.
* * tests/basic.test (basic-26.3): new testMiguel Sofer2005-02-112-2/+25
|
* * generic/tclBasic.c (Tcl_EvalObjEx):Miguel Sofer2005-02-103-6/+47
| | | | | | * tests/basic.test (basic-26.2): preserve the arguments passed to TEOV in the pure-list branch, in case the list shimmers away. Fix for [Bug 1119369], reported by Peter MacDonald.
* fix to test suite failuresvincentdarley2005-02-102-3/+17
|
* More consistency. [Bug 1117017]dkf2005-02-102-6/+15
|
* * doc/CrtChannel.3: Typo: return->returns.davidw2005-02-082-2/+6
|
* * doc/Thread.3: One-word grammar fix.davidw2005-02-062-2/+6
|
* * doc/Thread.3: Fixed sentence describing flags for Tcl_CreateThread.davidw2005-02-054-7/+17
| | | | | | | * doc/FileSystem.3: Cleaned up typo in Tcl_FSNewNativePath documentation. * generic/tclPathObj.c: Cleaned up typo in comment.
* Whitespace fixes and add notes to #else/#endif so it is clearer what's happeningdkf2005-02-031-25/+26
|
* * generic/tclProc.c (TclInitCompiledLocals):mdejong2005-02-022-3/+20
| | | | | | | | | | Add check for type of the framePtr->procPtr->bodyPtr passed to TclInitCompiledLocals and panic if it is not the correct type. If the body of the proc is not of the compiled byte code type then the code will crash. This was discovered while tracking down a crash in Itcl, that crash is fixed by Itcl patch 1115085.
* * generic/tclExecute.c (TclCompEvalObj): Removed stray statementdgp2005-02-012-2/+6
| | | | left behind in prior code reorganization.
* * unix/configure: autoconf-2.57dgp2005-01-312-1/+11
|
* Restored two double-evals that were removed in the DBGX purge.jenglish2005-01-302-2/+17
| | | | | These are still needed on some platforms to account for TCL_TRIM_DOTS. [Bug 1112654]