Vladimír Vondruš
f84a91ea06
DebugTools: improve CompareImage failure message.
...
The comparison is <=, so if it passes, it's not "below".
7 years ago
Vladimír Vondruš
5ebd8394e8
DebugTools: doc++
...
The note was totally useles and additionally I made a few brainfarts
here and there.
7 years ago
Vladimír Vondruš
a0232e8506
DebugTools: CompareImage can now compare against pixel views.
...
This is getting too good.
7 years ago
Vladimír Vondruš
0ba050f15e
Don't blow up in ImageView::pixels() if the image has empty data.
7 years ago
Vladimír Vondruš
069c81b9cb
Deprecate passing nullptr to images.
...
Causes too much pain. Ugh.
7 years ago
Vladimír Vondruš
c6737e1958
DebugTools: PIMPL all CompareImage's state.
...
The distinction didn't make sense and we had to include more than
necessary. It's great how easy those refactorings are with the 100% code
coverage.
7 years ago
Vladimír Vondruš
f4fd8a0648
DebugTools: rewrite CompareImage guts to use StridedArrayView.
...
Yay. Much simpler code.
7 years ago
Vladimír Vondruš
d0a02a2429
GL: allow reading of zero-size images.
...
It's useless, but not disallowed -- it shouldn't assert on that.
7 years ago
Vladimír Vondruš
e2610bff18
modules: updated FindCorrade.cmake.
7 years ago
Vladimír Vondruš
377ff068f3
Doc++
7 years ago
Vladimír Vondruš
0fac99149d
doc: add more stuff to Windows-specific docs.
7 years ago
Vladimír Vondruš
217ea0c7b4
Platform: clearer asserts for ScreenedApplication.
...
This was asserted already in LinkedList, but there it's very
disconnected from the actual screen APIs and thus confusing.
7 years ago
Vladimír Vondruš
206122b405
Platform: make it possible to create & add a Screen in one step.
7 years ago
Vladimír Vondruš
081f784836
Platform: improve ScreenedApplication docs.
7 years ago
Vladimír Vondruš
f3e0a852d5
Platform: make Screen::{focus,blur}Event() optional to implement.
7 years ago
Vladimír Vondruš
67a5602967
Platform: make BasicScreen destructor virtual.
7 years ago
Vladimír Vondruš
466c3bb957
Platform: why the heck was this missing from EmscriptenApplication?
7 years ago
Vladimír Vondruš
e08cdced88
Platform: make ScreenedApplication available for AndroidApplication.
7 years ago
Vladimír Vondruš
d1b7e4ded4
Platform: make KeyEvent in the Screen also a mixin.
...
Because this one is not available in AndroidApplication and due to that
the ScreenedApplication couldn't be used there.
7 years ago
Vladimír Vondruš
2828548d7d
Platform: expose mouseScrollEvent() and text*Event() in Screen APIs.
...
Because not all applications implement these, it's done via a "mixin". I
never did such a thing before, just got an idea that it could work and
I'm equally amazed and horrified that it actually DOES WORK. The Screen
will now expose the MouseScrollEvent, TextInputEvent and
TextEditingEvent typedefs only if the underlying application has them
too and provides the overrideable mouseScrollEvent(), textInputEvent()
and textEditingEvent() also only if the underlying application has them
-- that also means you can't `override` those if the app doesn't provide
such APIs, which acts as a nice check against accidental overgenericity.
7 years ago
Vladimír Vondruš
bb982a4089
Platform: overrideable functions in Screen can now be private.
...
This was done only because Doxygen wasn't able to document private
virtuals. Now it can.
7 years ago
Vladimír Vondruš
13d5ca04de
package/ci: use an image that doesn't have crashy nodejs.
...
Brittle web stuff gotta be brittle. Ugh.
7 years ago
Vladimír Vondruš
37996e12b7
doc: improve docs about external CMake modules.
...
Hopefully this stops more people from running into issues with those.
7 years ago
Vladimír Vondruš
544f30b52f
Platform: make Application and other conditional aliases searchable.
7 years ago
Vladimír Vondruš
51ff5644f0
Platform: minor cosmetic changes.
7 years ago
Vladimír Vondruš
10c8bd7516
Platform: group Screen members the same way as in Applications.
7 years ago
Vladimír Vondruš
ed6cde9536
DebugTools: support --save-diagnostic in CompareImage.
7 years ago
Vladimír Vondruš
4f55a17316
DebugTools: well, yes, isn't that obvious?
7 years ago
Vladimír Vondruš
f102b86645
DebugTools: prepare CompareImage for more than one plugin manager.
7 years ago
Vladimír Vondruš
bc0e45fb95
DebugTools: clearer name for a define.
7 years ago
Vladimír Vondruš
9e0b24fa5b
DebugTools: doc++, minor cleanup.
7 years ago
Vladimír Vondruš
5d9fb386f5
DebugTools: make CompareImage work correctly with NaNs and infinities.
7 years ago
Vladimír Vondruš
ab4b9f9600
Doc++
7 years ago
Vladimír Vondruš
a28e14491c
Math: verify that TypeTraits work correctly for signed infinities.
7 years ago
Vladimír Vondruš
3cf9dbf409
Math: added component-wise equal()/notEqual() for vectors.
7 years ago
Vladimír Vondruš
c158cfa2dd
Math: you need to know this.
7 years ago
Vladimír Vondruš
c0a206d5f4
GL: minor code reordering, doc++.
...
Getter and setter *should* be next to each other. I was horrified for 9
seconds that there's no setViewport().
7 years ago
Vladimír Vondruš
0d71c1d1cc
Search plugins relative to library DLLs on Windows.
...
Makes Windows users' lives slightly easier.
7 years ago
Vladimír Vondruš
e1b246fc70
modules: mark EGL/GLES *_LIBRARY and *_INCLUDE_DIR vars as advanced.
...
Not sure why that wasn't done here. It only inflates the CMake option
list as 90% of the people don't need to touch these.
7 years ago
Vladimír Vondruš
249459d710
doc: work around another EGL include issue by including less.
7 years ago
Vladimír Vondruš
48c904cd86
MagnumFont: and this is a direct consequence of not including ES headers.
...
Failed to build on WinRT due to that.
7 years ago
Vladimír Vondruš
f6503d52d9
modules: we don't need GL(ES) include files.
...
Don't try to look for them if we don't use them. It only makes people
install additional outdated crap on their machines for no reason. The
only case where platform-specific GL headers are needed is in case of
iOS which doesn't provide any means of function pointer loading, but
there the include is passed implicitly from the framework.
7 years ago
Vladimír Vondruš
fa50929c78
modules: explicitly link to Emscripten GL and OpenAL libraries.
...
Emscripten's MINIMAL_RUNTIME requires -lGL or -lopenal to be specified
(the default does that implicitly). It doesn't hurt to do that every
time and it makes the Find modules slightly simpler.
7 years ago
Vladimír Vondruš
bc95e35328
Platform: UGH DOXYGEN.
...
Why the F doesn't it warn that this type doesn't exist?!
7 years ago
Vladimír Vondruš
38ef891682
Doc++
7 years ago
Vladimír Vondruš
df6582d948
Platform: ask for debug context if --magnum-gpu-validation is enabled.
...
Also mention the option more prominently in related docs.
7 years ago
Vladimír Vondruš
0f14a8d997
Platform: hmm, this header doesn't exist anymore.
...
Looks like this code is never compiled, hah.
7 years ago
Vladimír Vondruš
b1abf4d507
doc: unify this line with other projects.
7 years ago
Vladimír Vondruš
be0bce8ded
Audio: ffs, MSVC.
7 years ago
Vladimír Vondruš
e15fb8c907
package/archlinux: burn through more code paths in coverage build.
7 years ago