Commit Graph

1657 Commits

Author SHA1 Message Date
Watson
ac89cf6b4b fix where Boxed#new doesn't work for GLKKit structure.
http://hipbyte.myjetbrains.com/youtrack/issue/RM-293

GLKKit structures are declared as the following.
If use union type when generate bridgesupport,
it is not output the definition of a data structure using <struct> tag into bridgesupport file.
So, Boxed#new does not work for these structure.

    #if defined(__STRICT_ANSI__)
    struct _GLKMatrix4
    {
        float m[16];
    } __attribute__((aligned(16)));
    typedef struct _GLKMatrix4 GLKMatrix4;
    #else
    union _GLKMatrix4
    {
        struct
        {
            float m00, m01, m02, m03;
            float m10, m11, m12, m13;
            float m20, m21, m22, m23;
            float m30, m31, m32, m33;
        };
        float m[16];
    } __attribute__((aligned(16)));
    typedef union _GLKMatrix4 GLKMatrix4;
    #endif
2013-10-22 13:22:52 +09:00
Watson
545b2c8a6f fix generating bridgesupport where it was forgotten to pass the '--64-bit' for iOS 7 2013-10-22 11:32:22 +09:00
Laurent Sansonetti
f7b442d4d0 sync 2013-10-21 21:30:55 +02:00
Watson
0d0a6a1bb1 sync 2013-10-21 14:56:27 +09:00
Watson
eb18f0442c add spec for RM-290 2013-10-21 14:46:18 +09:00
Laurent Sansonetti
d637bbf906 sync 2013-10-21 02:19:55 +02:00
Laurent Sansonetti
b192251af0 [OSX] optional #eval support (experimental) 2013-10-21 02:12:49 +02:00
Laurent Sansonetti
86055cac09 comment CoreMidi spec as it currently fails to run 2013-10-20 18:17:37 +02:00
Laurent Sansonetti
a2ee297ac0 introduce the EVALUATION env variable to build an evaluation version of RubyMotion (iPhoneSimulator only, iPhoneOS and MacOSX not copied), usage: $ rake package EVALUATION=1 2013-10-20 18:17:37 +02:00
Laurent Sansonetti
5a6924c933 print an error in case we try to build for a certain RubyMotion platform that isn't supported (data directory doesn't exist) 2013-10-20 18:17:37 +02:00
Watson
9a8847238e should not install gen_bridge_metadata as public
If add gen_bridge_metadata into public_binaries variable,
it will replace /usr/bin/gen_bridge_metadata.

However, our gen_bridge_metadata loads '/usr/bin/gen_bridge_metadata' in f4dd2a28bf/bin/gen_bridge_metadata (L5),
so, it will causes "tack level too deep (SystemStackError)" error when run gen_bridge_metadata.
2013-10-19 13:53:37 +09:00
Eloy Durán
f4944427c4 [NEWS] Update for blocks & BridgeSupport.
Related to http://hipbyte.myjetbrains.com/youtrack/issue/RM-288.
2013-10-18 17:58:27 +02:00
Eloy Durán
4a4dba265e Merge branch 'fix-gen_bridge_metadata' 2013-10-18 17:53:58 +02:00
Eloy Durán
762c6226d3 [BS] sync with merged call-objc-blocks into master. 2013-10-18 17:52:51 +02:00
Eloy Durán
4896f66c85 [BS] Install custom gen_bridge_metadata. 2013-10-18 17:37:05 +02:00
Eloy Durán
de3409942c [vm] sync with call-objc-blocks branch. 2013-10-18 17:30:02 +02:00
Eloy Durán
23165c9edf [BS] Make use of our own bin/gen_bridge_metadata during builds. 2013-10-18 17:29:30 +02:00
Eloy Durán
67c2d173b4 [BS] Make gen_bridge_metadata dump data for blocks that yield blocks. 2013-10-18 17:28:27 +02:00
Eloy Durán
f4dd2a28bf [BS] Add our own bin/gen_bridge_metadata which can monkey-patch original. 2013-10-18 17:27:51 +02:00
Watson
bb09fa9e0c add line in NEWS 2013-10-18 09:40:00 +09:00
Watson
95c094df9a add support to compile the Objective-C source codes which uses Modules syntax in `app.vendor_project' with Xcode 5.
http://clang.llvm.org/docs/Modules.html

This patch supports support Objective-C Modules when compile ObjC source codes without xcodeproj file, like
https://github.com/Watson1978/RubyMotionKaigi2013
2013-10-18 09:39:38 +09:00
Watson
e8be58a047 sync 2013-10-17 12:18:17 +09:00
Laurent Sansonetti
99f8884999 2.12 2013-10-15 13:49:10 +02:00
Watson
ba2670895d just remove the path which ends with `.lproj'
This patch will
 - remove "./resources/en.lproj" path
 - accept "./resources/en.lproj/MainStoryboard.storyboardc"

If we accepted "./resources/en.lproj",
it will allow to copy all the files in "./resources/en.lproj" directory.
However, we need to reject "./resources/en.lproj/MainStoryboard.storyboard".

So, we just remove "./resources/en.lproj" path.
2013-10-15 09:58:28 +09:00
Watson
d4f5633f53 add line in NEWS 2013-10-15 00:46:50 +09:00
Watson
e0183179c0 fix the link error of "ld: framework not found IOKit" with "rake device" if use "app.framework_search_paths"
http://hipbyte.myjetbrains.com/youtrack/issue/RM-283
2013-10-15 00:38:11 +09:00
Eloy Durán
d7e7104db4 Merge pull request #9 from lrz/xcassets
Support for Xcode asset catalogs.
2013-10-14 07:27:40 -07:00
Eloy Durán
f93f6a9eab [NEWS] Add entry about asset catalog support. 2013-10-14 16:26:44 +02:00
Laurent Sansonetti
cfb2d71493 sync 2013-10-14 16:16:14 +02:00
Laurent Sansonetti
6026906b61 fix the test for nil block 2013-10-14 16:13:18 +02:00
Eloy Durán
94e855208e [xcassets] Fix comment. 2013-10-14 16:01:42 +02:00
Eloy Durán
6d8488a674 [xcassets] All files that are to be preserved are in preserve_resources. 2013-10-14 15:59:24 +02:00
Eloy Durán
cd9b1a3404 [xcassets] Show compile info to user when not in verbose mode. 2013-10-14 15:56:11 +02:00
Eloy Durán
783f6b8887 [xcassets] Be sure to remove whitespace from Info.plist icon names. 2013-10-14 15:50:27 +02:00
Eloy Durán
12972f9271 [xcassets] Extract actool warnings and propagate to the user. 2013-10-14 15:49:57 +02:00
Eloy Durán
105d98c3d8 [xcassets] Simplify actool output parsing and only print in verbose mode. 2013-10-14 15:17:19 +02:00
Eloy Durán
d22f82ebb0 [xcassets] Move iOS/OS X specific behavior back to configs. 2013-10-14 13:52:32 +02:00
Eloy Durán
f84096688a [xcassets] Use output of actool to determine compiled assets to preserve. 2013-10-11 20:34:40 +02:00
Eloy Durán
3be82b061b [xcassets] Use actool’s Info.plist output instead of reading JSON. 2013-10-11 20:20:30 +02:00
Eloy Durán
2490d6c0a2 [xcassets] No longer copy icons ourselves on iOS. 2013-10-11 19:09:20 +02:00
Eloy Durán
dc30e06639 [xcassets] Fix preservation of app icons on iOS. 2013-10-11 18:55:21 +02:00
Eloy Durán
369c15e0e3 [xcassets] Make asset compilation and app icon config work on OS X. 2013-10-11 18:50:56 +02:00
Eloy Durán
bbae733e02 [xcassets] Fail build if the JSON gem is required and unavailable. 2013-10-11 16:37:22 +02:00
Eloy Durán
dcc680b789 [xcassets] Use App.warn to warn about multiple app icon sets. 2013-10-11 15:23:53 +02:00
Laurent Sansonetti
8d4079358b sync 2013-10-11 13:40:37 +02:00
Laurent Sansonetti
11a9005030 sync 2013-10-10 20:35:00 +02:00
Eloy Durán
3549438dd6 Test branch notifications in HipChat commit. 2013-10-10 20:04:05 +02:00
Eloy Durán
b331fab440 [xcassets] Copy and configure the app icons for iOS. 2013-10-10 19:57:48 +02:00
Eloy Durán
5678c6c88f [xcassets] Do not include uncompiled asset bundles in the product. 2013-10-10 19:57:41 +02:00
Eloy Durán
fb53d3e2f0 [xcassets] actool uses path info from bundle unless full build path is specified. 2013-10-10 17:10:32 +02:00