Commit Graph

7697 Commits

Author SHA1 Message Date
TJ Holowaychuk
c4df699d38 Release 0.0.4 2012-09-05 22:08:58 -07:00
TJ Holowaychuk
5d25dd6011 add mixin docs 2012-09-05 22:08:48 -07:00
TJ Holowaychuk
88fb716e4e Merge branch 'master' of github.com:component/emitter 2012-09-05 22:07:33 -07:00
TJ Holowaychuk
b251af60b6 add mixin support via Emitter(obj). Closes #5 2012-09-05 22:07:23 -07:00
TJ Holowaychuk
03c7823144 fix install docs 2012-09-05 21:52:02 -07:00
Afshin Mehrabani
a318a30ced fix code styling, bad indentation 2012-09-05 00:58:33 +04:30
Guillermo Rauch
fefb643c4a test: tweaked timers that were making tests not pass on mountain lion 2012-09-04 12:08:19 -07:00
Guillermo Rauch
95303cb3f3 test: fixed test for clearing callback references 2012-09-04 12:06:57 -07:00
Guillermo Rauch
eeacea93ff test: fix style, removed test that's not passing 2012-09-04 12:06:41 -07:00
Guillermo Rauch
a99251d38a Merge pull request #74 from afshinm/patch-1
Adding Afshin Mehrabani to contributors
2012-09-04 11:23:12 -07:00
Afshin Mehrabani
029746a4c8 Adding Afshin Mehrabani to contributors 2012-09-04 22:52:24 +04:30
Guillermo Rauch
f493172331 README: documented send callback 2012-09-04 11:16:27 -07:00
Guillermo Rauch
414a24c1e6 Merge branch 'master' of github.com:/LearnBoost/engine.io 2012-09-04 11:14:07 -07:00
Guillermo Rauch
18da616730 README: simplified client constructor example 2012-09-04 11:13:47 -07:00
Guillermo Rauch
6b725eb349 Merge pull request #71 from afshinm/master
add `send` callback feature
2012-09-04 11:12:22 -07:00
Afshin Mehrabani
b7ac48941e fix double \n 2012-09-04 22:40:46 +04:30
Afshin Mehrabani
8af0e2a253 two new test for send callback
in this new tests we assert that:
1- when socket get closed and one or more packet(s) are in writeBuffer,
callback references get cleaned to avoid memory leak.
2- callbacks still execute in polling mode
2012-09-04 21:32:25 +04:30
Guillermo Rauch
41c2ba36f2 Merge pull request #466 from joaojeronimo/master
Add should to devDependencies in package.json
2012-09-02 13:46:05 -07:00
João Jerónimo
3f822af002 add should to devDependencies 2012-09-01 02:27:53 +01:00
Guillermo Rauch
706f018403 Merge pull request #49 from mixu/mixu/old-ie-crossprotocol-fix
Fix cross-protocol-cross-domain requests on IE8, IE9
2012-08-31 16:13:06 -07:00
Mikito Takada
a0b799de3f IE's XDomainRequest cannot do requests that go from HTTPS to HTTP or HTTP to HTTPS. 2012-08-31 14:41:04 -07:00
Guillermo Rauch
32eae5f53b Merge pull request #465 from SteveSanderson/master
Support connecting to socket.io from inside a Windows 8 client app (one-line tweak)
2012-08-30 07:55:00 -07:00
Steve Sanderson
a3d95883f5 Prefer XmlHttpRequest if CORS is available
This makes socket.io.js work on Windows 8 client applications by
default, since:
* Win8 apps are hosted in IE10, which supports CORS, and allows them
across protocols
* XDomainRequest won't work, as Win8 apps are hosted on a special
protocol ("ms-appx:") and XDomainRequest disallows cross-protocol
requests
2012-08-30 11:54:49 +01:00
Kristian Faeldt
da91c89147 Only fall back when no bytes available, not when threshold is reached 2012-08-28 19:15:55 +09:00
Kristian Faeldt
a10e963858 Added getRandomBytes to improve generateId performance 2012-08-28 18:56:11 +09:00
Guillermo Rauch
5427d2056c Release 0.2.2 2012-08-26 18:39:54 -07:00
Guillermo Rauch
b7e4ce5d3d Release 0.2.2 2012-08-26 18:30:54 -07:00
Guillermo Rauch
e2816729fd Merge pull request #47 from LearnBoost/fix/jsonp-callbacks
Fix/jsonp callbacks
2012-08-26 18:26:58 -07:00
Guillermo Rauch
03dc9b1bcd polling-jsonp: allow unneeded global leak (fixes #41) 2012-08-26 18:25:56 -07:00
Guillermo Rauch
01c5319635 polling-jsonp: allow for multiple eio's in the same page 2012-08-26 18:20:40 -07:00
Guillermo Rauch
b70eb526fc Merge pull request #72 from LearnBoost/remove/flash-policy-buffering
Remove/flash policy buffering
2012-08-26 18:18:20 -07:00
Guillermo Rauch
2c61e40537 test: removed flash policy buffering test
- it was a false positive (it was all being written in one packet despite
  the callback).
- node will discard subsequent packets anyways as they're not a valid
  request. we can only hope(?) that flash's request comes all in one packet
2012-08-26 18:14:01 -07:00
Guillermo Rauch
79af5e17cc server: remove buffering from handleSocket 2012-08-26 18:13:49 -07:00
Guillermo Rauch
d1cbdfff77 server: applied new coding style 2012-08-26 18:13:39 -07:00
Afshin Mehrabani
37c91fc822 fix tests + code styling 2012-08-26 19:32:59 +04:30
Afshin Mehrabani
837ba76477 add new test
test the callback while polling
2012-08-26 00:42:21 +04:30
Afshin Mehrabani
7f483042d4 styling problem 2012-08-25 22:04:58 +04:30
Afshin Mehrabani
f9423c2143 unneeded change 2012-08-25 22:02:53 +04:30
Afshin Mehrabani
7959e0a05b change in conditions 2012-08-25 21:58:14 +04:30
Afshin Mehrabani
175a3f003e fix styling problem 2012-08-25 21:52:34 +04:30
Afshin Mehrabani
934d323c66 fix .gitignore problem 2012-08-25 21:51:08 +04:30
Afshin Mehrabani
1e3a0ef614 fix styling problem 2012-08-25 21:47:22 +04:30
Afshin Mehrabani
148a10209a Revert "fix style problem"
This reverts commit 514e728433.
2012-08-25 21:45:16 +04:30
Afshin Mehrabani
514e728433 fix style problem 2012-08-25 21:42:29 +04:30
Afshin Mehrabani
2125d0bfd9 rollback .gitignore 2012-08-25 21:38:38 +04:30
Afshin Mehrabani
893a9f3700 remove send callback 2012-08-25 21:33:23 +04:30
Afshin Mehrabani
51f110f64f remove unneeded changes 2012-08-25 21:26:23 +04:30
Afshin Mehrabani
c81cf614e1 fix code style problems, remove unnecessary clearing 2012-08-25 21:09:21 +04:30
Afshin Mehrabani
8f4d6f9e13 remove unnecessary sequence id & drain emit parameter 2012-08-24 04:01:36 +04:30
Guillermo Rauch
21a3733dec Merge pull request #1001 from crazyrobot/patch-1
Redis Store: removed unneeded module ('assert')
2012-08-22 16:28:28 -07:00