Projects
Home     Blog     Install     New Ticket     View Tickets     Browse Source

Ticket #70 (new defect)

Opened 7 months ago

Last modified 5 weeks ago

Need a RubyCocoa compatible layer

Reported by: lsansonetti@… Owned by: eloy.de.enige@…
Priority: blocker Milestone: MacRuby 1.0
Component: MacRuby Keywords:
Cc:

Description (last modified by lsansonetti@…) (diff)

To preserve backwards compatibility, but also to help developers to migrate their code from RubyCocoa to MacRuby, we need a small layer on top of MacRuby that emulates the RubyCocoa syntax and semantics.

The layer would ship with MacRuby, and would emit warnings on every RubyCocoa-specific expression, to explain the developer how to rewrite it for MacRuby and get rid of the warning.

The warnings would be emitted by default, but we also need a way to disable them (even if -w is passed to the interpreter). Some developers might want to use the layer as is and not port their code immediately.

Change History

Changed 7 months ago by lsansonetti@…

  • description modified (diff)

Changed 7 months ago by lsansonetti@…

One thing to add also is the syntax-sugar layer that was written on top of the Cocoa structures (the oc_types.rb file).

Changed 5 months ago by lsansonetti@…

  • milestone changed from MacRuby 0.3 to MacRuby 0.4

Changed 5 weeks ago by lsansonetti@…

  • milestone changed from MacRuby 0.4 to MacRuby 1.0
Note: See TracTickets for help on using tickets.