Commit Graph

274 Commits

Author SHA1 Message Date
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
Jack Andersen a1acdac588 Proper pure-virtual convention 2017-01-25 22:07:48 -10:00
Jack Andersen dd8b60f779 Support for u16string and u32string read/write 2017-01-23 21:39:47 -10:00
Jack Andersen 483870850c Ensure memory.h included in Socket class 2017-01-07 14:13:02 -10:00
Jack Andersen 68596c75dd proper 'athena' namespace for socket header 2017-01-07 11:25:26 -10:00
Jack Andersen 71aa822ce2 Proper return type for internal socket 2017-01-07 11:19:56 -10:00
Jack Andersen 2b3faddac1 Win32 fixes 2017-01-06 22:25:13 -10:00
Jack Andersen 5dc0f4928e Add socket header 2017-01-06 19:03:13 -10:00
Jack Andersen 1ae2b844de Merge branch 'master' of https://github.com/libAthena/athena 2017-01-03 19:24:49 -10:00
Jack Andersen fdd2de6dbe Add ROUND_UP_8 2017-01-03 19:24:31 -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 318cc92083 Win32 warning avoidance 2016-12-11 13:30:00 -10:00
Jack Andersen 8fce7ce161 utf8proc null-pointer handling 2016-12-10 20:19:22 -10:00
Phillip Stephens 31f259c1e1 FreeBSD fixes 2016-10-27 15:44:50 -08:00
Jack Andersen 39c1e735e2 Windows Fixes 2016-10-19 14:51:38 -10:00
Phillip Stephens 829685a291 Add missing atStat64 define 2016-10-15 12:17:06 -07:00
Jack Andersen 2c23886134 rename stat64_t definition to atStat64_t to avoid collisions 2016-10-15 08:40:39 -10:00
Jack Andersen a5a3244e1a Ensure `name` field set before parsing mapping node 2016-10-07 17:39:40 -10:00
Jack Andersen b3ca9a0a90 Add designated constructor for YAML string type 2016-10-02 12:33:25 -10:00
Jack Andersen d3d63082d0 Add PTMF YAML reader to go along with writer 2016-10-01 13:18:19 -10:00
Jack Andersen 779e741a91 Add PTMF yaml stream writer 2016-09-30 16:55:46 -10:00
Jack Andersen a2d040aeb4 Windows Fixes 2016-09-18 15:02:09 -10:00
Jack Andersen d4d1bdabc6 Win32 FileReader/Writer; minor refinements 2016-09-18 13:45:19 -10:00
Phillip Stephens 1ae4af3fb1 Move Endian to IStream 2016-09-17 12:44:32 -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
Jack Andersen 750d23c686 Correct use of constexpr 2016-07-31 18:33:29 -10:00
Jack Andersen cf3dfcddff Use constexpr for evaluating bitwise enums 2016-07-31 10:25:40 -10:00
Jack Andersen 4e61051354 Add missing inttypes.h include 2016-07-02 13:41:15 -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
Jack Andersen 617c121675 GCC compatibility fixes 2016-04-15 10:41:57 -10:00
Jack Andersen 8b2f1a8591 Add ROUND_UP_64 2016-04-03 16:31:25 -10:00
Jack Andersen 50406520ba Some handy macros 2016-04-03 16:26:47 -10:00
Jack Andersen 34d3bd6724 Add ROUND_UP_4 macro 2016-03-30 20:17:05 -10:00
Jack Andersen ae14d51607 YAMLDocReader sequence fix 2016-03-28 11:37:55 -10:00
Phillip Stephens 821e9c505e Add optional 2016-03-25 19:22:04 -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 a0515fe4aa Squelched DNA_COUNT-referenced fields for smarter YAML handling 2016-03-03 11:42:26 -10:00
Jack Andersen 022142a9ec Initialization bug fix 2016-03-01 15:48:21 -10:00
Jack Andersen 92d4334a74 Streamlined validation object usage 2016-03-01 10:28:42 -10:00
Jack Andersen b317ac9d9f YamlDocWriter simplification 2016-02-29 16:57:53 -10:00
Jack Andersen ca0ff04340 void-pointer for MemoryReader constructor 2016-02-15 19:48:03 -10:00
Jack Andersen 8df75c8f23 Merge branch 'master' of https://github.com/libAthena/Athena 2016-02-03 14:55:02 -10:00
Jack Andersen 4d1c71ba3a Sequence to mapping-val lowering 2016-02-03 14:54:27 -10:00
Phillip Stephens 5984c58f5e Add warning to atSetExceptionHandler 2016-02-03 13:33:08 -08:00
Jack Andersen 09033d90cc YAMLDocReader::getCurNode() 2016-02-02 13:39:47 -10:00
Jack Andersen 80e03dbe12 Ignore unqualified template types in atdna 2016-02-01 18:28:52 -10:00
Jack Andersen cf3739fced YAML emitter/parser ownership refinement 2016-01-04 14:00:12 -10:00
Jack Andersen 9c880813ac Rename YAML methods as read/write overloads 2016-01-03 19:23:38 -10:00
Jack Andersen 96b25087e3 Update utf8proc 2015-12-27 12:38:37 -10:00
Jack Andersen 5f2e294642 More portable iterator->pointer 2015-12-20 12:51:55 -10:00
Jack Andersen a6cfc0aed9 Add increment operator 2015-12-20 11:41:10 -10:00
Jack Andersen be6361e130 Add <string> header 2015-12-20 11:17:12 -10:00
Jack Andersen eb06a6f00b Add handy UTF8Iterator class to utf8proc header 2015-12-20 11:13:32 -10:00
Jack Andersen 27d9fbcad4 Merge branch 'master' of https://github.com/libAthena/Athena 2015-12-06 10:53:14 -10:00
Jack Andersen c195b66939 added releaseRootNode method for advanced YAML usage 2015-12-06 10:52:37 -10:00
Phillip Stephens 028e4323e1 Fix crash when trying to read/write a string with 0 length 2015-12-05 19:37:26 -08:00
Zero-One101 259d2de59a Added an include, fixed a macro 2015-12-01 03:01:29 +00:00
Jack Andersen 87013ab673 Added native wstring fileSize method for Win32 2015-11-30 14:34:26 -10:00
Jack Andersen 9cd4b22c8a Error macro fixes 2015-11-27 12:16:30 -10:00
Jack Andersen 0a4e8c360e Added ability to opt-out of file reader/writer errors 2015-11-22 17:08:48 -10:00
Phillip Stephens b798647e08 [atdna] Enable C++14
[Athena] Add ifndef before ENABLE_BITWISE_ENUM
2015-11-21 20:20:15 -08:00
Jack Andersen cdacc014f3 Added handy bitwise enum enabler macro 2015-11-20 15:11:23 -10:00
Jack Andersen df43b72f8a Minor fix; added PRISize macro 2015-11-14 13:59:10 -10:00
Phillip 63a58265ef Squash MSVC warnings
Unify filename usage
2015-11-13 21:53:13 -08:00
Jack Andersen 21724766ba added file handle accessor for file reader/writer 2015-10-23 12:23:04 -10:00
Jack Andersen e861691480 Merge pull request #38 from libAthena/binary-size
Added binarySize method for DNA
2015-10-17 18:16:51 -10:00
Jack Andersen 8221d6e25a Added binarySize method for DNA 2015-10-17 18:05:35 -10:00
Phillip Stephens 8124d219d9 Fix utility::vsprintf
Fix operator>> (I'm a derp)
2015-10-16 17:25:36 -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 1c0c44938e Fix gc/wii build 2015-10-16 01:07:54 -07:00
Jack Andersen ffca1f1897 writeVal not a template function 2015-10-15 17:06:12 -10:00
Phillip Stephens a753c2e38a Add operator>> to IStreamWriter.hpp 2015-10-15 15:20:50 -07:00
Phillip Stephens 069840a77e Implement atVec*d for atdna 2015-10-15 14:54:42 -07:00
Jack Andersen e6dedd0e6c Added double vector types 2015-10-07 13:50:50 -10:00
Jack Andersen f4716070dd Added built-in DNAType field for YAML classification 2015-09-30 14:37:54 -10:00
Jack Andersen a999744ab6 removed implementation-reliant use of emplace_back 2015-09-27 11:17:11 -10:00
Jack Andersen 4eae909848 Extended bool with endian readers/writers 2015-09-24 14:57:37 -10:00
Phillip Stephens 0762a3bdcc FreeBSD Fixes 2015-09-12 10:25:58 -08:00
Jack Andersen 574038a826 Merge commit '9535' 2015-09-11 13:28:23 -10:00
Jack Andersen 9535778932 added Little/Big suffix method for at[U]Int8 types for consistency 2015-09-11 13:27:28 -10:00
Jack Andersen 89fa92308f Doc updates 2015-09-07 17:02:58 -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
Phillip Stephens 0de254e846 Fix remaining MESSAGE enums 2015-08-30 22:15:06 -07:00
Jack Andersen e52e9f8dc4 Win32 Macro fixes 2015-08-30 22:13:07 -07:00
Jack Andersen 9b6fea36e3 windows fixes and proper UTF-8 conversion 2015-08-30 22:13:07 -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 13d545c3fd Added explicit Big/Little method suffix 2015-08-13 16:58:04 -10:00
Jack Andersen dac1dde468 accumulator type change 2015-08-11 13:32:57 -10:00
Jack Andersen f49a6a6e82 Added YAML child node finder 2015-08-08 18:15:07 -10:00
Jack Andersen 9f0cb1327b Added some SFINAE parameters for smart IO templates 2015-08-08 13:25:18 -10:00
Jack Andersen 02e7bb3fc6 Refactored readBytes() and readUBytes() to return std::unique_ptr 2015-08-05 12:41:06 -10:00