Vladimír Vondruš
74767f4db4
Bump minimal CMake version to 3.5 to silence a CMake 3.27 warning.
3 years ago
Vladimír Vondruš
cec30658ed
modules: updated FindCorrade and FindMagnum.
3 years ago
Vladimír Vondruš
2b09a43f99
python: ugh, once again hit the "let's interpret an int as enum" bug.
3 years ago
Vladimír Vondruš
46d6777315
doc: update copyright year in site footer as well.
3 years ago
Vladimír Vondruš
9950b9fca4
python: adapt to Magnum changes re MeshData morph target support.
3 years ago
Vladimír Vondruš
305fdf81ee
It's 2023 already!
3 years ago
Vladimír Vondruš
0a2488d474
modules: updated Find modules from Corrade and Magnum.
3 years ago
Vladimír Vondruš
12230c93b8
python: update some test TODOs.
3 years ago
Vladimír Vondruš
85e8fae9b8
python: expose compressed image APIs in AbstractImageConverter.
3 years ago
Vladimír Vondruš
c9515bbd1d
python: exposed CompressedImage and ImageView classes.
3 years ago
Vladimír Vondruš
f9473638fc
python: turns out documenting function overloads *is* possible.
...
Some documentation content was already using this, I just completely
forgot it was there. Heh.
3 years ago
Vladimír Vondruš
f9d1fdecf3
package/archlinux: adapt to lcov 2.0 changes.
3 years ago
Vladimír Vondruš
6d473cf2aa
python: expose various pixel format helpers.
3 years ago
Vladimír Vondruš
7c78ee34a0
python: expose the CompressedPixelFormat enum.
...
And related Trade::ImageData APIs.
3 years ago
Vladimír Vondruš
6d8ab441e8
python: expose the new expanded() API on strided (bit) array views.
...
Not collapsed() yet, as it has the return type depending on the count
parameter, and I'm not yet decided how to express that here.
3 years ago
Vladimír Vondruš
5747d58049
python: expose 2D image APIs in AbstractSceneConverter.
3 years ago
Vladimír Vondruš
f7c026fbd3
python: expose image-to-image ImageConverter APIs as well.
3 years ago
Vladimír Vondruš
d1a7a7c6c8
python: convert more Trade assertions to Python exceptions.
3 years ago
Vladimír Vondruš
0858c844e8
python: minor, doc++
3 years ago
Vladimír Vondruš
229ec2cb18
python: the WHAT was done in the test here and then copied 100 times?
3 years ago
Vladimír Vondruš
cfaa484147
python: test SceneData mutable access failures now that it's possible.
3 years ago
Vladimír Vondruš
738c3f8d38
python: improve test coverage for new SceneConverter APIs.
3 years ago
Vladimír Vondruš
05fad9ccdd
python: expose scene-related APIs in AbstractSceneConverter.
3 years ago
Vladimír Vondruš
8d9d7d3230
python: expose scenetools.{parents_breadth,children_depth}_first().
3 years ago
Vladimír Vondruš
561ba51805
python: test the remaining scenetools assertion now that we can.
3 years ago
Vladimír Vondruš
3b799fcad9
python: expose scenetools.filter_objects().
3 years ago
Vladimír Vondruš
f83c2cb1aa
python: expose scenetools.filter_field_entries().
3 years ago
Vladimír Vondruš
b3517b0411
python: doc++
3 years ago
Vladimír Vondruš
4be2d4d9c0
python: expose scenetools.filter_fields(), filter_{only,except}_fields().
3 years ago
Vladimír Vondruš
d8b98c2057
python: expose the new meshtools.filter_attributes() as well.
3 years ago
Vladimír Vondruš
8dec36ff3d
python: adapt MeshTools filter test comments to Magnum updates.
...
What was "not implenented yet" before is now a documented behavior.
3 years ago
Vladimír Vondruš
2373d2dc9e
python: BitArray is implicitly convertible to [Mutable]BitArrayView.
...
Which makes the constructor of a StridedArrayView from a BitArray
redundant.
3 years ago
Vladimír Vondruš
104c337f10
python: drop containers binding helpers that are only for a single type.
...
Can just add those APIs directly without a helper.
3 years ago
Vladimír Vondruš
d6fec89dc5
python: workaround gl.Context.current blowing up during doc generation.
3 years ago
Vladimír Vondruš
b5557a94cd
package/archlinux: use Ninja Multi-Config for the dev PKGBUILD.
...
So I have at least some semi-convenient way to switch to a debug build
in order to debug a strange crash or assertion.
3 years ago
Vladimír Vondruš
b78d809d10
python: put PyPluginHolder into a public header as well.
...
Will need it for exposing Trade::AbstractImporter instances returned
from SceneTools.
3 years ago
Vladimír Vondruš
949820b01a
python: adapt to SceneTools and MeshTools changes.
...
Breaking changes, sorry. Also remade the SceneTools hierarchy test to
not be that much redundant -- the name- and ID-based overloads can be
tested together.
3 years ago
Vladimír Vondruš
ee284aa4aa
python: expose Application cursor setup and warping.
3 years ago
Vladimír Vondruš
8ee4ed882c
CMake: enter the Corrade/Containers directory unconditionally.
...
The Python-specific conditionals are inside as well.
3 years ago
Vladimír Vondruš
007fe23731
python: support bit field access in SceneData.
3 years ago
Vladimír Vondruš
0091fc97d4
python: haha whoops?
3 years ago
Vladimír Vondruš
94d26a25e5
python: expose all [Mutable][Strided]BitArray[View] APIs.
3 years ago
Vladimír Vondruš
fc716799b8
python: clarify a test comment.
...
I completely forgot out-of-bounds slices were silently accepted.
3 years ago
Vladimír Vondruš
4fe21deaaf
python: document and test error cases in "fancy" strided view APIs.
...
Changed those to be IndexError instead of ValueError, since those are
indexing dimensions. Plus added a new check for broadcasted dimension
size as otherwise it'd blow up on a C++ assert.
3 years ago
Vladimír Vondruš
16cb94a338
python: use flipped() instead of every() with a negative number.
...
That's the way to go forward, StridedBitArrayView doesn't accept signed
numbers in every() anymore. Also extracted the slicing code to external
helpers in order to avoid duplication. Those will get reused in
[Strided]BitArray[View] bindings as well.
3 years ago
Vladimír Vondruš
69f859a579
python: no need to prefix a test class with Test.
...
Only the functions need to be prefixed.
3 years ago
Vladimír Vondruš
b70001f6c0
python: don't be lazy and name container API arguments.
3 years ago
Vladimír Vondruš
ba1c92d7f0
python: reduce code duplication for StridedArrayView bindings.
...
It's made in a way that'll allow most of this to be reused for bit
arrays as well.
3 years ago
Vladimír Vondruš
6298ca29fd
python: add implicit DLL search paths on Windows, if they exist.
...
This should make self-contained builds *actually* working out-of-the
box, without having to fiddle with PATH or nasty copying of all DLLs
somewhere inside a Python installation.
3 years ago
Vladimír Vondruš
8b30876304
python: expose Corrade's utility.copy().
...
Because having to pull in the whole numpy just to efficiently copy some
data around is *silly*.
3 years ago