summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* general tidy updkf2008-07-271-214/+208
|
* formatting onlynijtmans2008-07-271-13/+13
|
* Remove unnecessary hack.dkf2008-07-272-8/+7
|
* * doc/Object.3 CONSTified 3 functions usingnijtmans2008-07-2710-52/+70
| | | | | | | | | | | | | | | * doc/ObjectType.3 Tcl_ObjType which all are supposed * generic/tcl.decls to be a constant, but this was not * generic/tcl.h reflected in the API: * generic/tclDecls.h Tcl_ConvertToType * generic/tclObj.c Tcl_GetObjType * generic/tclCompCmds.c Tcl_RegisterObjType * generic/tclOOMethod.c Introduced a CONST86_RETURN, so extensions which * generic/tclTestobj.c use Tcl_ObjType directly can be modified to compile against both Tcl 8.5 and Tcl 8.6 tclDecls.h is re-generated with "make genstubs" This change complies with TIP #24 ***POTENTIAL INCOMPATIBILITY***
* * test/info.test: More work on singleTestInterp usability. Thisandreas_kupries2008-07-252-51/+58
| | | | fixes bug [1605269].
* * tests/info.test: Tests 38.* added, exactly testing the trackingandreas_kupries2008-07-256-39/+152
| | | | | | | | | | | | | | | | | of location for uplevel scripts. Resolved merge conflict on info-37.0, switched !singleTestInterp constraint to glob matching instead. Ditto info-22.8, removed constraint, more glob matching, and reduced the depth of the stack we check. More is coming, right now I want to commit the bug fixes. * tests/oo.test: Updated oo-22.1 for expanded location tracking. * generic/tclCompile.c (TclInitCompileEnv): Reorganized the initialization of the #280 location information to match the flow in TclEvalObjEx to get more absolute contexts. * generic/tclBasic.c (TclEvalObjEx): Added missing cleanup of extended location information.
* * tests/info.test (info-37.0): Add !singleTestInterp constraint;das2008-07-252-22/+29
| | | | | | (info-22.8, info-23.0): switch to glob matching to avoid sensitivity to tcltest.tcl line number changes, remove knownBug constraint, fix expected result. [Bug 1605269]
* just a few const -> CONST (in header files and .decls files)nijtmans2008-07-2411-107/+107
| | | | and CONST -> const (.c files and internal .h files)
* Oops, wrong datenijtmans2008-07-241-2/+2
|
* CONSTified 4 functions in the Notifier which all have a Tcl_Time* in it which isnijtmans2008-07-2413-51/+73
| | | | | | | | | | | supposed to be a constant, but this was not reflected in the API: Tcl_SetTimer Tcl_WaitForEvent Tcl_ConditionWait Tcl_SetMaxBlockTime Introduced a CONST86, so extensions which have their own Notifier (are there any?) can be modified to compile against both Tcl 8.5 and Tcl 8.6. This change complies with TIP #24