summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Added relative speed test for pure byte array concats.ferrieux2008-07-232-2/+15
|
* Added relative speed test for lrange, checking fro in-place optimization.ferrieux2008-07-232-2/+12
|
* * tests/info.test: Reordered the tests to have monotonouslyandreas_kupries2008-07-232-154/+157
| | | | increasing numbers.
* Rename new test to avoid duplicate test name.andreas_kupries2008-07-231-2/+2
|
* * generic/tclBasic.c: Modified TclArgumentGet to reject pure listsandreas_kupries2008-07-235-29/+69
| | | | | | | | | | * generic/tclCmdIL.c: immediately, without search. Reworked setup * generic/tclCompile.c: of eoFramePtr, doesn't need the line * tests/info.test: information, more sensible to have everything on line 1 when eval'ing a pure list. Updated the users of the line information to special case this based on the frame type (i.e. TCL_LOCATION_EVAL_LIST). Added a testcase demonstrating the new behaviour.
* * generic/tclBasic.c (GetCommandSource): added comment withMiguel Sofer2008-07-232-1/+14
| | | | explanation and warning for waintainers.
* make genstubsdas2008-07-222-6/+11
|
* fix TclNRInterpProc stub table declaration (broke 'make checkstubs')das2008-07-221-2/+3
|
* fix line-endingsdas2008-07-229-12294/+12294
|
* Added missing function comments.andreas_kupries2008-07-222-2/+43
|
* fix warning; formattingdas2008-07-221-46/+52
|
* * generic/tclCompile.c: Made the new TclEnterCmdWordIndexandreas_kupries2008-07-223-16/+19
| | | | * generic/tclCompile.h: static, and ansified.
* * generic/tclBasic.c: Ansified the new functions.andreas_kupries2008-07-222-9/+13
|
* * generic/tclBasic.c: Reworked the handling of bytecode literalsandreas_kupries2008-07-226-63/+171
| | | | | | | | | | * generic/tclCompile.c: for #280 to fix the abysmal performance * generic/tclCompile.h: for deep recursion, replaced the linear * generic/tclExecute.c: search through the whole stack with * generic/tclInt.h: another hashtable and simplified the data structure used by the compiler (array instead of hashtable). Incidentially this also fixes the memory leak reported via [Bug 2024937].
* * generic/tclBasic.c: Added numLevels field to CommandFrame,Miguel Sofer2008-07-224-5/+16
| | | | | * generic/tclExecute.c: let GetCommandSource use it. This solves * generic/tclInt.h: [Bug 2017146]. Thx dgp for the analysis.
* fix warning, formatting, whitespacedas2008-07-211-68/+80
|
* * generic/tclBasic.c: Extended the existing TIP #280 system (infoandreas_kupries2008-07-2110-69/+403
| | | | | | | | | | | | * generic/tclCmdAH.c: frame), added the ability to track the * generic/tclCompCmds.c: absolute location of literal procedure * generic/tclCompile.c: arguments, and making this information * generic/tclCompile.h: available to uplevel, eval, and * generic/tclInterp.c: siblings. This allows proper tracking of * generic/tclInt.h: absolute location through custom (Tcl-coded) * generic/tclNamesp.c: control structures based on uplevel, etc. * generic/tclProc.c: * tests/info.test:
* fix [2021443] inconsistant "wrong # args" messages (follow-up)nijtmans2008-07-219-23/+30
|
* formatting, whitespacedas2008-07-211-18/+21
|
* whitespacedas2008-07-211-22/+22
|
* stack-3.1 no longer fails when testsuite is run from Xcodedas2008-07-211-2/+2
|
* Added test for file rename with inode collision on windowspatthoyts2008-07-212-1/+40
|
* fix warnings, formattingdas2008-07-211-18/+17
|
* fix [2021443] inconsistant "wrong # args" messages (follow-up)nijtmans2008-07-2114-86/+86
|
* Resync with recent ?arg ...? normalizationferrieux2008-07-212-4/+4
|
* TIP #304 implementationferrieux2008-07-2118-12300/+12518
|
* use TclEvalObjv instead of Tcl_EvalObjv at selected spotsMiguel Sofer2008-07-212-7/+7
|
* * generic/tcl.decls: Changed the implementation ofMiguel Sofer2008-07-219-75/+106
| | | | | | | | | | * generic/tclBasic.c: [namespace import]; removed * generic/tclDecls.h: Tcl_NRObjProc, replaced with * generic/tclExecute.c: Tcl_NRCmdSwap (proposed public * generic/tclInt.h: NRE API). This should fix * generic/tclNRE.h: [Bug 582506]. * generic/tclNamesp.c: * generic/tclStubInit.c:
* Inode numbers on Windows are not unique so avoid the inode check on this ↵patthoyts2008-07-212-5/+11
| | | | platform [Bug 2015723]
* ChangeLog fixMiguel Sofer2008-07-211-1/+1
|
* fix uninited and unused var warningsMiguel Sofer2008-07-211-3/+2
|
* * generic/tclBasic.c: NRE: enabled calling NR commandsMiguel Sofer2008-07-217-254/+373
| | | | | | | | * generic/tclExecute.c: from the callbacks. Completely * generic/tclInt.h: redone tailcall implementation * generic/tclNRE.h: using the new feature. * generic/tclProc.c: * tests/NRE.test:
* add cleanup to fix subsequent test failures with -singleproc 1das2008-07-201-14/+36
|
* * tests/fileName.test: Repaired the failing test fileName-15.7Kevin B Kenny2008-07-202-2/+7
| | | | from dkf's commit earlier today.
* Fix [Bug 2008248] and make dict->list->dict round trip efficient to boot.dkf2008-07-203-12/+63
|
* Reduce obscurity of tests by eliminating many [catch]es through use of tcltest2dkf2008-07-202-624/+556
|
* Finish cleaning up this file (move cleanup actions out of test bodies, etc.)dkf2008-07-201-96/+124
|