summaryrefslogtreecommitdiffstats
path: root/generic/tclOOMethod.c
Commit message (Collapse)AuthorAgeFilesLines
* * 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]
* * 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:
* Plug method-related memory leaks pointed out by Miguel.dkf2008-05-311-2/+2
|
* Implementation of TIP #257. Incomplete due to missing Win build support.dkf2008-05-311-0/+1425