Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Unbreak MSVC6 debug build (thanks Andreas Kupries!) | jan.nijtmans | 2013-07-08 | 1 | -1/+1 |
|\ | |||||
| * | Unbreak MSVC6 debug build (thanks Andreas Kupries!) | jan.nijtmans | 2013-07-08 | 1 | -1/+1 |
| | | |||||
* | | CONST -> const in one place | jan.nijtmans | 2013-07-05 | 1 | -1/+1 |
| | | |||||
* | | Allow successfull compilation, even if Tcl_GetErrorLine/Tcl_SetErrorLine are ↵ | jan.nijtmans | 2013-07-05 | 1 | -0/+2 |
| | | | | | | | | redefined as macros. | ||||
* | | Fix compiler warning when compiling Itcl 4.0: | jan.nijtmans | 2013-07-03 | 2 | -5/+4 |
| | | | | | | | | | | | | In file included from ./generic/itcl2TclOO.c:12:0: /Tcl/include/tclInt.h:3012:8: warning: ‘struct addrinfo’ declared inside parameter list [enabled by default] const char **errorMsgPtr); ^ | ||||
* | | Bug [9b2e636361]: Tcl_CreateInterp() needs initialized encodings. | jan.nijtmans | 2013-06-27 | 3 | -48/+61 |
|\ \ | |/ | |||||
| * | Bug [9b2e636361]: Tcl_CreateInterp() needs initialized encodings. | jan.nijtmans | 2013-06-27 | 2 | -47/+59 |
| |\ | |||||
| | * | Allocate encoding name, so caller of Tcl_RegisterConfig() doesn't need to ↵ticket_9b2e636361 | jan.nijtmans | 2013-06-26 | 1 | -4/+12 |
| | | | | | | | | | | | | | | | keep it forever. Fix some comments. | ||||
| | * | Proposed solution for [9b2e636361] | jan.nijtmans | 2013-06-26 | 2 | -27/+22 |
| | | | |||||
* | | | Stop buffer overrun into undefined values detected by valgrind. | dgp | 2013-06-26 | 1 | -1/+2 |
| | | | |||||
* | | | Correct typo detected by valgrind. | dgp | 2013-06-26 | 1 | -1/+1 |
| | | | |||||
* | | | typos. | jan.nijtmans | 2013-06-26 | 2 | -2/+6 |
|\ \ \ | |/ / | | | | On Cygwin, Tcl_SetPanicProc(NULL) should set back the panic proc to its default, which is not NULL. | ||||
| * | | formatting, typo | jan.nijtmans | 2013-06-26 | 1 | -13/+13 |
| |/ | |||||
* | | Replace always true test with assertion. | dgp | 2013-06-25 | 1 | -1/+2 |
| | | |||||
* | | Make more use of the CompileTokens() macro. | dgp | 2013-06-25 | 2 | -7/+4 |
| | | |||||
* | | Don't use deprecated Tcl_DStringTrunc any more | jan.nijtmans | 2013-06-25 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Don't use deprecated Tcl_DStringTrunc any more. | jan.nijtmans | 2013-06-25 | 1 | -1/+1 |
| | | |||||
* | | Remove TclInitStubTable() function (but keep it in the "initsubsystems" branch). | jan.nijtmans | 2013-06-25 | 1 | -8/+0 |
| | | |||||
* | | Don't use TclpInetNtoa any more, use inet_ntoa in stead. Since IP6 support ↵ | jan.nijtmans | 2013-06-21 | 2 | -0/+3 |
| | | | | | | | | it's even not necessary any more (except for fake-rfc2553, but mutexes are used here already) , but it's in the internal stub table so we cannot remove it until 9.0 | ||||
* | | Modify internal TclStubInfoType type: use TclStubs * in stead of ↵ | jan.nijtmans | 2013-06-21 | 3 | -17/+27 |
| | | | | | | | | | | ClientData, so less type casts are needed in the code. Disadvantage: somewhat more code duplication, but it makes the code much more understandable. | ||||
* | | TclCompileScript() should not overwrite envPtr->numSrcBytes. | dgp | 2013-06-20 | 1 | -2/+0 |
|\ \ | |/ | | | The envPtr already has the right value stored in it. | ||||
| * | TclCompileScript() should not overwrite envPtr->numSrcBytes. | dgp | 2013-06-20 | 1 | -1/+0 |
| | | | | | | The envPtr already has the right value stored in it. | ||||
* | | Fixed bug with optimizing with INST_START_CMD about. | dkf | 2013-06-19 | 1 | -2/+1 |
| | | |||||
* | | More use of simplifying macros. | dgp | 2013-06-19 | 1 | -7/+6 |
| | | | | | | Replace dynamic allocation with automatic storage on the call stack. | ||||
* | | Fix [3611974]: InitSubsystems multiple thread issue | jan.nijtmans | 2013-06-18 | 1 | -7/+2 |
|\ \ | |/ | |||||
| * | Fix [3611974]: InitSubsystems multiple thread issue | jan.nijtmans | 2013-06-18 | 1 | -9/+4 |
| | | |||||
* | | Better place to put vsnprintf switch, so it is usable by all *.c files. | jan.nijtmans | 2013-06-18 | 1 | -2/+5 |
| | | | | | | Fix comment on _ANSI_ARGS_ which is no longer true since 8.6. | ||||
* | | Use more portable TclIsSpaceProc() in stead of isspace(). | jan.nijtmans | 2013-06-17 | 3 | -6/+5 |
|\ \ | |/ | |||||
| * | Use more portable TclIsSpaceProc() in stead of isspace(). | jan.nijtmans | 2013-06-17 | 3 | -6/+7 |
| | | | | | | Make sure that "string is space \u180e" continues to return 1 for whatever unicode version. | ||||
* | | Fix [a876646efe]: re_expr character class [:cntrl:] should contain \u0000 - ↵ | jan.nijtmans | 2013-06-17 | 1 | -2/+3 |
|\ \ | |/ | | | | | \u001f | ||||
| * | Fix [a876646efe]: re_expr character class [:cntrl:] should contain \u0000 - ↵ | jan.nijtmans | 2013-06-17 | 1 | -2/+3 |
| | | | | | | | | \u001f | ||||
* | | On 32-bit platforms, 12 characters for version is enough, on 64-bit ↵ | jan.nijtmans | 2013-06-17 | 1 | -1/+1 |
| | | | | | | | | platforms it will be aligned to 16 characters anyway. | ||||
* | | split off TclInitStubTable() as separate function - which does the actual ↵ | jan.nijtmans | 2013-06-16 | 3 | -24/+80 |
| | | | | | | | | stub table initialization - previously part of Tcl_InitStubs(). | ||||
* | | Fix env.test when running mingw-w64 (AMD64 build) test-suite on wine64. | jan.nijtmans | 2013-06-13 | 1 | -9/+9 |
|\ \ | |/ | | | Fix some gcc warnings which become visible with -Wextra | ||||
| * | Fix some gcc warnings which become visible with -Wextra | jan.nijtmans | 2013-06-13 | 2 | -28/+28 |
| | | |||||
* | | Revise INST_EXPAND_STKTOP so that it no longer makes use of its operand. | dgp | 2013-06-11 | 1 | -14/+23 |
| | | | | | | | | | | | | | | | | | | | | All the information required to do a proper expansion of the exec stack to support expanded command invocation is already present. The operand doesn't provide any essential information. By ignoring it, we eliminate the risk that the compiler might fill in the operand with a bad stack depth estimate value. INST_EXPAND_STKTOP doesn't need an operand, but in order to support loading of existing bytecodes we cannot change it now. There's also no need to change what the compiler tries to place in the operand, though changing it to always be zeros would be acceptable now. | ||||
* | | Select improvements in stack depth estimates brought over from mig-review. | dgp | 2013-06-11 | 5 | -71/+17 |
| | | | | | | | | | | Mostly these are just simplifications, removing code that wasn't needed. Some changes make the stack depth estimate more accurate instruction by instruction. | ||||
* | | Repairs to compile/exec debugging output. | dgp | 2013-06-11 | 2 | -8/+16 |
| | | |||||
* | | Stack housekeeping repair for last checkin. | dgp | 2013-06-11 | 1 | -0/+2 |
| | | |||||
* | | [33b7abb8a2] [7174354ecb] Rewrite TclCompileThrowCmd(). | dgp | 2013-06-11 | 1 | -59/+46 |
| | | |||||
* | | Improve compatibility detection for <time.h> and <sys/stat.h>: | jan.nijtmans | 2013-06-11 | 1 | -3/+4 |
|\ \ | |/ | | | | | - Move <time.h> before other includes on Windows, so we are sure the time_t definition being checked doesn't come from <sys/types.h>. - Padding at the end of Tcl_StatBuf doesn't influcence binary compatibility, so relax panic check accordingly. | ||||
| * | Improve compatibility detection for <time.h> and <sys/stat.h>: | jan.nijtmans | 2013-06-11 | 1 | -3/+4 |
| | | | | | | | | - Move <time.h> before other includes on Windows, so we are sure the time_t definition being checked doesn't come from <sys/types.h>. - Padding at the end of Tcl_StatBuf doesn't influcence binary compatibility, so relax panic check accordingly. | ||||
* | | Fix the problems with code generation; behavior now appears correct.dkf_better_try_compilation | dkf | 2013-06-09 | 1 | -129/+204 |
| | | |||||
* | | Improving tests, fixed one case. | dkf | 2013-06-09 | 1 | -27/+44 |
| | | |||||
* | | Working on a better compiler for [try]; found some bugs in previous compilation | dkf | 2013-06-08 | 1 | -23/+123 |
| | | | | | | code which aren't resolved yet. | ||||
* | | More informative comment describing INST_SYNTAX. | dkf | 2013-06-08 | 1 | -1/+2 |
| | | |||||
* | | Factor out stereotypical ways of getting variable indices. | dkf | 2013-06-08 | 3 | -160/+63 |
| | | |||||
* | | Simplify stack depth management. | dkf | 2013-06-07 | 1 | -31/+33 |
| | | |||||
* | | More efficient instruction sequence for [dict for] with correct exception ↵ | dkf | 2013-06-06 | 1 | -23/+10 |
| | | | | | | | | depth handling. | ||||
* | | 3614382 Fix stack management of compiled [dict for] by shifting limits | dgp | 2013-06-06 | 1 | -3/+4 |
| | | | | | | of the catch range. |