summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Prefer CompileWord() over CompileTokens() when possible.dgp2013-07-153-6/+3
|
* Global replace: CompileBody() -> BODY().dgp2013-07-124-30/+19
|
* Revise the CompileWord() and PushVarNameWord() macros to make explicit thedgp2013-07-112-18/+7
| | | SetLineInformation() that's in each of them.
* Have TclMakeEnsemble() set ENSEMBLE_COMPILE at creation, not as a separatedgp2013-07-111-8/+8
| | | epoch-bumping step.
* Revert the revised macros used in developing the new tests.tip280_test_coveragedgp2013-07-115-27/+24
|
* Add tests for the SetLineInformation() calls in tclEnsemble.c, and fixdgp2013-07-111-6/+3
| | | the bugs around those calls exposed by the tests.
* Add tests for SetLineInformation() calls in tclCompCmdsSZ.c as well as somedgp2013-07-101-45/+21
| | | obvious refactoring improvements.
* Add tests for SetLineInformation() calls in tclCompCmdsGR.c.dgp2013-07-101-4/+4
|
* Add tests for, and fix bugs in, the SetLineInformation() calls in tclCompCmds.c.dgp2013-07-101-11/+9
|
* merge trunkdgp2013-07-101-0/+16
|\
| * Fix for [86fb5ea28e]. Test will eventually merge in from tip280-test-coverage.dgp2013-07-101-0/+16
| |
* | Next attempt. Appears to have uncovered a bug.dgp2013-07-101-1/+1
| |
* | First additional test. Remove dup macros in tclEnsemble.c.dgp2013-07-105-20/+6
| |
* | Disabling the SetLineInformation() macro entirely causes only 3 testsdgp2013-07-103-3/+10
|/ | | | | | | in the test suite to fail. Restoring just 2 SetLineInformation() calls fixes those failures. The need for all the other SLI() calls is not demonstrated by any test. Without more complete test coverage, it is difficult to confidently tweak the TIP 280 implementation without fear that changes are introducing breakage.
* Unbreak MSVC6 debug build (thanks Andreas Kupries!)jan.nijtmans2013-07-081-1/+1
|\
| * Unbreak MSVC6 debug build (thanks Andreas Kupries!)jan.nijtmans2013-07-081-1/+1
| |
* | CONST -> const in one placejan.nijtmans2013-07-051-1/+1
| |
* | Allow successfull compilation, even if Tcl_GetErrorLine/Tcl_SetErrorLine are ↵jan.nijtmans2013-07-051-0/+2
| | | | | | | | redefined as macros.
* | Fix compiler warning when compiling Itcl 4.0:jan.nijtmans2013-07-032-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.nijtmans2013-06-273-48/+61
|\ \ | |/
| * Bug [9b2e636361]: Tcl_CreateInterp() needs initialized encodings.jan.nijtmans2013-06-272-47/+59
| |\
| | * Allocate encoding name, so caller of Tcl_RegisterConfig() doesn't need to ↵ticket_9b2e636361jan.nijtmans2013-06-261-4/+12
| | | | | | | | | | | | | | | keep it forever. Fix some comments.
| | * Proposed solution for [9b2e636361]jan.nijtmans2013-06-262-27/+22
| | |
* | | Stop buffer overrun into undefined values detected by valgrind.dgp2013-06-261-1/+2
| | |
* | | Correct typo detected by valgrind.dgp2013-06-261-1/+1
| | |
* | | typos. jan.nijtmans2013-06-262-2/+6
|\ \ \ | |/ / | | | On Cygwin, Tcl_SetPanicProc(NULL) should set back the panic proc to its default, which is not NULL.
| * | formatting, typojan.nijtmans2013-06-261-13/+13
| |/
* | Replace always true test with assertion.dgp2013-06-251-1/+2
| |
* | Make more use of the CompileTokens() macro.dgp2013-06-252-7/+4
| |
* | Don't use deprecated Tcl_DStringTrunc any morejan.nijtmans2013-06-251-1/+1
|\ \ | |/
| * Don't use deprecated Tcl_DStringTrunc any more.jan.nijtmans2013-06-251-1/+1
| |
* | Remove TclInitStubTable() function (but keep it in the "initsubsystems" branch).jan.nijtmans2013-06-251-8/+0
| |
* | Don't use TclpInetNtoa any more, use inet_ntoa in stead. Since IP6 support ↵jan.nijtmans2013-06-212-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.nijtmans2013-06-213-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.dgp2013-06-201-2/+0
|\ \ | |/ | | The envPtr already has the right value stored in it.
| * TclCompileScript() should not overwrite envPtr->numSrcBytes.dgp2013-06-201-1/+0
| | | | | | The envPtr already has the right value stored in it.
* | Fixed bug with optimizing with INST_START_CMD about.dkf2013-06-191-2/+1
| |
* | More use of simplifying macros.dgp2013-06-191-7/+6
| | | | | | Replace dynamic allocation with automatic storage on the call stack.
* | Fix [3611974]: InitSubsystems multiple thread issuejan.nijtmans2013-06-181-7/+2
|\ \ | |/
| * Fix [3611974]: InitSubsystems multiple thread issuejan.nijtmans2013-06-181-9/+4
| |
* | Better place to put vsnprintf switch, so it is usable by all *.c files. jan.nijtmans2013-06-181-2/+5
| | | | | | Fix comment on _ANSI_ARGS_ which is no longer true since 8.6.
* | Use more portable TclIsSpaceProc() in stead of isspace().jan.nijtmans2013-06-173-6/+5
|\ \ | |/
| * Use more portable TclIsSpaceProc() in stead of isspace(). jan.nijtmans2013-06-173-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.nijtmans2013-06-171-2/+3
|\ \ | |/ | | | | \u001f
| * Fix [a876646efe]: re_expr character class [:cntrl:] should contain \u0000 - ↵jan.nijtmans2013-06-171-2/+3
| | | | | | | | \u001f
* | On 32-bit platforms, 12 characters for version is enough, on 64-bit ↵jan.nijtmans2013-06-171-1/+1
| | | | | | | | platforms it will be aligned to 16 characters anyway.
* | split off TclInitStubTable() as separate function - which does the actual ↵jan.nijtmans2013-06-163-24/+80
| | | | | | | | stub table initialization - previously part of Tcl_InitStubs().
* | Fix env.test when running mingw-w64 (AMD64 build) test-suite on wine64. jan.nijtmans2013-06-131-9/+9
|\ \ | |/ | | Fix some gcc warnings which become visible with -Wextra
| * Fix some gcc warnings which become visible with -Wextrajan.nijtmans2013-06-132-28/+28
| |
* | Revise INST_EXPAND_STKTOP so that it no longer makes use of its operand.dgp2013-06-111-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.