Commit graph

  • 367b8149f3 fix(file): file mode must be initialized to zero master superp00t 2025-04-11 20:02:24 -04:00
  • 4e116bd69a fix(memory): missing parenthesis in NEW_ZERO macro superp00t 2025-03-31 23:00:38 -04:00
  • 29504272e5 chore(build): upgrade minimum CMake version to 3.5 superp00t 2025-03-31 17:42:44 -04:00
  • e147a355b2 chore(build): upgrade system superp00t 2025-03-31 17:40:25 -04:00
  • 61faa87c31 feat(test): add tests for new allocation helpers superp00t 2025-03-30 23:36:05 -04:00
  • 4feaa132ab feat(test): add tests for CreateDirectory superp00t 2025-03-30 23:35:35 -04:00
  • aa22100cbc feat(test): add test for assertion handlers superp00t 2025-03-30 23:35:13 -04:00
  • 4b14419350 fix(file): where recursive CreateDirectory under Windows always reports an out-of-bounds error for no reason superp00t 2025-03-30 23:31:38 -04:00
  • e813ad0672 fix(file): fixed bug in recursive CreateDirectory on posix where it skips over the root superp00t 2025-03-30 22:32:09 -04:00
  • ba15fd914f fix(unicode): numeric_limits does not provide maximum pointer value, use UINTPTR_MAX instead superp00t 2025-03-30 18:54:17 -04:00
  • 9b4a1ce0ae fix(bc): remove printdebug statements superp00t 2025-03-30 13:04:15 -04:00
  • e3e99fa0af fix(file): call ->getpos, not ->setpos superp00t 2025-03-30 13:03:52 -04:00
  • b74865fa61 fix(file): fix mismatched allocation in MakeAbsolutePath superp00t 2025-03-30 00:05:50 -04:00
  • d15affe417 fix(file): fix duplication typo in Copy superp00t 2025-03-30 00:03:39 -04:00
  • 24bbe15796 refactor(debug): change build macro to WHOA_BUILD_ASSERTIONS superp00t 2025-03-27 18:59:50 -04:00
  • 3a9129f69c refactor(debug): rename BLIZZARD_ASSERT to BC_ASSERT superp00t 2025-03-27 17:54:20 -04:00
  • 616ac87ad4 chore(build): upgrade system dependency superp00t 2025-03-27 17:38:59 -04:00
  • 46e0a5a0c6 feat(memory): add helper macros to simplify allocating/deallocating objects superp00t 2025-03-27 15:24:19 -04:00
  • 05db2d1723 refactor(unicode): use max address value instead of maximum uint32 value as sentinel value in ConvertUTF16to8 superp00t 2025-03-24 14:27:19 -04:00
  • 4bea27d25e fix(file): SMem* should be used to allocate StreamRecords with all bytes zeroed superp00t 2025-03-18 13:44:06 -04:00
  • 87a8d3f643 fix(file): added missing file functions on Windows superp00t 2025-03-16 02:43:23 -04:00
  • 481a1f3e15 fix(file): remove System_File.hpp from Windows filestack superp00t 2025-03-16 02:35:11 -04:00
  • 2e090457f5 fix(file): added missing Read and ReadP calls on Windows superp00t 2025-03-16 02:23:00 -04:00
  • d78609cceb fix(file): added missing Read and ReadP calls on Windows superp00t 2025-03-16 02:18:03 -04:00
  • 48d1a3c0b0 fix(file): aggressively turn off macros that mess with Win32 filestack superp00t 2025-03-16 01:57:25 -04:00
  • 12b4a4f7b4 fix(file): aggressively turn off macros that mess with Win32 filestack superp00t 2025-03-16 01:54:01 -04:00
  • abd4efb5b5 fix(file): aggressively turn off macros that mess with Win32 filestack superp00t 2025-03-16 01:46:38 -04:00
  • 744a1bddec fix(file): aggressively turn off macros that mess with Win32 filestack superp00t 2025-03-16 01:40:17 -04:00
  • 05bd4e017e style(os): format file/Types.hpp superp00t 2025-03-16 00:37:49 -04:00
  • 2cf55cf23b fix(os): yes, file flags are actually used in some places superp00t 2025-03-16 00:36:40 -04:00
  • 83e0a8235b fix(file): flush.cpp include type superp00t 2025-03-15 23:56:50 -04:00
  • e9b7e58bc8 fix(string): add Equal functions superp00t 2025-03-15 23:55:58 -04:00
  • e68a482072 fix(file): add Blizzard::File::Flush superp00t 2025-03-15 23:55:16 -04:00
  • c305acb5f9 fix(posix): mtime, not mtime.tv_sec superp00t 2025-03-15 23:37:04 -04:00
  • cb4c0ca497 fix(posix): use mtime instead of mtim superp00t 2025-03-15 23:32:50 -04:00
  • 5808ac3ad4 fix(posix): statfs() call requires different headers on Darwin or Linux superp00t 2025-03-15 23:17:52 -04:00
  • a3836e5031 fix(os): add missing include <cstdlib> superp00t 2025-03-15 23:14:28 -04:00
  • 5606dc65b0 fix(os): correct bad buffer identifier in OsGetExeName superp00t 2025-03-15 23:11:09 -04:00
  • 35eae6b709 fix(string): make Equal* actually work superp00t 2025-03-15 23:07:51 -04:00
  • 81cc3145b3 style(posix): tidy up member name for Shutdown superp00t 2025-03-15 22:55:14 -04:00
  • 3e7a111809 fix(win): added missing Shutdown stub to Win32 filestack superp00t 2025-03-15 22:54:15 -04:00
  • 0bed8080d5 fix(os): added missing increment to OsSetCommandLine superp00t 2025-03-15 22:53:38 -04:00
  • 26f3d5527e feat(test): add test cases for reading from /dev/zero on UNIX superp00t 2025-03-15 22:26:39 -04:00
  • ee4c39082e feat(test): add test cases for new Unicode functions superp00t 2025-03-15 22:26:12 -04:00
  • 99f6576a12 refactor(bc): improve consistency (across platforms esp.) and readability of string conversion superp00t 2025-03-15 22:25:07 -04:00
  • 5d96890167 refactor(file): overhaul filesystem for better accuracy, add some new features too superp00t 2025-03-15 22:23:38 -04:00
  • e674242b47 chore(build): upgrade system dependency superp00t 2024-09-08 11:04:29 -04:00
  • c5880338b4 chore(build): remove mem dependency superp00t 2024-09-04 09:11:12 -04:00
  • 3ded785b5f fix(build): compile storm/Memory.cpp superp00t 2024-09-04 08:09:20 -04:00
  • b442784884 fix(build): don't link to mem superp00t 2024-09-04 08:07:59 -04:00
  • e3a778e1fb fix(memory): missing cstdlib include superp00t 2024-09-04 08:06:25 -04:00
  • 192800aa51 chore(build): remove mem dependency from libs superp00t 2024-09-04 08:04:12 -04:00
  • f42a37ddd7 chore(build): remove mem dependency superp00t 2024-09-04 08:03:03 -04:00
  • 3acd26453d chore(build): update dependencies superp00t 2024-07-22 03:46:45 -04:00
  • 5a64829d1f fix(build): include missing source files superp00t 2024-07-05 01:25:05 -04:00
  • 7f40410814 fix(build): include missing source files superp00t 2024-07-05 01:11:56 -04:00
  • c1e81d4bff fix(build): link mem properly superp00t 2024-07-03 14:54:24 -04:00
  • 462eadcec5 fix(build): link headers properly superp00t 2024-07-03 14:51:11 -04:00
  • 937e283e0b fix(build): install headers superp00t 2024-07-03 14:38:11 -04:00
  • cbd169a26a feat(build): add zig build script superp00t 2024-06-28 01:51:21 -04:00
  • 2b620905ca fix(file): on Windows, GetFileInfo on StreamRecord needs to store the FileInfo in the FileParms superp00t 2023-12-10 22:13:44 -05:00
  • 493bf0e389 fix(file): nativepath/nativePath superp00t 2023-12-04 17:24:11 -05:00
  • 50881662ae fix(file): delete bc/file/path/Path.cpp superp00t 2023-12-04 17:23:00 -05:00
  • 3cfddf0149 feat(file): allow case-insensitive file paths to be resolved on Linux superp00t 2023-12-04 17:16:20 -05:00
  • 58c8a50e8f fix(bc): OsSetCommandLine initialize counter i to 0 superp00t 2023-12-02 12:48:25 -05:00
  • 9c714d93df fix(file): added missing increment inside MakeUnivPath superp00t 2023-12-02 12:10:17 -05:00
  • 05c63dbea7 fix(system/file): fix bugged recursion in CreateDirectory implementation superp00t 2023-11-17 16:18:19 -05:00
  • 0ed54befe3 fix(system/file): fix bugged recursion in CreateDirectory implementation superp00t 2023-11-17 16:12:37 -05:00
  • 747cdf796f fix(os): use HOSFILE_INVALID to denote an invalid file handle superp00t 2023-08-24 20:47:11 -04:00
  • 9c7aadb37e fix(os): incorrect usage of _NSGetExecutablePath superp00t 2023-08-23 19:07:38 -04:00
  • 437cd3bca1 fix(os): specify uint32_t type in argument _NSGetExecutablePath superp00t 2023-08-23 19:02:53 -04:00
  • 799c8cd402 fix(os): specify Blizzard:: namespace when using string utilities superp00t 2023-08-23 19:00:20 -04:00
  • 7878f9233e fix(os): include <unistd.h> when using procfs for OsGetExeName superp00t 2023-08-23 18:59:03 -04:00
  • e58128405c feat(os): OsCreateDirectory superp00t 2023-08-23 18:57:36 -04:00
  • 71fd5402c3 feat(os): implement OsCreateDirectory - added missing 'recursive' option superp00t 2023-08-23 18:56:06 -04:00
  • b4e14cf4d5 feat(os): implement OsGetExePath, OsGetExeName superp00t 2023-08-23 18:09:03 -04:00
  • 90075755b1 feat(os): implement OsSetCurrentDirectory and OsGetCurrentDirectory superp00t 2023-08-19 05:16:48 -04:00
  • 32f791ac70 feat(system/file): implemented posix file functions SetPos() and Delete() superp00t 2023-08-15 04:40:59 -04:00
  • fba6fa66f0 fix(system/file): explicitly call System_File::Stacked::Read/Write superp00t 2023-08-14 21:25:29 -04:00
  • ca959ed618 fix(os): include <windows.h> superp00t 2023-08-14 21:19:54 -04:00
  • 92c0390ca4 fix(os): initialize file open flags to 0 superp00t 2023-08-14 21:17:24 -04:00
  • 8068d515df fix(system/file): remove duplicate flag expansion superp00t 2023-08-14 21:16:48 -04:00
  • cdc146f06e fix(system/file): reconstruct missing file share bits on Windows superp00t 2023-08-14 21:16:13 -04:00
  • 5289a0369e fix(system/file): fix includes superp00t 2023-08-14 21:10:51 -04:00
  • acbdbfd2ef feat(file): add function File::Flush superp00t 2023-08-14 20:47:09 -04:00
  • 667a125748 fix(system/file): remove pointer arithmetic on void* type superp00t 2023-08-14 20:44:17 -04:00
  • 581522ca0f fix(system/file): use 64-bit math when copying files superp00t 2023-08-14 20:40:09 -04:00
  • d0f9939077 fix(system/file): include <fcntl.h> superp00t 2023-08-14 20:17:47 -04:00
  • 8928b59dbf fix(system/file): typo superp00t 2023-08-14 20:15:17 -04:00
  • def2fe1bc4 fix(system/file): make sz_copybuffer explicitly always size_t superp00t 2023-08-14 20:14:25 -04:00
  • 6011b53e0f fix(system/file): include <sys/time.h> on Unix-likes superp00t 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) superp00t 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) superp00t 2023-08-14 19:26:18 -04:00
  • 5c6b9b415f fix(system/file): remove superfluous flag arguments to File::Read/Write superp00t 2023-08-14 19:21:26 -04:00
  • f42d99c562 fix(build): build new code structure superp00t 2023-08-14 17:58:15 -04:00
  • c37593d375 fix(os): File::Open doesn't require address of StreamRecord superp00t 2023-08-14 17:55:37 -04:00
  • 473e630c6f fix(os): OsWriteFile passes bytes written to pointer superp00t 2023-08-14 17:53:47 -04:00
  • 1c001ffc1e fix(os): OsWriteFile passes bytes written to pointer superp00t 2023-08-14 17:52:50 -04:00
  • e78c024209 fix(os): BLIZZARD_VALIDATE must have return value superp00t 2023-08-14 17:50:49 -04:00
  • 89c3100e76 fix(debug): correct invalid macro superp00t 2023-08-14 17:49:18 -04:00