Commit graph

52 commits

Author SHA1 Message Date
7878f9233e fix(os): include <unistd.h> when using procfs for OsGetExeName 2023-08-23 18:59:03 -04:00
e58128405c feat(os): OsCreateDirectory 2023-08-23 18:57:36 -04:00
71fd5402c3 feat(os): implement OsCreateDirectory - added missing 'recursive' option 2023-08-23 18:56:06 -04:00
b4e14cf4d5 feat(os): implement OsGetExePath, OsGetExeName 2023-08-23 18:09:03 -04:00
90075755b1 feat(os): implement OsSetCurrentDirectory and OsGetCurrentDirectory 2023-08-19 05:16:48 -04:00
32f791ac70 feat(system/file): implemented posix file functions SetPos() and Delete() 2023-08-15 04:40:59 -04:00
fba6fa66f0 fix(system/file): explicitly call System_File::Stacked::Read/Write 2023-08-14 21:25:29 -04:00
ca959ed618 fix(os): include <windows.h> 2023-08-14 21:19:54 -04:00
92c0390ca4 fix(os): initialize file open flags to 0 2023-08-14 21:17:24 -04:00
8068d515df fix(system/file): remove duplicate flag expansion 2023-08-14 21:16:48 -04:00
cdc146f06e fix(system/file): reconstruct missing file share bits on Windows 2023-08-14 21:16:13 -04:00
5289a0369e fix(system/file): fix includes 2023-08-14 21:10:51 -04:00
acbdbfd2ef feat(file): add function File::Flush 2023-08-14 20:47:09 -04:00
667a125748 fix(system/file): remove pointer arithmetic on void* type 2023-08-14 20:44:17 -04:00
581522ca0f fix(system/file): use 64-bit math when copying files 2023-08-14 20:40:09 -04:00
d0f9939077 fix(system/file): include <fcntl.h> 2023-08-14 20:17:47 -04:00
8928b59dbf fix(system/file): typo 2023-08-14 20:15:17 -04:00
def2fe1bc4 fix(system/file): make sz_copybuffer explicitly always size_t 2023-08-14 20:14:25 -04:00
6011b53e0f fix(system/file): include <sys/time.h> on Unix-likes 2023-08-14 19:29:37 -04:00
4d8aebaf35 fix(system/file): clarify intention to call System_File::Read/Write instead of File::Read/File::Write (same arguments) 2023-08-14 19:27:26 -04:00
61eede165c fix(system/file): clarify intention to call System_File::Read/Write instead of File::Read/File::Write (same arguments) 2023-08-14 19:26:18 -04:00
5c6b9b415f fix(system/file): remove superfluous flag arguments to File::Read/Write 2023-08-14 19:21:26 -04:00
f42d99c562 fix(build): build new code structure 2023-08-14 17:58:15 -04:00
c37593d375 fix(os): File::Open doesn't require address of StreamRecord 2023-08-14 17:55:37 -04:00
473e630c6f fix(os): OsWriteFile passes bytes written to pointer 2023-08-14 17:53:47 -04:00
1c001ffc1e fix(os): OsWriteFile passes bytes written to pointer 2023-08-14 17:52:50 -04:00
e78c024209 fix(os): BLIZZARD_VALIDATE must have return value 2023-08-14 17:50:49 -04:00
89c3100e76 fix(debug): correct invalid macro 2023-08-14 17:49:18 -04:00
6578346282 fix(debug): add empty class Blizzard::Debug::ErrorStackRecord 2023-08-14 17:11:05 -04:00
6bc45c9d02 fix(file): change include location for System_File objects 2023-08-14 17:07:24 -04:00
4f8d6e2016 feat(os): implement command line argument utilities 2023-08-14 16:21:45 -04:00
2716512a7f tidy(os): OsWriteFile returns int32_t 2023-08-09 21:48:31 -04:00
5d3469f8fe tidy(os): add declaration for OsWriteFile 2023-08-09 21:47:42 -04:00
bd65df59e9 feat(file): implement filesystem utilities 2023-08-09 21:34:43 -04:00
5e6af0ea70 tidy(time): indentation 2023-08-05 14:32:31 -04:00
382fa9bc7e chore(build): remove squall from lib/CMakeLists.txt, add mem 2023-08-04 20:06:11 -04:00
c0ff1f69e0 chore(build): rehome system dependency 2023-08-04 20:01:00 -04:00
8e26690926 chore(build): replace squall dependency with mem 2023-08-04 19:58:24 -04:00
6b1ba4cdcf
feat(time): implement timekeeping utilities (#1)
* feat(bc): implement timekeeping

* fix(time): Milliseconds and Seconds return storage should be 64-bit

* fix(time): nsec should be explicitly cast to uint32

* test(time): rudimentary tests for timekeeping

* fix(time): check properly for timestamp + nsec overflows in MakeTime and BreakTime

* fix(time): include UNIX time headers on Mac, too

* test(time): test can tolerate system hiccups
2023-08-03 17:15:10 -04:00
d31a66b9ca
chore(style): move system files into their own subdirectory 2023-07-29 15:21:46 -05:00
fallenoak
6cff259dca
chore(build): update squall 2023-03-27 17:36:57 -05:00
fallenoak
e21b610abf
chore(build): update squall 2023-03-13 23:38:33 -05:00
fallenoak
39f4bd35a3
feat(thread): add basic thread functions 2023-03-04 10:50:12 -06:00
fallenoak
0242759cbe
fix(debug): clean up assert macros 2023-03-03 17:30:24 -06:00
fallenoak
e8d3709d31
feat(lock): add basic lock functions 2023-03-03 15:34:02 -06:00
fallenoak
3b5da1af9c
feat(process): add windows support to sleep function 2023-03-03 12:54:27 -06:00
fallenoak
d817c41985
feat(debug): add basic debug functions 2023-03-03 11:55:23 -06:00
fallenoak
3728c3d167
feat(process): add basic process functions 2023-03-03 10:44:30 -06:00
fallenoak
f9b65946a0
feat(string): add basic string functions 2023-02-26 22:07:06 -06:00
fallenoak
3b19c68e2f
chore(doc): use consistent naming in readme 2023-02-26 18:02:42 -06:00