Commit Graph

451 Commits

Author SHA1 Message Date
Eloy Durán
756dc13150 [vendor] Actually add our custom XCPretty printer. 2013-12-30 23:06:36 +09:00
Eloy Durán
11bcc3d370 [vendor] Use custom XCPretty printer when building an Xcode project. 2013-12-30 23:05:12 +09:00
Eloy Durán
ce72a628f0 [vendor] Import XCPretty. 2013-12-30 23:04:40 +09:00
Eloy Durán
cc15311759 De-register spec app for notifications first. 2013-12-20 12:26:09 +01:00
Eloy Durán
63991fa446 Merge branch 'jmay-master' 2013-12-20 12:17:40 +01:00
Jason W. May
b6d9df25c0 Ignore spurious UIApplicationDidBecomeActiveNotification events.
Signed-off-by: Eloy Durán <eloy.de.enige@gmail.com>
2013-12-20 12:17:10 +01:00
Watson
ee8c988864 2.17 2013-12-13 10:59:36 +09:00
Eloy Durán
06d8802db6 [UIAutomation] Make the drag command actually send events again.
However, for the moment this only works with 1 touch at a time.
2013-12-13 10:56:43 +09:00
Watson
ca35b95be2 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-13 09:29:06 +09:00
Laurent Sansonetti
a6de0f4021 [OSX] add app.codesign_for_release (default to true) which controls if we need to code-sign for build:release 2013-12-13 09:28:31 +09:00
Laurent Sansonetti
7d058064e7 in case app.resource_dirs contain duplicated entries, don't freak out 2013-12-13 09:28:25 +09:00
Eloy Durán
4e9bb5f89e [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-13 09:10:22 +09:00
Watson
4a9673e238 Merge pull request #144 from toshiwo/support_dynamic_name_directory
support dynamic name directory in template
2013-11-25 06:27:33 -08:00
toshiwo
02cf8d5e1d support nested directory
* https://github.com/HipByte/RubyMotion/pull/144#issuecomment-29203864
2013-11-25 23:18:57 +09:00
toshiwo
231547a62b support dynamic name directory in template 2013-11-25 22:31:12 +09:00
Watson
2148019d6f 2.16 2013-11-23 00:40:50 +09:00
Watson
3bd065e320 2.15 2013-11-20 23:44:30 +09:00
Eloy Durán
22dac42700 [spec] Deprecate block to the tests method of the view test helpers. 2013-11-20 23:43:40 +09:00
Eloy Durán
440cfc9d25 [rake] Raise error if cleaning does not succeed.
Fixes https://hipbyte.freshdesk.com/helpdesk/tickets/1359.
2013-11-20 23:42:36 +09:00
Watson
f01f8a240f move special configuration for iOS/OSX platform from gen_bridge_metadata() 2013-11-20 23:41:11 +09:00
Watson
8a86ff3ae6 [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:17:26 +09:00
Laurent Sansonetti
ab8e73f9d0 only capture stdout if install_only is set (used by the profile task), fixes the output of 'rake device' 2013-11-07 23:13:18 +09:00
Watson
f593ce727b 2.14 2013-11-04 08:36:11 +09:00
Watson
fd9d9c3753 2.13 2013-11-03 21:17:56 +09:00
Laurent Sansonetti
666d4bdd67 add a hidden variable to force symbol strip (ex. rake device __strip__=1) 2013-11-03 21:17:14 +09:00
Eloy Durán
091b6b399f 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-03 21:16:54 +09:00
Watson
464cced795 fix RM-305
http://hipbyte.myjetbrains.com/youtrack/issue/RM-305
2013-11-02 23:04:15 +09:00
Watson
8ef4dd6e82 2.12 2013-11-02 11:49:43 +09:00
Eloy Durán
791a18759b [profiler] Configure Instruments to optionally launch specific template. 2013-11-02 11:46:41 +09:00
Eloy Durán
8a88ae803e [profiler] Replace templates list with hardcoded lists. 2013-11-02 11:46:34 +09:00
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