Commit Graph

89 Commits

Author SHA1 Message Date
Watson
92803b2722 adjust simulator_app_bounds for iPhone 3.5-inch retina 2013-02-12 15:43:08 +09:00
Laurent Sansonetti
1305b6f773 Merge branch 'master' of github.com:lrz/RubyMotion 2013-02-08 15:21:18 +01:00
Laurent Sansonetti
200a15097a increase connect-timeout to 60 seconds 2013-02-08 15:21:02 +01:00
Watson
c47c8486df [fix #4] fix a bug in simulator which cannot launch on Snow Leopard
it will compile sim.m to refer to the /usr/lib/libedit.2.dylib at runtime.
(libedit.2.dylib is a symbolic link to libedit.3.dylib on Mountain Lion and Lion.)
2013-02-05 15:42:52 +09:00
Watson
2bfbba1e0c enable the mouse over in retina
still can't select a view correctly when scrolled.
2013-02-04 15:56:40 +09:00
Watson
9e847832ad adjust simulator_app_bounds for iPad simulator 2013-02-01 23:51:18 +09:00
Watson
d639dae7c5 fix a bug in mouseover which can't select a view when rotated an iOS simulator 2013-01-31 15:38:48 +09:00
Watson
e5485b333b fix the assertion when it cannot find iOS simulator
When customers does not install older iOS simulator,
`rake target' task will fail with assertion, like:

	$ rake target=5.0
	     Build ./build/iPhoneSimulator-5.1-Development
	   Compile ./app/app_delegate.rb
	      Link ./build/iPhoneSimulator-5.1-Development/TestTwitter.app/TestTwitter
	    Create ./build/iPhoneSimulator-5.1-Development/TestTwitter.dSYM
	  Simulate ./build/iPhoneSimulator-5.1-Development/TestTwitter.app
	Assertion failed: (system_root != nil), function main, file sim.m, line 937.
	rake aborted!

This message looks not  kindly to customers.

After changing:

	$ rake target=5.0
	     Build ./build/iPhoneSimulator-5.1-Development
	   Compile ./app/app_delegate.rb
	      Link ./build/iPhoneSimulator-5.1-Development/TestTwitter.app/TestTwitter
	    Create ./build/iPhoneSimulator-5.1-Development/TestTwitter.dSYM
	  Simulate ./build/iPhoneSimulator-5.1-Development/TestTwitter.app

	Not found iOS 5.0 simulator.

	rake aborted!
2012-11-16 12:39:13 +09:00
Watson
14f5e7b9d0 use the bundled yri 2012-11-14 16:00:20 +09:00
Watson
4bffab26b1 add 'motion ri' command 2012-11-14 11:39:45 +09:00
Laurent Sansonetti
d4255725a3 new env variables for rubymine integration 2012-11-14 00:30:13 +01:00
Laurent Sansonetti
a37ca1fc7a set a curl timeout of 5 seconds 2012-10-31 17:16:14 +01:00
Laurent Sansonetti
3b4557a014 fix 'rake spec' to always exit() based on the return code, to workaround race conditions with the new iOS 6 simulator 2012-10-09 18:05:40 +02:00
Laurent Sansonetti
1d71b4239b fix debugger if app-name contains space chaeracters 2012-09-25 18:22:49 +02:00
Laurent Sansonetti
120a05b4d6 add builtin commands (pro, pri) 2012-09-20 01:57:38 +02:00
Laurent Sansonetti
a9ffffbac9 deal with the case if the product version has a micro number (ex. 5.1.1) 2012-09-17 12:48:09 +02:00
Laurent Sansonetti
4216ab4759 tweaks 2012-09-16 01:49:27 +02:00
Laurent Sansonetti
067ba2e151 only attach debugger if 'debug' env variable is set 2012-09-15 16:42:13 +02:00
Laurent Sansonetti
d6efc6701f start gdb in quiet mode 2012-09-15 16:41:36 +02:00
Laurent Sansonetti
d8df013ceb add debugger (experimental) 2012-09-15 16:00:37 +02:00
Laurent Sansonetti
a34c92b09c if we can't get the path of stdout, try stderr (that happens when 'rake spec | ...') 2012-09-07 14:50:54 +02:00
Laurent Sansonetti
df8f1e7993 follow ML changes 2012-07-28 12:33:05 +02:00
Laurent Sansonetti
470af546c4 minor cleanup 2012-07-28 12:32:45 +02:00
Laurent Sansonetti
3681bd6a9f added --force-version 2012-07-14 13:15:41 +02:00
Laurent Sansonetti
0bbfee73b5 fix the home button bug 2012-06-10 10:17:10 +02:00
Laurent Sansonetti
7eb352af8e honors the status exit file 2012-06-09 12:17:11 +02:00
Laurent Sansonetti
94234cddd5 don't open the sim in foreground when running in spec mode 2012-05-30 13:51:03 +02:00
Laurent Sansonetti
ef2aadf942 don't crash if given an empty expression 2012-05-22 13:15:00 +02:00
Laurent Sansonetti
ee8168c2ef cosmetic fix for the repl level indentation, fixed the simulator capture code 2012-05-20 20:15:25 +02:00
Laurent Sansonetti
2205be0ac6 add multiple support in the repl 2012-05-20 15:17:13 +02:00
Laurent Sansonetti
8d8ab5ba1a better error message 2012-05-09 12:09:02 +02:00
Laurent Sansonetti
d7064d436f added a better error message 2012-05-05 23:03:58 +02:00
Laurent Sansonetti
d04b4fe999 better detection of the simulator (for non-english desktops) 2012-05-05 22:57:53 +02:00
Laurent Sansonetti
93d7a83a53 stop shipping sample/doc, relocated the product in /Library/RubyMotion 2012-04-29 03:24:43 +02:00
Laurent Sansonetti
87298c9b6f add copyright headers 2012-04-24 18:26:30 +02:00
Laurent Sansonetti
f3191e00a1 say that the product is already activated first 2012-04-03 20:45:26 +02:00
Laurent Sansonetti
f6070d6095 no need to set MOTION_UPDATE anymore 2012-04-02 18:24:38 +02:00
Laurent Sansonetti
9a7fb6ae07 strip the license key 2012-04-02 18:23:47 +02:00
Laurent Sansonetti
eb322d8f62 don't make an eval the very first time 2012-03-29 13:04:38 +02:00
Laurent Sansonetti
3e4b9a86a8 avoid deadlock in the main thread 2012-03-26 19:39:13 +02:00
Laurent Sansonetti
298c119c4e follow changes 2012-03-26 15:54:50 +02:00
Laurent Sansonetti
f98f6c56d7 add completion support 2012-03-25 18:24:11 +02:00
Laurent Sansonetti
0b955ff5bf save history, properly exit in case of broken pipe 2012-03-24 23:13:58 +01:00
Laurent Sansonetti
e7b378a44f don't start the repl in spec mode 2012-03-24 20:02:21 +01:00
Laurent Sansonetti
d0756a4537 work around ansi sequences to clear the repl prompt during capture (to make it work in iterm) 2012-03-23 21:59:15 +01:00
Laurent Sansonetti
af2ed579d2 fix motion support to properly locate xcode version 2012-03-23 21:17:31 +01:00
Laurent Sansonetti
cc6c7b43c8 simplify + use trololo instead of nyancat 2012-03-23 20:26:44 +01:00
Laurent Sansonetti
59a98e0410 sim and deploy should work on Snow Leopard 2012-03-22 16:45:26 +01:00
Laurent Sansonetti
720c077fa0 fix stack overflow 2012-03-21 23:42:32 +01:00
Laurent Sansonetti
5ab36e9d4c add repl client 2012-03-21 22:44:53 +01:00