1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-07-04 11:03:22 +00:00
CC-Tweaked/src/main/java/dan200/computercraft/shared
SquidDev 6ccffe9742 Refactor the filesystem and HTTP code
- Move the encoding/decoding from the Filesystem implementation to the
   individual handles.
 - Move each handle into an core.apis.handles package from the main fs
   API.
 - Move the HTTP response to inherit from these handles.
 - Allow binary handles' read function to accept a number, specifying
   how many characters to read - these will be returned as a Lua string.
 - Add readAll to binary handles
 - Allow binary handles' write function to accept a string which is
   decoded into the individual bytes.
 - Add "binary" argument to http.request and friends in order to return
   a binary handle.
 - Ensure file handles are open when reading from/writing to them.
 - Return the error message when opening a file fails.
2017-05-13 22:47:28 +01:00
..
common Updated (C) from 2016 to 2017 (#229) 2017-05-13 19:20:39 +01:00
computer Updated (C) from 2016 to 2017 (#229) 2017-05-13 19:20:39 +01:00
media Updated (C) from 2016 to 2017 (#229) 2017-05-13 19:20:39 +01:00
network Updated (C) from 2016 to 2017 (#229) 2017-05-13 19:20:39 +01:00
peripheral Merge pull request #220 from SquidDev-CC/feature/item-handler 2017-05-13 21:31:58 +01:00
pocket Merge pull request #220 from SquidDev-CC/feature/item-handler 2017-05-13 21:31:58 +01:00
proxy Merge pull request #234 from SquidDev-CC/feature/remap-ids 2017-05-13 21:44:10 +01:00
turtle Merge pull request #220 from SquidDev-CC/feature/item-handler 2017-05-13 21:31:58 +01:00
util Refactor the filesystem and HTTP code 2017-05-13 22:47:28 +01:00