d4eab8e477
[*] aubytebuffer move: carry user alignment
2024-01-17 19:04:27 +00:00
c3e0418e1a
[+] Aurora::Memory::HeapProxy[Ex]
...
[*] Heap improvements
[+] Heap::NewClassArray
2024-01-17 15:22:35 +00:00
997d4a2eca
[*] Updated memory comments and keep alignment
2024-01-15 12:34:03 +00:00
4112e33e48
[+] Missing ByteBuffer::ReadString implementation after 2 years of procrastination
2024-01-10 17:44:14 +00:00
be2b781ed6
[*] mitigations and clean up before two major commits
2023-12-26 21:01:29 +00:00
eb95aeeac7
[*] Fix allocate_at_least
2023-12-23 02:47:22 +00:00
17d113b74d
[+] CppHeapWrapper.hpp
2023-12-22 06:54:39 +00:00
e9651eead3
[*] Linux build regressons
2023-12-04 21:13:25 +00:00
503fd40032
[*] Bytebuffer move: missing flags
2023-12-01 07:18:11 +00:00
cde973ba90
[*] Fix regressed bytebuffer scaling alg
2023-12-01 07:15:20 +00:00
019cba1677
[*] Fix AuSPtr<T> Heap::NewClass(Args &&...args)
2023-12-01 06:50:39 +00:00
028c85e4c8
[*] why not make these mean something while we can
2023-11-04 23:33:25 +00:00
087bac4085
[+] AuByteBuffer::flagNoRealloc
...
[*] Fix IO regression / Critical Bug / Leak and stupid double free
2023-10-29 20:36:11 +00:00
bf49eb5fdd
[+] AuMemory::ReserveHeapMemory
2023-10-26 17:05:44 +01:00
fb97c282a2
[+] bool ByteBuffer::WriteTagged(T &in) (...for non-const ::Serialize)
2023-10-24 18:24:35 +01:00
ca3bded0d4
[+] AuMemory::SetMemoryLowNotification
2023-10-24 18:01:05 +01:00
5565189d2c
[*] bug-fix
2023-10-24 12:50:15 +01:00
cef8259bb1
[+] ByteBuf: support for T::Serialize and T::Deserialize detection
2023-10-24 11:50:42 +01:00
6acf21009d
[-] Bytebuf: Remove linear-buffer only constraint
2023-10-24 11:30:36 +01:00
4b38f205d1
[*] oops i didnt just break the build
2023-10-23 12:38:29 +01:00
18dbe62959
[-] Bytebuf: Drop final references to fast/zeroless allocation
2023-10-23 09:58:17 +01:00
a5b7ea9af4
[*] Bytebuf resize: Fix perf regression in 6d49de43
2023-10-23 07:49:52 +01:00
6d49de430a
[*] Unfuck/simplify bytebuffers resize
2023-10-22 06:57:01 +01:00
bd11c0860d
[*] Enforce tags around here
2023-10-21 08:07:18 +01:00
fe36ee5fb2
[+] AuMemory::SetLeakFinder
2023-10-17 08:46:08 +01:00
16f7d985fc
[+] Missing read/write AuByteBuffer by views
2023-09-30 11:44:13 +01:00
635f9e39e9
[*] Modernize IOBufferedProcessor (and moved to the io utility namespace)
...
[+] AuIO::Utility::NewBufferedProcessorEx
[+] AuByteBuffer::calcDifferenceBetweenHeadsUnsigned
[+] AuByteBuffer::calcDifferenceBetweenHeadsSigned
2023-09-28 12:38:01 +01:00
aaeca44fb0
[+] ByteBuffer::WriteTagged<T>
...
[+] ByteBuffer::ReadTagged<T>
2023-08-08 00:08:54 +01:00
1cd56ab161
[*] Minor AuByteBuffer TypeReadWrite "improvements"
...
(more like, i cant be bothered to finish this in a clean way and we need a minimum viable product)
2023-08-07 23:15:47 +01:00
7e2aa2de3d
[+] AuIO::IIOHandle
2023-07-29 08:02:47 +01:00
98c1235554
[+] Futureproofing: AuByteBuffer flag
2023-06-10 21:50:00 +01:00
1fa433540b
[*] Experimental lower-latency IO pipes
...
[*] revert win32 net tx hardening - do not use the Reset function to null pSocket
[*] fix a bytebuffer circular buffer path
[*] update how TLS protocol stacks can snap the stack
2023-05-11 16:05:00 +01:00
37472e508e
[+] AuMemory::SharedByteBuffer
...
[+] AuMemory::ByteBuffer.flagNoFree
[*] SetBuffer(MemoryViewRead readView, bool bMoveWriteHeadForReaders = true);
...added bMoveWriteHeadForReaders
[-] AuMemory::SetBuffer(const void *in, AuUInt length)
[-] AuMemory::SetBuffer(const AuList<AuUInt8> &buffer)
[*] Harden AuMemory::ByteBuffer::RemainingBytes bc it is a high level api that is not called excessively. Invalid head states should not mess with ::CanRead/::CanWrite
[*] Harden AuMemory::ByteBuffer::RemainingWrite bc it is a high level api that is not called excessively. Invalid head states should not mess with ::CanRead/::CanWrite
2023-04-30 02:39:42 +01:00
e0d672ae9b
[+] ByteBuffer::SetBuffer(MemoryViewRead readView)
...
[*] revert 6317a563
2023-04-29 14:04:31 +01:00
c3a986495c
[*] AuByteBuffers should be able to .Write<std::string_view>()
2023-04-29 07:50:56 +01:00
6317a5631d
[*] update ResetPositions
2023-04-29 07:46:35 +01:00
e4e3e70be2
[*] sanitize these AuByteBuffer utilities to prevent exploitation
2023-04-29 07:38:16 +01:00
cc317882e9
[*] clamp head positions during non-circular realloc
2023-04-29 07:34:00 +01:00
044fb5b7e4
[*] added additional arg checks to ByteBuffers constructors
2023-04-26 07:43:56 +01:00
82d455c4b1
[+] AuTime::EClock
...
[+] AuTime::IClock
[+] AuTime::GetWallClock
[+] AuTime::GetProcessClock
[+] AuTime::GetSteadyClock
[+] AuTime::GetClockFromEnum
[*] Rename Timer -> Stopwatch
[*] Refactor a serial AuString to a string view
(*amended year)
2023-03-21 10:26:16 +00:00
04aca5fcf2
[+] Aurora::IO::Net::NetSocketConnectByHost
...
[+] Aurora::IO::FS::DirDeleterEx
[+] Aurora::IO::Compress
[+] Aurora::IO::Decompress
[*] Aurora::Memory::ByteBuffer zero-alloc fixes
[*] Aurora::Memory::ByteBuffer linear read of begin/end should return (`const AuUInt8 *`)'s
[*] Changed NT file CREATE flags
[*] Fix linux regression
[*] Update logger sink DirLogArchive
... [+] DirectoryLogger::uMaxLogsOrZeroBeforeDelete
... [+] DirectoryLogger::uMaxCumulativeFileSizeInMiBOrZeroBeforeDelete
... [+] DirectoryLogger::uMaxCumulativeFileSizeInMiBOrZeroBeforeCompress
... [+] DirectoryLogger::uMaxFileTimeInDeltaMSOrZeroBeforeCompress
... [+] DirectoryLogger::uMaxFileTimeInDeltaMSOrZeroBeforeDelete
[*] FIX: BufferedLineReader was taking the wrong end head
(prep) LZMACompressor
[*] Updated build-script for LZMA (when i can be bothered to impl it)
(prep) FSOverlappedUtilities
(prep) FSDefaultOverlappedWorkerThread | default worker pool / apc dispatcher / auasync dispatcher concept for higher level overlapped ops
(stub) [+] Aurora::IO::FS::OverlappedForceDelegatedIO
(stub) [+] Aurora::IO::FS::OverlappedCompress
(stub) [+] Aurora::IO::FS::OverlappedDecompress
(stub) [+] Aurora::IO::FS::OverlappedWrite
(stub) [+] Aurora::IO::FS::OverlappedRead
(stub) [+] Aurora::IO::FS::OverlappedStat
(stub) [+] Aurora::IO::FS::OverlappedCopy
(stub) [+] Aurora::IO::FS::OverlappedRelink
(stub) [+] Aurora::IO::FS::OverlappedTrustFile
(stub) [+] Aurora::IO::FS::OverlappedBlockFile
(stub) [+] Aurora::IO::FS::OverlappedUnblockFile
(stub) [+] Aurora::IO::FS::OverlappedDelete
2023-01-26 21:43:19 +00:00
124038df62
[*] Refactor public headers
...
[+] AuConsole::Commands::RemoveCommand
[+] EExtendedUsage::eServerAuth
[+] SysPanic2 for SysSafeLine hints (backtrace may contain optimized SysPanics, making tracing the true origin difficult)
[*] Reworked SysAssertions
[*] AuParse::EncodeHex now takes AuMemoryViewRead
[*] AuRng::ReadSecureRNG now takes AuMemoryViewWrite
[*] AuRng::ReadFastRNG now takes AuMemoryViewWrite
2023-01-15 06:05:22 +00:00
3d763e58b4
[*] ByteBuffer::WriteFromEx flagExpandable awareness
...
[*] ByteBuffer::WriteFrom updates flagWriteError on failure
2023-01-09 07:02:06 +00:00
267c2216b0
[+] UDP over socket API via existing INetSrvDatagram layer
...
(...missing send)
[+] AuIO::Buffer::ViewReader
[+] AuIO::Buffer::ViewSeekableReadable
[+] AuIO::Buffer::ViewWriter
[*] Clean up AuCompression
[*[ AuLog messages must always crunch for memory
[*] Various bug fixes
[*] Refactor+clean up
2022-12-12 23:50:05 +00:00
1ff9feb303
[+] Initial heap stat counter API
...
[+] Upcoming failure categories
[+] Updated SysPushXXX prototypes
[*] Restore bandwidth OnTick position for extrapolate (using current frame stats, ref to last) fractional lerps into the future with ref to average
[*] Compression.cpp AuList<AuUInt8> upgrade was incomplete & could've been improved with modern apis
2022-12-08 19:34:15 +00:00
fe3db644bd
[*] amend label pos
...
[*] always zero pointer fields in bytebuffer (early reset on uninitialized field -> crash)
[*] solve known deflate quirk
2022-11-30 11:53:43 +00:00
745b9f974a
[+] ByteBuffer::WriteFromEx
...
[+] ByteBuffer::WriteFrom
[*] Fix known path resolution quirks and missing compression staged change
[+] ICompressionInterceptor::LimitHasHit
[+] ICompressionInterceptor::LimitReset
[+] ICompressionInterceptor::LimitSet
[+] ICompressionInterceptor::LimitGetIndex
2022-11-07 22:46:35 +00:00
07fd9f19f8
[+] NewProtocolStackFromPipe([...], bool bAutoTick)
...
[+] IOPipeRequestAIO::uStartOffset
[*] Fix Zstd frames being finicky
[*] Fix compression interceptor invalid weak reference to pipe that
[*] Fix WinFileStream::GetOffset using wrong enumeration
[*] Null ByteBuffer flags on init bc not all operators and constructors account for them
[will prevent bugs in the future]
2022-11-07 13:34:28 +00:00
efc02d24f7
[*] Refactor RandomDef: bSecure, ::SetQuickRng()
...
[*] Default initialize net protocols to zero (tcp)
[*] Warning under AuUInt8 &ByteBuffer::operator[](AuUInt idx)
2022-09-27 17:30:26 +01:00
473e7d30dd
[+] AuMemoryView::[begin,end]() of u8 pointers
...
[*] Prevent AuByteBuffer::begin from exploding user code by providing normalized begin positions
[*] Update AuByteBuffer string write
[*] Redefine AuByteBuffer::data() as the bytebuffers base
[*] Various pointer normalization improvements in ByteBuffer_Position.inl
[*] Update comments
2022-09-27 10:01:35 +01:00