1
0
mirror of https://github.com/danog/amp.git synced 2024-11-27 04:24:42 +01:00
Commit Graph

1224 Commits

Author SHA1 Message Date
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
Niklas Keller
a976a73cbc Fix promise combinator example to use Artax v3 2017-07-12 23:46:33 +02:00
Niklas Keller
916cf3119d Ignore missing xdebug on Travis 2017-07-09 14:20:40 +02:00
Niklas Keller
36794da8e9 Fix code style 2017-07-09 14:17:47 +02:00
Bob Weinand
5e93318d85 Fix issue with the loop not terminating with only unreferenced watchers 2017-07-09 09:28:32 +02:00
Niklas Keller
bb1db1609f Add support dates 2017-06-30 12:04:05 +02:00