Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial objective-c extern implementation #4350

Merged
merged 7 commits into from Jun 29, 2015

Commits on Jun 19, 2015

  1. Copy the full SHA
    d33d146 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    8292f5f View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    75e54a6 View commit details
    Browse the repository at this point in the history
  4. [objc] Add initial boxing tests, and guard changes on -D objc define

    The tests contained herein will only pass once HaxeFoundation/hxcpp#245
    is accepted. It adds basic tests for the boxing and unboxing operations,
    and it adds some extra code to handle `null`, and a few operators
    correctly.
    
    Also, this makes sure that `@:objc` code is only run when `-D objc` is
    defined - which should make any changes safe against regressions. I've
    also made sure any added code is labeled `objc` properly.
    waneck committed Jun 19, 2015
    Copy the full SHA
    1ea7f48 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2015

  1. [objc] Add casts to field accesses and calls when the resulting type …

    …is objc
    
    Since all objective-c types are boxed into Dynamic as the same type,
    this cast is needed in order to make sure the type is restored.
    This will only kick in if `is_objc_type` is true, which only happens on
    `@:objc` types.
    waneck committed Jun 23, 2015
    Copy the full SHA
    0925832 View commit details
    Browse the repository at this point in the history
  2. [objc] Add support for Objetive-C protocols (interfaces)

    - Use the `id <SomeInterface>` syntax for when extern @:objc interfaces
    are referenced
    - This commit needs the changes made by HaxeFoundation/haxe@3815c00
    - No solution was yet made to check if an optional method was
    implemented by the interface; On Haxe they will have to be included with
    @:noCompletion and @:deprecated to satisfy the typeload
    waneck committed Jun 23, 2015
    Copy the full SHA
    6fce188 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    b7bd47d View commit details
    Browse the repository at this point in the history