[MacRuby] #661: [NSUndoManager um.prepareWithInvocationTarget:] is broken
#661: [NSUndoManager um.prepareWithInvocationTarget:] is broken -----------------------------------+---------------------------------------- Reporter: lsansonetti@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.6 Component: MacRuby | Keywords: -----------------------------------+---------------------------------------- Looks like NSUndoManager's proxy functionality is broken with trunk. This used to work before, unfortunately since the spec got tagged we did not see the regression. Here is a reduction from the spec: {{{ framework 'Foundation' um = NSUndoManager.new p um.object_id $ary = [] class Foo def foo $ary << 42 end end o = Foo.new p o.object_id um.prepareWithInvocationTarget(o).foo p $ary um.undo p $ary }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/661> MacRuby <http://macruby.org/>
#661: [NSUndoManager um.prepareWithInvocationTarget:] is broken -----------------------------------+---------------------------------------- Reporter: lsansonetti@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.6 Component: MacRuby | Keywords: -----------------------------------+---------------------------------------- Comment(by lsansonetti@…): Thibault found that the regression was introduced by r3934. -- Ticket URL: <http://www.macruby.org/trac/ticket/661#comment:1> MacRuby <http://macruby.org/>
#661: [NSUndoManager um.prepareWithInvocationTarget:] is broken -----------------------------------+---------------------------------------- Reporter: lsansonetti@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.6 Component: MacRuby | Keywords: -----------------------------------+---------------------------------------- Comment(by martinlagardette@…): Regression appeared with r3934 -- Ticket URL: <http://www.macruby.org/trac/ticket/661#comment:2> MacRuby <http://macruby.org/>
#661: [NSUndoManager um.prepareWithInvocationTarget:] is broken -----------------------------------+---------------------------------------- Reporter: lsansonetti@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.6 Component: MacRuby | Keywords: -----------------------------------+---------------------------------------- Comment(by martinlagardette@…): Oops, for some reason your comment was not displayed before I posted mine, even though that was 10 hours ago... mmmh. Or maybe I just didn't see it. Anyway, we really need a way to delete trac comments :D -- Ticket URL: <http://www.macruby.org/trac/ticket/661#comment:3> MacRuby <http://macruby.org/>
#661: [NSUndoManager um.prepareWithInvocationTarget:] is broken -----------------------------------+---------------------------------------- Reporter: lsansonetti@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.6 Component: MacRuby | Resolution: fixed Keywords: | -----------------------------------+---------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed Comment: Fixed in r3953. -- Ticket URL: <http://www.macruby.org/trac/ticket/661#comment:4> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby