summaryrefslogtreecommitdiff
path: root/src/command/StorageCommands.cxx
AgeCommit message (Collapse)Author
2020-03-12replace inttypes.h with cinttypesRosen Penev
The former has been deprecated by C++14. They are also the same. From the standard: The contents and meaning of the header<cinttypes>are the same as the C standard library header<inttypes.h>, with the following changes: -The header<cinttypes>includes the header<cstdint>instead of<stdint.h>,and —if and only if the typeintmax_tdesignates an extended integer type (6.7.1), the following functionsignatures are added:intmax_t abs(intmax_t);imaxdiv_t div(intmax_t, intmax_t);which shall have the same semantics as the function signaturesintmax_t imaxabs(intmax_t)andimaxdiv_t imaxdiv(intmax_t, intmax_t), respectively. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-18copyright year 2020Max Kellermann
2019-07-05include cleanups (powered by iwyu)Max Kellermann
2019-06-17Copyright year 2019Max Kellermann
2019-05-08util/Time*: move to time/Max Kellermann
2019-02-20Instance: use std::unique_ptr<> to manage the Database pointerMax Kellermann
2018-11-19db/Interface: remove IsPlugin(), use `dynamic_cast` insteadMax Kellermann
2018-10-31*: copyright year 2018Max Kellermann
2018-01-02storage/Composite: use std::unique_ptr<Storage>Max Kellermann
2018-01-02storage/Plugin: return std::unique_ptr<Storage>Max Kellermann
2017-12-19Main, ...: catch any exception, not just std::runtime_errorMax Kellermann
2017-12-16Merge branch 'v0.20.x'Max Kellermann
2017-12-12*: check defined(_WIN32) instead of defined(WIN32)Max Kellermann
Only _WIN32 is defined by the compiler, and WIN32 is not standardized and may be missing. Closes #169
2017-05-15Merge tag 'v0.20.7'Max Kellermann
release v0.20.7
2017-05-08*: add "noexcept" to many, many function prototypesMax Kellermann
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
2017-02-25command/storage: use Instance::EmitIdle()Max Kellermann
These events are relevant for all partitions.
2017-02-25Client: add method GetInstance()Max Kellermann
2017-02-11storage/FileInfo: convert mtime to std::chrono::system_clock::time_pointMax Kellermann
2017-02-10IOThread: move EventThread instance into struct InstanceMax Kellermann
Eliminate global variables.
2017-01-03update copyright yearMax Kellermann
2016-10-29db/simple: migrate Mount() from class Error to C++ exceptionsMax Kellermann
2016-10-27storage: migrate from class Error to C++ exceptionsMax Kellermann
2016-10-27command/Storage: use std::unique_ptrMax Kellermann
2016-03-05Partition: add method EmitIdle()Max Kellermann
Prepare for moving idle events to class Partition. Right now, it's just a wrapper for idle_add().
2016-02-28db/simple: throw DatabaseError on errorMax Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2015-08-13command: pass Response object to command callbacksMax Kellermann
2015-08-12client/Response: new Client wrapper class for writing responsesMax Kellermann
2015-08-11command/Request: new struct wrapping ConstBuffer<const char *>Max Kellermann
2015-03-02StorageCommands: use PathTraitsUTF8 for protocol argumentMax Kellermann
2015-02-28storage/FileInfo: rename to StorageFileInfoMax Kellermann
2015-01-01Copyright year 2015Max Kellermann
2014-12-08command: use ConstBuffer<const char *> for argument listMax Kellermann
2014-10-09StoragePlugin: pass EventLoop to constructorMax Kellermann
2014-06-16command: make argc unsignedMax Kellermann
2014-03-14command/{storage,file}: suppress bogus format warnings on WIN32Max Kellermann
2014-03-01command: add command "listfiles"Max Kellermann
Lists files and directories. Supports storage plugins.
2014-02-27db/simple: mount pointsMax Kellermann
A SimpleDatabase instance can now "mount" other Database instances at certain locations. This is used to use a new SimpleDatabase instance for each storage mount (issued with the "mount" protocol command). Each such instance has its own database file, stored in the directory that is specified with the "cache_directory" option.
2014-02-12StorageCommands: add command "unmount"Max Kellermann
2014-02-12StorageCommands: emit IDLE_MOUNT on successful "mount"Max Kellermann
Add the new idle event to Idle.hxx/Idle.cxx.
2014-02-12StorageCommands: add command "listmounts"Max Kellermann
2014-02-09StorageCommands: expose the "mount" commandMax Kellermann