Watson
7ade086d20
[sim] clean up around "no_continue"
2014-09-12 22:19:35 +09:00
Watson
a16a66c015
fix a bug where `rake debug=1' freezes lldb with Xcode 6 GM
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-597
if give lldb commands file using "-s" option,
looks like "run" command freezes lldb.
2014-09-12 21:49:07 +09:00
Laurent Sansonetti
8b7faf24e5
build and install the REPL
2014-09-11 16:16:12 +02:00
Laurent Sansonetti
9f7fa0823d
extra logging
2014-09-11 15:56:23 +02:00
Eloy Durán
63926a22c6
[GBM] Generate a tmp file with headers instead of passing all as arguments.
...
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-581 .
2014-09-02 16:34:20 +02:00
Eloy Durán
a7e48f6191
[sim] lololol guy died, long live nyancat HD!
2014-09-01 14:39:27 +02:00
Eloy Durán
9e3b2e11dd
[sim] Ensure that only the main Simulator window is recognised.
...
Ignoring other windows such as an external display.
2014-08-15 16:55:28 +02:00
Eloy Durán
8b0f0da9c5
[sim] Recognise iOS 8 simulator window.
...
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-522 .
2014-08-15 16:29:42 +02:00
Watson
9e0c2b53c2
[iOS8] launch a simulator which match version of SDK
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-557
2014-08-15 16:47:56 +09:00
Watson
b48ff57ac0
load custom LLDB command and user command
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-480
2014-07-14 10:56:17 +09:00
Watson
ef651f7100
not forward signal to LLDB in order to exhibit LLDB prompt
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-532
2014-07-09 16:56:01 +09:00
Eloy Durán
e0f09c546a
[BS] Oops, remove hardcoded disabling of 32-bit metadata.
2014-06-25 11:36:03 +02:00
Eloy Durán
29679ff54a
[BS] Generate no 32-bit annotations for Yosemite.
2014-06-25 11:35:02 +02:00
Watson
2217d16eb8
reduce memory leak which caused by moving mouse cursor
...
So far, REPL prompt was updated via refresh_repl_prompt() even if the mouse cursor was just moved.
And, refresh_repl_prompt() evaluate the expression.
Every REPL expression causes memory leaks. (http://hipbyte.myjetbrains.com/youtrack/issue/RM-392 )
This changing reduces memory leak.
2014-06-09 09:47:46 +09:00
Watson
a6d698fc8c
[sim] be able to select iOS simulator device
2014-06-07 09:18:44 +09:00
Watson
8b7001637a
[sim] fix where detecting Xcode6
...
SimDevice is added since Xcode6.
2014-06-07 09:16:14 +09:00
Laurent Sansonetti
b5641a95a8
fix sim launcher with xcode 6 (thanks watson)
2014-06-03 13:14:28 -07:00
Laurent Sansonetti
f85340a378
locate private framework in SharedFrameworks directory if needed (xcode 6)
2014-06-02 22:28:02 -07:00
Laurent Sansonetti
26e1f4f0c5
fix permission to be executable
2014-05-15 20:04:17 +02:00
Laurent Sansonetti
2c2f87c84b
exit with error code in case we can’t unzip the jar
2014-05-15 20:04:17 +02:00
Laurent Sansonetti
3e90c15f1a
also expand the jar path
2014-05-15 20:04:17 +02:00
Laurent Sansonetti
0965d5dc1e
extract the android BS generator into an executable, use it to generate android.bridgesupport
2014-05-15 20:04:17 +02:00
Eloy Durán
145033f4a4
Revert "fix a bug which simulator use high CPU usage if app cannot respond"
...
This change made normal usage of the REPL when trying to select a view
very slow. Needs a better fix after the 2.25 release.
This reverts commit 5b1398c796 .
Related to http://hipbyte.myjetbrains.com/youtrack/issue/RM-458 .
2014-04-07 18:07:42 +02:00
Watson
5b1398c796
fix a bug which simulator use high CPU usage if app cannot respond
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-458
repl_fd is non-blocking socket.
If app cannot respond with heavy work load,
it caused a infinity loop without waiting in
9d7ac6b8fc/bin/sim.m (L714-L720)
2014-03-31 22:50:22 +09:00
Watson
9d7ac6b8fc
shouldn't use Objective-C literal for 10.7 Lion
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-454
Maybe, Objective-C literal will support 10.8 Mountain Lion or later
2014-03-27 23:16:28 +09:00
Watson
c8493e6800
fix an error in remote debugging if use UTF-8 as app name
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-452
2014-03-27 08:46:54 +09:00
Watson
e755e26d0d
fix indentation
2014-03-25 13:58:37 +09:00
Watson
658471d24b
fix a bug which Xcode5.1 lldb cannot connect to remote debugserver on iOS device
...
Looks like Xcode5.1 lldb no longer create UNIX domain socket using "unix-accept" URI.
So, we passes connected socket to lldb using "fd://".
2014-03-25 13:47:32 +09:00
Watson
6f6ce15d59
fix to be able to exit normally if it cannot connect lldb to remote
...
if deploy command cannot connect lldb to remote,
it causes an infinity loop in where connect to remote.
And lldb will not accept any commands.
2014-03-24 11:08:43 +09:00
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