dbbcd14b57
[*] Optimize for Win8.1 scheduler that can bypass SRW CVs
...
[*] Update readme
2022-12-28 10:50:30 +00:00
6e78ce5e07
[*] UNIX benchmarks: follow CLOCK_PROCESS_CPUTIME_ID time
2022-12-27 19:41:52 +00:00
0be7c13e1b
[*] consoletty pos calculation fix
2022-12-27 15:17:34 +00:00
15c7df1480
[*] Disable telemetry reporting after runtime shutdown to prevent null exceptions from being reported under TLS. Fixes deadlock and a crash.
2022-12-21 23:37:41 +00:00
a1e77a471b
[*] Dumb path bug
2022-12-21 14:27:26 +00:00
4e6f116925
[*] Refactor
...
[+] IProcessSectionView::GetStart
[+] IProcessSectionView::GetEnd
2022-12-17 20:14:19 +00:00
9ce314a838
[*] Linux DirMks shall copy the stat of the parent dir before assuming 775.
...
[*] Added missing null allocation checks under linux net adapter list
2022-12-17 15:37:46 +00:00
6f6be5c545
[+] Linux: missing AuNet adapter API
...
[*] Update README
2022-12-17 13:57:00 +00:00
1e4082c02f
[+] Linux datagrams
...
[+] NetSocketBind::uDefaultInputStreamSize
[+] NetDatagramBind::uDefaultInputStreamSize
2022-12-16 17:18:12 +00:00
42d02b185c
[*] Linux fault: LTC/Clang driver bug? _multi encode variant results in inexplicable given a SEQUENCE after seemingly anything.
...
Faults on bool deref under encode boolean.
2022-12-16 07:04:11 +00:00
f0fcec0cb7
[+] _CLOEXEC on F-tier operating systems predating SMP and processes
2022-12-16 03:48:04 +00:00
766be57a46
[+] Linux build [again]
...
[+] ProcessSectionViewReserved.Unix.cpp
[*] Fix missing ::Flush() member on ViewWriter
2022-12-16 00:41:01 +00:00
2b91302128
[*] remove half-removed expression and readd missing cache clear
2022-12-15 01:54:49 +00:00
85a575eb95
[+] Network interfaces API
...
[+] Logger IFormatter API
[*] Clean up
2022-12-14 20:08:52 +00:00
c79a20c7fe
[*] i hate object cache
2022-12-14 07:12:43 +00:00
c42ebc9853
[*] Improved cache reporting under NT under various conditions
...
new hw: return upper bound of range at level index.
old sw: missing impl.
2022-12-14 05:25:05 +00:00
49287f2a73
[*] Minor cleanup/refactor
2022-12-14 05:03:37 +00:00
cbad382b6a
[+] Windows 7 support
2022-12-14 01:35:18 +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
6dfa806e3a
[+] (NT only) Missing numpad and math keys input under ConsoleStd noncan APIs
...
[*] Refactor NoncanonicalInput
[*] Fix various keys resort in NUL getting added to ConsoleTTYs input field
[*] Fix multichar right key input (finish TODO note)
[*] Hex grammar: literals may end with 'h' now that i think about it. also added wiresharks seperator. let's continue to simply make sure we cover all forms of hex in a reasonably liberal fashion to account for user input from various human written and software form.
(Nonuniform style of non-hex illegal chars are fine so long as it looks and reads like a legal array of hex characters. Comas must come directly after literals, possible [0x] prefixes are fine, whitespaces too, copy/pasted '[', ']', '{', '}', 'reasonable' new line rejection, etc)
2022-12-09 22:59:03 +00:00
39ef196c0a
[*] Modernize legacy compression API Compress
2022-12-09 01:19:25 +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
1b26faf45a
[+] configurable memory allocator padding
2022-12-07 16:20:13 +00:00
73e77d0a97
[*] Fix use after free in termination path of heap. cannot safely use try lock in this one single place.
2022-12-07 11:38:10 +00:00
1f1d1bbc28
[+] Added AuDebug::MemoryCrunch implementation under debug and memory
2022-12-07 01:37:42 +00:00
7be2d3fbdc
[+] AuUtility::ThroughputCalculator
...
[+] AuNet::ISocketStats
[+] AuNet::ISocketChannel::GetRecvStats()
[+] AuNet::ISocketChannel::GetSendStats()
[+] AuIO::IOProcessor::RunTickEx(AuUInt32 dwTimeout)
[*] Refactor clock APIs
[+] Documentation in headers
[+] AuIO::IIOPipeWork::GetStartTickMS()
[+] AuIO::IIOPipeWork::GetLastTickMS()
[+] AuIO::IIOPipeWork::GetPredictedThroughput()
[+] AuIO::IIOPipeWork::GetBytesProcessed()
2022-12-06 22:58: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
89d341b4fc
[+] AuDebug::ErrorStack / AuErrorStack
...
[+] Begin stubbing out memory crunch apis
[*] Fixed MT consoletty missed flushes
2022-11-30 11:11:18 +00:00
72dc0d715e
[*] Begin enforcing steady time
...
[+] IOProcessor::WakeupThread
[+] NT: Begin hacking in timeBeginPeriod (must spam it in some places)
[+] ConsoleTTY (more specifically the win32 calls) are too slow to run on the mainthread. Delegate to worker.
[*] AuTime.CurrentClockSteady
[*] AuTime.CurrentClockSteadyMS
[*] AuTime.CurrentClockSteadyNS
2022-11-28 16:01:08 +00:00
bb9c383aee
[+] ICompressionInterceptor::LimitPassthroughOnOverflow
...
[+] IOPipeRequest::uMinBytesToRead
[+] (secret api intended for unix users) AuIO::NewLSOSHandleEx
[*] Fix quirks when running Gtk under an io processor
...CtxYield shouldn't spin while work (improper breakout on remote update)
[*] EFileOpenMode::eWrite should assume O_CREAT semantics making eReadWrite somewhat redundant. OpenWrite + eWrite should reasonably work with file-appends. it should not mean force create + cucked GetLength().
2022-11-20 10:31:13 +00:00
033f7e2453
[+] Aurora::Crypto::X509::CertRequest
...
[+] Aurora::Crypto::X509::GenerateCertificate
[*] Fix lazily copied gen1 RSA code
[+] Aurora::Crypto::ECC::EECCCurve::eCurveSECP256R1
[+] Aurora::Crypto::ECC::EECCCurve::eCurveSECP256K1
[+] Aurora::Crypto::ECC::EECCCurve::eCurveSECP384R1
[+] Aurora::Crypto::ECC::EECCCurve::eCurveSECP521R1
[*] Unfuck ECC interop
[*] Tls pinning: use mbedtls_ssl_conf_verify for tls1.3 (when mbedtls is in a better state)
2022-11-18 21:03:11 +00:00
d9dd1182b9
[+] TLS pinning
...
[*] ISocket::Shutdown(*bool bNow*), allowing for flush of the send channel when false
[*] Fix StartRead and StartWrite after shutdown (NT)
[*] Amended dead-lock
2022-11-18 04:44:47 +00:00
f86665fd36
[+] Net: TCP servers can now be multi-threaded
...
[+] Net: Added missing UDP send datagram
[*] IO bug fixes
2022-11-17 20:58:48 +00:00
898c0ced37
[*] Refactoring in progress...
2022-11-17 08:03:20 +00:00
673872f632
[*] Fix critical bug in rwlock (few commits ago. still havent updated submodules so its ok)
...
[*] IAsyncTransaction::uStartOffset should be u64
2022-11-09 00:33:14 +00:00
e145352920
[+] IProtocolStack::AppendSingleFrameProcessor
...
[+] IProtocolStack::AppendSingleFrameProcessorEx
[+] ICompressionInterceptor::FlushNextFrame
[+] ICompressionInterceptor::ConfigureAutoFlushPerFrame
2022-11-08 20:04:12 +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
d63571e4b5
[+] AuCompression::CompressionInterceptor
...
[+] AuCrypto::CBC::CBCContext
[+] AuFS::ReadDirRecursive
[+] AuFS::DirDeleter
[+] AuCrypto::PBKDF2
[+] AuCrypto::AES::CBCEncrypt
[+] AuCrypto::AES::CBCDecrypt
[+] AuCrypto::TDES::CBCEncrypt
[+] AuCrypto::TDES::CBCDecrypt
[+] Optimize read write locks
[*] Added `ContextFlags = CONTEXT_ALL` to Win32 PlatformWalkCallStack
2022-11-06 13:23:22 +00:00
48a8e4ae5a
[+] Catch around all async DispatchFrames. Will add optional forced panic later.
...
[*] Fix thread handle bug on non-au threads
2022-10-14 07:16:28 +01:00
278a128834
[*] the s member is a u64[] - dont apply 8x modifier to the read index (doesnt apply to write)
2022-10-04 13:25:56 +01:00
051db40a1c
[+] STATUS_ACCESS_DENIED error enum in AuNetError.cpp (required for filtered connects given the overlappeds internal field that uses the nt status codes)
...
[*] fixed: TLS now properly sends the encrypted frame down to the next piece instead of directly to the drain
2022-10-01 01:07:26 +01:00
4671664396
[+] IProcessSectionView::AllocateEx
...
[+] IProcessSectionView::AllocateEx2
[+] IProcessSectionView::MapFileByPathEx
[+] IProcessSectionView::MapFileByObjectEx
[+] IProcessSectionView::MapIPCMemoryEx
[+] IProcessSectionView::GetAllocations
[+] ReserveAddressSpace(AuUInt uLength)
[*] Modified default value of: PageTable::NX
2022-09-30 23:47:18 +01:00
83ee24014f
[+] IProtocolPiece (public interface)
...
[+] IProtocolPiece::Remove
[+] IProtocolPiece::ToNextWriter
[+] IProtocolPiece::GetNextPieceBuffer
2022-09-29 11:45:08 +01:00
990d0b7b9c
[*] Update hex decode to use stream apis. massive optimization over using .write for each byte.
2022-09-29 10:48:02 +01:00
85c29bb203
[*] base32 encode should take a view over pointer
...
[*] base64->16 typo
[-] redundant explicit static parsers
2022-09-29 08:58:20 +01: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
8ec993f4c0
[*] oopsie of a regression. compression bytebuffers became linear after the hack for protocolstack interop
2022-09-25 18:04:41 +01:00
f61d5c3b7a
[*] i don't believe yarrow_start is necessary, but just in case, register the yarrows cipher state ahead of rsa/ecc calls
2022-09-25 11:19:43 +01:00
cae8788bb6
[-] Redundant AuCrypto::EHashType (replaced with the complete AuHashing::EHashType)
...
[*] Minor RSA refactor
2022-09-25 10:56:03 +01:00
0ded2ec77c
[*] potential bug in x25519 sign: was using the linear base ptr instead of write after alloc or validate
...
[*] old copy/pasted ecdh function clearly wasnt tested in its now form :(
[*] clean up
2022-09-25 09:28:48 +01:00
184fecb8ab
[*] ByteBuffer::begin() and ::end() now guarantee a linear view of available bytes in either ring or linear bytebuffers. This means ::begin() is no longer guranteed to return the base. In almost all real world use cases, this does not matter. In fact, this is what we want to preserve legacy code with streamable buffers.
...
[*] Update KCryptoAES: use streamable buffers. deprecate legacy vec<8>::size() based logic - AuByteBuffer (replacing vec8)::begin, ::end still works.
[*] IO pipe buffers should no longer be marked as circular
2022-09-25 09:10:26 +01:00
1de0bdb4e7
[*] NT ReadFile: replace GENERIC_READ, FILE_SHARE_READ
with GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE
...
[*] ByteBuffer::IsValid() will now return true if there is no underlying buffer so long as the object is marked with the dynamic scaling flag (no contents isnt an invalid state; alloc failure on construct and ad-hoc failure is. latterly, specify the write flag on failure in the ByteBuffer::Write method.) the alloc error can be safely unwound by state raii helpers bc realloc and frens will not free or dirty the state. write-fail-aware may roll back the write head, like how readers can roll back the read head if the stream is incomplete.
2022-09-23 00:59:08 +01:00
6ac4fd61ab
[*] Went over baseN and RSA again
2022-09-19 21:34:54 +01:00
c36f159f95
[+] Added asserts in Digests.cpp and HashStream.cpp for good measure
...
[*] Fix: eRMD320 was crossed with some other done function
2022-09-19 07:18:44 +01:00
50a3ee76f6
[*] transition parse apis that use the old bytebuffer write-into semantics
2022-09-19 07:08:32 +01:00
a7bb5507bb
[*] remove dumb key sharing between private and public rsa keys
2022-09-19 07:01:30 +01:00
050e938f0c
[*] transition some of the old vector based AuByteBuffer APIs to be stream aware
...
[*] fix: runnersRunning was uninitialized
[*] fix: unimplemented path in GetOrAllocateLinearWriteable
2022-09-19 06:42:39 +01:00
8a2947ffc5
[+] RMD128+BScFwd based HashCash (bcrypt DoS mitigation, acc creation, antibot, etc)
...
[*] Refactor bcrypt api: HashPW[Ex] -> HashPassword[Ex]
[+] ByteBuffer::GetOrAllocateLinearWriteable
[+] ByteBuffer::Can[Read/Write](n)
[+] ByteBuffer::GetLinear[Read/Writable]able(n)
[*] Split RNG.cpp into two files
[+] EHashType::eSHA2_48 (_32, _64 was already in place. missed 48/384 bit)
[+] AuCrypto::HMAC and IHMACContext
(AuHashing)
[+] EHashType::eSHA3_28
[+] EHashType::eSHA3_32
[+] EHashType::eSHA3_48
[+] EHashType::eSHA3_64
(AuCrypto)
[+] EHashType::eSHA2_48_384
[+] EHashType::eSHA2_64_512
[+] EHashType::eSHA3_28_224
[+] EHashType::eSHA3_32_256
[+] EHashType::eSHA3_48_384
[+] EHashType::eSHA3_64_512
[*] (IRandomDevice) class -> struct
[*] Bugfix: cast in Promise<SuccessValue_t, ErrorValue_t>::WriteIntoError
[+] Missing AuHashing namespace alias
[*] Time util: pad ms when fraction of a second to 3 digits
2022-09-19 02:34:57 +01:00
8844e8fe64
[+] AuCrypto::BCrypt
...
> GetForcedMinRounds
> GenSalt
> HashPW
> HashPWEx
> CheckPassword
> CheckPasswordEx
[*] Refactor AuCompression APIs
[*] Clean up AuTryConstructs
[+] Internal compression API for compression based interceptors
[+] Root-level input stream arg check for all compression apis (harden)
[*] Clean up AuCompression code
[+] Solar Designer / OpenWall blowfish crypt
[*] BlowCrypt: accept length input parameter
[*] Split locale into 2 source files
[-] Ugly comment from Open.Win32.cpp. TODO: Readd later. Might warn on empty string bc it makes sense given, "." and "/" normalizes to nothing, and memory pre-idc-if-drops are dropped siliently.
2022-09-15 20:48:50 +01:00
9c25b112a3
[+] Config: DebugConfig::bIsMemoryErrorFatal
...
[*] Refactor Aurora::DebugConfig
2022-09-12 23:38:44 +01:00
7c167c90f0
[*] Harden IOPipeProcessor for expansion
2022-09-09 22:54:24 +01:00
01871aee61
[*] Fix clipboard method to work with older noncan apps. still doesnt work under windows terminal
2022-09-09 21:47:53 +01:00
7bfa7911cf
[*] Fix: win32 console - copy/paste scroll bug
2022-09-09 21:32:10 +01:00
96e7d5cbcc
[*] Linux build error: AuProtocol::ProtocolStack
2022-09-04 16:58:54 +01:00
2a3bd735ac
[+] AuProtocol: PrependInterceptor[Ex]/AppendInterceptor[Ex] over now removed AddInterceptor[Ex]
...
(prepend makes sense for outbound stacks, where you might register the compression/crypto stages first, then return an object to the caller who may wish to prepend the input processors. http might need it.)
2022-09-04 01:18:05 +01:00
af03c5cbf3
[+] IProtocolStack::AddEndInterceptor (optimizes away the output stage buffer, instead of preallocating a massive ring buffer, when the AddInterceptorEx variant is supplied with a uOutputBufferSize of zero)
...
[*] Typo iServerBadMacLimit
2022-09-02 20:58:56 +01:00
795e5f6569
[*] Net: Unmerged Linux changes
2022-08-31 19:49:35 +01:00
ad4b4aa4ae
[*] TLS init for later
2022-08-31 18:46:50 +01:00
f1ac21a379
[+] TLSErrorToString
...
[*] Send break should always perserve writeptr
2022-08-31 16:09:45 +01:00
2b72228b9e
[*] TLS Stack: use new AuByteBuffer apis
2022-08-31 00:06:50 +01:00
d68fc7fc91
[+] ByteBuffer::GetNextLinearRead()
...
[+] ByteBuffer::GetNextLinearWrite()
[-] ByteBuffer::WriterTryGetWriteHeadFor
[+] ITLSPrivateKeyPair
[+] ITLSContext::GetFatalErrorCodeAsString()
[+] Begin to add certificate chains
[*] Clean up TLS
2022-08-30 22:18:15 +01:00
afa7c8f5f8
[+] TLS::GetDefaultCipherSuites
...
[+] TLS::GetSupportedCipherSuites
[+] TLS::CipherSuiteFromString
[+] TLS::CipherSuiteToString
[+] internal logic for setting up the ciphersuite array
2022-08-29 19:57:24 +01:00
401cf09962
[*] Cleanup/refactor of AuIO
2022-08-29 16:46:46 +01:00
fa0d46d4c7
[+] Protocol::NewProtocolStackFromPipe
2022-08-29 12:09:53 +01:00
b729e92dd4
[*] Unmerged Linux Entrypoint.cpp
2022-08-29 11:07:27 +01:00
747988e85c
[*] Protocol stacks werent allocating ring buffers
...
[*] Unmerged Linux async changes
2022-08-29 00:39:12 +01:00
67905a4192
[+] Network + Protocol + TLS - Initial Commit
...
=============================================================================
Network ]====================================================================
=============================================================================
[+] Added (very) early Aurora::IO::Net implementation
[+] AuNet::EHostnameType
[+] AuNet::EIPProtocol
[+] AuNet::ENetworkError
[+] AuNet::ETransportProtocol
[+] AuNet::INetInterface
[+] AuNet::INetSrvDatagram
[+] AuNet::INetSrvResolve
[+] AuNet::INetSrvSockets
[+] AuNet::INetSrvWorkers
[+] AuNet::INetWorker
[+] AuNet::IPAddress
[+] AuNet::IResolver
[+] AuNet::ISocket
[+] AuNet::IResolver
[+] AuNet::ISocketBase
[+] AuNet::ISocketChannel
[+] AuNet::ISocketDriver
[+] AuNet::ISocketDriverFactory
[+] AuNet::ISocketServer
[+] AuNet::ISocketServerDriver
[+] AuNet::NetEndpoint
[+] AuNet::NetError
[+] AuNet::NetHostname
(+implementation)
=============================================================================
Protocol ]===================================================================
=============================================================================
[+] IProtocolInterceptor
[+] IProtocolInterceptorEx
[+] IProtocolStack
(+implementation)
=============================================================================
TLS ]========================================================================
=============================================================================
[+] ITLSContext
[+] TLSProtocolRecv
[+] TLSProtocolSend
(+implementation)
=============================================================================
IO Bug Fixes ]===============================================================
=============================================================================
[*] IOProcessor::SubmitIOWorkItem should signal the CvEvent, forcing at least once future tick (wont optimize with if in tick & not yet dispatched work items)
[*] Split IOPipeWork in into IOPipeProcessor header
[+] IOPipeWork::GetBuffer (internal reallocation)
[*] Harden against IAsyncTransactions without a loop source
[*] Missing null `if (processor->listener)` in IOProcessor
[*] Solved some soft-lock conditions under Linux's LoopQueue (added deferred commits)
[*] Quick hack: IOProcessor::HasItems() should OR the early can-tick check function.
=============================================================================
Other ]======================================================================
=============================================================================
[+] Linux: LSSignalCatcher
[+] `static void AuResetMember(Aurora::Memory::ByteBuffer &ref)` for AuROXTL
[*] Attempt to enforce a normalization and don't overwrite-readptr-under-istreamwriters policy in ByteBuffer_ReadWrite (circular buffers)
[*] Bad ECC ctors
=============================================================================
Known issues ]===============================================================
=============================================================================
> Linux net is nowhere near done
> UDP socket emulation layer isn't implemented
> Ciphersuite API is a stub
> Private key API is a stub
> ...therefore no TLS servers
> Missing thread safety precautions under net
> Net implementation is still beri early
2022-08-28 20:02:06 +01:00
b6b4ef5dd1
[*] Linux: bDirectIO wasn't enabling O_DIRECT (dumb)
...
[*] Fixed build errors post refactor
[*] Don't create an epoll for a read-poll, reuse fd
[+] AuByteBuffer:Allocate(AuUInt length, AuUInt alignment)
[*] NT+Linux: Ensure IO buffers are aligned to AuHwInfo::GetPageSize()
2022-08-21 04:38:49 +01:00
1341f805b0
[*] Lite clean up/Refactor
2022-08-20 07:53:48 +01:00
42b364840e
[*] Cleanup Async.NT.cpp
...
[*] Fix bug in IOProcessor where work items were not enough to cont execution in a loop checking ::HasItems
[+] PromiseCallbackFunctional constructor with one functor arg
2022-08-18 17:19:32 +01:00
7be001eb61
[*] Trivial fail condition leak
2022-08-16 23:58:18 +01:00
57d31e0212
[*] Adjust comedically small compression chunk buffer size. I guess 64k for a compressor isn't so bad. I'm under the impression all compression libs buffer internally such that the external stream buffer does not matter - maybe this is overkill.
2022-08-15 06:16:50 +01:00
cdb10eb3c6
[*] Refine Linux threads... They were still problematic :(
2022-08-15 03:31:35 +01:00
2e5742dd2f
[*] Harden Process Section APIs
...
[*] Refactor IProcessSectionView::MapIPCMemory length type to machine word
2022-08-15 00:41:43 +01:00
58d53c92c1
[*] Move setjmp to beginning of task invoker function for Linux thread kills
2022-08-15 00:00:52 +01:00
e30e004d04
[*] It'll complain but this shutsdown (with grug crying) relatively cleanly
2022-08-14 22:09:25 +01:00
7fd217a50e
[*] Various teardown related fixes/changes under UNIX
2022-08-14 14:41:19 +01:00
0fe4ad2087
[*] Wouldn't it be cool if Linux could safely exit under other conditions without core dumping?
2022-08-14 12:01:54 +01:00
88887434ae
[+] IAuroraThread::UnsafeForceTerminateSignal
2022-08-14 00:32:39 +01:00
b886100fc4
[*] Unix map memory bug derived from improper single UNIX+NT patch
2022-08-14 00:23:12 +01:00
c74f1e8bd1
[*] Fix Win32 input bug
2022-08-14 00:00:08 +01:00
30da4bce04
[*] Fixup schedule failure rejection. Fixes crash during safe/good clean up.
2022-08-13 22:59:44 +01:00
d03488eeb0
[+] NT ConsoleStd case: VK_END
...
[*] Fix NT ConsoleStd: check control state no matter the input type
2022-08-13 22:06:31 +01:00
9aa65a0bda
[*] Amend NT IPC memory map
2022-08-13 21:35:19 +01:00
49214dd6f3
[+] Additional keycodes under UNIX ConsoleTTY
...
[+] Try/catch around LIOS_Process to prevent external exceptions from trashing core io components
2022-08-13 18:32:14 +01:00
1a4fa2d2ff
[*] im low iq
2022-08-13 06:10:01 +01:00
fe19a47a2a
[+] Missing external class if iterative/codepoint length locale apis
...
[+] (internal) UTF8::IterateUTF8
2022-08-13 06:03:24 +01:00
592a93c19d
[*] Ugly hack: Add additional keys to the win32 wVirtualKeyCode StdConsole tick
2022-08-12 23:17:30 +01:00
51facdb6a3
[+] IProcessSectionView::MapIPCMemory now takes a 'length' parameter
2022-08-11 12:28:20 +01:00
f98174b7a2
[*] IOSubmit.Linux.cpp bugfix: save wasted time cancelling triggered polls resulting in a -1 EINVAL
2022-08-10 18:01:02 +01:00
868de46abd
[+] Installed Linux PR_SET_PDEATHSIG hook into eSpawnChildProcessWorker's to better emulate Win32 job workers
2022-08-10 16:36:03 +01:00
b987384d58
[+] chroot after fork. also, removed todos about clone (wont support). the old unix behaviour works fine
2022-08-10 16:05:22 +01:00
eb144f7377
[+] Quick support for IProcessSectionView on Linux
2022-08-10 12:12:36 +01:00
eda8d4255d
[+] IProcessSectionMapView
...
[+] IProcessSectionView (downgraded bc NT)
2022-08-10 10:50:49 +01:00
64cb7404ba
[+] Near 1:1 Linux IPC Pipe compared to the NT equivalent (~= CreateNamedPipeA(nMaxInstances=1, dwOpenMode=PIPE_ACCESS_DUPLEX, dwPipeMode=PIPE_TYPE_BYTE))
...
[+] Ability to bypass blocking limitation of certain io_submit reads, if the blocking subsystem is a pollable stream (ie: a pipe).
[*] Fixed major Linux bug where LoopQueue items weren't being submitted, if no dequeues were in the same tick
[*] Fix various Linux pipe related bugs
[*] Fix futex bug where the callback was nulled on server-release
2022-08-09 07:48:29 +01:00
d60176afb3
[*] NT IPCPipe: fix up renegotiation after termination
2022-08-09 07:16:09 +01:00
03f072f8d6
[*] BUG: OnPipePartialEvent wasn't sent during IOPipeProcessor ticks (common/all platforms)
...
[*] Build regression: Win32 clipboard-mode-switcher routines weren't ifdef'd out on non-nt pltforms
2022-08-09 01:55:18 +01:00
13480a0473
[*] NT bug fix: pipe breakages were occurring as a non-block instant readfileex operation, and didn't simulate an async read 0 success.
...
[*] IOProcessor's stop method now returns true on success instea of true on delegated stop
2022-08-08 16:32:45 +01:00
e42efe930c
[+] ConsoleStd: Noncanonical input interprets right click as paste
2022-08-08 01:33:32 +01:00
1510beaf49
[*] Superficially fix the ConsoleTTY redraw issue on initial overflow by removing an optimization
2022-08-08 00:22:15 +01:00
5b5b6fa920
[*] Solve NT build regression introduced in a Linux commit
2022-08-07 23:42:13 +01:00
da70053aab
[+] Win32 clipboard update check under the ConsoleStd pump to automatically switch between quick edit and gib us the raw input modes
2022-08-07 23:35:13 +01:00
a92467ceb6
[*] Solve UNIX bug: the call to NewOSNamedEventDirectorySinkRelease was disabled under POSIX
2022-08-07 07:37:28 +01:00
5dd2be4763
[+] New Linux futex based IPCMutex to better ensure robust breakage
2022-08-07 07:01:55 +01:00
c730d4fc58
[*] Fix: IOPipeProcessor will now report a failure on nominal stream-end, if non-zero request length was not met
2022-08-06 20:56:21 +01:00
331f139fdd
[*] Fix: Termination of Linux C++ code without C++ land whining about NPTL no-rethrow
2022-08-06 20:53:21 +01:00
9c90e96dee
[+] Missing ConsoleTTY::IsBuffering() under NT
2022-08-05 19:25:01 +01:00
4ca490e4f3
[*] nt bug?
2022-08-05 11:41:48 +01:00
0a66e6741b
[+] Add IOSleep, IOYieldFor utility functions
...
[*] Add/clean up header comments
2022-08-05 11:28:34 +01:00
a1e479e28e
[+] Begin work on UNIX noncanonical input. Currently hacking into the codebase to wrangle minimum viable product
2022-08-04 20:29:41 +01:00
21902a5d5b
[+] AuParse::[Stringify/Parse][U/S]Int[16] class of parse APIs
...
[*] Optimize UNIX IPC ABI: Handle String encodes an array of U16s to optimize space. Could still be better.
2022-08-04 14:08:12 +01:00
e4e0af2f1d
[*] Reset stream out variable sooner under filestream
2022-08-02 13:29:01 +01:00
bfd9e339fc
[*] Clean up of include headers
2022-08-02 05:58:00 +01:00
fd0c5b51b2
Further Linux support
...
[+] Begin work on IO futexes for io release on process/thread exit
[+] Linux ::readdir iteration
[+] AuConsole buffering API
[*] Fix sleep as to not get interrupted by signals
[*] Switch the type of FS lock used under Linux
[*] Linux: Use new IPCHandle encoding scheme
[*] Fix undefined behaviour: unintialized timeout values (AuLoop/Linux)
[*] Fix undefined behaviour: ConsoleTTY clear line was called of a color of a random value on stack
[-] Remainings of std dir iterator
[*] Fix pthread_kill (aka send signal to pthread handle) always kills process. This is what you expect bc signal handler inheritance.
[*] Reformat the build Aurora.json file
[+] Added clang warning ignores to the build file
[*] Fix: UNIX need to use STDOUT_FILENO. Was using CRT handle in place of fd by mistake.
[+] Linux implementation for IO yield (AuIO::IOYield() - UNIX::LinuxOverlappedYield())
[*] Fix: Linux async end of stream processing. res 0 = zero bytes consumed. <= was detecting this as an error of code 0. Should succeed with zero bytes.
[+] Linux LoopQueue missing epilogue hook for the IO processor
[*] Various refactors and minor bug fixes
[*] Linux fix: Handle pipe EOS as zero
[*] Linux fix: thread termination via a user signal of 77. Need a force terminate.
[*] IPC handle: fix improper int to bool cast in the header setup within ToString
[*] Linux fix: HWInfo CPU topology regression
[-] Linux fix: remove SIGABRT handler
[*] Missing override in compression, exit, and consoletty headers.
[+] Unix Syslog logger backend
2022-08-02 05:52:57 +01:00
b8bcab1bdc
[+] IReadDir
...
[+] AuIOFS::ReadDir
[*] Fix erroneous return false under fs remove (NT)
2022-07-23 07:41:47 +01:00
2470cbc12a
LAAAAAIIIIIIIIN
2022-07-21 23:23:16 +01:00
1f2599f66b
[+] Heap::AllocateDivision
...
[+] AuHeap::RequestHeapOfRegion(void *, size_t)
2022-07-21 10:59:02 +01:00
da51aaf6a7
[*] sleep deprived
2022-07-21 07:34:55 +01:00
ec4b47c15d
[*] Increase IPCHandle checksum bitlength
2022-07-21 07:30:25 +01:00
e24c35d2d0
[*] fix ipc handle checksum rng
2022-07-21 07:25:45 +01:00
febd836d99
[+] Improved IPCHandle implementation
2022-07-21 07:19:45 +01:00
cb2b58eb52
[+] bool Aurora::Console::ConsoleStd::IsStdOutTTY[(AuUInt handle), ()]]
...
[+] Check for TTY validity on ConsoleTTY start
2022-07-21 01:25:38 +01:00
ad4c18abe7
[+] Missing LZ4 compressor
...
[*] Various compression related bugs under the 1/4th of the AuCompression platform related to compression stream objects. Now all 1/4ths match up.
2022-07-20 21:09:40 +01:00
8fb7b7e1ee
[*] IOPipeProcessor improvements
...
[*] NT async file: error 38 "Reached the end of the file." should be handled as a zero length packet much like ERROR_BROKEN_PIPE for stream read interface consistency
2022-07-20 15:10:07 +01:00
433898709e
[*] Check for null handle under LSHandle bc win32 apis are inconsistent as shit
...
[*] _beginthreadex returns null, nonex returns -1, and it doesnt fucking work with affinity but seems to work with name updates. i dont care to fix this yet. fuck microsoft.
[*] NT: preempt process watch thread of leaders instead of syncing to the process under a watch guard on free (evil, we should use a builtin nt threadpool. also cant be arsed to resolve)
2022-07-08 22:58:49 +01:00
11e5c04bac
[*] Update AuParse again. The IO character update was barely shimed in.
2022-07-07 06:42:20 +01:00
f2791e360b
[+] Added end of loop queue poll hook for IO Processor frame tick batching
2022-07-06 04:47:27 +01:00
7fb73ccdb4
[+] IPC Logger: Added optional stream frame header (single u32) option
...
[*] FIX: Missing `this->isStream = isStream;`
[*] FIX: Blocking APIs under async objects under NT were using illegal calls that were for some reason not failing
2022-07-05 20:48:33 +01:00
c20b802da7
[*] "Improve" (bug fix) and "clean up" (hardly) legacy simple parse list tokenizer
2022-07-05 05:58:27 +01:00
97069a1515
[*] Undo fail on pipe broken, restore bytes written = zero behavior for reusable pipes. Will match on Linux.
2022-07-05 04:17:28 +01:00
c0ee48435c
[*] More IO bug fixes; a double free, statement that should be uncommented, and wrong IO handle under Async.NT.cpp read
2022-07-04 23:42:02 +01:00
ee07505952
[*] Fix win32 cwd under processes
2022-07-04 03:24:34 +01:00
f8c45613a1
[*] I'm a dumbass. This was accounted for a long ass time ago
2022-06-29 21:50:37 +01:00
bc1296a35c
[*] Deprecate NT impl of latching completeness of async transactions
2022-06-29 19:47:32 +01:00
803f097f84
[*] Typos and comments
2022-06-29 14:56:59 +01:00
70418df761
[+] Added extended IO apis
...
> StartSimpleLSWatchEx
> StartSimpleIOWatchEx
> StartIOWatchEx
[*] Update README
2022-06-28 16:04:07 +01:00
250d3fd11e
[*] Passive crinkling of today : Async.NT.cpp can now be aborted. Will port identical behavior to Linux.
2022-06-24 20:33:55 +01:00
bf6f13095c
[*] Linux builds again. Still behind
2022-06-23 13:25:20 +01:00
3a76aa6d69
[*] Fix IOPipeProcessor was checking against base + length instead of write head to determine stream consumer completion
...
[*] Fixup IPCPipe.NT recycling, including proper disconnect acknowledgment and removal of atomic release hack
[*] End of stream callback hack in Async.NT for IPC. net requires something else; this hack will do
[*] Fix io spin: bShouldReadNext wasn't reset on end of frame
2022-06-22 21:24:04 +01:00
0c3344fe46
[+] IIOSimpleEventListener
...
[+] IOProcessor::StartSimpleIOWatch(const AuSPtr<IIOWaitableItem> &object, const AuSPtr<IIOSimpleEventListener> &listener)
[+] IOProcessor::StartSimpleLSWatch(const AuSPtr<Loop::ILoopSource> &source, const AuSPtr<IIOSimpleEventListener> &listener)
[*] IOAdapterAsyncStream should reset the transactions IO state upon reaching end of segment (should this be per tick?) or upon stream error - otherwise, we end up spinning on a stuck event forever
[*] Fix non-linear path under read of the AuByteBuffer
[*] Fix various other nonlinear conditions under AuByteBuffer
[*] IOProcessor releases registered io item from queue upon request
[*] Fix ConsoleMessage::Write -> enumeration of color should be casted to a uint8
[+] Error telemetry under async task creation
[*] Fix various lock ups and non-blocking spins related to erroneous InternalRunOne impl. Residual preemptive batching was fucking with modern io.
[*] Cleanup TaskFrom/JobFrom. More work required to clean up legacy piss
2022-06-22 14:42:17 +01:00
7ea75b4014
[*] Until its not
2022-06-21 07:12:11 +01:00
7fde7d04fb
[+] EPipeCallbackType
...
[+] IIOBufferedStreamAvailable callback
[+] IIOProcessor singleshot work items / IIOProcessorWorkUnit
[+] IOPipeCallback description of a pipes destination
[+] IOPipeInputData description of a pipes source
[+] IOPipeRequest, IOPipeRequestAIO, IOPipeRequestBasic
[+] IPipeBackend hooks for on start/end hooks of IOPipeRequestBasics
[*] Update IOAdapaterAsyncStream implementation to better support caller buffering
[*] Updated IAsyncStreamReader to include a warm/dequeue API for direct async usage
[*] Fix NT IO regressions
[*] Fix ThreadPool shutdown on an unregistered thread
[*] Fix race condition in Async.NT.cpp & fix signalable state to closely match Linux (dunno how this was passing before)
[*] Refactor IOProcessorWorkUnit -> IIOProcessorWorkUnit
[*] Update experimental header to include the changes
2022-06-21 05:49:36 +01:00
7432aa5cac
[+] IIPCLogger structure to allow access to the underlying IPC pipe of an ipc logger
2022-06-17 09:22:24 +01:00
3985318566
[+] IPCSink
2022-06-17 00:05:32 +01:00
85cace020a
[*] dumb msvc build error
2022-06-16 02:36:35 +01:00
d47aeda082
[+] EConanonicalInput::eTab
...
[+] if ^::eString, [+] ...isControlSequence, isAltSequence, isShiftSequence
[*] Update semaphore from class to struct types
[*] GetProfileDomain and frens should check the result string length before returning true
2022-06-16 02:29:55 +01:00
9fb9eb4fd2
[*] Amend panic
2022-06-16 01:58:29 +01:00
5aea27d56d
[*] "Improve" win32 AuDebug
2022-06-16 01:51:19 +01:00
942373328c
[*] Refactor exchange TTY function mislabeled as set
2022-06-14 18:33:34 +01:00
a740e86a9a
[*] C warnings
2022-06-14 17:19:22 +01:00
17b1a738ca
[*] Solve a few compiler warnings. Mostly unrealistic u32 <-> u64 casts in element iteration and string operations we can reasonably ignore
2022-06-14 17:12:21 +01:00
f166849e9f
[TODO: BLOCK 2 PROGRESS]
2022-06-14 02:14:51 +01:00
0a2d4cde04
[+] readme.md
2022-06-12 21:18:26 +01:00
8bd7f698e3
[*] Merge branches (includes fixes)
2022-06-12 19:23:18 +01:00
b029f7692f
[*] Linux build errors
2022-06-12 14:53:35 +01:00
5d2b642ac0
[*] Huge refactor - Move Aurora::[IPC and Loop] to Aurora::IO
2022-06-12 01:29:28 +01:00
44108a322e
2/3 of the IO update (very early implementation)
...
[+] TTYConsole::GetPaddingTopOfLog,GetPaddingHeadOfLog,GetPaddingTopOfLog [+ set variants]
[+] IO::IOYield()
[+] IO::IAsyncTransaction::Failed,GetOSErrorCode()
[+] IByteBufferStreamPair
[+] IIOBufferedInterceptor
[+] IIOBufferedProcessor
[+] IIOEventListener
[+] IIOPipeEventListener
[+] IIOProcessorEventListener
[+] IIOProcessorManualInvoker
[+] IIOWaitableIOLoopSource
[+] IIOWaitableIOTimer
[+] IIOWaitableItem
[+] IIOWaitableTickLimiter
[+] IOAdapterAsyncStream
[+] IOAdapterByteBuffer
[+] IOAdapterCompression
[+] IOAdapterSeeking
[*] Cleanup CpuInfo.Linux.cpp
[*] Fixup async threadpool some more
[*] LSTimer.NT.cpp updates timer object on tick state update, akin to Linux
2022-06-12 00:01:27 +01:00
4675be4d78
[*] Fix stupid link error
2022-06-07 05:29:32 +01:00
c93d6033a5
[*] i'm dumb
2022-06-06 22:36:14 +01:00
e29843dc7e
[*] Beyond dumb fio offset issue
2022-06-06 22:34:49 +01:00
a59fc20d56
[+] ConsoleTTY.hpp write cmd history every 10 seconds under sys tick
2022-06-06 22:34:26 +01:00
f4515a7257
[*] Further further MALD
2022-06-03 20:28:08 +01:00
48e1ed80ae
[*] Further malding
2022-06-02 18:05:38 +01:00
a5757c31e0
[*] Cheeky AuThreadPrimitives refactor
2022-06-01 22:49:38 +01:00
b500c0bd5f
[+] Debug config
...
[*] Update legacy macros to modern pipeline under debug
2022-06-01 15:25:32 +01:00
db3f41233b
[*] Solve possible spinlock during exception under conin callback and print
...
[*] Update linkage
2022-05-30 09:46:24 +01:00
c88925fa27
[*] ConsoleTTY flip ux after append
2022-05-28 18:47:51 +01:00
5bafce075a
[*] Dumbdumb moment
2022-05-28 17:21:57 +01:00
77c74f886b
[*] Update IStreamReader/Writer interfaces to be backed by an Aurora Interface
...
[+] Aurora::IO::WriteAll
[*] Improve legacy compression API (pt 2)
2022-05-28 12:18:00 +01:00
25a593cac5
[*] Polyfill legacy compression api into modern io era with IStream[reader/writers]
2022-05-28 10:13:58 +01:00
4bf581cd37
[*] RandomDef explicit default-ctor followed by forced null of the structure to seed with fast rng
2022-05-27 20:45:00 +01:00
e665714341
[*] Bug fix: NT registry read function conflated array length with count
...
[*] Locale convert wchar -> utf count was not respected under non-nt targets
2022-05-26 15:02:23 +01:00
dc59e59e2a
[*] ConsoleTTY: Fix crash on arrow up
2022-05-24 07:09:42 +01:00
87c72a4aad
[+] ConsoleTTY !t and page up/down
2022-05-24 06:58:06 +01:00
f178188b5b
[+] ConsoleTTY !b
to scroll to bottom
2022-05-24 06:37:51 +01:00
670640321d
[*] ConsoleTTY UX
2022-05-23 16:10:19 +01:00
4b5bbe7be4
[*] Adjust console history behaviour
2022-05-20 11:52:30 +01:00
342db487f9
[*] AuAsync invalid self itr upon nested poll
2022-05-20 01:31:58 +01:00
fe88ae9821
[*] Another consoletty bug
2022-05-19 23:40:31 +01:00
19b29b8c08
[*] ConsoleTTY \t processing and reset history line index on enter
2022-05-19 23:28:11 +01:00
81939dd95e
[*] Cursor after history up/down was acting funky. This should fix it.
2022-05-19 04:32:23 +01:00
537ffca394
[+] ConsoleTTY history (unsaved)
2022-05-19 04:21:34 +01:00
4079d471a7
[*] Fix a deadlock in auasync
2022-05-19 04:07:10 +01:00
997c7cb325
[*] Fix text input bugs
2022-05-19 03:47:42 +01:00
10702f0419
[+] Initial Aurora ConsoleTTY shell attempt
2022-05-19 00:12:52 +01:00
59ea8d1c3d
[+] Try/catch around SysPump under async sched
2022-05-18 21:22:58 +01:00
a02bb0aabd
[*] Early internal non-canonical TTY api
2022-05-18 19:14:24 +01:00
6fb3f3a9e5
[*] NT ConsoleTTY -> This is less glitchy
2022-05-18 02:03:53 +01:00
1d859844fd
[*] Amend scroll Y
2022-05-17 17:58:29 +01:00
adcde3b0a3
[+] Internal TTY double buffeirng under NT
...
[+] NT: TTYScrollBuffer
[*] Move TTY under the ConsoleTTY namespace
2022-05-17 17:54:14 +01:00
de504a3a2d
[*] AuAsync: remove illegal static casts
2022-05-17 02:43:40 +01:00
00c82fdbe4
[*] Update WorkItem ::WaitFor
2022-05-17 01:59:19 +01:00
2c1d22ac13
[*] Missing AU_LOCK_GUARD in IWorkItem::WaitFor non-array variant
2022-05-17 00:46:25 +01:00
286ae14a7b
[*] Refactor WorkItemHandler EProcessNext -> ETickType
...
[*] AuAsync aue 1 regression
2022-05-17 00:41:27 +01:00
24fc2fd90d
[*] Reset hashstream lock state on import/reset
2022-05-14 23:34:25 +01:00
d0c4d8cb33
Hash API polish
...
[+] Added IHashStream::Export
[+] Added IHashStream::Import
[+] Added IHashStream::Finalize (versus "deprecated" older api)
[+] Added EHashType eMD4, eRMD128, eRMD160, eRMD256, eRMD320
2022-05-14 21:06:46 +01:00
f182ecd986
[+] Added IOSleep.* files, API: AuIO::WaitFor(ms, waitEntireFrame)
2022-05-13 21:02:19 +01:00
86ac108f11
[*] Move AuIO::WaitMultiple
...
[+] AuIO::WaitMultiple2
2022-05-13 19:25:29 +01:00
021959bdfc
[+] Harden linux sleep against interrupts
2022-05-13 18:53:20 +01:00
2ecaef35fb
[+] Higher-res sleep under NT w/ NtDelayExecution
2022-05-13 18:44:44 +01:00
ede223e955
[*] NT build regression from Linux land
2022-05-13 15:07:53 +01:00
23e922a396
[+] ConsoleTTY.Unix.cpp port. ConsoleTTY.cpp soon ™️
2022-05-13 13:01:49 +01:00
5ae5950bd9
[*] Bug fix: select 0 should be an error under such NB is-signaled paths
2022-05-13 12:51:00 +01:00
8fb1542d03
[*] Linux regression before ConsoleTTYs
2022-05-13 01:43:54 +01:00
2a09e62add
[*] Refactor IAsyncTransaction -> Moved namespace from AuIOFS to AuIO bc other file-like APIs share the same FS implementation. IPC, process, and other namespaces have no reason to return an AuIOFS interface when dealing with pipes.
2022-05-12 09:04:32 +01:00
433154a9c6
[+] explicit EAnsiColor::eWhite and EAnsiColor::eBlack
2022-05-12 08:21:32 +01:00
95a8388807
[*] Bug fix: ConsoleTTY.NT.cpp was reporting buffer size, not screen size
...
[*] Move ConosleTTY.*.*pp's ready for ConsoleTTY
2022-05-12 08:06:08 +01:00
b98baea2a8
[*] 4/6 fatal bugs in auAsync 1.0 grime
2022-05-10 14:51:22 +01:00
eeaa10090d
[*] 2/4 critical bugs in legacy aurora engine async subsystem
2022-05-10 14:22:37 +01:00
1c7267b9d8
[*] Update how AuAsync handles SysPump - we should really deprecate it.
2022-05-09 19:27:36 +01:00
683ed60660
[*] Bug fix: console wouldn't reset its' input buffer if it had been fully consumed in the first attempt
2022-05-09 19:26:40 +01:00
61f20b6c69
[+] Linux: missing new IAsyncTransaction::Reset method
2022-05-05 12:48:37 +01:00
0a38ffacfa
[+] NT: IProcess::AsLoopSource()
...
[*] NT: Bug fix: our side of the process streams were not marked as FILE_FLAG_OVERLAPPED
[+] CreatePipeEx.NT.cpp
2022-05-05 11:26:21 +01:00
dfc21453ef
[+] Add IAsyncTransaction::Reset
...
[*] Bug fixes: Async.NT.cpp
2022-05-05 11:24:44 +01:00
08b9c48f6c
[*] Bug fix - NT: ConsoleStd should not close GetStdHandle (win32 - new), only CreateFileW (legacy code)
2022-05-04 22:51:47 +01:00
d5ec986e02
[+] Linux async process stream access API implementation and bug fixes in AuIOFS / Async.Linux.cpp implementation
2022-05-04 20:34:46 +01:00
9ac9b5419a
[*] Fix regression in NT builds from Linux patch
2022-05-04 18:12:14 +01:00
6de5cbfb95
[+] Linux: Added bSingleshot API to timerfd backend
...
[*] NT: Added TTY handle static getter optimization alongside a secret setter API
[*] Made ILoopSource virtual
[+] Linux: Added console TTY stubs
[*] Renamed ConsoleTTY.Linux.cpp -> ConsoleTTY.Unix.cpp
[-] Redundant commented out shm_unlink (zero ref condition should unlink, i believe.)
[+] Added IProcess async pipe transaction getter stubs
[+] Added additional userland env lookup variables: XDG_SESSION_DESKTOP, DESKTOP_SESSION
[+] Unix: AuTime::ns2ts
2022-05-04 16:43:23 +01:00
2af66e0f71
[+] Add singleshot timer API flag
2022-05-04 14:00:26 +01:00
9f93b8a0b1
[+] 100 nanosecond resolution ILoopSource timer API (gl getting that res)
2022-05-03 18:42:14 +01:00
97cdbc9f27
[+] Overlapped stdout/in/err processes API
2022-05-03 11:10:04 +01:00
45975e4755
[+] Added console stdin loop source
...
[*] Fix logger color regression
[*] Fix various issues with console config struct
2022-05-03 07:19:26 +01:00
72f342e376
[*] Remove tabs
2022-05-03 05:54:24 +01:00
73173bdaae
[+] A small hacky TTY interface API
2022-05-03 05:31:49 +01:00
5cd9e64992
[*] UNIX: client IPC pipes shouldn't be announced
2022-05-03 05:30:23 +01:00
1642f4c1df
[*] 32bit parse regression
2022-05-03 05:29:39 +01:00
7613af2280
[*] UNIX: Attempt to peek pipe read-available if in ptr is null with FIONREAD when available
2022-05-01 20:35:46 +01:00
b9414f09d6
[+] Added missing poll condition trigger count
...
[*] 1/2th of the WaitAll dummy correction (should work_
2022-05-01 20:28:57 +01:00
2bfa4b0100
[+] Readd IPCPipe nt nonblock read (copy of process)
2022-05-01 20:28:57 +01:00
a66fb2c510
[+] Insert anon/other pages into process map of linux processes
2022-04-21 13:29:47 +01:00
237d2d070c
[+] Initial attempt at parsing Linux VMA space
...
[*] Refactor old C++ enums into AUE derivative
2022-04-21 00:34:08 +01:00
52983989b5
[*] Update time util
2022-04-20 14:17:37 +01:00
557fd2b574
[+] export AuParse::Parse[U/S]Int using const char*S as iterators
...
[*] Formatting/clean up
[*] Crinkling under Process
2022-04-20 14:03:51 +01:00
77a7b99c7c
[+] Linux timerfd-backed LSTimer
...
[+] auabs[ns/ms]2ts
[*] Formatting/Refactor loop sources
2022-04-19 22:50:34 +01:00
ec5516c751
[*] +1 out of at least 2 more WaitAll issues solved
...
[*] Bug fix LSTimer
2022-04-19 02:52:11 +01:00
7dca8ecd29
[+] LSTimer (NT)
...
[*] Bug fix stupid mismatching variable usage with similar name in LoopQueue.NT.cpp
2022-04-19 00:51:36 +01:00
8cbe481dba
[*] Update NT Epoch
2022-04-18 23:49:00 +01:00
b0db7993dd
[*] Commit check on DoTick | Erroneous Linux Loop Queue crash on wait before commit
2022-04-18 17:29:53 +01:00
395bf21a4c
[*] Fix timeout and harden for interrupts in WaitAll path of NT loop queue
2022-04-18 15:06:47 +01:00
f1ef6ac43c
[+] Async/overlapped UNIX pipe IO
...
[*] Further work on Linux LoopQueue for WaitAll
2022-04-17 23:46:05 +01:00
06e4411511
[*] Update UNIX pipe to follow NT-like bidirectional semantics. It's not possible to half NT, but it's possible to double the pipes in UNIX land.
2022-04-17 21:50:47 +01:00
1f15674016
[+] Optional blocking operations for Linux async file objects
2022-04-17 15:51:37 +01:00
e90be1801a
[*] Update NT memory check
2022-04-17 15:18:00 +01:00
b424a3b434
[+] NT IPC memory
2022-04-17 14:21:21 +01:00
371006c04e
[+/*] NT IPCPipe, updated interface for bidirectional comms. Introducing linux regression
2022-04-17 13:40:08 +01:00
30f86b81ac
[*] Harden LoopQueue.NT.cpp against interrupts.
2022-04-16 19:51:45 +01:00
ab7dd6c02b
[+] NT IPC primitives
2022-04-16 19:26:01 +01:00
ca0ca747aa
[*] Caught major RNG string regression
2022-04-16 19:09:30 +01:00
3779c46d36
[+] NT IPC nullstubs
2022-04-16 18:40:36 +01:00
e387f82f88
[*] Update ILoopQueue header (again)
2022-04-16 16:56:03 +01:00
fd423c88df
[*] NT LoopQueue was using the wrong ptr when calling back
2022-04-16 14:08:40 +01:00
4847519624
[*] Begin updating NT's loopqueue
2022-04-16 14:01:33 +01:00
7a0d9701b5
[*] NT regression and fixes
2022-04-15 19:20:12 +01:00
9f2ff9de19
[+] IPC pipes
...
[*] Fix socket leak under UNIX fallback path
2022-04-15 15:46:07 +01:00
2ce106d8a9
[*] Update LoopQueue semantics. Pending NT port
2022-04-15 12:45:47 +01:00
499aaeedab
[+] IPCMutex, IPCSharedMemory
...
[*] Refactor headers
2022-04-15 11:01:43 +01:00
44839e6234
[+] (Linux only) IPCEvent, IPCSemaphore
2022-04-14 20:40:35 +01:00
37cb35d997
[+] UNIX FD sharing (with Linux optimization and a potentially functional BSD fallback)
...
[+] IPCHandle
[*] Clean up IO init
2022-04-14 20:39:04 +01:00
8468c4d65c
[+] Missing UNIX flock advisory impl
2022-04-13 17:20:23 +01:00
0a6e1adfbf
[*] Update UNIX mutex primitive
2022-04-13 16:06:26 +01:00
4f2a2926e7
[*] Revert change from execv to execvp
2022-04-13 15:46:13 +01:00
f6183e672c
[*] Update UNIX process spawning
2022-04-13 15:43:38 +01:00
9eecdcb0a9
[*] Update UNIX high speed thread primitives to better account for interrupts
2022-04-13 15:42:36 +01:00
1192c616d1
[*] Amend UNIX module path resolution
2022-04-13 12:38:26 +01:00
415116c891
[+] Linux Async IO
2022-04-13 12:00:35 +01:00
aa7404fc25
[*] Update linux file watcher to emit self modify on dir watches upon file state change much like NT
2022-04-13 09:57:28 +01:00
7da61f406d
[*] Amend timeval func
2022-04-12 22:33:43 +01:00
457d263fb0
[+] ILoopSource::WaitOn(u32: timeout)
...
[+] ms2tv
2022-04-12 22:29:50 +01:00
74613d61e0
[*] Made nt cpuinfo less dumb
2022-04-12 20:18:21 +01:00
4617587adb
[*] Async file aio API WaitMultiple
should return a DWORD and call the callbacks
2022-04-12 20:17:58 +01:00
b0b9931586
[*] Update iconv
...
[*] nt queue
[-] Remove misplaced pragma once
2022-04-12 20:16:49 +01:00
a1a46e5324
[+] Use hwinfo cacheline in Cache.cpp fallback asm impl of instruction flush
2022-04-12 20:15:14 +01:00
9fe22062f8
[*] Revert fast rng ABI. Messing with the entropy doesn't make much sense considering the perf tradeoff
2022-04-11 20:28:18 +01:00
2de033a575
[+] Initial unoptimized iconv backend in the gross locale encode subsystem
2022-04-11 19:56:14 +01:00
c7fb247f99
[*] Formatting: this was bothering me
2022-04-11 14:11:47 +01:00
a36a1b8211
[*] Do not warm dir listings on non-dirs
2022-04-11 13:57:14 +01:00
a3b36ea651
[+] Directory awareness in OPLOCK hack of a watcher to bring NT up to Linux possible quality
2022-04-11 13:54:52 +01:00
2903a9f6cc
[*] NT File watcher regression from Linux update
2022-04-11 10:54:51 +01:00
d4e239d27f
[+] Did I just implement peeking of NT handles by buffering the signal state? Yes, yes I did.
...
[*] Further eliminate 32bit MS clock values (we need clock types)
2022-04-11 10:47:09 +01:00
45e6bf0d76
[*] Begin updating LoopQueue NT again
2022-04-11 06:35:13 +01:00
5e82879cc5
[*] Additional NT watcher regression (between API update)
2022-04-11 06:35:13 +01:00
80aab8360c
[+] Missing no pop on signal handle without filter callbacks
2022-04-10 17:42:11 +01:00
2b798bde97
[*] Win32 build regression (1/2)
2022-04-10 17:20:00 +01:00
e888c0af63
[*] Update LoopQueue.Linux.hpp
2022-04-10 16:59:39 +01:00
92e195e870
[*] Remove debug mask
2022-04-10 16:51:25 +01:00
3defb1bb14
[+] Linux Watcher
...
[*] Expand watcher API -> Breaking NT
[*] Reexpand loop queue API -> Breaking NT
[*] Linux CPUInfo clean up
[*] Bug fix: mkdir should set execute flag... because directories are special
[*] Refactor: Cleanup base64
[*] Bug fix: UNIX path normalization
[*] Bug fix: missing O_CREAT flag (au auto-creates)
[*] Normalize line endings
2022-04-10 16:40:49 +01:00
cf219eabaa
[+] Initial attempt at an epoll backend
...
[+] Added comments in nt opener
[*] Fixed rng close
[*] Fixed possible aarch64 crash where unix thread ep function didnt return a value
2022-04-09 16:53:14 +01:00
9da2147756
[*] Unix signal handlers shouldn't be Linux exclusive
2022-04-07 06:31:38 +01:00
1c78c18997
[+] Exit::CancelExit()
...
[*] Treat SIGTERM the same as SIGINT. SIGINT is somewhat of an arachic signal meaning, "hey dumb unix app, fuck the process group, start reading from stdin to listen to the user." Nowadays, this doesn't mean anything other than "hey, a human asked us to terminate from a TTY" - basically the same as SIGTERM, except SIGTERM is more likely to be a scheduled or otherwise expected shutdown event.
2022-04-07 06:22:50 +01:00
fb287e6128
[*] Always reset the sigaction mask (sigemptyset)
2022-04-07 05:41:16 +01:00
d81d4564e9
[+] Initial Linux exit signal handler
...
[*] Linux Semaphore bug (apparently I can't write loops)
[*] Linux sleep bug
2022-04-07 05:35:17 +01:00
d3428f4cd9
[*] Continued loop work (Linux and Win32)
2022-04-07 02:20:46 +01:00
da506dd0d8
[*] Amend linux cmdline parsing
2022-04-06 08:25:17 +01:00
bfc33e6663
[*] Early Linux SWInfo
2022-04-06 07:25:34 +01:00
6271af0ada
[*] Hey, wait a minute. Update Linux cpuinfo.
2022-04-06 06:09:23 +01:00
098d63eeb3
Hey, wait a minute
2022-04-06 05:55:12 +01:00
b97ed198c3
[+] Modern Linux cpuinfo
...
[*] Replace getpid with gettid
2022-04-06 05:50:12 +01:00
8fe83de42f
[*] Linux has a pulse...
2022-04-06 02:24:38 +01:00
3205ea8a1f
Merge remote-tracking branch 'origin/master'
2022-04-05 14:46:40 +01:00
7705e32c59
[*] Win32 regression
2022-04-05 14:46:19 +01:00
f0ed958e5a
[*] Bad type migration from spinlock to rwlock
2022-04-05 14:41:46 +01:00
311b13bc32
[*] Do you see why Zombie processes are still an issue under UNIX?
2022-04-05 11:24:48 +01:00
8cbceae272
[*] Process clean up (UNIX)
2022-04-05 11:18:35 +01:00
e25d8a65c8
[*] Linux Progress... It compiles (APIs are out of date, subsystems are missing, and it doesn't link. Worse than being 5m behind)
2022-04-05 11:11:19 +01:00
d32b84edf4
[*] Linux stubs
2022-04-05 06:59:23 +01:00
48b6994f61
[+] LSFromFdNonblocking
...
[*] Other Linux progression
2022-04-05 03:36:39 +01:00
c4d9042e44
[+] THE IO JOHNNY, WHAT DOES IT MEAN? | Linux continued
2022-04-05 02:19:37 +01:00
5a96a71949
[*] Address *some* build issues under Linux. Interim port progress
2022-04-04 08:53:34 +01:00
62e3490d9f
[*] Slight cleanup of the NT watcher
2022-04-03 05:46:52 +01:00
3650599064
[*] Only send ack if requested
2022-04-03 03:44:59 +01:00
603c68f3ca
[-] de-bug
2022-04-03 03:26:23 +01:00
a1ec806773
[+] Initial hack of a file watcher in NT land
2022-04-03 02:52:25 +01:00
450c895732
[*] WaitSingleBase.cpp was rescoping the return value. Doh
2022-04-03 00:30:15 +01:00
cfca09d0da
[*] FS.cpp bugs regarding expanding "<char>/"
2022-04-03 00:29:49 +01:00
371d01ce71
[*] Missing stage for MakeTemporary
2022-04-03 00:28:18 +01:00
24ea76e30e
[*] This deprecated API is known to break with a stupid template error under recent STL releases under MSVC
2022-04-02 19:15:06 +01:00
a31136a5d4
[+] MakeTemporary
2022-04-02 19:14:24 +01:00
6eb33179cd
[*] Original exit behaviour
2022-04-02 03:52:35 +01:00
5599da3ab0
[*] Harden exit
2022-04-02 01:48:29 +01:00
fb5eb02594
[*] win32 flag shouldn't be reset on recommit | regression since commit no longer starts from scratch under nt
2022-04-01 19:33:11 +01:00
8b72865586
[*] Found closed issue related to the MSVC STL clock. Proposed solution gave us a 2x boost in benchmarks. Using this over MSVC's clocks when possible (it's not even using kernel32/related apis, it's using high level apis of the crt and frens... The Microsoft STL has shit tier performance for real time usage, yea, who fucking knew? Why was I writing this project again?)
2022-04-01 18:40:56 +01:00
e281f63a3b
[*] Continue work on the NT loop queue
2022-04-01 18:39:07 +01:00
a4568be6fa
[*] Kill net. Branching...
2022-04-01 04:54:21 +01:00
556c6c37bb
[*] Demangle
2022-03-31 21:34:37 +01:00
2eb5c97800
[*] Stupid optimization that doesn't make so much of a difference
2022-03-31 14:12:06 +01:00
76c4759f92
[*] Optimise loggers
2022-03-31 04:40:19 +01:00
e9ad89beea
[*] Localized timescale looked ugly
2022-03-31 04:34:02 +01:00
9f9f86f174
[*] What kind of regression was THIS?
2022-03-31 03:13:56 +01:00
1159bf3ca3
[*] Another gross bug
2022-03-31 02:49:58 +01:00
8002d6cba2
[*] Disgusting locale subsystem: gross bug
2022-03-31 02:13:00 +01:00
f717511a10
[+] NT OutputDebugStringW logger sink
...
[*] Split objects
[*] Consider making ABI object api boilerplate
[*] Refactor STLShims (roxtl)
2022-03-31 01:31:40 +01:00
5baf182c6f
[*] ...this makes more sense
2022-03-30 23:32:18 +01:00
90af80ae2c
[+] AuUTF8StringView polyfil
...
[*] NT Loop queue improvements
2022-03-30 23:30:51 +01:00
3e80022f95
[*] Cacheline and cachesize report in CpuInfo
2022-03-30 22:45:10 +01:00
142d204653
[*] cmdparse test failure
2022-03-30 20:26:24 +01:00
2c21d130ee
[*] IsSignaled was blocking
2022-03-30 19:46:19 +01:00
c1976d771b
[*] Compiler warning
...
[*] Disambiguate auContainerUtils
[*] Optimize AuLogXXX / remove alloc
[*] Didn't commit two auROXTL idiom updates (ExceptionWatcher and Logging)
2022-03-30 19:07:15 +01:00
79c2a2ffff
[*] Gave the NT loop some attention (much more required)
2022-03-30 18:56:56 +01:00
f9ac6fff72
[*] ECompressionType typo
2022-03-30 15:20:04 +01:00
35c1dc623b
[*] Formatting
2022-03-30 15:18:56 +01:00
e0b19c075d
[*] Refactor cache
2022-03-30 15:18:20 +01:00
cf73ccad37
[*] On unix, eNormal throttle should mask all cores
2022-03-30 15:18:07 +01:00
361e8526cf
[*] Optimize create-dir-tree for FS benchmark
2022-03-30 15:17:15 +01:00
790d01a29a
[*] Update for auROXTL changes
2022-03-30 15:16:57 +01:00
5ea5e0314f
[*] 32bit swaplock compile
2022-03-30 15:15:50 +01:00
802361c57e
[*] Update FS resources under NT (prevent conflict of privileged user data + brand matching all user data)
2022-03-30 12:33:52 +01:00
e7f6f79471
[+] RWLock::DowngradeWriteToRead
2022-03-30 12:32:03 +01:00
3c53eb526f
[*] Enchanced command line parsing
2022-03-29 01:53:02 +01:00
3507d9bb33
[+] GetSharedAsyncApp
2022-03-23 16:33:02 +00:00
0dcfd23fc7
[*] Update processmap
2022-03-23 16:14:53 +00:00
68bfdd1f8d
Update ROXTL
...
[+] Extended fnv1 apis
[+] AuResult
[+] AuHash
[+] AuEnableHashCodeOnData
2022-03-23 16:03:48 +00:00
ba8602744b
[+] Interim and incomplete Unix/Linux buildability
2022-03-22 05:10:40 +00:00
a5c2600f1f
[*] Force update affinity here
2022-03-21 07:31:01 +00:00
9326891ada
[*] Angry updating header noises
2022-03-21 07:20:15 +00:00
9542ec8374
[+] Initial OSThread SetThrottle attempt
2022-03-21 07:16:12 +00:00
0fb514f856
New memory APIs
...
[+] AuMemory::Cache
[+] AuMemory::SwapLock
[+] AuMemory::Transition
AuROXTL
[+] AuPageRoundUp
[+] AuPageRound
2022-03-21 05:20:19 +00:00
8b4bdbd04b
[*] CpuInfo (and others) refactor
2022-03-20 12:51:51 +00:00
d406e5a85e
[*] Win32 32bit regression fixes
2022-03-18 07:32:38 +00:00
ff88b7f85d
[+] lite sku
2022-03-18 04:30:39 +00:00
dce47ee5cf
[*] Recrinkle enterprise flag on windows
2022-03-16 19:50:04 +00:00
672915cd55
[*] Improve CpuId awareness through affinity
...
[*] Clean up OSThread
[*] Tweak HWInfo/CpuInfo
2022-03-16 18:15:57 +00:00
ab76f77871
[+] SetThreadDescription support
2022-03-16 16:34:55 +00:00
5213a19362
[*] Additional seething
2022-03-13 23:03:53 +00:00
c826df484e
[*] Loop queue nt bug
2022-03-11 04:07:15 +00:00
7bfcce52fd
[*] Oops
2022-03-10 16:02:20 +00:00
03bb80239c
[*] Reglue async and loop together
2022-03-10 15:41:57 +00:00
6afe6c7342
[*] Clean up
2022-03-08 01:36:12 +00:00
1f18da1e98
[*] Added missing this-> in StringToProvider for consistency within this file
2022-03-04 23:15:41 +00:00
53e33b6fdd
[*] Added/fix UTF-16 BE count
...
[*] Optimize stage builds - Crypto API validation
[*] Clean up
2022-03-04 22:28:25 +00:00
805eae7f3d
[+] Added _AU_SAW_WIN32_EARLY for AuLoop::NewLSHandle in AuWin32Utils.hpp
...
[*] Clean up AuROXTL
2022-02-27 09:11:56 +00:00
907b5d1b33
[*] Illegal missing return value
2022-02-27 07:46:00 +00:00
bb6025ab5f
[*] only pump this on dtor
2022-02-21 21:19:12 +00:00
01254d088b
[*] Fix no flush after blocking write on logger dtor
2022-02-21 20:35:16 +00:00
ef04d2bac3
[-] Remove "Initialized default localization" debug message
2022-02-21 14:07:21 +00:00
9e26996463
[*] Recrinkle win32 process send term and stdin CONIN/OUT win32 logic
2022-02-21 12:27:34 +00:00
c6d649e3de
[*] Fix race condition. Read after logger detor bug in rw to spinlock optimization
2022-02-21 05:56:52 +00:00
cd8cfd4f1c
[+] Shutdown runtime on unsafe main thread termination
...
[+] Grug will flush everything inline on deinit
[*] Fix bug in BufferedCharConsumer, didn't return char in peak (doh)
2022-02-21 03:40:29 +00:00
3f4cf93877
[+] AuTryInsert for maps
...
[*] Fix Aurora::IO::FS Remove not removing empty directories
2022-02-20 21:57:01 +00:00
d67d6b38db
[*] Fix NT FS bugs in mega patch
2022-02-20 21:08:44 +00:00
188e478033
[+] Improve RNG apis. TODO: more work is needed
2022-02-20 20:49:34 +00:00
3651c22159
[+] AuIOFS::WriteFile should use new memory span
2022-02-20 20:31:18 +00:00
9c18cb06e0
[*] Emulate \\ escaping on NT CmdLine parsing
2022-02-20 18:49:15 +00:00
7864966478
[+] Minimalistic AuNumericLimits implementation
2022-02-19 17:56:45 +00:00
2c55b722d6
[+] AuAtomicTestAndSet
2022-02-19 13:21:34 +00:00
b29be7b2d5
[*] Hardened line bufferer
...
[+] Unstaged changes from last commit
2022-02-19 11:50:14 +00:00
be7e9271e6
[+] Added casts for pointer types
...
[*] Nuke more std:: references
2022-02-19 11:43:57 +00:00
6e8bb527e7
[*] Update compression api, made window bits optional
2022-02-19 11:16:25 +00:00
86ce9a9281
[*] Improve default window bit correction
2022-02-19 11:10:49 +00:00
9681450156
[*] Wrap Window bit validation around hasWindowbits check
2022-02-19 10:50:28 +00:00