1
0
mirror of https://github.com/danog/file.git synced 2024-11-26 20:04:51 +01:00
Commit Graph

255 Commits

Author SHA1 Message Date
Niklas Keller
f306068680 Run invalidate in finally block 2022-02-08 19:15:38 +01:00
Aaron Piotrowski
dad4f97100
Update for further dependency changes 2022-02-07 19:31:21 -06:00
Aaron Piotrowski
858c2a46fc
Update for amphp/parallel changes 2021-12-22 17:23:01 -06:00
Niklas Keller
c46262eff3 Update for beta changes 2021-12-22 22:54:20 +01:00
Bob Weinand
a15f524472 Update for recent renames 2021-12-04 15:23:37 +01:00
Aaron Piotrowski
3513e8fee2
Add isClosed 2021-11-21 22:55:15 -06:00
Aaron Piotrowski
b2b263092e
Update for stream changes and coroutine to launch rename 2021-11-21 13:12:23 -06:00
Aaron Piotrowski
7d31b42f82
Update for removal of Revolt\launch 2021-10-19 19:13:54 -05:00
Aaron Piotrowski
742d9303d0
Use Revolt and update for Amp changes 2021-10-16 00:04:27 -05:00
Aaron Piotrowski
67c4cb07c2
Merge branch 'master' into v3 2021-10-15 17:07:19 -05:00
Jáchym Toušek
3d3d084b81
Fix EioDriver (#61) 2021-09-19 23:35:03 -05:00
Jáchym Toušek
a638ea0a4e
Fix GitHub Actions (#60) 2021-09-07 13:36:40 +02:00
Aaron Piotrowski
03844ce122
Merge branch 'master' into v3
# Conflicts:
#	composer.json
#	src/Driver/ParallelFile.php
2021-07-13 23:03:53 -05:00
Niklas Keller
17b758986d Fix deprecation warning on PHP 8.1 2021-07-12 22:20:01 +02:00
Jáchym Toušek
6b7ea38a02
Use eio-beta in CI (#58)
* Use eio-beta in CI
* Enable ext-eio v3
2021-06-23 20:12:57 +02:00
Niklas Keller
08c651cc58 Fix PHP CS Fixer config 2021-06-21 21:35:15 +02:00
Niklas Keller
90f955076c Ignore ext-eio on PHP 8 2021-06-21 21:33:16 +02:00
Niklas Keller
36c6f688fc Remove conditional for now 2021-06-21 21:28:38 +02:00
Niklas Keller
05e2fe33a7 Use ubuntu-20.04 due to conditional 2021-06-21 21:26:20 +02:00
Niklas Keller
385f0badd2 Install libuv on ubuntu-latest 2021-06-21 21:16:18 +02:00
Niklas Keller
f45eb1177f Try to fix uv on GitHub actions 2021-06-21 21:11:12 +02:00
Niklas Keller
bcc397e482 Migrate to GitHub actions 2021-06-21 21:08:24 +02:00
Aaron Piotrowski
f406950680
Remove call to eio_init
Deprecated in eio v2, removed in v3.
2021-05-21 14:23:48 -05:00
Aaron Piotrowski
faec49c347
Update for rename 2020-12-12 12:47:07 -06:00
Aaron Piotrowski
d84e7dec95
Fix rebase mistake
This rename must have been accidently overwritten.
2020-11-10 16:27:57 -06:00
Aaron Piotrowski
3e012f9e78
Refactor for Amp v3 2020-10-22 00:35:54 -05:00
Niklas Keller
7abe3d5f27
Merge pull request #53 from amphp/new-api 2020-10-21 23:42:09 +02:00
Niklas Keller
cfc330afcc Fix code style 2020-10-21 23:27:24 +02:00
Niklas Keller
9085f447b3 Actually store something in status cache 2020-10-21 23:23:05 +02:00
Niklas Keller
8ed01f294a Clear stat cache in Fixture 2020-10-21 23:17:22 +02:00
Niklas Keller
075afe23dd Mark StatusCachingFile constructor as internal 2020-10-21 22:54:30 +02:00
Niklas Keller
2162e7dc48 Rework stat cache to use a decorator 2020-10-21 22:52:43 +02:00
Niklas Keller
cbfe211760 Fix code style 2020-10-21 21:29:18 +02:00
Niklas Keller
ce982fa29d Fix code style and ParallelDriver 2020-10-21 21:22:06 +02:00
Niklas Keller
3983198322 Forward global functions to Filesystem 2020-10-21 21:04:52 +02:00
Aaron Piotrowski
ef0c365e27
Merge branch 'v1.x' 2020-07-10 11:43:32 -05:00
Aaron Piotrowski
61dc93f8f8
Update metafiles 2020-07-10 11:42:50 -05:00
Aaron Piotrowski
701e1c974e
Forgot Eio tests 2020-07-06 13:28:39 -05:00
Aaron Piotrowski
1a6558c113
Pass current loop driver to EioPoll 2020-07-06 13:27:26 -05:00
Niklas Keller
c0bdd0f55b Fix watcher error 2020-07-01 07:23:23 +02:00
Niklas Keller
06f40308da Make UvPoll depend on passed driver, fix code style 2020-07-01 06:19:09 +02:00
Niklas Keller
82c1f039ad Fix EioDriverTest 2020-06-30 21:49:55 +02:00
Niklas Keller
8d949a9eae Redesign Driver API 2020-06-30 21:45:09 +02:00
Niklas Keller
781eb9c88e Improve method names in Driver 2020-06-24 22:00:24 +02:00
Niklas Keller
05091744c0 Mark EioPoll and UvPoll as internal 2020-06-23 23:00:47 +02:00
Niklas Keller
ea5e653788 Improve error messages 2020-06-23 22:58:15 +02:00
Niklas Keller
bd6eac7e9c Fix LICENSE date 2020-06-23 22:44:30 +02:00
Jáchym Toušek
0ed53c601e
Make drivers more consistent / reduce driver API (#38)
Co-authored-by: Niklas Keller <me@kelunik.com>
2020-06-23 22:40:48 +02:00
Jáchym Toušek
f3d47a33ae
Link to parallel extension instead of pthreads (#48) 2020-05-03 18:59:52 +02:00
Niklas Keller
56c1bacf67 Change if ($fh) to if (is_resource($fh))
Changes in ext-uv 0.3 to be int|resource instead of false|resource.
2020-05-02 11:19:53 +02:00