summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* 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.*
* vfs, winfs testsuitevincentdarley2002-06-137-19/+93
|
* fixed [Bug 568123]Miguel Sofer2002-06-121-2/+2
|
* fs clarification and windows fixesvincentdarley2002-06-123-25/+58
|
* optimised read access to local variables created at run-timeMiguel Sofer2002-06-114-139/+14
|
* Fix for [info locals] bug #567386; added compile functions forMiguel Sofer2002-06-114-8/+188
| | | | [global], [upvar] and [variable].
* generic/tclExecute.c: optimised algorithm for exception range lookupMiguel Sofer2002-06-111-15/+24
|
* fs fixed commitvincentdarley2002-06-101-3/+3
|
* small fs fixesvincentdarley2002-06-101-11/+43
|
* Cleaned up inclusion of float.h; that's really tcl<platform>Port.h's jobdkf2002-06-071-25/+38
|
* * unix/tclUnixThrd.c (TclpReaddir, TclpLocaltime, TclpGmtime):das2002-06-061-1/+7
| | | | | | | | | | | | | added mutex wrapped calls to readdir, localtime & gmtime in case their thread-safe *_r counterparts are not available. * unix/tcl.m4: added configure check for readdir_r * unix/tcl.m4 (Darwin): set TCL_DEFAULT_ENCODING to utf-8 on MacOSX (where posix file apis expect utf-8, not iso8859-1). * unix/configure: regen * unix/Makefile.in: set DYLD_LIBRARY_PATH in parallel to LD_LIBRARY_PATH for MacOSX dynamic linker. * generic/tclEnv.c (TclSetEnv): fix env var setting on MacOSX (adapted from patch #524352 by jkbonfield).
* * generic/tclFileName.c (TclGlob): mac specific fix todas2002-06-051-2/+12
| | | | | | | | | recent changes in 'glob -tails' handling. * mac/tclMacPort.h: * mac/tclMacChan.c: fixed TIP#91 bustage. * mac/tclMacResource.c (Tcl_MacConvertTextResource): added utf conversion of text resource contents. * tests/macFCmd.test (macFCmd-1.2): allow CWIE creator.
* reverting an accidental modification in the last commit.Miguel Sofer2002-06-031-61/+1
|