summaryrefslogtreecommitdiffstats
path: root/generic/tclOOMethod.c
Commit message (Collapse)AuthorAgeFilesLines
* [3609693] Must strip the internal representation of procedure-like methods inbug_3609693dkf2013-09-091-2/+48
| | | order to ensure that any bound references to instance variables are removed.
* merge trunkdgp2013-08-151-12/+1
|\
| * The fix for [3610404] leads to a simplification in the implementation ofdgp2013-08-151-12/+1
| | | | | | forward methods.
* | merge trunkdgp2013-08-141-0/+2
|\ \ | |/
| * [3610404] Re-resolution of command after enter traces invalidate epoch.dgp2013-08-141-0/+2
| |\ | | | | | | Make sure context is such that correct resolution happens.
| | * merge trunkbug_3610404dgp2013-08-141-4/+4
| | |\ | | |/ | |/|
| | * Use the double-secret iPtr->lookupNsPtr field to get post-enter-tracedgp2013-04-091-0/+1
| | | | | | | | | re-resolutions of commands done in the right context for oo forwards.
* | | merge trunkdgp2013-08-141-4/+4
|\ \ \ | |/ /
| * | Eliminate the union that is no longer needed.dgp2013-08-061-4/+4
| |/
* | Revise TclNREvalObjv so that pre-resolution of the Command by a callerdgp2013-04-081-1/+1
|/ | | | does not force suppression of exception handling. Let those be separable demands. Aim is to bring TclObjInvoke*() into the fold.
* merge core-8-5-branchjan.nijtmans2013-01-311-1/+1
|
* merge trunkdgp2012-08-081-4/+4
|\
| * converting to using Tcl_Obj API for error message generation; part donedkf2012-08-031-4/+4
| |
* | Update TclOO package to 0.7, correct copyright dates.dkf2012-07-121-1/+1
|/
* * generic/tclOOBasic.c (TclOO_Class_Constructor): [Bug 2023112]: Cutdkf2012-05-201-9/+0
| | | | | 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.
* [Bug 3408830]: Use the _right_ fix for [Bug 3400658]!dkf2011-09-161-1/+1
|
* [Bug 3400658]: Correction to forwarded method magic so that Tcl_WrongNumArgsdkf2011-09-101-1/+1
| | | produces the right sort of message.
* More generation of error codes (TclOO miscellany).dkf2011-04-041-0/+2
|
* Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-23/+22
| | | rest of Tcl source code. No ABI change. API change *should* be harmless.
* [Bug 3185009]: Keep references to resolved object variables so that an unset ↵dkf2011-03-051-0/+16
|\ | | | | | | doesn't leave any dangling pointers for code to trip over.
| * [Bug 3185009]: Keep references to resolved object variables so that an unset ↵Bug_3185009dkf2011-03-041-0/+16
| | | | | | | | doesn't leave any dangling pointers for code to trip over.
* | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|/ | | cause more harm than good. Purged them (except in zlib files).
* Add missing commentdkf2011-01-181-2/+3
|
* * generic/tclOOMethod.c (PushMethodCallFrame): [Bug 3001438]: Makedkf2011-01-181-3/+35
| | | | | | | sure that the cmdPtr field of the procPtr is correct and relevant at all times so that [info frame] can report sensible information about a frame after a return to it from a recursive call, instead of probably crashing (depending on what else has overwritten the Tcl stack!)
* Fix [Bug 3105999]; deallocate temporary structure.dkf2010-11-091-4/+11
|
* * generic/tclOOMethod.c (ProcedureMethodVarResolver): avoid codeMiguel Sofer2010-09-261-51/+10
| | | | | duplication, let the runtime var resolver call the compiled var resolver.
* * generic/tclOOMethod.c (ProcedureMethodCompiledVarConnect):hobbs2010-09-221-5/+9
| | | | | | | | | * generic/tclVar.c (TclLookupSimpleVar, CompareVarKeys): * generic/tclPathObj.c (Tcl_FSGetNormalizedPath, Tcl_FSEqualPaths): * generic/tclExecute.c (TclExecuteByteCode): * generic/tclIOUtil.c (TclFSCwdPointerEquals): peephole opt * generic/tclResult.c (TclMergeReturnOptions): use memcmp where applicable as possible speedup on some libc variants.
* * generic/tclOOInfo.c (InfoObjectMethodTypeCmd)dkf2010-03-241-2/+2
| | | | | (InfoClassMethodTypeCmd): Added introspection of method types so that it is possible to find this info out without using errors.
* test that tclOO stubs are present in stub librarynijtmans2010-03-071-5/+5
| | | | | | | | Applied missing part of [Patch 2961556] Change all tclWinProcs signatures to use TCHAR* in stead of WCHAR*. This is meant as preparation to make [Enh 2965056] possible at all.
* More tidying up (whitespace, spelling, useless parentheses, useless casts)dkf2010-02-241-2/+2
|
* Follow-up to [2010-01-29] commit:nijtmans2010-02-051-3/+3
| | | | | | | | | | prevent space within stub table function parameters if the parameter type is a pointer. Minor formatting, and VOID -> void. Change signature of TclNRInterpProcCore, and TclOONewProc(Instance|)MethodEx, indicating that errorProc is a function pointer tclVar.c: fixed two gcc warnings
* Clarify the rules for resolution of what forwarded methods forward to.dkf2009-04-111-2/+16
|
* TIP #336 IMPLEMENTATIONdgp2008-12-021-5/+5
| | | | | | | | | | | | | | | | | | * 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 obsolete debugging macro. [Bug 2124814]dkf2008-09-241-7/+1
|
* Implementation of TIP #320.#320.#320.dkf2008-09-231-4/+262
|
* Improve the semantics of C-implemented destructors slightly.dkf2008-09-011-1/+11
|
* * generic/tclBasic.c: Removed unused var; fixed functionMiguel Sofer2008-08-231-2/+2
| | | | | | * generic/tclOOInt.h: pointer declarations (why did gcc start * generic/tclOOMethod.c: complaining all of a sudden?) * generic/tclProc.c:
* Align variable naming and typing a bit better with tclNamesp.c.dkf2008-08-211-10/+10
|
* Added casts to make MSVC happy and re-enable the debug build.patthoyts2008-08-201-2/+2
|
* Fix performance bug introduced by fix of [Bug 2037727]dkf2008-08-201-10/+19
|
* * generic/tclOOMethod.c (PushMethodCallFrame): Added missing checkdgp2008-08-121-3/+6
| | | | for bytecode validity. [Bug 2037727]
* (PushMethodCallFrame): fix uninitialized efi name fielddas2008-08-091-1/+2
|
* Completely revamped NRE implementation, with (almost) unchanged API.Miguel Sofer2008-07-291-3/+16
|
* Remove unnecessary hack.dkf2008-07-271-8/+2
|
* * doc/Object.3 CONSTified 3 functions usingnijtmans2008-07-271-2/+2
| | | | | | | | | | | | | | | * 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***
* new TclNRAddCallback macro for internal use instead of the publicMiguel Sofer2008-07-181-2/+2
| | | | Tcl_NRAddCallback
* * 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-aware TclOO.dkf2008-07-161-13/+27
|
* Complete fix of [Bug 1981001]dkf2008-06-011-2/+4
|
* * generic/tclOOMethod.c: Fix a bug where the refcount of a methodKevin B Kenny2008-06-011-2/+2
| | | | | | was reset if the method was redefined while there was an active invocation. [Bug #1981001]