1
0
mirror of https://github.com/danog/amp.git synced 2024-12-12 09:29:45 +01:00
Commit Graph

1010 Commits

Author SHA1 Message Date
Aaron Piotrowski
7ebe70e0ae Fix docblock param formatting
Callable prototypes make alignment a mess… maybe something better can be done.
2017-03-10 23:08:40 -06:00
Aaron Piotrowski
2a9d7cb97b Remove unnecessary parameter 2017-03-10 22:59:11 -06:00
Aaron Piotrowski
85de9f1f1e Remove missed wrap call 2017-03-10 16:23:29 -06:00
Aaron Piotrowski
1fea860a05 Run watcher callbacks as coroutines within drivers 2017-03-10 16:03:41 -06:00
Aaron Piotrowski
ca30af4d22 More type declarations in loop component 2017-03-10 15:46:12 -06:00
Aaron Piotrowski
1929715b97 Remove driver nullability 2017-03-10 15:34:52 -06:00
Aaron Piotrowski
754a29e86c Remove promise error handler
Exceptions thrown from when callbacks are now forwarded directly to the loop error handler.
2017-03-10 15:32:58 -06:00
Niklas Keller
be34c49a2d Fixup all remaining issues, tests pass locally 2017-03-10 22:20:28 +01:00
Niklas Keller
dd8993b98e Fix AsyncInterop → Amp in ErrorHandler 2017-03-10 22:09:49 +01:00
Niklas Keller
4f021220a2 Merge async-interop/promise-test into amphp/amp 2017-03-10 22:07:26 +01:00
Niklas Keller
0be9ae9ade Switch from AsyncInterop\Promise to Amp\Promise 2017-03-10 21:58:46 +01:00
Niklas Keller
e64bbfb9f5 Add Loop::set, auto-wrapping, fixup things 2017-03-10 21:31:57 +01:00
Niklas Keller
21561661a2 Fixup after repository merge 2017-03-10 19:19:32 +01:00
Niklas Keller
f4f9008ca0 Merge amphp/amp repository into amphp/amp 2017-03-10 18:26:17 +01:00
Niklas Keller
942cf801bd Merge async-interop/event-loop repository into amphp/amp 2017-03-10 18:07:13 +01:00
Aaron Piotrowski
72378e2b82 Add Amp\call() 2017-02-22 15:52:30 -06:00
Bob Weinand
1262ea4ee3 Merge pull request #150 from async-interop/improved-enable-doc
Improve enable() doc and mention it also in the class level phpdoc block
2017-02-17 19:16:14 +01:00
Aaron Piotrowski
302a5c714c Allow failures on nightly 2017-02-17 00:02:04 -06:00
Aaron Piotrowski
bb51720818 Always use persistent flag for timer
cancel() is called when delay timers are executed anyway, so it doesn't matter what the flags are for the event.
2017-02-16 23:39:11 -06:00
Aaron Piotrowski
9073f6c999 Docblock cleanup 2017-02-16 22:36:32 -06:00
Aaron Piotrowski
d7e8a9de84 Calling stop() in nested loop should not stop outer loop 2017-02-16 22:20:10 -06:00
Aaron Piotrowski
1369f5fd47 Assert callback count 2017-02-10 09:41:43 -06:00
Aaron Piotrowski
b72e504eab Ensure correct argument order in multi-argument lift 2017-02-09 22:34:24 -06:00
Aaron Piotrowski
3861c6b5da Simpler each and filter implementation 2017-02-09 22:17:45 -06:00
Niklas Keller
8eb3033c1c Add note about watchers being enabled by default to every method creating a watcher 2017-02-09 15:47:44 +01:00
Niklas Keller
c2b598ee9c Improve enable() doc and mention it also in the class level phpdoc block 2017-02-09 09:50:23 +01:00
Aaron Piotrowski
5dade2443f Fix error in Message with empty stream 2017-01-31 17:30:05 -06:00
Aaron Piotrowski
5f284b2f70 Refactor Message, add Iterator 2017-01-31 17:09:38 -06:00
Bob Weinand
5249aa65a8 Merge pull request #141 from async-interop/define-tick
Define 'tick'
2017-01-28 22:35:57 +01:00
Niklas Keller
f648dd50e8 Add pending signals to third tick step 2017-01-22 17:09:35 +01:00
Niklas Keller
7f3a0db4c9 Remove timer / io callback order 2017-01-20 16:20:23 +01:00
Niklas Keller
a69bf4d3a0 Improve type hints / types 2017-01-16 17:39:24 +01:00
Aaron Piotrowski
0631560c65 Merge pull request #62 from amphp/drop-choose
Drop Amp\choose
2017-01-15 08:49:11 -06:00
Aaron Piotrowski
e3cb5dc385 Merge pull request #54 from amphp/ex-msg
Make exception messages more generic
2017-01-15 08:48:56 -06:00
Aaron Piotrowski
84917e7786 Add Message and Listener::getBuffered() 2017-01-13 18:46:32 -06:00
Aaron Piotrowski
df901a0305 Remove stream() method from Listener 2017-01-13 18:12:38 -06:00
Niklas Keller
36df722e95 Remove ChooseTest 2017-01-13 20:09:46 +01:00
Aaron Piotrowski
130825d9f5 Restore composer show to travis 2017-01-13 12:11:23 -06:00
Niklas Keller
8f245fa677 Drop Amp\choose 2017-01-13 19:09:17 +01:00
Niklas Keller
6884501aac Fix typo 2017-01-13 15:15:55 +01:00
Niklas Keller
5cbc42d6d9 Define 'tick' 2017-01-13 15:14:01 +01:00
Bob Weinand
a1e0ebbf1b Merge pull request #135 from async-interop/count-watchers
watchers → enabled_watchers in getInfo
2017-01-13 13:37:32 +01:00
Aaron Piotrowski
7a95f58b3b Fix travis build to allow failures on 7.1 2017-01-11 20:25:45 -06:00
Aaron Piotrowski
a643f9a260 Remove last consumed value from listener before drain 2017-01-11 20:13:12 -06:00
Niklas Keller
6312ac15aa Fix invalid watcher exception construction 2017-01-11 14:28:27 +01:00
Aaron Piotrowski
ec45474c8e Move Humbug log to build 2017-01-08 21:38:30 -06:00
Niklas Keller
5aeff2c7d2 Add tests to ensure unreferenced watchers are still executed and negative expiration doesn't create issues 2017-01-08 17:56:59 +01:00
Niklas Keller
5a92c31197 Fix bootstrap test and execute it 2017-01-08 17:24:25 +01:00
Niklas Keller
30a6ac24ed Test bootstrap file 2017-01-08 17:12:04 +01:00
Niklas Keller
3fa5c3318e Merge pull request #2 from joshdifabio/patch-1
Fix async-interop version constraints
2017-01-08 16:49:13 +01:00