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

1313 Commits

Author SHA1 Message Date
Sascha-Oliver Prolic
81e7024e14 Document yield vs yield from (#226) 2018-06-18 20:01:46 +02:00
Niklas Keller
fa3fe1d20b Apply PSR-2 2018-06-18 20:00:01 +02:00
Niklas Keller
9f88371f9e Ignore docs/asset on export
Relates to amphp/amp#227
2018-05-16 22:29:53 +02:00
Niklas Keller
382fd0033b Update shared documentation files
This is an automated commit. Please report any issues to https://github.com/amphp/website-tools.
2018-05-16 16:15:33 +02:00
Niklas Keller
d561cc9736 Update README 2018-04-30 22:49:57 +02:00
Niklas Keller
82835325d0 Prevent ext-event 2.4.0RC1 and use 2.3.0 instead
PHP 7.2 in combination with ext-event 2.4.0RC1 throws exceptions with invalid file descriptors, while everything works fine with 2.3.0 or PHP < 7.2.

This is a temporary fix to get the build green again.

Relates to #221.
2018-04-30 22:47:14 +02:00
Niklas Keller
ab9011fc66 Update documentation dependencies 2018-04-30 10:48:03 +02:00
Niklas Keller
a43dd773b9 Add changelog entry for 2.0.7 2018-04-30 10:43:43 +02:00
Niklas Keller
5dac863f37 Don't record stack traces in case of AMP_DEBUG not being set (#218)
Fixes #217.
2018-04-26 00:32:31 +02:00
Aaron Piotrowski
242d78a6ec Fix 212 and ignore unreference on invalid watchers (#216)
Fix #212 & Ignore unreference on invalid watchers
2018-04-12 09:46:52 +02:00
Aaron Piotrowski
9b2fb76442
Free loop handle when destructing EventDriver
Relates to #177.
2018-04-08 13:20:27 -05:00
Aaron Piotrowski
3b12391529
Add note about OR'ing with 4 2018-04-08 13:10:46 -05:00
Aaron Piotrowski
8c8a6da0c2
Invoke watcher callback if events is 0 or 4
4 is UV_DISCONNECT
2018-04-06 14:22:39 -05:00
Niklas Keller
c632e40b03 Clarify promise interface
Fixes #209.
2018-03-25 17:27:41 +02:00
Aaron Piotrowski
22eb14d736
Avoid odd ev event nulling behavior 2018-03-20 09:54:22 -05:00
Bob Weinand
5b305835ea
Merge pull request #206 from krlv/update_contributing_md
Update contributing.md
2018-03-16 15:19:41 +01:00
Eugene Kirillov
c964599271 Fix code review comments 2018-03-16 15:55:04 +02:00
Eugene Kirillov
bbd083ffc9 Update contributing.md 2018-03-16 15:42:32 +02:00
Niklas Keller
4a742beb59 Prepare v2.0.6 2018-01-27 20:18:05 +01:00
Niklas Keller
819b484b80 Update gems for documentation 2018-01-27 20:13:19 +01:00
Aaron Piotrowski
992d6e9b39 Return named classes
Better for var_dump and stack traces.
2018-01-27 19:47:46 +01:00
Aaron Piotrowski
4bbe141718 Hide resolution methods 2018-01-27 19:47:46 +01:00
Niklas Keller
118ed983be Fix code style 2018-01-08 22:00:15 +01:00
Niklas Keller
46b1a27825 Add garbage collection example with iterators 2018-01-08 21:26:46 +01:00
Niklas Keller
b873f8bd71 Improve coroutine docs 2017-12-21 19:34:01 +01:00
Niklas Keller
7c10bc7b58 Improve promise helper docs 2017-12-21 18:57:31 +01:00
Niklas Keller
0192030eb3 Improve promise documentation
This includes an extended introduction. It marks Deferred as advanced API and removes the note for the performance hack.
2017-12-21 16:40:10 +01:00
Niklas Keller
b498a6bb3b Add missing changelog entry for v2.0.5 2017-12-19 19:59:42 +01:00
Niklas Keller
502b4be000 Fix event extension installation
This doesn't add the extension to php.ini if the installation fails.
2017-12-19 18:27:18 +01:00
Niklas Keller
3f08f615d8 Fix segfault with ev on shutdown, fixes amphp/parallel#3 2017-12-19 18:27:18 +01:00
Aaron Piotrowski
be3ae73a45
Drop multiple definitions of Deferred and Emitter
Closes #144, #157, #173, #189, #190.
2017-12-16 00:00:56 -06:00
Niklas Keller
1cb074ac90 Update shared documentation files
This is an automated commit. Please report any issues to https://github.com/amphp/website-tools.
2017-12-14 19:16:21 +01:00
Niklas Keller
0cb033084a Fix formatStacktrace notice 2017-12-07 18:23:19 +01:00
Niklas Keller
704bc84d9b Update shared documentation files
This is an automated commit. Please report any issues to https://github.com/amphp/website-tools.
2017-12-06 12:49:57 +01:00
Niklas Keller
718f1e6da8 Fix headings in combinator docs 2017-12-06 12:36:51 +01:00
Niklas Keller
b6be3871f3 Prepare v2.0.4 2017-12-05 08:56:44 +01:00
Niklas Keller
98cfaa63ca Remove unused variables 2017-12-05 08:48:56 +01:00
Niklas Keller
f2579bd0ea Add phpstan 2017-12-05 08:48:41 +01:00
Bob Weinand
59d0438f6f
Merge pull request #188 from amphp/debug-env-define
Define AMP_DEBUG through an environment variable
2017-12-02 18:45:30 +01:00
Aaron Piotrowski
4ef9af6dff
Check against "false" 2017-12-02 11:15:06 -06:00
Aaron Piotrowski
e3b0b9a0c7
Update backtrace formatting 2017-12-02 11:14:49 -06:00
Aaron Piotrowski
745a95ba67
Define AMP_DEBUG through environment 2017-12-02 10:23:12 -06:00
Aaron Piotrowski
c260e2ea51
Define target platform in composer.json and fix .travis.yml 2017-12-02 10:18:59 -06:00
Markus Staab
34bf671f13 Automatically add \ for buitins (#186)
Fixes #185.
2017-11-29 13:36:50 +01:00
Niklas Keller
a8cb7f264e Add syntax highlighting 2017-11-12 17:16:19 +01:00
Niklas Keller
6e2df2fdce Move documentation section up in README, add examples 2017-11-12 17:15:42 +01:00
Niklas Keller
f884c488d4 Use GitHub hosted image versions in README 2017-11-12 16:14:58 +01:00
Niklas Keller
0b1706ff95 Improve readme 2017-11-12 16:13:12 +01:00
Niklas Keller
3bb21b80f2 Discourage onReadable / onWritable and recommend amphp/byte-stream instead
This also documents the stream chunk size issue mentioned in #65.

Fixes #65.
2017-11-11 11:45:02 +01:00
Niklas Keller
34ca09bee3 Prepare v2.0.3 2017-11-11 11:33:33 +01:00