Laurent Sansonetti
edcdf29ed6
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-10-30 23:54:57 +01:00
Laurent Sansonetti
90f6e7e83c
use NSTask to launch osx apps
2013-10-30 12:53:14 +01:00
Laurent Sansonetti
396636f69f
[OSX] fix default lldb commands
2013-10-29 17:51:27 +01:00
Laurent Sansonetti
e7005f1779
[OSX} launch /usr/bin/lldb in case /usr/bin/gdb does not exist
2013-10-29 15:37:54 +01:00
Eloy Durán
ac34d37b06
[sim] Although it's not leaking in practice, add -[RMTask dealloc] nonetheless.
2013-10-28 11:56:19 +01:00
Eloy Durán
e6d56cb167
[10.9] NSTask is unable to launch lldb. Replace with custom task for now.
...
It appears that NSTask was re-written on 10.9 and others have similar
issues as well. E.g. https://devforums.apple.com/message/863811#863811 .
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-295 .
2013-10-25 20:00:53 +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
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
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
Laurent Sansonetti
105a915f3d
mac port
2013-04-25 02:26:56 +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
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
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
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
Laurent Sansonetti
d4255725a3
new env variables for rubymine integration
2012-11-14 00:30:13 +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
120a05b4d6
add builtin commands (pro, pri)
2012-09-20 01:57:38 +02:00
Laurent Sansonetti
d6efc6701f
start gdb in quiet mode
2012-09-15 16:41:36 +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
470af546c4
minor cleanup
2012-07-28 12:32:45 +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
d04b4fe999
better detection of the simulator (for non-english desktops)
2012-05-05 22:57:53 +02:00
Laurent Sansonetti
eb322d8f62
don't make an eval the very first time
2012-03-29 13:04:38 +02:00