summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclExecute.c: bugfix (reading freed memory). TestsuiteMiguel Sofer2002-08-011-22/+18
| | | | passed on linux/i386, compile-13.1 hung on linux/alpha.
* * generic/tclInt.h (USE_THREAD_ALLOC): for unshared objects,Miguel Sofer2002-08-011-19/+73
|
* * generic/tclCkalloc.c (TclFinalizeMemorySubsystem):mdejong2002-08-011-2/+2
| | | | | | | | Don't lock the ckalloc mutex before invoking the Tcl_DumpActiveMemory function since it also locks the same mutex. This code is only executed when "memory onexit filename" has been executed and Tcl is compiled with -DTCL_MEM_DEBUG.
* TclDecrRefCount under USE_THREAD_ALLOC: free intRep first, then stringMiguel Sofer2002-07-311-5/+5
| | | | rep [Bug 524802]
* * generic/tclInterp.c: signed/unsigned comparison warning fixedMiguel Sofer2002-07-311-3/+3
|
* Comment formatting fixesdkf2002-07-311-46/+46
|
* * tests/io.test:andreas_kupries2002-07-301-2/+16
| | | | | | | | | * generic/tclIO.c (WriteChars): Added flag to break out of loop if nothing of the input is consumed at all, to prevent infinite looping of called with a non-UTF-8 string. Fixes Bug 584603 (partially). Added new test "io-60.1". Might need additional changes to Tcl_Main so that unprintable results are printed as binary data.
* * unix/tcl.m4 (SC_SERIAL_PORT): Fixed detection for cases whenrmax2002-07-291-5/+2
| | | | | | | | | | | | | configure's stdin is not a tty. * unix/tclUnixPort.h: * generic/tclIOSock.c: Changed size_t to socklen_t in socket-related function calls. * unix/configure.in: Added test and fallback definition for socklen_t. * unix/configure: generated.
* bugfix, new tests for new [interp alias] codeMiguel Sofer2002-07-294-15/+20
|
* Extra comments for argumentsdkf2002-07-291-28/+29
|
* Fixes for regexp issues raised in [Bug 578363].dkf2002-07-292-440/+466
| | | | | Lots of thanks to pvgoran@users.sf.net for tracking them down! Also made the RE files touched meet the Tcl Engineering Guidelines a bit better (they've a long way to go, but this is a start...)
* Fix for [Bug 582522] - aliases now fire execution traces on the targetMiguel Sofer2002-07-293-89/+81
| | | | command. Optimisation of alias invocation.
* * generic/tclExecute.c: fixed Tcl_Obj leak in code correspondingMiguel Sofer2002-07-271-2/+2
| | | | to the macro NEXT_INST_V(x, 0, 1) [Bug 587495].
* * generic/tclVar.c (TclObjLookupVar): leak fix and improvedMiguel Sofer2002-07-271-19/+26
| | | | comments.
* * generic/tclVar.c (TclLookupVar): removed early returns thathobbs2002-07-261-15/+11
| | | | | prevented the parens from being restored. also removed goto label as it was not necessary.
* * generic/tclExecute.c:Miguel Sofer2002-07-261-6/+55
| | | | | * tests/expr-old.test: fix for erroneous error messages in [expr], [Bug 587140] reported by Martin Lemburg.
* Fix for Tk Bug #219218 "error handling with bgerror in Tk"jenglish2002-07-251-2/+2
|
* * generic/tclExecute.c: restoring full TCL_COMPILE_DEBUGMiguel Sofer2002-07-241-239/+117
| | | | functionality.
* * generic/tclExecute.c: restoring the tcl_traceCompile functionalityMiguel Sofer2002-07-241-1/+7
| | | | | | while I repair tcl_traceExec. The core now compiles and runs also under TCL_COMPILE_DEBUG, but execution in the bytecode engine can still not be traced.
* removed load-related clientData, made filesystem staticvincentdarley2002-07-222-18/+15
|
* removed load-related clientData, made filesystem staticvincentdarley2002-07-226-33/+42
|
* Allowed parser to recognise 'Inf' as a floating-point number. [Bug 218000]dkf2002-07-222-4/+22
| | | | Also produce better error messages when this happens.
* * Silence compiler warning. [Bug 584408]dgp2002-07-211-1/+3
|
* vfs fixesvincentdarley2002-07-201-1/+2
|
* Global symbols are now all either prefixed with 'tcl' (or 'Tcl' or ...) or ↵dkf2002-07-198-47/+54
| | | | have file-scope.
* Cleanup and simplificationdkf2002-07-191-26/+26
| | | | (file-vars are private, loops are not done when effects are unobservable)
* Tcl_LoadHandle usagevincentdarley2002-07-184-16/+16
|
* fix to knownBug testvincentdarley2002-07-181-1/+13
|
* load comments and clientData replacementvincentdarley2002-07-181-3/+4
|
* load comments and clientData replacementvincentdarley2002-07-182-11/+14
|
* load comments and clientData replacementvincentdarley2002-07-182-4/+3
|
* load comments and clientData replacementvincentdarley2002-07-183-15/+27
|
* * generic/tclBasic.c (CallCommandTraces): delete traces now receiveMiguel Sofer2002-07-181-3/+17
| | | | the FQ old name of the command. [Bug 582532] (Don Porter)
* * generic/tclVar.c (DupParsedVarName): nasty bug fixedMiguel Sofer2002-07-171-6/+7
|
* * generic/tclVar.c (TclPtrIncrVar): missing CONST in declarations,Miguel Sofer2002-07-171-3/+3
| | | | inconsistent with tclInt.h
* 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
|