summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove TclInitStubTable() function (but keep it in the "initsubsystems" branch).jan.nijtmans2013-06-256-29/+1
|
* Don't use TclpInetNtoa any more, use inet_ntoa in stead. Since IP6 support ↵jan.nijtmans2013-06-215-2/+5
| | | | 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.
* | Eliminate a lot of dead code (for Windows 95/98/ME only). jan.nijtmans2013-06-195-393/+164
| | | | | | Eliminate all usage of TclWinSetInterfaces(), which does exactly the same as TclpSetInterfaces(), but keep exported symbol and stub entry.
* | Fix [3611974]: InitSubsystems multiple thread issuejan.nijtmans2013-06-182-7/+6
|\ \ | |/
| * Fix [3611974]: InitSubsystems multiple thread issuejan.nijtmans2013-06-182-9/+8
| |
* | Fix uniClass tool which was the real cause for [a876646efe], and add ↵jan.nijtmans2013-06-182-3/+3
|\ \ | |/ | | | | test-case for it.
| * Fix uniClass tool which was the real cause for [a876646efe], and add ↵jan.nijtmans2013-06-182-3/+3
| | | | | | | | test-case for it.
* | Better place to put vsnprintf switch, so it is usable by all *.c files. jan.nijtmans2013-06-183-12/+5
| | | | | | Fix comment on _ANSI_ARGS_ which is no longer true since 8.6.
* | Updates to redirect bug reports to the new tracker location.dgp2013-06-174-21/+21
|\ \ | |/
| * Updates to redirect bug reports to the new tracker location.dgp2013-06-174-21/+21
| |
* | Fix [42b8083613]jan.nijtmans2013-06-172-8/+8
| |
* | 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-172-2/+8
|\ \ | |/ | | | | \u001f
| * Fix [a876646efe]: re_expr character class [:cntrl:] should contain \u0000 - ↵jan.nijtmans2013-06-172-2/+8
| | | | | | | | \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.
* | link tclsh with stub library, just like xttest and tcltest, in order to ↵jan.nijtmans2013-06-161-2/+2
| | | | | | | | allow additional static stub-enabled libraries to be linked with it.
* | split off TclInitStubTable() as separate function - which does the actual ↵jan.nijtmans2013-06-168-25/+101
| | | | | | | | stub table initialization - previously part of Tcl_InitStubs().
* | Don't use deprecated stricmp/strnicmp any more, but underscored variant for ↵jan.nijtmans2013-06-143-22/+21
|\ \ | |/ | | | | | | non-GNU compilers. Some formatting - improved comments.
| * Don't use deprecated stricmp/strnicmp any more, but underscored variant for ↵jan.nijtmans2013-06-141-5/+3
| | | | | | | | non-GNU compilers.
* | Fix env.test when running mingw-w64 (AMD64 build) test-suite on wine64. jan.nijtmans2013-06-132-11/+11
|\ \ | |/ | | Fix some gcc warnings which become visible with -Wextra
| * Fix some gcc warnings which become visible with -Wextrajan.nijtmans2013-06-132-28/+28
| |
| * Fix env.test when running mingw-w64 (AMD64 build) test-suite on wine64jan.nijtmans2013-06-121-2/+2
| |
* | Workaround for mingw-w64 (AMD64-only) bug: It appears that zdll.lib (as ↵jan.nijtmans2013-06-124-3/+17
| | | | | | | | produced by Microsoft tools) doesn't import the zlib symbols correctly, so use "libz.dll.a" produced with mingw-w64 tools in stead.
* | Silence various warnings when doing a 64-bit build with MSVC: Those warnings ↵jan.nijtmans2013-06-122-3/+8
|\ \ | |/ | | | | | | can only _really_ be fixed in "novem" (so, don't silence them there). Use vsnprintf (more portable) in stead of _vsnprintf, except on MSVC
| * Silence various warnings when doing a 64-bit build with MSVC: Those warnings ↵jan.nijtmans2013-06-121-4/+6
| | | | | | | | can only _really_ be fixed in "novem" (so, don't silence them there)
* | 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.
* | Select improvements in stack depth estimates brought over from mig-review.dgp2013-06-115-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.dgp2013-06-112-8/+16
| |
* | Stack housekeeping repair for last checkin.dgp2013-06-111-0/+2
| |
* | [33b7abb8a2] [7174354ecb] Rewrite TclCompileThrowCmd().dgp2013-06-112-59/+52
| |
* | Improve compatibility detection for <time.h> and <sys/stat.h>: jan.nijtmans2013-06-112-5/+5
|\ \ | |/ | | | | - 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.nijtmans2013-06-112-5/+5
| | | | | | | | - 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.
* | [779d38b996]: Make the 'try' compiler handle -during right and compile somedkf2013-06-093-171/+500
|\ \ | | | | | | more cases than it did before.
| * | Fix the problems with code generation; behavior now appears correct.dkf_better_try_compilationdkf2013-06-091-129/+204
| | |
| * | Improving tests, fixed one case.dkf2013-06-092-36/+181
| | |
| * | Working on a better compiler for [try]; found some bugs in previous compilationdkf2013-06-081-23/+123
|/ / | | | | code which aren't resolved yet.
* | More informative comment describing INST_SYNTAX.dkf2013-06-081-1/+2
| |
* | Factor out stereotypical ways of getting variable indices.dkf2013-06-083-160/+63
| |
* | Simplify stack depth management.dkf2013-06-071-31/+33
| |
* | More efficient instruction sequence for [dict for] with correct exception ↵dkf2013-06-062-23/+28
| | | | | | | | depth handling.
* | 3614382 Fix stack management of compiled [dict for] by shifting limitsdgp2013-06-061-3/+4
| | | | | | of the catch range.
* | 3614360 Repair stack demands of optimized compiled [return LITERAL].dgp2013-06-061-0/+1
| |
* | Working on the optimizer.dkf2013-06-062-82/+223
|\ \
| * | Minor grammar fix.dkf2013-06-061-3/+3
| | |