Commit Graph

  • 5bec02a0c0 Merge pull request #8 from jonleighton/jruby_extconf James Coglan 2012-03-12 09:04:31 -07:00
  • 1f40cba2dd skip extconf.rb on jruby Jon Leighton 2012-03-11 11:22:06 +00:00
  • a2b6693921 Remove rbx from the Travis build. James Coglan 2012-03-09 01:28:15 +00:00
  • 6e1e2d4154 Bump version to 0.4.2. James Coglan 2012-03-09 00:58:50 +00:00
  • a439f24744 Fix build on 1.8.7, exclude rbx-19mode. James Coglan 2012-03-07 23:52:12 +00:00
  • b74a1899f5 Bleurgh, exclude some more things from the build to see if we can pass on RBX. James Coglan 2012-03-07 23:43:32 +00:00
  • 4a5a6a9b60 Some JRuby/RBX platform adjustments. James Coglan 2012-03-07 23:39:41 +00:00
  • e8d1efe2cb Correct some JRuby interface stuff -- I was trying to build it with a broken JRuby install before. James Coglan 2012-03-07 22:18:21 +00:00
  • 2055461ad5 Remove IOException from Java extension. James Coglan 2012-03-05 01:02:20 +00:00
  • fed630647d Remove java.lang.System import. James Coglan 2012-03-04 23:54:17 +00:00
  • 2f148eb8bf Put jar file explicitly in the gemspec so that gem will not build without it. James Coglan 2012-03-04 23:45:42 +00:00
  • 9410f1ce17 Catch exceptions from server-side connections closing on JRuby. James Coglan 2012-03-04 23:37:13 +00:00
  • 06de5b2b8d Pick compile task based on the platform. James Coglan 2012-03-04 23:29:41 +00:00
  • 514bb83aaa Include jar file in the gem. James Coglan 2012-03-04 23:27:22 +00:00
  • 213d5f0573 Depend on rake-compiler on all platforms. James Coglan 2012-03-04 23:18:12 +00:00
  • 83059e59b1 Rewrite masking function in Java for JRuby. James Coglan 2012-03-04 23:16:02 +00:00
  • 10d85183c9 Merge branch 'master' into jruby James Coglan 2012-03-03 15:47:55 +00:00
  • 6c2c068761 Use rack_response in the test server. James Coglan 2012-03-03 15:47:47 +00:00
  • 6a415f8925 Fix tests on MRI. James Coglan 2012-03-03 15:40:07 +00:00
  • 890646e565 Catch NullPointerException from send_data when a socket closes on JRuby. James Coglan 2012-03-03 15:33:30 +00:00
  • 0f74259dc8 Adjust tests on JRuby. James Coglan 2012-03-03 15:31:00 +00:00
  • 73479a87c6 Support JRuby without a C extension. Closes #5. Jon Leighton 2012-03-02 19:34:20 +00:00
  • bf97ebedf4 Bump version to 0.4.1. James Coglan 2012-02-26 18:54:12 +00:00
  • ab0da1f8b1 Use the encoding API on Ruby 1.9 to validate UTF-8. Fixes problem loading UTF-8 regex when -Ku flag is used. James Coglan 2012-02-23 01:28:38 +00:00
  • d4b589d4dd Treat numbers as strings when calling Socket#send. James Coglan 2012-02-16 23:15:59 +00:00
  • c5f34d6c08 Whitespace change to make Travis rebuild. James Coglan 2012-02-13 12:41:20 +00:00
  • 288657ce83 Bump version to 0.4.0. James Coglan 2012-02-13 09:17:37 +00:00
  • c54b120d8a Make immediate send on EventSource work. James Coglan 2012-02-13 00:16:09 +00:00
  • 840a118cd5 Only send EventSource ping messages if the user specifies an interval, for symmetry with WebSocket. James Coglan 2012-02-12 23:53:32 +00:00
  • 183e56c770 Don't send WS message on open from the server; this breaks the Autobahn tests. James Coglan 2012-02-12 23:52:12 +00:00
  • b22275ba47 Expose ping API for EventSource. James Coglan 2012-02-11 14:06:01 +00:00
  • 78ceffffb7 Add ping API for server-side WebSocket connections. James Coglan 2012-02-11 13:59:06 +00:00
  • 8a7106e5a2 Implement safe onopen and message buffering for when the handshake is interrupted by a proxy. James Coglan 2012-02-11 13:32:40 +00:00
  • aa0f52271b Show build status in the readme. James Coglan 2012-02-08 21:59:38 +00:00
  • 66f12bdbfe Set encoding correctly. James Coglan 2012-02-08 21:54:34 +00:00
  • 1df9583f31 Make shared examples load first. James Coglan 2012-02-08 21:53:05 +00:00
  • 2f5dd08d51 Travis CI configuration. James Coglan 2012-02-08 21:38:51 +00:00
  • 16f01f2a3a Bump em-rspec. James Coglan 2012-01-29 14:11:30 +00:00
  • 6c1e2d46e2 Bump version to 0.3.0. James Coglan 2012-01-13 21:45:38 +00:00
  • 6be12a06c2 Correct EventSource error handler. James Coglan 2012-01-13 21:25:39 +00:00
  • 88e247c923 Correct variable name in WebSocket example. James Coglan 2012-01-12 22:33:12 +00:00
  • e8ea111c63 Rename objects in app.rb. James Coglan 2012-01-12 19:51:16 +00:00
  • 8792e7c6eb Document the :retry and :ping options for EventSource. James Coglan 2012-01-12 01:42:08 +00:00
  • 031e885e6a Periodically send 'ping' frames to keep the EventSource connection open. James Coglan 2012-01-12 01:23:47 +00:00
  • 90f3884a4b Make sure EventSource retry is written as an integer. James Coglan 2012-01-12 01:10:22 +00:00
  • 44bf2c6e71 Preserve exact line delimiters when framing EventSource messages. James Coglan 2012-01-12 00:59:25 +00:00
  • ba7e011631 Add EventSource documentation. James Coglan 2012-01-12 00:22:47 +00:00
  • b7ae87db02 Remove underscores from a couple methods. James Coglan 2012-01-12 00:03:34 +00:00
  • 4bb4b25063 Take _ out of EventSource source path. James Coglan 2012-01-12 00:00:08 +00:00
  • 2b6270b7bf Replace EM::Connection#web_socket with #socket_stream. James Coglan 2012-01-11 23:57:12 +00:00
  • 72e5b16ff9 Implement close events for EventSource. James Coglan 2012-01-11 23:51:02 +00:00
  • fb89891c42 Handle messages containing line breaks correctly. James Coglan 2012-01-11 23:27:27 +00:00
  • b7fd4c63fc Separate all EventSource lines with CR-LF. James Coglan 2012-01-11 23:24:05 +00:00
  • a6e556674b Implement the event:, id:, and :retry fields for EventSource, and expose the Last-Event-ID sent by the client. James Coglan 2012-01-11 23:21:28 +00:00
  • 0e2772bcbe Make EventSource run on Goliath. James Coglan 2012-01-11 00:44:08 +00:00
  • 33f16bd24d Initial pass at EventSource handler that runs on Thin and Rainbows. James Coglan 2012-01-11 00:14:35 +00:00
  • 1bd72e52a1 Make some adjustments to the WebSocket test page. James Coglan 2012-01-11 00:13:01 +00:00
  • 1de7d2d1c9 Select which adapter to load dynamically from the stored list of constants. James Coglan 2012-01-10 00:26:59 +00:00
  • c1a41fcdc8 Require StringIO. James Coglan 2012-01-09 08:56:48 +00:00
  • 247579b9cb Add running instructions to examples/config.ru. James Coglan 2012-01-09 02:04:11 +00:00
  • 3566e88f6a Remove some text about client versions from the README. James Coglan 2012-01-09 01:52:23 +00:00
  • e617fdf5ab Bump copyright year. James Coglan 2012-01-08 23:08:11 +00:00
  • 3a9d7a9d43 Provide API for selecting which adapter to load. James Coglan 2012-01-08 22:19:48 +00:00
  • 609ea17025 Document usage with Goliath. James Coglan 2012-01-08 22:10:11 +00:00
  • de41f1afef Minimize monkey-patching done to Rainbows. James Coglan 2012-01-08 22:03:29 +00:00
  • 3c78540003 Make Goliath adapter work for draft-76. James Coglan 2012-01-08 21:52:51 +00:00
  • 309aca6bbe Mostly working Goliath adapter. Works for Hybi both with and without HAProxy, doesn't work on draft-76. James Coglan 2012-01-08 21:40:00 +00:00
  • 8b24f04c21 Correct thin start command. James Coglan 2012-01-08 13:57:50 +00:00
  • a929e816e1 Fix a typo in README. James Coglan 2012-01-07 22:05:39 +00:00
  • 0f9be134c4 Reorder the docs to put command-line server APIs first. James Coglan 2012-01-07 16:06:55 +00:00
  • ec8500689a Fix a typo. James Coglan 2012-01-07 16:00:40 +00:00
  • 8686828aad Update documentation for running apps with Thin and Rainbows. James Coglan 2012-01-07 15:57:43 +00:00
  • 2949c0b711 Remove unnecessary coupling to Connection#write from Rainbows adapter; writing can be done through the Rack #each callback. James Coglan 2012-01-07 15:26:15 +00:00
  • 3157147fab Pass request body from draft-76 handshake through the Rainbows adapter. James Coglan 2012-01-07 15:23:23 +00:00
  • 110ac87cd2 Make Rainbows and Thin development dependencies since both are optional. James Coglan 2012-01-07 14:06:26 +00:00
  • 19eeb5ffd2 Include Rainbows server in automated tests. James Coglan 2012-01-07 12:55:17 +00:00
  • 530ce4b71d Initial pass at extracting Rainbows support from Cramp. James Coglan 2012-01-07 12:25:34 +00:00
  • 0cd610eef8 Correct readme on default value of WebSocket#protocol. James Coglan 2011-12-21 19:47:25 +00:00
  • 5df6b9efc4 Update repository location. James Coglan 2011-12-21 17:05:48 +00:00
  • c116498380 Add changelog. James Coglan 2011-12-21 01:31:42 +00:00
  • 301f259811 protocol property should be '' if not set. James Coglan 2011-12-21 01:18:26 +00:00
  • 8db7041a73 Fix arity error when constructing a Draft75Parser. James Coglan 2011-12-21 01:16:33 +00:00
  • ae43945626 Correct example page. James Coglan 2011-12-21 01:13:25 +00:00
  • de4fccbc94 Ignore .bundle files. James Coglan 2011-12-20 22:12:24 +00:00
  • 870c300608 Get rake-compiler to build the gem. James Coglan 2011-12-20 21:55:18 +00:00
  • 0347f5f0b8 Implement the complete frame parsing protocol for draft-75/76. James Coglan 2011-12-20 20:12:37 +00:00
  • 24a944e3d9 Test that parsers are not sensitive to how data is split across packets. James Coglan 2011-12-19 21:40:06 +00:00
  • d88e6cd7bf Rename Protocol8Parser to HybiParser. James Coglan 2011-12-19 21:28:36 +00:00
  • 00fa92e13c Don't use map() to generate masks. James Coglan 2011-12-19 09:59:50 +00:00
  • 43b9e8acdb Concat onto one array rather than creating a new one when a fragment arrives. James Coglan 2011-12-19 08:58:28 +00:00
  • 64f8f1ee5a Remove semicolon from example. James Coglan 2011-12-19 00:25:55 +00:00
  • 5d8666d75f Test WebSocket#protocol method. James Coglan 2011-12-19 00:20:17 +00:00
  • c97548ec8e Update README with subprotocol docs. James Coglan 2011-12-19 00:17:18 +00:00
  • afe1674fea Update examples with subprotocol logic. James Coglan 2011-12-19 00:12:51 +00:00
  • 069d9fa0b6 Add #protocol method to parsers. James Coglan 2011-12-19 00:12:38 +00:00
  • b7a7a643c0 Close on failed handshake with the right code. James Coglan 2011-12-19 00:09:13 +00:00
  • e5fa350112 Implement subprotocol negotiation. James Coglan 2011-12-19 00:05:41 +00:00
  • 2f9a318064 Don't use a loop to build the mask array. James Coglan 2011-12-18 12:59:17 +00:00
  • 092dbcbe33 No tabs. James Coglan 2011-12-18 12:57:36 +00:00
  • 5750e25a07 Cast mask numbers to C ints once. James Coglan 2011-12-18 11:39:19 +00:00