
- 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.
ComputerCraft
ComputerCraft is a Minecraft modification which adds programmable Robots and Computers to the world of Minecraft. If you're not familiar with ComputerCraft, visit the Website or the Wiki to find out more.
About this Repository
ComputerCraft was originally released in late 2011 by Daniel Ratcliffe. In early 2017, after working on the mod solo for five years, it was decided to release the source code publicly to allow Dan to devote time to other projects. This repository marks the first public release of this source code.
The code in this repository will always represent the "bleeding edge" of the ComputerCraft codebase, but stable builds back to 1.79 will be marked on the Releases page.
Contributing
While ComputerCraft will no longer be actively developed by Daniel Ratcliffe, you may still contribute pull requests which will be reviewed and incorporated into releases periodically. A pull request is more likely to be accepted if it meets the following criteria:
- It does not add any new dependencies for compiling, running or using the mod.
- It does not break compatibility with world saves or programs created with previous versions of the mod.
- It does not add unneccessary complexity for users of the mod, and maintains the accessibility for which the mod is known.
- It does not add unneccessary complexity or stylistic changes to the code, especially where functionality is not being changed.
- It does not create bugs!
The pull requests most likely to be accepted are those which fix bugs, simplify code, or make the mod compatible with newer versions of Minecraft.