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
Phillip Stephens
f9205876f0
Merge pull request #41 from lioncash/make
...
DNAYaml: Minor cleanup
2019-08-15 07:48:20 -07: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
Jack Andersen
7f28214e9f
Add VectorWriter
2018-08-24 22:38:23 -10:00
Jack Andersen
f898d7843a
Windows fix
2018-08-19 10:07:25 -10:00
Jack Andersen
c40ee0531a
Allow DNAOp to transparently handle cv-qualified types
2018-08-18 12:13:36 -10:00
Jack Andersen
075747c418
Remove cyclic include
2018-08-09 20:18:42 -10:00
Jack Andersen
d2dbd99ad6
Allow atdna to handle multidimensional arrays
2018-07-27 18:30:35 -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
da3196df14
Merge commit '4963ef1'
2018-07-15 10:12:22 -07:00
Phillip Stephens
4963ef114f
Add `skipSeek` to `IStreamReader::read*String`
2018-07-15 10:11:23 -07: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