Commit Graph

131 Commits

Author SHA1 Message Date
Laurent Sansonetti
68cd7dc5a0 console mode 2013-08-26 15:20:56 +02:00
Laurent Sansonetti
564651c118 add message when app runs 2013-08-26 13:35:27 +02:00
Laurent Sansonetti
41d5acbb1b better messages 2013-08-25 14:57:55 +02:00
Watson
af3678071d fix mouse over feature, now it works in 50 % window scale. 2013-08-25 15:25:09 +09:00
Watson
6e03a42e18 add iOS7 simulator pattern 2013-08-25 15:07:55 +09:00
Laurent Sansonetti
e7da3ea8d0 sync 2013-08-23 17:02:32 +02:00
Laurent Sansonetti
3e027886ae lldb support 2013-08-23 14:04:14 +02:00
Laurent Sansonetti
b98dead547 'rake device' now runs the app and prints app logs from device console, added work in progress code for lldb (not working yet) 2013-08-23 00:23:03 +02:00
Laurent Sansonetti
8cc0865f9d always set the libedit prompt in main thread, to avoid memory race condition crasher 2013-08-10 18:06:07 +02:00
Laurent Sansonetti
6d849e6563 fix compilation warning 2013-08-10 17:43:29 +02:00
Watson
b59e6bee89 forward a termination status in OSX environment to rake task 2013-08-07 23:50:02 +09:00
Watson
060e24d349 add lldb_commands_file for the initial configuration in lldb 2013-08-06 20:39:11 +09:00
Watson
098c8c48b9 split the method in where save command into temporary file 2013-08-06 20:39:06 +09:00
Watson
b503784a73 terminate RELP with exit status 0 if press CTRL + C 2013-07-23 02:27:30 +09:00
Watson
8384e336f9 fix a bug in debugger where built-in debug commands are not working
http://hipbyte.myjetbrains.com/youtrack/issue/RM-187

This bug was introduced by 3847d29e31
2013-07-19 16:48:38 +09:00
Laurent Sansonetti
9f3de43d1c fix race condition when launching simulator and activating simulator (in the foreground) 2013-06-14 13:46:27 +02:00
Laurent Sansonetti
3847d29e31 use lldb if gdb is not present, honor malloc_debug env variable (1 for malloc history debug, 2 for guard malloc) 2013-06-11 20:15:21 +02:00
Laurent Sansonetti
89ef64df1f fix 'rake debug=1' with app name including spaces (OSX) 2013-05-29 19:29:19 +09:00
Laurent Sansonetti
913ae11077 app.sim_args 2013-05-29 19:21:10 +09:00
Watson
3e075d47c5 add a feature which passing the arguments on launching app 2013-05-28 09:29:14 +09:00
Laurent Sansonetti
46a2e3d934 loop over windows 2013-05-07 12:09:36 +02:00
Laurent Sansonetti
30958b210f osx repl: added mouse-over support (experimental) 2013-05-07 03:10:25 +02:00
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