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

1309 Commits

Author SHA1 Message Date
Niklas Keller
6a9936cd00 Change ?: to ?? 2018-12-25 14:18:32 +01:00
Niklas Keller
baf667cdb3 Fix composer.json 2018-12-25 14:05:19 +01:00
Niklas Keller
2917687e72 Remove outdated / unused code 2018-10-08 18:39:44 +02:00
Niklas Keller
bfb2cfb9c6 Drop event loop in favor of ext-async 2018-08-08 17:02:32 +02:00
Niklas Keller
690f278fd7 Ignore activate if the handle is already GCed 2018-07-31 22:52:10 +02:00
Niklas Keller
9fcde76c0a Report emitter creation if not completed for easier debugging 2018-07-31 22:39:06 +02:00
Niklas Keller
e132fccf9f Extract GarbageCollectionDriver into a named class 2018-07-29 20:08:53 +02:00
Niklas Keller
8576c4a1ae Re-add Amp\some 2018-07-29 13:15:34 +02:00
Niklas Keller
e1ea42b47a Add @throws annotation for timeout() 2018-07-28 19:17:17 +02:00
Niklas Keller
1e43e7a957 Add handle null check 2018-07-27 20:13:57 +02:00
Niklas Keller
84655c632d Fix TracingDriver 2018-07-25 22:06:42 +02:00
Niklas Keller
ecaffb00d0 Record stack traces of defer / delay watchers on execution 2018-07-25 21:57:57 +02:00
Niklas Keller
23e6dafcee Fix cancel trace recording 2018-07-25 18:47:59 +02:00
Niklas Keller
de5883c350 Enable test due to fixed segfault 2018-07-25 18:40:09 +02:00
Niklas Keller
e68104a7ef Add test case for ext-async segfault 2018-07-24 22:52:46 +02:00
Niklas Keller
d668658cab Fix TracingDriver::getInfo() 2018-07-24 20:00:39 +02:00
Niklas Keller
af6fc70e7f Disable ev due to segfaults 2018-07-24 18:18:45 +02:00
Niklas Keller
5cd176e7d0 Disable uv due to segfaults 2018-07-24 18:12:50 +02:00
Niklas Keller
0d0da9da93 Fix code style 2018-07-24 18:12:01 +02:00
Niklas Keller
73e76a499d Fix PHP versions on Travis 2018-07-24 18:02:04 +02:00
Niklas Keller
c6d5479f55 Install ext-async on Travis 2018-07-24 18:00:42 +02:00
Niklas Keller
bce074a684 Use TracingDriver if PHPUnit is running 2018-07-22 22:30:19 +02:00
Niklas Keller
a37041791f Add return types and TracingDriver 2018-07-22 22:21:20 +02:00
Niklas Keller
fed48ada7d Migrate to new register / unregister API for TaskScheduler 2018-07-19 20:19:20 +02:00
Niklas Keller
fc503b27bf Allow global access to the scheduler 2018-07-18 21:37:00 +02:00
Niklas Keller
0c7dc4c8e6 Fix Emitter logic 2018-07-18 21:36:00 +02:00
Niklas Keller
2a80fe752e Fix emitter GC logic 2018-07-18 19:14:06 +02:00
Niklas Keller
327b77112b Move scheduler into its own file 2018-07-17 20:57:31 +02:00
Niklas Keller
2f7e36aa1a Remove manual task scheduler run, cancel watcher on stop 2018-07-17 19:52:00 +02:00
Niklas Keller
b037868a98 Cancel dispatch watcher if queue is non-empty on loop run end 2018-07-16 22:39:49 +02:00
Niklas Keller
2cca6a0be7 Clear scheduler queue after loop run 2018-07-16 22:35:23 +02:00
Niklas Keller
2fe52e9da2 Fix failure of emitters 2018-07-16 21:37:47 +02:00
Niklas Keller
b2429292c7 Drop support for promises
We have Awaitable now and no longer need promises. Emitter is now compatible with \Iterator. Removed many things, because they're no longer needed.
2018-07-16 20:26:13 +02:00
Niklas Keller
967cb382a8 Apply latest ext-async BC breaks 2018-07-15 15:09:33 +02:00
Niklas Keller
2529099423 Add test for ext-async failure 2018-07-15 13:10:03 +02:00
Niklas Keller
048d0c3931 Fix Composer requirements 2018-07-15 12:33:22 +02:00
Niklas Keller
9aaecb4612 Use TaskLoopScheduler 2018-07-15 12:23:56 +02:00
Niklas Keller
439516d650 Implement stopLoop() and deferred task dispatching 2018-07-12 22:03:35 +02:00
Niklas Keller
7fc47f3df3 Work around segfault
See https://github.com/concurrent-php/task/issues/22.
2018-07-11 20:21:05 +02:00
Niklas Keller
5b7d5bdafb Fix await function 2018-07-10 21:08:59 +02:00
Niklas Keller
fbf207c8f3 Add await for promises 2018-07-10 21:03:33 +02:00
Niklas Keller
194e2a0503 Improve Travis notification settings 2018-07-10 20:55:12 +02:00
Niklas Keller
1a2c6d88ba Improve output visualization 2018-07-10 20:53:03 +02:00
Niklas Keller
0aa27a8217 Fix example to work with ext-task 2018-07-10 20:34:43 +02:00
Niklas Keller
ca5c961384 Implement TaskScheduler and first example using ext-task 2018-07-10 20:22:09 +02:00
Niklas Keller
205d37d849 Update code style in docs 2018-06-18 20:11:15 +02:00
Sascha-Oliver Prolic
81e7024e14 Document yield vs yield from (#226) 2018-06-18 20:01:46 +02:00
Niklas Keller
fa3fe1d20b Apply PSR-2 2018-06-18 20:00:01 +02:00
Niklas Keller
9f88371f9e Ignore docs/asset on export
Relates to amphp/amp#227
2018-05-16 22:29:53 +02:00
Niklas Keller
382fd0033b Update shared documentation files
This is an automated commit. Please report any issues to https://github.com/amphp/website-tools.
2018-05-16 16:15:33 +02:00