summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use "tclIO.h" and "tclTomMathDecls.h" everywherenijtmans2010-05-036-66/+80
|
* * generic/tcl.h: Bump patchlevel to 8.6b1.2 to distinguishdgp2010-04-307-10/+18
| | | | | | | | | * library/init.tcl: CVS snapshots from earlier snapshots as well * unix/configure.in: as the 8.6b1 and 8.6b2 releases. * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * generic/tclBinary.c (TclAppendBytesToByteArray): Add commentsdgp2010-04-304-10/+27
| | | | | | | | | | | * generic/tclInt.h (TclAppendBytesToByteArray): placing overflow protection responsibility on caller. Convert "len" argument to signed int which any value already vetted for overflow issues will fit into. * generic/tclStringObj.c: Update caller; standardize panic msg. * generic/tclBinary.c (UpdateStringOfByteArray): Add panic when the generated string representation would grow beyond Tcl's size limits. [Bug 2994924]
* * generic/tclBinary.c (TclAppendBytesToByteArray): Add extra armourdkf2010-04-302-6/+14
| | | | against buffer overflows.
* Fix the problems I introduced inadvertently:dkf2010-04-303-27/+55
| | | | | | * generic/tclBasic.c (NRInterpCoroutine): Corrected handling of * tests/coroutine.test (coroutine-6.4): arguments to deal with trickier cases.
* * tests/coroutine.test: testing coroutine arguments after [yield]:Miguel Sofer2010-04-302-1/+31
| | | | check that only 0/1 allowed
* * unix/Makefile.in (gdb-test): Remove quotes so that library paths aredkf2010-04-301-2/+2
| | | | constructed correctly.
* * generic/tclCompCmds.c (TclCompileVariableCmd): Slightly tighterdkf2010-04-302-2/+11
| | | | issuing of instructions.
* * generic/tclExecute.c (TclExecuteByteCode): Add peephole optimizationdkf2010-04-302-1/+30
| | | | | of the fact that INST_DICT_FIRST and INST_DICT_NEXT always have a conditional jump afterwards.
* * generic/tclBasic.c (TclNRYieldObjCmd, TclNRYieldmObjCmd)dkf2010-04-302-25/+49
| | | | | | (NRInterpCoroutine): Replace magic values for formal argument counts for coroutine command implementations with #defines, for an increase in readability.
* Unnecessary TCL_STORAGE_CLASS re-definition.nijtmans2010-04-302-4/+7
| | | | | It was used for an ancient dummy reference to Tcl_LinkVar(), but that's already gone since 2002-05-29.
* forgot the Changelog entryMiguel Sofer2010-04-291-0/+7
|
* * generic/tclCompExpr.c: Slight change in the literal sharingMiguel Sofer2010-04-294-30/+25
| | | | | | * generic/tclCompile.c: mechanism to avoid shimmering of * generic/tclCompile.h: command names. * generic/tclLiteral.c:
* Typoandreas_kupries2010-04-291-1/+1
|
* * library/platform/platform.tcl: Another stab at getting the /lib,andreas_kupries2010-04-295-15/+39
| | | | | | * library/platform/pkgIndex.tcl: /lib674 difference right for * unix/Makefile.in: linux. Package updated to version 1.0.7. * win/Makefile.in:
* * library/tzdata/Antarctica/Macquarie: Kevin B Kenny2010-04-2919-1447/+860
| | | | | | | | | | | | | | | | | | | | * library/tzdata/Africa/Casablanca: * library/tzdata/Africa/Tunis: * library/tzdata/America/Santiago: * library/tzdata/America/Argentina/San_Luis: * library/tzdata/Antarctica/Casey: * library/tzdata/Antarctica/Davis: * library/tzdata/Asia/Anadyr: * library/tzdata/Asia/Damascus: * library/tzdata/Asia/Dhaka: * library/tzdata/Asia/Gaza: * library/tzdata/Asia/Kamchatka: * library/tzdata/Asia/Karachi: * library/tzdata/Asia/Taipei: * library/tzdata/Europe/Samara: * library/tzdata/Pacific/Apia: * library/tzdata/Pacific/Easter: * library/tzdata/Pacific/Fiji: Olson's tzdata2010i.
* fix MSVC warning C4018: '>' : signed/unsigned mismatchnijtmans2010-04-291-2/+2
|
* typodkf2010-04-291-5/+0
|
* * generic/tclBinary.c (TclAppendBytesToByteArray): [Bug 2992970]: Makedkf2010-04-294-31/+118
| | | | | | * generic/tclStringObj.c (Tcl_AppendObjToObj): an append of a byte array to another into an efficent operation. The problem was the (lack of) a proper growth management strategy for the byte array.
* credit Lars_H for [yieldm]'s ideaMiguel Sofer2010-04-291-2/+2
|
* Include "tcl.h", not <tcl.h>,nijtmans2010-04-296-19/+18
| | | | | | | like everywhere else, to insure that the version in the Tcl distribution is used, not some version from somewhere else.
* Remove unused @MAN2TCLFLAGS@nijtmans2010-04-289-29/+43
| | | | | | | | | | | Move <limits.h> include from tclInt.h to tclWinPort.h, and eliminate unneeded <stdlib.h>, <stdio.h> and <string.h>, which are already in tclInt.h Move "tclInt.h" from regcustom.h up to regex.h. tclAlloc.c: Unneeded <stdio.h> include tclExecute.c: Fix gcc warning: comparison between signed and unsigned
* * generic/tclInt.h (TclIsVarDirectUnsettable): Corrected flags so thatdkf2010-04-283-1911/+1946
| | | | | | | | | | | | | deletion of traces is not optimized out... * generic/tclExecute.c (ExecuteExtendedBinaryMathOp) (TclCompareTwoNumbers,ExecuteExtendedUnaryMathOp,TclExecuteByteCode): [Patch 2981677]: Move the less common arithmetic operations (i.e., exponentiation and operations on non-longs) out of TEBC for a big drop in the overall size of the stack frame for most code. Net effect on speed is minimal (slightly faster overall in tclbench). Also extended the number of places where TRESULT handling is replaced with a jump to dedicated code.
* Code reordering to slightly shorten generated object code.dkf2010-04-272-346/+260
|
* If tclInt.h or tclPort.h is alreadynijtmans2010-04-2714-52/+34
| | | | | | | included, don't include <limits.h> again. Follow-up to [Bug 2991415]: tclport.h #included before limits.h See comments in [Bug 2991415]
* [Bug 2992292]: tclIOUtil.c assignment type mismatch compiler warningnijtmans2010-04-272-4/+9
|
* * unix/tclLoadDl.c (FindSymbol): [Bug 2992295]: Simplified theKevin B Kenny2010-04-262-7/+18
| | | | | logic so that the casts added in Donal Fellows's change for the same bug are no longer necessary.
* * unix/tclLoadDl.c (FindSymbol): [Bug 2992295]: Added an explicit castdkf2010-04-262-2/+6
| | | | | because auto-casting between function and non-function types is never naturally warning-free.
* typofixdkf2010-04-261-13/+13
|
* * generic/tclStubInit.c: Add a small amount of gcc-isms (with #ifdefdkf2010-04-263-8/+25
| | | | | * generic/tclOOStubInit.c: guards) to ensure that warnings are issued when these files are older than the various *.decls files.
* * generic/tclBasic.c: add unsupported [yieldm] command.Miguel Sofer2010-04-253-25/+54
| | | | * generic/tclInt.h:
* * generic/tclBasic.test: modify api of TclSpliceTailcall()Miguel Sofer2010-04-244-11/+19
| | | | | | * generic/tclExecute.c: to fix yieldTo, which had not survived * generic/tclInt.h: the latest mods to tailcall. Thanks kbk for detecting the problem.
* Fix [Bug #2991415] tclport.h #included before limits.hnijtmans2010-04-232-1/+10
|
* Move TCHAR fallback typedef from tcl.h to tclPlatDecls.h (as suggested by dgp)nijtmans2010-04-2212-65/+80
| | | | Eliminate various unnecessary type casts.
* Upgrade to zlib 1.2.5nijtmans2010-04-20117-15108/+15387
|
* Use function prototypes from the FS API.nijtmans2010-04-202-49/+34
|
* * generic/tclExecute.c (TclExecuteByteCode): Improve commenting anddkf2010-04-192-170/+185
| | | | reduce indentation for the Invocation Block.
* * doc/unset.n: [Bug 2988940]: Fix typo.dkf2010-04-182-5/+14
|
* Added commentnijtmans2010-04-151-1/+7
|
* Move inclusion of <tchar.h> from tclPlatDecls.hnijtmans2010-04-154-18/+31
| | | | | | | | | to tclWinPort.h, where it belongs. Add fallback in tcl.h, so at least TCHAR typedef is always available in win32, even without <tchar.h> Tk already did the same in tkWinPort.h, now Tcl does it the same (correct) way.
* * doc/try.n: [Bug 2987551]: Fix typo.dkf2010-04-152-10/+14
|
* Fixed missing update of platform package index, and Makefiles.andreas_kupries2010-04-144-9/+10
|
* * library/platform/platform.tcl: Linux platform identification:andreas_kupries2010-04-142-3/+14
| | | | | | | Check /lib64 for existence of files matching libc* before accepting it as base directory. This can happen on weirdly installed 32bit systems which have an empty or partially filled /lib64 without an actual libc. Bumped to version 1.0.6.
* Fix [Patch 2986105]: conditionally defining strcasecmp/strncasecmpnijtmans2010-04-134-40/+46
| | | | Fix gcc warning: comparison of unsigned expression >= 0 is always true
* * generic/tclCompCmdsSZ.c (TclSubstCompile): If the first token doesdkf2010-04-083-6/+48
| | | | | | | | not result in a *guaranteed* push of a Tcl_Obj on the stack, we must push an empty object. Otherwise it is possible to get to a 'concat1' or 'done' without enough values on the stack, resulting in a crash. Thanks to Joe Mistachkin for identifying a script that could trigger this case.
* Formatting improvements for error stack docsdkf2010-04-074-61/+85
|
* Repair missing bits in ChangeLogKevin B Kenny2010-04-061-13/+14
|
* * doc/Load.3: Minor corrections of formatting and cross links.dkf2010-04-062-11/+15
|
* Fix signature of Tcl_LoadFile in documentationnijtmans2010-04-062-2/+3
|
* regenerated with autoconf-2.59nijtmans2010-04-062-7690/+16054
| | | | | [Bug 2982540] configure and install* script files should always have LF