Source

pygame / test / pixelarray_test.py

Author Commit Message Labels Comments Date
Lenard Lindstrom
all standard modules build with Python 3.1. Optional movie module adapted. setup.py skips unsupported files for Python 3
Lenard Lindstrom
test suite now pygame.tests subpackage as well
akalias
Made all unimplemented tests use todo_test_xxxx naming and updated the __doc__'s. Run's only implemented tests by default.
akalias
made trunk/test a package, added in python2.5 version of unittest as test.unittest.
akalias
removed command line options for individual test_modules, use run_tests.py module --flags to run individual module with options ( fail incomplete etc ). Less conflict with unittest command line parser.
akalias
Added a redirect stderr/stdout mode to test runner. Only output unittest results and not test noise
marcus
Fixed sequence assignments for x and y axes.
Lenard Lindstrom
Fixed memory leak in pixelarray.c:_array_assign_sequence
akalias
Added in many test stubs, hopefully some test faeries will fill some of them out.
marcus
Added PixelArray.compare().
marcus
Added weight support to PixelArray.extract() and PixelArray.replace().
marcus
Changed PixelArray.extract() to return a new PixelArray mask instead of performing an in place operation.
marcus
Added PixelArray.extract() method.
marcus
Added PixelArray.replace() method. Moved pixelarray methods into an own source file.
marcus
Added iter support to the PixelArray class.
marcus
Added subscript support and make_surface() method to PixelArray.
marcus
Changed various PixelArray loops for mappings. Fixed 2.4 compatibility issues introduced with rev. 1153.
marcus
Fixed 24bpp access in PixelArray.
marcus
Fixed array assignments in PixelArray.
marcus
Improved PixelArray docs, unittests and example
marcus
Fixed PixelArray slice assignment.
marcus
Fixed bufferproxy stringifcation method. Fixed PixelArray's contains() method.
marcus
Fixed exception messages in PixelArray. Added unit tests for PixelArray. Fixed doc strings for PixelArray.
marcus
Added 24-bit support to PixelArray class. Fixed 8 and 16-bit support.
marcus
Added pygame.scrap unittest. scrap.set_mode() raises an exception on wrong modes now. Minor pixelarray unittest changes.
illume
some test changes and fixes for win32 from Marcus.
illume
Changes from Marcus. Added get_buffer() methods to Surface, and Sound. Added a BufferProxy - which is a buffer interface only class. Remember to change your Setup file - maybe just delete it if you have made no changes to it as there is a new .c file.
illume
A PixelArray class, which is meant to replace surfarray. It acts as a buffer for surface data. Written by Marcus. It's not quite complete, but basic functionality is implemented.