summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | Fixed bug in parent revision [832a1994c7] unpredictably breaking thebugfix_832a1994c7_for_precompiled_bcandreask2013-05-131-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | execution of precompiled bytecode (i.e. tbcload'ed bytecode). The semi-inversion of a guard condition dropped the part about TCL_BYTECODE_PRECOMPILED of the original condition, allowing the core to attempt to recompile code for which there are no script sources (anymore), which then fails.
| * | | | compiler warningdgp2013-05-131-1/+1
| | | | |
* | | | | A better technique for [list {*}blah]. Remove the INST_LIST_EXPANDED opcode ↵dkf2013-05-156-150/+198
|/ / / / | | | | | | | | | | | | (and the complex machinery associated with it) as as it is no longer needed.
* | | | Corrected the stack balancing in the special [list {*} ] compiler.dkf2013-05-121-1/+9
| | | |
* | | | Fix implementation of INST_LIST_EXPANDED.dkf2013-05-121-1/+5
| | | |
* | | | Partial fix: still ongoingdkf2013-05-112-1/+4
| | | |
* | | | Optimizations and general bytecode generation improvements.dkf2013-05-105-53/+535
| | | |
* | | | Add support for Cygwin64, which has a 64-bit "long" type. jan.nijtmans2013-05-062-0/+133
|\ \ \ \ | | |/ / | |/| | | | | | Binary compatibility with win64 requires that all stub entries use 32-bit long's, therefore the need for various wrapper functions/macros. For Tcl 9 a better solution is needed, but that cannot be done without introducing binary incompatibility.
| * | | Add support for Cygwin64, which has a 64-bit "long" type. jan.nijtmans2013-05-062-0/+133
| |\ \ \ | | | |/ | | |/| | | | | Binary compatibility with win64 requires that all stub entries use 32-bit long's, therefore the need for various wrapper functions/macros. For Tcl 9 a better solution is needed, but that cannot be done without introducing binary incompatibility.
| | * | Add support for Cygwin64, which has a 64-bit "long" type. jan.nijtmans2013-05-062-0/+133
| | | | | | | | | | | | | | | | Binary compatibility with win64 requires that all stub entries use 32-bit long's, therefore the need for various wrapper functions/macros. For Tcl 9 a better solution is needed, but that cannot be done without introducing binary incompatibility.
| * | | Backport 8.6's fix [checkin 5af0d249de] to [Bug 2901998]: Inconsistent ↵ferrieux2013-05-011-8/+92
| | | | | | | | | | | | | | | | buffered I/O. Tcl's I/O now flushes buffered output before reading, discards buffered input before writing, etc.
* | | | Improve code generation for [array set] in a common case.dkf2013-04-291-23/+59
| | | |
* | | | Implement Tcl_NewBooleanObj, Tcl_DbNewBooleanObj and Tcl_SetBooleanObj as ↵jan.nijtmans2013-04-239-72/+73
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | macros using Tcl_NewIntObj, Tcl_DbNewLongObj and Tcl_SetIntObj. Starting with Tcl 8.5, this is exactly the same, it only eliminates code duplication. Eliminate use of NO_WIDE_TYPE everywhere: It's exactly the same as TCL_WIDE_INT_IS_LONG
| * | | Implement Tcl_NewBooleanObj, Tcl_DbNewBooleanObj and Tcl_SetBooleanObj as ↵jan.nijtmans2013-04-232-5/+16
| | | | | | | | | | | | | | | | | | | | macros using Tcl_NewIntObj, Tcl_DbNewLongObj and Tcl_SetIntObj. Starting with Tcl 8.5, this is exactly the same, it only eliminates code duplication.
* | | | Implement many Tcl_*Var* functions and Tcl_GetIndexFromObj as ↵jan.nijtmans2013-04-191-0/+25
|\ \ \ \ | |/ / / | | | | | | | | (faster/stack-saving) macros around resp their Tcl_*Var*2 equivalent and Tcl_GetIndexFromObjStruct
| * | | Implement many Tcl_*Var* functions and Tcl_GetIndexFromObj as ↵jan.nijtmans2013-04-194-0/+33
| |\ \ \ | | |/ / | | | | | | | | (faster/stack-saving) macros around resp their Tcl_*Var*2 equivalent and Tcl_GetIndexFromObjStruct
| | * | Implement many Tcl_*Var* functions and Tcl_GetIndexFromObj as ↵jan.nijtmans2013-04-193-0/+33
| | | | | | | | | | | | | | | | (faster/stack-saving) macros around resp their Tcl_*Var*2 equivalent and Tcl_GetIndexFromObjStruct
| * | | 3610404 When we let go of commandPtr in TclEvalObjvInternal, NULL out thedgp2013-04-161-0/+1
| | | | | | | | | | | | variable so we don't mistakenly try to use the value later after we freed it.
* | | | Implement Tcl_Pkg* functions as macro's around Tcl_Pkg*Ex. This saves stack ↵jan.nijtmans2013-04-122-2/+12
|\ \ \ \ | |/ / / | | | | | | | | space, is (marginally) faster, while still being fully up/down compatible. It makes pkgb.so loadable in "novem" without the need to change the Tcl_PkgProvide() call to Tcl_PkgProvideEx().
| * | | Implement Tcl_Pkg* functions as macro's around Tcl_Pkg*Ex. This saves stack ↵jan.nijtmans2013-04-122-2/+15
| |\ \ \ | | |/ / | | | | | | | | space, is (marginally) faster, while still being fully up/down compatible. It makes pkgb.so loadable in "novem" without the need to change the Tcl_PkgProvide() call to Tcl_PkgProvideEx().
| | * | Implement Tcl_Pkg* functions as macro's around Tcl_Pkg*Ex. This saves stack ↵jan.nijtmans2013-04-122-4/+17
| | | | | | | | | | | | | | | | space, is (marginally) faster, while still being fully up/down compatible. It makes pkgb.so loadable in "novem" without the need to change the Tcl_PkgProvide() call to Tcl_PkgProvideEx().
| | * | Make (deprecated) Tcl_EvalObj/Tcl_GlobalEvalObj macro's always, not only ↵jan.nijtmans2013-04-092-8/+8
| | | | | | | | | | | | | | | | when using stubs.
* | | | 3610026 Stop crash when the number of "colors" in a regular expressiondgp2013-04-084-0/+10
|\ \ \ \ | |/ / / | | | | | | | | overflows a short int. Thanks to Heikki Linnakangas for the report and the patch.
| * | | 3610026 Stop crash when the number of "colors" in a regular expressiondgp2013-04-084-0/+10
| |\ \ \ | | |/ / | | | | | | | | overflows a short int. Thanks to Heikki Linnakangas for the report and the patch.
| | * | 3610026 Stop segfault when regexp overflows color limits.dgp2013-04-084-7/+17
| | | |
* | | | Make Tcl_EvalObj/Tcl_GlobalEvalObj a macro always, not only when using stubs.jan.nijtmans2013-04-042-8/+8
|\ \ \ \ | |/ / /
| * | | Make Tcl_EvalObj/Tcl_GlobalEvalObj a macro always, not only when using stubs.jan.nijtmans2013-04-042-8/+8
| | | |
| * | | Merge 8.5. Tag RC1.dgp2013-03-281-8/+0
| |\ \ \
| | * | | Undo [6a9ee3273c]. Last commit in Tk's core-8-5-branch makes this change no ↵jan.nijtmans2013-03-283-24/+4
| | | | | | | | | | | | | | | | | | | | longer necessary.
| | * | | Add dummy (undocumented) TclCanceled function in stub table (not exported as ↵jan.nijtmans2013-03-273-4/+24
| | | | | | | | | | | | | | | | | | | | symbol or macro), which always returns TCL_OK. Needed for Tk 8.5.14 when running in Tcl 8.6 for properly clean-up when a (Tcl 8.6) thread is canceled.
| | * | | remove unneccessary duplicationjan.nijtmans2013-03-271-8/+0
| | | | |
| * | | | Release branch for Tcl 8.5.14.dgp2013-03-211-2/+2
| |/ / /
* | | | Tolerate NULL interpsdgp2013-03-271-6/+12
| | | |
* | | | If TCL_NO_DEPRECATED is defined, don't depend on ↵jan.nijtmans2013-03-224-5/+27
| | | | | | | | | | | | | | | | | | | | Tcl_CreateMathFunc()/Tcl_SaveResult() in testcases any more. Prevent endless loop in Tcl_AddObjErrorInfo, when TCL_NO_DEPRECATED is defined.
* | | | 3597000 Consistent [file copy] result.dgp2013-03-191-10/+7
|\ \ \ \ | |/ / /
| * | | 3597000 Consistent [file copy] result.dgp2013-03-191-10/+7
| |\ \ \ | | |/ /
| | * | 3597000 Consistent [file copy] result.dgp2013-03-191-8/+7
| | | |
* | | | Greater protection against double TclFreeObj() calls in TCL_MEM_DEBUG mode.dgp2013-03-111-0/+12
|\ \ \ \ | |/ / /
| * | | Greater protection against double TclFreeObj() calls in TCL_MEM_DEBUG mode.dgp2013-03-111-0/+12
| | | |
* | | | 3607246,3607372 Unbalanced refcounts of literals in the global literal table.dgp2013-03-112-3/+8
|\ \ \ \
| * | | | 3607372 Correct literal refcounting.bug_3607372dgp2013-03-081-1/+1
| | | | |
| * | | | Correct unbalanced effect of TclInvalidateCmdLiteral() on the refcountsbug_3607246dgp2013-03-071-2/+7
| | | | | | | | | | | | | | | of literals in the global table.
* | | | | msvc compiler warning: signed-unsigned mismatch.jan.nijtmans2013-03-081-1/+1
|/ / / /
* | | | Cleaner error handling in fixempties().dgp2013-03-061-2/+5
|\ \ \ \ | |/ / /
| * | | Cleaner error handling in fixempties().dgp2013-03-061-2/+5
| |\ \ \ | | |/ /
| | * | Cleaner error handling in fixempties().dgp2013-03-061-2/+4
| | | |
| | * | merge 8.4bug_3606683_84dgp2013-03-061-1/+0
| | |\ \
| | * | | Rework into Tcl 8.4 coding style (closer to original Spencer).dgp2013-03-061-174/+177
| | | | |
| | * | | Indent reduction in fixempties().dgp2013-03-061-19/+19
| | | | |
| | * | | Use flag argument to combine copy(nonempty)* routines into copy* routines.dgp2013-03-062-59/+23
| | | | |