1
0
mirror of https://github.com/danog/amp.git synced 2024-12-02 17:37:50 +01:00
Commit Graph

1365 Commits

Author SHA1 Message Date
Aaron Piotrowski
f83d36dfe5 Update promise docblocks 2017-06-06 12:57:03 -05:00
Aaron Piotrowski
7a05fe1316 Use static function for rethrow 2017-06-05 00:21:45 -05:00
Aaron Piotrowski
6ec8757698 Use references instead of function invocation 2017-06-05 00:19:34 -05:00
Aaron Piotrowski
b354b04779 Fix code style 2017-06-05 00:10:13 -05:00
Aaron Piotrowski
02eb0340f1 Use anonymous classes in Deferred and Emitter 2017-06-04 23:59:23 -05:00
Niklas Keller
31f021e59a Add coroutine concurrency example 2017-06-04 16:12:46 +02:00
Niklas Keller
2a4ae8474b Fix typo 2017-06-04 11:45:26 +02:00
Niklas Keller
380a2fc4e0 Update .shared to work on mobile 2017-05-29 21:55:35 +02:00
Niklas Keller
2fb3a1a50f Fix coverage merge script
The coverage merge script needs a coverage driver and as xdebug is now always disabled, we need to run it with phpdbg.
2017-05-28 17:23:16 +02:00
Niklas Keller
78e7136cdb Update shared to be in .shared 2017-05-28 16:44:20 +02:00
Niklas Keller
5d9e76dd5b Add humans.txt to website 2017-05-28 16:07:07 +02:00
Niklas Keller
ec37c8c04c Add default page layout, update shared docs 2017-05-28 15:49:47 +02:00
Niklas Keller
9c17f02172 Improve cancellation documentation to reflect the latest features 2017-05-27 19:46:14 +02:00
Niklas Keller
a96d5c1d1b Improve promise documentation and document performance hack 2017-05-27 17:16:29 +02:00
Niklas Keller
a8717d3fd5 Order documentation menu 2017-05-27 10:48:04 +02:00
Niklas Keller
3d894c3067 Update documentation share 2017-05-26 21:50:56 +02:00
Niklas Keller
dba75b37a0 Improve introduction 2017-05-26 21:42:33 +02:00
Niklas Keller
bb4d338e1f Update documentation share 2017-05-26 21:19:15 +02:00
Niklas Keller
777590a9e5 Fix page titles to allow a menu 2017-05-26 21:13:34 +02:00
Niklas Keller
04aa2cd951 Update submodule to https 2017-05-26 20:04:45 +02:00
Niklas Keller
e5270ef46c Allow ./docs to be published as Jekyll page 2017-05-26 19:56:02 +02:00
Niklas Keller
bcb3e74907 Do not use verbose extraction output when installing UV 2017-05-26 12:29:34 +02:00
Niklas Keller
713bbfb360 Use parallel download for UV 2017-05-26 12:24:53 +02:00
Niklas Keller
5f70ca1fe1 Use dist files instead of git clones for UV 2017-05-26 12:09:55 +02:00
Niklas Keller
bdbb2a992c Disable xdebug completely for Travis 2017-05-26 11:42:25 +02:00
Niklas Keller
d0bdcf18d6 Run php-cs-fixer without xdebug 2017-05-25 20:13:10 +02:00
Bob Weinand
550713c74b Merge pull request #139 from amphp/null-cancel
Implement NullCancellationToken
2017-05-25 12:57:13 +02:00
Niklas Keller
332869987b Implement NullCancellationToken 2017-05-24 10:34:54 +02:00
Aaron Piotrowski
cd252e4165 Invoke callback on all non-zero statuses 2017-05-24 00:09:04 -05:00
Niklas Keller
ef6c2b10ee Micro-optimize interval = 0 if 2017-05-23 20:17:34 +02:00
Niklas Keller
38ef4d9ffa Fix issues with interval = 0 repeat watchers, fixes #131 2017-05-23 19:46:23 +02:00
Niklas Keller
dbc853c3f1 Fix timers with interval = 0 in NativeDriver 2017-05-22 19:54:14 +02:00
Aaron Piotrowski
5bca41ade4 Cleaner coroutine continuation 2017-05-22 12:28:29 -05:00
Niklas Keller
5dad46f297 Implement additional cancellation token methods 2017-05-22 19:26:09 +02:00
Bob Weinand
7e500548df Merge pull request #133 from amphp/env-driver
Allow setting the loop driver via the env
2017-05-20 18:12:17 +02:00
Aaron Piotrowski
335196c201 Merge pull request #135 from amphp/flat_callstack
Avoid coroutine callstack explosion upon yielding succeeded Promises
2017-05-20 10:35:54 -05:00
Bob Weinand
26dfafe00c Avoid coroutine callstack explosion upon yielding succeeded Promises 2017-05-20 16:31:49 +02:00
Niklas Keller
9d18a1f8bd Readd missing depth property 2017-05-20 09:46:01 +02:00
Niklas Keller
e8e26d79e7 Revert "Drop max continuation depth"
This reverts commit cdf28fa938.

As streams always buffer before applying backpressure, these might
result in a stack overflow. Another example is file streaming with
the blocking driver, which always immediately succeeds.
2017-05-20 09:40:56 +02:00
Niklas Keller
e589f2d935 Remove fallback part from error messages 2017-05-19 16:51:20 +02:00
Niklas Keller
a289e7e41d Increase testNestedLoopSignalDispatch timeouts 2017-05-19 16:47:55 +02:00
Niklas Keller
28bb6068f1 Allow setting the loop driver via the env 2017-05-19 16:17:11 +02:00
Bob Weinand
4fe48c8aec Fix #132 (TypeError calling Driver::disable()) 2017-05-19 15:57:49 +02:00
Niklas Keller
03d1630b69 Add further tests for cancellation 2017-05-16 21:56:52 +02:00
Niklas Keller
39dd36efdc Fix cancellation token example 2017-05-16 21:46:52 +02:00
Niklas Keller
fdf18dedd7 Fix tabs → spaces 2017-05-16 20:08:27 +02:00
Niklas Keller
47357f209d Add basic cancellation docs 2017-05-16 18:51:48 +02:00
Aaron Piotrowski
be2a9f8c07 Merge pull request #130 from amphp/cancellation
Implement cancellation primitives, resolves #125
2017-05-16 11:32:42 -05:00
Aaron Piotrowski
086f045003 Remove event to stream map
Unnecessary as the watcher object is available in cancel().
2017-05-16 11:22:40 -05:00
Bob Weinand
6e52f3e211 Fix potential issues when operating on destroyed uv handles in shutdown sequence 2017-05-16 18:17:12 +02:00