Vladimír Vondruš
32fe5ead80
package/ci: drop Gitter webhook notifications.
...
It never really worked, was either too verbose or too quiet, and now it
404s on AppVeyor.
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š
6be3566e9b
package/homebrew: make this work on ARM Macs as well.
...
Thank you, Homebrew! FFS!
5 years ago
James Murphy
40ba765fad
Don't error if path is already fullpath
...
copyfile raises a SameFileError if the source and destination are the same. In this case, the error should be ignored.
5 years ago
Vladimír Vondruš
dda78038be
doc: updated changelog.
5 years ago
Aaron Gokaslan
c50a2f6851
python: add bindings for convenience color functions.
...
Co-authored-by: Vladimír Vondruš <mosra@centrum.cz>
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š
8f733ca8db
python: properly expose gl.Context.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š
9f08717e77
python: fixed a copypaste error in MouseMoveEvent.relative_position.
...
It returned the same as position, sigh.
5 years ago
Aaron Gokaslan
c7897429af
python: don't pass potentially huge types by value.
5 years ago
Vladimír Vondruš
7ede64e7d4
python: whoopsie.
...
A lot of them. Though, unlike with the C++ side, I still don't think
writing exhaustive tests for all these accessors is worth the time
spent.
5 years ago
Vladimír Vondruš
5c2cad1461
package/ci: curses, lots of curses.
5 years ago
Vladimír Vondruš
dfb44e98ca
doc: updated credits and changelog.
5 years ago
Aaron Gokaslan
31785426d8
Typo fixing
5 years ago
Aaron Gokaslan
a42018d075
python: don't carelessly copy py::args and py::kwargs.
5 years ago
Vladimír Vondruš
7f86477c3e
Adapt to Magnum changes.
5 years ago
Vladimír Vondruš
2fec9c1e5e
Enable a bunch of useful CMake policies.
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š
0bf27c07f2
python: I don't understand this comment. Remove.
5 years ago
Vladimír Vondruš
8e00226da3
python: add a caster for Containers::Optional.
5 years ago
Vladimír Vondruš
ba4e20006a
python: adapt to GL::TextureFormat updates.
5 years ago
Vladimír Vondruš
98a3dcf59c
python: basic support for arbitrary types in strided array views.
...
Not ArrayView yet, and also no documentation on this whatsoever. That'll
come next. Also not everything works with arbitrary types yet,
converting from buffer protocol doesn't remember the format and
conversion to bytes doesn't take the actual type size into account
either.
5 years ago
Vladimír Vondruš
805a781f0a
python: adapt to GL::Context changes.
5 years ago
Vladimír Vondruš
cbb5358efd
python: apparently I can't name functions from(), hah.
5 years ago
Vladimír Vondruš
a2d16c15f8
python: expose Platform::GLContext as platform.{egl,wgl,glx}.Context.
...
Turning the link-time decision to a runtime decision. Crazily enough
this seems to work with no duplicate symbol issues (apart from having
to expose a function-local subclass).
5 years ago
Vladimír Vondruš
c51928c07e
python: expose gl.Context.
...
It's a bit involved as we need to ensure that gl.Context.current doesn't
outline the Application instance, so we need to:
- remember the Application object when it gets constructed (and clear
it again when it gets destructed)
- in gl.Context.current check if there's an active Application (which
means sharing data across two different Python modules, and even
though pybind11 docs suggest to "simply export a symbol", this
*cannot* possibly work in practice; instead we share data using a
Python capsule), and increase its refcount when returning the Context
instance
- decrease the Application refcount again when the Context gets
destructed
5 years ago
Vladimír Vondruš
84f9bb2a9d
Updated copyright year.
5 years ago
Vladimír Vondruš
ac8491a619
modules: updated dependency modules.
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š
3a82b18566
modules: use if(IN_LIST) from CMake 3.4.
...
And add a dependency-handling code for when this might get useful. For
consistency.
5 years ago
Vladimír Vondruš
32b4c3dcff
doc: updated credits and changelog.
5 years ago
Vladimír Vondruš
177ea859d8
package/homebrew: a patch to make 2020.06 compile with latest pybind.
5 years ago
John Laxson
e64a27e156
package/homebrew: use std_cmake_args.
5 years ago
Vladimír Vondruš
2b7a1af397
python: make it possible to get py::object from a raw void*/type pair.
5 years ago
Vladimír Vondruš
05e0bb764a
Test: prefix VersionTest with repo name to avoid conflicts.
...
Would break due to a conflicting target name / executable in subproject
setups that enable BUILD_TESTS.
5 years ago
Vladimír Vondruš
52f2073ff9
package/ci: we don't need ShaderTools here.
5 years ago
Vladimír Vondruš
5dad3bb8af
package/ci: note to self: don't use CIRCLE_WORKING_DIRECTORY ever again.
5 years ago
Vladimír Vondruš
c6699187cb
package/ci: apparently 4 GB RAM is not enough FOR MODERN C++ FFS.
5 years ago
Vladimír Vondruš
fa81020de7
package/ci: migrate to CircleCI.
5 years ago
Vladimír Vondruš
372c5e0065
doc: updated credits and changelog.
6 years ago
Vladimír Vondruš
15bee01a04
Update README and docs for travis-ci.com migration.
6 years ago
Aaron Gokaslan
41b720e44c
Apply clang-tidy performance fixes
6 years ago
Vladimír Vondruš
4bb19e0b3f
python: re-add an inverse of pybind11 2.2.4 workarounds for 2.6.
...
Sigh. AMAZING how they can break one thing twice in a span of a year
and a half.
This reverts commit aae98e0f02 .
6 years ago
Vladimír Vondruš
57db13422f
python: make this compatible with pybind11 2.6.
...
Pybind changed py::module to py::module_ in order to support C++
modules, adapting to that change. It still builds on older versions,
but we're using only the new APIs.
6 years ago