Daniel Lowrey
dd1cbf8ca1
Merge branch 'debugInfo'
...
Conflicts:
lib/LibeventReactor.php
lib/NativeReactor.php
lib/UvReactor.php
2014-12-02 01:06:36 -05:00
Daniel Lowrey
14c209012c
Add Reactor::__debugInfo() for easier debugging
2014-12-02 00:45:12 -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
1480eecaba
Remove newloop protection from UvReactor
2014-12-01 15:39:57 -05:00
Daniel Lowrey
f686691892
Add Reactor::tick()
2014-11-26 15:53:18 -05:00
Daniel Lowrey
6d5e15d662
Apply boolean DeMorgan simplification
2014-11-26 15:49:14 -05:00
Chris Wright
c6b5d4fd17
Don't stop when there are immediates left
2014-11-26 17:03:18 +00:00
Daniel Lowrey
c75a8514a1
Reactor is now optional for combinator functions
2014-11-25 12:46:29 -05:00
Daniel Lowrey
59578f7e8c
Update changelog
2014-11-24 23:18:12 -05:00
Daniel Lowrey
0e9c4a1818
Require Reactor when instantiating Promisor implementations
2014-11-24 23:17:43 -05:00
Daniel Lowrey
1cb293b776
Remove Combinator/Resolver in favor of functions
...
This commit removes the Combinator and Resolver classes altogether.
The relevant functionality is now concentrated entirely in the
analogous functions:
- all()
- some()
- any()
- first()
- map()
- filter()
- resolve()
Additionally, all Promisor implementations now *require* a Reactor
upon instantiation. Previously this parameter could be null and the
static singleton reactor instance would be used automatically.
2014-11-24 23:14:07 -05:00
Daniel Lowrey
448dd501f3
Update CHANGELOG
2014-11-18 10:08:34 -05:00
Daniel Lowrey
398c1a6790
Don't hammer the CPU with NOWAIT ticks
2014-11-18 10:08:34 -05:00
Daniel Lowrey
2d5a1eb643
Allow multiple IO watchers on a stream without borking libuv
2014-11-18 10:08:34 -05:00
Daniel Lowrey
ccc0bdcbe0
Remove unused Reactor constants
2014-11-18 10:08:34 -05:00
Daniel Lowrey
d5c494afb1
Implement safer struct usage
2014-11-18 10:08:34 -05:00
Daniel Lowrey
2a84f46853
Fix breakage if ext/openssl missing in windows
2014-11-18 10:08:34 -05:00
Daniel Lowrey
50cbd41b83
Update README.md
2014-11-12 13:11:12 -05:00
Daniel Lowrey
695f83b028
Update README.md
2014-11-12 13:07:46 -05:00
Daniel Lowrey
c7584260b9
Update README.md
...
Added note about the new amp chat :)
2014-11-12 09:33:12 -05:00
Daniel Lowrey
8638f70bec
Merge pull request #10 from gitter-badger/gitter-badge
...
Add a Gitter chat badge to README.md
2014-11-12 09:29:26 -05:00
The Gitter Badger
fa8fc70ef8
Added Gitter badge
2014-11-12 14:27:47 +00:00
Daniel Lowrey
5c46db0c41
Update changelog for 0.13.0
2014-11-05 11:57:59 -05:00
Daniel Lowrey
874e7dab90
Formalize resolver yield commands
2014-11-05 11:56:35 -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
3e585120c2
Update Resolver tests
2014-10-22 18:14:56 -04:00
Daniel Lowrey
7b11a8e0c3
Rename any() -> some(), change any() to never fail
2014-10-22 18:14:43 -04:00
Daniel Lowrey
f1f967e0ce
Fix file permissions
2014-10-22 18:14:15 -04:00
Daniel Lowrey
634d978aeb
Simplify reactor onStart() callback invocation
2014-10-22 18:14:01 -04:00
Daniel Lowrey
21e7ddbff9
Add key shortcuts, fix tick starvation when resolving looped yields
2014-10-22 18:12:36 -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
f3658a2aab
Merge pull request #8 from zvirusz/patch-1
...
add missed $func passing in map() & filter()
2014-10-20 09:53:53 -04:00
Daniel Lowrey
9a2ab863f4
Drop php version requirement to 5.4
2014-10-20 09:45:49 -04:00
Andrey Janzen
27a0b8ff2c
add missed $func passing in map() & filter()
2014-10-15 18:07:35 +04:00
Daniel Lowrey
bd1cf64101
Use global reactor if not passed to Future::__construct()
2014-10-08 16:46:08 -04:00
Daniel Lowrey
413c76b7a7
Update README.md
2014-10-03 20:37:59 -04:00
Daniel Lowrey
11c8dfb9df
Update README.md
2014-10-02 16:06:50 -04:00
Daniel Lowrey
b73a33da63
Fix bug causing immediate() callback starvation
2014-09-24 12:22:24 -04:00
Daniel Lowrey
9f40915fe3
Update CHANGELOG
2014-09-24 00:12:03 -04:00
Daniel Lowrey
969d15ebe8
Add Combinator class
2014-09-23 23:47:20 -04:00
Daniel Lowrey
6b7c24e160
Update composer.json
2014-09-23 00:27:48 -04:00
Daniel Lowrey
7064ec5dc8
Migrate repo to amphp/amp
2014-09-23 00:06:03 -04:00
Daniel Lowrey
56e720cd50
Merge concurrency primitives
2014-09-22 22:21:22 -04:00
Daniel Lowrey
df47c6f09b
Use string watcher IDs
2014-08-22 14:08:31 -04:00
Daniel Lowrey
74ab6bcf62
Moar README updates
2014-08-19 15:16:08 -04:00