Commit Graph

109 Commits

Author SHA1 Message Date
Laurent Sansonetti
c4fc96bff3 add command-line plugins 2013-05-04 18:59:53 +02:00
Laurent Sansonetti
4eb7f8da95 strip symbols from llc/ruby binaries 2013-05-03 15:34:14 +02:00
Watson
5276062e3a osx: move the app window to foreground 2013-05-01 01:39:54 +09:00
Laurent Sansonetti
9a1576debf osx repl: save history, quit app upon SIGINT 2013-04-30 17:03:56 +02:00
Laurent Sansonetti
21aacfd769 fixed a bug when receiving too much input from the repl evaluator 2013-04-30 14:32:22 +02:00
Laurent Sansonetti
c7152c8143 add osx repl 2013-04-29 21:07:39 +02:00
Watson
6f48fd5d0b change the build directory for outside files of project
This changing will introduce:

1. When run 'rake clean', the object files of gem is not removed. To reduce the time when rebuild the project.
2. Across multiple projects that use the same gem, this changing will share the object files.
3. When update RubyMotion with 'motion update', it will remove the object files to clean up disk space.
2013-04-25 22:23:19 +09:00
Laurent Sansonetti
105a915f3d mac port 2013-04-25 02:26:56 +02:00
Watson
990e352d62 add a feature which support the template 2013-04-19 23:02:49 +09:00
Laurent Sansonetti
dd7605d2fd add 'motion account' command 2013-04-19 14:55:41 +02:00
Laurent Sansonetti
b9eab69d82 Merge branch 'master' of github.com:lrz/RubyMotion 2013-04-04 12:15:18 +02:00
Watson
9cf62a20e3 fix a bug in REPL which often causes an error with "exit" command 2013-03-28 17:59:07 +01:00
Laurent Sansonetti
45e33e6f9a Merge branch 'master' of github.com:lrz/RubyMotion 2013-03-25 08:52:41 +01:00
Laurent Sansonetti
d3b4da10da print to stderr 2013-03-25 08:52:36 +01:00
Watson
73b0a970c1 fix a bug where 'rake device debug=1' will cause a crash when contained UTF-8 characters in app name 2013-03-23 10:04:12 +09:00
Laurent Sansonetti
4c18345034 more work on the device debug no_start flag 2013-03-18 15:38:24 +01:00
Watson
088080b681 fix a bug in REPL which often causes an error with "quit" command
When run "quit" command in REPL, terminates iOS simulator session.
2013-03-12 11:18:51 +09:00
Laurent Sansonetti
56a071aa87 Merge branch 'master' of github.com:lrz/RubyMotion 2013-03-05 14:56:41 +01:00
Laurent Sansonetti
fc1aa27ca2 add 'no_start' option to 'rake device debug=1' to let people attach their own debugger (rubymine) 2013-03-05 14:56:28 +01:00
Watson
d4ce537d07 fix a bug in REPL which can't handle the UTF8 string in history 2013-03-04 09:23:40 +09:00
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