Permalink
Commits on Apr 3, 2008
  1. * Version 1.2.0

    * Keep order of properties.
    * Move super call for mark/free in the generated code
      to the top of the method.
    committed Apr 3, 2008
Commits on Mar 31, 2008
  1. Fix bug in #arity due to a misbehaviour in facets/orderedhash

    where OrderedHash#include? does not work like #has_key? which
    is the case with class Hash.
    committed Mar 31, 2008
Commits on Mar 26, 2008
  1. Add test.

    committed Mar 26, 2008
  2. * Finish Cplus2Ruby.startup -> Cplus2Ruby.commit renames.

    * Fix ordering of entities.
    * Release version 1.1.0.
    committed Mar 26, 2008
Commits on Mar 25, 2008
Commits on Mar 16, 2008
Commits on Mar 15, 2008
  1. Work around a bug in Dictionary#all? of facets/dictionary, which

    passed only one argument instead of the key *and* value. This bug
    only occurs in Ruby 1.9. Cplus2Ruby now works with Ruby 1.9!
    committed Mar 15, 2008
Commits on Mar 14, 2008
  1. Minor cleanup.

    committed Mar 14, 2008
  2. Enhance README and example.

    committed Mar 14, 2008
  3. Implement method stubs. A method stub is a C++ method that

    calls the Ruby method of the same name when it is called.
    This makes it easy to provide callbacks in Ruby and call
    them directly from the C++ side (via this stub method).
    
    You can define them either using the :stub => true as in:
    
      method :fire, {:arg1 => 'int'}, {:arg2 => 'float}, nil, :stub => true
    
    Or using the stub_method directive:
    
      stub_method :fire, {:arg1 => 'int'}, {:arg2 => 'float}
    committed Mar 14, 2008
  4. add setting :default_body_when_nil which allows to implement

    abstract methods easily.
    committed Mar 14, 2008
Commits on Mar 13, 2008
  1. * Add static_method short-cut.

    * Fix bug in handling of mixin and inherited annotations.
    committed Mar 13, 2008
  2. * Enable mixins.

    * Bug fix: No constructor implementation was generated for classes that
      have no attributes.
    * Do not use modifies like "virtual", "static" or "inline" in implementation
      code.
    * Allow class definitions which are not wrapped (cplus2ruby :no_wrap => true).
    * Implement a more advanced ordering of entities using their dependecies.
    committed Mar 13, 2008
Commits on Mar 12, 2008
  1. Add Cplus2Ruby.startup method.

    committed Mar 12, 2008
  2. Remove PrettyOutput. Refactor code to use functional-style

    instead of imperative-style (write_xxx -> gen_xxx).
    committed Mar 12, 2008
  3. Heavy refactoring of Cplus2Ruby using facets annotatations for meta-m…

    …odeling.
    
    The code is now a lot cleaner.
    committed Mar 12, 2008
Commits on Feb 27, 2008
  1. Fix bug where included modules were not correctly added

    to the ancestor chain.
    committed Feb 27, 2008
Commits on Feb 26, 2008
  1. Fix bug in add_method which resulted in a change in the order of

    method arguments. Using an ordered Hash fixes the bug.
    committed Feb 26, 2008
Commits on Feb 21, 2008
  1. Add Readme

    committed Feb 21, 2008
  2. Add example

    committed Feb 21, 2008
  3. fix comment

    committed Feb 21, 2008
Commits on Feb 7, 2008
  1. Alias method_c -> method

    committed Feb 7, 2008
  2. Allow to inherit from Cplus2Ruby::Entity instead

    of including Cplus2Ruby.
    committed Feb 7, 2008
  3. Add settings facility.

    Add "@" to "this->" substitution
    committed Feb 7, 2008
  4. Add Cplus2Ruby.include method.

    Add newlines before and after code when using Cplus2Ruby.<<
    committed Feb 7, 2008
  5. Initial import

    committed Feb 7, 2008