summaryrefslogtreecommitdiffstats
path: root/generic/tclOO.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate some unneeded usages of Tcl_SetResult, Tcl_AddObjErrorInfojan.nijtmans2013-01-251-1/+1
| | | Fix "make test-packages" on cygwin
* 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
|
* Expose function to efficiently return current name of an object.dkf2009-07-191-2/+10
|
* Reorganize method cache handling a bit to better support itcl nasty cases.dkf2009-07-121-22/+38
| | | | [Bug 1895546]
* Fix [Bug 2414858].dkf2009-05-081-1/+2
|
* Missed a spot.dkf2009-05-051-2/+4
|
* Stop deletion of support namespaces leading to a potential crash.dkf2009-05-041-10/+58
|
* Fix [Bug 2481109]dkf2009-01-061-3/+5
|
* Fix [Bug 2200824] and make class constructor error handling much more robust.dkf2008-10-311-6/+12
|
* Implementation of TIP #320.#320.#320.dkf2008-09-231-2/+20
|
* Improve the semantics of C-implemented destructors slightly.dkf2008-09-011-18/+31
|
* Fix performance bug introduced by fix of [Bug 2037727]dkf2008-08-201-1/+9
|
* * generic/tclOO.c: Revised TclOO's check for an interpdgp2008-08-061-2/+2
| | | | | | | | | | 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].
* new TclNRAddCallback macro for internal use instead of the publicMiguel Sofer2008-07-181-4/+4
| | | | Tcl_NRAddCallback
* NRE-enable the TclOO constructor system.dkf2008-07-181-11/+140
|
* * generic/tcl.decls: Change the public api prefix fromMiguel Sofer2008-07-181-8/+8
| | | | | | | | | | | | | | | | | * generic/tcl.h: TclNR_foo to Tcl_NRfoo * generic/tclBasic.c: * generic/tclDecls.h: * generic/tclDictObj.c: * generic/tclExecute.c: * generic/tclInterp.c: * generic/tclNRE.h: * generic/tclNamesp.c: * generic/tclOO.c: * generic/tclOOBasic.c: * generic/tclOOCall.c: * generic/tclOOMethod.c: * generic/tclProc.c: * generic/tclStubInit.c:
* NRE-aware TclOO.dkf2008-07-161-10/+126
|
* Make [next] work as described in TIP. [Bug 1998244]dkf2008-06-191-6/+15
|
* * generic/tclOO.c: use TclOOStubs hooks field to retrievedas2008-06-121-3/+3
| | | | | | | * generic/tclOODecls.h: TclOOIntStubs pointer. [Bug 1980953] * generic/tclOOIntDecls.h: * generic/tclOOStubInit.c: * generic/tclOOStubLib.c:
* * generic/tclOO.c (ReleaseClassContents): Fix the one remainingKevin B Kenny2008-06-021-1/+5
| | | | | | | valgrind complaint about oo.test, caused by failing to protect the Object as well as the Class corresponding to a subclass being deleted and hence getting a freed-memory read when attempting to delete the class command. [Bug 1981001]
* * generic/tclOOStubLib.c: ensure use of tcl stubs; include indas2008-05-311-5/+6
| | | | | | | | | | | | | | * unix/Makefile.in: stub lib; disable broken tclOO genstubs * generic/tclOO.c: make tclOO stubs tables 'static const' * generic/tclOODecls.h: and stub table pointers MODULE_SCOPE * generic/tclOOIntDecls.h: (change generated files manually * generic/tclOOStubInit.c: pending genstubs support for tclOO). * generic/tclOOStubLib.c: * generic/tclOO.c: fix warnings for 'int<->ptr conversion' * generic/tclOOCall.c: and 'signed vs unsigned comparison'. * generic/tclOOMethod.c: