summaryrefslogtreecommitdiffstats
path: root/generic/tclOO.c
Commit message (Collapse)AuthorAgeFilesLines
* 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. bug_75b8433707dkf2014-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!)
* | yet another small introspector: [self]dkf2012-10-191-2/+4
| |
* | merge trunkdgp2012-08-081-30/+50
|\ \
| * | converting to using Tcl_Obj API for error message generation; part donedkf2012-08-031-22/+26
| | |
| * | import small refactoring from TclOO package codebasedkf2012-07-311-8/+24
| | |
* | | Update TclOO package to 0.7, correct copyright dates.dkf2012-07-121-1/+1
|/ /
* | Factor out a number of common patterns of use of Tcl_DStringAppend.dkf2012-07-031-3/+3
| |
* | * generic/tclOOBasic.c (TclOO_Class_Constructor): [Bug 2023112]: Cutdkf2012-05-201-39/+29
| | | | | | | | | | the amount of hackiness in class constructors, and refactor some of the error message handling from [oo::define] to be saner in the face of odd happenings.
* | Fix [Bug 2712377]: [info vars] and object declared variablesdkf2012-04-091-1/+0
| |
* | Fix [Bug 3514761] and related ensemble/construction problems.dkf2012-04-041-0/+23
| |
* | gcc warning: unused but set variablejan.nijtmans2012-03-271-2/+1
| |
* | Implementation of TIP #397dkf2012-03-271-35/+115
| |
* | Implementation of TIP #380dkf2012-03-261-134/+252
| |
* | * generic/tclOO.c (Tcl_CopyObjectInstance): [Bug 3474460]: Whendkf2012-01-251-1/+19
| | | | | | | | copying an object, make sure that the configuration of the variable resolver is also duplicated.
* | Ensure that TclOO is properly found by all the various package mechanisms (bydkf2011-07-261-0/+1
| | | | | | adding a dummy ifneeded script) and not just some of them.
* | Implementation of TIP #381: Call Chain Introspection and Controldkf2011-05-251-0/+2
| |
* | More generation of error codes (TclOO miscellany).dkf2011-04-041-0/+16
| |
* | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-46/+38
| | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless.
* | Reorganization of call context reference count management so that codedkf2011-03-011-16/+5
| | | | | | is (mostly) simpler.
* | [Patch 2961556]: Change TclOO to use the same style of function typedefs asdkf2010-03-051-3/+3
| | | | | | | | Tcl, as this is about the last chance to get this right.
* | Code Audit results:dkf2010-03-051-3/+2
| | | | | | | | | | | | | | | | * use do { ... } while (0) in macros * avoid shadowing one local variable with another * use clearer 'foo.bar++;' instead of '++foo.bar;' where result not required (i.e., semantically equivalent) * follow Engineering Manual rules on spacing and declarations
* | Fix [Bug 2962664] by forcing oo::object deletion on oo::class deletion.dkf2010-03-041-6/+24
| |
* | reverted earlier rename from tcl*Stubs tonijtmans2010-02-151-3/+3
| | | | | | | | | | | | | | | | tcl*ConstStubs, it's not necessary at all. tclEnsemble.c: Fix signed-unsigned mismatch make tclWinProcs "const" Add first part of mslu support, See [Feature Request #2819611]
* | Fix [Bug 2950259] so that deleting an object by killing its namespace willdkf2010-02-151-2/+40
| | | | | | | | reliably call the object's destructor.
* | [Bug 2949397]: Prevent destructors from running on the two core class objectsdkf2010-02-111-2/+9
| | | | | | | | when the whole interpreter is being destroyed.
* | Follow-up to earlier commit today:nijtmans2010-02-051-3/+3
| | | | | | | | | | | | Eliminate the need for an extra Stubs Pointer for adressing a static stub table: Just change the exported table from static to MODULE_SCOPE.
* | Chisel away at reducing the cost of recent changes.dkf2010-02-021-59/+55
| |
* | Make things compile... D'oh!dkf2010-01-281-2/+2
| |
* | Improvements to destructor handling.dkf2010-01-281-15/+72
| | | | | | | | Stop crashes from odd destruction routes.
* | Ensure that destroying an object in a constructor doesn't crash. [Bug 2903011]dkf2009-11-241-4/+44
| |
* | Eliminate various gcc warnings (in -Wextra mode)nijtmans2009-11-181-3/+3
| |