windows.key: add support for extended function keys
Windows now uses "Apartment Threaded" mode for better compatibility with other libraries.
image: allow blanking newly created Textures (skipped by default when creating from image).
Bugfixes
input.macos: Fix ControllerManager hot-plugging on macOS.
font.windows: Fix 32bit crashes with DirectWrite font backend.
math: Fix incorrect calculation in Mat4.look_at method.
image: Fix blitting from regions, caused by invalid unpacking settings.
pyglet 2.0.4
Changes and Improvements
input.win32: ControlManager now supports both DirectInput and XInput devices.
input: Many cleanups and reorganization.
math: Add Vec2.reflect method.
shapes: Add new BezierCurve shape.
gl: Add support for GL sync functions.
Bugfixes
gui: Prevent two TextEntry widgets from being active at the same time. #747
win32: Fix broken lib debug, and multiple related bugs due to depreacted functions.
input: Controller mappings now indexed correctly on macOS and Windows.
pyglet 2.0.3
Changes and Improvements
shapes: Batch and Group can now be changed on shapes after instantiation, similar to Sprites.
font: DirectWrite & Freetype fonts now expose a filename attribute. macOS not yet implemented.
Windows: DirectWrite fonts parse font names in a more correct manner. Setting pyglet.options['dw_legacy_naming']
to True will restore the old behavior, but this may be removed at a later date.
math: Vec types can now be updated with slices (velocity[:] = 1, 2)
math: Matrix operations now behave more like GLSL.
Bugfixes
macOS: fix crash when supplying OpenGL Config without explicit major/minor versions #739
To prevent crashing on many OpenGL drivers, Textures are no longer initialized with empty data.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on pyglet to permit the latest version.
Release notes
Sourced from pyglet's releases.
Changelog
Sourced from pyglet's changelog.
... (truncated)
Commits
d089c2a
Ready v2.0.5 release.5a65964
Merge remote-tracking branch 'origin/master'c68e147
Add missing xkbcommon struct.60bebb4
Various fixes for DirectInput event handling (#782)3c0d028
image: Skip blanking a Texture when creating it directly from an Image.078e8f7
Fix blitting with regions (#781)64fb3ef
Update qt_sprite_preview.py9b9e1cc
Update qt_sprite_preview.py41c7719
Switch main COM mode to STA instead of MTA. (#778)794e23c
Fix Mat4.look_at by properly normalizing vector.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)