Commit Graph

902 Commits

Author SHA1 Message Date
Guillermo Rauch
07afc2e8fb manager: implemented on 2012-12-16 19:38:56 -03:00
Guillermo Rauch
137d87b375 manager: prevent socket function override 2012-12-16 19:38:25 -03:00
Guillermo Rauch
b711dd9889 manager: added missing module.exports 2012-12-16 19:38:15 -03:00
Guillermo Rauch
068b044017 manager: added on dep 2012-12-16 19:38:07 -03:00
Guillermo Rauch
8d75aed8f9 emitter: remove on override 2012-12-16 19:32:34 -03:00
Guillermo Rauch
98e939a2ea test: remove emitter tests 2012-12-16 19:32:19 -03:00
Guillermo Rauch
b7415ae618 index: fixed url dep 2012-12-16 19:25:53 -03:00
Guillermo Rauch
ac9cb14733 manager: simplify API 2012-12-14 09:45:24 -03:00
Guillermo Rauch
3c03ba36c8 package: added back keywords 2012-12-13 11:05:56 -03:00
Guillermo Rauch
95fcd9c657 package: added back contributors 2012-12-13 11:05:11 -03:00
Guillermo Rauch
7d205214f0 socket: added onack instrumentation 2012-12-13 10:52:12 -03:00
Guillermo Rauch
3bcdba0b4c socket: fixed event emitting instrumentation 2012-12-13 10:46:06 -03:00
Guillermo Rauch
a6820e3a0d socket: improved style 2012-12-13 10:35:32 -03:00
Guillermo Rauch
2301884730 url: support for io() 2012-12-13 10:12:19 -03:00
Guillermo Rauch
19e8048ec5 socket: don't emit open and close 2012-12-13 10:05:46 -03:00
Guillermo Rauch
d523a25cc0 socket: emit events after connect fires 2012-12-13 10:05:09 -03:00
Guillermo Rauch
0ce8934eed socket: turn acks into an object 2012-12-13 08:51:16 -03:00
Guillermo Rauch
60a17801f9 socket: do not remove event name from args 2012-12-13 08:47:05 -03:00
Guillermo Rauch
1a27ddb583 socket: make events public for plugins to extend 2012-12-13 08:12:28 -03:00
Guillermo Rauch
94fbce919a *: make debug dep a * 2012-12-10 18:35:17 -03:00
Guillermo Rauch
1932c156dc component: fix depedencies 2012-12-10 18:33:42 -03:00
Guillermo Rauch
c049fc8f89 package: added uglify-js 2012-12-10 18:32:32 -03:00
Guillermo Rauch
4108387a05 Makefile: default to build 2012-12-10 18:32:06 -03:00
Guillermo Rauch
510538813d url: finished module with tests 2012-12-10 18:31:54 -03:00
Guillermo Rauch
a0c6f36f94 index: fix source exposure 2012-12-10 14:28:44 -03:00
Guillermo Rauch
d5652feadc 1.0 client initial commit 2012-12-10 03:31:57 -03:00
Guillermo Rauch
63f1838364 Merge pull request #491 from adityab/amd-unsupport
Don't try to support AMD loaders in socket.io
2012-11-10 10:17:18 -08:00
Aditya Bhatt
b5585aa09a Don't try to support AMD loaders, it breaks things globally. 2012-11-09 18:09:04 +05:30
Guillermo Rauch
4bf6f14a51 Release 0.9.11 2012-11-02 08:02:52 -07:00
Guillermo Rauch
110d7c4535 Release 0.9.11 2012-11-02 08:00:24 -07:00
Guillermo Rauch
2d9ffc364d Merge pull request #471 from jugglinmike/node-xhr
Enable use of 'xhr' transport in Node.js
2012-10-04 08:09:23 -07:00
Mike Pennisi
d37e3ec808 Enable use of 'xhr' transport in Node.js
Normally, Socket.io chooses the "ideal" transport in Node.js:
WebSockets. This behavior can lead to unrealistic stress test results
because real-world loads will not be comprised of 100% WebSocket
connections.

The XHR transport itself is fully functional in Node. The transport
check currently fails only because `location` is not defined in the
global scope. By guarding the access of `global.location.protocol`, the
`XHR.check` method can correctly return `true` in Node.

Note that this will **not** change the default behavior in Node clients
to choose the "best available" transport. It only enables the use of a
fully-functional transport when requested.
2012-09-26 18:04:34 -04:00
Guillermo Rauch
8e407f0323 Merge pull request #470 from dymsza/master
Make the xhr-polling more stable
2012-09-14 15:09:36 -07:00
tomek
ec8402cdae fix the problem with disconnecting xhr-polling users 2012-09-14 12:09:09 -07:00
Guillermo Rauch
4e78ece7b7 Merge pull request #453 from sfilatov/master
Make client compatible with AMD loaders. Issue #338
2012-09-08 19:41:09 -07:00
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
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
Guillermo Rauch
818ca2cdc6 Merge pull request #462 from pgherveou/strict-comma
fix missing semi-colons
2012-08-14 09:04:31 -07:00
PG
3d791a45aa fix missing commas 2012-08-14 15:27:10 +02:00
Guillermo Rauch
7b4cb7013e test: adapted test for EventEmitter update 2012-08-13 14:02:01 -07:00
Guillermo Rauch
5ab8b620f2 Release 0.9.10 2012-08-10 13:30:49 -07:00
Guillermo Rauch
4479c9d9cd socket: disable disconnect on unload by default 2012-08-10 13:29:36 -07:00
Guillermo Rauch
fbda7e1c3e Merge pull request #458 from yhpark/master
Fixed removeAllListeners to behave expected
2012-08-08 09:34:11 -07:00
Younghoon Park
fe6b50dd17 fix removeAllListeners to behave as expected 2012-08-08 21:22:30 +09:00
Guillermo Rauch
96c528430a Merge pull request #457 from neino3/xdomain-withcredentials
Fix to set withCredentials property to ture only if xdomain
2012-08-07 15:03:17 -07:00
neino3
335e8b2244 set withCredentials to ture only if xdomain 2012-08-08 06:14:32 +09:00
Guillermo Rauch
d8351e60fd Release 0.9.9 2012-08-01 15:11:48 -07:00
Guillermo Rauch
cffb4ebdbd socket: fixed disconnect xhr url and made it actually sync 2012-08-01 15:10:24 -07:00