summaryrefslogtreecommitdiffstats
path: root/generic/tclOO.c
Commit message (Collapse)AuthorAgeFilesLines
* Test for TclOO 1.1.0. Remove some useless type-castsjan.nijtmans2022-07-011-2/+2
|
* Tcl_NewObj() -> TclNewObj()jan.nijtmans2022-01-171-1/+1
|
* Get rid of "register" keyword, forbidden in c++20.jan.nijtmans2020-11-261-6/+6
| | | Fix some more warnings, discovered in c20/c++20 mode
* Many more internal master/slave -> parent/child renamingsjan.nijtmans2020-09-011-1/+1
|
* fix compliation warning, resulting from previous commitjan.nijtmans2019-11-151-1/+1
|
* Add TclOOObjectDestroyed to make logic more explicit. Renamed Deleted() topooryorick2019-11-151-15/+29
| | | Destructing(). No functiontional changes.
* Minor code style cleanup.dkf2019-04-231-57/+110
|
* Fixed memory leak in TclOO.c:ObjectNamespaceDeleted, object mixins anddgp2018-11-021-2/+7
| | | object/class mutation.
* Make fundamental mutation work. MAGICAL MAGIC MAGICS MAGIC. Abracadabra.dkf2018-10-181-40/+69
|
* Further work to improve Object reference accounting in order to plug leaks.pooryorick2018-03-141-17/+27
|
* Audit and correct Object reference counting issues.pooryorick2018-03-131-84/+112
|
* Prevent leaks of the Object structs of oo::object and oo::class.dgp2018-03-111-0/+9
|
* Attempt at providing the missing instance squelcher.dgp2018-03-111-0/+16
|
* Udate Tcl_ObjectDeleted to reflect recent changes.pooryorick2018-02-151-4/+2
|
* Fix syntax error in previous commit.pooryorick2018-02-151-2/+2
|
* Add the check for wrong arguments back to TclOO_Object_Destroy, removepooryorick2018-02-151-1/+3
| | | inadvertant increment of Namespace->refCount.
* Streamline TclOO object cleanup routines.pooryorick2018-02-151-374/+245
|
* Fix for [6bca38d59b], TclOO segmentation fault cleaning up objects that thatpooryorick2018-02-151-55/+73
| | | have mixed themselves into themselves.
* Fix for issue [6cf568a21b]: Tcl_Eval() causes new segfault (TclOO objectpooryorick2018-02-151-27/+33
| | | creation by qualified name).
* Minor refactoring of TclOO object reference count booking during objectpooryorick2018-02-151-8/+8
| | | creation.
* Eliminate some duplicate code in tclOO.c/Tcl_NewObjectInstance().pooryorick2018-02-151-29/+10
|
* Streamline TclOO object cleanup routines.pooryorick2018-02-151-280/+204
|
* Fix segmentation fault in TclOO that was noted in [16fe1b5807]. Updatepooryorick2018-02-141-0/+3073
| | | coroutine and TclOO object creation routines to use TclCreateObjCommandInNs.
* Lift the restriction on command names names that begin with ":".pooryorick2018-02-141-3074/+0
|
* Fix segmentation fault in TclOO that was noted in [16fe1b5807]. Updatepooryorick2017-11-191-16/+21
| | | coroutine and TclOO object creation routines to use TclCreateObjCommandInNs.
* merge 8.6dgp2017-11-081-1/+4
|\
| * TclOO object allocation: Set classPtr to NULL if it wasn't otherwise set.dgp2017-11-081-1/+4
| |
* | Fix bug 3c32a3f8bd, segmentation fault in TclOO.c/ReleaseClassContents()pooryorick2017-11-011-2/+13
| | | | | | for a class mixed into one of its instances.
* | Fix for issue 9fd5c629c1, TclOO - aborts when a trace on command deletionpooryorick2017-10-301-9/+26
| | | | | | deletes the object's namespace.
* | Start of implementation of TIP #470.dkf2017-04-271-0/+1
| |
* | Merge core-8-6-branch: jan.nijtmans2016-07-071-6/+3
|\ \ | |/ | | | | | | | | | | New tests to demo the remaining flaw in ensemble dispatch revisions. Itcl 4 also demonstrated these [bd7f17bce8] Revise ensemble dispatch to call TclNREvalObjv() which supports the TCL_EVAL_INVOKE Simplify all the Tcl_NRPostProc declarations Create and use a utility Tcl_NRPostProc when decr ref count of values is all that is needed Bugfix [5d7ea04580]. Treat .cmd and .ps1 files are executable on Windows
| * Simplify all the Tcl_NRPostProc declarations.dgp2016-07-061-6/+3
| |
* | Tcl_SetVar -> Tcl_SetVar2 and comparable replacements, eliminating functions ↵jan.nijtmans2016-06-291-2/+2
|/ | | | which are deprecated.
* constructor invocation ensemble rewrite shenanigans also fit into the dgp2016-05-261-8/+8
| | | refactored routines.
* Tweaking some comments for clarity.dkf2016-02-051-3/+20
|
* [cf74deb33c] Plug memleaks in class teardown.dgp2016-02-041-22/+17
|
* [593baa032c] Additional fix for the mixinSubs list.dgp2015-12-221-8/+21
|
* [593baa032c] Possible fix (with test) for segfault in superclass teardown.dgp2015-12-221-9/+20
|
* [3d96b7076e] Prevent crashes when destroying an object's class inside a ↵dkf2015-11-211-4/+16
| | | | method call.
* Stop documentation lie about command rename traces and comment lie aboutdgp2015-06-081-1/+1
|\ | | | | what's done with them in TclOO.
* | [9dd1bd7a74] Ensure that [self] returns a sensible value in a destructor ↵dkf2015-05-151-2/+7
| | | | | | | | even when construction didn't complete.
* | Exceptional handling of oo::class has to be consistent throughout.dgp2014-09-081-1/+3
| |
* | [7d52e1101b] oo::object should know that oo::class is a subclass.dkf2014-08-171-0/+1
| |
* | [75b8433707] Revised fix for memleak in oo instance list management.dgp2014-07-191-0/+7
|\ \
| * | [75b8433707] Plug a subtle memory leak in TclOO. dkf2014-07-181-0/+1
|/ / | | | | | | Test suite very unhappy with this. Shoving into a mistake branch until that's sorted.
* | added compilation for [nextto]dkf2014-01-191-1/+2
| |
* | merge main working branchdkf2013-12-301-2/+2
|\ \
| * | Even though TCLOO_PATCHLEVEL is equal to TCLOO_VERSION, using "patchlevel" ↵jan.nijtmans2013-10-111-1/+1
| | | | | | | | | | | | is more appropriate in those two places.
| * | Eliminate some unneeded usages of Tcl_SetResult, Tcl_AddObjErrorInfojan.nijtmans2013-01-251-1/+1
| | | | | | | | | Fix "make test-packages" on cygwin
* | | Working towards a BCCed [next].dkf2012-11-011-4/+5
|/ / | | | | | | This version <i>almost</i> works, except for a problem with restoring the context namespace upon return (which produces very strange results!)