summaryrefslogtreecommitdiffstats
path: root/generic/tclOOBasic.c
Commit message (Collapse)AuthorAgeFilesLines
* More (internal) usage of TclGetString() and TclGetStringFromObj() macro'sjan.nijtmans2023-03-271-3/+3
|
* Add (internal) TclNewUIntObj(), and use it to fix TCL_LINK_WIDE_UINT for big ↵jan.nijtmans2022-11-111-1/+1
| | | | (>= 2^63) integers. With testcase
* Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All ↵jan.nijtmans2020-12-081-1/+1
| | | | C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet
* Eliminate many usages of Tcl_NewObj (-> TclNewObj) and Tcl_NewIntObj (-> ↵jan.nijtmans2020-09-171-1/+1
| | | | TclNewIntObj or Tcl_NewWideIntObj)
* More usage of TclNewIntObj() macrojan.nijtmans2020-08-131-1/+1
|
* Unused arguments in the OO source code files.dgp2020-03-071-26/+13
|
* Let's try a real C++ build with Travis on Linuxjan.nijtmans2019-08-301-13/+26
|\
* \ Merge tip-548jan.nijtmans2019-08-151-1/+1
|\ \ | |/
| * Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated ↵jan.nijtmans2019-07-171-2/+2
| | | | | | | | in C++ (removed in C++17, even), and essentially does nothing with most modern compilers.
* | Merge 8.7, and continue implementation. Almost donejan.nijtmans2019-07-101-15/+15
|/
* Add better error handling and make the delegation work with cloning.dkf2018-06-271-2/+12
|
* Make the delegates work by moving their creation into C.dkf2018-06-231-3/+19
|
* Correct results from unknown method handler.dkf2018-05-131-1/+25
|
* More efficient way of getting array element names; why search when direct ↵dkf2018-05-071-14/+4
| | | | lookup is possible?
* Make the 'varname' method know about private variables.dkf2018-05-071-0/+53
|
* Private methods seem to be working...dkf2018-05-051-1/+2
|
* TclOO: Remove unneeded name manipulation from TclOOCopyObjectCmd.pooryorick2017-12-261-13/+0
|
* Rebase for final implementation workdkf2017-06-221-5/+27
|
* 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.dkf2013-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
|