Commit Graph
57 Commits
Author SHA1 Message Date
James Coglan 110ac87cd2 Make Rainbows and Thin development dependencies since both are optional. 2012-01-07 14:06:26 +00:00
James Coglan 19eeb5ffd2 Include Rainbows server in automated tests. 2012-01-07 12:55:17 +00:00
James Coglan 530ce4b71d Initial pass at extracting Rainbows support from Cramp. 2012-01-07 12:25:34 +00:00
James Coglan 0cd610eef8 Correct readme on default value of WebSocket#protocol. 2011-12-21 19:47:25 +00:00
James Coglan 5df6b9efc4 Update repository location. 2011-12-21 17:06:12 +00:00
James Coglan c116498380 Add changelog. 2011-12-21 01:31:42 +00:00
James Coglan 301f259811 protocol property should be '' if not set. 2011-12-21 01:18:26 +00:00
James Coglan 8db7041a73 Fix arity error when constructing a Draft75Parser. 2011-12-21 01:16:33 +00:00
James Coglan ae43945626 Correct example page. 2011-12-21 01:13:25 +00:00
James Coglan de4fccbc94 Ignore .bundle files. 2011-12-20 22:12:56 +00:00
James Coglan 870c300608 Get rake-compiler to build the gem. 2011-12-20 21:55:18 +00:00
James Coglan 0347f5f0b8 Implement the complete frame parsing protocol for draft-75/76. 2011-12-20 20:12:37 +00:00
James Coglan 24a944e3d9 Test that parsers are not sensitive to how data is split across packets. 2011-12-19 21:40:06 +00:00
James Coglan d88e6cd7bf Rename Protocol8Parser to HybiParser. 2011-12-19 21:28:54 +00:00
James Coglan 00fa92e13c Don't use map() to generate masks. 2011-12-19 09:59:50 +00:00
James Coglan 43b9e8acdb Concat onto one array rather than creating a new one when a fragment arrives. 2011-12-19 08:58:28 +00:00
James Coglan 64f8f1ee5a Remove semicolon from example. 2011-12-19 00:25:55 +00:00
James Coglan 5d8666d75f Test WebSocket#protocol method. 2011-12-19 00:20:17 +00:00
James Coglan c97548ec8e Update README with subprotocol docs. 2011-12-19 00:17:18 +00:00
James Coglan afe1674fea Update examples with subprotocol logic. 2011-12-19 00:12:51 +00:00
James Coglan 069d9fa0b6 Add #protocol method to parsers. 2011-12-19 00:12:38 +00:00
James Coglan b7a7a643c0 Close on failed handshake with the right code. 2011-12-19 00:09:13 +00:00
James Coglan e5fa350112 Implement subprotocol negotiation. 2011-12-19 00:05:41 +00:00
James Coglan 2f9a318064 Don't use a loop to build the mask array. 2011-12-18 12:59:17 +00:00
James Coglan 092dbcbe33 No tabs. 2011-12-18 12:57:36 +00:00
James Coglan 5750e25a07 Cast mask numbers to C ints once. 2011-12-18 11:39:19 +00:00
James Coglan 204cae5126 Rake tasks for compiling the extension. 2011-12-18 11:29:33 +00:00
James Coglan 7368f4edef Include C extension in the gem. 2011-12-18 11:24:12 +00:00
James Coglan 7f4880fd0e Rewrite masking routine in C. 2011-12-18 10:48:57 +00:00
James Coglan 8e4c6810a6 Change package description. 2011-12-18 09:21:34 +00:00
James Coglan 5597932c84 Closing codes should be masked. 2011-12-18 08:33:58 +00:00
James Coglan 458fd62357 Rewrite Protocol8Parser#frame. 2011-12-17 19:20:17 +00:00
James Coglan 5e84debaa3 Improve protocol-8 parser performance by reading in chunks rather than byte-by-byte. 2011-12-17 18:57:51 +00:00
James Coglan a07e6c4741 Inline a draft-75 parsing function. 2011-12-17 17:51:06 +00:00
James Coglan 82e41ed58a Move Protocol8Parser::Handshake into its own file. 2011-12-17 17:33:14 +00:00
James Coglan 61aec35401 Bump version to 0.1.2. 2011-12-05 09:40:25 +00:00
James Coglan 7f88e28ba5 Fix draft-76 sockets when running behind HAProxy. 2011-12-04 21:32:58 +00:00
James Coglan 3bf33f5080 Bump version to 0.1.1. 2011-11-30 00:58:45 +00:00
James Coglan 4dbdef4c05 Change example back to using onmessage. 2011-11-29 21:09:08 +00:00
James Coglan 66d015662e Use add_event_listener in the tests. 2011-11-29 21:03:52 +00:00
James Coglan 58e369fbfd Fix add_event_listener interface. 2011-11-29 13:12:58 +00:00
James Coglan fff8f6dc30 Tweak README examples. 2011-11-27 02:34:01 +00:00
James Coglan f4ea6b3557 Include links to relevent API specs. 2011-11-27 02:21:09 +00:00
James Coglan 0eec6f57dd Adjust client example to get URL from the socket object. 2011-11-26 19:10:19 +00:00
James Coglan b439f92a83 Remove the Publisher mixin. 2011-11-26 18:23:08 +00:00
James Coglan 3b83de82a0 Fix the browser test page. 2011-11-24 23:44:08 +00:00
James Coglan 2666093d03 Add HTML test page. 2011-11-24 19:11:02 +00:00
James Coglan 8603b342b7 README tweaks. 2011-11-22 19:18:43 +00:00
James Coglan 87cd1e875f Add SSL capability to examples. 2011-11-22 19:05:20 +00:00
James Coglan 443a0cb356 Test TLS connections. 2011-11-22 18:58:49 +00:00