summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* [Patch 1830038]: Increased usage of macros to detect and take advantage of ↵Miguel Sofer2007-11-1131-395/+457
| | | | objTypes.
* * generic/tclBasic.c: fix stack check failure case if stack grows up.das2007-11-111-2/+2
|
* * generic/tclBasic.c: fix stack check failure case if stack grows up.das2007-11-111-2/+2
|
* * generic/tclExecute.c: fast path for INST_LIST_INDEX when theMiguel Sofer2007-11-101-7/+20
| | | | index is not a list.
* * generic/tclBasic.c:Miguel Sofer2007-11-101-8/+19
| | | | | | * unix/configure.in: * unix/tclUnixInit.c: detect stack grwoth direction at compile time, only fall to runtime detection when crosscompiling.
* * unix/tclUnixTime.c (TclpWideClicksToNanoseconds): fix issues withdas2007-11-101-2/+2
| | | | * generic/tclInt.h: int64_t overflow.
* Improved failure comments for stack checks (mistachkin).Miguel Sofer2007-11-101-10/+15
|
* * generic/tclBasic.c:Miguel Sofer2007-11-102-21/+12
| | | | | | | | | * generic/tclInt.h: * unix/tclUnixInit.c: * win/tclWin32Dll.c: restore simpler behaviour for stack checking, not adaptive to stack size changes after a thread is launched. Consensus is that "nobody does that", and so it is not worth the cost.
* * generic/tclBasic.c:Miguel Sofer2007-11-102-27/+25
| | | | | | | | | | | * generic/tclInt.h: * unix/tclUnixInit.c: * unix/tclUnixPort.h: * win/tclWin32Dll.c: modify the stack checking algorithm to recheck in case of failure. The working assumptions are now that (a) a thread's stack is never moved, and (b) a thread's stack can grow but not shrink. Port to windows - could be more efficient, but is already cheaper than it was.
* fix formattingdas2007-11-101-2/+3
|
* fix typos, formatting and non-unix breakage (due to undefined stackGrowsDown)das2007-11-101-6/+7
|
* * generic/tclResult.c (ResetObjResult): new shortcut.Miguel Sofer2007-11-101-3/+4
|
* * generic/tclAsync.c:Miguel Sofer2007-11-094-9/+95
| | | | | | | | | | | * generic/tclBasic.c: * generic/tclExecute.c: * generic/tclInt.h: * generic/tclUnixInit.c: * generic/tclUnixPort.h: new fields in interp (ekeko!) to cache TSD data that is accessed at each command invocation, access macros to replace Tcl_AsyncReady and TclpCheckStackSpace by much faster variants [Patch 1829248]
* * generic/tclInt.decls, generic/tclIntDecls.h: Use unsigned char forhobbs2007-11-094-46/+30
| | | | | | * generic/tclExecute.c, generic/tclUtil.c: TclByteArrayMatch and don't allow a nocase option. [Bug 1828296] For INST_STR_MATCH, ignore pattern type for TclByteArrayMatch case.
* * generic/tclBinary.c (Tcl_GetByteArrayFromObj): check type beforehobbs2007-11-091-2/+4
| | | | func jump
* fix (unsigned char*) vs. (char*) warningsdas2007-11-082-5/+5
|
* * generic/tclStubInit.c:hobbs2007-11-085-5/+220
| | | | | | | * generic/tclInt.decls, generic/tclIntDecls.h: added TclByteArrayMatch * generic/tclUtil.c (TclByteArrayMatch): for efficient glob * generic/tclExecute.c (TclExecuteByteCode): matching of ByteArray Tcl_Objs, used in INST_STR_MATCH. [Bug 1827996]
* (DoWriteChars): special case for 1-byte channel write.hobbs2007-11-071-6/+11
|
* * generic/tclIO.c (TclGetsObjBinary): add an efficient binary pathhobbs2007-11-071-4/+254
| | | | for [gets].
* * generic/tclEncoding.c: Version of the embedded iso8859-1Miguel Sofer2007-11-061-13/+210
| | | | | | | | encoding handler that is faster (functions to do the encoding know exactly what they're doing instead of pulling it from a table, though the table itself has to be retained for use by shift encodings that depend on iso8859-1.) [Patch 1826906], committing for dkf.
* * generic/tclConfig.c (Tcl_RegisterConfig): Modified to not extendandreas_kupries2007-11-051-36/+39
| | | | | | | the config database if the encoding provided by the user is not found (venc == NULL). Scripts expecting the data will error out, however we neither crash nor provide bogus information. See [SF Tcl Bug 983509] for more discussion.
* * generic/tclConfig.c (Tcl_RegisterConfig): Modified to useandreas_kupries2007-11-051-1/+6
| | | | | | | | iso8859-1 as a fallback if the user supplied encoding was not found. That way we do not crash. It is unclear however if this is a sane fallback given that the encoding is likely wrong and producing bogus strings. See [SF Tcl Bug 983509] for more discussion.
* * generic/tclTest.c (TestSetCmd2):Miguel Sofer2007-11-032-3/+40
| | | | | | | * generic/tclVar.c (TclObjLookupVarEx): * tests/set.test (set-5.1): fix error branch when array name looks like array element (code not normally exercised). x
* \u0000 is ASCII! [Bug 1808258]dkf2007-11-011-13/+11
|
* * generic/tcl.h: Bump version number to 8.5b2.1 to distinguishdgp2007-10-301-2/+2
| | | | | | | | | | * library/init.tcl: CVS development snapshots from the 8.5b2 * unix/configure.in: release. * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf (2.59) * win/configure:
* * generic/tclUtil.c (Tcl_ConcatObj): optimise for some of theMiguel Sofer2007-10-281-13/+38
| | | | concatenees being empty objs [Bug 1447328]
* Embed the definition of the iso8859-1 encoding directly in Tcl.dkf2007-10-281-2/+46
|
* * generic/tclNamesp.c (Tcl_FindCommand): insure that FQ commandMiguel Sofer2007-10-271-2/+2
| | | | | names are searched from the global namespace, ie, bypassing resolvers of the current namespace [Bug 1114355].
* Part of fix for [Bug 1810264]dkf2007-10-271-1/+1
|
* * generic/tclCompile.h:Miguel Sofer2007-10-272-4/+4
| | | | | | * generic/tclInt.h: moved declaration of TclSetCmdNameObj from tclCompile.h to tclInt.h, reverting linker [Bug 1821159] caused by commit of 2007-10-11 (both I and gcc missed one dep).
* * generic/tclVar.c: try to preserve Tcl_Objs when doing variableMiguel Sofer2007-10-271-55/+97
| | | | lookups by name, partially addressing [Bug 1793601]
* * README: Bump version number to 8.5b2.dgp2007-10-261-3/+3
| | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf (2.59) * win/configure:
* whitespacedas2007-10-251-4/+4
|
* Added TclpMasterLock/Unlock arround calls to ForgetSyncObject invasiljevic2007-10-251-1/+10
| | | | | Tcl_MutexFinalize and Tcl_ConditionFinalize to prevent from garbling the internal list that track synchronization objects.
* * generic/tclCompile.c: Fix comments.Miguel Sofer2007-10-202-5/+5
| | | | * generic/tclExecute.c:
* * generic/tclResult.c (TclMergeReturnOptions): Make sure any -codedgp2007-10-182-3/+11
| | | | | | | | values get pulled out of the dictionary, even if they are integer valued. * generic/tclCompCmds.c (TclCompileReturnCmd): Added code to more optimally compile [return -level 0 $x] to "push $x". [RFE 1794073]
* * generic/tcl.h: Remove TCL_LL_MODIFIER_SIZE. [RFE 1811837]dgp2007-10-181-11/+1
|
* * generic/tclCompExpr.c: Moved a misplaced declaration that blockedKevin B Kenny2007-10-172-7/+12
| | | | | | compilation on VC++. * generic/tclExecute.c: Silenced several VC++ compiler warnings about converting 'long' to 'unsigned short'.
* * generic/tclIOCmd.c: Revise [open] so that it interprets leadingdgp2007-10-153-6/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | zero strings passed as the "permissions" argument as octal numbers, even if Tcl itself no longer parses integers in that way. * unix/tclUnixFCmd.c: Revise the "-permissions" [file attribute] so that it interprets leading zero strings as octal numbers, even if Tcl itself no longer parses integers in that way. * generic/tclCompExpr.c: Corrections to code that produces * generic/tclUtil.c: extended "bad octal" error messages. * tests/cmdAH.test: Test revisions so that tests pass whether or * tests/cmdIL.test: not Tcl parses leading zero strings as octal. * tests/compExpr-old.test: * tests/compExpr.test: * tests/compile.test: * tests/expr-old.test: * tests/expr.test: * tests/incr.test: * tests/io.test: * tests/lindex.test: * tests/link.test: * tests/mathop.test: * tests/parseExpr.test: * tests/set.test: * tests/string.test: * tests/stringComp.test:
* * generic/tclParse.c (Tcl_ParseBraces): fix for possible readMiguel Sofer2007-10-151-2/+2
| | | | after the end of buffer, [Bug 1813528] (Joe Mistachkin).
* comment typodas2007-10-121-2/+2
|
* * generic/tclCmdMZ.c: Correct [string is (wide)integer] failuredgp2007-10-112-81/+43
| | | | | | | | | | | | | | | | | | * tests/string.test: to report correct failindex values for non-decimal integer strings. [Bug 1805887]. * compat/strtoll.c (removed): The routines strtoll() and strtoull() * compat/strtoull.c (removed): are no longer called by the Tcl source * generic/tcl.h: code. (Their functionality has been replaced * unix/Makefile.in: by TclParseNumber().) Remove outdated comments * unix/configure.in: and mountains of configury autogoo that * unix/tclUnixPort.h: allegedly support the mythical systems where * win/Makefile.in: these routines might not have been available. * win/makefile.bc: * win/makefile.vc: * win/tclWinPort.h: * unix/configure: autoconf-2.59
* * generic/tclObj.c: remove superfluous #include of tclCompile.hMiguel Sofer2007-10-111-2/+1
|
* Fix my silly blunder with an undeclared variable.dkf2007-10-091-2/+3
|
* * generic/tcl.h (Tcl_DecrRefCount): Update change from 2006-05-29hobbs2007-10-021-3/+4
| | | | to make macro more warning-robust in unbraced if code.
* * generic/tcl.h: Bump version number to 8.5b1.1 to distinguishdgp2007-10-021-2/+2
| | | | | | | | | | * library/init.tcl: CVS development snapshots from the 8.5b1 * unix/configure.in: release. * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf (2.59) * win/configure:
* Add a new command, ::tcl::unsupported::disassembledkf2007-09-256-166/+406
|
* fix 'make checkstubs' complaint about Tcl_PkgInitStubsCheckcore_8_5_b1das2007-09-201-1/+4
|
* * README: Bump version number to 8.5b1dgp2007-09-191-4/+4
| | | | | | | | | * generic/tcl.h: Merge from core-stabilizer-branch. * library/init.tcl: Stabilizing toward 8.5b1 release now done * tools/tcl.wse.in: on the HEAD. core-stabilizer-branch is * unix/configure.in: now suspended. * unix/tcl.spec: * win/configure.in:
* formattingdgp2007-09-191-9/+5
|