1
0
Fork 0
mirror of https://github.com/teampoltergeist/poltergeist.git synced 2022-11-09 12:05:00 -05:00
Commit graph

11 commits

Author SHA1 Message Date
Jon Leighton
74da42ff87 use a NetworkTraffic namespace 2012-07-02 23:51:13 +01:00
Doug McInnes
fb9eac669d use separate request and response objects 2012-06-14 11:50:26 -07:00
Doug McInnes
30360aef92 NetworkTraffic model 2012-06-07 11:49:38 -07:00
Tom Stuart
daf9b6f12f Pull MultiJSON feature-switching out 2012-05-31 13:53:40 +01:00
Jon Leighton
98c3bb564f Remove posix-spawn dependency.
posix-spawn relies on a C extension. This does work under JRuby, but it
won't work on Travis CI as they disallow JRuby C extensions, as they are
considered to not be a good practice.

Instead we are using either Process.spawn on Ruby 1.9, or the
childprocess gem on Ruby 1.8. childprocess uses native JVM APIs on
JRuby, and fork+exec on others.
2012-03-11 10:35:02 +00:00
Jon Leighton
8d9b224de1 Extract inspector code to a separate class. Implement Driver#debug and Driver#pause methods for using inspector. 2012-02-29 00:02:43 +00:00
Jon Leighton
91d6198523 Experimental remote debugger support. 2012-02-25 12:47:18 +00:00
Jon Leighton
34af795960 Stop using EventMachine for WebSocket server.
Using EventMachine was causing issues when run alongside Thin.

In general running the event loop is quite slow, presumably because it
is mostly spinning idly wasting cycles (unsure). We were mitigating
this by stopping the thread when it wasn't needed, but this is
incorrect when Thin is also running.

Implemented WebSocket server using raw TCP sockets and a WebSocket
parser provided by faye-websocket. This is faster and neater and removes
the need to dick around with threads.

Fixes #6.
2012-01-13 14:34:36 +00:00
Jon Leighton
c5a964c9a8 Detect if the phantomjs client has died, raise an error, and restart it. 2011-10-30 22:48:56 +00:00
Jon Leighton
8745b8bcce Move TimeoutError up a namespace level, and fix the message 2011-10-30 19:02:37 +00:00
Jon Leighton
76fe32debd omg 2011-10-27 23:34:14 +01:00