summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* fix Bug 3598300 on MacOSX toojan.nijtmans2013-01-192-5/+2
|\
| * fix Bug 3598300 on MacOSX toojan.nijtmans2013-01-192-5/+2
| |\
| | * Proposed solution for Bug 3598300 on MacOSXbug_3598300jan.nijtmans2013-01-182-6/+2
| |/
* | [Bug 3598300]: unix: tcl.h does not include sys/stat.h.jan.nijtmans2013-01-181-1/+3
|\ \ | |/ | | (with an exception for OSX, for now)
| * [Bug 3598300]: unix: tcl.h does not include sys/stat.h.jan.nijtmans2013-01-181-1/+3
| | | | | | (with an exception for OSX, for now)
* | COMPILE_DEBUG big: fix bug in stack verification for {*}mig2013-01-171-2/+6
| |
* | merge trunkbug_3600328dkf2013-01-177-5/+9
|\ \
| * \ revert [8abba84224], and make sure that every source file that uses ↵jan.nijtmans2013-01-177-5/+9
| |\ \ | | |/ | | | | | | Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
| | * revert [8abba84224], and make sure that every source file that uses ↵jan.nijtmans2013-01-177-5/+9
| | | | | | | | | | | | Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
* | | merge trunkdkf2013-01-1610-210/+240
|\ \ \ | |/ /
| * | [Bug 3601086]: Register zlib config as iso8859-1 (a superset of ascii) as thatdkf2013-01-161-1/+1
| | | | | | | | | is an encoding we guarantee to support without loading encoding files.
| * | Allow win32 build with -DTCL_NO_DEPRECATED, just as the UNIX build, off by ↵jan.nijtmans2013-01-163-9/+12
| |\ \ | | |/ | | | | | | | | | default. Define Tcl_EvalObj and Tcl_GlobalEvalObj as macros, even when TCL_NO_DEPRECATED is defined, so Tk can benefit from it too.
| | * Allow win32 build with -DTCL_NO_DEPRECATED, just as the UNIX build, off by ↵jan.nijtmans2013-01-163-13/+12
| | |\ | | | | | | | | | | | | | | | | default. Define Tcl_EvalObj and Tcl_GlobalEvalObj as macros, even when TCL_NO_DEPRECATED is defined, so Tk can benefit from it too (this is not what TCL_NO_DEPRECATED is supposed to do).
| | | * Allow win32 build with -DTCL_NO_DEPRECATED, just as the UNIX build, off by ↵jan.nijtmans2013-01-163-13/+12
| | | | | | | | | | | | | | | | | | | | default. Define Tcl_EvalObj and Tcl_GlobalEvalObj as macros, even when TCL_NO_DEPRECATED is defined, so Tk can benefit from it too (this is not what TCL_NO_DEPRECATED is supposed to do).
| * | | [Bug 3598300]: unix: tcl.h does not include sys/stat.hjan.nijtmans2013-01-151-3/+2
| |\ \ \
| | * \ \ REMOVED FROM TRUNK: buggy, breaks the build on linux. [Bug 3598300]: unix: ↵jan.nijtmans2013-01-151-3/+2
| | |\ \ \ | | | |/ / | | | | | | | | | | tcl.h does not include sys/stat.h
| | | * | merge trunk jan.nijtmans2013-01-1411-85/+356
| | | |\ \ | | | | | | | | | | | | remove some EXTERN and CONST usages in tclUnixPort.h
| | | * | | proposed fix for Bug 3598300jan.nijtmans2012-12-261-3/+2
| | | | | |
| * | | | | merge trunkISC_peepholemig2013-01-154-95/+139
| |\ \ \ \ \ | | |/ / / /
| | * | | | forgot two #undef'sjan.nijtmans2013-01-141-0/+2
| | | | | |
| | * | | | Put back Tcl_[GS]etStartupScript in internal stub table, so extensions using ↵jan.nijtmans2013-01-143-15/+26
| | | | | | | | | | | | | | | | | | | | | | | | this, compiled against 8.5 headers still run in Tcl 8.6.
| | | | | |
| | | \ \ \
| | *-. \ \ \ Various bits of cleanup, efficiencies, and comment documentation in tclVar.c ↵mig2013-01-131-66/+54
| | |\ \ \ \ \ | | | | | |/ / | | | | |/| | | | | | | | | (from mig-review)
| | | | * | | Various bits of cleanup, efficiencies, and comment documentation in tclVar.c ↵mig2013-01-131-57/+54
| | | | |\ \ \ | | | | |/ / / | | | |/| | | | | | | | | | (from mig-review)
| | | * | | | Various bits of cleanup, efficiencies, and comment documentation in tclVar.cdgp2012-12-141-57/+54
| | | | | | |
| | * | | | | If TCL_NO_DEPRECATED is defined, make sure that TIP #139 functions all are ↵jan.nijtmans2013-01-131-7/+45
| | |\ \ \ \ \ | | | | |/ / / | | | |/| | | | | | | | | | taken from the public stub table, even if the inclusion is through tclInt.h.
| | | * | | | If TCL_NO_DEPRECATED is defined, make sure that TIP #139 functions all are ↵jan.nijtmans2013-01-131-7/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | taken from the public stub table, even if the inclusion is through tclInt.h.
| | | * | | | Extend the public stub table with dummy NULL entries, up to the size of the ↵jan.nijtmans2013-01-073-0/+217
| | | |\ \ \ \ | | | | | |_|/ | | | | |/| | | | | | | | | | | | | | | | Tcl 8.6 stub tables. This makes it easier to debug extensions which use Tcl 8.6 features but (erroneously) are attempted to be loaded in Tcl 8.5.
| | | | * | | Extend the public and private stub tables with dummy NULL entries, up to the ↵jan.nijtmans2013-01-075-22/+457
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | size of the Tcl 8.6 stub tables. This makes it easier to debug extensions which use Tcl 8.5/8.6 features but (erroneously) are attempted to be loaded in Tcl 8.4.
| | * | | | | Put back TclBackgroundException in internal stub table, so extensions using ↵jan.nijtmans2013-01-123-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | this, compiled against 8.5 headers still run in Tcl 8.6.
| * | | | | | discouraging the compiler from re-reading *pc in the peephole loop, part2 ↵mig2013-01-121-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (any diff?)
| * | | | | | discouraging the compiler from re-reading *pc in the peephole loopmig2013-01-121-7/+10
| | | | | | |
| * | | | | | even better ... or so I hope: also inlining INST_PUSH1 in the peephole, ↵mig2013-01-121-53/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | checking for ISC after LOAD1 and PUSH1
| * | | | | | better commentsmig2013-01-111-2/+6
| | | | | | |
| * | | | | | fix for consecutive ISC (produced by [while 1 {...})mig2013-01-111-21/+16
| | | | | | |
| * | | | | | testing a cheaper(?) INST_START_COMMANDmig2013-01-111-49/+48
| |/ / / / /
* | | | | | merge trunkdkf2013-01-116-24/+34
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Name functions according to 'what' instead of 'how' in the [tailcall]mig2013-01-116-24/+34
| | | | | | | | | | | | | | | | | | machinery, in view of making public some parts of it.
* | | | | | First attempt at fixing problems caused by [array set] inside [namespace eval],dkf2013-01-112-6/+29
|/ / / / / | | | | | | | | | | | | | | | | | | | | which caused partial bytecode generation followed by a reject which triggered the issuing of generic ensemble code with an extra push of the variable name at the start (which got the stack depth wrong).
* | | | | tailcall now running in a simpler model, with no eval-flags and no nre-stack ↵mig2013-01-107-127/+87
| | | | | | | | | | | | | | | | | | | | rewriting; yieldto also requires one fewer bounce. Mostly from mig-nre-mods
* | | | | fix off-by-one error introduced in bd7d7a2061mig2013-01-101-1/+1
| | | | |
* | | | | Restrict the stub library to only use Tcl_PkgRequireEx, Tcl_ResetResult and ↵jan.nijtmans2013-01-072-65/+39
| | | | | | | | | | | | | | | | | | | | | | | | | Tcl_AppendResult, not any other function. This puts least restrictions on eventual Tcl 9 stubs re-organization, and it works on the widest range of Tcl versions.
* | | | | improved stack checking under TCL_COMPILE_DEBUGmig2013-01-051-10/+9
| | | | |
* | | | | fix the new assertion, it should not trigger when an expansion is in progressmig2013-01-051-2/+5
| | | | |
* | | | | Add an assertion that checks the stack depth under TCL_COMPILE_DEBUG ↵mig2013-01-051-2/+10
| | | | | | | | | | | | | | | | | | | | *before* stack cleanup. It currently triggers at several spots in the testsuite!
* | | | | Fix memory leak in [format] compiler.dkf2013-01-041-1/+1
| | | | |
* | | | | Fix bad memory access problems found by Miguel Sofer when valgrinding.dkf2013-01-042-5/+10
| | | | |
* | | | | Improve code generation for many simple core ensemble subcommands.dkf2013-01-0412-156/+532
|\ \ \ \ \
| * | | | | Add super-simple compiler to many ensemble subcommands to allow better codedkf2013-01-0412-156/+532
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | generation where we can detect that we're not in the WrongNumArgs case. The compiler just checks that the argument count is in the right range and issues a standard dispatch; that's enough to do an efficient job.
* | | | | | Insure that PURIFY builds cannot exploit the Tcl stack to hide mem defects.mig2013-01-042-1/+14
| | | | | |
* | | | | | speling ficksdgp2013-01-031-2/+2
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / /