26 Commits

Author SHA1 Message Date
Lioncache 9545100196 IInputStream: Return source string by reference
Avoids churning some allocations.
2026-02-10 19:33:11 -05:00
Lioncache 16a8404347 CFileOutStream: Fix seek status reporting
fseek/fseeko/_fseeki64 all return 0 to report success.
2026-02-09 08:37:58 -05:00
Lioncache 86cd5a0270 CFileInStream: Fix seek status reporting
fseek/fseeko/_fseeki64 return 0 on success. So this was erroneously
returning false all the time for most operations.
2026-02-09 08:26:32 -05:00
Lioncache 28bb335317 General: Remove BasicTypes
Avoids dumping extremely common names into the global namespace.
2026-01-21 10:24:36 -05:00
Lioncache 044a6cfcd8 Macros: convert alignment function into template
Same behavior, but strongly typed.
2026-01-16 23:07:30 -05:00
Lioncache 7f20a5ef97 General: Add AXIO_ prefix to header guards
Makes any future potential of a class unlikely.
2026-01-16 22:45:09 -05:00
Lioncache c255b950cf IOutputStream: Remove mDataDest member
This isn't used at all. Reduces the size of IOutputStream by 40 bytes.
2026-01-12 16:09:27 -05:00
Lioncache 00f3bef71a IOutputStream: Migrate over to sized names
Makes data type handling more explicit and less verbose (e.g. with
WriteLongLong -> WriteS64)
2026-01-12 15:12:54 -05:00
Lioncache b4f413e935 IInputStream: Rename accessors to specify data size
Gets rid of the silly "Long" usage for 32-bit sizes
2026-01-12 14:14:47 -05:00
Lioncache b5bc9487ae TString: Migrate off BasicTypes.h 2026-01-11 11:41:16 -05:00
Lioncache 8489a1d4ee Log: Migrate over to spdlog
Makes the logging subsystem much simpler and tosses all the printf
shenanigans out.
2026-01-03 14:28:18 -05:00
Lioncache baf3acc098 FileIO: Make use of std::byteswap
We can make all of the IOUtils helpers obsolete.
2025-12-23 16:55:11 -05:00
Lioncache d6640792ec General: Cleanup
Mainly header hygeine and overload specifiers.

Also greatly reduces the amount of copying going on with math
primitives.
2025-12-17 15:41:49 -05:00
Lioncash b37fc9a516 IInputStream: Add unsigned helper functions
Same behavior as their signed counterparts, but allows user code to be
less cast-heavy.
2020-06-18 16:13:03 -04:00
Lioncash 74a49f90c6 General: Make use of override where applicable
Same behavior, but enforces the virtual interface.
2020-06-11 11:26:48 -04:00
Jack Andersen 8524191df6 Fixes for building on ubuntu 2019-11-19 05:05:22 +00:00
Jack Andersen 8c4a1e7818 Ensure correct align macro used throughout 2019-05-27 00:36:14 -10:00
Jack Andersen 91a55a6c77 Fix Linux build 2019-05-24 23:36:03 -10:00
Jack Andersen 001aca55a7 Fixes for Linux build 2019-05-24 21:49:56 -10:00
Aruki 685830ad4a Made IInputStream::ReadBool() errors non-fatal and fixed linked list variable name in CQuickhullImpl 2019-02-18 03:58:12 -07:00
Aruki 54275301f2 XML error handling 2018-12-27 20:16:26 -07:00
Aruki 057d2b817d More changes to text encoding - explicit UTF-16 and UTF-32 string classes, and no more TWideString 2018-12-23 21:44:02 -07:00
Aruki 6557c54f79 Changed TWideString to use char16_t, implemented UTF16 -> UTF-8 support, minor cleanup 2018-12-20 02:46:00 -07:00
Aruki 47d83075e0 Some cleanup & minor refactoring 2018-12-16 13:52:10 -07:00
Aruki 252e4c7e96 Merged in Tropical Viewer changes 2018-12-09 02:38:38 -07:00