Zhen Zhang
aa5e7da1dc
servo: Merge #12406 - Refactor FileAPI implementation (from izgzhen:refactor-file); r=Manishearth
...
Most are simple refactoring, cleanups and improvements, but still involving two slightly notable changes:
+ In `filemanager`, now we read the file content based on requested `RelativePos` by `seek` and `read_exact` (rather than `read_to_end` then do slicing). This strategy might be again adjusted in future performance tuning but certainly better than nothing.
+ Also, I cached more file meta-info in both sides and left a block of comment on `filemanager`'s file reading mentioning the snapshot-state problem (not solved now though).
r? @Manishearth
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Source-Repo: https://github.com/servo/servo
Source-Revision: 665559556f5aeac5820e17684b14311aa3767c0c
2016-07-12 22:00:08 -07:00
..
2016-07-12 22:00:08 -07:00
2016-06-25 15:16:48 -05:00
2016-07-12 04:35:53 -07:00
2016-06-02 06:18:59 -05:00
2016-06-02 06:18:59 -05:00
2016-07-08 05:06:57 -07:00
2016-06-07 11:09:14 -05:00
2016-05-24 02:07:29 -07:00
2016-07-12 22:00:08 -07:00
2016-06-08 10:42:42 -05:00
2016-05-04 08:06:06 -07:00
2016-03-16 20:31:18 +05:00
2016-05-27 18:14:25 -05:00
2016-07-07 18:15:38 -07:00
2016-07-07 18:15:38 -07:00
2016-05-31 20:00:23 -05:00
2016-06-08 13:31:41 -05:00
2016-05-27 18:14:25 -05:00
2016-07-04 11:03:35 -07:00
2016-05-24 02:07:29 -07:00
2015-12-18 03:56:59 +05:00
2016-07-04 12:57:00 -07:00
2016-05-24 15:59:31 -07:00
2016-06-02 06:18:59 -05:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-02-05 03:10:36 +05:00
2016-05-24 02:07:29 -07:00
2016-06-01 01:59:12 -05:00
2016-05-24 02:07:29 -07:00
2016-07-04 11:03:35 -07:00
2016-07-12 13:44:33 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-06-02 05:25:05 -05:00
2015-12-18 23:07:12 +05:00
2015-11-18 15:14:30 +05:00
2016-05-27 18:14:25 -05:00
2015-11-18 15:14:30 +05:00
2016-06-01 07:36:47 -05:00
2015-11-18 15:14:30 +05:00
2016-05-24 02:07:29 -07:00
2016-07-05 02:04:42 -07:00
2016-07-08 05:06:57 -07:00
2016-07-04 11:03:35 -07:00
2016-05-24 02:07:29 -07:00
2016-07-04 11:03:35 -07:00
2016-05-24 02:07:29 -07:00
2016-07-04 11:03:35 -07:00
2016-07-12 22:00:08 -07:00
2016-06-01 07:36:47 -05:00
2016-07-10 05:59:37 -07:00
2016-05-24 02:07:29 -07:00
2016-05-27 18:14:25 -05:00
2016-07-05 06:24:46 -07:00
2016-05-24 02:07:29 -07:00
2016-07-03 08:19:04 -07:00
2016-06-07 11:09:14 -05:00
2016-06-07 11:09:14 -05:00
2016-05-24 02:07:29 -07:00
2016-06-07 11:09:14 -05:00
2016-06-07 11:09:14 -05:00
2016-05-24 02:07:29 -07:00
2016-06-04 09:22:34 -05:00
2016-06-20 12:54:20 -05:00
2016-07-05 02:04:42 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-07-08 04:12:04 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-07-10 08:18:27 -07:00
2016-05-24 02:07:29 -07:00
2016-06-07 11:09:14 -05:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-07-05 02:04:42 -07:00
2016-05-24 02:07:29 -07:00
2016-07-10 21:14:17 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-06-02 21:51:10 -05:00
2016-05-24 02:07:29 -07:00
2016-06-07 11:09:14 -05:00
2016-05-24 02:07:29 -07:00
2016-07-04 11:03:35 -07:00
2016-07-10 13:10:37 -07:00
2016-07-12 16:27:36 -07:00
2016-06-07 11:09:14 -05:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-07-08 09:56:31 -07:00
2016-05-24 02:07:29 -07:00
2016-07-10 00:26:53 -07:00
2016-07-05 02:04:42 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-06-20 12:54:20 -05:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-07-05 02:04:42 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-07-08 09:56:31 -07:00
2016-06-07 11:09:14 -05:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-06-20 12:54:20 -05:00
2016-05-24 02:07:29 -07:00
2016-06-07 11:09:14 -05:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-06-07 11:09:14 -05:00
2016-05-24 02:07:29 -07:00
2016-06-07 11:09:14 -05:00
2016-06-07 11:09:14 -05:00
2016-05-24 02:07:29 -07:00
2016-06-07 11:09:14 -05:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-05-03 15:46:40 -07:00
2016-07-06 02:51:50 -07:00
2016-06-29 17:39:58 -05:00
2016-07-04 11:03:35 -07:00
2016-05-03 16:42:46 -07:00
2016-07-04 11:03:35 -07:00
2016-05-27 07:11:17 -05:00
2016-05-24 02:07:29 -07:00
2016-06-25 15:16:48 -05:00
2016-07-03 08:19:04 -07:00
2016-05-24 02:07:29 -07:00
2016-06-02 06:18:59 -05:00
2016-05-24 02:07:29 -07:00
2016-07-04 11:03:35 -07:00
2016-05-27 18:14:25 -05:00
2016-06-14 18:32:37 -05:00
2016-05-24 02:07:29 -07:00
2016-06-01 07:36:47 -05:00
2016-05-27 18:14:25 -05:00
2016-05-27 07:11:17 -05:00
2016-05-27 18:14:25 -05:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-06-01 07:36:47 -05:00
2016-07-04 11:03:35 -07:00
2015-11-04 02:26:02 +05:00
2016-07-04 11:03:35 -07:00
2016-06-02 06:18:59 -05:00
2016-07-04 11:03:35 -07:00
2016-06-02 06:18:59 -05:00
2016-06-29 16:47:57 -05:00
2016-04-27 07:50:54 -07:00
2016-07-07 14:26:44 -07:00
2016-05-27 07:11:17 -05:00
2016-05-27 07:11:17 -05:00
2016-04-04 23:09:31 +05:00
2016-07-05 06:24:46 -07:00
2016-05-24 02:07:29 -07:00
2016-05-27 07:11:17 -05:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2015-11-04 02:26:02 +05:00
2016-05-24 02:07:29 -07:00
2015-11-04 02:26:02 +05:00
2015-11-04 10:33:54 +05:00
2016-06-04 20:25:36 -05:00
2016-07-11 00:13:45 -07:00
2016-04-23 11:28:31 -07:00
2016-05-24 02:07:29 -07:00
2016-05-27 07:11:17 -05:00
2016-03-24 18:43:02 +05:00
2016-05-27 18:14:25 -05:00
2015-10-10 15:00:39 -06:00
2016-06-07 11:09:14 -05:00
2016-05-24 02:07:29 -07:00
2016-06-28 13:13:44 -05:00
2016-05-24 02:07:29 -07:00
2016-06-28 13:13:44 -05:00
2015-11-04 02:26:02 +05:00
2016-06-28 13:13:44 -05:00
2016-06-28 13:13:44 -05:00
2016-07-04 12:57:00 -07:00
2016-06-28 13:13:44 -05:00
2015-11-04 02:26:02 +05:00
2016-06-28 13:13:44 -05:00
2016-06-28 13:13:44 -05:00
2016-07-05 06:24:46 -07:00
2016-07-08 09:56:31 -07:00
2016-07-04 11:03:35 -07:00
2016-07-04 11:03:35 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-07-08 09:56:31 -07:00
2015-10-21 07:57:32 -06:00
2015-11-04 02:26:02 +05:00