Vladimír Vondruš
807a7e939c
ObjImporter: compile with exceptions enabled on Emscripten.
...
Actually looking forward to when I rewrite this whole thing.
6 years ago
Vladimír Vondruš
686b915bc3
Math: this test wasn't right.
...
Uncovered after the latest Emscripten-related update to
CORRADE_LONG_DOUBLE_SAME_AS_DOUBLE.
6 years ago
Vladimír Vondruš
ef7232e71d
Math: clean up obsolete test workflows.
6 years ago
Vladimír Vondruš
4cc32a9505
Updated changelog and credits.
6 years ago
Vladimír Vondruš
de786e5cab
package/ci: migrate Linux and Emscripten builds to CircleCI.
6 years ago
Pablo Escobar
f94035805d
EmscriptenApplication: use _malloc instead of internal allocate
6 years ago
Vladimír Vondruš
7e8bc50e64
doc: troubleshooting guide for cursed mysterious Mac build errors.
6 years ago
Vladimír Vondruš
203c28ba22
Doc++
6 years ago
Vladimír Vondruš
095408791f
Updated changelog and credits.
6 years ago
Squareys
f69f3393ec
Math: Add DualQuaternion/DualComplex::from(rotation, translation)
...
Signed-off-by: Squareys <squareys@googlemail.com>
6 years ago
Vladimír Vondruš
e6322dcfd1
Math: use angle literals in all test code.
...
It was originally done using the Deg() / Rad() constructors in order to
be compatible with GCC 4.6, but fortunately those days are long gone.
Co-authored-by: Squareys <squareys@googlemail.com>
6 years ago
Vladimír Vondruš
d51094e972
GL: wait, PrimitiveQuery isn't on ES2 at all, so why the ifdefs.
6 years ago
Vladimír Vondruš
1a626a1db5
GL: Context move constructor should be marked noexcept.
6 years ago
Vladimír Vondruš
e8f13af4be
GL: test noexcept-movability of all GL classes.
...
Not sure why this wasn't done for ages already, all other
(non-GL) classes have it.
6 years ago
Vladimír Vondruš
ba7342d4eb
Updated toolchains submodule.
6 years ago
Vladimír Vondruš
6f1f50d4b9
doc: wrap.
...
Because if the docs are for an awful thing, it doesn't mean they have
to look awful as well.
6 years ago
Vladimír Vondruš
c5a9d2bc2c
doc: more Android.
6 years ago
Vladimír Vondruš
3f85318909
doc: even more Android hell.
...
And at this point I'll just stop for today.
6 years ago
Vladimír Vondruš
51d7eeaa2e
doc: add some fresh Android building hell.
...
It spontaneously catches fire when you don't look.
6 years ago
Vladimír Vondruš
bd5364fe36
Expand Magnum tag tests with what Corrade tags have also tested.
6 years ago
Vladimír Vondruš
a8b99fb020
Platform: use a branded color.
6 years ago
Vladimír Vondruš
1fe8df400b
Platform: add a TODO about target_link_options().
6 years ago
Vladimír Vondruš
f4201541f1
doc: updated credits and changelog.
6 years ago
Vladimír Vondruš
e4f3708ca4
doc: minor clarification.
6 years ago
Vladimír Vondruš
6626525a09
doc: edits to the multi-emscripten-app guide.
...
* Showing a (preferred) CMake 3.13 syntax, as the features of treating
libraries starting with a dash as a link flag is just an internal
and not really documented CMake feature
* Removed reference to --pre-js, as this knowledge isn't needed to
accomplish this anymore. The last paragraph and code snippet was
also redundant.
6 years ago
Pablo Escobar
cc238237fc
Platform: docs for multiple applications
6 years ago
Pablo Escobar
f22421247d
Platform: use new CSS classes in gl-info
6 years ago
Pablo Escobar
c3c0010304
Platform: avoid potential race conditions on load.
6 years ago
Pablo Escobar
110e45d0ea
Platform: add test for multiple applications on one page.
6 years ago
Pablo Escobar
673a17fa11
Platform: allow to reuse existing Emscripten Module properties.
...
By wrapping the module creation in a function that includes properties
from the original module as well as allowing to override the default
properties from the outside. This also means it's possible to create
differently named modules for multiple applications on the page.
6 years ago
Pablo Escobar
1fd365773a
Platform: update {Emscripten,Sdl2}App cursor using Module['canvas'].
6 years ago
Pablo Escobar
01b4d8d171
Platform: get EmscriptenApplication canvas target from Module['canvas'].
...
And properly account for -s DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR.
Module['canvas'] can be read even from code compiled with -s MODULARIZE
so it's a preferrable option to hardcoding it in Configuration. The
target strings in Emscripten depend on whether we're compiled with
DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR (see
https://github.com/emscripten-core/emscripten/pull/7977 ). This is now
detected and handled at runtime to prepend element IDs with and use
the correct window and document magic targets.
6 years ago
Vladimír Vondruš
66c9746986
Platform: switch Emscripten app tests to use CSS classes instead of IDs.
...
Can confirm this worked before and works now as well.
6 years ago
Vladimír Vondruš
832f0ae3fc
Platform: don't hardcode ID in {Emscripten,Sdl}App::setContainerCssClass().
...
Instead look for a closest parent element of our <canvas> having the
.mn-container class. This should thus work for more than one canvas on a
page.
6 years ago
Vladimír Vondruš
2d0c97d4c0
Platform: use CSS classes instead of IDs for Emscripten markup.
...
IDs restrict the usability to a single canvas on the page. For backwards
compatibility purposes those are still kept, but the use is discouraged
now.
6 years ago
Vladimír Vondruš
86a26eb07b
Platform: don't hardcode status and log element IDs for Emscripten.
...
I still need to figure out how to not hardcode a global Module, heh.
6 years ago
Vladimír Vondruš
67a711a101
Platform: I'm sorry for breaking the build.
6 years ago
Vladimír Vondruš
7ce234f60b
Revert "EmscriptenApplication: get correct keyboardListeningElement CSS selector"
...
Not yet sure about all interactions with older Emscripten versions and
DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR set to 0, reverting until
it's clear.
This reverts commit c760acb548 .
6 years ago
Vladimír Vondruš
fc9a2f45d6
Platform: clear the framebuffer in Sdl2Application test.
...
It's unnecessarily hard to verify behavioral consistency across
different app implementations without.
6 years ago
Vladimír Vondruš
4c2aae65b9
Platform: https!
6 years ago
Vladimír Vondruš
e03813643a
Platform: this documentation is wrong.
6 years ago
Vladimír Vondruš
fa733a55ca
doc: updated credits.
6 years ago
Pablo Escobar
c760acb548
EmscriptenApplication: get correct keyboardListeningElement CSS selector
6 years ago
Vladimír Vondruš
321c2d22b9
Platform: improve console output of EmscriptenApplicationTest.
6 years ago
Vladimír Vondruš
08ecbbc380
Platform: fix EmscriptenApplication key events.
...
Got broken in 0f026cd314 . Note to self:
don't delegate testing to third parties.
6 years ago
Vladimír Vondruš
38a2a1f6c4
AnyShaderConverter: propagate optimization level as well.
...
Finally a complete API... except for linking, which no plugin exposes
yet so I can't test it.
6 years ago
Vladimír Vondruš
9b3abeef17
AnyShaderConverter: typo!
6 years ago
Vladimír Vondruš
5327fe0ae2
CMake: make it possible to build only some plugins as static.
...
It doesn't really work for tests that depend on more than one plugin
(because there i would need to handle all combinations, somehow), but it
does the job when the end user has such use case.
6 years ago
Vladimír Vondruš
6ec446ac2e
ShaderTools: document relation between the CLI and C++ APIs.
6 years ago
Vladimír Vondruš
52423e5350
package/archlinux: keep a debug variant of magnum-shaderconverter too.
6 years ago