Commit Graph

203 Commits

Author SHA1 Message Date
Phillip Stephens 5973db475c
Merge pull request #42 from lioncash/inline
General: Minor general cleanup
2019-08-15 08:39:13 -07:00
Lioncash 83818a6272 General: Use nullptr where applicable
Uses nullptr instead of NULL or the 0 integer literal where applicable.
2019-08-15 11:04:09 -04:00
Lioncash c3d19a8aab DNAYaml: Make is_base64() internally linked
This isn't used outside of this translation unit, so it can be made
static.
2019-08-15 08:29:07 -04:00
Lioncash 9fc76a7dea DNAYaml: Use std::string_view instead of std::string for base64 characters
Eliminates a runtime static constructor that needs to execute. Also gets
rid of a heap allocation.
2019-08-15 08:09:41 -04:00
Lioncash ee5b894537 DNAYaml: Get rid of trivial uses of goto
We can just wrap the handling within a lambda function and then execute
it on the error paths.
2019-08-15 08:06:52 -04:00
Lioncash 46a847e885 DNAYaml: Make use of std::make_unique where applicable
Gets rid of a few places of raw new where it can be trivially avoided.
2019-08-15 07:49:55 -04:00
Jack Andersen ffbd1a0bcd Windows build fixes 2019-07-27 15:18:57 -10:00
Jack Andersen 478d75f1cb Massive fmtlib refactor 2019-07-19 18:19:44 -10:00
Jack Andersen 727f057fa7 GCC fixes and better CMake dependency handling 2019-06-11 15:58:44 -10:00
Jack Andersen 0b3fd2b5af Bug fix for Win7 2019-03-23 22:05:17 -10:00
Jack Andersen 2034232d52 Switch to using lzokay library 2018-12-19 17:43:07 -10:00
Jack Andersen 7243c687a8 New code style refactor 2018-12-07 19:18:17 -10:00
Jack Andersen e1b29fda7a SIMD refactor 2018-12-07 15:31:02 -10:00
Phillip Stephens 80c283736e Various NX build fixes 2018-09-23 19:12:29 -07:00
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