summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
...
* remove accidentally committed C++ style commentsMiguel Sofer2009-12-091-3/+1
|
* * generic/tclBasic.c: Insure correct lifetime of varFrame'sMiguel Sofer2009-12-092-19/+30
| | | | | | (objc,objv)for coroutines. * generic/tclExecute.c: Code regrouping
* Add missing Tcl_SetErrorCode calls.dkf2009-12-091-24/+35
|
* * generic/tclExecute.c (TclStackFree): Improved panic msgMiguel Sofer2009-12-091-2/+3
|
* added comment confessing my puzzlementMiguel Sofer2009-12-081-1/+8
|
* minor cleanupMiguel Sofer2009-12-081-10/+7
|
* baby steps towards nre-enabling coroutine first runMiguel Sofer2009-12-082-32/+22
|
* * generic/tclBasic.c: Partial nre-enabling of coroutines.Miguel Sofer2009-12-083-66/+99
| | | | | | * generic/tclExecute.c: The initial call still requires its * generic/tclInt.h: own instance of tebc, but on resume coros can execute in the caller's tebc.
* * generic/tclExecute.c (TEBC): silence warning about pcAdjustmentMiguel Sofer2009-12-081-1/+3
|
* Small corrections (enforcing ANSI style declarations, etc.)dkf2009-12-081-133/+145
|
* Reduce size of TEBC activation record a bit.dkf2009-12-081-366/+389
|
* * generic/tclExecute.c (TEBC): Grouping "slow" variables intoMiguel Sofer2009-12-081-319/+327
| | | | | structs, to reduce register pressure and help the compiler with variable allocation.
* * generic/tclExecute.c: Start cleaning the TEBC stablesMiguel Sofer2009-12-082-219/+162
| | | | * generic/tclInt.h:
* * generic/tclCmdIL.c: Fix of [Bug #2910094] by akuMiguel Sofer2009-12-071-2/+2
| | | | * tests/coroutine.test:
* * generic/tclBasic.c: arrange for [tailcall] to be created withMiguel Sofer2009-12-071-8/+2
| | | | | the other builtins: was being created in a separate call, leftover from pre-tip days.
* * generic/tclStrToD.c: Correct conditional compile directives todgp2009-12-071-4/+5
| | | | | better detect the toolchain that needs extra work for proper underflow treatment instead of merely detecting the mips platform. [Bug 2902010].
* * generic/tclBasic.c: add ::tcl::unsupported::yieldToMiguel Sofer2009-12-072-6/+68
| | | | * generic/tclInt.h: [Patch 2910056]
* Plug memory leak. [Bug 2910044]dkf2009-12-071-1/+9
|
* missing declarationMiguel Sofer2009-12-071-1/+2
|
* factoring TclSpliceTailcall out of TclPopStackFrameMiguel Sofer2009-12-064-48/+59
|
* * generic/tclBasic.c: Small changes for clarity in tailcallMiguel Sofer2009-12-062-17/+42
| | | | * generic/tclExecute.c: and coroutine code.
* * generic/tclBasic.c: Fixed things so that you can tailcallMiguel Sofer2009-12-053-4/+28
| | | | | | | | * generic/tclNamesp.c: properly out of a coroutine. * tests/tailcall.test: * generic/tclInterp.c: Fixed tailcalls for same-interp aliases (no test)
* tcl.h Don't use EXPORT for Tcl_InitStubsnijtmans2009-11-301-3/+3
| | | | win/Makefile.in Better dependancies in case of static build.
* Match the version-bump of TclOO.dkf2009-11-271-2/+3
|
* [Bug 2903811]: Remove unneeded restrictions on usefully calling thedkf2009-11-271-8/+6
| | | | oo::object->variable method. Leaving it hidden is enough.
* fix warning on LP64das2009-11-261-1/+5
|
* Ensure that destroying an object in a constructor doesn't crash. [Bug 2903011]dkf2009-11-241-4/+44
|
* #undef STATIC_BUILD in tclWin(Dde|Reg).c, in order to makenijtmans2009-11-232-38/+33
| | | | | | | | | | | sure that Xxxxx_Init is always exported even when Tcl is built static (otherwise we cannot create a DLL). tclThreadTest.c: Make all functions static, except TclThread_Init. fCmd.test Enable fCmd-30.1 when registry is available. tcl.m4 Fix ${SHLIB_LD_LIBS} definition, fix conflicts configure.in between static libraries and import library on windows. configure (regenerated) Makefile.in Simplifications related to tcl.m4 changes.
* * generic/tclThreadTest.c (NewTestThread): [Bug 2901803]Kevin B Kenny2009-11-231-2/+2
| | | | | Further machinations to get NewTestThread actually to launch the thread, not just compile.
* [Bug 2901803]: Fix silly error.dkf2009-11-231-14/+16
|
* Cast required when setting result using a const string. String is copied by ↵patthoyts2009-11-211-2/+2
| | | | TCL_VOLATILE.
* a bit of cleanupdgp2009-11-201-1/+4
|
* Updated freeIntRepProc routines sonijtmans2009-11-191-2/+3
| | | | | | | that they set the typePtr field to NULL so that the Tcl_Obj is not left in an inconsistent state. [Bug 2857044]
* Test-case for fixed [Bug 2849797]nijtmans2009-11-192-5/+2
| | | | | | Fix safe-10.1 and safe-10.4 test cases, making the wrong assumption that Tcltest should be a static package.
* Fix [Bug 2883850]: pkgIndex.tcl doesn'tnijtmans2009-11-185-27/+97
| | | | get created with static Tcl build
* Fix [Bug 2849797]: channel name inconsistencies as suggested by DKFnijtmans2009-11-182-7/+13
| | | | | | minor *** POTENTIAL INCOMPATIBILITY *** because Tcl_CreateChannel() and its derivatives, now sometimes ignore their "chanName" argument.
* Eliminate unneccessary spacesnijtmans2009-11-181-4/+4
|
* Eliminate various gcc warnings (in -Wextra mode)nijtmans2009-11-1816-154/+158
|
* Use proper command creation routine.dgp2009-11-161-2/+2
|
* Revert mistaken commitdgp2009-11-165-107/+7
|
* (forward port) Fix [Bug 2891556] and improve test to detect similar ↵ferrieux2009-11-167-14/+175
| | | | manifestations in the future. Add tcltest support for finalization.
* * generic/tclIO.c (CopyData): [Bug 2895565]. Dropped bogosityandreas_kupries2009-11-121-9/+12
| | | | | | * tests/io.test: which used the number of _written_ bytes or character to update the counters for the read bytes/characters. New test io-53.11. This is a forward port from the 8.5 branch.
* * generic/tclClock.c (TclClockInit): Do not create [clock] supportdgp2009-11-121-1/+10
| | | | commands in safe interps.
* Fix [Bug 2888099] (close discards ENOSPC error) by saving the errnoferrieux2009-11-101-2/+17
| | | | | from the first of two FlushChannel()s. Uneasy to test; might need specific channel drivers. Four-hands with aku.
* * generic/tclBasic.c: Plug another leak in TCL_EVAL_DIRECTandreas_kupries2009-11-101-9/+9
| | | | | evaluation. Forward port from Tcl 8.5 branch, change by Don Porter.
* * generic/tclObj.c: Plus memory leak in TclContinuationsEnter().andreas_kupries2009-11-101-1/+12
| | | | | [Bug 2895323]. Forward port from Tcl 8.5 branch, change by Don Porter.
* * generic/tclBasic.c (TclEvalObjEx): Moved the #280 decrement ofandreas_kupries2009-11-091-8/+7
| | | | | | | refCount for the file path out of the branch after the whole conditional, closing a memory leak. Added clause on structure type to prevent seg.faulting. Forward port from valgrinding the Tcl 8.5 branch.
* Some small bits of tidying up.dkf2009-11-091-16/+14
|
* [Bug 2889593]: Make [expr round()] give the right error.dkf2009-10-311-2/+2
|
* * generic/tcl.h: Changed the typedef for the mp_digit typedgp2009-10-291-6/+2
| | | | | | | | | | | | | | | | | | | | | | | from: typedef unsigned long mp_digit; to: typedef unsigned int mp_digit; For 32-bit builds where "long" and "int" are two names for the same thing, this is no change at all. For 64-bit builds, though, this causes the dp[] array of an mp_int to be made up of 32-bit elements instead of 64-bit elements. This is a huge improvement because details elsewhere in the mp_int implementation cause only 28 bits of each element to be actually used storing number data. Without this change bignums are over 50% wasted space on 64-bit systems. [Bug 2800740]. ***POTENTIAL INCOMPATIBILITY*** For 64-bit builds, callers of routines with (mp_digit) or (mp_digit *) arguments *will*, and callers of routines with (mp_int *) arguments *may* suffer both binary and stubs incompatibilities with Tcl releases 8.5.0 - 8.5.7. Such possibilities should be checked, and if such incompatibilities are present, suitable [package require] requirements on the Tcl release should be put in place to keep such built code [load]-ing only in Tcl interps that are compatible.