File python-PySDL2.changes of Package python-PySDL2
-------------------------------------------------------------------
Mon Mar 7 12:28:48 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to 0.9.11
* Added bindings for new functions and constants introduced in
SDL2 2.0.20
* Major improvements to the ext.pixelaccess module
* Major rewrite of the ext.image module
* New object-oriented method of rendering with sdl2.ext.Renderers
using the new sdl2.ext.Texture class
* Major expansion and rewrite of the sdl2.ext.Renderer class
* New powerful sdl2.ext.FontTTF class for font rendering
* Redocumented most of the sdl2.ext modules for better clarity
and maintainability
* Deprecated a number of sdl2.ext modules and functions
- Renamed package to match the openSUSE python packaging guidelines
(PyPi package name)
-------------------------------------------------------------------
Sat Oct 22 12:26:00 UTC 2016 - aloisio@gmx.com
- Update to 0.9.5
* updated :mod:`sdl2` to include the latest changes of SDL2
(release 2.0.5)
* fixed issue #94: added support for TrueType font
collection (TTC) files
* fixed issue #80: added flip and rotation support for
TextureSprite objects
* renamed :attr:`sdl2.ext.Renderer.renderer` attribute to
:attr:`sdl2.ext.Renderer.sdlrenderer`. The `renderer`
attribute is deprecated and will be removed in a later
version.
0.9.4
* updated :mod:`sdl2` to include the latest changes of SDL2
(release 2.0.4)
* updated :mod:`sdl2.sdlttf` to include the latest changes
of SDL_ttf (release 2.0.14)
* new :attr:`sdl2.ext.Renderer.logical_size` attribute to
set or retrieve the logical pixel size of a renderer
* fixed issue #48: be more noisy about DLL loading issues
* fixed issue #65: misleading documentation for
:meth:`sdl2.ext.Renderer.draw_line()`
* fixed issue #67: Return a proper error code, when
unittests running as subprocesses fail
* fixed issue #72: :func:`sdl2.video.SDL_GL_DrawableSize()`
not available on import
* fixed issue #76: define missing SDL_PRESSED and
SDL_RELEASED constants
* fixed issue #82: examples/gui.py fails due to an
attribute error
* fixed issue #83: fix compatibility with newer PIL
versions in :func:`sdl2.ext.image.load_image()`
* fixed issue #84: The setter of
:attr:`sdl2.ext.Renderer.scale` works properly now
* fixed issue #85: fix environment-dependent unit tests
* fixed issue #87: fix incorrect MIX_INIT_* constants in
:mod:`sdl2.sdlmixer`
* fixed issue #88: use PILs `Image.tobyte()instead of the
deprecated `Image.tostring()`
* fixed horizontical and vertical line drawing in
:func:`sdl2.ext.line()`
* fixed a bug in :meth:`sdl2.ext.Renderer.draw_line()` for
odd numbers of points
* dropped IronPython support
0.9.3
* updated :mod:`sdl2` to include the latest changes of SDL2
(HG)
* new :attr:`sdl2.ext.Renderer.scale` attribute, which
denotes the horizontal and vertical drawing scale
* new :func:`sdl2.ext.point_on_line()` function to test, if
a point lies on a line segment
* PYSDL2_DLL_PATH can contain multiple paths separated by
:attr:`os.pathsep` to search for the libraries now
* :func:`sdl2.ext.get_image_formats()` only returns BMP
image support now, if SDL2_image and PIL are not found
* :func:`sdl2.ext.load_image()` tries to use
:func:`sdl2.SDL_LoadBMP()` now, if SDL2_image and PIL are
not found
* fixed issue #55:
:meth:`sdl2.SDL_GameControllerAddMappingsFromFile()` does
not raise a TypeError for Python 3.x anymore
* fixed issue #56: :meth:`sdl2.ext.Renderer.draw_line()` and
:func:`sdl2.ext.Renderer.draw_point()` handle multiple
lines (or points) as arguments properly now
* fixed issue #57: if SDL2_image is not installed and PIL
is used, the loaded pixel buffer of the image file is not
referenced anymore after returning
from :func:`sdl2.ext.load_image()`, causing random
segmentation faults
* fixed issue #58: raise a proper error,
if :meth:`sdl2.ext.FontManager.render()` could not render
a text surface
* fixed issue #59: The
:attr:`sdl2.ext.TextureSpriteRenderSystem.sdlrenderer`
attribute is correctly documented now
* fixed a local variable and module name collision in
:meth:`sdl2.ext.FontManager.render()`
0.9.2
* fixed issue #32: the line clipping algorithms do not run
into precision errors anymore
* fixed issue #53 (again):
:func:`sdl2.video.SDL_GL_ResetAttributes()`
is properly wrapped now to retain backwards compatibility
with previous SDL2 releases
* fixed issue #54: text input is correctly converted for
the text entry component
* updated the example BMP files, which could not be loaded
properly on some systems with SDL2_image and PIL
0.9.1
* fixed issue #50: corrected the
:func:`sdl2.ext.load_image()` documentation
* fixed issue #52: :meth:`sdl2.ext.Renderer.fill()`,
:meth:`sdl2.ext.Renderer.draw_rect()` and
:meth:`sdl2.ext.Renderer.draw_point()` convert sequences
correctly now
* fixed issue #53: provide backwards compatibility for
previous SDL2 releases by adding a wrapper func for
:func:`sdl2.cpuinfo.SDL_HasAVX()`
0.9.0
**IMPORTANT: This release breaks backwards-compatibility.
See the notes for the issues #36 and #39.**
* updated :mod:`sdl2` to include the latest changes of SDL2
(release 2.0.3)
* new :func:`sdl2.ext.subsurface()` function to create
subsurfaces from :class:`sdl2.SDL_Surface` objects
* new :func:`sdl2.ext.SoftwareSprite.subsprite()` method to
create :class:`sdl2.ext.SoftwarSprite` objects sharing
pixel data
* the unit test runner features a `--logfile` argument now
to safe the unit test output to a file
* issues #36, #39: the different render classes of
sdl2.ext.sprite were renamed
+ the ``sdl2.ext.RenderContext`` class was renamed to
:class:`sdl2.ext.Renderer` to be consistent with with
SDL2's naming scheme
+ ``sdl2.ext.SpriteRenderer`` was renamed to
:class:`sdl2.ext.SpriteRenderSystem`
+ ``sdl2.ext.SoftwareSpriteRenderer`` was renamed to
:class:`sdl2.ext.SoftwareSpriteRenderSystem`
+ ``sdl2.ext.TextureSpriteRenderer`` was renamed to
:class:`sdl2.ext.TextureSpriteRenderSystem`
+ ``sdl2.ext.SpriteFactory.create_sprite_renderer()`` was
renamed to :meth:`sdl2.ext.SpriteFactory.create_sprite_render_system()`
* fixed :func:`sdl2.audio.SDL_LoadWAV()` macro to provide
the correct arguments
* fixed issue #44: use a slightly less confusing
``ValueError``, if a renderer argument for the
:class:`sdl2.ext.SpriteFactory` is not provided
* fixed issue #43: improved the code reference for the
improved bouncing section in the docs
* fixed issue #40: typo in a ``RuntimeWarning`` message on
loading the SDL2 libraries
* fixed issue #38: the points arguments of
:meth:`sdl2.ext.Renderer.draw_points()` are properly
documented now
* fixed issue #37: :func:`sdl2.SDL_GetRendererOutputSize()`
is now acccessible via a wildcard import
* fixed issue #35: download location is now mentioned in
the docs
* fixed issue #12: remove confusing try/except on import in
the examples
0.8.0
* updated PD information to include the CC0 dedication,
since giving software away is not enough anymore
* updated :mod:`sdl2` to include the latest changes of SDL2
(HG)
* fixed a wrong C mapping of :func:`sdl2.rwops.SDL_FreeRW()`
* fixed various issues within the :class:`sdl2.ext.BitmapFont`
class
* issue #26: :attr:`sdl2.SDL_AudioSpec.callback` is a
:func:`SDL_AudioCallBack` now
* issue #30: the SDL_Add/DelHintCallback() unittest works
with PyPy now
* issue #31: :func:`sdl2.sdlmixer.SDL_MIXER_VERSION()`
returns the proper version now
-------------------------------------------------------------------
Mon Oct 28 17:35:41 UTC 2013 - prusnak@opensuse.org
- created package (version 0.7.0)