Commit Graph

122 Commits

Author SHA1 Message Date
Guillermo Rauch
4d0d06f771 Cleaned up WS#uri 2011-12-23 12:02:31 -08:00
Guillermo Rauch
89f017579d Added Polling#uri 2011-12-23 11:55:09 -08:00
Guillermo Rauch
f28b6c84aa Fixed Polling#write 2011-12-23 11:54:52 -08:00
Guillermo Rauch
b1e46b0ce9 Fixed writeMany 2011-12-23 11:54:22 -08:00
Guillermo Rauch
238d10645a Changing write signature 2011-12-23 11:53:29 -08:00
Guillermo Rauch
648cb5b6e3 Fixed comment 2011-12-23 11:53:13 -08:00
Guillermo Rauch
1727950a72 Changing write signature 2011-12-23 11:53:00 -08:00
Guillermo Rauch
973ff5cba1 Added probe qs component to probes. 2011-12-23 11:21:53 -08:00
Guillermo Rauch
eebd224afe Added extra query parameters support to createTransport 2011-12-23 11:21:31 -08:00
Guillermo Rauch
e9d8de6e89 Changed query option type. 2011-12-23 11:20:44 -08:00
Guillermo Rauch
152fdd9864 Fixed transport initialization. 2011-12-22 15:46:40 -08:00
Guillermo Rauch
242c4b0e84 Make tests depende on the engine.io-dev build. 2011-12-22 15:24:17 -08:00
Guillermo Rauch
5d862d846d Implemented JSONP#write. 2011-12-22 15:23:56 -08:00
Guillermo Rauch
4b7e0457b2 Removed query util dependency. 2011-12-22 15:23:38 -08:00
Guillermo Rauch
013220a26c Detach form (POST) upon close in JSONP 2011-12-22 15:22:59 -08:00
Guillermo Rauch
56fc7788e4 Corrected global. 2011-12-22 15:16:52 -08:00
Guillermo Rauch
6e335dab42 Reorganized locals in JSONp transport. 2011-12-22 15:16:24 -08:00
Guillermo Rauch
8a43545557 Keep reference to sendXHR. Removed unneeded self 2011-12-22 15:15:25 -08:00
Guillermo Rauch
009715bbcb Instrumented all remaining Socket methods. 2011-12-22 15:15:06 -08:00
Guillermo Rauch
10e8f1be8b Instrumented onMessage and removed unnecessary open handler. 2011-12-22 15:14:15 -08:00
Guillermo Rauch
67f6c4c917 Added missing flush call onOpen. 2011-12-22 15:14:04 -08:00
Guillermo Rauch
dc66e2cdce Added instrumentation to Socket#probe 2011-12-22 15:13:50 -08:00
Guillermo Rauch
6b6f8486cb Listen on open Transport event. 2011-12-22 15:13:26 -08:00
Guillermo Rauch
24c73a4892 Sanity check: clear all events from previous transport in setTransport. 2011-12-22 15:12:58 -08:00
Guillermo Rauch
d791115264 Added instrumentation to createTransport. 2011-12-22 15:12:41 -08:00
Guillermo Rauch
eaff499fc8 Expose jsonp callbacks. 2011-12-22 15:12:17 -08:00
Guillermo Rauch
3782162999 Changed target output ifle for build-dev 2011-12-21 17:52:58 -08:00
Guillermo Rauch
82dde3e855 Added build-dev task with instrumentation 2011-12-21 17:47:17 -08:00
Guillermo Rauch
7904c477ef Changed test title 2011-12-21 17:40:56 -08:00
Guillermo Rauch
dd72cdacb0 Added parser tests. 2011-12-21 14:54:25 -08:00
Guillermo Rauch
464d25107f Added browser test support files 2011-12-21 14:54:16 -08:00
Guillermo Rauch
b732b8b8ae Added test-browser task 2011-12-21 14:48:36 -08:00
Guillermo Rauch
46008bd6ef Added serve to package.json 2011-12-21 14:48:20 -08:00
Guillermo Rauch
95176a08be Potential speedup? 2011-12-21 14:41:58 -08:00
Guillermo Rauch
103f851120 Refactored/reposition build make task. 2011-12-21 14:41:44 -08:00
Guillermo Rauch
9c0de9b43d Renamed main test. 2011-12-21 14:34:28 -08:00
Guillermo Rauch
9fceb20d8e Allow for no packet payloads and fixed packet decoding within payloads. 2011-12-21 14:13:21 -08:00
Guillermo Rauch
e6260afe2e Disallow empty payload messages. 2011-12-21 14:12:53 -08:00
Guillermo Rauch
fc6273f8a0 Allow for empty payloads. Only for consistency, we never should send empty payloads. 2011-12-21 14:12:18 -08:00
Guillermo Rauch
736d509963 Allow for empty data (different from _no_ data). 2011-12-21 14:11:54 -08:00
Guillermo Rauch
94d305954c Avoid potentially slow error lookups and make sure you can't use constructor
as a packet type.
2011-12-21 13:29:24 -08:00
Guillermo Rauch
0531a2c9fa Improved packet decoding speed and reliability. 2011-12-21 13:28:05 -08:00
Guillermo Rauch
484ec34cc1 Cast single packet type indexes to string. 2011-12-21 13:24:36 -08:00
Guillermo Rauch
5e3a2b368f Fixed; encodePacket accepts a packet object now. 2011-12-21 11:09:24 -08:00
Guillermo Rauch
25773618fa Payload parser now operates strictly on packets. 2011-12-21 11:03:52 -08:00
Guillermo Rauch
7e635ebf49 Added comment 2011-12-21 10:59:41 -08:00
Guillermo Rauch
fb73162d25 Fixed decodePayload to assume decoded packets. 2011-12-21 10:59:11 -08:00
Guillermo Rauch
32aeda0dfa Fixed doClose JSONP override. 2011-12-21 10:58:29 -08:00
Guillermo Rauch
24d69ebb00 Fixed xhr polling doClose override. 2011-12-21 10:55:06 -08:00
Guillermo Rauch
bdc44b33b9 Make Socket inherit from EventEmitter. 2011-12-21 10:54:42 -08:00