Skip to content

Releases: pyglet/pyglet

v1.5.21

16 Sep 13:44
Compare
Choose a tag to compare

Features

  • A new MovableFrame that allows repositioning Widgets when a specified key modifier is held.
  • Text Layouts now have opacity and visible attributes, similar to Sprites.
  • Add new shapes.Ellipse class.

Bugfixes

  • Xlib - don't enable certain Window options if transparency is not enabled. (#454)
  • Windows - Fix issue with some fonts where glyphs overhanging their advance would be cut off.

v1.5.20

08 Sep 03:51
Compare
Choose a tag to compare

Features

  • Experimental support for transparent and overlay windows on Linux and Windows.
  • Shapes - Allow rotation and changing of border color for the BorderedRectangle.

Bugfixes

  • Xlib - Fix the mouse Y position being off by 1-pixel.
  • Windows - Fix gapless audio playback on the XAudio2 backend.

v1.5.18

23 Jun 08:10
Compare
Choose a tag to compare

Bugfixes

  • If XAudio2 device creation fails, catch exception so that the next driver can be tried.
  • Fix dangling file pointers in GStreamer decoder.
  • Expose font.name attribute to show the font family name.
  • Un-associate queued Source from a deleted Player instance (#256)
  • Fix circular import when trying to create a Windows in 'headless' mode.
  • Un-associate StreamingSources from deleted Player instances (#256)
  • Update pypng lib to avoid deprecated functions (#405)

v1.5.17

21 May 06:11
Compare
Choose a tag to compare

Bugfixes

  • FFmpeg decoder add FF_INPUT_BUFFER_PADDING_SIZE to buffers.
  • Add missing DI8DEVTYPE_SUPPLEMENTAL joystick device type.
  • Fix bool clamping causing crash with DirectWrite text decoder.

Maintenance

  • Change IncrementalTextLayout to use glScissor instead of glClipPlane.
  • Raise warning on Window creation if the GPU drivers do not support OpenGL 2.0

Features

  • Add a new shapes.Star shape.

v1.5.16

13 Apr 10:01
Compare
Choose a tag to compare

Bugfixes

  • 3d model obj decoder supports multiple material types
  • Fix GStreamerSources not being garbage collected #283
  • Fix ScrollableTextLayout not respecting anchors/alignment.

Features

  • New DirectWrite based font loader. Enable with pyglet.options["advanced_font_features"] = True
  • Add position property to Text Layouts, to mimic other classes.

v1.5.15

09 Feb 07:52
Compare
Choose a tag to compare

Bugfix and maintenance release

Bugfixes

  • shapes.Circle segment calculation will always use a minimum of 14 segments.
  • shapes.Arc is now made from line segments, and by default has unconnected ends.
  • Windows - Use the internal keystate to determine the mod shift rather than relying on GetKeyState
    which relies on another event that may be called after WM_INPUT.

Maintenance

  • Various Headless backend and EGL work.

v1.5.14

31 Dec 13:15
Compare
Choose a tag to compare

Bugfixes

  • Fix interlaced mp3 decoding in GStreamer backend.
  • Skip functions marked as OBJC_ARM64_UNAVAILABLE for new ARM Macs.

Features

  • Add a WaveEncoder for saving audio Sources to disk.

v1.5.13

18 Dec 06:21
Compare
Choose a tag to compare

Bugfixes

  • Fix crash on looping video with no sound (#322)
  • OSX: Replace remaining usage of find_library to fix Big Sur issues (#332)
  • Windows: Fix default orientation for the XAudio2 listener.

Features

  • Add new shape.Triangle shape.
  • Windows: on_key_press now dispatches unique events for left/right Shift keys.

v1.5.11

19 Nov 00:57
Compare
Choose a tag to compare

Bugfixes

  • Added hardcoding of library paths for Big Sur temporary fallback.
  • Removed some legacy Python 2 code from the documentation.

v1.5.9

09 Nov 13:08
Compare
Choose a tag to compare

Bugfixes

  • Explicitly cast media.synthesis data to bytes to prevent issues on some audio drivers.
  • Refactor WIC module to work with new com module. (#298)
  • Prevent crash when setting shapes.Circle.visable. (#294)
  • Remove deprecated tostring calls in PIL/PNG decoders to prevent crash on Python 3.9. (#295, #302)

Improvements

  • Add new Xaudio2 driver. (#288)
  • Refactor pyglet's lazy module loading to better support code inspection.
  • Added new TextEntry widget.