summaryrefslogtreecommitdiffstats
path: root/generic/tclOOMethod.c
Commit message (Collapse)AuthorAgeFilesLines
* Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ↵jan.nijtmans2016-07-081-1/+1
| | | | in many places where possible.
* Simplify all the Tcl_NRPostProc declarations.dgp2016-07-061-4/+2
|
* Reduce to minimum set of TclResetRewriteEnsemble() calls.dgp2016-05-261-0/+5
|
* Refactor all iPtr->ensembleRewrite setting code into TclInitRewriteEnsemble()dgp2016-05-251-20/+3
| | | | calls. This likely fixes many weird corner case bugs, and definitly makes future development and maintenance easier.
* Appears that the TclInitRewriteEnsemble() routine was created with an intentdgp2016-05-241-0/+1
| | | to refactor, but never actually got used. Work on continuing that effort.
* explicitly ignore Tcl_PushCallFrame and TclPushStackFrame return value - it ↵Miguel Sofer2015-08-011-4/+1
| | | | is always TCL_OK. Inconsistency found by coverity (CID 1251197)
* Another round of refCount consistancy improvements.jan.nijtmans2015-07-021-6/+6
|
* Remove lines of code made obsolete by earlier changes.dgp2015-06-191-5/+1
|
* [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
|