1
0
mirror of https://github.com/danog/amp.git synced 2024-11-30 04:29:08 +01:00
Commit Graph

1229 Commits

Author SHA1 Message Date
Daniel Lowrey
cdc5fecd47 Remove Streamable interface 2015-07-22 00:10:09 -04:00
Daniel Lowrey
64775544dd update readme 2015-07-22 00:06:02 -04:00
Daniel Lowrey
79a33c09fe misc + testing 2015-07-21 23:59:20 -04:00
Daniel Lowrey
2cea028b1c filter() updates and tests 2015-07-21 20:09:27 -04:00
Daniel Lowrey
932542f292 add map() combinator tests 2015-07-21 19:41:39 -04:00
Daniel Lowrey
33fd20acb3 add tests 2015-07-21 17:25:18 -04:00
Daniel Lowrey
dcab6907c0 minor cleanup 2015-07-21 17:25:11 -04:00
Daniel Lowrey
d6b674b93b Move coroutine functions into new Coroutine class 2015-07-21 16:14:50 -04:00
Daniel Lowrey
564a81c519 misc updates + tests 2015-07-21 12:25:34 -04:00
Daniel Lowrey
c8bbf8208f misc updates 2015-07-20 22:40:06 -04:00
Daniel Lowrey
0d14e906f8 Add Pause test coverage 2015-07-20 22:29:17 -04:00
Daniel Lowrey
0e6560070b misc updates and tests 2015-07-20 22:27:11 -04:00
Daniel Lowrey
132c83e302 update readme 2015-07-20 15:49:04 -04:00
Daniel Lowrey
10037fe859 Miscellaneous reactor cleanup 2015-07-20 15:42:56 -04:00
Daniel Lowrey
288530d296 Add EvReactor 2015-07-20 15:42:42 -04:00
Daniel Lowrey
962699263c fix bad coverage link in readme 2015-07-19 13:55:35 -04:00
Daniel Lowrey
28154b4d70 Fix missing stream property assignment 2015-07-19 13:53:26 -04:00
Daniel Lowrey
e9e8476cff use travis container architecture 2015-07-19 13:50:03 -04:00
Daniel Lowrey
57841b08f4 remove extension redundancy 2015-07-19 13:49:12 -04:00
Daniel Lowrey
2243736c76 remove deprecated --dev option from travis composer command 2015-07-19 13:41:40 -04:00
Daniel Lowrey
4184d07610 support file updates 2015-07-19 13:33:39 -04:00
Daniel Lowrey
d8a0c147e6 Add manual watcher refcount manipulation methods 2015-07-10 15:36:13 -04:00
Daniel Lowrey
4d4e9bad32 Replace BaseException refs with Throwable 2015-07-07 10:15:57 -04:00
Daniel Lowrey
ad96a584d5 Check coroutine nesting level before incurring "next tick" overhead 2015-06-16 12:08:24 -04:00
Daniel Lowrey
c7d0f3f86e error traceback improvement 2015-06-16 11:10:53 -04:00
Daniel Lowrey
40fbb6e16d Minor coroutine refactoring/optimization; add makeGeneratorError() 2015-06-16 10:59:44 -04:00
Daniel Lowrey
1d777c7e3e Remove custom coroutine promisifier support 2015-06-15 17:53:58 -04:00
Markus Staab
f06f803e76 fixed code to adhere to the phpdoc'ed description 2015-06-15 17:47:02 -04:00
Daniel Lowrey
1a891f54ac Remove streamable support in coroutine resolution 2015-06-15 13:17:27 -04:00
Daniel Lowrey
57c0f222ea Support extended generator error debugging output in PHP7 2015-06-15 11:56:42 -04:00
Daniel Lowrey
deedb4a7fa minor coroutine optimization to avoid extra valid() fcall 2015-06-15 10:58:24 -04:00
Bob Weinand
298357f760 We need to check for Generator::getReturn() in ≥ PHP 7 2015-06-13 18:37:04 +02:00
Daniel Lowrey
8a8930c8fd Fix exception breakage across 5.x/7 environments 2015-06-11 15:22:14 -04:00
Daniel Lowrey
7ce6734976 Fix potential illegal offset access 2015-06-10 15:32:02 -04:00
Bob Weinand
80fb080470 I/O watchers must be always cleared, even if disabled
Not clearing I/O watcher lead to a leftover disabled watcher, so that streamIdPollMap still contains a disabled watcher with the flag.
Which may lead to a new watcher of same type not triggering an uv_poll_start().
2015-06-10 20:10:33 +02:00
Daniel Lowrey
78621fd66b update CHANGELOG 2015-06-09 11:51:10 -04:00
Daniel Lowrey
f2a0488d87 Add Amp\promises() to coalesce values/promises/promisors to promises 2015-06-09 11:49:22 -04:00
Daniel Lowrey
1ac3d96d24 Remove Exception hint because it breaks on PHP7 BaseException 2015-06-08 15:11:17 -04:00
Daniel Lowrey
e923ea3fde minor timeout function/test cleanup 2015-05-31 20:18:42 -04:00
Daniel Lowrey
34088cbf52 Add timeout() function 2015-05-31 20:13:39 -04:00
Daniel Lowrey
905d5bfc2c update docblock 2015-05-31 19:51:09 -04:00
Daniel Lowrey
954eaabcf5 Make promise updates variadic (ugly) 2015-05-31 19:33:55 -04:00
Daniel Lowrey
48d8aaf0e5 Correctly clear UvReactor once() watchers 2015-05-31 12:06:25 -04:00
Daniel Lowrey
31f21da9e9 Improve Deferred performance switching 2015-05-27 22:03:08 -04:00
Daniel Lowrey
0c4f04c6ab Fix missing parameter if coroutine invoked without args 2015-05-27 18:33:57 -04:00
Bob Weinand
6c440b2797 Fix fatal error upon wrong key type 2015-05-27 23:36:22 +02:00
Daniel Lowrey
05e3ecc423 Fix bug incorrectly clearing repeat watcher when disabled 2015-05-26 03:03:32 -04:00
Daniel Lowrey
80548311af Use the same tests as master 2015-05-25 13:33:06 -04:00
Daniel Lowrey
5e7d6ff095 Fix coroutine fatal if initial advance errored 2015-05-25 12:51:50 -04:00
Daniel Lowrey
0c0395f7a0 Fix UvReactor bugs 2015-05-25 12:47:04 -04:00