Vladimír Vondruš
be8dbe7a5c
Audio: test that Context is nothrow movable as well.
11 months ago
Vladimír Vondruš
e149093007
Audio: make Buffer and Source nothrow movable.
...
The reason it wasn't done is likely just neglect, that the code wasn't
updated since it was made originally, before I knew what noexcept is
useful for.
11 months ago
Vladimír Vondruš
60fd42b505
Here we go again.
1 year ago
Vladimír Vondruš
cc608dba42
Test: remove all use of <sstream> for Debug output testing.
...
Compared to Corrade, the improvement in compile time is about a minute
cumulative across all cores, or about 8 seconds on an 8-core system (~2
minutes before, ~1:52 after). Not bad at all. And this is with a
deprecated build, the non-deprecated build is 1:48 -> 1:41.
1 year ago
Vladimír Vondruš
9fe919966f
Audio: don't use std::string for no reason in tests.
...
Still a lot left to clean up in this library, tho.
1 year ago
Vladimír Vondruš
df484b300a
Adapt to Corrade's Utility::Debug header cleanup.
1 year ago
Vladimír Vondruš
5339df8d2b
Test: adapt to Corrade TestSuite changes.
1 year ago
Vladimír Vondruš
eef921c238
It's October already?!
2 years ago
Vladimír Vondruš
5420c93f4d
Audio: *all* Context queries are broken on Apple's implementation.
...
It's just pure luck that this consistently returned AL_FALSE until now.
On the ARM Mac it no longer does.
2 years ago
Vladimír Vondruš
5d1369f570
Use Utility::move() and swap() instead of STL almost everywhere.
...
Partially needed to avoid build breakages because Corrade itself
switched as well, partially because a cleanup is always good. Done
except for (STL-heavy) code that's deprecated or SceneGraph-related APIs
that are still quite full of STL as well.
3 years ago
Vladimír Vondruš
9ac5943957
Audio: of course nothing is ever simple. Right, Apple?
3 years ago
Vladimír Vondruš
a0b74169a7
Audio: some more converage improvements.
3 years ago
Vladimír Vondruš
e435401f00
Audio: test Context creation failure.
3 years ago
Vladimír Vondruš
b8a6b88d3b
Audio: test also disabling an unknown extension.
3 years ago
Vladimír Vondruš
3d6f8effb4
Audio: ability to query various context properties.
...
And test all this, ugh, the test coverage is ABYSMAL here.
3 years ago
Vladimír Vondruš
bbb54a9df8
It's 2023 already!
3 years ago
Vladimír Vondruš
7547cf8977
Test: use CORRADE_FAIL() where it makes sense.
...
Of course I used the wrong `CORRADE_FAIL_IF(false, ...)` in a few
places. Yet another confirmation it was too hard to use and a dedicated
macro is needed.
4 years ago
Vladimír Vondruš
f0ad33f850
Audio,ShaderTools,Text,Trade: packed debug printing for all Feature enums.
4 years ago
Vladimír Vondruš
9b610ee600
Audio: actually test ImporterFeatures debug printing.
...
And not just a single ImporterFeature.
4 years ago
Vladimír Vondruš
6bdffb2796
Test: make use of CORRADE_SKIP_IF_NO_ASSERT().
4 years ago
Vladimír Vondruš
b983781505
Prefix all CMake options with MAGNUM_*.
...
Similar to the change done in Corrade, see the commit for details:
878624ac36
Wow, this is probably the most backwards-compatibility code I've ever
written. Can't wait until I can drop all that.
4 years ago
Vladimír Vondruš
505ad471ad
CMake: use the CMAKE_FOLDER variable instead of FOLDER property.
...
It limits the support for CMake 3.12+, but it's much less verbose and I
don't expect people to use ancient CMake versions with IDEs like Xcode
or VS anyway, so this should be fine.
4 years ago
Vladimír Vondruš
ac75f0b67a
Audio: port to the new Utility::Path, including the plugins.
...
Again an unatomic exists() + read() replaced with a more robust
Path::read() that returns an Optional.
4 years ago
Vladimír Vondruš
822fa0d644
Updated copyright year.
4 years ago
Vladimír Vondruš
4be74e225b
Test: wait, Mac, what the heck are you doing.
...
So I get a crash by printing a null char* pointer? Amazing!
4 years ago
Vladimír Vondruš
d1d2007b92
Test: resolve some TODOs now that we have CORRADE_FAIL_IF().
...
Nice and tidy <3
4 years ago
Vladimír Vondruš
ec19c25e46
Adapt to Corrade changes.
5 years ago
Vladimír Vondruš
65a935cedc
Test: adapt to changes in CORRADE_SKIP().
...
Chose to update the tests instead of adding a compatibility DebugStl.h
include to Tester.h, which would have a significant impact on compile
times.
5 years ago
Vladimír Vondruš
3d136503d8
Updated copyright year.
5 years ago
Vladimír Vondruš
91631139f7
Test: use shorter std::is_copy_{constructible,assignable} everywhere.
...
I wonder why I didn't do this from the beginning, back in 2010 or so.
5 years ago
Vladimír Vondruš
cd48c59cab
Remove remaining APIs deprecated in 2018.10.
6 years ago
Vladimír Vondruš
54c42dfb4d
GL,Audio: sort extension lists alphabetically.
...
So we can throw away the unordered_map and do the search on constant
data.
6 years ago
Vladimír Vondruš
b45514cb1c
GL,Audio: use CORRADE_ITERATION() in extension list tests.
6 years ago
Vladimír Vondruš
19e0e96d74
Updated copyright year.
6 years ago
Vladimír Vondruš
9c14d8e354
Introduce a BUILD_STATIC_UNIQUE_GLOBALS option.
...
Same as in Corrade. Because BUILD_STATIC is independent between Corrade
and Magnum this option is also independent -- the corner cases and bad
interactions would be otherwise too complex to handle (e.g., in case of
a dynamic Corrade and static Magnum it would be impossible to enable
this option for Magnum etc etc).
6 years ago
Vladimír Vondruš
65a2ced2a7
Make this compile and test cleanly with CORRADE_NO_ASSERT defined.
6 years ago
Vladimír Vondruš
19dd7a0176
Move Feature[s] enums from inside plugin classes outside.
...
Too annoyingly long to type. Also added a debug output operator for the
FontConverterFeature enums, for some reason there were none.
6 years ago
Vladimír Vondruš
6ef04b8ad5
Audio: add a Buffer::frequency() getter.
6 years ago
Vladimír Vondruš
24f7d45364
Implement globals shared across DLLs on Windows.
7 years ago
Vladimír Vondruš
c5d08156ea
Audio: shorten test name to avoid too wide CTest output.
7 years ago
Vladimír Vondruš
84fc685c87
Trade, Audio: explicitly disallow custom deleters returned from plugins.
7 years ago
Vladimír Vondruš
118c3e4aca
Audio: 100% test coverage for the base Importer class.
...
One bug found.
7 years ago
Vladimír Vondruš
e52c9e8d9e
Export globals and make them weak on static builds so they work across SOs.
...
Well, except on Windows -- not yet. Added an XFAIL for that.
7 years ago
Vladimír Vondruš
59aade762a
Audio, GL: add tests for global state shared across libraries.
...
Both currently fail on static builds.
7 years ago
Vladimír Vondruš
b0546c4eda
Audio: improve extension tests similarly to GL.
7 years ago
Vladimír Vondruš
be0bce8ded
Audio: ffs, MSVC.
7 years ago
Vladimír Vondruš
8af19f21f0
Audio: make it possible to disable OpenAL extensions as well.
...
Finally, a feature parity.
7 years ago
Vladimír Vondruš
c1c1c146f8
Audio: pass command-line arguments to Context in all AL tests.
7 years ago
Vladimír Vondruš
2c280f6b97
Audio: ignore command-line options not related to audio.
7 years ago
Vladimír Vondruš
922ff64869
Audio: test the quiet logging.
7 years ago