d36086f3d2- update to 2.0.10: * sprite: moving Sprites is now about 35% faster (as tested on R5 5600X) * gui: Add TextEntry.focus property to allow programmatic focus control * gui: Allow set TextEntry.width and TextEntry.height * Window: Add experimental Window.get_clipboard_text and Window.set_clipboard_text methods * experimental: Add new pyglet.experimental package for easier wider testing of new ideas * experimental: Add geoshader_sprite.py that is more complex, but faster than the standard Sprite * experimental: Add net module with Server/Client proof of concept * tests: Add new interactive spot test to visually confirm shapes are working as expected * shapes: Move rotate functionality to ShapeBase class, and allow all shapes to rotate * VertexDomain: bind all buffers to VAO in __init__, and avoid binding each draw * gl.Context: Add a new cached Context.create_program method to assist in shader reuse * examples.model.fpscamera: fix drifting input, and other improvements * contrib.qt_sprite_preview.py: Modify to allow using either PySide2 or PyQt5 (#959) * examples: Carry over the soundspace example (#972) * media: The "Silent" audio driver now behaves more like a real driver * text: Add RGB color setter fallback for HTML labels, assumingDirk Mueller2023-12-14 21:37:20 +00:00
a185255b5aAccepting request 1117152 from devel:languages:pythonAna Guerrero2023-10-12 21:41:43 +00:00
6cc2dcf138Accepting request 1117038 from home:dimstar:FactoryDirk Mueller2023-10-12 09:16:55 +00:00
19278c10b9Accepting request 1107855 from devel:languages:pythonAna Guerrero2023-08-30 08:20:43 +00:00
d2182403df- Update to 2.0.9: * Changes and Improvements + Initialize AudioDriver when media module is imported, prevent pause on first sound playback. + New TextureArrayBin class for managing TextureArray based atlases. + text: Caret supports RGBA color, in line with other pyglet objects. + gui: Add alpha value to the Caret's default color. + shapes: Allow checking if a point is in a shape, using the in operator + Add missing OpenGL extensions + Add support for FFmpeg 6.0 + Sprite width & height properties are now settable, allowing scaling by pixels + app: Passing None to pyglet.app.run will disable automatic Window redraws. + window: Add a Window.draw method to help when manually scheduling Window redraws. + shapes: Add a border thickness setter to BorderedRectangle * Bugfixes + Fix numerous bugs remaining with IncrementalTextLayout, with translation, caret, etc. #786 + shader: add missing sampler type definitions. + Fix broken struct format strings in png and ttf decoders. + text: Clear Group cache when a Layout's Group is changed. + Fix incorrect string formatting in the timer.py example. + input: ensure Xinput controllers dispatch events on the main thread * Switch to pyproject macros. * Remove unneeded futures module from {Build,}Requires.Steve Kowalik2023-08-29 06:53:54 +00:00
c537a871f1- update to 2.0.5: * 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). * 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.Dirk Mueller2023-05-04 19:34:47 +00:00
2bd05a65c6- delete pyglet-1.2.4-fix-image-import.patch - Update to 2.0.4 - 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. - 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 - 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. - 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. - fixed font_comparison.py example.Daniel Garcia2023-02-23 11:51:05 +00:00
4ce96f668fAccepting request 1010265 from home:yarunachalam:branches:devel:languages:pythonDirk Mueller2022-10-13 06:56:16 +00:00
7a4350e550Accepting request 989684 from devel:languages:pythonRichard Brown2022-07-19 15:19:09 +00:00
42fb12c8ed- update to 1.5.26: * Windows - Backport WIC codec changes from 2.0 * Fix library loading when passing multiple library names. * Windows - Prevent ImportError when attempting to load more than one DLL version. * Add initial support for FFmpeg 5.0 * Windows - The GDI font renderer now supports Unicode font names. * Windows - Fix on_resize event not dispatched when set_size is called. * Documentation updates, fixed links, and corrections. * Windows - Fix crash when font characters are more than one codepoint in length.Dirk Mueller2022-07-17 08:13:46 +00:00
3df59a8e39- update to 1.5.15: - 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.Dirk Mueller2021-03-08 09:10:56 +00:00
dfe24ab208- update to 1.5.14: - Fix interlaced mp3 decoding in GStreamer backend. - Skip functions marked as OBJC_ARM64_UNAVAILABLE for new ARM Macs. - Add a WaveEncoder for saving audio Sources to disk. - 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. - Add new shape.Triangle shape. - Windows: on_key_press now dispatches unique events for left/right Shift keys. - Remove usage of deprecated parser module. (#312) - Removed some legacy Python 2 code from the documentation. - Fix library loading on OSX Big Sur. Currently this only works with the system version of Python. Non OSX system versions will not yet work, - 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) - Add new Xaudio2 driver. (#288) - Refactor pyglet's lazy module loading to better support code inspection. - Added new TextEntry widget. - Added new experimental gui module. Currently this only contains basic widgets. - Added new Group.visible property, to toggle rendering of entire Groups when used in a Batch. - Added Sprite.paused and Sprite.frame_index helper properties for controlling Animations. - Reorganized the examples folder. - Added new CenteredCamera example. - Backport pyglet.math from 2.0, for more exposure and testing. - Consolidate Codec logic into base class to reuse among various modules.Dirk Mueller2021-01-28 23:16:13 +00:00