summaryrefslogtreecommitdiffstats
path: root/generic/tclOOMethod.c
Commit message (Collapse)AuthorAgeFilesLines
* More generation of error codes (TclOO miscellany).dkf2011-04-041-0/+2
| | | FossilOrigin-Name: 08998a4f586f1580b406fb7ede45dccddbeebeb5
* 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. FossilOrigin-Name: 5574bdd262b2672cde48771787370c12854cecf4
* Merge branch inadvertently made.dkf2011-03-051-0/+16
|\ | | | | FossilOrigin-Name: 6005a9d1b728a8fcd538ee80eb498bf830e14586
| * Keep references to resolved object variables so that an unset doesn't leave anydkf2011-03-041-0/+16
| | | | | | | | | | dangling pointers for code to trip over. FossilOrigin-Name: 0c05782b28f1caa36564602437acf675dbcdb242
* | 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). FossilOrigin-Name: c64f310d38b977e7ae26a48bcf8bb8c50e453af7
* Add missing commentdkf2011-01-181-2/+3
| | | FossilOrigin-Name: a07004a06fdffaa60b9b366222bc07425dae2e03
* * 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!) FossilOrigin-Name: f2221b7726a8323caad428bdb9a2934eccea3baa
* Fix [Bug 3105999]; deallocate temporary structure.dkf2010-11-091-4/+11
| | | FossilOrigin-Name: db70277c1a92fef3395bf894646377921d8f083e
* * generic/tclOOMethod.c (ProcedureMethodVarResolver): avoid codemsofer2010-09-261-51/+10
| | | | | | | duplication, let the runtime var resolver call the compiled var resolver. FossilOrigin-Name: 2f076e63b23e4b59cb70d778381611deab66dc7d
* * 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. FossilOrigin-Name: 9dc86adce744657674fe3c8a0dac07f44f47f583
* * 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. FossilOrigin-Name: 2b08d450001dec4fc952370bd7527b8987c81576
* 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. FossilOrigin-Name: 0ccb7b21a9b847a905c64007fa9a710194b59c65
* More tidying up (whitespace, spelling, useless parentheses, useless casts)dkf2010-02-241-2/+2
| | | FossilOrigin-Name: 511d94dd873e4ace6252b896eeb821f03023f00f
* 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 FossilOrigin-Name: 98e1b94811e5566833ed547424b86dd3e7fc9a2d
* Clarify the rules for resolution of what forwarded methods forward to.dkf2009-04-111-2/+16
| | | FossilOrigin-Name: 1c0fc91aa2fc476242f6461f0eac6327351908f5
* 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: FossilOrigin-Name: e01657bdcf2de674c508a72af4619599bab4ef5f
* Remove obsolete debugging macro. [Bug 2124814]dkf2008-09-241-7/+1
| | | FossilOrigin-Name: 75b96474522de4528c10ddd8fe48edc44f2d9ce4
* Implementation of TIP #320.#320.#320.dkf2008-09-231-4/+262
| | | FossilOrigin-Name: 9bc559dfecaf90d35b29ada553d71366642a9017
* Improve the semantics of C-implemented destructors slightly.dkf2008-09-011-1/+11
| | | FossilOrigin-Name: 879ea220fd5c7722445e38216126c4f64dd6da41
* * generic/tclBasic.c: Removed unused var; fixed functionmsofer2008-08-231-2/+2
| | | | | | | | * generic/tclOOInt.h: pointer declarations (why did gcc start * generic/tclOOMethod.c: complaining all of a sudden?) * generic/tclProc.c: FossilOrigin-Name: e7cb67cca4c1b5531fea954018c21afcedeb4ada
* Align variable naming and typing a bit better with tclNamesp.c.dkf2008-08-211-10/+10
| | | FossilOrigin-Name: b23fa711a9fe18d86c41791d445a19a32456f8a1
* Added casts to make MSVC happy and re-enable the debug build.patthoyts2008-08-201-2/+2
| | | FossilOrigin-Name: f78dfdd7d5ec3e58aac0fcbe1a627a05281a2c5b
* Fix performance bug introduced by fix of [Bug 2037727]dkf2008-08-201-10/+19
| | | FossilOrigin-Name: fbf4a7e36a841d285c06a3e40ac393e1115c6e18
* * generic/tclOOMethod.c (PushMethodCallFrame): Added missing checkdgp2008-08-121-3/+6
| | | | | | for bytecode validity. [Bug 2037727] FossilOrigin-Name: ccb470815e5f589b050a5a8fd5cbd3b140f5258d
* (PushMethodCallFrame): fix uninitialized efi name fielddas2008-08-091-1/+2
| | | FossilOrigin-Name: d6b7e738875048cdf4755b4263bc9306cce82b7b
* Completely revamped NRE implementation, with (almost) unchanged API.msofer2008-07-291-3/+16
| | | FossilOrigin-Name: 4c5c243ec39b9eca18031add6602feb4534a6210
* Remove unnecessary hack.dkf2008-07-271-8/+2
| | | FossilOrigin-Name: 697475bbe27a42ea072932f7444845b23859ace7
* * 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*** FossilOrigin-Name: 4f99dac9fd9e8c3cad5772fdaff95f8bc8fd660a
* new TclNRAddCallback macro for internal use instead of the publicmsofer2008-07-181-2/+2
| | | | | | Tcl_NRAddCallback FossilOrigin-Name: 41bf7d9039838529fef6ebd671f8bd57844a6aff
* * generic/tcl.decls: Change the public api prefix frommsofer2008-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: FossilOrigin-Name: 028024f0d323bcbb2bf25aca558315642093fb46
* NRE-aware TclOO.dkf2008-07-161-13/+27
| | | FossilOrigin-Name: a8d83acd188df8a873518f5d731cf8cea8f0c668
* Complete fix of [Bug 1981001]dkf2008-06-011-2/+4
| | | FossilOrigin-Name: 205a10dec255032cdf92742b1cfd120d17726039
* * generic/tclOOMethod.c: Fix a bug where the refcount of a methodkennykb2008-06-011-2/+2
| | | | | | | | was reset if the method was redefined while there was an active invocation. [Bug #1981001] FossilOrigin-Name: d14255cc75282a3a0286102e62d50c442abe782b
* * generic/tclOOStubLib.c: ensure use of tcl stubs; include indas2008-05-311-2/+2
| | | | | | | | | | | | | | | | * 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: FossilOrigin-Name: 7efe478a950202363e8139834344966e364c3088
* Plug method-related memory leaks pointed out by Miguel.dkf2008-05-311-2/+2
| | | FossilOrigin-Name: ce09fe3526e9c0273e634964bdd10c9ae243c4e2
* Implementation of TIP #257. Incomplete due to missing Win build support.dkf2008-05-311-0/+1425
FossilOrigin-Name: e46e1575d392981d674e659a6c6649dc51ecf5dc