Artifacts Associated With Ticket 2017165
Ticket change [dbc13cdb34] (rid 108016) by msofer on 2008-07-13 09:56:41:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
I will need your assistance in enabling the NRE functionality for TclOO evaluations (method calls, forwarding, ...)
- foundin initialized to: "obsolete: 8.6a1"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "msofer"
- subsystem initialized to: "35. TclOO Package"
- title initialized to: "TclOO is not NRE-enabled"
- type initialized to: "Bug"
Ticket change [0993477751] (rid 113682) by dkf on 2008-07-13 18:00:55:
- icomment:
Logged In: YES user_id=79902 Originator: NO Just a general note here: I expect that this will eventually force the divergence of TclOO-as-extension (deliberately kept as targetting 8.5 for now) and TclOO-in-Tcl (deliberately focussed on 8.6 and later). I *believe* the hooks are in there to allow this to be done gracefully, with extensions compiled against TclOO 0.5 (external) able to still work when loaded into the 8.6 version even after this is done (can just bump the method type structure version number). Now the matter of the general plan for how to do this. Two parts really I believe. 1) Make the core of TclOO support NRE methods 2) Make NRE-enabled method implementations (not all method impls need this) Can't tackle 2 until 1 is done. Need to examine how NRE works first.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [1eb5487c34] (rid 91022) by msofer on 2008-07-13 23:26:33:
- icomment:
Logged In: YES user_id=148712 Originator: YES I believe (1) is not needed: TclOO already "supports" NRE methods, in the sense that they should run properly without TclOO ever noticing that they're NRE enabled. What is required is step (2): teaching TclOO to evict the C stack while the methods are running.
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [9c24e3abe6] (rid 111232) by dkf on 2008-07-14 01:39:26:
- icomment:
Logged In: YES user_id=79902 Originator: NO Umm, no. TclOO currently uses a fair bit of C-stack allocated space to store temporary data that needs to be acted on both before and after a method body has run. Because of that, I believe that TclOO needs (1) more than (2). Once that's done, it should be possible to allow third-party NRE-aware method implementations.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [b48ca1d0d6] (rid 125057) by msofer on 2008-07-14 01:45:07:
- icomment:
Logged In: YES user_id=148712 Originator: YES I may misunderstand what you mean by (1); but TclOO runs nicely now, even when the methods are procs (ie, NRE enabled)
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [5111c6861d] (rid 126077) by dkf on 2008-07-18 20:17:09:
- icomment:
Logged In: YES user_id=79902 Originator: NO everything done now except for constructors and destructors Constructors are tricky. They need a bit more thought. Destructors are much trickier. They currently run in a command delete trace, so probably can't be NRE-enabled at all.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [9e2e6361d6] (rid 96435) by dkf on 2008-07-19 03:36:05:
- closedate changed to: "2008-07-18T20:36:05"
- closer changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 Originator: NO Constructors done; giving up on destructors.
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"