Commit Graph

7693 Commits

Author SHA1 Message Date
Guillermo Rauch
95025dcf97 Added flash socket globals to globals whitelist. 2011-06-18 15:35:35 -03:00
Guillermo Rauch
34634edf31 Fixed error handling. 2011-06-18 15:35:21 -03:00
Guillermo Rauch
1eba604dc1 Refactored if node static analysis test. 2011-06-18 15:34:18 -03:00
Guillermo Rauch
515e1e500b Leveraged better should idioms. 2011-06-18 15:33:43 -03:00
Guillermo Rauch
6a72bd17f9 Fixed error handling (to test for null).
Leveraged `should.strictEqual`.
2011-06-18 15:32:51 -03:00
Guillermo Rauch
962b31d6ab Removed legacy tests. 2011-06-18 15:31:59 -03:00
Guillermo Rauch
cb944140ef Removed assert dependency from builder test.
Added should dependency.
2011-06-18 15:30:41 -03:00
Guillermo Rauch
7e176219ee Fixed style in builder common file. 2011-06-18 15:29:23 -03:00
Guillermo Rauch
ea468d922b Fixed should Assertion#contain. 2011-06-18 15:28:53 -03:00
Arnout Kazemier
dba93a1bb3 lib/ 2011-06-18 20:28:13 +02:00
Guillermo Rauch
24d1236097 Fix should exports in require with workaround. 2011-06-18 15:24:48 -03:00
Guillermo Rauch
dd12179756 Fixed order of exports for node in should. 2011-06-18 15:22:53 -03:00
Guillermo Rauch
7f5e870b6e Default port to 443 in node 2011-06-18 15:22:16 -03:00
Guillermo Rauch
ef1e6e4283 Fixed; default error to null instead of undefined.
TODO: fix style.
2011-06-18 15:21:43 -03:00
Arnout Kazemier
567140e183 -- console.dir 2011-06-18 20:15:55 +02:00
Arnout Kazemier
b1837f348e Improved static serving of content 2011-06-18 20:14:58 +02:00
Guillermo Rauch
d6b45929d7 Added should dev dependency. 2011-06-18 14:29:05 -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
Guillermo Rauch
570c41806e Fixed style. 2011-06-18 12:41:03 -03:00
Guillermo Rauch
3499620cb0 Changed; make builder is now make build. 2011-06-18 12:31:06 -03:00
Guillermo Rauch
ce5a6458c1 Merge pull request #180 from 3rd-Eden/develop
Develop
2011-06-18 08:29:50 -07:00
Arnout Kazemier
e51368cdc4 Merge branch 'master' of https://github.com/LearnBoost/Socket.IO into develop 2011-06-18 17:24:48 +02:00
Guillermo Rauch
895569693f Fixed tests I broke. 2011-06-18 12:23:17 -03:00
Guillermo Rauch
bd51fc923b Fixed should i() representation <3. 2011-06-18 12:22:58 -03:00
Arnout Kazemier
bf8609f6a9 Because mine > @rauchg's 2011-06-18 16:57:00 +02: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
Arnout Kazemier
d8f983d45f Added the .swf files to the dist folder for easy file serving in socket.io 2011-06-18 16:43:12 +02:00
Guillermo Rauch
65d31b5f6a Build 2011-06-18 11:41:47 -03:00
Guillermo Rauch
3707c5d7a9 Added custom client serving to serve the local repository. 2011-06-18 11:35:42 -03:00
Guillermo Rauch
0559f0e7c0 Adapted tests to have different defaults for server and client side. 2011-06-18 11:31:51 -03: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
Guillermo Rauch
b5e7e41a15 Build. 2011-06-18 10:33:31 -03:00
Guillermo Rauch
41eef0e619 Added test-acceptance rule to Makefile. 2011-06-18 10:32:59 -03:00
Guillermo Rauch
b0147f3af8 Merge branch 'master' of github.com:LearnBoost/Socket.IO-node 2011-06-18 10:14:05 -03:00
Guillermo Rauch
13e7f4087a Exports WSClient 2011-06-18 10:13:38 -03:00
Guillermo Rauch
de1b62c75c Merge pull request #257 from 3rd-Eden/master
Call the init for the correct transport
2011-06-18 06:06:32 -07:00
Arnout Kazemier
0400a51b91 Should init the transport with the init function
not the flashsocket each time
2011-06-18 11:17:16 +02:00
Guillermo Rauch
4079da41f3 Changed; simplified flash socket client by inheriting from websocket test client.
Removed usage of assert
Improved usage of should.js
 - leveraged should.include.string for strings `indexOf`
 - leveraged should.contain for arrays `indexOf`
 - removed usage of `ok` and `!!`
 - added better error checks
Fixed style.
2011-06-18 04:45:14 -03:00
Guillermo Rauch
2be18c8324 Fixed style.
Changed; make sure logging is lowercase.
2011-06-18 04:43:23 -03:00
Guillermo Rauch
b928e77fd1 Changed non-socket.io scope requests logging since it was confusing users. 2011-06-18 04:43:01 -03:00
Guillermo Rauch
c2e48f36b2 Changed; attempt to initialize all transports. 2011-06-18 04:42:33 -03:00
Guillermo Rauch
54e78277c0 Changed nickname in irc example. 2011-06-18 04:42:04 -03:00
Guillermo Rauch
3116b8b091 Merge pull request #256 from 3rd-Eden/master
flashsocket
2011-06-17 18:49:45 -07:00
Arnout Kazemier
9a98a3ed21 Merge branch 'master' of https://github.com/LearnBoost/Socket.IO into develop 2011-06-18 01:19:57 +02:00
Arnout Kazemier
ab0c0d110c Added tests for the policy file server
Changed `update:` back to `set:` because it's more pretty
2011-06-18 01:13:44 +02:00
Guillermo Rauch
86b48908ce Whitespace fix 2011-06-17 19:33:12 -03:00
Arnout Kazemier
26a30c5863 Added WIP flashsocket 2011-06-17 23:10:23 +02:00