1
0
mirror of https://github.com/danog/file.git synced 2024-12-02 17:28:24 +01:00
Commit Graph

327 Commits

Author SHA1 Message Date
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
Jáchym Toušek
289a723d5e
Add AsyncFileMutex (#43) 2020-05-02 11:14:21 +02:00
Niklas Keller
01e2a91e34 Add Travis CI job for uv v0.2.2 2020-05-02 10:04:59 +02:00
Jáchym Toušek
6a506de7ad
Fix UvDriver (#46) 2020-05-02 09:39:57 +02:00
Niklas Keller
dbb066aa1d Add branch alias 2020-04-30 18:09:02 +02:00
Jáchym Toušek
7dc65ffc03
Skip usage of EIO_O_FSYNC if undefined (#42)
Co-authored-by: Niklas Keller <me@kelunik.com>
2020-04-21 18:32:57 +02:00
Jáchym Toušek
9e8bb4defe
Use short list syntax (#40) 2020-03-06 14:06:39 -06:00
Jáchym Toušek
041d8b38b0
Fix link function (#37) 2020-03-06 14:05:30 -06:00
Aaron Piotrowski
647f0043cb
Update error handling in BlockingFile
Related to #36.
2020-02-21 13:17:46 -06:00
Aaron Piotrowski
8b4a36802d
Fix async file test 2020-02-21 13:12:48 -06:00
Aaron Piotrowski
d2dafed3c8
Update travis build 2020-02-21 13:06:01 -06:00
Aaron Piotrowski
ae97b95e3e
Support ext-uv 0.3.0 2020-02-21 13:05:03 -06:00
Aaron Piotrowski
80cfffa823
Remove Makefile, replaced with composer scripts 2019-09-13 22:09:41 -05:00
Aaron Piotrowski
1ca28699c7
lib → src 2019-09-13 22:06:22 -05:00
Aaron Piotrowski
6b56ad783e
Make UvDriver final
Missed this one before I guess…
2019-09-13 15:01:42 -05:00
55c8f020d7 Do not use the last error if it is null (#33) 2019-09-13 14:57:14 -05:00
Aaron Piotrowski
5aecc606b7
File extends Handle
File doesn't show as deprecated in IDEs even though it's parent is deprecated, so this is best.
2019-09-12 19:24:44 -05:00
Aaron Piotrowski
52f94db519
Separate File and Handle
Handle does not include truncate() as this method was not part of the v0.3.x interface.
2019-09-12 19:13:28 -05:00
Aaron Piotrowski
28bdce091e
Rename Handle to File
Handle interface still provided for backward compatibility.
2019-08-23 14:47:03 -05:00
Aaron Piotrowski
e752d0a55b
Remove circular references in poll classes 2019-08-23 14:12:33 -05:00
Aaron Piotrowski
0de3b31101
Update travis testing versions 2019-08-23 14:03:16 -05:00
Aaron Piotrowski
660e0068d1
Refactor tests for AsyncTestCase 2019-08-23 13:59:26 -05:00
Aaron Piotrowski
6f11e413e9
Update tests for PHPUnit deprecations 2019-08-23 13:23:33 -05:00
Aaron Piotrowski
1bce4b075d
Upgrade to PHP 7.1 and update dependencies 2019-08-23 13:00:26 -05:00
Aaron Piotrowski
843e1a2442
Declare classes final 2019-08-23 10:15:51 -05:00
Aaron Piotrowski
afa16cc0e1
Rename driver() to createDefaultDriver() 2019-05-30 10:16:32 -05:00
Aaron Piotrowski
654596edeb
Fix UV writing in append mode 2019-03-01 10:38:57 -06:00
Aaron Piotrowski
94f772bd7a
Quiet style fixer 2019-01-07 11:38:45 -06:00
Aaron Piotrowski
94c3bb631c
Avoid warning when writing an empty string with eio
No warning emitted from uv, but there's also no reason to call uv_fs_write().
2019-01-07 11:32:42 -06:00