Niklas Keller
955e3e5d0a
Add changelog entry for dummy driver in Loop::set()
2017-10-10 14:34:16 +02:00
Niklas Keller
8b136336a9
Add entries to changelog
2017-09-19 21:08:25 +02:00
Niklas Keller
5d36c15a1c
Add changelog for 2.0.0, fixes #92
2017-05-04 17:27:50 +02:00
Niklas Keller
77bfdd55a7
Improve changelog formatting
2016-05-12 16:49:46 +02:00
Bob Weinand
4f2161da5f
Fix notices in NativeReactor; prepare tag 1.2.2
2016-05-12 14:54:59 +02:00
Bob Weinand
87a5f29ab4
Fix potential infinite loop in UvReactor::run(); prepare tag 1.2.1
2016-05-12 07:51:11 +02:00
Bob Weinand
92e004264c
resolve() accepts callables returning generators - added to changelog
2016-05-11 18:28:19 +02:00
Bob Weinand
cc7db038b3
Fix mem leaks & circular reference; prepare tag 1.1.1
2016-05-11 03:36:46 +02:00
Bob Weinand
093d33c36c
Prepare tag 1.1.0
2016-03-09 14:10:31 +01:00
Daniel Lowrey
b01a165a63
Remove changelog; using github release interface going forward
2015-07-22 00:16:32 -04:00
Daniel Lowrey
78621fd66b
update CHANGELOG
2015-06-09 11:51:10 -04:00
Daniel Lowrey
71f9687cff
Reactor watcher option "callback_data" renamed "cb_data"
2015-05-20 15:21:59 -04:00
Daniel Lowrey
c7e4e8d0c3
Miscellaneous function changes (more after jump)
...
- Combinator functions optimized for performance
- Amp\reactor() now accepts an optional assignment parameter for
modifying the global default event reactor instance to allow for
third-party Reactor implementations.
- Renamed functions:
. Amp\getReactor() -> Amp\reactor()
- Removed functions:
. Amp\chooseReactor()
. Amp\tick()
. Amp\immediately()
. Amp\once()
. Amp\repeat()
. Amp\onReadable()
. Amp\onWritable()
. Amp\onSignal()
. Amp\enable()
. Amp\disable()
. Amp\cancel()
2015-05-20 15:18:30 -04:00
Daniel Lowrey
fc600d46ab
Pass optional data parameter to when/watch callbacks
2015-05-19 18:49:38 -04:00
Daniel Lowrey
ca82ac5362
Fix NativeReactor bug breaking tick sleep timing
2015-05-19 16:13:53 -04:00
Daniel Lowrey
44d52cdf2f
Rename AMP_DEBUG -> AMP_PRODUCTION_MODE
2015-05-19 14:56:22 -04:00
Daniel Lowrey
e3e01c993c
Add Amp\Streamable interface for buffered generator resolution
2015-05-19 12:03:26 -04:00
Daniel Lowrey
2a0486cb3c
Add Amp\pipe() function to pipe eventual results through a functor
2015-05-19 11:31:01 -04:00
Daniel Lowrey
30245d6817
Add optional callback data param in Deferred::__construct()
2015-05-19 11:16:04 -04:00
Daniel Lowrey
4acec8eceb
update changelog
2015-05-19 00:31:25 -04:00
Daniel Lowrey
02e85b29c6
Fix high cpu usage in timer loop from broken "nextTimerAt" caching
2015-05-18 11:40:09 -04:00
Daniel Lowrey
aa27ab7a10
Fixed bug causing every NativeReactor tick to last one second (lol)
2015-05-17 19:52:41 -04:00
Daniel Lowrey
631a6089d9
Resolve correct Success arg in empty any\(\) combinator
2015-05-15 15:59:57 -04:00
Daniel Lowrey
93eb8ad8de
Suggest nearby property name in Struct error messages
2015-05-13 10:05:56 -04:00
Daniel Lowrey
2c3a3e65bd
Add offending generator key to coroutine resolution error messages
2015-05-13 01:15:35 -04:00
Daniel Lowrey
cd815b4b99
update changelog for 1.0.0-beta
2015-05-12 15:02:06 -04:00
Daniel Lowrey
82b89043da
update changelog
2015-04-29 11:01:45 -04:00
Daniel Lowrey
22b308793a
update support files
2015-04-27 15:16:26 -04:00
Markus Staab
f004d83cf1
drop $forceNew param in getReactor()
...
At runtime there are no use cases where one would like to re-create the reactor. only multi instance scenario is unit tests, but those don't need to be covered in the public api.
2015-04-27 17:57:44 +02:00
Daniel Lowrey
446e09a95d
Update changelog for v0.16.0
2015-02-18 09:59:48 -05:00
Daniel Lowrey
99e38762a7
- Added Reactor::coroutine()
method
...
- Added `Amp\coroutine()` function
- `YieldCommands` "enum" constant class removed -- yield keys now live in
the reactor class
- New optional `"coroutine"` yield key for self-documenting generator
yields.
- New optional `"async"` yield key for self-documenting promise yields.
- New `"return"` yield key for specifying the return value of a resolved
Generator coroutine. If not specified a resolved coroutine result is
equal to null.
- The final value yielded by a resolved `Generator` is *no longer* used
as its "return" value. Instead, generators must manually use the new
`"return"` yield key specifically to designate the value that should
be used to resolve the promise associated with generator resolution.
- `GeneratorResolver` trait renamed to `CoroutineResolver` and is now an
abstract class extended by the various `Reactor` implementations.
- Implicit "all" array combinator resolution is now removed. Use the
explicit form instead:
```php
function() {
list($a, $b, $c) = (yield 'all' => [$promise1, $promise2, $promise3]);
};
```
2015-02-03 19:41:15 -05:00
Daniel Lowrey
fb60221dcd
Correctly re-enable stream polls in UvReactor
2015-01-21 20:16:33 -05:00
Daniel Lowrey
313e3d3a61
Update CHANGELOG
2015-01-21 16:00:20 -05:00
Daniel Lowrey
abbbb6425d
Update CHANGELOG
2015-01-18 20:16:02 -05:00
Daniel Lowrey
c21068fc94
Update changelog
2014-12-08 11:52:09 -05:00
Daniel Lowrey
ec7b77d156
Update CHANGELOG
2014-12-02 11:52:56 -05:00
Daniel Lowrey
e2422f43ae
Update CHANGELOG
2014-12-02 01:11:06 -05:00
Daniel Lowrey
f32d088c23
Lots of changes ... see CHANGELOG for details
2014-12-01 19:45:57 -05:00
Daniel Lowrey
0d7ab5fc6c
Add Reactor::onError, correctly exit extension reactor loops, replace resolve function with trait
2014-12-01 18:12:26 -05:00
Daniel Lowrey
f686691892
Add Reactor::tick()
2014-11-26 15:53:18 -05:00
Daniel Lowrey
59578f7e8c
Update changelog
2014-11-24 23:18:12 -05:00
Daniel Lowrey
448dd501f3
Update CHANGELOG
2014-11-18 10:08:34 -05:00
Daniel Lowrey
5c46db0c41
Update changelog for 0.13.0
2014-11-05 11:57:59 -05:00
Daniel Lowrey
c28e143828
Remove watchStream() ... aliases are bad
2014-11-05 11:50:46 -05:00
Daniel Lowrey
70222364d5
Use singleton reactor instance in functions
2014-11-04 09:46:12 -05:00
Daniel Lowrey
2fd6538e47
Fix infinite loop on nested immediately watchers in LibeventReactor
2014-10-22 22:18:34 -04:00
Daniel Lowrey
45a99522c1
Update CHANGELOG
2014-10-22 18:15:54 -04:00
Daniel Lowrey
d719e302a6
Fix syntax error
2014-10-20 12:08:09 -04:00
Daniel Lowrey
0b6945b9db
Update CHANGELOG.md
2014-10-20 09:56:01 -04:00
Daniel Lowrey
bd1cf64101
Use global reactor if not passed to Future::__construct()
2014-10-08 16:46:08 -04:00