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

1347 Commits

Author SHA1 Message Date
Niklas Keller
bb85e40ce1 Merge pull request #46
Add tests for resolve callables
2016-05-11 19:14:33 +02:00
Chris Wright
6f4433dd1c Add tests for resolve callables 2016-05-11 18:07:58 +01:00
Bob Weinand
452c9b7295 Force leading backslashes everywhere 2016-05-11 18:53:20 +02:00
Niklas Keller
d9aa8573f0 Throw InvalidArgumentException if argument to resolve() is neither callable nor an instance of Generator 2016-05-11 18:49:25 +02:00
Bob Weinand
92e004264c resolve() accepts callables returning generators - added to changelog 2016-05-11 18:28:19 +02:00
Chris Wright
3ab10de2a2 Accept callables to resolve() 2016-05-11 17:13:15 +01:00
Bob Weinand
cc7db038b3 Fix mem leaks & circular reference; prepare tag 1.1.1 2016-05-11 03:36:46 +02:00
Andrew Carter
d781ac94d6 Merge pull request #20 from async-interop/AndrewCarterUK-php5-patch
Removed scalar type hints
2016-04-15 11:51:56 +01:00
Andrew Carter
89332e5b0f Removed scalar type hints 2016-04-11 11:31:30 +01:00
Andrew Carter
624060c67f Removed inScope() 2016-04-11 11:30:42 +01:00
Andrew Carter
882723d7e2 Update EventLoopDriver.php 2016-04-11 11:22:54 +01:00
Andrew Carter
dace2d8226 Removed scalar type hints 2016-04-11 11:19:52 +01:00
Niklas Keller
66fa98dfc1 Merge pull request #42 from staabm/patch-2
Cache composer dependecies for faster builds
2016-04-08 17:23:02 +02:00
Markus Staab
a3e5464039 Cache composer dependecies for faster builds 2016-04-01 16:42:32 +02:00
Andrew Carter
6113525227 Merge pull request #18 from async-interop/readme
README
2016-03-31 22:21:57 +01:00
Andrew Carter
7d15156f97 Create README.md 2016-03-31 15:33:44 +01:00
Andrew Carter
71fcb29126 Merge branch 'master' of github.com:async-interop/event-loop into HEAD 2016-03-29 22:20:07 +01:00
Aaron Piotrowski
eca2278de2 Merge pull request #3 from AndrewCarterUK/prototype
Event Loop Driver Prototype
2016-03-29 14:35:54 -05:00
Andrew Carter
54c4ded85b Missing static's 2016-03-23 16:47:37 +00:00
Andrew Carter
c6184ed91b Scope validation and driver retrieval 2016-03-23 10:22:54 +00:00
Andrew Carter
efaedc3bdb Indentation 2016-03-23 10:17:46 +00:00
Andrew Carter
7e4ce36de0 Prototype static event loop class 2016-03-23 10:16:21 +00:00
Andrew Carter
3e6fa28203 Rename EventLoopInterface.php to EventLoopDriver.php 2016-03-23 10:01:30 +00:00
Andrew Carter
6d906eb887 Delete WatcherInterface.php 2016-03-23 09:49:26 +00:00
Andrew Carter
899e100349 Added reference() and unreference() 2016-03-23 09:47:18 +00:00
Andrew Carter
2b2b4678e7 Update EventLoopInterface.php 2016-03-17 16:54:19 +00:00
Andrew Carter
780d32bc6c PHPDoc 2016-03-14 10:56:31 +00:00
Bob Weinand
093d33c36c Prepare tag 1.1.0 2016-03-09 14:10:31 +01:00
Niklas Keller
7046ca47e1 Expose combined exceptions in combinator exception
Also fix indent, escape sequences and docs
2016-03-09 14:09:15 +01:00
Bob Weinand
d3212d4638 NativeReactor needs to always end in stopped state
(under normal circumstances)
2016-03-08 12:14:19 +01:00
Andrew Carter
2843dbf1f3 Updated with response from discussions on issues 2016-03-01 00:52:59 +00:00
Danack
a78cc09dac Avoid invalid escape sequences. 2016-02-24 12:56:47 +00:00
Bob Weinand
e925017519 If no timer has ever been defined, also block indef
Instead of a loop being uselessly repeated each one second (but that doesn't matter in real world actually)
2016-02-22 23:29:31 +01:00
Bob Weinand
4b667478f4 Fixed bug causing NativeReactor to run at 100% CPU
See also https://github.com/amphp/aerys/issues/68
2016-02-22 23:17:50 +01:00
Andrew Carter
70b71d11de Switched from timer/period to once/repeat 2016-02-18 11:39:58 +00:00
Andrew Carter
c540de2483 Update EventLoopInterface.php 2016-02-17 15:47:18 +00:00
Andrew Carter
4da85097d5 Update EventLoopInterface.php 2016-02-17 15:25:39 +00:00
Andrew Carter
427386ad73 Create WatcherInterface.php 2016-02-17 15:19:51 +00:00
Andrew Carter
09a4083fe1 Created EventLoopInterface.php 2016-01-20 11:01:40 +00:00
Andrew Carter
27f4c5dc49 Added composer.json 2016-01-20 10:56:02 +00:00
Andrew Carter
276b14e223 Initial commit 2016-01-20 10:52:37 +00:00
Bob Weinand
5341a4cb92 Fix combinator functions, prepare tag 1.0.7
$struct->remaining may be negative in case of bare values passed to combinator functions
2016-01-09 15:19:56 +01:00
Bob Weinand
72683085c5 Fix signal tests for when pcntl isn't loaded, but UvReactor is 2015-11-16 14:53:19 +01:00
Bob Weinand
9f76a3f16e Fix NativeReactor::stop() being delayed, prepare tag 1.0.6 2015-11-16 03:02:13 +01:00
Daniel Lowrey
515129f446 Add note about extension backends 2015-10-31 22:54:13 -04:00
Bob Weinand
3057329a5c Update tests for CombinatorException, prepare tag 1.0.5 2015-09-30 14:31:53 +02:00
Niklas Keller
00898cd6af Convert RuntimeException to CombinatorException 2015-09-23 22:56:55 +02:00
Bob Weinand
63055f0784 AssertionException => AssertionError 2015-09-19 17:43:57 +02:00
Niklas Keller
fe92dea3c2 Update .travis.yml for PHP nightly and fix installation step to right label 2015-09-17 18:14:30 +02:00
Bob Weinand
fb8a993fcf Remove now unnecessary phpenv rehash from .travis.yml 2015-09-11 17:36:21 +02:00