Commit Graph

207 Commits

Author SHA1 Message Date
Eloy Durán
3ffcbe1d54 [REPL] Report relative geometry from sim, taking scale factor out of equation. 2013-11-06 18:25:03 +01:00
Watson
3d1e71de3f execvp() needs launching path in first element of 2nd argument (like main() function's argv) 2013-11-06 13:57:56 +09:00
Watson
f117ee686e use RMTask instead of NSTask to launch lldb for OSX 10.9
Because OSX 10.9's NSTask cannot launch lldb
(This is same issue with http://hipbyte.myjetbrains.com/youtrack/issue/RM-295)
2013-11-06 12:58:04 +09:00
Watson
3386dd113f split the source code for RMTask 2013-11-06 12:57:47 +09:00
Eloy Durán
5653716744 [sim] Recognize 64-bit 4-inch iPhone simulator window. 2013-11-05 19:15:39 +01:00
Eloy Durán
96b3b43c3f [deploy] Only print remote path when installing only. 2013-10-31 16:25:59 +01:00
Eloy Durán
222e832eda [profiler] Print remote path after deploying app to device. 2013-10-31 16:01:16 +01:00
Laurent Sansonetti
a3d1aed7b5 Merge branch 'master' into profiler 2013-10-31 14:16:03 +01:00
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
Eloy Durán
c79a026360 [profiler] Add bin/instruments which launches an app in Instruments.app 2013-10-30 17:33:08 +01:00
Laurent Sansonetti
90f6e7e83c use NSTask to launch osx apps 2013-10-30 12:53:14 +01:00
Laurent Sansonetti
55f1c47e9a support for the mavericks version of gen_bridge_metadata 2013-10-30 00:04:10 +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
Eloy Durán
67c2d173b4 [BS] Make gen_bridge_metadata dump data for blocks that yield blocks. 2013-10-18 17:28:27 +02:00
Eloy Durán
f4dd2a28bf [BS] Add our own bin/gen_bridge_metadata which can monkey-patch original. 2013-10-18 17:27:51 +02:00
Eloy Durán
8ccae2a80a [bin] Make bin executable, so it can be used directly during dev. 2013-10-07 12:03:22 +02:00
Watson
ca0232bf86 Fixed a bug where device log is wrong filtered with `rake device'
If day is 1-9, device log is sent to REPL like the following format.
Oct  3 16:40:38 Watson-no-iPhone Timer[431] <Warning>: Tapped

So,

	NSArray *words = [line componentsSeparatedByString:
	    @" "];

creates the object which has

	words[0] = @"Oct"
	words[1] = @""
	words[2] = @"3"

then date object which is used in filter is wrong.
2013-10-03 16:54:27 +09:00
Eloy Durán
2dba506a19 [Build] No longer hardcode OS X 10.7 SDK root.
Which allows you to build with just the 10.8 SDK.
2013-10-02 17:27:54 +02:00
Watson
a87fcea92b introduce the flag to stop strip in order to debug RubyMotion app 2013-10-01 17:59:55 +09:00
Laurent Sansonetti
702131b227 avoid calling -[NSMutableString appendString:] with a nil argument 2013-09-20 15:36:43 +02:00
Watson
c0635ab7b7 fix a bug where non-ascii characters causes an assertion
http://hipbyte.myjetbrains.com/youtrack/issue/RM-257

'あ' => \U+FFE3
When shift 0xFF (with char type) to the right,
we will retrive 0xFFFFFFFF (with int type).

So we need a mask as 0x0F.
2013-09-16 11:21:02 +09:00
Laurent Sansonetti
ca412676cf no longer need llc 2013-09-09 00:03:35 +02:00
Watson
39a3308fcd add a tool to convert UTF-8 to UTF8-MAC 2013-09-02 14:30:58 +09:00
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