summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* load internals refactoringvincentdarley2002-07-173-15/+71
|
* removing the now redundant functions Tcl(Get|Set|Incr)IndexedScalar()Miguel Sofer2002-07-174-1088/+58
| | | | and Tcl(Get|Set|Incr)ElementOfIndexedArray()
* Minor changes to make things build with SunPro CC...dkf2002-07-171-2/+6
|
* variable access optimisationsMiguel Sofer2002-07-173-1253/+1439
|
* const fix for new variable codedgp2002-07-161-3/+3
|
* style guide fixesdgp2002-07-161-72/+103
|
* * generic/tclVar.c: inaccurate comment fixedMiguel Sofer2002-07-161-3/+4
|
* using the new variable name caching possibilities when setting errorMiguel Sofer2002-07-164-16/+29
| | | | results in (Tcl_AddObjErrorInfo) and (TclUpdateReturnInfo)
* * generic/tclVar.c: refactorisation to reuse already looked-up VarMiguel Sofer2002-07-155-505/+1295
| | | | | | | | | | | | | | | | | | pointers; definition of three new Tcl_Obj types to cache variable name parsing and lookup for later reuse; modification of internal functions to profit from the caching. * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclNamesp.c: adding CONST qualifiers to variable names passed to Tcl_FindNamespaceVar and to variable resolvers; adding CONST qualifier to the 'msg' argument to TclLookupVar. Needed to avoid code duplication in the new tclVar.c code. * tests/set-old.test: * tests/var.test: slight modification of error messages due to the modifications in the tclVar.c code.
* comment cleanup and code speedup for fsvincentdarley2002-07-151-9/+9
|
* * Removed declarations that duplicated entries in the (internal)dgp2002-07-151-137/+1
| | | | stub table.
* * Bumped HEAD to version 8.4b2 so we can distinguish it fromdgp2002-07-141-6/+3
| | | | the 8.4b1 release.
* ckalloc() et al take 'unsigned int' sizes, so print them with '%ud' not '%d'dkf2002-07-111-8/+8
|
* tclCompile.c and tclProc.c: small changes in the usage of the VAR_UNDEFINED ↵Miguel Sofer2002-07-112-7/+7
| | | | flag.
* Fix for bug 579284; registered math funcs can now correctly return wide-ints.dkf2002-07-101-4/+8
|
* no zero refcount in Tcl_FSvincentdarley2002-07-081-1/+12
|
* fs cleanupvincentdarley2002-07-082-4/+4
|
* fs cleanupvincentdarley2002-07-084-15/+55
|
* * generic/tclClock.c (FormatClock): Convert the format string tormax2002-07-051-3/+6
| | | | | | UTF8 before calling TclpStrftime, so that non-ASCII characters don't get mangled when the result string is being converted back. * tests/clock.test: Added a test for that.
* * generic/tclCompCmds.c (TclCompileCatchCmd): returnMiguel Sofer2002-07-031-7/+2
| | | | | TCL_OUT_LINE_COMPILE instead of TCL_ERROR: let the failure happen at runtime so that it can be caught [Bug 577015].
* clearer error msgs for file linkvincentdarley2002-07-021-2/+2
|
* * tests/pkg/samename.tcl: restored. needed by pkgMkIndex.test.dgp2002-07-011-2/+2
| | | | | * library/tcltest/tcltest.tcl: restored writeability testing of -tmpdir, augmented by a special exception for the deafault value.
* * generic/tclCompile.h: modified the macro TclEmitPushMiguel Sofer2002-06-281-5/+8
|
* empty path name error msgsvincentdarley2002-06-261-1/+19
|
* Surface fix for bug #533364; TclGetIntForIndex no longer assumes an unshareddkf2002-06-251-4/+12
| | | | empty result when generating an error message.
* Resynch...dkf2002-06-221-3/+3
|
* Bumped version number to b1 in preparation for release.dkf2002-06-211-5/+5
|
* LogSyntaxError() should reset the interpreter resultjenglish2002-06-212-2/+4
| | | | [Bug 550142 "Tcl_ExprObj -> abort"]
* tip99vincentdarley2002-06-215-20/+125
|
* fix for [Bug 571385]Miguel Sofer2002-06-201-9/+12
|
* * generic/tclExecute.c (TclCompEvalObj): clarified and simplified theMiguel Sofer2002-06-201-49/+39
| | | | logic for compilation/recompilation.
* Added parens for claritydgp2002-06-202-5/+6
|
* * generic/tclCmdMZ.c (Tcl_RegexpObjCmd): get the resultPtr againhobbs2002-06-191-1/+4
| | | | | as the Tcl_ObjSetVar2 may cause the result to change. [Patch #558324] (watson)
* generic/tclExecute.c (TEBC): removing unused "for(;;)" loop; improvedMiguel Sofer2002-06-191-2581/+2562
| | | | comments; re-indentation.
* * generic/tclExecute.c (TEBC): elimination of duplicated code in theMiguel Sofer2002-06-181-545/+416
| | | | | | non-immediate INST_INCR instructions; elimination of 103 (!) TclDecrRefCount macros. The different instructions now jump back to a common "DecrRefCount zone" at the topof the loop.
* generic/tclExecute.c (TEBC, INST_DONE): small bug in the panic codeMiguel Sofer2002-06-181-1/+2
| | | | for tcl-stack corruption.
* Trims to support the removal of RESOURCE_INCLUDED from rcdavygrvy2002-06-181-11/+11
| | | | | | | | | | | scripts from FR #565088. * generic/tcl.h: moved the #ifndef RC_INVOKED start block up in the file. rc scripts don't need to know thread mutexes. * win/tcl.rc: * win/tclsh.rc: removed the #define RESOURCE_INCLUDED to let the built-in -DRC_INVOKED to the work.
* * doc/CrtTrace.3: Added TIP#62 implementation of commandhobbs2002-06-1710-166/+984
| | | | | | | | | | | | | | | * doc/trace.n: execution tracing [FR #462580] (lavana). * generic/tcl.h: This includes enter/leave tracing as well * generic/tclBasic.c: as inter-procedure stepping. * generic/tclCmdMZ.c: * generic/tclCompile.c: * generic/tclExecute.c: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclStubInit.c: * generic/tclVar.c: * tests/trace.test:
* generic/tcl.h: #ifdef logic for K&R C backwards compatibilityjenglish2002-06-171-78/+47
| | | | | changed to assume modern C by default. See SF FR #565088 for full details.
* a better algorithm for the previous bug fix.Miguel Sofer2002-06-171-29/+23
|
* [Bug 569438] in the processing of dollar variablesMiguel Sofer2002-06-161-12/+27
|
* bug in the consolidation of the INCR_..._STK instructionsMiguel Sofer2002-06-161-2/+3
|
* runtime peep-hole optimisation of variables (INST_STORE, INST_INCR)Miguel Sofer2002-06-141-10/+45
| | | | and commands (INST_INVOKE); faster check for the existence of a catch.
* runtime peep-hole optimisation of comparisons.Miguel Sofer2002-06-141-17/+43
|
* BC-engine: runtime peep-hole optimisation of INST_FOREACHMiguel Sofer2002-06-141-10/+21
|
* TIP#102 implementation: 'trace list' becomes 'trace info'dkf2002-06-141-15/+15
|
* consolidated code for the conditional branch instructions.Miguel Sofer2002-06-131-53/+34
|
* fixed the previous patch - wouldn't compile with TCL_COMPILE_DEBUG set.Miguel Sofer2002-06-131-13/+13
|
* TclExecuteByteCode: consolidated exception handling of INST_INVOKE,Miguel Sofer2002-06-131-201/+260
| | | | INST_EVAL, INST_BREAK and INST_CONTINUE.
* consolidated opcodes in the bytecode engine, eliminating duplicatedMiguel Sofer2002-06-132-487/+217
| | | | | code. Added the new (but pre-existent in tcl.h) possible flag bit TCL_TRACE_READS to Tcl_(Obj)?SetVar.*