Sam Hocevar
d22746ebaf
Remove deprecated assert.h header.
4 år sedan
Sam Hocevar
10f78b3a45
Update PEGTL submodule.
4 år sedan
Sam Hocevar
8ce1b6ec9c
Fix the LOL_DEBUG environment variable handling logic.
4 år sedan
Sam Hocevar
42d43c24a7
Update portable file dialogs submodule.
4 år sedan
Sam Hocevar
c806e77280
Minor compilation fixes.
4 år sedan
Sam Hocevar
7e540d8eff
Implement <lol/msg> to replace <lol/base/log.h> in the future.
4 år sedan
Sam Hocevar
b85dc6cd00
Remove workaround for an old threading bug in Visual Studio 2013.
According to https://devblogs.microsoft.com/cppblog/stl-fixes-in-vs-2015-part-2/
this was fixed in VS 2015.
4 år sedan
Sam Hocevar
0a7b6367d6
Update portable-file-dialogs and pegtl submodules.
4 år sedan
Sam Hocevar
d21392096a
Fix GCC compilation issue.
4 år sedan
Sam Hocevar
b8e54636b8
Merge branch 'wip/core-clipp' into core
4 år sedan
Sam Hocevar
415409d2a7
Use <lol/cli> and namespace lol::cli for argument parser API.
4 år sedan
Sam Hocevar
dead6fe3bf
Fix unresolved symbol issue introduced by recent OS X fixes.
4 år sedan
Sam Hocevar
93ad6b7ab1
Fix g++ compilation on OS X Catalina.
4 år sedan
Sam Hocevar
b5a498ad14
Try to use the clipp library for argument parsing.
4 år sedan
Sam Hocevar
29758c1458
Math: simplify vector swizzling rules.
4 år sedan
Sam Hocevar
3bceb0b46f
Math: remove some obsolete swizzling members for vectors.
4 år sedan
Sam Hocevar
7eb81936e2
containers: add insert_at() utility function.
4 år sedan
Sam Hocevar
c1645f5e8b
Add a pair of headers to guard against intrusive Windows macros.
4 år sedan
Sam Hocevar
6d98787e9e
Change the arraynd size query API.
Now size() returns the total number of elements, and sizes() returns an
N-dimensional vector containing each size separately.
4 år sedan
Sam Hocevar
b85c7adfe6
Big header refactor yet again.
Let’s see how it goes with a very flat hierarchy and no .h extension.
4 år sedan
Sam Hocevar
68adfe975f
Clean up math/functions.h header.
4 år sedan
Sam Hocevar
342c9ea0fd
Add portable-file-dialogs submodule to 3rdparty.
4 år sedan
Sam Hocevar
4bad4a9cdf
Remove undocumented variable in getopt().
4 år sedan
Sam Hocevar
e6472db0b5
Add C string variants of starts_with() and ends_with().
4 år sedan
Sam Hocevar
8ea7dcfbcf
Move noise functions to the clean header namespace.
4 år sedan
Sam Hocevar
c1d74196da
Add a few helper functions for std::vector.
4 år sedan
Sam Hocevar
e7984246c3
Move portal.h to legacy directory; I don’t know what to do with it.
4 år sedan
Sam Hocevar
ec5f308bd3
Clean up abs/fabs discrepancies here and there.
4 år sedan
Sam Hocevar
6f84e24794
Remove all usage of lol::array in the standalone headers.
4 år sedan
Sam Hocevar
c1aac56766
Replace lol::array with std::vector in aabb_tree.h.
4 år sedan
Sam Hocevar
4446947aec
Use std::tuple for our custom dynamic arrays.
4 år sedan
Sam Hocevar
ecc3aee6e1
Various Windows compilation fixes.
4 år sedan
Sam Hocevar
d05eb96665
Improve standalone inclusion support.
4 år sedan
Sam Hocevar
20f39ee086
Refactor arraynd class.
Use size_t instead of ptrdiff_t and reduce header usage.
4 år sedan
Sam Hocevar
2235ce1635
Various compilation fixes.
4 år sedan
Sam Hocevar
f65ab0fa1e
Fix Windows compilation.
4 år sedan
Sam Hocevar
c696030648
Add <lol/base/lolunit.h> header for unit tests.
4 år sedan
Sam Hocevar
02bb54bdf9
Refactor the color class.
This code is not of very good quality, but a few methods such as the
RGB/HSV/HSL/YUV conversions are still useful, so I’m deciding to keep
them for now.
4 år sedan
Sam Hocevar
4b81463015
Fix some warnings reported by Visual Studio.
4 år sedan
Sam Hocevar
71d9bc1ec8
Move math types to a separate types/ subdirectory.
4 år sedan
Sam Hocevar
c042850637
Clean up bigint.h header.
4 år sedan
Sam Hocevar
59a4b5bd0c
Clean up the half.h header and make it optional.
4 år sedan
Sam Hocevar
38ee6b26e9
Use <stdint.h> instead of <cstdint>.
This is because <cstdint> is not guaranteed to expose C99 types to the
global namespace, and we don’t want to go through the hassle of using
each of them one by one.
4 år sedan
Sam Hocevar
f0b8cfc6f2
Clean up the features.h header.
4 år sedan
Sam Hocevar
655beda5bd
It’s 2020, use [[nodiscard]] unconditionally.
4 år sedan
Sam Hocevar
fcc3757061
Use fallthrough attribute properly (using a trailing semicolon as an empty statement).
4 år sedan
Sam Hocevar
2626ce4efe
Make more headers private and remove unnecessary #includes.
4 år sedan
Sam Hocevar
5c7ef8d898
Update todo list.
4 år sedan
Sam Hocevar
e1ef913daa
Make the “real” functions more generic. Not specialising them speeds up compilation.
4 år sedan
Sam Hocevar
ca3fb5a4ba
Make the vector, matrix and transform-related classes header-only.
4 år sedan