Commits

Author Commit Message Labels Comments Date
illume
Another fix for #93 where x or y were less than 0.
illume
[BUG] Fixes #93. Where oversized input rect would not work with surf.fill special flags like BLEND_ADD
Lenard Lindstrom
Ensure Surface reference count bug fix (changeset 3705fa59dd5b) actually works. Add unit test to confirm that the view instance returned by Surface.get_view releases its reference count on the parent surface. Thanks Christoph Gohlke for reporting the problem on the Pygame mailing list.
Lenard Lindstrom
Fix Surface instance reference count bug when a Surface.get_view() is garbage collected. Add an extra surface Py_DECREF to remove the new reference returned by PgView_GetParent().
Len...@lind7608.Belkin
Fix memory leak with with pygame.surfarray.pixels3d - thanks Christopher Night The Surface.get_view() method was not decrementing the reference count of the newly created cobject (capsule) after creating the new view.
illume
cursors.compile got black and white mixed up for making cursors. Thanks to Chaitanya Talnikar for the patch. Fixes #8
illume
Moving the readme.txt into readme.rst which generates the html version. Used rst2html readme.rst > readme.html to convert Fixes #74.
illume
Added note about how events should be used from the main thread. Fixes #56
illume
Fixes #43. Memory leak in pygame.image.save with png files, in the imageext.c write_png function. Thanks Winston Ewert for the patch. Thanks Jonathan Berry, and Marco Lettere for work on the bug.
illume
fixing indentation of config_darwin.py
illume
Font.render can set backgound to None. Fixes #49. Thanks John and Marco Chieppa!
illume
Adding an SDL include so that _numericsurfarray.c can compile on more machines.
illume
imported pygame._view in the __init__ so that py2exe can find it.
illume
float96 not available on all numpy versions
illume
camera module for OS X broken on Lion
Lenard Lindstrom
Let _numpysurfarray.blit_array and make_surface methods accept float arrays ( closes #81 ) As requested, surfarray once again excepts numpy arrays with a float dtype. Float values are rounded to int with the numpy.rint ufunc. In Pygame 1.9.1, floats were simply truncated.
Lenard Lindstrom
Remove experimental _freetype.Face methods Methods get_transformation, set_transformation, and delete_transformation were part of an attempt to generalize the rotation and oblique transforms. The provided an interface to a common transformation matrix. As it is, the rotation and oblique transforms involve more than than just applying a matrix multiplication on a glyph outline. This is too complicated to be worth exploring right now. It wou…
Lenard Lindstrom
Add top level freetype Python modules ( refs #75 ) Rename the freetype extension module. Add freetype Python module to combine _freetype and sysfont functionality. Add ftfont Python module as a freetype drop-in replacement for pygame.font. The module defines Font, a _freetype.Face subclass that emulates class font.Font.
Lenard Lindstrom
Add pygame.freetype.Face.render_raw_to method and enhance render_raw (refs #75) The render_raw_to method draws glyphs in an array object exporting the array struct interface. The render_raw method now has an 'invert' argument, which makes the foreground alpha transparent, background opaque. Additional unit tests needed.
Lenard Lindstrom
Centralize common array struct interface operations in the _view module Add a C level api to _view: Pg_GetArrayInterface(PyObject *, PyObject **, PyArrayInterface **), a function to retrieve a PyArrayInterface C struct from an object, and Pg_ArrayStructAsDict(PyArrayInterface *), a function to convert a PyStructInterface value into a Python array interface dict instance. Also add a Python level _view module method, get_array_interface(obj), for unit testing of array s…
illume
Added a test for event over flow. Seems to pass now. For test #67
illume
Buffer overflow in event_str. Fixes #67 Thanks Tom Knight.
illume
fixes #71
illume
When running under X11, always set the SDL window WM_CLASS to make the window managers correctly match the pygame window. Thanks Marco Trevisan, and the ubuntu patches.
illume
Adde environment variable which can override include directories. Used by ubuntu and debian.
illume
Update link in tutorial. Thanks to the Ubuntu patches.
illume
do not need the authormap anymore
illume
SysFont fix for if there is only italics for a font. "In the patch I've removed the while loop, since it has no effect (other than to potentially cause infinite loops). In the case that neither the request style nor the default style (no bold and no italic) is available, it defaults to an arbitrary style that does exist. It then sets gotbold and gotitalic as appropriate (these are flags that determine whether fake bolding or italicizing should be do…
cgohlke
Fix test_set_italic
Lenard Lindstrom
Bug fix: Issue 2 - Surface.subsurface segfault
  1. Prev
  2. Next