summaryrefslogtreecommitdiff
path: root/Libraries/LibCore/CIODevice.h
AgeCommit message (Collapse)Author
2020-01-18Meta: Add license header to source filesAndreas Kling
As suggested by Joshua, this commit adds the 2-clause BSD license as a comment block to the top of every source file. For the first pass, I've just added myself for simplicity. I encourage everyone to add themselves as copyright holders of any file they've added or modified in some significant way. If I've added myself in error somewhere, feel free to replace it with the appropriate copyright holder instead. Going forward, all new source files should include a license header.
2019-12-27LibCore: Fix errors when compiling LibCore using clang instead of gccStefano Cristiano
2019-09-04CIODevice: Add is_open()Andreas Kling
2019-07-27LibCore: Add CFileStreamReader, a simple streaming CFile reader.Andreas Kling
This is extremely barebones right now, but can be used to easily read binary data from a CFile piece by piece.
2019-07-27CIODevice: Add a virtual did_update_fd() no notify subclasses of fd change.Andreas Kling
This will allow subclasses to react when the file descriptor changes.
2019-07-25LibCore: Introduce a C_OBJECT macro.Andreas Kling
This macro goes at the top of every CObject-derived class like so: class SomeClass : public CObject { C_OBJECT(SomeClass) public: ... At the moment, all it does is create an override for the class_name() getter but in the future this will be used to automatically insert member functions into these classes.
2019-07-08StringView: Rename characters() to characters_without_null_termination().Andreas Kling
This should make you think twice before trying to use the const char* from a StringView as if it's a null-terminated string.
2019-07-04Libraries: Create top level directory for libraries.Andreas Kling
Things were getting a little crowded in the project root, so this patch moves the Lib*/ directories into Libraries/.