Commit Graph

239 Commits

Author SHA1 Message Date
Phillip Stephens 5306525029 Initial Switch support (Needs testing) 2018-09-20 10:47:48 -07:00
Jack Andersen 488acc8675 Minor MemoryWriter and VectorWriter behavior changes 2018-09-02 14:45:02 -10:00
Jack Andersen 8d57fe01d2 Windows compile fix 2018-08-25 21:57:03 -10:00
Jack Andersen 7f28214e9f Add VectorWriter 2018-08-24 22:38:23 -10:00
Jack Andersen 075747c418 Remove cyclic include 2018-08-09 20:18:42 -10:00
Jack Andersen 61bfac431e Merge branch 'master' of ssh://git.axiodl.com:6431/libAthena/athena 2018-07-15 21:42:29 -10:00
Jack Andersen 24666aebdd More flexible DNA template support 2018-07-15 21:42:14 -10:00
Phillip Stephens 10b36df71f Fix compilation 2018-06-17 18:43:24 -07:00
Jack Andersen 9a7bee95c4 Remove unused FileWriter fields 2018-05-25 12:02:23 -10:00
Jack Andersen ed83b2f42c Windows build fixes 2018-05-24 20:33:43 -10:00
Jack Andersen 17a0959dbd Fix implicitly-converted vector serialization 2018-02-23 20:14:19 -10:00
Jack Andersen 80c945af6d Merge branch 'master' of ssh://git.axiodl.com:6431/libAthena/athena 2018-02-17 23:51:53 -10:00
Jack Andersen 13d13f935b Huge non-virtual template-based refactor for DNA 2018-02-17 23:50:24 -10:00
Phillip Stephens 80008cadcd Return seed when given invalid data, re-order and rename parameters to make more sense 2018-02-15 17:07:50 -08:00
Phillip Stephens 5126c603b0 Add CRC-64-ECMA implementation 2018-02-15 09:20:13 -08:00
Jack Andersen 42b97e0306 YAML file merge call to avoid clobbering existing document nodes 2018-01-22 18:38:39 -10:00
Jack Andersen f414abe5a5 Isolate WinSock2 header to translation unit 2017-12-29 15:05:53 -10:00
Jack Andersen 017a921fdc Huge compile performance refactor 2017-12-28 21:55:42 -10:00
Jack Andersen da9699a7e2 UWP support 2017-12-05 17:22:03 -10:00
Jack Andersen cf3baad905 -Werror=shadow-field to prevent YAML namespace collisions; atomic FileWriter 2017-11-25 17:02:50 -10:00
Jack Andersen 26a0c4b46f More aggressive failure recovery for Win32 file reader/writer 2017-11-14 18:10:56 -10:00
Jack Andersen 30391f3352 Windows fixes 2017-11-13 17:33:31 -10:00
Jack Andersen f5dabee0a7 string_view refactor 2017-11-12 20:12:37 -10:00
Jack Andersen a5056960ed Windows fix 2017-10-29 21:28:45 -10:00
Jack Andersen 57e5196e72 Relax 0-size buffer error for MemoryWriter 2017-10-27 21:07:34 -10:00
Jack Andersen 0fa861b708 Make memory reader truncate read and only issue error starting at end 2017-10-27 00:08:16 -10:00
Jack Andersen 5df07a2039 GCC compile fix 2017-03-10 20:21:06 -10:00
Jack Andersen 2a4fc3e3b3 Use RAII context management for YAML vectors and records 2017-02-12 13:49:21 -10:00
Jack Andersen 9ccf9f596b Make DNAYaml less header-heavy 2017-02-02 15:21:55 -10:00
Phillip Stephens fd84808762 Windows build fix #2 2017-01-26 19:25:48 -08:00
Jack Andersen 8f8edbbf16 Windows fix 2017-01-26 16:27:41 -10:00
Jack Andersen d2e080a515 Add TransactionalFileWriter 2017-01-26 16:21:43 -10:00
Phillip Stephens 0eb7fb20e8 More code cleanup 2017-01-03 10:42:03 -08:00
Phillip Stephens e5715bbf8f Remove GPL remnants, and naive `base` typedef 2017-01-03 03:15:07 -08:00
Phillip Stephens ba92629900 Restore certificate check with re-written ECC code 2017-01-03 02:32:39 -08:00
Jack Andersen ed7161b7f8 Allow llvm-hanafuda to serve as LLVM library 2016-12-10 15:51:13 -10:00
Phillip Stephens 31f259c1e1 FreeBSD fixes 2016-10-27 15:44:50 -08:00
Jack Andersen 2c23886134 rename stat64_t definition to atStat64_t to avoid collisions 2016-10-15 08:40:39 -10:00
Jack Andersen d4d1bdabc6 Win32 FileReader/Writer; minor refinements 2016-09-18 13:45:19 -10:00
Jack Andersen e253854269 Ensure FileWriter creates new files when overwrite unset 2016-09-17 11:32:09 -10:00
Phillip Stephens 94dc1e46fa Make bounds errors fatal 2016-09-04 13:30:15 -07:00
Jack Andersen cd9aa3eaf4 Removal of FILE* YAML streaming APIs; preferring Athena itself 2016-08-21 17:46:08 -10:00
Jack Andersen b43c4af3a7 Global error option flag for MemoryReader 2016-08-08 08:22:03 -10:00
Phillip Stephens aff3349c33 Initial attempt to reimplement ecdsa certificates 2016-06-29 22:20:27 -07:00
Phillip Stephens 99dcef42f1 Remove EC and BN code in preparation due to licensing issues 2016-06-29 17:37:34 -07:00
Phillip Stephens b8773b3d4c Add missing takeOwnership behavior 2016-03-19 21:08:23 -07:00
Jack Andersen b791b7e426 Humungous refactor 2016-03-04 13:00:12 -10:00
Jack Andersen 92d4334a74 Streamlined validation object usage 2016-03-01 10:28:42 -10:00
Jack Andersen ca0ff04340 void-pointer for MemoryReader constructor 2016-02-15 19:48:03 -10:00
Jack Andersen cf3739fced YAML emitter/parser ownership refinement 2016-01-04 14:00:12 -10:00
Jack Andersen 87013ab673 Added native wstring fileSize method for Win32 2015-11-30 14:34:26 -10:00
Jack Andersen 3dbc746ddd Proper FileReader::readUBytesToBuf return value 2015-11-28 11:43:40 -10:00
Jack Andersen 0a4e8c360e Added ability to opt-out of file reader/writer errors 2015-11-22 17:08:48 -10:00
Jack Andersen df43b72f8a Minor fix; added PRISize macro 2015-11-14 13:59:10 -10:00
Phillip 64f34cc903 Fix error handling 2015-11-14 00:47:05 -08:00
Phillip ab86e2195f Fix Typo 2015-11-13 21:59:17 -08:00
Phillip 63a58265ef Squash MSVC warnings
Unify filename usage
2015-11-13 21:53:13 -08:00
Jack Andersen b6b54d0921 Minor file I/O tweaks 2015-11-12 16:10:50 -10:00
Phillip Stephens 8124d219d9 Fix utility::vsprintf
Fix operator>> (I'm a derp)
2015-10-16 17:25:36 -07:00
Phillip Stephens 1b67cce607 Fix fno-exceptions 2015-10-16 16:42:23 -07:00
Phillip Stephens 1ee7c82d8b Fix GC/Wii linker error
Add example program (Currently only targets wii)
2015-10-16 02:46:18 -07:00
Phillip Stephens 8e8135370e Fix largefilewrapper for GC/Wii 2015-10-16 01:17:22 -07:00
Phillip Stephens 1c0c44938e Fix gc/wii build 2015-10-16 01:07:54 -07:00
Jack Andersen f4716070dd Added built-in DNAType field for YAML classification 2015-09-30 14:37:54 -10:00
Phillip Stephens c241158c7b Remove GPL comments from Athena codebase 2015-09-03 13:05:08 -07:00
Jack Andersen bca146dbfc stripped-down utf8proc added 2015-08-31 11:11:42 -10:00
Jack Andersen 9b6fea36e3 windows fixes and proper UTF-8 conversion 2015-08-30 22:13:07 -07:00
Phillip Stephens 1de67f30b8 * Removal of remaining exceptions 2015-08-29 01:34:22 -07:00
Jack Andersen 66cb6c982e removed codecvt headers 2015-08-24 20:48:53 -10:00
Jack Andersen a145f337c0 Added ownership flag for memory reader 2015-08-23 13:52:01 -10:00
Phillip Stephens 7464c8e5eb add optional mask parameter to crc32 2015-08-17 02:32:03 -07:00
Jack Andersen 02e7bb3fc6 Refactored readBytes() and readUBytes() to return std::unique_ptr 2015-08-05 12:41:06 -10:00
Jack Andersen 84591d4260 Added YAML serialization DNA subclass 2015-08-02 18:29:39 -07:00
Jack Andersen 43c317529c AES optimization and aligned SSE allocators 2015-08-02 18:29:39 -07:00
Jack Andersen b38d7533c5 Exception args should be passed as c-string
(it's a compiled literal after-all)
2015-08-02 18:29:39 -07:00
Jack Andersen ac36bb4f4a added support for wchar_t file paths and more stable windows builds 2015-08-02 18:29:38 -07:00
Phillip Stephens d9c4d3b79b Add error state 2015-08-02 18:29:38 -07:00
Phillip Stephens 8ea5071e0f Remove and replace exceptions 2015-08-02 18:29:38 -07:00
Jack Andersen 78286b0f67 corrected type mismatch 2015-07-21 09:26:02 -10:00
Jack Andersen c6a6d3b9c4 renamed read/writeUnicode methods to be more reflective of functionality 2015-07-21 09:04:25 -10:00
Jack Andersen 6405bffdd2 Un-derpified major derp 2015-07-19 17:48:44 -10:00
Jack Andersen 87306a18d8 minor AES optimization 2015-07-13 16:23:36 -10:00
Jack Andersen 7ec5a5971a compile-time system endian check 2015-07-12 06:51:04 -10:00
Jack Andersen 55adeec69c windows packaging and CMake adjustments 2015-07-10 16:14:06 -10:00
Phillip Stephens 8d3524b1f6 Fix sign bug
Prevent blockSize from exceeding file's length
2015-07-09 20:47:56 -07:00
Phillip Stephens a7c180db00 * Add support for cached reads 2015-07-09 20:32:55 -07:00
Jack Andersen 916515f0d7 OS X build fixes 2015-07-08 14:57:51 -10:00
Jack Andersen 44e25e09ca updated MemoryCopyWriter 2015-07-07 20:34:59 -10:00
Jack Andersen ec38ba088e added buffer-copying subclass to MemoryReader/Writer 2015-07-07 20:03:08 -10:00
Jack Andersen 97dfabb265 significant virtual-method refactor to streaming interface 2015-07-07 18:01:13 -10:00
Jack Andersen a63da8db2f header-based read/write optimizations 2015-07-02 13:36:17 -10:00
Jack Andersen fa016115c2 const buffer pointer for write[U]Bytes 2015-06-30 17:01:04 -10:00
Jack Andersen a0f0690719 confirmed linux build working; solved signing warnings 2015-06-20 08:07:11 -10:00
Jack Andersen 5a0f2e8ed4 MSVC build fixes 2015-06-19 21:40:15 -07:00
Jack Andersen 687a7eef64 fixed length string read refinement 2015-06-19 10:54:21 -10:00
Jack Andersen e641dbbe4b added seek directive to fixed-length string reads 2015-06-19 10:40:59 -10:00
Jack Andersen 3dfb001f3d added fixed-length string writing 2015-06-19 10:12:25 -10:00
Jack Andersen fd3db3e1db fix for vector readers 2015-06-18 19:33:46 -10:00
Jack Andersen 7cdfcab55a lots of new 'atdna' types; travis update 2015-06-18 19:18:39 -10:00
Phillip Stephens 6a611ef2cc * Fix last commit 2015-05-20 22:41:29 -07:00