Commit Graph

521 Commits

Author SHA1 Message Date
Laurent Sansonetti
7d03affae0 quiet archiving 2014-01-20 02:05:20 +01:00
Laurent Sansonetti
7fe07ab3bd pass less flags to the assembler 2014-01-20 01:29:03 +01:00
Laurent Sansonetti
4d3e8c0c70 more work on the android port 2014-01-19 23:38:32 +01:00
Andrew Larssen
aa9cdf5c98 Fix hard coded path that does not honour xcode-select in builder.
This is causing problems building amd64 iOS 7.1 using Xcode5.1-Beta3 as it is not in the usual path.
2014-01-17 23:10:32 +09:00
Eloy Durán
fb53ff0948 [test] Make iOS UI helper search from the key window instead.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-382.
2014-01-16 12:06:31 +01:00
Eloy Durán
55f1322e4e [vendor] Default to :cflags option for BS generation.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-388.
2014-01-16 11:23:11 +01:00
Eloy Durán
2aa28638c0 [vendor] Accept glob patterns for the `source_files' option.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-317.
2014-01-15 14:50:51 +01:00
Eloy Durán
8d9fc8082a Fix builder when not building for OS X. 2014-01-15 14:50:50 +01:00
Eloy Durán
9fe2cad556 [OSX] Add external_frameworks config variable.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-254
2014-01-15 13:20:56 +01:00
Laurent Sansonetti
b09b209b93 oops 2014-01-13 14:19:31 +01:00
Laurent Sansonetti
e7fb463e8d retrieve payload file name from the config object 2014-01-11 12:09:40 +01:00
Laurent Sansonetti
76c6c2c7f6 pass the target platform to the compiler 2014-01-10 23:54:36 +01:00
Laurent Sansonetti
9c592b4934 compile/link the payload library with clang 2014-01-10 23:54:04 +01:00
Laurent Sansonetti
d1f6429597 [OSX] fix crashlog task 2014-01-10 14:10:09 +01:00
Watson
aacac95be9 fix a bug in build system that app cannot be built with Ruby 2.1 when it would use UTF-8 as app name
http://hipbyte.myjetbrains.com/youtrack/issue/RM-370
2014-01-09 10:44:17 +09:00
Laurent Sansonetti
9f4d9e01c7 add 'rake crashlog:device' task, wording/UX is still a work in progress 2013-12-29 19:55:48 +01:00
Watson
4367f3bf3c improve build system in order to compile spec files in parallel as much as possible
So far, RubyMotion has two phase in compile when run spec (1. compile app files, 2. compile spec files).
it make idle cpu cores when finished to compile app files (before starting to compile spec files).
2013-12-27 14:05:49 +09:00
Laurent Sansonetti
bd8536dbcc libmacruby -> librubymotion 2013-12-24 18:25:19 +01:00
Eloy Durán
12cf8353fe [sim] Get simulated app PID as int instead of NSNumber.
Related to http://hipbyte.myjetbrains.com/youtrack/issue/RM-365
2013-12-20 15:09:53 +01:00
Eloy Durán
6b75ce9014 [sim] Make app launch again with Xcode 5.1.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-365
2013-12-20 15:09:42 +01:00
Eloy Durán
210567d344 De-register spec app for notifications first. 2013-12-20 12:21:30 +01:00
Jason W. May
2033869ea3 Ignore spurious UIApplicationDidBecomeActiveNotification events.
Signed-off-by: Eloy Durán <eloy.de.enige@gmail.com>
2013-12-20 12:19:53 +01:00
Eloy Durán
2cd94ea84f [vendor] Actually add our custom XCPretty printer. 2013-12-19 16:34:55 +01:00
Laurent Sansonetti
9edffa8925 link the payload JNI library with the runtime, rebuild the apk file if the payload library changed 2013-12-18 20:02:56 +01:00
Laurent Sansonetti
d2491e0f3b determine the android SDK build tools directory dynamically 2013-12-17 14:16:07 +01:00
Eloy Durán
44e93a2759 [vendor] Use custom XCPretty printer when building an Xcode project. 2013-12-13 14:52:18 +01:00
Eloy Durán
c6be6e5bde [UIAutomation] Make the drag command actually send events again.
However, for the moment this only works with 1 touch at a time.
2013-12-12 22:02:49 +01:00
Eloy Durán
dba87148f2 Revert use of PublicAutomation lib. 2013-12-12 22:02:49 +01:00
Eloy Durán
f2c7b956c9 [UIAutomation] Make tap work again. 2013-12-12 22:02:49 +01:00
Eloy Durán
d7f3053d42 [UIAutomation] Link the PublicAutomation objects into the app in spec mode. 2013-12-12 22:02:49 +01:00
Watson
1f2f3b0c4f Revert "fix where Boxed#new doesn't work for GLKKit structure."
This reverts commit ac89cf6b4b.

http://hipbyte.myjetbrains.com/youtrack/issue/RM-342
Because this patch causes a conflict between method's structure signature and bridgesupport's structure signature
2013-12-11 17:14:46 +09:00
Laurent Sansonetti
1104fe01ed [OSX] add app.codesign_for_release (default to true) which controls if we need to code-sign for build:release 2013-12-09 15:19:15 +01:00
Laurent Sansonetti
7c758a43a7 in case app.resource_dirs contain duplicated entries, don't freak out 2013-12-09 15:03:11 +01:00
Eloy Durán
c761aefa58 [vendor] Ensure that all cflags are properly quoted.
Before it looked like the `-isysroot \"#{sdk_path}\"` part of the cflags
would terminate the string passed to the `--cflags` option.

Now all the contents of the `--cflags` option is quoted using
single-quotes instead.
2013-12-05 12:22:22 +01:00
toshiwo
0ba40abcb6 support nested directory
* https://github.com/HipByte/RubyMotion/pull/144#issuecomment-29203864
2013-11-25 23:28:21 +09:00
toshiwo
21574894d6 support dynamic name directory in template 2013-11-25 23:28:15 +09:00
Laurent Sansonetti
52753a7c13 create ~/.android/debug.keystore if it does not exist 2013-11-21 18:41:59 +01:00
Laurent Sansonetti
d458b2e7e5 update tools to the latest SDK/NDK versions 2013-11-21 18:41:25 +01:00
Eloy Durán
5be6d293e1 [spec] Deprecate block to the tests method of the view test helpers. 2013-11-19 16:55:04 +01:00
Eloy Durán
99df3e011b [rake] Raise error if cleaning does not succeed.
Fixes https://hipbyte.freshdesk.com/helpdesk/tickets/1359.
2013-11-18 11:49:09 +01:00
Watson
d963c6489d move special configuration for iOS/OSX platform from gen_bridge_metadata() 2013-11-11 10:16:53 +09:00
Watson
51ac31a777 [OSX] fix a bug on OSX platform where compiler flags for iOS are passed when it generates bridgesupport file for vendor library
http://hipbyte.myjetbrains.com/youtrack/issue/RM-315
2013-11-11 08:11:16 +09:00
Laurent Sansonetti
877ebe99fb only capture stdout if install_only is set (used by the profile task), fixes the output of 'rake device' 2013-11-07 13:19:12 +01:00
Eloy Durán
ae4fe2dddc Temp work around issue with UIDeviceFamily for release/profile.
The Info.plist is forced to be recreated on each build and uses ints for
UIDeviceFamily when profiling and strings otherwise.

http://hipbyte.myjetbrains.com/youtrack/issue/RM-305
2013-11-02 17:14:29 +01:00
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