summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Added macro to conceal at least some of the pointer hackery.dkf2007-03-031-56/+64
|
* * generic/tclCmdIL.c (Tcl_LreverseObjCmd): Added missingdgp2007-03-021-1/+2
| | | | | TclInvalidateStringRep() call when we directly manipulate the intrep of an unshared "list" Tcl_Obj. [Bug 1672585].
* Added comments warning against certain optimizationsdgp2007-03-022-2/+19
|
* * generic/tclCmdIL.c (Tcl_JoinObjCmd): Revised [join] implementationdgp2007-03-021-20/+11
| | | | to append Tcl_Obj's instead of strings. [RFE 1669420]
* * generic/tclCmdIL.c (Info*Cmd): Code simplifications anddgp2007-03-021-28/+20
| | | | optimizations.
* Added a scheme to allow aux-data to be printed out for debugging. For this ↵dkf2007-03-024-71/+271
| | | | | | to work, immediate operands referring to aux-data must be identified as such in the instruction descriptor table using OPERAND_AUX4 (all are always 4 bytes). Rewrote the compiled [dict update] so that it stores critical non-varying data in an aux-data value instead of a (shimmerable) literal. [Bug 1671001]
* * generic/tclCmdIL.c (Tcl_LinsertObjCmd): Code simplificationsdgp2007-03-011-15/+6
| | | | and optimizations.
* * generic/tclCmdIL.c (Tcl_LreplaceObjCmd): Code simplificationsdgp2007-03-011-19/+5
| | | | and optimizations.
* Remove line with no effectdgp2007-03-011-2/+1
|
* * generic/tclCmdIL.c (Tcl_LrangeObjCmd): Rewrite in the samedgp2007-03-011-47/+24
| | | | spirit; avoid shimmer effects rather than react to them.
* * generic/tclCmdAH.c (Tcl_ForeachObjCmd): Stop throwing awaydgp2007-03-011-5/+5
| | | | | * tests/foreach.test (foreach-1.14): useful error information when loop variable sets fail.
* * generic/tclCmdIL.c (Tcl_LassignObjCmd): Rewrite to make andgp2007-03-011-63/+28
| | | | | | efficient private copy of the list argument, so we can operate on the list elements directly with no fear of shimmering effects. Replaces defensive coding schemes that are otherwise required.
* * generic/tclCmdAH.c (Tcl_ForeachObjCmd): Rewrite to makedgp2007-03-011-26/+28
| | | | | efficient private copies of the variable and value lists, so we can operate on them without any special shimmer defense coding schemes.
* Fix [Bug 1671138]dkf2007-03-011-1/+14
|
* A few more very minor changesdkf2007-02-271-20/+11
|
* Assorted cleanup, mostly of comments.dkf2007-02-271-195/+227
|
* Stop using C++ keywords...dkf2007-02-271-25/+25
|
* * generic/tclIORChan.c (FreeReflectedChannel): Added the missingandreas_kupries2007-02-261-1/+10
| | | | | refcount release between NewRC and FreeRC for the channel handle object, spotted by Don Porter. This fixes the bug 1667990.
* * generic/tclCmdAH.c (Tcl_ForeachObjCmd): Removed surplus copyingdgp2007-02-261-33/+6
| | | | | of the objv array that used to be a workaround for Bug 404865. That bug is long fixed.
* * generic/tclBasic.c: Use new interface in Tcl_EvalObjEx so thatdgp2007-02-243-31/+53
| | | | | | | | | | | | the recounting logic of the List internal rep need not be repeated there. Better encapsulation of internal details. * generic/tclInt.h: New internal routine TclListObjCopy() used * generic/tclListObj.c: to efficiently do the equivalent of [lrange $list 0 end]. After some experience with this, might be a good candidate for exposure as a public interface. It's useful for callers of Tcl_ListObjGetElements() who want to control the ongoing validity of the returned objv pointer.
* various "const" additions, in line with TIP #27nijtmans2007-02-233-122/+123
|
* various "const" additions, in line with TIP #27nijtmans2007-02-2023-626/+630
|
* Bug #1479814. Handle extended paths on Windows NT and above.patthoyts2007-02-202-6/+63
|
* (Tcl_FSEvalFileEx): safe incr of objPtr refhobbs2007-02-191-1/+2
|
* 2007-02-13 Kevin Kenny <kennykb@acm.org>Kevin B Kenny2007-02-141-4/+4
| | | | | | | | * tools/fix_tommath_h.tcl: Further tweaking for the x86-64. The change is to make 'mp_digit' be an 'unsigned int' on that platform; since we're using only 32 bits of it, there's no reason to make it a 64-bit 'unsigned long.' * generic/tclTomMath.h: Regenerated.
* * tools/fix_tommath_h.tcl: Added code to patch out a check forKevin B Kenny2007-02-131-15/+5
| | | | | | | | | __x86_64__ that caused Tommath to use __attributes(TI)__ for the mp_word type. Tetra-int's simply fail on too many gcc-glibc-OS combinations to be ready for shipment today, even if they work for some of us. This change allows reversion of das's change of 2006-08-18 that accomplised the same thing on Darwin. * generic/tclTomMath.h: Regenerated.
* * generic/tclNamesp.c: Corrected broken logic in Tcl_DeleteNamespace()dgp2007-02-081-4/+4
| | | | | | * tests/namespace.test: introduced in Patch 1577278 that caused [namespace delete ::] to be effective only at level #0. New test namespace-7.7 should prevent similar error in the future. [Bug 1655305]
* Minor syntax/efficiency stuffdkf2007-02-061-22/+35
|
* Silence a trivial warningdkf2007-02-061-2/+3
|
* Function header/whitespace police/general format fixesdkf2007-02-063-847/+893
|
* * generic/tclNamesp.c: Corrected broken implementation of thedgp2007-02-061-2/+6
| | | | | * tests/namespace.test: TclMatchIsTrivial optimization on [namespace children $namespace $pattern].
* * generic/tclResult.c: Added optimization case to TclTransferResultdgp2007-01-291-5/+17
| | | | | to cover common case where there's big savings over the fully general path. Thanks to Peter MacDonald. [Bug 1626518].
* * generic/tclLink.c: Broken linked float logic corrected. Thanksdgp2007-01-291-2/+2
| | | | to Andy Goth [Bug 1602538].
* * macosx/Tcl.xcodeproj/project.pbxproj: extract build settings thatdas2007-01-281-4/+3
| | | | | | | | | | | | | | | | | | | * macosx/Tcl.xcodeproj/default.pbxuser: were common to multiple * macosx/Tcl-Common.xcconfig (new file): configurations into external * macosx/Tcl-Debug.xcconfig (new file): xcconfig files; add extra * macosx/Tcl-Release.xcconfig (new file): configurations for building with SDKs and 64bit; convert legacy jam-based 'Tcl' target to native target with single script phase; correct syntax of build setting references to use $() throughout. * macosx/README: document new Tcl.xcodeproj configurations; other minor updates/corrections. * generic/tcl.h: update location of version numbers in macosx files. * macosx/Tcl.xcode/project.pbxproj: restore 'tcltest' target to working * macosx/Tcl.xcode/default.pbxuser: order by replicating applicable changes to Tcl.xcodeproj since 2006-07-20.
* More efficient issuing of INST_START_CMD instructions. See ChangeLog for ↵dkf2007-01-192-9/+21
| | | | discussion
* Code style improvementsdkf2007-01-182-133/+148
|
* Fix minor fault (made by aku, caught by aku)dkf2007-01-181-2/+2
|
* Whitespace policing, and adding comments so that it is clearer what TclMarkList dkf2007-01-181-30/+61
| | | | was doing...
* Minor fix to make bytecodes print out properlydkf2007-01-181-2/+2
|
* Fix [Bug 1638414] and make bytecode of expansion betterdkf2007-01-181-71/+103
|
* Missed a spot; thanks to Andreas Kupries for spotting this one.dkf2007-01-171-5/+10
|
* Added macros to make usage of ChannelBuffers clearer.dkf2007-01-171-81/+128
|
* Arrange for RE engine workspace to be held in TSD. This is safe, lessdkf2007-01-104-8/+49
| | | | C-stack-hungry than before, and faster than just using heap allocation.
* Fix [lindex] argument ordering. [bug 1631364]dkf2007-01-091-9/+13
|
* Regenerated tclDate.cKevin B Kenny2007-01-031-18/+18
|
* * generic/tclIO.c (Tcl_GetsObj):mdejong2006-12-271-14/+20
| | | | | Avoid checking for for the LF in a possible CRLF sequence when EOF has already been found.
* * generic/tclEncoding.c (EscapeFromUtfProc):mdejong2006-12-271-3/+14
| | | | | | | | | | | Clear the TCL_ENCODING_END flag when end bytes are written. This fix keep this method from writing escape bytes for an encoding like iso2022-jp multiple times when the escape byte overlap with the end of the IO buffer. * tests/io.test: Add test for escape byte overlap issue.
* Reapplied the Engineering Manual-ification, but this time without the (small) dkf2006-12-141-295/+311
| | | | changes that caused crashes in the test suite.
* Revert the commits that broke the HEAD.dgp2006-12-131-307/+293
| | | | I'm not searching through >300 lines of changes to find the bad one.
* Silly mistake correcteddkf2006-12-131-3/+3
|