summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* In WriteChars(), eliminate the copy step through a staging buffer when itdgp2014-01-241-10/+12
|\ | | | | is not required for channel translation.
| * Eliminate the copy to a staging buffer when that serves no functional purpose.dgp2014-01-241-10/+12
| |
| * Silence compiler warnings.dgp2014-01-211-6/+6
| |
* | improved tidy-up from branchdkf2014-01-221-2/+2
|\ \
| * | minor tidying updkf2014-01-221-3/+2
| | |
* | | remove unused variablejan.nijtmans2014-01-221-1/+0
| | |
* | | add compilation for [nextto] and [yieldto]; fix [a90d9331bc]dkf2014-01-2210-43/+317
|\ \ \ | |/ /
| * | [a90d9331bc]: must not crash when yieldto called in vanishing namespacedkf2014-01-222-11/+18
| | |
| * | implementation of [yieldto] in bytecodedkf2014-01-216-11/+121
| | |
| * | added compilation for [nextto]dkf2014-01-198-22/+179
| | |
* | | [2992970] Restore safety of Tcl_AppendObjToObj(x, x) for bytearrays.dgp2014-01-212-52/+64
|\ \ \
| * | | [2992970] Restore the safety of Tcl_AppendObjToObj(x, x) for bytearrays.bug_2992970dgp2014-01-152-52/+64
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Also moves overflow checking to TclAppendBytesToByteArray() and adds the ability to call TABTBA() with bytes==NULL, for appending unspecified bytes. That is, the string grows, but the new bytes are of undetermined value. Like Tcl_NewByteArrayObj(NULL, length) this option is useful for manipulating buffers. The TABTBA growth algorithm is also enhanced a bit, copying over a fuller implementation from GrowStringBuffer() in tclStringObj.c
* | | Make DEFAULT_TRIM_SET a MODULE_SCOPE string constant, so its value can be ↵jan.nijtmans2014-01-083-35/+43
| | | | | | | | | | | | | | | shared in tclCmdMZ.o and TclCompCmdsSZ.o and it no longer pollutes the tclStringTrim.h header file.
* | | Add compilations for the following commands:dkf2014-01-0716-306/+1560
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * concat * linsert * namespace origin * next * string replace * string tolower * string totitle * string toupper * string trim * string trimleft * string trimright
| * | make function static once more; not needed outside of source filedkf2014-01-072-13/+9
| | |
| * | reduce the overhead of NR-enabled TclOO [next]dkf2014-01-071-9/+127
| | |
| * | factor out a common stanzadkf2014-01-051-21/+40
| | |
| * | merge trunkdkf2014-01-053-66/+50
| |\ \ | |/ / |/| |
* | | fix arraySet compiler to set -errorcode instead of -errorCode in return optionsmig2014-01-051-2/+2
| | |
* | | skip the switch(result) on returning TCL_OK from a procmig2014-01-051-40/+32
| | |
* | | reducing TEBCdata: pc and cleanup now passed in the NREcallbackmig2014-01-051-24/+16
| | |
| * | merge main working branch; made opcode work by getting callback ordering rightdkf_bytecode_8_6_nextdkf2014-01-021-23/+17
| |\ \
| | * \ merge trunkdkf2014-01-021-4/+4
| | |\ \ | |_|/ / |/| | |
* | | | ... and more silly errorsdkf2014-01-021-4/+4
| | | |
| | * | merge trunkdkf2014-01-021-1/+1
| | |\ \ | |_|/ / |/| | |
* | | | oops...dkf2014-01-021-1/+1
| | | |
| * | | merge main working branchdkf2014-01-026-474/+502
| |\ \ \ | | |/ /
| | * | merge trunkdkf2014-01-021-251/+232
| | |\ \ | |_|/ / |/| | |
* | | | more fixes to instruction tracing; ensure all places that need ↵dkf2014-01-021-90/+123
| | | | | | | | | | | | | | | | DECACHE_STACK_INFO have it. jan.nijtmans: Branch moved aside an hidden, so future bisects are not affected by this branch mistakes.
* | | | factor out a common peephole stanzadkf2014-01-011-137/+79
| | | |
* | | | another jump peephole, this time with string comparisonsdkf2013-12-311-0/+14
| | | |
| | * | more cleaning up of error-case instruction tracingdkf2013-12-311-13/+8
| | | |
| | * | merge trunkdkf2013-12-311-176/+226
| | |\ \ | |_|/ / |/| | |
* | | | more peephole optimizations in TEBC, and better instruction execution tracesdkf2013-12-311-148/+212
| | | |
* | | | clarify the resume sequence in TEBCresume; make checkInterp a local ↵mig2013-12-311-28/+14
| | | | | | | | | | | | | | | | variable, remove it from the saved struct
* | | | merge trunkdkf_asm_crash_20131022dgp2013-12-3025-357/+532
|\ \ \ \
* \ \ \ \ merge trunkdgp2013-10-232-1/+6
|\ \ \ \ \
| | | | * | put the other definition of a trim set in the header file toodkf2013-12-303-13/+17
| | | | | |
| | | | * | Factor out the definition of the default string trim set; define it once only.dkf2013-12-303-65/+63
| | | | | |
| | | * | | merge main working branchdkf2013-12-3091-7623/+11266
| | | |\ \ \ | | | | |/ /
| | | | * | implement [namespace origin] in bytecodedkf2013-12-307-4/+59
| | | | | |
| | | | * | allow generation by assemblerdkf2013-12-302-7/+8
| | | | | |
| | | | * | corrected commentdkf2013-12-301-2/+2
| | | | | |
| | | | * | precondition was wrong, and needed to flush part of the string/internal repdkf_bytecode_8_6_string_replacedkf2013-12-291-5/+27
| | | | | |
| | | | * | use the new instructiondkf2013-12-291-3/+16
| | | | | |
| | | | * | completed instruction implementationdkf2013-12-283-22/+57
| | | | | |
| | | | * | interim commit; not yet workingdkf2013-12-241-0/+120
| | | | | |
| | | | * | merge trunkdkf2013-12-2313-65/+145
| | | | |\ \ | | | |_|/ / | | |/| | |
| | * | | | Added new tools for managing and verifying the stack depth during ↵mig2013-12-233-11/+48
| | | | | | | | | | | | | | | | | | | | | | | | compilation. Used it in some spots in the compiler and in TclCompileCatchCommand.
| | * | | | remove unnecessary messing around INST_CONTINUE and INST_BREAK: local ↵mig2013-12-221-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | continue/break are already converted to jumps, so that these are either caught or returned - in either case, the stacks are cleaned up properly by TEBC itself.