Vladimír Vondruš
aadd07dad6
python: expose pluginmanager.AbstractManager.set_preferred_plugins().
...
It used to take an initializer list, not anymore. Will test this better
once I have to build e.g. AssimpImporter for some other reason -- then I
can use this function to prefer it for loading glTFs and see how that
manages.
3 years ago
Vladimír Vondruš
12dbfc56c8
python: expose essentials of utility.ConfigurationGroup.
...
Need that for configuring plugins -- originally thought I'd wait until
the class is reworked, but that isn't coming anytime soon given there's
insane pressure on other things, so I have to figure out a plan B.
The interface is the most barebones possible, exposing nothing that I'd
later plan to rename or remove. Just the least possible amount of APIs
to make it possible to configure plugins, and no custom type support yet
either -- if you need to write a vector, write it as a formatted string
instead, sorry.
To make it possible to test the APIs in isolation instead of through
the plugin interface, I added also a Configuration class. Also just the
least amount possible to cover the code with tests.
3 years ago
Vladimír Vondruš
c83c1fcc4f
CMake: make it possible to use <PackageName>_ROOT to locate dependencies.
3 years ago
Vladimír Vondruš
e59f8445f8
doc: updated changelog.
3 years ago
Vladimír Vondruš
d75f31e854
python: expose new linear RGB(A) conversion APIs from Color.
3 years ago
Vladimír Vondruš
c78cc3fd13
python: expose the BUILD_DEPRECATED constants as well.
...
Ugh, I thought I would never need them but then there are plugin
features depending on this and it's A MESS.
3 years ago
Vladimír Vondruš
56dd4b4a36
python: updated changelog.
3 years ago
Vladimír Vondruš
2bc0748c05
doc: updated changelog.
3 years ago
Vladimír Vondruš
9bce5cfea7
doc: mention how to upgrade HEAD Homebrew packages.
4 years ago
Vladimír Vondruš
50c7f1294a
doc: there already *is* a stable version.
...
It's just half a century old.
4 years ago
Stanislaw Halik
585d136777
CMake: fix test build when Magnum is not in a shared include path.
4 years ago
Vladimír Vondruš
7a47c41eb7
doc: updated changelog.
4 years ago
Vladimír Vondruš
bce7509e87
python: expose also platform.*.Application.dpi_scaling.
...
For some reason only window and framebuffer size was exposed but not
this. Made DPI-aware calculations impossible to do.
4 years ago
Vladimír Vondruš
c4105cb052
doc: update changelog.
4 years ago
Vladimír Vondruš
9e8b846418
doc: updated changelog.
4 years ago
Vladimír Vondruš
c72d7146b5
doc: forgot to list the Developers Guide among pages.
4 years ago
Vladimír Vondruš
732a0b795a
doc: add a checklist for adding a new Python module.
...
Because there's a lot of places and I somehow mess that up regularly.
4 years ago
Vladimír Vondruš
1d662bcd48
CMake: add a MAGNUM_PYTHON_BINDINGS_STATIC_PLUGINS CMake option.
...
Similar to the new options for Magnum command-line utilities.
4 years ago
Vladimír Vondruš
f4b5d915d9
python: bind also the vector shaders.
...
Last missing piece for the Python text example.
4 years ago
Vladimír Vondruš
9b60dd30b0
python: fix inconsistencies in bound Flat and Phong feature sets.
...
Phong has instancing and texture transformation so Flat should have that
too. Also fixed a bunch of doc omissions; there's no need to bind the
POSITION attribute the hard way either.
4 years ago
Vladimír Vondruš
e6fdfd7d8e
python: expose the essentials from the Text library.
...
Everything needed to make a Python variant of the Text example. The
Oxygen.ttf font file is the same as in MagnumPlugins/FreeTypeFont/Test
in the magnum-plugins repository.
4 years ago
Vladimír Vondruš
737ec6c415
Prefix all CMake options with MAGNUM_*.
4 years ago
Vladimír Vondruš
24f2242842
doc: updated changelog.
4 years ago
Vladimír Vondruš
9d916eeae6
Don't use git://.
4 years ago
Vladimír Vondruš
c2e2a8e520
python: expose basics of trade.AbstractSceneConverter.
4 years ago
Vladimír Vondruš
da21863ac7
python: exposed basics of trade.AbstractImageConverter.
4 years ago
Vladimír Vondruš
ca4a35e78c
doc: updated changelog.
4 years ago
Vladimír Vondruš
2295f43873
Updated copyright year.
4 years ago
Vladimír Vondruš
ae23365869
Bye, Travis! You won't be missed.
4 years ago
Vladimír Vondruš
0eade80567
python: expose RGB<->XYZ conversion utilities.
...
I just needed to calculate expected output for a doc snippet, that's
all.
4 years ago
Vladimír Vondruš
7dc03d59aa
doc: updated changelog and credits.
4 years ago
Vladimír Vondruš
0120b3f768
python: add remaining vector/scalar, exp and other math functions.
...
Except for binomial coefficient, there the asserts are hard to replicate
and would need a change on Magnum side.
4 years ago
Vladimír Vondruš
24921c7409
Doc++
4 years ago
Vladimír Vondruš
5994150a68
python: expose glfw.Application.{swap_interval,main_loop_iteration}.
...
The first one was for some reason not exposed because it's a write-only
property (but all shaders have writeonly properites, so what's the
problem?), the second one got added in 2020.06 but the code here was not
updated.
5 years ago
Vladimír Vondruš
2a528e23bf
python: doc++, updated credits & changelog.
5 years ago
Vladimír Vondruš
dda78038be
doc: updated changelog.
5 years ago
Vladimír Vondruš
4d5a9ed456
python: expose viewport and exit event.
...
And also a possibility to make the window resizable on startup,
otherwise the viewport event gets never triggered.
5 years ago
Vladimír Vondruš
18ea028c8a
python: fix InputEvent.Modifier to behave like proper flags.
5 years ago
Vladimír Vondruš
48b94ffd19
python: doc++
...
Apparently I didn't even attempt to build the docs for quite a while.
5 years ago
Vladimír Vondruš
d66b581e73
python: add off-center variants of 2D/3D orthographic projection.
...
Which also fixes the build against latest Magnum master, as the
overloads are now ambiguous.
5 years ago
Vladimír Vondruš
1417d59b6c
doc: updated changelog with latest fixes.
5 years ago
Vladimír Vondruš
dfb44e98ca
doc: updated credits and changelog.
5 years ago
Vladimír Vondruš
aadc437b25
python: added Vector4 from Vector3 and Vector3 from Vector2 constructors.
...
Not sure why I missed those.
5 years ago
Vladimír Vondruš
431074a776
python: adapt to GL shader renaming.
5 years ago
Vladimír Vondruš
8e00226da3
python: add a caster for Containers::Optional.
5 years ago
Vladimír Vondruš
cbb5358efd
python: apparently I can't name functions from(), hah.
5 years ago
Vladimír Vondruš
84f9bb2a9d
Updated copyright year.
5 years ago
Vladimír Vondruš
b63ae43f1e
modules: provide additional info about not found components on CMake 3.16.
5 years ago
Vladimír Vondruš
32b4c3dcff
doc: updated credits and changelog.
5 years ago
Vladimír Vondruš
372c5e0065
doc: updated credits and changelog.
6 years ago