Commit Graph

1305 Commits

Author SHA1 Message Date
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
d28a4576ba [*] Recommit this. Did I somehow nuke it? 2022-01-18 20:50:09 +00:00
f10c00f518 [*] Build error 2022-01-18 20:04:14 +00:00
9065d95851 [*] Fix heap leak -> TryRelease was never called once count hit zero 2022-01-18 19:48:23 +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
29bd8dca0c [*] Continue to perfer beginthreadex, use CreateThread when the OS loader is locked on Win32 2022-01-18 16:02:24 +00:00
82370fea1d [*] Whoops? Disambiguate questionable if. Operator precedence shouldn't have yielded a different ast 2022-01-18 14:42:31 +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
77775410ec [+] Added some notes about safer low memory condition handling
[*] Adjusted code style in MSDN reference code
2021-12-26 15:51:31 +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
63fab703cc [*] Amend error message fmt arg in Process.cpp
{*] Obvious linux build error
2021-11-16 02:44:11 +00:00
d99c23d638 [+] Initial untested implementation of the loadlibrary impl for the load module api 2021-11-16 01:10:00 +00:00
050f48f9dc [*] Update UNIX library resource paths to account for the UsrMerge consensus across UNIX package distributions.
when
/lib = sys,
/usr/lib = usr/vendor is wrong
nowadays:
/lib >>SYMLINK>> /usr/lib,
/usr/lib = system libraries, /usr/local/lib = vendor.
2021-11-16 01:09:22 +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
6888aaaee7 [*] Fix bad formats 2021-11-08 01:15:37 +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
16b4d65910 [*] Update Unix stat impls error message 2021-11-07 22:32:54 +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
22103a8ad3 [*] This this this 2021-11-07 20:26:54 +00:00
f6b254e436 [*] Bug fixes. Socket stat math didn't make much sense. 2021-11-07 20:26:54 +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
7211c25936 [*] Made the UTF8/32 implementation less wrong 2021-11-07 07:44:42 +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
6157535914 [+] Note: this is really stupid 2021-10-25 18:06:24 +01:00
6e75e97e48 [+] literally just a whitespace lol 2021-10-25 18:06:11 +01:00
8a9d9b67e8 [*] Clean up and expand AuroraMacros.hpp 2021-10-25 18:06:01 +01:00
fab9856adb [*] God knows how long ago this was improperly refactored. This impl shouldn't even be using the crt for fopen but whatever it disables caching its probably fine 2021-10-24 13:08:38 +01:00