Marcus von Appen avatar Marcus von Appen committed bf16b18

- changed state size of the sdl2.events.SDL_MouseMotionEvent

Comments (0)

Files changed (3)

 ============
 This describes the latest changes between the PySDL2 releases.
 
+0.4.0
+-----
+Released on 2013-XX-XX.
+
+* issue #1: fixed libc loading for cases where libc.so is a ld script
+
 0.3.0
 -----
 Released on 2013-05-07.
                 ("timestamp", Uint32),
                 ("windowID", Uint32),
                 ("which", Uint32),
-                ("state", Uint8),
-                ("padding1", Uint8),
-                ("padding2", Uint8),
-                ("padding3", Uint8),
+                ("state", Uint32),
                 ("x", Sint32),
                 ("y", Sint32),
                 ("xrel", Sint32),

sdl2/test/surface_test.py

             for fmt in pixels.ALL_PIXELFORMATS:
                 if pixels.SDL_ISPIXELFORMAT_FOURCC(fmt):
                     continue
-                if fmt in (pixels.SDL_PIXELFORMAT_RGB332,
-                           pixels.SDL_PIXELFORMAT_ARGB2101010):
-                    # SDL2 segfault in the DUFFS_LOOOP() macros
+                if fmt == pixels.SDL_PIXELFORMAT_ARGB2101010 or \
+                   idx == pixels.SDL_PIXELFORMAT_ARGB2101010:
+                    # segfault in the DUFFS_LOOP() and DISEMBLE_RGBA() macros
                     # http://bugzilla.libsdl.org/show_bug.cgi?id=1534
                     continue
                 bpp = c_int()
             for fmt in pixels.ALL_PIXELFORMATS:
                 if pixels.SDL_ISPIXELFORMAT_FOURCC(fmt):
                     continue
-                if fmt in (pixels.SDL_PIXELFORMAT_RGB332,
-                           pixels.SDL_PIXELFORMAT_ARGB2101010):
-                    # SDL2 segault in the DUFFS_LOOP() macros
+                if fmt == pixels.SDL_PIXELFORMAT_ARGB2101010 or \
+                   pfmt == pixels.SDL_PIXELFORMAT_ARGB2101010:
+                    # segfault in the DUFFS_LOOP() and DISEMBLE_RGBA() macros
                     # http://bugzilla.libsdl.org/show_bug.cgi?id=1534
                     continue
                 bpp = c_int()
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.