Laurent Sansonetti
cee7f2d260
xcode also sends this command, so we do too…
2013-11-15 14:40:07 +01:00
Laurent Sansonetti
a6e230cea1
send the appropriate command to configure symbol search paths
2013-11-15 14:39:32 +01:00
Laurent Sansonetti
76761b139d
code format
2013-11-15 14:33:14 +01:00
Laurent Sansonetti
163590dff9
print a warning message in case the device support directory doesn’t have symbols, as it will slow down the debugger
2013-11-15 14:32:54 +01:00
Laurent Sansonetti
72b25c11b5
better device support directory selection, we will select the directory that matches exactly the version of iOS the device is running in priority over other directories
2013-11-15 14:31:54 +01:00
Eloy Durán
a607e6fa52
[analyzer] Use CC and CXX env variables if set.
2013-11-12 22:10:41 +01:00
Eloy Durán
da14a8b0eb
[REPL] Use DEBUG_SIM_WINDOW_OFFSETS to print what sim is recognized.
2013-11-11 17:40:45 +01:00
Eloy Durán
80fd09c608
[REPL] Document inset macro.
2013-11-09 01:42:18 +01:00
Eloy Durán
2250d3ca46
[REPL] Properly name inset macro.
2013-11-09 01:38:27 +01:00
Eloy Durán
07c17769ef
[REPL] Cover devices I can test on non-retina mac and handle landscape.
2013-11-09 01:34:56 +01:00
Eloy Durán
c7688dd2ff
[REPL] No longer ask user to scale to 50% in Retina mode.
2013-11-08 18:52:49 +01:00
Eloy Durán
dceb65c6f2
[REPL] Take orientation into account when offsetting thick borders.
2013-11-08 18:36:59 +01:00
Eloy Durán
1c151523d7
Merge branch 'master' into repl
2013-11-08 13:28:15 +01:00
Eloy Durán
2e9f7d0495
[REPL] Apply proper insets for all thick borders except iPad Retina.
2013-11-07 19:27:53 +01:00
Eloy Durán
350a3a09f8
[REPL] Recognize thick borders for all devices except iPad Retina.
2013-11-07 18:51:40 +01:00
Eloy Durán
c192ddb154
Small cleanup.
2013-11-07 16:57:10 +01:00
Eloy Durán
4f0b155741
[REPL] Always update windows bounds in sim.
...
This ensures the user can switch the iOS device scale without having to
restart the REPL.
2013-11-07 16:54:22 +01:00
Watson
e64429b580
ignore SIGINT within select() in order to forward to lldb
...
if accept SIGINT within select(),
it will create zombie process of lldb.
2013-11-07 13:17:21 +09:00
Watson
eb6572a9c5
exit a loop if read() returns 0 because socket might be closed
...
related to http://hipbyte.myjetbrains.com/youtrack/issue/RM-309
This will fix a freeze when terminate lldb with "quit" command
2013-11-07 12:56:45 +09:00
Watson
45cfdfc2b4
build for debug if set DEBUG environment variable
2013-11-07 12:35:09 +09:00
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