Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/hoaproject/Socket

The Hoa\Socket library.
https://github.com/hoaproject/Socket

chore(composer) Use `dev-master` dependencies.

38ef12b9af14b9348f6db97614218be32cde42c5 authored almost 7 years ago by Ivan Enderlin <[email protected]>
chore(php) Update to PHP 7.

11af5ec291d4000de550748543c5ca7461ebfb8f authored about 7 years ago by Ivan Enderlin <[email protected]>
chore(php) Update to PHP 7.

8d6e17f6436db792a39522ba24b6f63b74aab9dd authored about 7 years ago by Ivan Enderlin <[email protected]>
chore(php) Fix some type issues.

dc9d1bb0121366d16c5ae0c32ac06d1110ac1e4b authored about 7 years ago by Ivan Enderlin <[email protected]>
chore(php) Update to PHP 7.

3d6ca0e2b55a6c6a04f483d9d115d6b44c906244 authored about 7 years ago by Ivan Enderlin <[email protected]>
chore(php) Update to PHP 7.

dfd3cbd4d8356e44f624988c38666e09b56a3cee authored about 7 years ago by Ivan Enderlin <[email protected]>
chore(composer) add PHP version requirement

Define minimal supported version of PHP needed into composer.json

Address hoaproject/Central#70

705ec983534171c825e2c63a26d51b97e5de01b8 authored over 7 years ago by Alexis von Glasow <[email protected]>
chore(ci) Drop HHVM support.

1991cce7f31ac752bb49670523f27f92c3390422 authored over 7 years ago by Stéphane HULARD <[email protected]>
Prepare 1.17.05.16.

1a43f073d910d0f803de8cc9256779db1027906d authored over 7 years ago by Ivan Enderlin <[email protected]>
CI: Set up Travis.

98199af6fbbd5fc5280861043127b94e1fce5e91 authored almost 8 years ago by Ivan Enderlin <[email protected]>
Test: Fix mocking issue.

Apparently, `Mock\Hoa\Socket\Connection\Handler` already exists. We
create a mock with a new nam...

42742abfa8f2917a03751c2d17e1d98dd6c6b3bf authored almost 8 years ago by Ivan Enderlin <[email protected]>
Prepare 1.17.01.13.

694d73ccfb1199ff9c8531fdbe83063b0b23bb36 authored almost 8 years ago by Ivan Enderlin <[email protected]>
Quality: Happy new year!

82682c6e365be8646de38934b0d5bd5f0a0c51ca authored almost 8 years ago by Alexis von Glasow <[email protected]>
Documentation: New `README.md` file.

b88ebbc2cf32d94ca5171857ea424706dd676cc3 authored about 8 years ago by Ivan Enderlin <[email protected]>
Documentation: Update `support` properties.

a448815528b87725462845d3f3ffb47425d82787 authored about 8 years ago by Ivan Enderlin <[email protected]>
Prepare 1.16.07.07.

ccc045b35c9583bf196311233ddd053558830cf5 authored over 8 years ago by Ivan Enderlin <[email protected]>
Quality: Fix CS.

b70f2066e92dc997efa31484a4934a1ec5783ccf authored over 8 years ago by Ivan Enderlin <[email protected]>
Test: Be more flexible about default transports.

`SUT::get` can return more values than expected. This is not bad but the
test cases will fail. S...

d73317b61374d0ebac3fa3523fc9087d5b157d01 authored over 8 years ago by Ivan Enderlin <[email protected]>
Client, Server: Add `ENCRYPTION_TLS*` constants.

The following encryption constants are now provided:

* `Hoa\Socket\Client::ENCRYPTION_TLS_v1_...

5b136b1ba4f2309c4401de442eca38010b9c9805 authored almost 9 years ago by Stéphane HULARD <[email protected]>
Prepare 1.16.02.17.

fab08cf5ab5fb8c297e55e153802b177aea45953 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Test: Ensure broken pipes are correcty handled.

Basically in the `case_send_broken_pipe`, we ensure that the old stream
is restored, and in `cas...

aa4e9cca1ca17eb7c6028d879afd4540a2f46942 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Documentation: Complete API documentation.

6a02404c130cc712f45f390ab0297c96024b0000 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Test: Ensure `…ection::write` throws `BrokenPipe`.

See previous commit on `Hoa\Socket\Connection\Connection` which now
throws a `Hoa\Socket\Excepti...

5e631512fda91965f6013f7bcb23bf678c4a3992 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Test: Write test suite of `…Exception\BrokenPipe`.

4016df9bc7f5442628e1589509a67ceaff90b407 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Handler: Catch broken pipe earlier.

Broken pipe is caught when the `_send` method returns a closure, which
is wrapped. This is smart...

fdf33e8299a81c4857dd932a22db2256a2f9cce6 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Quality: Fix CS.

e3ebd438c20ed13aa9c2f1c851e51be87735123f authored almost 9 years ago by Ivan Enderlin <[email protected]>
Server: Fix throws exceptions while broadcasting messages.

While broadcasting a message to some nodes an error can occur because the node connection is clo...

feaaed622353292ca0b5e0483bc700db97760753 authored almost 9 years ago by Metalaka <[email protected]>
Prepare 1.16.02.10.

b21daef216811a49b6c4cbadfa8c00bbc42f786a authored almost 9 years ago by Ivan Enderlin <[email protected]>
Server: Add protected getters.

29bd79b51e6e8a2b5bb3769cf8d414104467910a authored almost 9 years ago by Ivan Enderlin <[email protected]>
Test: Write test suite of `Hoa\Socket\Server`.

fcfd0d14bd71c52e07027153ba91843ca00b0911 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Server: `isBinding` & `isListening` return bools.

These methods must return booleans but they were returning integers,
despites the cast to `bool`...

6a76e63f2621d0ac2454b90438cfe51eafc4afcc authored almost 9 years ago by Ivan Enderlin <[email protected]>
Client: Add the protected `getStack` method.

This method returns the internal node stack. This is useful when doing
tests.

83bee357053dc8fd4b5983f2a9fbe5351c6d0614 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Server: Fix auto-LISTEN flag for TCP.

The flag always needs the `LISTEN` value when the transport is `tcp`. We
used the wrong bitwise ...

4370745039051eb7fed034d3dcd8535caa33a9e3 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Connection: Add the `getIteratorValues` method.

This protected method provides an access to the iterator values. It also
eases testing.

15e79f3b5b1ca9641c9e4989ab5d3918a515eee3 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Test: Write test suite of `Hoa\Socket\Client`.

30f00e12e6b567794f45da194176d7fbbfa172d9 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Client: Strictly check connection error number.

We used a double-equal (`==`) to check error number while trying to
connect a client to a server...

41734b3ea4d13c82976a68217fef418913c86c2c authored almost 9 years ago by Ivan Enderlin <[email protected]>
Client: Fix auto-CONNECT flag.

The flag always needs the `CONNECT` value. We used the wrong bitwise
operator in the constructor...

3bbc6690b209dbe89c2aeac82be71950155a18bb authored almost 9 years ago by Ivan Enderlin <[email protected]>
Quality: Fix CS and simplify a class identifier.

de1ef81bea939bf964d6d7ea8e5e557d0c83e5bb authored almost 9 years ago by Ivan Enderlin <[email protected]>
Test: Write test suite of `…onnection\Connection`.

adf50f25743ea97208dea9704dbefd2bda021b57 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Handler: Remove dead code.

0416a36e3ffc93026020f0f4130e46b671a42738 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Test: Use the `atoum/visibility-extension`.

Thanks @jubianchi!

df811a17c03bbc0b97bd6a7e1b50709e1e2fefc0 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Test: Write test suite of `…t\Connection\Handler`.

1877c6cd7ab7b1891b5daa16b82f35b8f6bb8299 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Test: Reverse a `while` to a `do`/`while`.

The `run` method does a `while(true)`. This is impossible to test. So we
reverse it for a `do { ...

2563aba8f7a18194a999e87663f573093d86d918 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Quality: Fix CS.

3011e9e4e52ecf00a7598dbb358b8b812963cd5a authored almost 9 years ago by Ivan Enderlin <[email protected]>
Handler: Add the `getMergedConnections` method.

This avoids direct access to the `_connections` attribute.

e479d5ed7cd2d8f316a363acafaf07c124dd7348 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Test: Write test suite of `…ket\Connection\Group`.

8b4cb84c5ad6a9eaf23dadc39b1392ac34d3e862 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Quality: Run `devtools:cs`.

ba536693a086932cefd89b3987958f1f46e738ff authored almost 9 years ago by Ivan Enderlin <[email protected]>
Composer: Update `hoa/test` dependency.

adef1ff32f9395ede5322a3f177ce4dca75b92b5 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Test: Write test suite of `Hoa\Socket\Exception`.

9ad84683d09512035886fa72b57c0005bb8cba94 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Test: Write test suite of `Hoa\Socket\Socket`.

e87c54b022f2efec9dd29c80a4a7dc0787b48eb0 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Test: Write test suite of `Hoa\Socket\Node`.

456eaba200f2da97f780cdecda2c9de9632954ae authored almost 9 years ago by Ivan Enderlin <[email protected]>
Socket: Port is always an integer.

b47bda87d08fa9bc414c4f43bae7dc8aec462f22 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Prepare 1.16.01.15.

79dc0fad73885669f9df8dccba06a23e316ffc26 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Composer: New stable library.

3c68b98f5148e545556ae25f65637a2144dd4024 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Update because of the BC break.

a47a6a4d5ef76a739ced3cc9ef78a65d80b5df97 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Prepare 1.16.01.14.

bb7a74e8d4c8fca40c019ebb6b3fa9a6de4332bc authored almost 9 years ago by Ivan Enderlin <[email protected]>
Prepare 0.16.01.11.

a6e8d91fbabcea10bbfb5a0fb5a35ddec25cea15 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Quality: Run devtools:cs.

2b02e35679f7d7c699f13d5a5e4ac630f4d857a3 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Core: Remove `Hoa\Core`.

d464a429b294bcdfde83cbaefa245b962be9aea7 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Consistency: Update `dnew` calls.

2eea6ebe5838b59e3628318ceadf7f95c56958a5 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Consistency: Use `Hoa\Consistency`.

14d7543161e98c9ff5df95f508659fe09d3b9f7c authored almost 9 years ago by Ivan Enderlin <[email protected]>
Quality: Drop PHP5.4.

0d9b24e3f0a8ef8ae2d3d401c50b55fecc54cce6 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Exception: Use `Hoa\Exception`.

The core is being splitted into several libraries. `Hoa\Exception` is
one of them.

0e7adab2821cbe3c31acdd12c63651d603c565fe authored almost 9 years ago by Ivan Enderlin <[email protected]>
Connection: Fix an exception message variable.

f33034735c76f1c0502183ad9b24a2a7e5dbf30e authored about 9 years ago by Ivan Enderlin <[email protected]>
Fix CS.

8f330ea6e28085dd448f6212d2251b60c15cfa52 authored about 9 years ago by Ivan Enderlin <[email protected]>
Socket: Add a security flag.

Now this is possible to know whether a socket is secured or not.

Signed-off-by: Stéphane HULARD...

2f0ad39705018fed38b7350ccc5d4f3dfbee6573 authored about 9 years ago by Stéphane HULARD <[email protected]>
Test: Write test suite of `Hoa\Socket\Transport`.

18dd95e3fadf5d6f794167776359def774ed3fec authored about 9 years ago by Ivan Enderlin <[email protected]>
Transport: Introduce vendor schemes.

Now we are able to register our own transports, like: `ws://foo/bar`.

The idea is very simple: ...

ab28d81ae18a5639c8bf11fa7fc2f2bc1677928f authored about 9 years ago by Stéphane HULARD <[email protected]>
Fix phpDoc.

7dba807b6c309d4df628e225a5c8db381854c849 authored about 9 years ago by Metalaka <[email protected]>
Prepare 0.15.09.08.

1df6b6a0b9230dacdfa43d7501050db77e42edd8 authored over 9 years ago by Ivan Enderlin <[email protected]>
Introduce read flags (PEEK and OOB).

We introduce two new constants:
* `READ_OUT_OF_BAND`,
* `READ_PEEK`.

And we allow to use th...

db190ca6cc035f832dd28b44d30ce424126dfa45 authored over 9 years ago by Ivan Enderlin <[email protected]>
Add `.gitignore` file.

Signed-off-by: Stéphane HULARD <[email protected]>

c851694e7dfb1cf2c52b0bc394e30568fa72382b authored over 9 years ago by Stéphane HULARD <[email protected]>
Fix CS.

0b0f4c33b55f7a0fefdb252a02375f3ce49ac9c0 authored over 9 years ago by Ivan Enderlin <[email protected]>
Prepare 0.15.07.20.

f9fbc26102286a1c7b10529268b172c653de544e authored over 9 years ago by Ivan Enderlin <[email protected]>
Reintroduce flags and reverse when connecting.

It partly reverses 6830694.

2714fb13260c8654658a5c29342f7c506ddde984 authored over 9 years ago by Ivan Enderlin <[email protected]>
Fix an exception message.

f348b74b0d6afa92feae2750ec535020eede49ae authored over 9 years ago by Ivan Enderlin <[email protected]>
Prepare 0.15.05.29.

82082ad6f7b5618fdfb6f1eec2af9e5f339f9b50 authored over 9 years ago by Ivan Enderlin <[email protected]>
Move to PSR-1 and PSR-2.

fa62553ed1e97e819454bbc2fbbf692b8140154c authored over 9 years ago by Ivan Enderlin <[email protected]>
Remove `from`/`import` and drop PHP5.3.

8c57600d21582b7b4256590de6830839ac4555f1 authored almost 10 years ago by Ivan Enderlin <[email protected]>
Prepare 0.15.02.25.

4a1e84de1f8cc1695a9cc56a309f343dd759997e authored almost 10 years ago by Ivan Enderlin <[email protected]>
Add the `CHANGELOG.md` file.

7e998c0d884457369feaabe86e2f962349850dc0 authored almost 10 years ago by Ivan Enderlin <[email protected]>
Happy new year!

0a558ad1377cbe78cbac00aa1ec93e323c863389 authored about 10 years ago by Ivan Enderlin <[email protected]>
Move to PSR-4.

442ecbc9e5ca663052c720bb2d5915723002e2fd authored about 10 years ago by Ivan Enderlin <[email protected]>
Socket state connected after construct.

ba875e9c80d04c7b1ef3ea17b1c0740a3fead362 authored about 10 years ago by Stéphane PY <[email protected]>
Add branch-alias

828db073ad1d4606ac98025b9c7e11a07d38026b authored over 10 years ago by Stéphane PY <[email protected]>
Drop PHP5.3.

a122920b0cea38906d4362596d687076b1c51001 authored over 10 years ago by Ivan Enderlin <[email protected]>
Add the installation section.

a8d3e64282121f06ce5e779e9b08ceab753a3c4e authored over 10 years ago by Ivan Enderlin <[email protected]>
Start Rüsh Release.

7d70d0dbdd8361a7cb4ac98bdc4cea1bd450c0f6 authored over 10 years ago by Ivan Enderlin <[email protected]>
Fix a null access with encryption+UDP.

5b391d528787a08f95208232f5018f5feac576b6 authored over 10 years ago by Ivan Enderlin <[email protected]>
Update comment of Node::setEncryptionType()

91a35df38067ff3ba7211aae487d757538f4fb13 authored over 10 years ago by Pierre Tomasina <[email protected]>
Fix CS and API documentation.

462d96f1ad67310a9e198e17e546c4935b8d9036 authored over 10 years ago by Ivan Enderlin <[email protected]>
Fix setEncryption issue for multiple client.

PR #6 | Move encryption to Hoa\Socket\Node

PR #6 | Fix erase declaration

PR #6 Rename encrypti...

e49177cdd8d2043d2bba211c7bdedfe612e60015 authored over 10 years ago by Pierre Tomasina <[email protected]>
Implement the `broadcastIf` method.

This method broadcasts a message to a subset of nodes that respect a
given predicate. For exampl...

48bccfcab3a58e92a783171820deaf19adf25d87 authored over 10 years ago by Ivan Enderlin <[email protected]>
Add a comment about $this->_node.

3347473f45db44cd898a853e2b21bcc8f07b74a3 authored over 10 years ago by Ivan Enderlin <[email protected]>
Fix some CS.

c0820fa8eee12d2d375818fe5877a0853d6a3246 authored over 10 years ago by Ivan Enderlin <[email protected]>
fix Handler instance reference inside closure

bfc885e60e1e4c7b091d83c1cbd9a217584a29b0 authored over 10 years ago by Endel Dreyer <[email protected]>
Fix a syntax error.

5a5789225b996d27c16a679d7525f65564490493 authored almost 11 years ago by Ivan Enderlin <[email protected]>
Add links.

9a97b6cfa760133568820f2a797ee08d852325ed authored almost 11 years ago by Ivan Enderlin <[email protected]>
Add syntax highlighting.

197b3c420f9c79f5a28bea7fbaeec319e28e8dfc authored almost 11 years ago by Ivan Enderlin <[email protected]>
Format an example.

164f86f20b33306f0145457a6d8bd59b22e0722d authored almost 11 years ago by Ivan Enderlin <[email protected]>