Commit Graph

740 Commits

Author SHA1 Message Date
Watson
ae8f9db35b update entry point for "rake spec" 2014-12-10 23:13:58 +09:00
Laurent Sansonetti
f24275586d default spec/main_spec.rb file for android 2014-12-10 00:53:29 +01:00
Laurent Sansonetti
78e8f11540 in spec mode, don’t attach a REPL, instead print logs and quit the rake process when we determine that the app is no longer alive 2014-12-10 00:37:35 +01:00
Laurent Sansonetti
86243a5f8f add “rake spec:device” and “rake spec:emulator” tasks 2014-12-09 17:56:48 +01:00
Laurent Sansonetti
33fd3d0b35 in spec mode, build directory will be build/Testing-#{API_VERSION}/ 2014-12-09 17:56:21 +01:00
Laurent Sansonetti
df2f85086b make sure we import classes from the core rubymotion package (since we could be subclassing one of them) 2014-12-09 17:55:42 +01:00
Laurent Sansonetti
8bb9981f2e silence jar signer invocation in debug mode (as it prints garbage when using java 7) 2014-12-09 14:56:00 +01:00
Laurent Sansonetti
5865906230 improve error message in case we can’t connect to the device 2014-12-09 03:27:48 +01:00
Laurent Sansonetti
20675a51f2 add print-ruby-ivars command, fix other commands to not print the string address 2014-12-05 15:41:54 +01:00
Watson
7f6139bbfe [RM-681] use 'iPad Air' as default for iPad app to launch app as 64-bit
http://hipbyte.myjetbrains.com/youtrack/issue/RM-681
2014-12-05 11:06:14 +09:00
Laurent Sansonetti
8fe20680da provide the path where libc.so is located, so that we can access C-level functions 2014-12-02 22:59:55 +01:00
Laurent Sansonetti
bf59348d73 link the payload library with -O0 and -g3 (probably needed since we use LtO with the Ruby .bc files) 2014-12-02 21:51:38 +01:00
Laurent Sansonetti
60cf04cedc provide builtin print-ruby-object / pro command to gdb 2014-12-02 21:51:04 +01:00
Laurent Sansonetti
40f7b45733 enable debug=1: start ndk-gdb in “attach mode”, make sure we won’t quit the rake process on SIGINT, bring back terminal echo on exit 2014-12-02 19:02:16 +01:00
Laurent Sansonetti
41cbedba70 more ndk-gdb work (still not working yet) 2014-12-02 18:11:59 +01:00
Watson
b593172355 [RM-672] fix a Instruments template path for Xcode 6.2
http://hipbyte.myjetbrains.com/youtrack/issue/RM-672
2014-12-02 15:02:00 +09:00
Watson
7a1dda6e5d remove unnecessary value in action and share extension's info.plist 2014-12-01 21:03:00 +09:00
Watson
520346999f [RM-678] fix info.plist in share extension to solve ERROR ITMS-9000
http://hipbyte.myjetbrains.com/youtrack/issue/RM-678
2014-12-01 18:58:06 +09:00
Watson
f5c1ebdde5 [RM-677] add 'application-identifier' in action extension entitlement
http://hipbyte.myjetbrains.com/youtrack/issue/RM-677
2014-12-01 16:48:22 +09:00
Watson
872d660a4a [RM-677] fix info.plist in action extension to solve ERROR ITMS-9000
http://hipbyte.myjetbrains.com/youtrack/issue/RM-677
2014-12-01 16:34:14 +09:00
Watson
91bc99156a [RM-676] allow to use relative path for provisioning_profile
http://hipbyte.myjetbrains.com/youtrack/issue/RM-676
2014-12-01 14:39:23 +09:00
Watson
e9f344aeee [RM-675] make sure that add "require ‘pathname'" in where uses Pathname in order to fix that it can't build extension with system bundled ruby 2014-11-27 20:55:24 +09:00
Eloy Durán
11108c85fb [OSX] Only build for x86_64 by default.
Related to
https://github.com/clayallsopp/afmotion/issues/72#issuecomment-64401550.
2014-11-25 14:54:30 +01:00
Watson
0c2cffcb5f [RM-667] Added `app.icons' for extension's Rakefile 2014-11-25 12:24:28 +09:00
Hwee-Boon Yar
8736bd3c87 Add portrait launch images for iPhone 6 and iPhone 6 Plus 2014-11-25 11:54:06 +09:00
Watson
82fa416195 [RM-671] solve framework dependencies in embedded 2014-11-25 11:33:43 +09:00
Watson
ce7a4f7de9 make sure the builder archs does not contain duplicates for Extension/Framework 2014-11-24 16:50:46 +09:00
Watson
b526ddd96d fix archs setting in framework
http://hipbyte.myjetbrains.com/youtrack/issue/RM-670

d141498e58 patch need this changing.
2014-11-24 16:33:40 +09:00
Watson
01eb0043e8 [RM-669] fix a regression which RubyMotion static library causes link error in Xcode project
http://hipbyte.myjetbrains.com/youtrack/issue/RM-669
2014-11-20 10:26:15 +09:00
Watson
4f809213e2 [RM-651] allow to run rake task other than `build' in Extension/Framework project
http://hipbyte.myjetbrains.com/youtrack/issue/RM-651
2014-11-18 09:55:32 +09:00
Eloy Durán
baf4c7aa58 [iOS Template] Set the background color directly on the view. 2014-11-11 15:12:09 +01:00
Eloy Durán
6eda9d1d35 [iOS Template] Add view controllers and window to new apps.
Besides being a more helpful entry point, it also ensures that when
users build an application without any window they do not get to
see ugly warnings about unhandled touch events.

Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-339
2014-11-11 14:49:51 +01:00
Eloy Durán
2f9e5a12c9 [Template] Do not override load paths with ‘pre’ dist dir in development.
RubyMotion developers should be able to test changes to the templates
from a local development build.
2014-11-11 14:49:43 +01:00
Watson
23232b372c enable 64bit on iOS by default 2014-11-11 06:53:53 +09:00
Eloy Durán
33effd9154 [sim] Honour explicit device_name or target specified by user.
Specifying both is disallowed, because a device is configured for a specific SDK.

Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-657
2014-11-07 19:27:13 +01:00
Watson
bf541c0870 merge the patches to fix build error of Extension and Framework for arm64
http://hipbyte.myjetbrains.com/youtrack/issue/RM-655

Merged below patches into Extension and Framework:
- 1567487...fde9580
2014-11-06 16:28:11 +09:00
Laurent Sansonetti
92b5b94bf6 revert enabling arm64 by default 2014-11-05 15:18:25 +01:00
Laurent Sansonetti
10e4e28a23 make sure the builder archs does not contain duplicates 2014-11-05 14:04:26 +01:00
Laurent Sansonetti
c1647f1a84 enable arm64 again, remove armv7s 2014-11-05 14:04:04 +01:00
Watson
b257909cb7 not embed kernel-*.bc into each compiled files
http://hipbyte.myjetbrains.com/youtrack/issue/RM-652
2014-11-04 22:34:19 +09:00
Eloy Durán
117abe90a5 [Config] Move ivar declaration to file where it's actually used. 2014-11-04 13:08:04 +01:00
Eloy Durán
1cbb6ea3bc [clean] Do not remove momd when no xcdatamodeld is available.
Related to http://hipbyte.myjetbrains.com/youtrack/issue/RM-649
2014-10-31 14:09:38 +01:00
Laurent Sansonetti
f6cf3d2507 pass assets directories when generating R (even if it's not required?) 2014-10-29 16:24:59 +01:00
Laurent Sansonetti
1723c9ee63 improve build system to handle .java files (for class extensions) using underscore-based case 2014-10-29 13:40:41 +01:00
Laurent Sansonetti
6876b634ce oops: always generate <service/> tags 2014-10-29 13:35:39 +01:00
Laurent Sansonetti
aee711688c add support for Java class extensions: classes defined in .rb files can be extended in Java, by writing methods in a Foo.java file (where Foo is the name of the class) in a directory that contains .rb files (ex. ‘app/Foo.java’) 2014-10-28 19:40:43 +01:00
Laurent Sansonetti
02fb5ce2be without this line, we will always rebuild classes.dex 2014-10-28 17:51:45 +01:00
Laurent Sansonetti
8c66814ae0 better message 2014-10-28 17:26:33 +01:00
Laurent Sansonetti
30fb3fe861 add app.services to let users expose android services 2014-10-26 22:12:39 +01:00
Laurent Sansonetti
6bac384407 when an exception is raised from a file init function and isn’t caught, print a better message to the user 2014-10-25 00:47:19 +02:00