Commit Graph

7693 Commits

Author SHA1 Message Date
Guillermo Rauch
50413024bc Adapted jsonp-polling tests. 2011-06-11 16:41:51 -03:00
Guillermo Rauch
19c62c1f7b Fixed; force disconnection can still happen even with temporarily closed transports. 2011-06-11 16:41:28 -03:00
Guillermo Rauch
1e50ac91b9 Removed re-used socket transport validation concept, as it might mis-authorizse a socket
when more than one io.Socket is used in a browser.
2011-06-11 16:40:05 -03:00
Guillermo Rauch
a5a7ec4dbd Adapted websocket tests for connect packet. 2011-06-10 18:16:37 -03:00
Guillermo Rauch
b9e138dc34 Added optimization to write one buffer.
Fixed bug where relying on the `drain` event when there's nothing to drain would
prevent volatile messages from ever being sent.
Added websocket write instrumentation.
2011-06-10 18:14:31 -03:00
Guillermo Rauch
3a22ab097e Adapted htmlfile tests. 2011-06-10 12:07:37 -03:00
Guillermo Rauch
13e9727e5c Remove connection event upon socket initialization, this is now handled by the Manager. 2011-06-10 12:06:55 -03:00
Guillermo Rauch
9087d32c74 Make sure to resume() as soon as the count is registered.
Echo back connect packet upon first connection.
2011-06-10 12:03:55 -03:00
Guillermo Rauch
50f6645e0b Renamed Manager#for with Manager#of in tests. 2011-06-09 19:46:44 -03:00
Guillermo Rauch
bcb00306b2 Renamed Manager#for with Manager#of. 2011-06-09 19:46:31 -03:00
Guillermo Rauch
81dd623773 Renamed Manager#for with Manager#of in examples. 2011-06-09 19:46:09 -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
ed9dae89a6 moved builder tests 2011-06-09 20:30:54 +02:00
Arnout Kazemier
f0e57b86c4 Added builder again 2011-06-09 19:46:04 +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
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
Arnout Kazemier
651dbda054 Updated the io to include the builder
Updated Make file to do node bin/builder.js
2011-06-09 14:49:27 +02:00
Guillermo Rauch
a4cac1e423 Fixed client serving once it's been cached.
Fixed style.
2011-06-09 08:49:15 -03:00
Guillermo Rauch
f306870246 Added failing test: serving the client once it's been cached. 2011-06-09 08:49:02 -03:00
Guillermo Rauch
4db20e870a Added client require to manager.js
Removed clientVersion access from parent exports.
2011-06-09 08:31:15 -03:00
Guillermo Rauch
9cf9f1e9e0 Point to client.dist to access dist/ directory location. 2011-06-09 08:15:35 -03:00
Arnout Kazemier
e113083bfa Updated the make file to run a the test suite 2011-06-09 10:43:23 +02:00
Arnout Kazemier
a42496dd3c Added test suite for the builder 2011-06-09 10:35:11 +02:00
Arnout Kazemier
6dd7120b71 Moved the comment block for node inside the ifstatement, so it get's removed after compilation 2011-06-09 10:13:50 +02:00
Arnout Kazemier
d2d6558f8f Fixed the test suite again after someone, *cough* @rauchg *cough* delete all the qunit files and moved the files to a /dist folder 2011-06-09 10:06:05 +02:00
Arnout Kazemier
32a112bb87 Added the builder to the make file,
updated the builder to choose if we want to remove // node if statements
updated to the new file locations
disabled unfinished transports, need to be re-enabled once they are completed
2011-06-09 09:58:12 +02:00
Arnout Kazemier
8ddca3b7af Added builder 2011-06-09 09:47:58 +02:00
Guillermo Rauch
e05b9ce990 Added other necessary io public properties. 2011-06-08 20:49:46 -03:00
Guillermo Rauch
e8640d6713 Changed; leveraged npm socket.io-client module from io. 2011-06-07 20:15:33 -03:00
Guillermo Rauch
c007ab89f9 Added node_modules to gitignore 2011-06-07 20:15:17 -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
a4568290a6 Changed package.json
- added socket.io-client dependency
- added homepage
2011-06-07 19:10:14 -03:00
Guillermo Rauch
35e1d9b0f6 Removed old client. 2011-06-07 19:06:24 -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