Commit Graph

333 Commits

Author SHA1 Message Date
Guillermo Rauch
c245cf3eb3 JSON fix for IE 2011-06-14 07:44:38 -03:00
Guillermo Rauch
5706456b08 Build 2011-06-13 12:31:32 -03:00
Guillermo Rauch
f2cad28b93 Added packet buffering capabilities to Socket#packet. 2011-06-13 12:30:53 -03:00
Guillermo Rauch
d5b809d414 Build. 2011-06-13 12:19:18 -03:00
Guillermo Rauch
1e7b4a596d Changed; trigger open in XHR transports right after starting polling. 2011-06-13 12:18:16 -03:00
Guillermo Rauch
7ec45b516a Added; process buffer after opening socket. 2011-06-13 12:17:54 -03:00
Guillermo Rauch
9218020111 Fixed; make sure to send connect packet after opening sub-socket. 2011-06-13 12:13:56 -03:00
Guillermo Rauch
240b2cd094 Added buffer and namespaces data structures initialization to Socket constructor. 2011-06-13 12:13:35 -03:00
Guillermo Rauch
c227426f7e Added Readme clarification. 2011-06-13 03:25:59 -03:00
Guillermo Rauch
f06af4f1a3 Updated build 2011-06-13 03:22:59 -03:00
Guillermo Rauch
8fefeb7bd3 Added missing util#toArray. 2011-06-13 02:25:37 -03:00
Guillermo Rauch
838c5ed6f8 Removed automatic transport opening upon creation. 2011-06-12 21:45:29 -03:00
Guillermo Rauch
80c78de852 Fixed style and added TODO for Transport#onData handling. 2011-06-12 21:44:55 -03:00
Guillermo Rauch
f09ba3ba94 Removed onConnect upon socket open. 2011-06-12 21:34:44 -03:00
Guillermo Rauch
80e9edc6a7 Removed onConnect call in handshake since we now have connect packets for all
namespaces, including `''`.
Changed; style fixes
2011-06-12 21:31:10 -03:00
Guillermo Rauch
d931496aa6 Added missing ACK support to message, json and event packets.
Added ACK handling.
2011-06-12 21:30:14 -03:00
Guillermo Rauch
50640cd571 Added ack function to SocketNamespace packet handling. 2011-06-12 21:29:47 -03:00
Guillermo Rauch
ae3be33977 Fixed SocketNamespace signature. 2011-06-12 21:29:06 -03:00
Guillermo Rauch
138a6fb2ae Changed; perform default host/port setting in io#connect. 2011-06-12 21:27:19 -03:00
Guillermo Rauch
addf31ab26 Adapted client encoder/decoder for event spec change. 2011-06-11 18:10:38 -03:00
Guillermo Rauch
d3916bcfca Clarified style license 2011-06-09 13:53:31 -03:00
Guillermo Rauch
1b70eb186a Added express app to perform browser testing. 2011-06-09 13:31:56 -03:00
Guillermo Rauch
5686f42af4 Added symlink to lib/io by the name of the project. 2011-06-09 13:31:27 -03:00
Guillermo Rauch
696869643f Added node_modules to gitignore 2011-06-09 13:31:14 -03:00
Guillermo Rauch
822c90bcde Added my own adapted version of should.js that works on the browser and doesn't rely
on getters, but a tree of objects.
2011-06-09 13:30:36 -03:00
Guillermo Rauch
629f2a189d Added new common.js tests (expresso-like), with browser-compliant should(). 2011-06-09 13:30:13 -03:00
Guillermo Rauch
579d816bac Removed old qunit tests. 2011-06-09 13:30:01 -03:00
Guillermo Rauch
d0b59ec0fc Added devDependencies to package.json 2011-06-09 13:28:59 -03:00
Guillermo Rauch
debafe5a54 Fixed io.util.request.
Removed fixed 80 port for node (must review this).
2011-06-09 13:28:19 -03:00
Guillermo Rauch
582c233a39 Fixed typo. 2011-06-09 13:28:07 -03:00
Guillermo Rauch
8a11d1adf8 Added server-side test running to Makefile. 2011-06-09 13:27:51 -03:00
Guillermo Rauch
e2476be2c7 Added support to npmignore 2011-06-09 13:27:40 -03:00
Guillermo Rauch
4f18b59737 Added test runner node_modules to gitignore 2011-06-09 13:27:29 -03:00
Guillermo Rauch
e05b9ce990 Added other necessary io public properties. 2011-06-08 20:49:46 -03:00
Guillermo Rauch
c004ec92ba Changed; package.json now server-side *and* browserify compatible. 2011-06-07 20:14:18 -03:00
Guillermo Rauch
294d55a43f Implemented dist/ directory in builder. 2011-06-07 20:14:09 -03:00
Guillermo Rauch
e34906c650 Added dist/ directory. 2011-06-07 19:29:45 -03:00
Guillermo Rauch
8438dcf309 Adjusted package.json 2011-06-07 19:12:55 -03:00
Guillermo Rauch
49c0a0e7e8 Added .npmignore 2011-06-07 17:56:35 -03:00
Guillermo Rauch
a9573b061f Added .gitignore 2011-06-07 17:56:24 -03:00
Guillermo Rauch
15fefa0664 Changed; Transport#send is now only concerned with strings. 2011-06-07 17:13:18 -03:00
Guillermo Rauch
688497239f Changed; style fixes. 2011-06-07 17:13:08 -03:00
Guillermo Rauch
631ad0ddad Added Transport#packet.
Changed; Transport#onHeartbeat now leverages Transport#Packet.
2011-06-07 17:12:41 -03:00
Guillermo Rauch
56c67784d4 Added Socket#packet.
Removed Socket#send.
2011-06-07 17:11:54 -03:00
Guillermo Rauch
caa61e1f60 SocketNamespace#packet now calls Socket#packet. 2011-06-07 17:11:39 -03:00
Guillermo Rauch
2ccda648b4 Removed old tests location. 2011-06-07 17:00:48 -03:00
Guillermo Rauch
4df16105b1 Merge pull request #174 from 3rd-Eden/develop
Heartbeats and connect
2011-06-07 12:19:52 -07:00
Arnout Kazemier
5be17ed500 Connect event should now fire again.. 2011-06-07 21:15:22 +02:00
Arnout Kazemier
343779bb1b Don't double encode.. Removed .packet and just updated heartbeat to do a .send instead 2011-06-07 20:53:06 +02:00
Arnout Kazemier
87e8f7888e Fixed missing .packet method 2011-06-06 22:41:04 +02:00