1. pygame
  2. pygame
  3. pygame

Commits

Author Commit Message Date Builds
Lenard Lindstrom
The Surface.get_view now properly exposes contiguous bytes as a buffer This implements the '0' Surface.get_view argument.
Lenard Lindstrom
The Surface.get_view now properly exposes raw bytes as a buffer For the '&' argument value, the buffer length is the size of the entire surface buffer, including padding bytes. _view.BufferProxy also exports the old buffer interface for Python 2.x.
Lenard Lindstrom
Shorten some static names local to the _view.c C module. The "proxy_" prefix exists to avoid conflicts with external function names. This prefix need not be descriptive or start with '_', just unique. The "surf_" prefix in surface.c is a precedent.
Lenard Lindstrom
Add pygame.bufferproxy.Bufferproxy compatibility option to pygame.Surface.get_view() The Surface.get_view() option '&' returns a pygame._view.BufferProxy instance exposing the surface data as raw bytes. The _view.BufferProxy still needs to be updated to properly expose those bytes. The docs for Surface.get_view are updated to describe the completed method before is replaces Surface.get_buffer.
Lenard Lindstrom
Give the pygame._view.BufferProxy callback hooks more convensional names. The words "prelude" and "postscript" are replaced with "before" and "after".
Lenard Lindstrom
Shorten some pygame._view indentifiers. Save all of 3 characters per name.
Lenard Lindstrom
White space cleanup on pygame._view related files
Lenard Lindstrom
Refactor some identifiers as part of BufferProxy replacement Replace "view" with "bufferproxy" in the pygame._view extension module. Make the necessary updates to pygame.Surface and the unit tests.
Lenard Lindstrom
Port pygame.bufferproxy.BufferProxy properties to pygame._view.View. Enable View subclassing. For backward compatibility, add __dict__, raw, and length properties to pygame._view.View. Since the BufferProxy dictionary (__dict__) is for use by BufferProxy subclass instances, also allow View to be subclassed.
Lenard Lindstrom
bring in Python 3.3 support
Lenard Lindstrom
Fold Pygame changes since new buffer protocol branch started.
Lenard Lindstrom
Add new buffer interface to pygame._view.View, and update Surface.get_view. For Python 3.x, pygame._view.View now exposes a new buffer interface. Internally, View now stores a Py_buffer. This makes it comparable to a Python memoryview. However, View also takes callbacks that support buffer creation and release event. This enables explicit control of Surface locking through the View proxy. This is a preliminary commit. The changes build with Python 3.3. However, further b…
Lenard Lindstrom
For Surface.get_view, move surface locking to View object A surface is locked when an array interface is exported, not when the View is created. Also, the capsule is created by the View object when needed, rather than being passed to the View constructor. This is in preparation to adding the new buffer interface to View.
Lenard Lindstrom
Add __array_interface__ to _view.view object
Lenard Lindstrom
Remove some gcc 4.7.2 compiler warnings
illume
path fix for docs
illume
path fix for docs
illume
Moved the jquery.plugin.docscomments.js into the theme static dir. Separate search button, so if comments json not there searches work.
illume
Doc fixes for code example blocks, so it does not fill up entire width.
illume
A couple of it's fixes. Thanks Sean Wolfe.
illume
Fixing the padding on html docs, so that the page is not width + 0.5ems, but content has padding instead.
Paul Craven
Documentation updates to display, draw, joystick, and sprite.
Lenard Lindstrom
fix Python3.3 compatibility issue with makeref.py
Paul Craven
Fix setup file to properly call input() or raw_input() depending on the python version.
Thomas Kluyver
Use numpy.testing.assert_almost_equal in math_test, to handle limitations of floating point accuracy.
Thomas Kluyver
Minor tweaks to tests
illume
Merged in takluyver/pygame/docs-changes (pull request #19: More changes to the docs)
Thomas Kluyver
Ignore Sphinx-generated files
Branches
docs-changes
Thomas Kluyver
Forget more Sphinx-generated files
Branches
docs-changes
Thomas Kluyver
Don't duplicate title on home page. This is a hack, but I can't see the right way to do it.
Branches
docs-changes
  1. Prev
  2. Next