Commit Graph

584 Commits

Author SHA1 Message Date
Lioncash 919a74c72c General: Remove unnecessary usages of inline
Functions defined directly in a class definition are already inline by
default.

Non-specialized templates are also inline by default.
2019-08-15 16:07:47 -04:00
Phillip Stephens 40d7396f22
Merge pull request #45 from libAthena/revert-42-inline
Revert "General: Minor general cleanup"
2019-08-15 08:53:06 -07:00
Phillip Stephens af59ea2d48
Revert "General: Minor general cleanup" 2019-08-15 08:52:45 -07:00
Phillip Stephens 4af15d46c9
Merge pull request #44 from lioncash/simplify
IStreamReader/IStreamWriter: Simplify buffer functions where applicable
2019-08-15 08:40:02 -07:00
Phillip Stephens 97db908b3d
Merge pull request #43 from lioncash/str
DNAYaml: Replace implementation-specific functions with standardized equivalents
2019-08-15 08:39:32 -07:00
Phillip Stephens 5973db475c
Merge pull request #42 from lioncash/inline
General: Minor general cleanup
2019-08-15 08:39:13 -07:00
Lioncash 831b2ffdb6 IStreamReader/IStreamWriter: Simplify buffer functions where applicable
We can simply use std::make_unique instead of raw new + memset. For
fill(), we can just use std::vector, given one of its constructors
allows for an initial value to be specified.
2019-08-15 11:31:50 -04:00
Lioncash 407c9cfab5 DNAYaml: Replace implementation-specific functions with standardized equivalents 2019-08-15 11:18:47 -04: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 8e22dda880 General: Use the override keyword where applicable 2019-08-15 10:56:26 -04:00
Phillip Stephens f9205876f0
Merge pull request #41 from lioncash/make
DNAYaml: Minor cleanup
2019-08-15 07:48:20 -07:00
Lioncash 4b7917cc05 General: Remove unnecessary typename specifiers 2019-08-15 10:31:04 -04:00
Lioncash 60c554f67e General: Remove unnecessary usages of inline
Functions defined directly in a class definition are already inline by
default.

Non-specialized templates are also inline by default.
2019-08-15 09:24:50 -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
Phillip Stephens 0532b38059 Fixes for `override` support 2019-08-10 17:46:14 -07:00
Jack Andersen ffbd1a0bcd Windows build fixes 2019-07-27 15:18:57 -10:00
Jack Andersen 0ada695c7a Make simd_floats use std::array for storage 2019-07-20 22:41:46 -10:00
Jack Andersen 478d75f1cb Massive fmtlib refactor 2019-07-19 18:19:44 -10:00
Jack Andersen f3852eb0d2 Remove GXXDEBUG macro from atdna compilation 2019-07-06 22:21:13 -10:00
Jack Andersen 335ed6bb6f Update lzokay 2019-06-14 14:37:14 -10:00
Jack Andersen a9271862dc Ensure athena has zlib include directory available 2019-06-12 15:29:18 -10:00
Jack Andersen 727f057fa7 GCC fixes and better CMake dependency handling 2019-06-11 15:58:44 -10:00
Jack Andersen 9bbd7af9f6 Minor cmake tweak 2019-05-07 17:45:28 -10:00
Jack Andersen b9de854400 Ensure stream readers zero-initialize their return values 2019-04-06 18:44:50 -10:00
Jack Andersen b40d3b17e5 Add True and False tests for bitwise enums 2019-04-02 18:28:05 -10:00
Jack Andersen 0b3fd2b5af Bug fix for Win7 2019-03-23 22:05:17 -10:00
Jack Andersen ef7a9633c6 Constexpr constructors for simd types 2019-02-23 12:03:57 -10:00
Jack Andersen c1a1c6e754 GCC simd fix 2019-02-15 15:30:59 -10:00
Jack Andersen af7d73f9bd Fixes to support new clang API 2019-01-28 22:24:10 -10:00
Jack Andersen 1014a3ccda Remove pointless static keywords 2018-12-30 19:01:15 -10:00
Jack Andersen 96b7ed048a Update lzokay 2018-12-26 11:39:26 -10:00
Jack Andersen 2034232d52 Switch to using lzokay library 2018-12-19 17:43:07 -10:00
Jack Andersen 08f0dc652a Disable underscore truncation on property key strings 2018-12-16 13:15:55 -10:00
Jack Andersen 3d59b56a48 Minor bitwise enum macro change 2018-12-15 20:29:41 -10:00
Jack Andersen c5a4416463 Update atdna to emit new code style 2018-12-12 21:38:14 -10:00
Jack Andersen 0447e5be00 Windows fixes 2018-12-07 20:44:08 -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
Jack Andersen 0cdfd0ad9f Convert to pragma once 2018-10-06 17:37:09 -10:00
Jack Andersen 5f2611702d Merge branch 'master' of ssh://git.axiodl.com:6431/libAthena/athena 2018-10-06 16:53:03 -10:00
Jack Andersen 44e4e5a376 NX build fixes 2018-10-06 16:51:06 -10:00
Phillip Stephens d4278bd52b Switch build fixes 2018-09-25 15:38:11 -07: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 b57390e304 macOS atdna fix 2018-08-27 17:47:14 -10:00
Jack Andersen 8d57fe01d2 Windows compile fix 2018-08-25 21:57:03 -10:00