Sam Hocevar
e073082150
Rename arraynd to old_arraynd and create new lol::narray implementation.
vor 4 Jahren
Sam Hocevar
c54b4cbe07
Add arraynd.clear() utility method.
vor 4 Jahren
Sam Hocevar
83370c7293
Fix Windows compilation.
vor 4 Jahren
Sam Hocevar
c97a8c64ba
Add <lol/file> to easily read and write files.
vor 4 Jahren
Sam Hocevar
2ff9562bac
Add “merge” and “upstream” entries for submodules.
vor 4 Jahren
Sam Hocevar
46f0426ade
Update the step and cli11 submodules with custom patches.
vor 4 Jahren
Sam Hocevar
2f9c6b29f7
Use CLI11 instead of clipp for command line parsing.
vor 4 Jahren
Sam Hocevar
f893fe0188
Add <lol/algo/suffix_array> module that exposes the Step library.
vor 4 Jahren
Sam Hocevar
035e79c424
Fix lower bit entropy issue with lol::rand().
vor 4 Jahren
Sam Hocevar
80481a587c
Remove <numeric.h> and <interp.h>, they’re almost unused.
vor 4 Jahren
Sam Hocevar
d22746ebaf
Remove deprecated assert.h header.
vor 4 Jahren
Sam Hocevar
10f78b3a45
Update PEGTL submodule.
vor 4 Jahren
Sam Hocevar
8ce1b6ec9c
Fix the LOL_DEBUG environment variable handling logic.
vor 4 Jahren
Sam Hocevar
42d43c24a7
Update portable file dialogs submodule.
vor 4 Jahren
Sam Hocevar
c806e77280
Minor compilation fixes.
vor 4 Jahren
Sam Hocevar
7e540d8eff
Implement <lol/msg> to replace <lol/base/log.h> in the future.
vor 4 Jahren
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.
vor 4 Jahren
Sam Hocevar
0a7b6367d6
Update portable-file-dialogs and pegtl submodules.
vor 4 Jahren
Sam Hocevar
d21392096a
Fix GCC compilation issue.
vor 4 Jahren
Sam Hocevar
b8e54636b8
Merge branch 'wip/core-clipp' into core
vor 4 Jahren
Sam Hocevar
415409d2a7
Use <lol/cli> and namespace lol::cli for argument parser API.
vor 4 Jahren
Sam Hocevar
dead6fe3bf
Fix unresolved symbol issue introduced by recent OS X fixes.
vor 4 Jahren
Sam Hocevar
93ad6b7ab1
Fix g++ compilation on OS X Catalina.
vor 4 Jahren
Sam Hocevar
b5a498ad14
Try to use the clipp library for argument parsing.
vor 4 Jahren
Sam Hocevar
29758c1458
Math: simplify vector swizzling rules.
vor 4 Jahren
Sam Hocevar
3bceb0b46f
Math: remove some obsolete swizzling members for vectors.
vor 4 Jahren
Sam Hocevar
7eb81936e2
containers: add insert_at() utility function.
vor 4 Jahren
Sam Hocevar
c1645f5e8b
Add a pair of headers to guard against intrusive Windows macros.
vor 4 Jahren
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.
vor 4 Jahren
Sam Hocevar
b85c7adfe6
Big header refactor yet again.
Let’s see how it goes with a very flat hierarchy and no .h extension.
vor 4 Jahren
Sam Hocevar
68adfe975f
Clean up math/functions.h header.
vor 4 Jahren
Sam Hocevar
342c9ea0fd
Add portable-file-dialogs submodule to 3rdparty.
vor 4 Jahren
Sam Hocevar
4bad4a9cdf
Remove undocumented variable in getopt().
vor 4 Jahren
Sam Hocevar
e6472db0b5
Add C string variants of starts_with() and ends_with().
vor 4 Jahren
Sam Hocevar
8ea7dcfbcf
Move noise functions to the clean header namespace.
vor 4 Jahren
Sam Hocevar
c1d74196da
Add a few helper functions for std::vector.
vor 4 Jahren
Sam Hocevar
e7984246c3
Move portal.h to legacy directory; I don’t know what to do with it.
vor 4 Jahren
Sam Hocevar
ec5f308bd3
Clean up abs/fabs discrepancies here and there.
vor 4 Jahren
Sam Hocevar
6f84e24794
Remove all usage of lol::array in the standalone headers.
vor 4 Jahren
Sam Hocevar
c1aac56766
Replace lol::array with std::vector in aabb_tree.h.
vor 4 Jahren
Sam Hocevar
4446947aec
Use std::tuple for our custom dynamic arrays.
vor 4 Jahren
Sam Hocevar
ecc3aee6e1
Various Windows compilation fixes.
vor 4 Jahren
Sam Hocevar
d05eb96665
Improve standalone inclusion support.
vor 4 Jahren
Sam Hocevar
20f39ee086
Refactor arraynd class.
Use size_t instead of ptrdiff_t and reduce header usage.
vor 4 Jahren
Sam Hocevar
2235ce1635
Various compilation fixes.
vor 4 Jahren
Sam Hocevar
f65ab0fa1e
Fix Windows compilation.
vor 4 Jahren
Sam Hocevar
c696030648
Add <lol/base/lolunit.h> header for unit tests.
vor 4 Jahren
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.
vor 4 Jahren
Sam Hocevar
4b81463015
Fix some warnings reported by Visual Studio.
vor 4 Jahren
Sam Hocevar
71d9bc1ec8
Move math types to a separate types/ subdirectory.
vor 4 Jahren