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

1379 Commits

Author SHA1 Message Date
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
umbri
abe92a78ad Add basic promise examples (#179) 2017-11-08 14:01:26 +01:00
Niklas Keller
19113ed5f1 Add example cross-ref to amphp/socket
amphp/amp is the base library, but people should be aware of the abstractions provided instead of directly using Loop::on* if possible.
2017-10-30 21:56:31 +01:00
Niklas Keller
6165e3afeb Update shared documentation files
This is an automated commit. Please report any issues to https://github.com/amphp/website-tools.
2017-10-20 19:13:27 +02:00
Niklas Keller
2bdd2d1c95 Update shared documentation files
This is an automated commit. Please report any issues to https://github.com/amphp/website-tools.
2017-10-20 18:33:29 +02:00
Bob Weinand
7837d8ce08 Fix #172 - Preserve Promise order within combinator functions 2017-10-10 15:37:31 +02:00
Niklas Keller
955e3e5d0a Add changelog entry for dummy driver in Loop::set() 2017-10-10 14:34:16 +02:00
Bob Weinand
ddca159375 Merge pull request #171 from amphp/collect-cycles
Replace driver with dummy driver and collect cycles on loop switch
2017-10-08 13:45:42 +02:00
Niklas Keller
df15b07fb3 Replace driver with dummy driver and collect cycles on loop switch
This solves https://github.com/amphp/dns/issues/66. Circular references might otherwise be collected later and __destruct operations using the Loop accessor might cancel watchers on the wrong loop.
2017-10-08 12:52:30 +02:00
Niklas Keller
458d8d152c Update shared documentation files
This is an automated commit. Please report any issues to https://github.com/amphp/website-tools.
2017-09-27 15:07:06 +02:00
Niklas Keller
ad0a500b51 Fix shared asset path for docs 2017-09-27 13:49:15 +02:00
Niklas Keller
7c8a0deeb0 Use common shared asset path on production 2017-09-27 13:36:51 +02:00
Niklas Keller
3f7b8fac75 Update to new shared repository
amphp/website-shared has been merged into amphp/amphp.github.io.
2017-09-27 13:25:40 +02:00
Niklas Keller
f163aa9567 Update shared documentation files
This is an automated commit. Please report any issues to https://github.com/amphp/website-tools.
2017-09-21 18:14:24 +02:00
Niklas Keller
7b257c561c Update shared documentation files
This is an automated commit. Please report any issues to https://github.com/amphp/website-tools.
2017-09-20 21:48:01 +02:00
Niklas Keller
361b6cefbb Fix code style 2017-09-20 17:50:00 +02:00
Niklas Keller
f2a662534e Improve exception examples 2017-09-20 17:34:20 +02:00
umbri
bb34b9fb2d Added exception examples 2017-09-20 17:26:07 +02:00
Niklas Keller
8b136336a9 Add entries to changelog 2017-09-19 21:08:25 +02:00
Niklas Keller
bd428ca31b Fix DriverTest::testBug163ConsecutiveDelayed to use assigned driver 2017-09-19 19:58:07 +02:00
Niklas Keller
a247757535 Ignore only warnings for interrupted syscalls in NativeDriver
Fixes #160.
2017-09-19 18:53:39 +02:00
sedat sevgili
96e23e2246 Change getProtocol => getProtocolVersion
In current("^3.0") amphp/artax version, there is no getProtocol method, instead of getProtocolVersion method exists in artax response.
2017-09-18 10:41:57 +02:00
Niklas Keller
7a04dc5c21 Fix EventDriver warnings and bugs
Fixes #163, #159.
2017-09-17 12:18:04 +02:00
Niklas Keller
3fb7e793b8 Install libevent-dev on Travis 2017-09-17 11:32:23 +02:00
Niklas Keller
45865134e9 Add 7.2 to Travis 2017-09-17 11:14:52 +02:00
Niklas Keller
eb646f7bdb Update shared documentation files 2017-09-14 18:13:02 +02:00
Aaron Piotrowski
05491a57c9
Optimize fast-finishing/failing coroutines 2017-08-04 22:50:19 -05:00
Christoffer Bubach
61b018b11f updated class spelling 2017-08-01 22:21:01 +02:00
Niklas Keller
8f5fb52525 Shut up php-cs-fixer
See https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/2948.
2017-07-29 23:43:24 +02:00
Niklas Keller
147a3f5b2b Fix .editorconfig 2017-07-29 22:21:50 +02:00
Aaron Piotrowski
334cf8ab3c Update README.md
Link to event package instead of libevent package.
Link banner to amphp.org instead of raw image.
2017-07-17 16:42:51 -05:00
Niklas Keller
32a6319165 Add banner to README 2017-07-16 18:24:07 +02:00
Niklas Keller
fb2c8b8335 Unbreak logo text 2017-07-15 23:20:55 +02:00
Niklas Keller
3344b333c4 Use new logo \o/ 2017-07-15 23:08:21 +02:00
Niklas Keller
acd79411b4 Add note about yielding an array === Amp\Promise\all 2017-07-12 23:48:48 +02:00