Commit Graph

477 Commits

Author SHA1 Message Date
Watson
05d8aecc9f fix RM-305
http://hipbyte.myjetbrains.com/youtrack/issue/RM-305
2013-11-02 23:00:27 +09:00
Laurent Sansonetti
cf145c8df4 add a hidden variable to force symbol strip (ex. rake device __strip__=1) 2013-11-01 17:50:15 +01:00
Eloy Durán
3207c10cfb [profiler] Configure Instruments to optionally launch specific template. 2013-11-01 14:58:22 +01:00
Eloy Durán
600f727117 [profiler] Replace templates list with hardcoded lists. 2013-11-01 14:58:22 +01:00
Eloy Durán
40e9e8c2e1 [profiler] Add tasks to list available instruments templates. 2013-11-01 14:58:22 +01:00
Eloy Durán
f81235d07b [profiler] Make the OS X shortcut task use development mode. 2013-11-01 14:58:22 +01:00
Eloy Durán
ca1aee4a81 [profiler] Inherit ENV from parent process. 2013-10-31 22:46:27 +01:00
Eloy Durán
d7cad5493d [profiler] Add shortcut for OS X profile:release. 2013-10-31 22:12:44 +01:00
Eloy Durán
54f3332c76 [profiler] Add OS X tasks for development and release mode. 2013-10-31 22:12:44 +01:00
Laurent Sansonetti
b0dabd8291 add 'rake profile' task as a shortcut to 'rake profile:simulator' 2013-10-31 22:08:44 +01:00
Eloy Durán
37b1c58279 [profiler] Properly describe OS X rake task. 2013-10-31 18:07:40 +01:00
Eloy Durán
2b0143e194 Cleanup. 2013-10-31 18:06:45 +01:00
Eloy Durán
19e9bddef3 [profiler] Pass arguments to app on launch. 2013-10-31 17:50:47 +01:00
Eloy Durán
61e9a65534 [profiler] Refactor rake tasks into the Config and Builder classes. 2013-10-31 17:46:22 +01:00
Eloy Durán
7a590a3113 [iOS config] UIDeviceFamily Info.plist entry should be integer. 2013-10-31 16:28:56 +01:00
Eloy Durán
5a16a52ad2 [profiler] Add task to start profiling on a iOS device. 2013-10-31 16:01:16 +01:00
Laurent Sansonetti
a3d1aed7b5 Merge branch 'master' into profiler 2013-10-31 14:16:03 +01:00
Eloy Durán
e15f9120a9 [profiler] Add tasks to run an OS X app through Instruments. 2013-10-31 12:50:51 +01:00
Eloy Durán
8f4a6ad27c [profiler] Generate a config plist for Instruments.app 2013-10-31 12:09:12 +01:00
Laurent Sansonetti
edcdf29ed6 ship only one libmacruby-repl.dylib file per platform, the one that has been built with the lowest deployment target (4.3 for ios and 10.7 for osx) 2013-10-30 23:54:57 +01:00
Eloy Durán
572bf257b5 [profiler] Use known paths to tools. 2013-10-28 20:48:59 +01:00
Eloy Durán
afe932b2ab [profiler] Make it a bit more readable. 2013-10-28 20:36:17 +01:00
Eloy Durán
9508d0942a [profiler] Start headless instruments session on running app. 2013-10-28 20:34:58 +01:00
Watson
80d067338b fix a bug where `motion update' causes an error when display the changelog on OSX 10.9
https://groups.google.com/forum/?fromgroups#!topic/rubymotion/HXO7wRn1Cuw

`motion' command uses system bundled Ruby.
If run `motion' command without local environment variable (ex LC_ALL or LANG),
Ruby 2.0 which is bundled in 10.9 might cause encoding error.
2013-10-26 17:12:30 +09:00
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