Commit Graph

653 Commits

Author SHA1 Message Date
Eloy Durán
5107be14c2 [spec] Don't set output type unti very last moment. 2013-10-25 13:47:01 +02:00
Watson
52fd3f6ac5 specify the optimization level when compile the RubyMotion boot codes or vendor codes 2013-10-23 14:02:32 +09:00
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
Laurent Sansonetti
b192251af0 [OSX] optional #eval support (experimental) 2013-10-21 02:12:49 +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
Eloy Durán
23165c9edf [BS] Make use of our own bin/gen_bridge_metadata during builds. 2013-10-18 17:29:30 +02: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
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
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
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
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
ryo katsuma
6429c09a3c Add context method as describe alias 2013-10-11 00:06:28 +09:00
Eloy Durán
713ec6f38a [xcassets] Don’t delete compiled assets from the app bundle. 2013-10-10 16:58:41 +02:00
Eloy Durán
e22816c000 [xcassets] Compile resources_dirs/*.xcassets into the app bundle. 2013-10-10 16:54:11 +02:00
Laurent Sansonetti
384e2ebc76 add clean:all task which calls 'clean' then deletes ~/Library/RubyMotion/build 2013-10-08 21:47:01 +02:00
Eloy Durán
66cd19211d [Vendor] Always clean all build dirs, including actual object files.
No need to do it differently for different types of vendoring.
2013-10-07 14:31:26 +02:00
Watson
ff5fb294fc [iOS] fix where non-retina iPad simulator is not launch
if string which indicates to launch iOS simulator for iPad that contains single quotation, (like 'iPad')
non-retina iPad simulator is not launch.
2013-10-07 13:17:28 +09:00
mordaroso
ecc764eef4 Fix non-retina iPad simulation in iOS7
Allow to start the simulator with a non-retina iPad with iOS7

merged #133
2013-10-07 13:16:26 +09:00
Watson
e0a68bde8d [iOS] add support to launch the app as 64-bit in simulator
When specified "app.archs['iPhoneSimulator'] << 'x86_64'" and use iOS 7 retina 4 simulator,
we can launch 64-bit simulator.
2013-10-07 11:15:02 +09:00
Watson
bbbe1a75e5 [OSX] fix the wrong default settings of short cut key in menu 2013-09-27 00:23:52 +09:00
Jan Brauer
acca1cdf6c Always copy embedded.mobileprovision
The `embedded.mobileprovision` should always be copied over in the codesign step. Otherwise subsequent builds with a different provisioning profile will build an incorrect app bundle.
Example use case:
```
rake enterprise # Build an adhoc distribution
rake appstore # Build an appstore release
```
2013-09-26 21:38:12 +09:00
Laurent Sansonetti
b0775e32d6 really remove 64-bit build 2013-09-24 22:34:51 +02:00
Laurent Sansonetti
cd2520bcc8 run ranlib separately to avoid a warning when creating a universal static archive 2013-09-24 22:33:38 +02:00
Laurent Sansonetti
7ded32cf3b escape --isysroot argument 2013-09-20 17:35:29 +02:00
Watson
56a1d564ae fix a bug in `motion update' where comparing version will do unexpected behavior using the string
"2.9" > "2.10" #=> true

So, when we released version 2.10,
Prompting message to update that may not be appeared.
2013-09-16 22:43:08 +09:00
Watson
9e5d9a576b fix a bug where "motion device:console" is using same class name with "changelog" command.
http://hipbyte.myjetbrains.com/youtrack/issue/RM-258
2013-09-16 13:23:23 +09:00
Laurent Sansonetti
0d717d6d30 Merge branch 'master' of github.com:lrz/RubyMotion 2013-09-12 13:03:04 +02:00
Laurent Sansonetti
584d55c517 allow users to customize archs 2013-09-12 13:02:52 +02:00
Watson
8690a34289 generate 64bit type in bridgesupport if iOS SDK >= 7.0 2013-09-12 13:34:38 +09:00
Laurent Sansonetti
9c5f812a77 dup the option hash as we are deleting stuff from it and might have to reuse it in case we build for a different mode (dev+release) 2013-09-11 22:38:16 +02:00
Laurent Sansonetti
1f88aebb11 ios: in development mode, only build for i386/armv[6-7] for faster builds 2013-09-11 18:28:19 +02:00
Laurent Sansonetti
1742f1625b more arm64 support 2013-09-11 18:08:45 +02:00
Laurent Sansonetti
ca412676cf no longer need llc 2013-09-09 00:03:35 +02:00