Commit Graph

282 Commits

Author SHA1 Message Date
Arnout Kazemier
c35b8405d1 use indexOf instead of array.indexOf because thats not supported in IE 2011-06-18 22:28:30 +02:00
Arnout Kazemier
2d84ede3e4 don't emit errors when we are reconnecting 2011-06-18 22:17:33 +02:00
Guillermo Rauch
7f5e870b6e Default port to 443 in node 2011-06-18 15:22:16 -03:00
Guillermo Rauch
2b9b5493d0 Fixed; made removeAllListeners behavior with no arguments consistent between
browser and node 0.4.
2011-06-18 13:37:34 -03:00
Arnout Kazemier
4a17931d37 Merge branch 'master' of https://github.com/LearnBoost/Socket.IO into develop
Conflicts:
	dist/socket.io.js
	dist/socket.io.min.js
2011-06-18 16:56:51 +02:00
Guillermo Rauch
2c0f966728 Added default port as 443 if the port is specified but the uri protocol is secure
and the page is not being transmitted over SSL.
2011-06-18 11:30:24 -03:00
Arnout Kazemier
fc4b8c382e Include flashsocket above the websocket fallback so we can disable the
AUTO-INITIALIZE before the code gets executed, preventing a double init call
2011-06-18 16:18:22 +02:00
Guillermo Rauch
fe2ae1fa6c Fixed situation where there's a location.port but we're using https://, in which
case we want to do 443.
2011-06-18 11:09:54 -03:00
Arnout Kazemier
6a9207369c Added flashsocket to the /transports.
The transport check now sends the socket instance so we can leverage methods
of that inside the check.
Updated the builder to also include flashsocket
2011-06-18 16:07:05 +02:00
Arnout Kazemier
9a98a3ed21 Merge branch 'master' of https://github.com/LearnBoost/Socket.IO into develop 2011-06-18 01:19:57 +02:00
Guillermo Rauch
86b48908ce Whitespace fix 2011-06-17 19:33:12 -03:00
Arnout Kazemier
a67e909a0a Removed console.log 2011-06-17 22:39:41 +02:00
Guillermo Rauch
d203aea337 Changed; made framing shorter for json-p iframe POST. 2011-06-17 14:54:58 -03:00
Arnout Kazemier
ee7d4e6a9f better websocket detection + sniffing for WebSocket fallback 2011-06-17 11:19:47 +02:00
Arnout Kazemier
6ff99cd9f5 Merge branch 'master' of https://github.com/LearnBoost/Socket.IO into develop 2011-06-17 11:08:13 +02:00
Guillermo Rauch
b69d5e5ccb Fixed opera stateChange() 2011-06-17 01:52:13 -03:00
Arnout Kazemier
96a45713bc Merge branch 'master' of https://github.com/LearnBoost/Socket.IO into develop 2011-06-16 22:29:19 +02:00
Guillermo Rauch
27325a56a7 Fix for op precedence. 2011-06-16 16:37:09 -03:00
Guillermo Rauch
c6bdadcf05 Fixed XHR on opera. 2011-06-16 16:02:58 -03:00
Guillermo Rauch
67980da371 Removed unneeded check. 2011-06-16 16:02:42 -03:00
Guillermo Rauch
49c532f6bb Fixed style (85 cols). 2011-06-16 15:50:18 -03:00
Guillermo Rauch
e47c94bdd2 Changed; delete reference to function upon ack. 2011-06-16 15:49:22 -03:00
Guillermo Rauch
ef3ab9bd15 Fixed #125. Weird error on IE8 under certain circumstances. 2011-06-16 15:35:10 -03:00
Arnout Kazemier
fda43153c9 Don't error if the io.connect() is called multiple times 2011-06-15 20:27:06 +00:00
Arnout Kazemier
cad92b900a Emit changes using one single method to both Socket and all namespaces 2011-06-15 21:51:27 +02:00
Arnout Kazemier
f84c4d51b3 Handle onConnect 2011-06-15 21:49:46 +02:00
Arnout Kazemier
72af658510 Merge branch 'master' of https://github.com/LearnBoost/Socket.IO into develop
Conflicts:
	dist/socket.io.min.js
2011-06-15 20:00:46 +02:00
Guillermo Rauch
c245cf3eb3 JSON fix for IE 2011-06-14 07:44:38 -03:00
Arnout Kazemier
b525871a97 Merge branch 'master' of https://github.com/LearnBoost/Socket.IO into develop
Conflicts:
	dist/socket.io.js
2011-06-13 19:14:54 +02:00
Arnout Kazemier
c151b78fc6 Merge branch 'develop' of https://github.com/LearnBoost/Socket.IO into develop
Conflicts:
	dist/socket.io.js
	dist/socket.io.min.js
2011-06-13 19:10:59 +02:00
Guillermo Rauch
f2cad28b93 Added packet buffering capabilities to Socket#packet. 2011-06-13 12:30:53 -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
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
Arnout Kazemier
605e92b8e1 Made the io.tranports dynamic based on the transports that are available 2011-06-09 21:17:05 +02:00
Arnout Kazemier
aef8ed5409 Merge branch 'develop' of https://github.com/LearnBoost/Socket.IO into develop
Conflicts:
	Makefile
	test/index.html
2011-06-09 19:44:12 +02: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
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