Ecosyste.ms: OpenCollective

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

github.com/swow/swow

Coroutine-based cross-platform concurrent I/O engine.
https://github.com/swow/swow

Fix buffer_realloc logic

zend_string_realloc did not work as expected.

7c31da9a15a9af85ad83cb83d94167887707bc9d authored over 2 years ago
Update arginfo by gen_stub.php

dac4fea8877fa9b3d1dcf9ce43c44f4b503ae3d5 authored over 2 years ago
Use constant qualifier for readable buffer getter

37d3f30044db29c6bace2554e19e15d1b17b95d0 authored over 2 years ago
Sync deps: libcat

* libcat/libcat@4075cbb22359293affe7067e2a4e8c8e28d19ebb

4f1f4b52cb5b46059c4369e018643a8ab89d5747 authored over 2 years ago
Fix incorrect arg num count

Seems do ... while wrapper would prevent it from breaking, it's unexpected.

7ebf75f0366abb7654f6b594c589c26a60ea7faf authored over 2 years ago
Fix Socket tests

4d2520833a2529e7644f72cd1ac5a38780dea67e authored over 2 years ago
Fix max num args and add comment for them

9aab881c327ed6907e0d72ab787129064d5e0a82 authored over 2 years ago
[BC break] Refactor WebSocket

Introduce WebSocket Header and remove previous WebSocket Frame implementation.

Since v0.2.0.

d0e7bf6bb77a93bd35b2b8f914b9f8059f1a4c4c authored over 2 years ago
Fix Buffer tests

af3672a3c0006b450a073179d7e99a7370b2fe96 authored over 2 years ago
[BC break] Refactor Socket

To sync with Buffer changes.
Socket->sendString(To) have been merged into Socket->send(To), and ...

d2412f7c0194a882b05baecfacd575f94a2a7265 authored over 2 years ago
Fix Buffer tests

3c94ddb8f387e22cc1ddd1593727aafac55cd1d4 authored over 2 years ago
[BC break] Fix HttpParser->execute() to sync with Buffer changes

Use string_get_readable_space() API instead of macro, and rename param from "offset" to "start" ...

098e8de42cd42064a32e29ebc790ee3a96e229de authored over 2 years ago
Fix Coroutine tests

7e5ea5de24e8761f46c138d9e02cafde738c5adb authored over 2 years ago
Do not use variable in sprintf format

ca56bb739ace204a81150c915edee50c0f59dd07 authored over 2 years ago
[BC break] Refactor Buffer

1. No longer follow Psr style, we will do it in PHP library layer without inheriting because Psr...

f5e0d7b99d046178b0784a84b727b356e4d4147e authored over 2 years ago
[BC break] Some getter API renames

getNameFor(int) => getNameOf(int)
getReasonPhraseFor(int) => getReasonPhraseOf(int)
getDescripti...

054342b95a41302ba77a9d1cf63e0dcc4e931d49 authored over 2 years ago
Remove unused comments

These comments mean unknown, and it breaks test coverage collection.

43bc393791dee6ea8b871357f81e6afbb31df855 authored over 2 years ago
Re-support set payloadLength or maskKey separately

de3bf54c6aa1b96fe144834b81468b1143016426 authored over 2 years ago
Make args order of construct method be consisted with protocol order

c4f966ddfb74f481554d0f73b653348feafd3f22 authored over 2 years ago
Fix WEBSOCKET_HEADER_MASK_KEY_CHECK arg num

bdaeffbe41a2c09d867be8c9d8bbd447fd0312a9 authored over 2 years ago
Fix string escape in stub generator

f570edd1e2e67619140b16def95d263b69bedd2d authored over 2 years ago
Fix Zend tests

0ce5207df0da2b0ff0f9e1853148e030dc7fbb0b authored over 2 years ago
Fix WebSocket tests

7a0f5b0bd3a10fcfa5b3ed44dbbc85d946e7e89e authored over 2 years ago
Fix WaitGroup tests

41461196ef169307bbf0e9acd1ddb0dde51fc621 authored over 2 years ago
Use PHP_CS_FIXER_USE_CACHE to configure php-cs-fixer cache

f6be8f49421399e3dc1bb799438f6779b0dfba11 authored over 2 years ago
Fix Http tests

cc08146c9605605beed52c1fbbcd20faa5150cee authored over 2 years ago
Fix URI_TOO_LARGE/HEADER_FIELDS_TOO_LARGE error message and add a test for it

4ca209f2c52e5e13e83269d4f9027cc1b09c163d authored over 2 years ago
Fix CS for stub file

b788c9d08ce4e98db58672bd8c7cd97bd63756ab authored over 2 years ago
Fix string check macro (the order of checks affects behavior)

fc55c45b0a3272e5010479c4ae5b92536f8aad94 authored over 2 years ago
Buffer should be seeked after Socket writing

Socket->write($buffer, $length) is equal to $buffer->read($length).

bb8bf186b82e6c73d6b13a303d5050bf23a3cbaf authored over 2 years ago
Support assert expectCode and expectMessage for throwables

07899be4d8e703668362dda9039554e3fa2d2597 authored over 2 years ago
Refactor HttpParser->execute()

Use string instead of Buffer.

8d583dfdba12b128268c6de0fd6dfdf75c748121 authored over 2 years ago
Buffer extending and $expectMore param is not needed anymore

We've already refactored logic of parser, and EVENT_NONE event can represent all "more data need...

e1b9857cc5efbc8e7158ae9bc071e04d9e349919 authored over 2 years ago
Fix type and value check for maxBufferSize

24046c38648313c35a2302f7f7bb3426dcc195f1 authored over 2 years ago
Introduce buffer load factor

b76e501ac2a684f84f2e0d4c6a5c5c5d063002fa authored over 2 years ago
Do not redefine parent's constants in stub file

50070de3c2cd3aa90a88ca2e5d5a031391cfc5da authored over 2 years ago
Fix register_internal_class() can not extends parent create_object

ebf08dcd659650785d3a09b738996d231d97258b authored over 2 years ago
Use zend_string_realloc() for Buffer->realloc()

Instead of always allocating new string and copy from old one.
Previously, we want to reduce the...

9bff6403789bed316ec585a2aeaf4fe1df1595c8 authored over 2 years ago
Refactor buffer get_readable/writable space

94654c6bd1aa5404f30bcee51bb78738c45499d3 authored over 2 years ago
Add httpGetCached and use it for ConstantDefinitionsFetcher

b255992f6ebf0fd5c6a74d100f7cf257b5e6104f authored over 2 years ago
Fix "@var tag specifies the type already inferred from source code"

1c9552b7edce1d58ad4900c977b89562e46d84bc authored over 2 years ago
Use $contents instead of $content

Consist with file_(get/put)_contents.

1ce7ee18b1da982971fd20b4290dec765f977e65 authored over 2 years ago
Sync new HttpParser methods

+ Http\Parser->getPreviousEvent()
+ Http\Parser->getPreviousEventName()
+ Http\Parser::getEventN...

8a3357cf2f47d5b1858bc239a8bb4dd72123ed13 authored over 2 years ago
Add log for buffer_separate() (for performance tracking)

15e56f44df8b8c41bae8d480c89556f687e5ac56 authored over 2 years ago
Lazy Buffer clone: make new buffer as shared

104c9c964a8c0356c0469a831ad7f926b99b7159 authored over 2 years ago
Fix uploadedFile data is uncompleted

Also added a test for it.

c4809fe7afc0856a1dd6311098014e8f17a1e724 authored over 2 years ago
Buffer should be seeked after Socket reading

Socket->read($buffer) is equal to $buffer->write($data), so offset should be moved to the end of...

3e529b66e2feffa6fb079c459784857e232fd8a9 authored over 2 years ago
Use standard arginfo name

273fdd87efec473b5cfe4635c2eb72bb3d564261 authored over 2 years ago
Add getMixedServer() method for testing

698c6a642820a0e58bbd09d73c2ce18794706b2b authored over 2 years ago
Update docs site

4433bca6dbc351ced47f3eb2478f3a67c01206fa authored over 2 years ago
Fix update docs workflow

6cea6e0b55950560c88969374de981cb05843635 authored over 2 years ago
Add docs update workflow

eece83246fe46d7f5ae974e6dd2abcea471fc595 authored over 2 years ago
Update stub

cc29dcb3b78fdab643b517e4b1dc703d8a76be2d authored over 2 years ago
Fix missing comments when update stub

2e9fd9ff58c8f2e57ba1791cf8731825a11e7ece authored over 2 years ago
Update stub comments

f565083b7e096fba1a1336f54370d7cb3ebd8108 authored over 2 years ago
Prepare for PHP 8.2 release

c1dadf448bc91195500b15e99a3619c9712b8190 authored over 2 years ago
Fix typo

67921e84f2c672e19e33e2d083f1886c8fa995cd authored over 2 years ago
Update fs behavior to match master

4b5b59fc6867462219ed727c26f93287902df0aa authored over 2 years ago
Code optimization for with* functions

7d56649f8f506bac94d3b0327843704f347e26eb authored over 2 years ago
Fix Coroutine bailout behaviour, add debug logs and tests

c3101412f1a2af3871d93f55b24f100560b24c6a authored over 2 years ago
Sync deps: libcat

* libcat/libcat@0a6e02c22f0e104e7060b0dd8ad119e18d2c440a

b456600b92b2564e49b9fa5878b3e2421b0f19fe authored over 2 years ago
Remove dead code

We have already did it in dtor function.

bd49cd9df9634e941f0ab1747d19ac1a75a94cc0 authored over 2 years ago
Add addHeader() and unsetHeader() methods for Message

ae5242dc5d3f1f72e5ada1febcb0ffe35a02b77a authored over 2 years ago
Naming style: "lowercase" is a word

7c4601bcbcd61cc74d2bad51a50fe68216ce70a9 authored over 2 years ago
Deadlock test has been fixed

9c6f820958691eb3b7eba4c6e82ce4d54e645171 authored over 2 years ago
Sync deps: libcat

* libcat/libcat@8ee23a2f30f8d58461dbdb81707224404971e89c

0c34388fa98da25afcce3210424cca155bbdf300 authored over 2 years ago
Prevent stdin read from being affected by global timeout options

f087a87307d09ba8c6743f2bf63ef11fdfdedfd5 authored over 2 years ago
Return empty string when buffer is closed or unallocated

This should be refactored later, just do defensive programming for now.

b307f90fc11bc2928b50dafb367ad6338ce9d802 authored over 2 years ago
Rename buffer_fetch_string() to buffer_get_string()

fetch() is difference with get(), fetch() is to take away the string.

768f8636b561424d181bd02f506355c011da9730 authored over 2 years ago
Improve deadlock test to prevent unexpected extra output

7c6f6dd86bd2f1204a0f2776e26b401c90b74cf8 authored over 2 years ago
Add mask for PONG frame

a84de16a2e19bf5deb209e6925ac02821ac8b232 authored over 2 years ago
Let php-cs-fixer config be a composer package

ebd84e32c82df6a993581b2640440f25c852715b authored over 2 years ago
Add TODO for observer_enabled

3bfdf220696066bceb0d648cab9b0f374618f758 authored over 2 years ago
Executor prev_exception should be switched when coroutine switching

We may save exception before zend_call_function() and restore exception after it, and coroutine ...

6286d946f6f76aea4e8e6658994e0684b5d8cb52 authored over 2 years ago
Better name for Coroutine->kill() related code

89b30e4ed89061b1ae0b6124c0f46077f9b993f1 authored over 2 years ago
Fix memory leak when use call_function_anyway()

36239cdb1b978fe651c1a71485d47fd3b2bfa777 authored over 2 years ago
Use known strings and zend_set_local_var() for defer()

1be1c0c9901505c6731fb57aa28bac59be80a839 authored over 2 years ago
Fix unexpected behaviour of killing a coroutine which is in exiting

1bef3f7db0cb8a1b47df227879620f5221477dd8 authored over 2 years ago
Sync deps changes (API names and function signature)

09ab7daf8764302915af86aec8f4b43735d1bbc9 authored over 2 years ago
Sync deps: libcat

* libcat/libcat@ca5bfd9760c331df0e28fe683d3098649178722f

23c932353c08ee5cdf6ce3be2a8c3ec68aa8589a authored over 2 years ago
Add windows arm64 build support

2a40770bfef700ff09c06bec40ce40ca068d8f98 authored over 2 years ago
Fix missing body param for Connection->sendHttpResponse() (#128)

For response objects implemented by 3rd parties, this will cause the body to be incorrect.

99e94ea3e093f72bb444234017494830cac00ebd authored over 2 years ago
Use rocky and alma versioned image tag

80b5247d47e518e6f321af3c2d88405c43365be1 authored over 2 years ago
Use standard config args for windows

b5b6ca72f5bcf79e2d46ac4ad421453638686a37 authored over 2 years ago
CS-Fix: braces, no_superfluous_phpdoc_tags, no_unneeded_control_parentheses

595a8dd497462f3a4fd473c2175c85f9ef1262ce authored over 2 years ago
CS-Fix: blank_line_between_import_groups

47600f1fe66c81d6e59c0153f58e416803f5d8ea authored over 2 years ago
Sync deps: libcat

* libcat/libcat@f7a9a7fa7abc2cf77a6908ac2f5c985f69a21f23

7af60d4dddba911805967c5a01387891ad64898e authored over 2 years ago
Use ExceptionFaker to clone internal properties from previous exception

And add connection closed by peer test.

eb28aa0b641f9f9fab645b7b4f4f3d7ef9c1d0f2 authored over 2 years ago
Rename watch_dog to watchdog (example dirname part)

watchdog is one word instead of two.

f9789eb4f81b27998d07971c71f2e845f43ee4e4 authored over 2 years ago
Fix Debugger::$currentSourceFile must not be accessed before initialization

fb3f84358d8dd47ad712aada9f45b21abbb46765 authored over 2 years ago
Add comment for WatchDog::run()

8b87300a40ecd2715e90609ac28d2242940313ae authored over 2 years ago
Rename WatchDog to Watchdog

watchdog is one word instead of two.

08c1a8e4ec30a667b9788f462e306cef184869e6 authored over 2 years ago
Use named parameter

43b17f5ca4ff69cb40f8386d2e54dc1a5e1a6b98 authored over 2 years ago
Disable 'no_useless_else' rule

It broke code alignment and diminished code readability.

0d1790456bbb807f697e0cdc5eab34b77d67f696 authored over 2 years ago
Move getter methods to the correct position

e7f2d278a8b307adefec7abc47b63b50db3491d7 authored over 2 years ago
Add test for HttpClient with bad network

79d27c4d1ba66fcdf1263c51c1e1c4a3cfa7a785 authored over 2 years ago
Add comment for variables on stack

22dd56e74f030e122643c40e31073e4d4b06d48f authored over 2 years ago
Fix HTTP parsing dead-loop totally

Do not pass empty data to parser anymore, but go to receive more data from socket directly.

6d5a82e0e256c4f9bf1d3645dff74a421ab6a4e8 authored over 2 years ago
Simplify array config loader

9e51d63b913616fab6a11da23c7b0c1ba81ef0cb authored over 2 years ago
GNU99 style code

14712b7c171402064e661f8fd66a440814f2b5be authored over 2 years ago