Projects

Ticket #70 (closed defect: wontfix)

Opened 2 years ago

Last modified 6 months ago

Need a RubyCocoa compatible layer

Reported by: lsansonetti@… Owned by: eloy.de.enige@…
Priority: blocker Milestone:
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 2 years ago by lsansonetti@…

  • description modified (diff)

Changed 2 years 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 2 years ago by lsansonetti@…

  • milestone changed from MacRuby 0.3 to MacRuby 0.4

Changed 20 months ago by lsansonetti@…

  • milestone changed from MacRuby 0.4 to MacRuby 1.0

Changed 14 months ago by anonymous

  • milestone MacRuby 1.0 deleted

Milestone MacRuby 1.0 deleted

Changed 6 months ago by lsansonetti@…

  • status changed from new to closed
  • resolution set to wontfix

A RubyCocoa layer is no longer in the plans. Closing.

Note: See TracTickets for help on using tickets.