1
0
mirror of https://github.com/danog/amp.git synced 2024-11-26 20:15:00 +01:00
Commit Graph

1238 Commits

Author SHA1 Message Date
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
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