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

902 Commits

Author SHA1 Message Date
Bob Weinand
26a707ed94 Always put the watcher back upon re-activation 2016-12-30 00:55:06 +01:00
Aaron Piotrowski
b5d5b8dff1 Drop loop wrapper functions 2016-12-29 16:57:08 -06:00
Aaron Piotrowski
b503836e32 Do not allow failure on 7.1 2016-12-29 16:54:19 -06:00
Aaron Piotrowski
0659f6f3ee Update to loop standard v0.4 2016-12-29 16:54:10 -06:00
Aaron Piotrowski
97ac5a1b1f Update to loop standard v0.4 2016-12-29 16:36:32 -06:00
Aaron Piotrowski
5651240615 Update to promise spec v0.3
Dropped strict-types due to spec requiring weak types in callbacks.
2016-12-29 16:29:27 -06:00
Bob Weinand
3139f156c3 Require PHP 7 for weak types test 2016-12-29 22:34:30 +01:00
Aaron Piotrowski
1fe1eb1d21 Require 7 for weak types test 2016-12-29 14:59:26 -06:00
Aaron Piotrowski
b1e58862b2 Add extension required annotations on Ev and Uv loop tests 2016-12-29 14:47:06 -06:00
Aaron Piotrowski
81f6d3f94f Avoid pcntl bug with closures 2016-12-29 14:40:12 -06:00
Bob Weinand
c49fba263c Add test for weak types 2016-12-29 19:01:41 +01:00
Aaron Piotrowski
5079bb3f13 Merge branch 'uv' 2016-12-29 11:47:42 -06:00
Bob Weinand
b0a122ef29 Fixed #3 (Moved signal handling check before handler call) 2016-12-29 18:16:36 +01:00
Bob Weinand
fcba4ad0c5 Add test for weak types 2016-12-29 17:45:12 +01:00
Cees-Jan Kiewiet
0ede4e89a4 Merge pull request #123 from async-interop/weak-types
Add note about weak type requirement
2016-12-29 16:41:03 +01:00
Aaron Piotrowski
6f2a238087 Merge branch 'event-loop-v0.4' into uv 2016-12-28 23:50:30 -06:00
Aaron Piotrowski
11eb0327bf Cleanup travis build 2016-12-28 23:30:17 -06:00
Aaron Piotrowski
b535a72161 Update for loop standard changes 2016-12-28 23:11:08 -06:00
Bob Weinand
04300eba89 Remove redundant destructor 2016-12-29 03:06:53 +01:00
Bob Weinand
7e875298b8 Use getInfo() in __debugInfo() 2016-12-29 01:50:41 +01:00
Aaron Piotrowski
8ab3918974 Remove \UV::RUN_ONCE if not blocking. 2016-12-28 16:16:09 -06:00
Aaron Piotrowski
225c0703ee Merge branch 'event-loop-v0.4' into uv 2016-12-28 13:02:20 -06:00
Aaron Piotrowski
583a50fab7 Update for loop standard changes 2016-12-28 12:59:04 -06:00
Aaron Piotrowski
f7f5a9a2d9 Fix typo. 2016-12-28 12:56:19 -06:00
Aaron Piotrowski
66bceb811b info() → getInfo() 2016-12-28 12:48:34 -06:00
Niklas Keller
26173a63e6 Add note about weak type requirement 2016-12-28 14:18:14 +01:00
Aaron Piotrowski
a4d572cab9 Fix typo in function declaration 2016-12-27 17:20:48 -06:00
Niklas Keller
2a65c0735b Fix docblock for Placeholder::when 2016-12-23 23:48:24 +01:00
Bob Weinand
e642182289 Update to Promise 2016-12-23 13:14:11 +01:00
Bob Weinand
21683eeb26 Merge pull request #120 from async-interop/loop-info
Rename Loop::info to Loop::getInfo
2016-12-23 11:25:07 +01:00
Niklas Keller
5eeb96ab80 Add missing return description to Loop::getInfo 2016-12-23 11:05:37 +01:00
Niklas Keller
53bd12bbbd Rename Loop::info to Loop::getInfo
We use `get` for all other similar methods, too. Closes #102.
2016-12-23 10:58:26 +01:00
Bob Weinand
2c0d6064af Update for setErrorHandler() & getWatcherId + new test with stop() 2016-12-23 01:43:09 +01:00
Aaron Piotrowski
db1661be6a Merge pull request #118 from async-interop/return_old_error_handler
Loop::setErrorHandler should return the last error handler
2016-12-22 11:38:10 -06:00
Bob Weinand
44fd40af93 Loop::setErrorHandler should return the last error handler 2016-12-22 17:50:25 +01:00
Bob Weinand
50fd5e3bf2 Merge pull request #116 from async-interop/packages
Add implementations and compatible projects to README
2016-12-22 13:15:58 +01:00
Bob Weinand
ef9216a00a Do not block in Loop::dispatch() after Loop::stop() 2016-12-18 21:56:47 +01:00
Niklas Keller
438ce0b892 Add implementations and compatible projects to README
Closes #105.
2016-12-18 12:31:02 +01:00
Aaron Piotrowski
bc1ae1822c Unreference watcher in Amp\timout() 2016-12-17 08:28:19 -06:00
Aaron Piotrowski
8ef760f53c More tests 2016-12-17 08:16:17 -06:00
Aaron Piotrowski
11f1c7e7c4 Amp\lazy() → Amp\Lazy
Plus some tests!
2016-12-15 18:50:33 -06:00
Aaron Piotrowski
93ad513ab1 Remove dead code
Deferred and Postponed will never throw from the functions they define.
2016-12-15 17:34:30 -06:00
Aaron Piotrowski
6e97e6630d Fix some function bugs and add more tests 2016-12-15 17:31:57 -06:00
Aaron Piotrowski
c73ca4e427 Add Emitter and Observer tests 2016-12-13 15:29:54 -06:00
Niklas Keller
1bbcadaedd Rename Observer::next to Observer::advance 2016-12-13 20:37:51 +01:00
Niklas Keller
1299e51ca6 Add tests for InvalidYieldError, improve key display
Without something like var_export, null and false are casted to an empty string.
2016-12-11 17:08:17 +01:00
Niklas Keller
a66f25e4f6 Fix tests 2016-12-11 16:39:58 +01:00
Niklas Keller
e4d97caad7 Fix whitespace 2016-12-11 16:17:51 +01:00
Niklas Keller
2ba73e90fc Fix documentation to point to when instead of then and done 2016-12-11 16:16:12 +01:00
Niklas Keller
bd7e84a138 Improve error messages 2016-12-11 16:12:42 +01:00