summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* generic/tclExecute.c formatting only: remove spaces at the end of a every ↵nijtmans2008-08-073-57/+57
| | | | | | | | | | | | | | | line generic/tclConfig.c make the internal cfg variable const. generic/tclTrace.c add a "const" keyword, allowing the "traceSubCmds[]" array to be placed by the C- compiler in a code segment in stead of a data segment Those harmless changes are as a preparation for a future change proposal. Unfortunately, my (Eclipse) editor automatically removes spaces at the end of every line. Creating a patch for this proposal should not contain unrelated harmless changes, so therefore this separate check-in. No change in functionality. No risk.
* small modif of last commitMiguel Sofer2008-08-071-10/+7
|
* * generic/tclBasic.c: Fix tailcalls falling out of tebc intoMiguel Sofer2008-08-074-13/+34
| | | | | * generic/tclExecute.c: Tcl_EvalEx [Bug 2017946] * generic/tclInt.h:
* * generic/tclOO.c: Revised TclOO's check for an interpdgp2008-08-063-3/+42
| | | | | | | | | | being deleted during handling of object command deletion. The old code was relying on documented features of command delete traces that do not in fact work. [Bug 2039178]. * tests/oo.test (oo-26.*): Added tests that demonstrate failure of TclOO to check for various kinds of invalid bytecode during method dispatch. [Bug 2037727].
* credit dgp for that bug :}Miguel Sofer2008-08-061-1/+2
|
* * generic/tclVar.c (TclLookupSimpleVar): fix bug that the coreMiguel Sofer2008-08-062-3/+7
| | | | | | could not trigger before TclOO: the number of locals was being read from the Proc, which can under some circumstance be out of sync with the localCache's.
* missed some nukeable comments re [namespace inscope]Miguel Sofer2008-08-061-8/+3
|
* * library/init.tcl (::unknown): removed the [namespace inscope]Miguel Sofer2008-08-062-12/+13
| | | | | | | | | hack that was maintained for Itcl *** POTENTIAL INCOMPATIBILITY *** for Itcl Itcl users will need a new release with Itcl's [Patch 2040295], or else load the tiny script in that patch by themselves (rewrite ::unknown). Note that it is a script-only patch.
* Streamline async connect logic [Patch 1994512].jenglish2008-08-052-68/+44
| | | | | | | Consolidate error reporting paths in CreateSocket(); Restore blocking mode immediately after connect() FD blocking mode is now consistent with [fconfigure ... -blocking] setting while async connect is in progress.
* missing ChangeLof entryMiguel Sofer2008-08-051-0/+5
|
* * generic/tclExecute.c: Fix for [Bug 2038069] by dgp.Miguel Sofer2008-08-052-3/+19
| | | | * tests/execute.test:
* fix "bad stack top" bug in last commitMiguel Sofer2008-08-041-1/+5
|
* * tests/nre.test: added tests for [if], [while] and [for]. A testMiguel Sofer2008-08-042-2/+49
| | | | | for [foreach] has been added and marked as knownbug, awaiting for it to be NR-enabled.
* missing commit to tests/unsupported.testMiguel Sofer2008-08-041-1/+51
|
* duh ... committed only the ChangeLog entry, not the restMiguel Sofer2008-08-044-67/+77
|
* * generic/tclBasic.c: made atProcExit commands runMiguel Sofer2008-08-041-0/+8
| | | | | | | * generic/tclCompile.h: inconditionally, streamlined * generic/tclExecute.c: atProcExit/tailcall processing * generic/tclProc.c: in TEBC. * tests/unsupported.test:
* * generic/tclExecute.c: Stopped faulty double-logging of errors todgp2008-08-043-2/+40
| | | | | | * tests/execute.test: stack trace when a compile epoch bump triggers fallback to direct evaluation of commands in a compiled script. [Bug 2037338]
* made function staticMiguel Sofer2008-08-032-4/+3
|
* remove unneeded declarationMiguel Sofer2008-08-031-2/+1
|
* ChangeLog entryMiguel Sofer2008-08-031-0/+10
|
* * generic/tclBasic.c: new unsupported command atProcExitMiguel Sofer2008-08-037-122/+337
| | | | | | | | | * generic/tclCompile.h: that shares the implementation with * generic/tclExecute.c: tailcall. Fixed a segfault in * generic/tclInt.h: tailcalls. Tests added. * generic/tclInterp.c: * generic/tclNamesp.c: * tests/unsupported.test:
* remove NRE.test & add new test files to Tcl.xcodeprojdas2008-08-033-9/+8
|
* * tests/NRE.test: made empty, waiting for removal until das doesMiguel Sofer2008-08-024-476/+552
| | | | | | | | his thing in macosx/Tcl.xcodeproj/project.pbxproj * tests/nre.test: migrated tests to standard locations, * tests/unsupported.test: separating core functionality from the experimental commands. These are new files.
* * doc/Exit.3: do not call Tcl_Finalize implicitlyhobbs2008-08-014-113/+19
| | | | | | | * generic/tclEvent.c: on DLL_PROCESS_DETACH as it may lead * win/tclWin32Dll.c (DllMain): to issues and the user should be explicitly calling Tcl_Finalize before unloading regardless. Clarify the docs to note the explicit need in embedded use.
* * generic/tclBasic.c: Revised timing of the CmdFrame stack managementdgp2008-08-013-13/+34
| | | | | | | | * tests/info.test: in TclEvalEx so that the CmdFrame will still be on the stack at the time Tcl_LogCommandInfo is called to append another level of -errorinfo information. Sets the stage to add file and line data to the stack trace. Added test to check that [info frame] functioning remains unchanged by the revision.
* * tests/NRE.test: replaced all deep-recursing tests by shallowerMiguel Sofer2008-08-012-246/+126
| | | | | tests that actually measure the C-stack depth. This makes them bearable again (even under memdebug) and avoid crashing on failure.
* tclNRE.h die die diedas2008-07-313-43/+41
|
* nr-enabling [for]; [while] made to reuse [for]'s infrastructure.Miguel Sofer2008-07-315-84/+101
|
* nr-enabling [while]Miguel Sofer2008-07-314-27/+55
|
* missing ChangeLog entryMiguel Sofer2008-07-311-2/+3
|
* nr-enabling [if]Miguel Sofer2008-07-313-7/+18
|
* * generic/tclBasic.c: NR-enabling [catch]Miguel Sofer2008-07-315-7/+57
| | | | | | * generic/tclCmdAH.c: * generic/tclInt.h: * tests/NRE.test:
* wrong date in ChangelogMiguel Sofer2008-07-311-1/+1
|
* Dumped tclNRE.h's contents into tclInt.h. The file is now empty andMiguel Sofer2008-07-3113-118/+106
| | | | | | unrefernced everywhere but in macosx/Tcl.xcodeproj/project.pbxproj: some knowledgeable maintainer please remove tclNRE.h after making sure it doesn't break the build on macosx
* restricting usage and avoiding panics in [tailcall]Miguel Sofer2008-07-313-155/+48
|
* fix macro that gcc swallows but msvc doesn'tMiguel Sofer2008-07-311-7/+9
|
* * generic/tclBasic.c: Improved tailcalls and tests.Miguel Sofer2008-07-316-120/+179
| | | | | | | * generic/tclCompile.h: * generic/tclExecute.c: * generic/tclTest.c: * tests/NRE.test:
* * generic/tclBasic.c (TclNREvalObjEx): new comments and code reorgMiguel Sofer2008-07-302-77/+92
| | | | to clarify what is happening.
* fixing last commitMiguel Sofer2008-07-301-2/+2
|
* * generic/tclBasic.c: guard against the value of iPtr->evalFlagsMiguel Sofer2008-07-302-3/+10
| | | | | changing between the times where TEOV and TEOV_exception run. Thanks dgp for catching this.
* * tests/NRE.test: new tests that went MIA in the NRE revampingMiguel Sofer2008-07-292-3/+225
|
* a timid start at cleaning upMiguel Sofer2008-07-294-97/+72
|
* * generic/tclBasic.c: Made use of the thread's alloc cacheMiguel Sofer2008-07-295-32/+110
| | | | | | | | | * generic/tclInt.h: stored in the ekeko at interp creation * generic/tclNRE.h: to avoid hitting the TSD each time an * generic/tclThreadAlloc.c: NRE callback is pushed or pulled; the approach is suitably general to extend to evry other obj allocation where an interp is know; this is left for some other time, requires a lot of grunt work.
* * generic/tclExecute.c: fix [Bug 2030670] that causeMiguel Sofer2008-07-292-5/+10
| | | | | TclStackRealloc to panic on rare corner cases. Thx ajpasadyn for diagnose and patch.
* fix macroMiguel Sofer2008-07-291-2/+2
|
* changelog entryMiguel Sofer2008-07-291-0/+16
|
* Completely revamped NRE implementation, with (almost) unchanged API.Miguel Sofer2008-07-2916-1199/+641
|
* it's tip #27, not #24nijtmans2008-07-281-3/+3
|
* * doc/FileSystem.3: CONSTified many functions using Tcl_FileSystemnijtmans2008-07-288-127/+141
| | | | | | | | | | | * generic/tcl.decls: which all are supposed to be a constant, but * generic/tclDecls.h: this was not reflected in the API: * generic/tclFileSystem.h: Tcl_FSGetInternalRep * generic/tclIOUtil.c: Tcl_FSNewNativePath, Tcl_FSData * generic/tclPathObj.c: Tcl_FSRegister, Tcl_FSUnregister * generic/tclTest.c: Tcl_FSGetFileSystemForPath ... This change complies with TIP #24. ***POTENTIAL INCOMPATIBILITY***
* * generic/tclBasic.c: Added missing ref count when creating anandreas_kupries2008-07-282-2/+10
| | | | | | | empty string as path (TclEvalEx). In 8.4 the missing code caused panics in the testsuite. It doesn't in 8.5. I am guessing that the code path with the missing the incr-refcount is not invoked any longer. Because the bug in itself is certainly the same.