[MacRuby-devel] ObjectController binding is dead

Yasu Imao yimao.ml at gmail.com
Tue Dec 14 18:30:24 PST 2010


I filed a ticket and attached a simple app.

I haven't fully explored bindings on my app (I'm still learning), so my findings are limited, I guess.


Best,
Yasu

On 2010/12/15, at 10:12, Laurent Sansonetti wrote:

> Oh sorry, I misunderstood you.
> 
> It would be nice to be able to reproduce your problem, otherwise it will be hard to fix. I will examine the recent commits and do some detective work.
> 
> Laurent
> 
> On Dec 14, 2010, at 3:33 PM, Yasu Imao wrote:
> 
>> Hi Laurent,
>> 
>> OK.  I will file a ticket, but as I wrote, the binding in the simple app DOES work without any problem (I don't know why, though).  Do you want to see it?
>> 
>> Best,
>> Yasu
>> 
>> 
>> On 2010/12/15, at 5:24, Laurent Sansonetti wrote:
>> 
>>> Hi Yasu,
>>> 
>>> That's unfortunate. I checked that our bindings tests still passed before releasing, but maybe the spec suite is not complete.
>>> 
>>> Could you file a ticket and attach your simple app there? I will have a look.
>>> 
>>> As you already found that it works in a previous nightly, it should be fairly easy to locate the change that introduced the regression. And we will make sure this behavior will be added to the test suite.
>>> 
>>> Laurent
>>> 
>>> On Dec 14, 2010, at 9:02 AM, Yasu Imao wrote:
>>> 
>>>> Hi again,
>>>> 
>>>> A little update.  I'm not sure if I was clear enough.  What I meant was NSObjectController bindings.
>>>> 
>>>> Anyway, I just created a very simple app (one text box and one button) to check the object controller binding functionality.  I added an NSObjectController instance to the xib file and bound the text box and the button so that the button is enabled when text is entered.  With this simple app, the binding seems to work on 0.8.  But ones on my app, which I started with 0.7.1 has this issue.
>>>> 
>>>> So, for the time being, I'll stick to the 12/6 nightly.
>>>> 
>>>> Best,
>>>> Yasu
>>>> 
>>>> 
>>>> On 2010/12/15, at 1:39, benjamin Almeida wrote:
>>>> 
>>>>> Hi,
>>>>> 
>>>>> I think I have the same problem:
>>>>> 
>>>>> $ macirb
>>>>> irb(main):001:0> require 'bio'
>>>>> => true
>>>>> irb(main):002:0> Bio::RestrictionEnzyme::SingleStrand.superclass
>>>>> => #<Class:#<NilClass:0x4>>
>>>>> irb(main):006:0> >> Bio::RestrictionEnzyme::SingleStrand.class_eval('superclass')
>>>>> SyntaxError: compile error
>>>>> (irb):6: syntax error, unexpected tRSHFT
>>>>> 
>>>>> $ irb 
>>>>>>> require "bio"
>>>>> => true
>>>>>>> Bio::RestrictionEnzyme::SingleStrand.superclass
>>>>> => Bio::Sequence::NA
>>>>>>> Bio::RestrictionEnzyme::SingleStrand.class_eval('superclass')
>>>>> => Bio::Sequence::NA
>>>>> 
>>>>> .ancestors works as expected
>>>>> 
>>>>> best
>>>>> ben
>>>>> ps: I am new to the list, let me know if this is the wrong place 
>>>>> 
>>>>> On Tue, Dec 14, 2010 at 3:58 PM, Yasu Imao <yimao.ml at gmail.com> wrote:
>>>>> Hi,
>>>>> 
>>>>> Thank you for the hard work on the project.  I installed 0.8 release and found one serious bug (I think).
>>>>> 
>>>>> All the bindings to ObjectControllers are dead.  I checked nightly builds one by one and found that all the bindings work fine until 12/6 nightly and they are dead after 12/7, including 0.8 release.
>>>>> 
>>>>> I'm wondering if this is specific to my environment or to my project.
>>>>> 
>>>>> Best,
>>>>> Yasu
>>>>> _______________________________________________
>>>>> MacRuby-devel mailing list
>>>>> MacRuby-devel at lists.macosforge.org
>>>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>>>> 
>>>>> _______________________________________________
>>>>> MacRuby-devel mailing list
>>>>> MacRuby-devel at lists.macosforge.org
>>>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>>> 
>>>> _______________________________________________
>>>> MacRuby-devel mailing list
>>>> MacRuby-devel at lists.macosforge.org
>>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>> 
>>> _______________________________________________
>>> MacRuby-devel mailing list
>>> MacRuby-devel at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>> 
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list