Commit Graph

523 Commits

Author SHA1 Message Date
9d9b621063 [*] That's it. I'm a seethin 2022-06-03 22:25:57 +01:00
a5757c31e0 [*] Cheeky AuThreadPrimitives refactor 2022-06-01 22:49:38 +01:00
056ffc4b68 [*] Update asynctypes.hpp header, added hashcode and equals operator to two types that should've had them defined already. 2022-06-01 20:18:12 +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
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
131f7de43b [+] Added move and copy operators + constructors for types that are either struct members in the public API or are likely to be copied by the user 2022-05-27 20:33:42 +01:00
10702f0419 [+] Initial Aurora ConsoleTTY shell attempt 2022-05-19 00:12:52 +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
286ae14a7b [*] Refactor WorkItemHandler EProcessNext -> ETickType
[*] AuAsync aue 1 regression
2022-05-17 00:41:27 +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
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
f29171e329 [*] Clean up SWInfo.hpp 2022-05-12 07:34:19 +01:00
1c7267b9d8 [*] Update how AuAsync handles SysPump - we should really deprecate it. 2022-05-09 19:27:36 +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
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
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
73173bdaae [+] A small hacky TTY interface API 2022-05-03 05:31:49 +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
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
2005b1d0e1 [*] Stupid comment 2022-04-19 01:40:36 +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
371006c04e [+/*] NT IPCPipe, updated interface for bidirectional comms. Introducing linux regression 2022-04-17 13:40:08 +01:00
e387f82f88 [*] Update ILoopQueue header (again) 2022-04-16 16:56:03 +01:00
6f75712d05 [+] ELoopSource: eProcessStdIn/Out 2022-04-16 16:36:44 +01:00
790e879fe4 [*] Update ILoopQueue.hpp documentation 2022-04-16 16:36:13 +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
415116c891 [+] Linux Async IO 2022-04-13 12:00:35 +01:00
457d263fb0 [+] ILoopSource::WaitOn(u32: timeout)
[+] ms2tv
2022-04-12 22:29:50 +01:00
4617587adb [*] Async file aio API WaitMultiple should return a DWORD and call the callbacks 2022-04-12 20:17:58 +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
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
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
7705e32c59 [*] Win32 regression 2022-04-05 14:46:19 +01:00
5a96a71949 [*] Address *some* build issues under Linux. Interim port progress 2022-04-04 08:53:34 +01:00
d37eaf6f30 [*] Regression of empty SysPushErrors (fmt now freaks out at this. we can use this over a nullptr. SSO, string pooling, etc, it'll be fine.) 2022-04-03 00:29:20 +01:00
2b4bb66e0c [+] Possible watcher api 2022-04-02 19:15:59 +01:00
a31136a5d4 [+] MakeTemporary 2022-04-02 19:14:24 +01:00
ce62600e18 [*] Update LS enum 2022-04-02 19:14:14 +01:00
5599da3ab0 [*] Harden exit 2022-04-02 01:48:29 +01:00
7e1bf30131 [-] auROXTL -> Moved to https://gitea.reece.sx/AuroraSupport/auROXTL 2022-04-01 05:03:03 +01:00
a4568be6fa [*] Kill net. Branching... 2022-04-01 04:54:21 +01:00
51df2294b6 [*] Update auresult 2022-03-31 21:45:26 +01:00
556c6c37bb [*] Demangle 2022-03-31 21:34:37 +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
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
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
e7f6f79471 [+] RWLock::DowngradeWriteToRead 2022-03-30 12:32:03 +01:00
fe12215cb6 [+] Added overwriteMode argument in auTryInsert 2022-03-29 10:39:11 +01:00
68ab966315 [+] Added AU_DEFINE_FOR_VA, AU_DEFINE_THIS_MOVE_CTOR_VA, AU_DEFINE_THIS_COPY_CTOR_VA 2022-03-28 19:10:12 +01:00
10becf180c [+] AU_DEFINE_HASHCODE_VA, define AU_DEFINE_EQUALS_VA
[*] Missing AuTryInsert pointer helpers
[*] Missing const specifier
2022-03-28 17:51:20 +01:00
55ff37731f [*] tidy up 2022-03-28 14:37:28 +01:00
3f15f510a9 [*] Rename auTemplateMetaIsFunction 2022-03-28 14:34:06 +01:00
7e7c241f4d [+] AuIsArray_v, AuDecay_t, AuIsFunction_v 2022-03-28 14:32:35 +01:00
681581486e [+] AuTupleCountOf_v 2022-03-28 12:08:59 +01:00
5205cf1785 [*] tuple bug 2022-03-28 10:55:28 +01:00
99ba43acd4 [*] auContainerUtils fixes
[*] Formatting
2022-03-28 10:49:17 +01:00
cc01be79b3 [*] AuTryRemoveRange bug 2022-03-27 21:45:30 +01:00
b0cd732ac7 [*] Update AuTryInsert
[*] Fixup AuTryRemove
[+] AuAddConst_t
2022-03-27 21:34:44 +01:00
3c23be4ea1 [*] Fixup AuExists 2022-03-27 19:43:14 +01:00
1f125e3d8b [+] AuListFromArgs
[*] Amend auTryConstructUtils
[+] try_emplace awareness
2022-03-27 19:29:34 +01:00
4d58e98543 [*] Outwards refactor (recrinkle) of auCopyMove and auMemory 2022-03-27 12:43:53 +01:00
f7064b8643 [*] Config crinkle 2022-03-27 12:11:59 +01:00
526444882b [*] Config sewage 2022-03-26 16:35:30 +00:00
947356120b [*] Creasing allocators 2022-03-26 16:18:50 +00:00
d549c3aeef [*] Amend AuAdd[R/L]Ref 2022-03-26 15:41:27 +00:00
21a92faab3 [+] Attempt to reserve ahead of time when possible [ROXTL]
[*] Update docu
2022-03-26 15:02:47 +00:00
af39d8858c [*] Clean up try construct 2022-03-26 13:47:45 +00:00
04a1853ed0 [+] MSVC AuUnsafeRaiiToShared exception throw mitigation 2022-03-26 13:43:49 +00:00
a7a982194e [+] AuCtorErrorTag 2022-03-26 13:21:31 +00:00
dd2bba92e5 [*] STDs 2022-03-26 12:32:07 +00:00
47f7078a24 [*] Support first or last parameter T's instanceof AuCtorCode_t 2022-03-26 12:14:58 +00:00
74a0e92d32 [+] Document auCopyMoveUtils
[*] Memory Model
[*] TryConstruct shall permit extensions of the bool class (use it like a tag)
[*] Formatting
2022-03-26 12:02:08 +00:00
8f5029a120 [*] ... 2022-03-25 23:16:32 +00:00
ed45ac75c1 [+] Strict AuMove/Forward in casts
[*] Formatting
2022-03-25 22:46:46 +00:00
5b91d0c30e [*] Thy shall not spam Exception Handler frames unlike those who practice such idioms as noexcept in the fuckfest that is Cope++ 2022-03-25 22:38:45 +00:00
7ebffdf917 [*] this was fine x commits ago :( 2022-03-25 21:35:23 +00:00
0416874939 [*] Reformat 2022-03-25 21:32:36 +00:00
ede3add831 [+] AuAddPointer_t, AuAddLReference_t, AuAddRReference_t 2022-03-25 21:23:16 +00:00
f4b5f078bc [*] Was coping 2022-03-25 21:03:49 +00:00
438a63f17a [*] Minor tube inspection 2022-03-25 19:33:54 +00:00
7d9f1abfe3 [*] low iq 2022-03-25 19:10:56 +00:00
6fd844dae8 [*] Formatting
[*] Revert-revert formatting
2022-03-25 18:08:26 +00:00
c0b0be52b1 [+] AuTupleTakeRange, AuTupleTie, AuTupleForward, AuTupleForEach, AuTupleTransform
[+] AuIsLValueReference, AuIsRValueReference
2022-03-25 17:05:45 +00:00
edaa7a295a [*] Split auTryConstruct 2022-03-25 15:56:06 +00:00
8713d2706e [+] AuIsConstructible_v
[+] AuIsConstructible_t
[+] AuTryConstruct
[*] AuReference
2022-03-25 14:18:29 +00:00
5a72807cc6 [*] Update AuROXTL 2022-03-25 12:00:44 +00:00
ecced7e44d AAAAAHHH THE POSTERS ANDY 2022-03-24 09:01:42 +00:00
45b935d0e0 [+] I foresee pointer alignment providing us reduced hashmap key entropy -> always hash pointer at runtime 2022-03-23 19:53:41 +00:00
55857f4158 [*] Recrinkle posters 2022-03-23 19:40:07 +00:00
c912013ddb [*] I'm low iq 2022-03-23 18:51:15 +00:00
60456262ca [*] Didnt account for stupid design. 2022-03-23 16:49:15 +00:00
3507d9bb33 [+] GetSharedAsyncApp 2022-03-23 16:33:02 +00:00
98a0265486 Recrinkle formatting 2022-03-23 16:32:21 +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
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
57b4fe202a [*] AuFToK -> AuKToC typo 2022-03-20 11:20:10 +00:00
2544e557b0 [*] Readd old glue accidentally removed in previous commit 2022-03-20 10:58:58 +00:00
b29f8ebf21 [*] Major fix -> vec wrapper w/o glm accessors were broken
[*] Preemptive linux/clang API fixes
[*] Fix clang equiv MSVC template bug (they're nice enough to throw an error instead of crashing)
2022-03-20 09:56:15 +00:00
e0d83e33a3 [*] Basic unit conversion utils 2022-03-19 09:47:07 +00:00
d406e5a85e [*] Win32 32bit regression fixes 2022-03-18 07:32:38 +00:00
db24cb2c5b [*] Fix CpuBitScanForward 2022-03-17 13:07:51 +00:00
672915cd55 [*] Improve CpuId awareness through affinity
[*] Clean up OSThread
[*] Tweak HWInfo/CpuInfo
2022-03-16 18:15:57 +00:00
5213a19362 [*] Additional seething 2022-03-13 23:03:53 +00:00
260442a684 [*] seething 2022-03-11 23:18:24 +00:00
9ec07220f3 [*] Case 2022-03-11 20:36:54 +00:00
c5f20ab9cf [+] AuLoop 2022-03-11 20:34:00 +00:00
8e9fd74b6f [*] AuIsBaseOfTemplate_v 2022-03-11 20:33:41 +00:00
0d969c3560 [*] Micro-optimize auTypeUtils 2022-03-11 04:07:02 +00:00
03bb80239c [*] Reglue async and loop together 2022-03-10 15:41:57 +00:00
216587195e [*] Work out additional kinks in casts 2022-03-10 00:57:48 +00:00
e4ed0856de [*] Terachad casts 2022-03-09 16:25:24 +00:00
a7d0e0a261 [*] remove vtbl (ExtendStlLikeSharedPtr) 2022-03-09 01:55:48 +00:00
01647d3a0d [*] bug fix in bytebuffer typedread 2022-03-09 01:52:55 +00:00
b3c62bc325 [+] option to disable null pointer exceptions
[*] vtable based null pointer exceptions
2022-03-09 01:52:36 +00:00
e1e1da8e1b [*] Update placeholder inline -> auline in SysAssertions 2022-03-04 23:29:27 +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
3a40a94f3b [*] auBitUtils: added static_cast in popcnt to ensure there is no sign & type mismatch warnings 2022-02-27 09:14:51 +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
dbb42a973e [FIX ME] Temp remove NewLSHandle 2022-02-27 07:33:47 +00:00
3f4cf93877 [+] AuTryInsert for maps
[*] Fix Aurora::IO::FS Remove not removing empty directories
2022-02-20 21:57:01 +00:00
e517e278e9 [*] more rng work 2022-02-20 20:59:06 +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
efe0abea90 [+] RngRange
[+] AuRng shorthand
2022-02-20 20:25:39 +00:00
191f5df2a1 [+] AuCmdLine shorthand 2022-02-20 17:34:58 +00:00
7864966478 [+] Minimalistic AuNumericLimits implementation 2022-02-19 17:56:45 +00:00
2c55b722d6 [+] AuAtomicTestAndSet 2022-02-19 13:21:34 +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
749b8deb8d [*] Updated bit utilities
[*] Updated default string type
[*] Spinlocks can now timeout
[*] Finish RW lock write entrant mode
2022-02-18 17:50:33 +00:00
df1c36bd28 [*] Refactor CpuInfo
[*] class -> struct RSA interface
2022-02-18 10:46:51 +00:00
0ca7b2c668 [*] Minor optimization: iconv locale translation
[*] Minor optimization: AuMin/Max return reference [again]
2022-02-17 20:37:29 +00:00
cf70f0d45c [*/+/-] MEGA COMMIT. ~2 weeks compressed.
The intention is to quickly improve and add util apis, enhance functionality given current demands, go back to the build pipeline, finish that, publish runtime tests, and then use what we have to go back to to linux support with a more stable api.

[+] AuMakeSharedArray
[+] Technet ArgvQuote
[+] Grug subsystem (UNIX signal thread async safe ipc + telemetry flusher + log flusher.)
[+] auEndianness -> Endian swap utils
[+] AuGet<N>(...)
[*] AUE_DEFINE conversion for
        ECompresionType, EAnsiColor, EHashType, EStreamError, EHexDump
[+] ConsoleMessage ByteBuffer serialization
[+] CmdLine subsystem for parsing command line arguments and simple switch/flag checks
[*] Split logger from console subsystem
[+] StartupParameters -> A part of a clean up effort under Process
[*] Refactor SysErrors header + get caller hack
[+] Atomic APIs
[+] popcnt
[+] Ring Buffer sink
[+] Added more standard errors
        Catch,
        Submission,
        LockError,
        NoAccess,
        ResourceMissing,
        ResourceLocked,
        MalformedData,
        InSandboxContext,
        ParseError

[+] Added ErrorCategorySet, ErrorCategoryClear, GetStackTrace
[+] IExitSubscriber, ETriggerLevel
[*] Write bias the high performance RWLockImpl read-lock operation operation
[+] ExitHandlerAdd/ExitHandlerRemove (exit subsystem)
[*] Updated API style
        Digests
[+] CpuId::CpuBitCount
[+] GetUserProgramsFolder
[+] GetPackagePath
[*] Split IStreamReader with an inl file
[*] BlobWriter/BlobReader/BlobArbitraryReader can now take shared pointers to bytebuffers. default constructor allocates a new scalable bytebuffer
[+] ICharacterProvider
[+] ICharacterProviderEx
[+] IBufferedCharacterConsumer
[+] ProviderFromSharedString
[+] ProviderFromString
[+] BufferConsumerFromProvider
[*] Parse Subsystem uses character io bufferer
[*] Rewritten NT's high perf semaphore to use userland SRW/ConVars [like mutex, based on generic semaphore]
[+] ByteBuffer::ResetReadPointer
[*] Bug fix bytebuffer base not reset on free and some scaling issues
[+] ProcessMap -> Added kSectionNameStack, kSectionNameFile, kSectionNameHeap for Section
[*] ProcessMap -> Refactor Segment to Section. I was stupid for keeping a type conflict hack API facing
[+] Added 64 *byte* fast RNG seeds
[+] File Advisorys/File Lock Awareness
[+] Added extended IAuroraThread from OS identifier caches for debug purposes
[*] Tweaked how memory is reported on Windows. Better consistency of what values mean across functions.
[*] Broke AuroraUtils/Typedefs out into a separate library
[*] Update build script
[+] Put some more effort into adding detail to the readme before rewriting it, plus, added some media
[*] Improved public API documentation
[*] Bug fix `SetConsoleCtrlHandler`
[+] Locale TimeDateToFileNameISO8601
[+] Console config stdOutShortTime
[*] Begin using internal UTF8/16 decoders when platform support isnt available (instead of stl)
[*] Bug fixes in decoders
[*] Major bug fix, AuMax
[+] RateLimiter
[+] Binary file sink
[+] Log directory sink
[*] Data header usability (more operators)
[+] AuRemoveRange
[+] AuRemove
[+] AuTryRemove
[+] AuTryRemoveRange
[+] auCastUtils
[+] Finish NewLSWin32Source
[+] AuTryFindByTupleN, AuTryRemoveByTupleN
[+] Separated AuRead/Write types, now in auTypeUtils
[+] Added GetPosition/SetPosition to FileWriter
[*] Fix stupid AuMin in place of AuMax in SpawnThread.Unix.Cpp
[*] Refactored Arbitrary readers to SeekingReaders (as in, they could be atomic and/or parallelized, and accept an arbitrary position as a work parameter -> not Seekable, as in, you can simply set the position)
[*] Hack back in the sched deinit
[+] File AIO loop source interop
[+] Begin to prototype a LoopQueue object I had in mind for NT, untested btw
[+] Stub code for networking
[+] Compression BaseStream/IngestableStreamBase
[*] Major: read/write locks now support write-entrant read routines.
[*] Compression subsystem now uses the MemoryView concept
[*] Rewrite the base stream compressions, made them less broken
[*] Update hashing api
[*] WriterTryGoForward and ReaderTryGoForward now revert to the previous relative index instead of panicing
[+] Added new AuByteBuffer apis
    Trim, Pad, WriteFrom, WriteString, [TODO: ReadString]
[+] Added ByteBufferPushReadState
[+] Added ByteBufferPushWriteState
[*] Move from USC-16 to full UTF-16. Win32 can handle full UTF-16.
[*] ELogLevel is now an Aurora enum
[+] Raised arbitrary limit in header to 255, the max filter buffer
[+] Explicit GZip support
[+] Explicit Zip support
[+] Added [some] compressors

et al
2022-02-17 00:11:40 +00:00
19ebdf3761 Preparing for initial WSA network POC rewrite, not porting gen1 code. Linux support is way behind. Will work on it soon.
[*] Minor refactors
[*] Begin refactoring the Processes subsystem
[*] Added empty files ready to move the gross c++ functional callback in the parse subsystem to a dedicated interface w/ utils
[*] Broke out Win32 Process into an NT base variant (Process.NT.cpp) with Win32 overloaded process exit pokes (Process.Win32.cpp)
2022-01-29 12:36:25 +00:00
a6f96315f3 [+] Move raminfo IsWin10 check over to the new cheaty api 2022-01-28 01:20:38 +00:00
086de4600f [*] Minor adjustments 2022-01-28 00:45:37 +00:00
64b2690159 [*] Major -> AuMin/AuMax was returning a reference???
[*] Added arch x64 check around _mm_popcnt_u64. might export msvc only symbol from CpuId w/ the has smid requirement for this one op
2022-01-27 20:52:55 +00:00
d8e000b5c3 [*] Prevent WriteLater from entering a deadlock condition. OnFlushs are no longer atomic
[*] Fix up gen1 copypasta
[+] ConsoleMessage::ToPersistentString
[*] Adjust ConsoleMessage formatting
2022-01-27 20:28:20 +00:00
5bc1985eca [+] Added ToString to CpuId
[*] Added const modifier to cpuid functions
[*] Added OnExit to planned API interface
[*] BlobReader now holds onto a handle of a ByteBuffer, allowing for shared usage -> aiding in the mitigation of allocations/second and needless heavy copy of objects
2022-01-27 07:45:42 +00:00
d7c6d66fad [+] AuBitsToLower, AuBitsToHigher (returns half of an input word)
[+] AuPopCnt
[+] NormalizePath, GetFileFromPath, GetDirectoryFromPath, GoUpToSeparator
[*] Fix Version Helpers again
[*] Fix registry locale memory check under read registry in SWInfo
[*] Breakout portable process code away from evil win32 code
[*] .dynlib -> .dylib under macos
2022-01-27 05:52:45 +00:00
fbd437d3d4 [+] Added LocaleStrings.hpp -> NewLine
[*] LocaleStrings should always return constant references
[*] Readded line splitting logic to the new Logger class
2022-01-26 08:30:19 +00:00
0d388dc4e2 [+] Added VersionHelpers
[*] Detabify
[*] Broke up CpuInfo
[*] I want to rewrite this trashy readme soon
2022-01-26 04:22:12 +00:00
7eb6900e9f [+] Added shared pointer extension, begin experimenting defining throw-on-null mechanic
[+] AuRemoveConst
[*] Support circular reference in Aurora pipelines Include, added support for early Aurora::Build AuroraEnum
[+] Added SWInfo API
[+] AU_COPY_MOVE, AU_MOVE, AU_COPY to go with AU_NO_... variants
[+] Adding GetProcessId
2022-01-26 00:22:02 +00:00
e5e36bd887 Large Commit
[*] Fix deadlock in the async subsystem (NoLockShutdown vs Shutdown in exception handler)
[+] Added ProccessMap NT variant
[+] Added ToolHelp image profiling
[*] Improved exception awareness
[*] Delegated SpawnThread to isolated TU, ready for reuse for RunAs and XNU Open - now with horrible evil alloc that could fail
[+] Added header for future api 'UtilRun'
[*] Improve NT core detection
[*] Changed small affinity bitmap to AuUInt64 instead of AuUInt32
[+] Added data structure to hold cpuids/affinity masks
[+] Implemented logger sinks
[+] Implemented logger glue logic
[*] Began migrating older loggers to sink-based default devices
[*] Minor refactors
[*] Improved internal exception discarding, not yet nothrow capable
[*] Minor create directory fix
2022-01-24 18:43:53 +00:00
8db441ff33 [*] preparing for autismo 2022-01-21 22:37:29 +00:00
66870a0f1a [*] Fix more scuffed time logic 2022-01-21 19:36:56 +00:00
5cba5f7b16 [*] uh wtf? 2022-01-21 17:28:52 +00:00
ed2b956b38 [*] Where'd my IsEmpty() go during refactoring? 2022-01-21 17:20:07 +00:00
ac467734a0 [*] Preparing to work on extending the console api and telemetry subsystems 2022-01-21 16:26:35 +00:00
d23c04b4cd [*] add missing return *this 2022-01-21 16:25:47 +00:00
e30ccbc90f [*] mo better memory reporting info 2022-01-20 19:20:23 +00:00
0510ee20ae [*] Loop should always enter alertable mode
[*] More AuList<AuUInt8> -> AuByteBuffer
2022-01-20 17:45:52 +00:00
02aa0dfd13 [*] eradicate AuList<AuUInt8> abuse, switch over to AuByteBuffer 2022-01-20 16:04:53 +00:00
46d5eed4c8 [*] Stupid MSVC optimization 2022-01-20 13:43:37 +00:00
1f825b4754 [*] Update build script
[*] Minor 32bit intrin fix
[-] Remove pragma links
2022-01-20 13:27:45 +00:00
4098bd0823 [*] I did not steal :( 2022-01-19 19:27:03 +00:00
c965d8384f [+] AuStaticPointerCast
[*] More refactoring
2022-01-19 18:53:22 +00:00
69f7260514 [*] cont 2022-01-19 18:37:09 +00:00
1fac842e24 [*] nuked even more of the stl dependency
[-] std::forward
2022-01-19 18:32:18 +00:00
6b9bddeeaf nuke more of the stl 2022-01-19 18:18:13 +00:00
d26471b173 so long gay bowser 2022-01-19 17:53:33 +00:00
7759d38ed0 [*] Exterminate more std:: references 2022-01-19 17:08:13 +00:00
7316aa0f8f [-/+] Nuke std::tm dependency from the public api
[*] Major bug in heap allocation, am brain damaged
2022-01-19 15:25:47 +00:00
48417b5fff [*] formatting 2022-01-19 14:29:14 +00:00
57b3e73668 [+] Early attempt at AuBitScanForward
[*] Force inline on all utilities.
2022-01-19 14:23:21 +00:00
f1040a67b0 ...cont 2022-01-19 11:47:29 +00:00
6135618e24 [+] Added AuIsThreadRunning
[*] Fix path bug
[*] Fixed two async shutdown bug
2022-01-19 02:49:44 +00:00
f10c00f518 [*] Build error 2022-01-18 20:04:14 +00:00
413d3968ad [*] Added an option for leaking strong heap pointers (ToSmartPointer) 2022-01-18 19:31:15 +00:00
62aecf3308 [*] Fix auline macro under msvc
[*] Breakout ByteBuffer into inl files
2022-01-18 19:00:48 +00:00
da2b59d083 [*] Add move constructor 2022-01-18 16:56:54 +00:00
09d1db69f2 [+] added AU_THROW_STRING
[*] extend ByteBuffer
[*] minor reformatting
2022-01-18 16:49:50 +00:00
4dddcb108e [+] Added GetUserHome, GetAppData, GetRootAppdata, GetWritableAppdata
[*] Dont fail on non-blocking /dev/urand
[+] Added if not initialized check under RNG/unix fclose
[+] Add missing debug apis ready for report to linux
[*] Update build script for WIP branch
2022-01-18 14:27:06 +00:00
235225ec9d [+] Added WriteEoS
[*] Fix two build issues (missing = 0 in vtbl and messed up macros)
2022-01-17 15:21:36 +00:00
8fe1ab04a5 [+] Added fmt::[...]-less logging functions for applications who do not wish to include fmtlib, for whatever reason 2021-12-26 16:18:37 +00:00
cb6ebc3b10 [*] External build chains can add _AU_DETECT_GLM to detect GLM vector support. I think trashX systems will of course be problematic because "muh global include and link directories or just use nixos" 2021-12-26 15:50:15 +00:00
92d64d6117 [-] Remove accidental macro inclusion post-test 2021-12-26 15:48:14 +00:00
c51404e074 [+] Added AU_TRY_LOCK_GUARD_NAMED 2021-12-24 17:10:21 +00:00
9c8224b931 [+] Added TryLockGuard; AU_TRY_LOCK_GUARD_RET_DEF, AU_TRY_LOCK_GUARD, AU_TRY_LOCK_GUARD_RET_VAL, AU_TRY_LOCK_GUARD_RET_DEF
[+] Added explicit AU_WHAT macro, I think people are familiar with this nomenclatures, not sure.
[+] Added try catch around logger write line. I'm sure something will explode around here sooner or later
2021-12-24 16:25:12 +00:00
4bd5c4604c [+] Added global AuLog[...] aliases to make the logger more bearable when I get around to finishing it
[+] Rationalize /var over /opt
[+] Ensure all users can access data under ProgramData
2021-12-24 15:49:28 +00:00
a20bb97128 [+] Explicit async/blocking read process stdout/err
[*] Fixed missing inherit handles flag
[TODO] consider CREATE_NO_WINDOW flag when refactoring create process object
2021-12-24 14:34:55 +00:00
31695ae63b [*] Fix stupid mental typo of 'peek' -> 'peak' 2021-11-22 16:16:02 +00:00
d1e13d59d0 [-] eOSSpecified. Parsing /etc/ld.so.conf would be a pain and you can't really pull add directories on windows. the latter wold have to be implemented as a hack to use loadlibraryexw 2021-11-16 03:26:58 +00:00
d99c23d638 [+] Initial untested implementation of the loadlibrary impl for the load module api 2021-11-16 01:10:00 +00:00
2082a501ef [*] MSVC cried about this. Are constexprs not evaluated in lambdas? 2021-11-15 14:35:58 +00:00
d4ec3749e7 [*] fix new build chain build issues
[-] test trash from workpairimpl
[+] Process.hpp impl stub
2021-11-15 13:07:38 +00:00
d18affeea2 [+] Added first attempt at the windows version of WaitMultipleObjects/ This will be removed shortly.
[*] Update readme
[*] Update QueryBsdHwStat
2021-11-09 00:04:00 +00:00
82c065ae0c [*] Improve my nasty template enable when overloadable API by nudging an empty initializer list argument towards defining an empty FJob again
[-] Remove old deprecated comment
2021-11-08 00:48:04 +00:00
4282bb3fa6 [+] Added reschedClockAbsMs/reschedClockAbsNs
[*] Added AU_TEMPLATE_ENABLE_WHEN to utility APIs where there are PId and Id overlods
2021-11-08 00:11:01 +00:00
21f8b69a57 [*] Thread Group apis should be templates as well. This was refactor for async app not so long ago 2021-11-07 22:32:33 +00:00
3a62400ac1 [+] Added Async::ITask
Reece, [07/11/2021 20:10]
technically legal template odr

Reece, [07/11/2021 20:11]
either we resolve the vtable from an api that returns a shared pointer of the implementation. The inline keyword should help with linking. Seems to work.

Reece, [07/11/2021 20:11]
or we just have the C/FTask impl in which case some compilers will C-inline the jmp target through the final hints. Connfirmed under MSVC and GCC.
2021-11-07 20:26:52 +00:00
320d6b95ce [-] Remove experiment that was accidently left in Entrypoint.cpp 2021-11-06 02:20:19 +00:00
99c5e1fa65 A pretty large patch not worth breaking up into separate commits
[*] Split up Aurora Async
[*] Split Async app into seperate ThreadPool concept
[*] Fix various OSThread bugs and tls transfer issues
[*] Set default affinity to 0xFFFFFFFF
[*] Update Build script
[+] Add AuTuplePopFront
[+] New Network Interface (unimplemented)
[*] Stub out the interfaces required for a better logger
[*] Fix Win32 ShellExecute bug; windows 11 struggles without explicit com init per the docs - now deferring to thread pool
[*] Update gitignore
[*] Follow XDG home standard
[*] Refactor some namespaces to use the shorthand aliases
[*] Various stability fixes
2021-11-05 17:34:23 +00:00
4109852d06 [*] Minor header clean up 2021-10-25 19:43:33 +01:00
14bde3750c [+] Added IAuroraThread::Detach 2021-10-25 19:19:49 +01:00
9ed6d2ff03 [+] Begin expanding OSThread to offer more signals. This needs optimizing 2021-10-25 18:08:28 +01:00
8d0641ab00 [+] Added a stupid AuNullCallback concept 2021-10-25 18:06:42 +01:00
8a9d9b67e8 [*] Clean up and expand AuroraMacros.hpp 2021-10-25 18:06:01 +01:00
b1b5f417a7 [*] Use the public AuroraForEach/Interfaces implementation 2021-10-24 13:04:22 +01:00
51e3944171 [+] Added RuntimeHasStarted. Possibly useful for multiple DLL users who have no say in the applications structure. 2021-10-24 11:53:14 +01:00
b8fde0bdf0 [*] Refactor and clean up exception and threading API
[-] Deprecated abstract vectors struct
2021-10-24 11:19:47 +01:00
e01fa33445 [*] Aurora::Data refactor and more public header include clean up 2021-10-24 10:04:02 +01:00
81ba305558 [*] More house cleaning / clean up 2021-10-23 21:13:40 +01:00
39834cef6a [*] House cleaning, refactoring, clean up 2021-10-23 20:21:16 +01:00
4e804e59c7 [+] Rewrite win32 file/directory opener 2021-10-23 19:42:05 +01:00
92f24e2a57 [+] Added AuDebugBreak() 2021-10-23 19:41:14 +01:00
fe529f3dc4 [+] Added AuroraInterface IThreadVectors for thread creation
[+] ThreadInfo's constructor now accepts additional arguments for name and stack
[*] Deprecate AbstractThreadVectors
[+] note about detaching threads
2021-10-23 19:25:43 +01:00
81abb38316 [-] Remove legacy utilities, one replacement concept is planned 2021-10-23 19:23:26 +01:00
3d859a319e [*] More async api change
[*] Improve win32 exception watcher
[*] Fix early pin reset. Possible use after write still, unsure if self reference is legal
2021-10-23 12:36:14 +01:00
bed16f376a 9 hours, many overly andineered solutions later, this API design isn't possible due to MSVC being too much of a buggy shit fest. 1 issue in the spec, at least 1 internal msvc error, at least 2 internal internal bugs, and more cancer needs to be reported. 2021-10-22 10:10:56 +01:00
a28f5285f0 [+] LogError, LogVerbose, and LogVerboseNoShip 2021-10-21 16:01:48 +01:00
3b2fd7c368 [+] Added AuXXXX namespace aliases
[*] Clock.hpp readability
[+] Added pseudofunction macros for weak/shared/bind this
2021-10-21 11:04:29 +01:00
0ffb19066d [-] Clean up ugly returns in async.hpp 2021-10-19 05:26:15 +01:00
d2732b6d43 [*] Typo 2021-10-18 14:02:00 +01:00
97e1171049 [*] Do not call onSuccess after catching an exception during onFrame 2021-10-18 13:55:58 +01:00
bd5222cbfb [*] Improve Aurora::Async API 2021-10-18 13:53:47 +01:00
ad182d07e0 [*] Use std::forward args 2021-10-18 13:53:24 +01:00
1cb56fb907 [*] Migrate more interfaces to aurora interfaces 2021-10-16 01:23:18 +01:00
5e0cc1ccfa [-] Comment out noted problematic code. A fix must be implemented soon
[*] Harden Async.hpp utilities against various conditions one might expect in the wild
[+] Added SetWorkerIdIsThreadRunner
[*] Fix a bug where a cv signal and broadcast was inverted
2021-10-16 00:02:27 +01:00
45bf3e7a44 [*] God dammit 2021-10-15 08:16:03 +01:00
a626fbea24 [+] HWInfo::GetPageSize()
[+] Parse::SplitNewlines(..., ..., true) where the return value is the remaining unbuffered line
[*] Gross hack we should remove to drop std string parse exception abuse logs
[*] Update AuroraForEach and AuroraInterfaces
[*] Experiment with using alternative os address space reserve + commit mechanics for Memory::Heaps
[*] global fast rand device should be seeded with at least 64 bits of secure rng data. ideally, we should max out entropy with secure bits, but we dont
2021-10-14 12:35:05 +01:00
fc16065d5e [*] boring clean up and refactor 2021-10-09 00:39:42 +01:00
f559897b42 [+] Added WorkerId_t structure
[-] Removed WorkerId_t typedef
[*] Added shared support to some older threading apis that have yet to be updated
2021-10-08 20:51:34 +01:00
027f47c7f8 [*] Update AuroraInterfaces
[*] Update AuroraForEach
2021-10-08 15:35:37 +01:00
951d1928fd [*] Update AuroraInterfaces
[*] Update AuroraForEach
2021-10-06 15:25:50 +01:00
f968d6a75f Merge remote-tracking branch 'origin/master' 2021-10-06 14:48:38 +01:00
c9e1dc30e0 [+] Added AU_STRIP and AU_EMIT macros
[+] Added AuroraForEach
[+] Added AuroraInterfaces
[+] Added Async::NewFence
[*] Readded task null check under Async::NewWorkItem such that task = AuMakeShared() errors are passed through to the caller by a failure empty shared response
2021-10-06 14:48:28 +01:00
feef9eac09 [*] i can has english 2021-10-03 13:44:09 +01:00