aboutsummaryrefslogtreecommitdiff
path: root/zencore/iobuffer.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Implementation of IoBufferExtendedCore() using mmap()Martin Ridgers2021-09-161-6/+36
| |
* | Use std::fs::path::value_type instead of wchar_t for path stringsMartin Ridgers2021-09-161-2/+2
| |
* | Merge from mainMartin Ridgers2021-09-161-15/+2
|\|
| * Removed unnecessary arguments from IoBuffer::MakeFromTemporaryFile since ↵Stefan Boberg2021-09-161-15/+2
| | | | | | | | they make no real sense
* | Merge from mainMartin Ridgers2021-09-161-1/+1
|\|
| * Fixed up invalid fmt formatting stringsStefan Boberg2021-09-151-1/+1
| |
* | Missing includeMartin Ridgers2021-09-161-0/+1
| |
* | Incorrect fmt format syntax causing compile errors with GCCMartin Ridgers2021-09-161-2/+2
| |
* | Use Memory::* API for IoBufferCore::Alloc/FreeBuffer on non-WindowsMartin Ridgers2021-09-161-0/+4
|/
* Changed logging implementationStefan Boberg2021-09-151-1/+1
| | | | | | * Code should no longer directly `#include spdlog/spdlog.h`, instead use `#include <zencore/logging.h>` * Instead of explicit calls to `spdlog::info(...)` and such please use the logging macros defined in `zencore/logging.h`. I.e `ZEN_INFO`, `ZEN_DEBUG`, `ZEN_TRACE`, `ZEN_ERROR`, `ZEN_CRITITCAL` * The macros will pick up the "most local" logger via a `Log()` call to retrieve a logger instance. To override the default logger in a class please implement your own `Log()` function
* Changed direct includes of spdlog/spdlog.h into zencore/logging.h to make it ↵Stefan Boberg2021-09-151-1/+1
| | | | easier to tweak implementation
* Added some argument validationStefan Boberg2021-08-311-3/+17
|
* Added file names to IoBuffer exception contextStefan Boberg2021-08-241-3/+7
|
* Added some context to MapViewOfFile exception emitStefan Boberg2021-08-241-2/+6
|
* Fixed logic in IoBufferExtendedCore::Materialize() - would previously map ↵Stefan Boberg2021-08-231-2/+1
| | | | the wrong amount of memory for misaligned chunks
* Added content type to IoBuffer payloads from http serverStefan Boberg2021-05-231-0/+2
| | | | Also added some additional logic for flagging buffer immutability
* Added logic to guard against accidental file move in file CAS fast pathStefan Boberg2021-05-131-2/+5
| | | | Now verifies the chunk is referencing an entire file before moving it into place
* Implemented move-in-place for large CAS payloadsStefan Boberg2021-05-131-0/+35
|
* Made SharedBuffer/UniqueBuffer share guts with IoBufferStefan Boberg2021-05-131-6/+14
| | | | This enables way more efficient marshaling of compact binary objects and attachments
* Adding zenservice codeStefan Boberg2021-05-111-0/+341