Sam Hocevar
e073082150
Rename arraynd to old_arraynd and create new lol::narray implementation.
pirms 4 gadiem
Sam Hocevar
c54b4cbe07
Add arraynd.clear() utility method.
pirms 4 gadiem
Sam Hocevar
83370c7293
Fix Windows compilation.
pirms 4 gadiem
Sam Hocevar
c97a8c64ba
Add <lol/file> to easily read and write files.
pirms 4 gadiem
Sam Hocevar
2ff9562bac
Add “merge” and “upstream” entries for submodules.
pirms 4 gadiem
Sam Hocevar
46f0426ade
Update the step and cli11 submodules with custom patches.
pirms 4 gadiem
Sam Hocevar
2f9c6b29f7
Use CLI11 instead of clipp for command line parsing.
pirms 4 gadiem
Sam Hocevar
f893fe0188
Add <lol/algo/suffix_array> module that exposes the Step library.
pirms 4 gadiem
Sam Hocevar
035e79c424
Fix lower bit entropy issue with lol::rand().
pirms 4 gadiem
Sam Hocevar
80481a587c
Remove <numeric.h> and <interp.h>, they’re almost unused.
pirms 4 gadiem
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