summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* eliminate TclWinResetInterfaceEncodings, becausenijtmans2009-08-025-66/+46
| | | | | | it does exactly the same as TclWinEncodingsCleanup, make sure that tclWinProcs and tclWinTCharEncoding are always set and reset concurrently.
* * generic/tclStringObj.c: Corrected failure to grow bufferdgp2009-07-313-2/+15
| | | | | * tests/format.test: when format spec request large width floating point values. Thanks to Clemens Misch. [Bug 2830354]
* Simplify a bit further following more testingdkf2009-07-261-10/+3
|
* Use [try] to replace obscurer uses of [catch].dkf2009-07-265-611/+612
|
* Forced LF translation when generating .h's to avoid spurious diffs when ↵ferrieux2009-07-262-1/+7
| | | | regenerating on a Windows box.
* [Bug 2827066] msys build --enable-symbols brokennijtmans2009-07-264-6/+20
| | | | | And modified the same for unicows.dll, as a preparation for [Enh 2819611]
* Correct "incidental" test failure; exact error message generated bydkf2009-07-251-55/+33
| | | | ::tcl::HistAdd changed
* Make [history] (well, [::tcl::history]) be a real ensemble.dkf2009-07-253-190/+134
|
* minor cleanupsdgp2009-07-242-3/+5
|
* Clarify code by using [try] instead of [catch] in a few placesdkf2009-07-241-557/+426
|
* Removed mention of auto_mkindex_old from indexed locations; we reallydkf2009-07-241-7/+9
| | | | | don't want people finding out about it and using it if they're not already doing so...
* Made it clearer what most people want instead of [self class].dkf2009-07-242-13/+26
|
* Revert series of local changes not relevant to the last commit.andreas_kupries2009-07-236-34/+11
|
* * generic/tclIO.c (Tcl_GetChannelHandle): Do not crash forandreas_kupries2009-07-239-16/+63
| | | | | | | | * generic/tclPipe.c (FileForRedirect): getHandleProc == NULL, this is allowed. Provide a nice error message in the bypass area. Updated caller to check the bypass for a mesage. This fixes the bug [Bug 2826248] reported by Andy Sonnenburg <andy22286@users.sourceforge.net>
* fix SunCC warningdas2009-07-231-2/+2
|
* Fix for [Bug 2820349]Joe Mistachkin2009-07-232-1/+7
|
* Feature Request 2814786: remove TclpPanicnijtmans2009-07-225-36/+17
|
* * macosx/tclMacOSXFCmd.c: CONST -> constnijtmans2009-07-225-10/+17
| | | | | | * generic/tclGetDate.y: * generic/tclDate.c: * generic/tclLiteral.c: (char *) cast in ckfree call
* Refined the 20090617 patch on [exit] streamlining, so that it now correctly ↵ferrieux2009-07-222-5/+21
| | | | calls thread exit handlers for the calling thread, which includes <Destroy> bindings in Tk [Bug 2001201 again].
* 2009-07-21 Kevin B. Kenny <kennykb@acm.org>Kevin B Kenny2009-07-213-184/+8
| | | | | * library/tzdata/Asia/Dhaka: * library/tzdata/Indian/Mauritius: Olson's tzdata2009k.
* Performance boost for [string is].dkf2009-07-202-36/+75
|
* Expose function to efficiently return current name of an object.dkf2009-07-196-14/+61
|
* * unix/Makefile.in: Define NDEBUG in optimized (non-symbols) build todas2009-07-182-2/+7
| | | | disable NRE assert()s and threaded allocator range checks.
* * generic/tclBinary.c: Removed unused variables.dgp2009-07-1612-40/+55
| | | | | | | | | | | | | | | | | | * generic/tclCmdIL.c: * generic/tclCompile.c: * generic/tclExecute.c: * generic/tclHash.c: * generic/tclIOUtil.c: * generic/tclVar.c: * generic/tclBasic.c: Silence compiler warnings about ClientData. * generic/tclProc.c: * generic/tclScan.c: Typo in ACCEPT_NAN configuration. * generic/tclStrToD.c: Set floating point control register on MIPS systems so that the gradual underflow expected by Tcl is in effect. [Bug 2819200]
* Added code to save space in namespaces. Currently #ifdef'ed out for compat.dkf2009-07-157-71/+375
| | | | Also added code from itcl-ng for better separation of concerns.
* fix 64bit int <-> ptr cast warningsdas2009-07-143-10/+10
|
* * generic/tclInt.h (TclNRSwitchObjCmd):Kevin B Kenny2009-07-145-7/+65
| | | | | | | * generic/tclBasic.c (builtInCmds): * generic/tclCmdMZ.c (Tcl_SwitchObjCmd): * tests/switch.test (switch-15.1): Make non-bytecoded [switch] command aware of NRE. [Bug 2821401]
* * generic/tclCompile.c (TclInitCompileEnv, EnterCmdWordIndex,andreas_kupries2009-07-149-167/+443
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TclCleanupByteCode, TclCompileScript): * generic/tclExecute.c (TclCompileObj, TclExecuteByteCode): * tclCompile.h (ExtCmdLoc): * tclInt.h (ExtIndex, CFWordBC, CmdFrame): * tclBasic.c (DeleteInterpProc, TclArgumentBCEnter, TclArgumentBCRelease, TclArgumentGet, SAVE_CONTEXT, RESTORE_CONTEXT, NRCoroutineExitCallback, TclNRCoroutineObjCmd): * generic/tclCmdAH.c (TclNRForObjCmd, TclNRForIterCallback, ForNextCallback): * generic/tclCmdMZ.c (TclNRWhileObjCmd): Extended the bytecode compiler initialization to recognize the compilation of whole files (NRE enabled 'source' command) and switch to the counting of absolute lines in that case. Further extended the bytecode compiler to track the start line in the generated information, and modified the bytecode execution to recompile an object if the location as per the calling context doesn't match the location saved in the bytecode. This part could be optimized more by using more memory to keep all possibilities which occur around, or by just adjusting the location information instead of a total recompile. Reworked the handling of literal command arguments in bytecode to be saved (compiler) and used (execution) per command (See the TCL_INVOKE_STK* instructions), and not per the whole bytecode. This, and the previous change remove the problems with location data caused by literal sharing (across whole files, but also proc bodies). Simplified the associated datastructures (ExtIndex is gone, as is the function EnterCmdWordIndex). The last change causes the hashtable 'lineLABCPtr' to be state which has to be kept per coroutine, like the CmdFrame stack. Reworked the coroutine support code to create, delete and switch the information as needed. Further reworked the tailcall command as well, it has to pop its own arguments when run in a bytecode context to keep a proper stack in 'lineLABCPtr'. Fixed the mishandling of line information in the NRE-enabled 'for' and 'while' commands introduced when both were made to share their iteration callbacks without taking into account that the loop body is found in different words of the command. Introduced a separate data structure to hold all the callback information, as we went over the limit of 4 direct client-data values for NRE callbacks. The above fixes [Bug 1605269].
* Fix [Bug 2637173] by consolidating bytearray purity check.dkf2009-07-126-36/+53
|
* Updated documentation to provide better description of this advanced feature.dkf2009-07-121-11/+12
|
* Reorganize method cache handling a bit to better support itcl nasty cases.dkf2009-07-124-30/+60
| | | | [Bug 1895546]
* Substantially increased the discussion of issues and work-arounds relating todkf2009-07-112-2/+117
| | | | nested vwaits, following discussion on the tcl-core mailing list on the topic.
* tweaksdkf2009-07-111-5/+6
|
* Extended the warning about vwait gotchasdkf2009-07-111-2/+5
|
* General improvement of the documentationdkf2009-07-111-42/+72
|
* Added optional script option to runtest and a runshell target. Silence ↵patthoyts2009-07-111-4/+10
| | | | output from html help compiler
* backslash quotingpatthoyts2009-07-111-2/+2
|
* ZlibTransformClose may be called with a NULL interpreter during finalization andpatthoyts2009-07-103-41/+188
| | | | | Tcl_SetChannelError requires a list. Added some tests to ensure error propagation from the zlib library to the interp.
* Slight improvement of wordingdkf2009-07-101-2/+2
|
* [Bug #2818131] Added tests and fixed a typo that broke zlib push for deflate ↵patthoyts2009-07-093-8/+101
| | | | format.
* Fix [Bug 2819227] by using a function from C89 rather than POSIX.dkf2009-07-092-2/+7
|
* Silence a signed/unsigned warning that annoys msvcpatthoyts2009-07-061-2/+2
|
* Additional tests for zlib stacked channel with fcopy in various modes.patthoyts2009-07-051-1/+120
|
* Make [zlib push] work with [fcopy].dkf2009-07-053-103/+193
|
* Cast wide integer to int conversion (silence msvc6 warning)patthoyts2009-07-011-3/+3
|
* Handle the GetUserName API call appropriately for wide/narrow versions. [Bug ↵patthoyts2009-07-014-9/+22
| | | | 2806622]
* s/Tcl_PanicEx/TclPanic/; improve clang assert Tcl_Panic macrologydas2009-06-301-3/+3
|
* * generic/tclInt.h: add assert macros for clang staticdas2009-06-305-4/+31
| | | | | | | | | * generic/tclPanic.c: analyzer and redefine Tcl_Panic to * generic/tclStubInit.c: assert after panic in clang PURIFY builds. * generic/tclCmdIL.c: add clang assert for false positive from static analyzer.
* * macosx/Tcl-Common.xcconfig: update projects for Xcode 3.1 and 3.2,das2009-06-2611-2672/+739
| | | | | | | | | | * macosx/Tcl.xcode/*: standardize on gcc 4.2, remove obsolete * macosx/Tcl.xcodeproj/*: configurations and pre-Xcode project. * macosx/Tcl.pbproj/* (removed): * macosx/README: update project docs, cleanup. * unix/Makefile.in: update dist target for project changes.
* Handle cleanup when all tests skipped [Bug 2812355]patthoyts2009-06-251-1/+1
|