aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/iobuffer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* add more trace scopes (#362)Dan Engelbrecht2023-09-151-0/+14
| | | | | * more trace scopes * Make sure ReplayLogEntries uses the correct size for oplog buffer * changelog
* Make sure error logging or destructors don't throw exception when trying to ↵Dan Engelbrecht2023-09-121-7/+10
| | | | | get file name from handle (#393) - Bugfix: Make sure error logging or destructors don't throw exception when trying to get file name from handle
* stream oplog attachments from jupiter (#384)Dan Engelbrecht2023-09-061-13/+16
| | | | | | | | | | * stream large downloads from jupiter to temporary file * rework DeleteOnClose - top level marks file for delete and if lower level parts wants to keep it it clears that flag * changelog * log number of attachments to download * add delay on jupiter request failure when retrying * make sure we upload all attachments even if Needs are empty when ForceUpload is true release TempAttachment as soon as it is used * sort attachments so we get predictable blocks for the same oplog
* use better hash function for better distribution in IoBuffer g_MappingLocks ↵Dan Engelbrecht2023-08-211-1/+10
| | | | | | (#370) * use better hash function for better distribution in IoBuffer g_MappingLocks * changelog
* use exception when allocations fail rather than asserts (#319)Dan Engelbrecht2023-05-231-4/+10
| | | | * use exception when allocations fail rather than asserts * changelog
* brought over minor IoBuffer changes from sb/scrubStefan Boberg2023-05-151-0/+1
| | | | no actual code changes, just comments
* added IoBuffer.mmap test caseStefan Boberg2023-05-151-0/+27
| | | | | | this verifies that attempting to map a range outside the underlying file fails. Posix appears to offer different semantics so it silently accepts it still however.
* Remove ATL header usage (#306)Stefan Boberg2023-05-151-3/+3
| | | ATL has been used here and there as a convenience. Given that this is a legacy component and not always something which gets installed along with the compiler we hereby remove the dependency altogether in favour of our own simple wrappers
* better logging/exception when reading file in IoBuffer::Materialize fails (#294)Dan Engelbrecht2023-05-121-8/+37
| | | | * better logging/exception when reading file in IoBuffer::Materialize fails * changelog
* add context to MapViewOfFile errors (#282)Stefan Boberg2023-05-091-3/+6
| | | | * added FileSizeFromHandle function * added file size to error message when MapViewOfFile fails
* moved source directories into `/src` (#264)Stefan Boberg2023-05-021-0/+653
* moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees