summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* regenerated with autoconf-2.59nijtmans2010-04-063-14495/+5523
| | | | | [Bug 2982540] configure and install* script files should always have LF
* Undodkf2010-04-062-7/+1
|
* * generic/tclCmdMZ.c (Tcl_RegexpObjCmd): Plug leak of object whendkf2010-04-062-1/+7
| | | | setting a variable fails.
* TIP #348 IMPLEMENTATION - Substituted error stackferrieux2010-04-0515-40/+325
|
* Regen with autoconf 2.61 (what I have)dkf2010-04-052-8191/+8806
|
* Flip the defaults for whether to build threaded. Part of TIP #364.dkf2010-04-055-14/+18
|
* Fix two failing tests by matching the can't-lookup-symbol error message.dkf2010-04-053-19/+24
|
* Minor changes to enforce Engineering Manual style rules.dkf2010-04-042-65/+77
|
* Added a first crack at documentation for TIP #357's Tcl_LoadFile et al.dkf2010-04-043-7/+98
|
* * macosx/tclMacOSXBundle.c (OpenResourceMap): [Bug 2981528]: Onlydkf2010-04-042-5/+17
| | | | define this function when HAVE_COREFOUNDATION is defined.
* Add missing "const" in signature,nijtmans2010-04-024-17/+23
| | | | and some formatting fixes
* * generic/tclIOUtil.c (Tcl_LoadFile): Corrections to previous commitdkf2010-04-023-30/+56
| | | | | * unix/tclLoadDyld.c (TclpDlopen): to make it build on OSX. Also add missing ChangeLog entry for previous commit by KBK.
* * generic/tcl.decls: [TIP #357]: First round of changesKevin B Kenny2010-04-0218-276/+714
| | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: to export Tcl_LoadFile, Tcl_FindSymbol, * generic/tclIOUtil.c: and Tcl_FSUnloadFile to the public API. * generic/tclInt.h: * generic/tclLoad.c: * generic/tclLoadNone.c: * generic/tclStubInit.c: * tests/fileSystem.test: * tests/load.test: * tests/unload.test: * unix/tclLoadDl.c: * unix/tclLoadDyld.c: * unix/tclLoadNext.c: * unix/tclLoadOSF.c: * unix/tclLoadShl.c: * unix/tclUnixPipe.c: * win/Makefile.in: * win/tclWinLoad.c:
* * library/reg/pkgIndex.tcl: [TIP #362]: Fixed first round ofKevin B Kenny2010-04-024-15/+20
| | | | | | * tests/registry.test: bugs resulting from the recent commits * win/tclWinReg.c: of changes in support of the referenced TIP.
* * generic/tclStrToD.c: [Bug 2952904]: Defer creation of the smallestKevin B Kenny2010-04-022-5/+10
| | | | | | floating point number until it is actually used. (This change avoids a bogus syslog message regarding a 'floating point software assist fault' on SGI systems.)
* Added missing doc. Oops!dkf2010-03-312-3/+16
|
* * doc/package.n: [Bug 2980210]: Document the arguments taken bydkf2010-03-312-2/+5
| | | | the [package present] command correctly.
* Improve the documentation of how to make and use a thread.dkf2010-03-312-7/+60
|
* [FRQ 2974744]: share exception codes (ObjType?):nijtmans2010-03-314-17/+24
| | | | | | Revised test cases, making sure that abbreviated codes are checked resulting in an error, and checking for the exact error message.
* * generic/tclIORChan.c (ReflectClose, ReflectInput, ReflectOutput,andreas_kupries2010-03-302-59/+107
| | | | | | | | ReflectSeekWide, ReflectWatch, ReflectBlock, ReflectSetOption, ReflectGetOption, ForwardProc): [Bug 2978773]: Preserve ReflectedChannel* structures across handler invokations, to avoid crashes when the handler implementation induces nested callbacks and destruction of the channel deep inside such a nesting.
* * generic/tclObj.c (Tcl_GetCommandFromObj): [Bug 2979402]: Reorderdgp2010-03-302-2/+8
| | | | | the validity tests on internal rep of a "cmdName" value to avoid invalid reads reported by valgrind.