Vladimír Vondruš
f3a4ce7d1d
Math: add scalar and vector fract().
...
Want to use it with TextureTools::sample*().
3 months ago
Vladimír Vondruš
276a93a4ff
Math: use {} for Vector construction in FunctionTests.
...
Not all tests, just here because I'm extending those and want to be
warned if there's a double literal used by accident, or some such.
3 months ago
Vladimír Vondruš
e46678f312
Math: doc++
3 months ago
Vladimír Vondruš
e281bcf64e
doc: updated credits and changelog.
3 months ago
ThePixelMoon
d42fdad100
snippets: fix typo in Platform.cpp
...
Specifying configuration to be exact
3 months ago
Vladimír Vondruš
5383daf3b4
Math: lol wait, I used scatter() wrong in here the whole time?!
...
Since the very first time scatter() got introduced in 2019, in
acc8d8994b . Only the recently added
CORRADE_NODISCARD annotation uncovered the bug.
3 months ago
Vladimír Vondruš
cac7c88397
Math: add a TODO.
3 months ago
Vladimír Vondruš
e869cd1aff
Math: adapt to CORRADE_NODISCARD changes.
...
Yeah, this is how it should have been since the beginning.
3 months ago
Vladimír Vondruš
3bf92e190f
doc: CORRADE_NODISCARD is now a function macro.
3 months ago
Vladimír Vondruš
a3468222cb
package/homebrew: bump stable version to latest master.
4 months ago
Vladimír Vondruš
c9c560064f
package/homebrew: extract the SHA1 from the version instead of duplicating.
...
Co-authored-by: Dora "cat" <cat@thenight.club>
4 months ago
Vladimír Vondruš
f68e277a41
Math: clearly document what the TypeForSize helper is for.
...
I was initially not sure if it has some other use than the swizzle APIs.
It doesn't, so mention that clearly.
4 months ago
Vladimír Vondruš
56a3aebf73
Math: fix swizzle support for Vector3 and Vector4 in singles.
...
The macro, which is enabled when preprocessing the headers for
single-header libs, excluded the TypeForSize specializations, making
these two not work with Math::gather() and Math::scatter(). It's done
correctly in Vector2 and Color, not sure why not here.
4 months ago
Vladimír Vondruš
c7c7f8d87f
GL: don't mark a local inner struct with MAGNUM_GL_LOCAL.
...
Causes the following warning on GCC on a static build if user code isn't
compiled with -fvisibility=hidden:
warning: ‘Magnum::GL::Mesh’ declared with greater visibility than
the type of its field ‘Magnum::GL::Mesh::_attributes’ [-Wattributes]
According to quick testing, given that the struct definition isn't
public, presence of the MAGNUM_GL_LOCAL has no effect on the symbol
being exported. On the contrary, inner classes that are meant to be
exported (such as the ones in GL::Framebuffer) have to contain
MAGNUM_GL_EXPORT, otherwise it leads to linker errors. Furthermore, all
other inner structs with local definitions holding PIMPL state and such
don't have a MAGNUM_*_LOCAL macro applied anywhere
Thus the macro was likely redundant, and is removed.
4 months ago
Vladimír Vondruš
b7622e0a28
package/ci: The macOS M4 image has more cores, use all for the iOS build.
4 months ago
Vladimír Vondruš
ea060cd9d6
Update copyright year.
4 months ago
Vladimír Vondruš
356166bb38
modules: update FindCorrade.cmake.
4 months ago
Vladimír Vondruš
7e5a9472e4
Math: add scatterInto().
...
Because doing `foo = Math::scatter<'y', 'w'>(foo, ...)` is just too
long, especially when the expression is already too long to begin with.
4 months ago
Vladimír Vondruš
5ea9faef04
Math: mark scatter() with CORRADE_NODISCARD.
...
Spent quite a while figuring out why the call didn't work, only to
realize it doesn't modify the value in-place. This annotation should
help.
4 months ago
Vladimír Vondruš
5676ab552f
doc: ignore CORRADE_NODISCARD annotations when generating docs.
...
I don't think my ancient Doxygen fork is aware of [[nodiscard]], and
it's quite clear that the return value is important when looking at the
docs, so just remove it from processing.
4 months ago
Vladimír Vondruš
2ea43a8c5e
Adapt to moving CORRADE_DEPRECATED*() macros to a dedicated header.
4 months ago
Vladimír Vondruš
998919110c
modules: update FindCorrade.cmake for reworked Corrade::Main on MinGW.
4 months ago
Vladimír Vondruš
bd52eb9be2
AnyImageImporter: attempt to detect AVIF files.
...
What a mess. Modern formats stand on a shaky pile of ancient tech.
5 months ago
Vladimír Vondruš
a297dd63e9
Platform: missing semicolons in a CSS file? Outrageous!
5 months ago
Vladimír Vondruš
179a68229f
package/ci: new macOS image, new lcov, new trash errors.
...
Fuck me, how the fuck is it possible to have something behave so damn
bad.
5 months ago
Vladimír Vondruš
62f04ca5e9
package/ci: once again switch to an an Xcode image that isn't removed.
...
Should have been done in d0e4e86df7 , but
the deprecation notice wasn't clear about which versions are available,
at all.
5 months ago
Vladimír Vondruš
01d9d9bbc1
package/ci: minor cleanup.
5 months ago
Vladimír Vondruš
68d013204b
doc: magnum-integration has now generated snippets and images.
6 months ago
Vladimír Vondruš
3a2c1292e0
Audio: remove an obsolete Doxygen TODO, it works now.
6 months ago
Vladimír Vondruš
71ccd3e187
Audio: expose alGetError() as a search keyword for Renderer::error().
6 months ago
Vladimír Vondruš
8f084de933
doc: update credits as requested.
6 months ago
Vladimír Vondruš
a22e9ae344
Updated credits and changelog.
7 months ago
Andy Maloney
2e8f36d160
{doc} Fix a couple of spelling mistakes
7 months ago
Vladimír Vondruš
381568a11a
Platform: more -Wcast-function-type suppressions for Clang 13+.
...
Followup to 235db64cf6 , as now I have
clang-cl 19.1 on the AppVeyor CI MSVC 2022 image and can see the
warnings now.
7 months ago
Vladimír Vondruš
77684885f9
doc: magnum-integration may now depend on magnum-extras, swap the order.
...
This has a practical effect mainly on the Custom Buildsystems page,
where the dependency graph for Extras is now shown before Integration.
7 months ago
Vladimír Vondruš
d0e4e86df7
package/ci: use an Xcode image that isn't going to get removed.
7 months ago
Vladimír Vondruš
322d7c51d7
Updated toolchains submodule.
7 months ago
Vladimír Vondruš
0109548149
Use https for links.
...
I thought I went over all these several years ago already, but
apparently not or maybe back then not all websites were HTTPS-ready. Now
they mostly are, except for maybe one or two.
7 months ago
Vladimír Vondruš
e9907a80ec
TextureTools: new utilities for sampling textures on a CPU.
...
I need this to sample a color map for debug visualization in the UI
library. Thus so far it's just 1D, and with 8-bit input. Other variants
might get added in the future if needed.
7 months ago
Vladimír Vondruš
4d80751e6f
package/ci: use newer SDL that has CMake configs that work with CMake 4.
8 months ago
Vladimír Vondruš
1ee55f9a75
package/ci: update paths for clang-cl that got bumped to version 19.
8 months ago
Vladimír Vondruš
71c2716273
Text: list scripts new in Unicode 17.
8 months ago
Vladimír Vondruš
235db64cf6
Platform: expand -Wcast-function-type warning suppression to Clang 13+.
8 months ago
Vladimír Vondruš
85f6bd834e
doc: expand MSVC-/GCC-specific warning supporessions to clang-cl.
...
Strangely enough, that C4312 warning suppression now needs to be C4834
instead while I'm pretty sure it was correct back in March 2024 when I
added this in 4f7b57ffd6 . C4312 is however
for "conversion of A to B of greater size", and in
4435877cf1 I was fixing a lot of those, so
maybe I just used the same number by accident and because this
particular warning is extremely easy to miss, it was never correct in
the first place? Who knows.
8 months ago
Vladimír Vondruš
9ee7e899aa
Ignore warnings of glaring uselessness on clang-cl.
...
I hope those don't fire on regular Windows clang as well, this seems to
be specific to the way how MSVC-compatible template instantiation works.
8 months ago
Vladimír Vondruš
507e8845d3
Import GL shader resources on static builds unconditionally.
...
It's faster that way because it doesn't involve a linear lookup, if the
resource is already imported it's a constant-time check and it becomes a
no-op.
8 months ago
Vladimír Vondruš
f2da1e12b5
Math: accidental stray semicolon. Copypasted 14 times. Sigh.
8 months ago
Vladimír Vondruš
bc5cb3e363
Test: fix Clang missing prototypes warnings harder.
...
I thought I fixed all in 6b58165856 (which
should have gone into 1c1ded5869 already),
but apparently there were four more instances I missed. Sigh.
8 months ago
Vladimír Vondruš
8f6e35f4ad
package/homebrew: C++14 is nothing to boast with in 2025.
8 months ago
Vladimír Vondruš
06550adb04
package/homebrew: use current master for the stable version.
...
2020.06 is just too old, and waiting for the time I make next release
just to stay "correct" is increasingly counterproductive.
8 months ago