Laurent Sansonetti
0e6228a545
add magic encoding comments
2014-03-05 13:07:38 +01:00
Eloy Durán
04bc042223
[sim] Don't make the sim app active when background_fetch=1.
2014-03-03 15:39:09 +01:00
Eloy Durán
5c559dff61
[sim] Leave warning the user up to the REPL itself.
2014-03-03 14:53:54 +01:00
Eloy Durán
97bdfba465
[sim] Add background_fetch env var to launch iOS app in background.
...
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-340
2014-02-27 18:33:28 +01:00
Eloy Durán
753d7eb1ae
[sim] Only get window metrics for the REPL if the (sim) app is active.
...
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-387
2014-02-27 17:11:08 +01:00
Eloy Durán
086d232ba0
[REPL/OSX] Make it work when codesigned and sandboxed.
...
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-410
2014-02-04 14:13:43 +01:00
Eloy Durán
fea2150aae
[Command] Deprecate Motion::Project::Command, long live Motion::Command!
...
Some of our commands are not related to ‘a project’ at all, so the
namespacing felt incorrect, but this also helps greatly for the
transition process. I.e. old command plugins will inherit from the
deprecated class and still work and we get to re-use the `Command` name.
2014-01-20 17:56:14 +01:00
Eloy Durán
86c2914a44
[command] Change base class to use CLAide::Command.
2014-01-20 17:56:13 +01:00
Eloy Durán
f6b145b495
[sim] Get simulated app PID as int instead of NSNumber.
...
Related to http://hipbyte.myjetbrains.com/youtrack/issue/RM-365
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-371
2014-01-06 12:40:34 +01:00
Laurent Sansonetti
7fd4914694
capitalize
2014-01-02 11:57:56 +01:00
Laurent Sansonetti
9f4d9e01c7
add 'rake crashlog:device' task, wording/UX is still a work in progress
2013-12-29 19:55:48 +01:00
Laurent Sansonetti
bd8536dbcc
libmacruby -> librubymotion
2013-12-24 18:25:19 +01:00
Laurent Sansonetti
befb73f73d
better message
2013-12-21 11:46:31 +01:00
Watson
9bf407e413
[sim] display message instead of assert with Xcode 4
2013-12-21 11:36:23 +09:00
Eloy Durán
12cf8353fe
[sim] Get simulated app PID as int instead of NSNumber.
...
Related to http://hipbyte.myjetbrains.com/youtrack/issue/RM-365
2013-12-20 15:09:53 +01:00
Eloy Durán
6b75ce9014
[sim] Make app launch again with Xcode 5.1.
...
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-365
2013-12-20 15:09:42 +01:00
Laurent Sansonetti
b2b53228d6
run all LLDB debugger commands in synchronous mode: this is VERY important as we don’t want to run ANY command on the default LLDB debugger object in async mode, otherwise the state of the objects will not be properly updated when we receive commands from the GDB server on the device
2013-11-19 20:10:06 +01:00
Laurent Sansonetti
0ad5c6454f
debug logging, hope we will not have to use that any time soon
2013-11-19 20:10:06 +01:00
Laurent Sansonetti
8210a5731b
increase socket buffer size so that we can read most (all?) of the gdb server replies in one shot, for better performance
2013-11-19 20:10:06 +01:00
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