Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-05 | system/FileDescriptor: move to io/ | Max Kellermann | |
2020-03-12 | replace signal.h with csignal.h | Rosen Penev | |
The former was deprecated with C++14. The standard says they are the same: The contents of the header<csignal>are the same as the C standard library header<signal.h>. Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||
2019-12-17 | io/FileDescriptor: add method FullRead() | Max Kellermann | |
2019-08-19 | system/FileDescriptor: add method IsRegularFile() | Max Kellermann | |
2018-11-19 | check.h: remove obsolete header | Max Kellermann | |
Since we switched from autotools to Meson in commit 94592c14062d5afc9482d11baa401648082022c0, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints. | |||
2018-11-02 | system/FileDescriptor: check `__linux__` instead of `__linux` | Max Kellermann | |
`__linux` is the deprecated non-standard macros which appears to be not present at all on PowerPC. Closes #398 | |||
2018-08-21 | system/FileDescriptor: add openat() wrapper | Max Kellermann | |
2018-08-20 | system/FileDescriptor: include cleanup | Max Kellermann | |
2018-08-20 | system/FileDescriptor: pass FileDescriptor to CheckDuplicate() | Max Kellermann | |
2018-08-20 | net/SocketDescriptor: make eventfd() and signalfd() mandatory on Linux | Max Kellermann | |
2018-08-20 | system/FileDescriptor: make inotify_init1() mandatory on Linux | Max Kellermann | |
2018-08-20 | system/FileDescriptor: add pipe2() wrapper | Max Kellermann | |
2018-08-20 | system/FileDescriptor: add operator!= | Max Kellermann | |
2018-08-20 | system/FileDescriptor: add "noexcept" | Max Kellermann | |
2018-08-20 | Compiler.h: move to util/ | Max Kellermann | |
2018-08-20 | system/FileDescriptor: add IsPipe(), IsSocket() | Max Kellermann | |
2018-07-13 | system/FileDescriptor: no-op implementation of *CloseOnExec() on Windows | Max Kellermann | |
Fixes the NFS client build, closes #305. | |||
2017-09-13 | system/FileDescriptor: Close() should not be called on undefined object | Max Kellermann | |
It does not do much harm - but it causes an unnecessary (failing) system call. | |||
2017-09-13 | system/FileDescriptor: mention class UniqueFileDescriptor in API documentation | Max Kellermann | |
2017-09-13 | system/FileDescriptor: add CheckDuplicate() | Max Kellermann | |
2017-09-13 | system/FileDescriptor: use _WIN32 instead of WIN32 | Max Kellermann | |
2017-08-11 | system/FileDescriptor: add method CreatePipeNonBlock() | Max Kellermann | |
2017-08-11 | system/FileDescriptor: implement CreatePipe() on Windows | Max Kellermann | |
2017-08-10 | system/FileDescriptor: add Open() overload with wchar_t path | Max Kellermann | |
2017-08-10 | system/FileDescriptor: add methods EnableCloseOnExec(), DisableCloseOnExec() | Max Kellermann | |
2017-08-10 | system/FileDescriptor: add method IsReadyForWriting() | Max Kellermann | |
2017-08-10 | system/FileDescriptor: add method IsValid() | Max Kellermann | |
2017-08-10 | system/FileDescriptor: use std::exchange() | Max Kellermann | |
2017-05-08 | *: add "noexcept" to many, many function prototypes | Max Kellermann | |
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing. | |||
2017-01-17 | AUTHORS, ...: update my email address | Max Kellermann | |
2016-02-19 | system/FileDescriptor: add method Skip() | Max Kellermann | |
2015-03-24 | system/FileDescriptor: add method Tell() | Max Kellermann | |
2015-03-03 | system/FileDescriptor: Close() returns bool | Max Kellermann | |
2015-03-03 | system/FileDescriptor: add "mode" parameter to Open() | Max Kellermann | |
2015-03-03 | system/FileDescriptor: fix WIN32 checks | Max Kellermann | |
2015-03-03 | system/FileDescriptor: new wrapper class for a file descriptor | Max Kellermann | |