summaryrefslogtreecommitdiffstats
path: root/generic/tclOOBasic.c
Commit message (Collapse)AuthorAgeFilesLines
* explicitly ignore Tcl_PushCallFrame and TclPushStackFrame return value - it ↵Miguel Sofer2015-08-011-5/+1
| | | | is always TCL_OK. Inconsistency found by coverity (CID 1251197)
* added compilation for [nextto]dkf2014-01-191-4/+16
|
* make function static once more; not needed outside of source filedkf2014-01-071-12/+9
|
* merge main working branchdkf2013-12-301-34/+37
|\
| * Bump TclOO version to 1.0.1dkf2013-09-181-1/+1
| |
| * Don't allocate memory until you know you're going to use it and arrange fordgp2013-08-211-1/+2
| | | | | | it to be freed. Leak!
| * Don't use automatic storage to hold the invocation words of oo::define.dgp2013-08-211-5/+8
| | | | | | That practice doesn't agree with NRE execution.
| * Apply a fix for the bug. Passes the test suite now.bug_3603695dkf2013-02-091-28/+27
| |
* | Working towards a BCCed [next].dkf2012-11-011-7/+5
|/ | | | This version <i>almost</i> works, except for a problem with restoring the context namespace upon return (which produces very strange results!)
* merge trunkdgp2012-08-081-40/+60
|\
| * converting to using Tcl_Obj API for error message generation; part donedkf2012-08-031-40/+60
| |
* | 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-1/+1
|
* * generic/tclOOBasic.c (TclOO_Class_Constructor): [Bug 2023112]: Cutdkf2012-05-201-68/+70
| | | | | 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.
* Implementation of TIP #380dkf2012-03-261-1/+8
|
* Implementation of TIP #381: Call Chain Introspection and Controldkf2011-05-251-11/+109
|
* More generation of error codes (TclOO miscellany).dkf2011-04-041-0/+3
|
* Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-1/+1
| | | 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-12/+7
| | | is (mostly) simpler.
* NRE-enabled destructors! Also more generation of errorcodes.dkf2010-02-051-17/+49
|
* [Bug 2944404] Be careful in case an object deletes itself in its destructor.dkf2010-02-021-3/+6
|
* Make things compile... D'oh!dkf2010-01-281-3/+5
|
* Improvements to destructor handling.dkf2010-01-281-2/+16
| | | | Stop crashes from odd destruction routes.
* [Bug 2903811]: Remove unneeded restrictions on usefully calling thedkf2009-11-271-8/+6
| | | | oo::object->variable method. Leaving it hidden is enough.
* Let [$obj varname x(y)] work. [Bug 2883857]dkf2009-10-221-2/+25
|
* Fix [Bug 2704302]dkf2009-03-241-14/+5
|
* - eliminate some unnessary type castsnijtmans2009-02-101-2/+2
| | | | | - some internal const decorations - spacing
* TIP #336 IMPLEMENTATIONdgp2008-12-021-4/+4
| | | | | | | | | | | | | | | | | | * generic/tcl.decls: New routines Tcl_(Get|Set)ErrorLine. * generic/tcl.h: Dropped default access to interp->errorLine. * generic/tclCmdAH.c: Restore it with -DUSE_INTERP_ERRORLINE. * generic/tclCmdMZ.c: Updated callers. * generic/tclDictObj.c: * generic/tclIOUtil.c: * generic/tclNamesp.c: * generic/tclOOBasic.c: * generic/tclOODefinedCmds.c: * generic/tclOOMethod.c: * generic/tclProc.c: * generic/tclResult.c: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c:
* remove unused variabledkf2008-11-011-2/+1
|
* Fix [Bug 2200824] and make class constructor error handling much more robust.dkf2008-10-311-1/+70
|
* Add "const" to many internalnijtmans2008-10-161-2/+2
| | | | | const tables. No functional or API change.
* Clean up result handling, factor out some duplicated code, share objects.dkf2008-10-041-30/+25
|
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-261-3/+3
| | | | | | * doc/object.n: Revise standard oo method [my variable] to * generic/tclOOBasic.c: accept zero variable names. * tests/oo.test:
* * generic/tclCmdAH.c: nre-enabling [eval]; eval scripts are nowMiguel Sofer2008-09-011-5/+3
| | | | | | | * generic/tclOOBasic.c: bytecompiled. Adapted recursion limit tests * tests/interp.test: that were relying on eval not being * tests/nre.test: compiled. Part of the [Bug 2017632] project. * tests/unsupported.test:
* Dumped tclNRE.h's contents into tclInt.h. The file is now empty andMiguel Sofer2008-07-311-4/+3
| | | | | | 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
* Completely revamped NRE implementation, with (almost) unchanged API.Miguel Sofer2008-07-291-5/+2
|
* new TclNRAddCallback macro for internal use instead of the publicMiguel Sofer2008-07-181-5/+5
| | | | Tcl_NRAddCallback
* NRE-enable the TclOO constructor system.dkf2008-07-181-25/+58
|
* * generic/tcl.decls: Change the public api prefix fromMiguel Sofer2008-07-181-3/+3
| | | | | | | | | | | | | | | | | * 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-enable oo::object.evaldkf2008-07-181-13/+28
|
* Tinkeringdkf2008-07-171-29/+37
|
* NRE-aware TclOO.dkf2008-07-161-4/+17
|
* Implementation of TIP #257. Incomplete due to missing Win build support.dkf2008-05-311-0/+925