Eloy Durán
01b337b57b
[profiler] Add tasks to list available instruments templates.
2013-11-02 11:46:29 +09:00
Eloy Durán
2783dfcc8b
[profiler] Make the OS X shortcut task use development mode.
2013-11-02 11:46:23 +09:00
Eloy Durán
8bc831eb26
[profiler] Inherit ENV from parent process.
2013-11-02 11:46:16 +09:00
Eloy Durán
3b16d55db4
[profiler] Add shortcut for OS X profile:release.
2013-11-02 11:46:10 +09:00
Eloy Durán
06fdd73853
[profiler] Add OS X tasks for development and release mode.
2013-11-02 11:46:05 +09:00
Laurent Sansonetti
c181e10e92
add 'rake profile' task as a shortcut to 'rake profile:simulator'
2013-11-02 11:45:59 +09:00
Eloy Durán
4001ffff84
[profiler] Properly describe OS X rake task.
2013-11-02 11:45:53 +09:00
Eloy Durán
e9b72445f4
Cleanup.
2013-11-02 11:45:47 +09:00
Eloy Durán
40decde446
[profiler] Pass arguments to app on launch.
2013-11-02 11:45:42 +09:00
Eloy Durán
e7d290eb8e
[profiler] Refactor rake tasks into the Config and Builder classes.
2013-11-02 11:45:35 +09:00
Eloy Durán
071c243a77
[iOS config] UIDeviceFamily Info.plist entry should be integer.
2013-11-02 11:45:29 +09:00
Eloy Durán
787ee51e6d
[profiler] Add task to start profiling on a iOS device.
2013-11-02 11:45:22 +09:00
Eloy Durán
f52a194f2b
[profiler] Add tasks to run an OS X app through Instruments.
2013-11-02 11:45:13 +09:00
Eloy Durán
89b3db7222
[profiler] Generate a config plist for Instruments.app
2013-11-02 11:45:07 +09:00
Laurent Sansonetti
77cdfbc064
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-11-02 11:44:28 +09:00
Eloy Durán
3873adbab7
[profiler] Use known paths to tools.
2013-11-02 11:43:14 +09:00
Eloy Durán
6977940530
[profiler] Make it a bit more readable.
2013-11-02 11:43:08 +09:00
Eloy Durán
0fb2bd1a41
[profiler] Start headless instruments session on running app.
2013-11-02 11:43:03 +09:00
Watson
01906ff0be
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-11-02 11:42:55 +09:00
Eloy Durán
70ecb3078a
[spec] Don't set output type unti very last moment.
2013-11-02 11:42:41 +09:00
Watson
15780d2e22
specify the optimization level when compile the RubyMotion boot codes or vendor codes
2013-11-02 11:42:33 +09:00
Watson
6d3ef3ecd4
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-11-02 11:41:40 +09:00
Laurent Sansonetti
93d4c37408
[OSX] optional #eval support (experimental)
2013-11-02 11:41:11 +09:00
Laurent Sansonetti
217c82f020
print an error in case we try to build for a certain RubyMotion platform that isn't supported (data directory doesn't exist)
2013-11-02 11:41:02 +09:00
Eloy Durán
00b3b510dd
[BS] Make use of our own bin/gen_bridge_metadata during builds.
2013-11-02 11:40:07 +09:00
Watson
0ac6982ba2
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:46:01 +09:00
Watson
bfce458aee
2.11
2013-10-15 21:24:07 +09:00
Watson
8edd2ff018
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 21:23:15 +09:00
Watson
42fcd6c4aa
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 21:23:09 +09:00
Eloy Durán
594d2308c1
[xcassets] Fix comment.
2013-10-15 21:22:28 +09:00
Eloy Durán
1c4953f026
[xcassets] All files that are to be preserved are in preserve_resources.
2013-10-15 21:22:23 +09:00
Eloy Durán
12307f01bb
[xcassets] Show compile info to user when not in verbose mode.
2013-10-15 21:22:16 +09:00
Eloy Durán
e24fcaa44d
[xcassets] Be sure to remove whitespace from Info.plist icon names.
2013-10-15 21:22:11 +09:00
Eloy Durán
6504f1a9dd
[xcassets] Extract actool warnings and propagate to the user.
2013-10-15 21:22:04 +09:00
Eloy Durán
999e83a823
[xcassets] Simplify actool output parsing and only print in verbose mode.
2013-10-15 21:21:57 +09:00
Eloy Durán
322ebc6863
[xcassets] Move iOS/OS X specific behavior back to configs.
2013-10-15 21:21:52 +09:00
Eloy Durán
ba029b744a
[xcassets] Use output of actool to determine compiled assets to preserve.
2013-10-15 21:21:46 +09:00
Eloy Durán
4c1beff6a2
[xcassets] Use actool’s Info.plist output instead of reading JSON.
2013-10-15 21:21:41 +09:00
Eloy Durán
b100859e2a
[xcassets] No longer copy icons ourselves on iOS.
2013-10-15 21:21:34 +09:00
Eloy Durán
9ce4cda2a9
[xcassets] Fix preservation of app icons on iOS.
2013-10-15 21:21:29 +09:00
Eloy Durán
d9021b682c
[xcassets] Make asset compilation and app icon config work on OS X.
2013-10-15 21:20:55 +09:00
Eloy Durán
cc16a2bd61
[xcassets] Fail build if the JSON gem is required and unavailable.
2013-10-15 21:20:50 +09:00
Eloy Durán
9dd92687fe
[xcassets] Use App.warn to warn about multiple app icon sets.
2013-10-15 21:20:45 +09:00
Eloy Durán
040cefa2f2
Test branch notifications in HipChat commit.
2013-10-15 21:20:38 +09:00
Eloy Durán
1033f302d8
[xcassets] Copy and configure the app icons for iOS.
2013-10-15 21:20:23 +09:00
Eloy Durán
d35e174417
[xcassets] Do not include uncompiled asset bundles in the product.
2013-10-15 21:20:16 +09:00
Eloy Durán
8a4105bed9
[xcassets] actool uses path info from bundle unless full build path is specified.
2013-10-15 21:20:11 +09:00
Eloy Durán
c79556bad6
[xcassets] Don’t delete compiled assets from the app bundle.
2013-10-15 21:19:54 +09:00
Eloy Durán
35d6021e68
[xcassets] Compile resources_dirs/*.xcassets into the app bundle.
2013-10-15 21:19:47 +09:00
Laurent Sansonetti
e66590e62b
add clean:all task which calls 'clean' then deletes ~/Library/RubyMotion/build
2013-10-11 00:05:29 +09:00