Sam Hocevar
d22746ebaf
Remove deprecated assert.h header.
pirms 4 gadiem
Sam Hocevar
10f78b3a45
Update PEGTL submodule.
pirms 4 gadiem
Sam Hocevar
8ce1b6ec9c
Fix the LOL_DEBUG environment variable handling logic.
pirms 4 gadiem
Sam Hocevar
42d43c24a7
Update portable file dialogs submodule.
pirms 4 gadiem
Sam Hocevar
c806e77280
Minor compilation fixes.
pirms 4 gadiem
Sam Hocevar
7e540d8eff
Implement <lol/msg> to replace <lol/base/log.h> in the future.
pirms 4 gadiem
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.
pirms 4 gadiem
Sam Hocevar
0a7b6367d6
Update portable-file-dialogs and pegtl submodules.
pirms 4 gadiem
Sam Hocevar
d21392096a
Fix GCC compilation issue.
pirms 4 gadiem
Sam Hocevar
b8e54636b8
Merge branch 'wip/core-clipp' into core
pirms 4 gadiem
Sam Hocevar
415409d2a7
Use <lol/cli> and namespace lol::cli for argument parser API.
pirms 4 gadiem
Sam Hocevar
dead6fe3bf
Fix unresolved symbol issue introduced by recent OS X fixes.
pirms 4 gadiem
Sam Hocevar
93ad6b7ab1
Fix g++ compilation on OS X Catalina.
pirms 4 gadiem
Sam Hocevar
b5a498ad14
Try to use the clipp library for argument parsing.
pirms 4 gadiem
Sam Hocevar
29758c1458
Math: simplify vector swizzling rules.
pirms 4 gadiem
Sam Hocevar
3bceb0b46f
Math: remove some obsolete swizzling members for vectors.
pirms 4 gadiem
Sam Hocevar
7eb81936e2
containers: add insert_at() utility function.
pirms 4 gadiem
Sam Hocevar
c1645f5e8b
Add a pair of headers to guard against intrusive Windows macros.
pirms 4 gadiem
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.
pirms 4 gadiem
Sam Hocevar
b85c7adfe6
Big header refactor yet again.
Let’s see how it goes with a very flat hierarchy and no .h extension.
pirms 4 gadiem
Sam Hocevar
68adfe975f
Clean up math/functions.h header.
pirms 4 gadiem
Sam Hocevar
342c9ea0fd
Add portable-file-dialogs submodule to 3rdparty.
pirms 4 gadiem
Sam Hocevar
4bad4a9cdf
Remove undocumented variable in getopt().
pirms 4 gadiem
Sam Hocevar
e6472db0b5
Add C string variants of starts_with() and ends_with().
pirms 4 gadiem
Sam Hocevar
8ea7dcfbcf
Move noise functions to the clean header namespace.
pirms 4 gadiem
Sam Hocevar
c1d74196da
Add a few helper functions for std::vector.
pirms 4 gadiem
Sam Hocevar
e7984246c3
Move portal.h to legacy directory; I don’t know what to do with it.
pirms 4 gadiem
Sam Hocevar
ec5f308bd3
Clean up abs/fabs discrepancies here and there.
pirms 4 gadiem
Sam Hocevar
6f84e24794
Remove all usage of lol::array in the standalone headers.
pirms 4 gadiem
Sam Hocevar
c1aac56766
Replace lol::array with std::vector in aabb_tree.h.
pirms 4 gadiem
Sam Hocevar
4446947aec
Use std::tuple for our custom dynamic arrays.
pirms 4 gadiem
Sam Hocevar
ecc3aee6e1
Various Windows compilation fixes.
pirms 4 gadiem
Sam Hocevar
d05eb96665
Improve standalone inclusion support.
pirms 4 gadiem
Sam Hocevar
20f39ee086
Refactor arraynd class.
Use size_t instead of ptrdiff_t and reduce header usage.
pirms 4 gadiem
Sam Hocevar
2235ce1635
Various compilation fixes.
pirms 4 gadiem
Sam Hocevar
f65ab0fa1e
Fix Windows compilation.
pirms 4 gadiem
Sam Hocevar
c696030648
Add <lol/base/lolunit.h> header for unit tests.
pirms 4 gadiem
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.
pirms 4 gadiem
Sam Hocevar
4b81463015
Fix some warnings reported by Visual Studio.
pirms 4 gadiem
Sam Hocevar
71d9bc1ec8
Move math types to a separate types/ subdirectory.
pirms 4 gadiem
Sam Hocevar
c042850637
Clean up bigint.h header.
pirms 4 gadiem
Sam Hocevar
59a4b5bd0c
Clean up the half.h header and make it optional.
pirms 4 gadiem
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.
pirms 4 gadiem
Sam Hocevar
f0b8cfc6f2
Clean up the features.h header.
pirms 4 gadiem
Sam Hocevar
655beda5bd
It’s 2020, use [[nodiscard]] unconditionally.
pirms 4 gadiem
Sam Hocevar
fcc3757061
Use fallthrough attribute properly (using a trailing semicolon as an empty statement).
pirms 4 gadiem
Sam Hocevar
2626ce4efe
Make more headers private and remove unnecessary #includes.
pirms 4 gadiem
Sam Hocevar
5c7ef8d898
Update todo list.
pirms 4 gadiem
Sam Hocevar
e1ef913daa
Make the “real” functions more generic. Not specialising them speeds up compilation.
pirms 4 gadiem
Sam Hocevar
ca3fb5a4ba
Make the vector, matrix and transform-related classes header-only.
pirms 4 gadiem