Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Console View

Legend:   Passed Failed Warnings Failed Again Running Exception Offline No data

Sam Lantinga
Fixed compiler warning on Android
Ryan C. Gordon
stdinc: On macOS and iOS, use memset_pattern4() for SDL_memset4().

Fixes Bugzilla #4724.
Ozkan Sezer
backport fix for #3733 - Makefile sleeps 3s if configure is out of date

(default branch commit 946452867)
Sylvain Becker
SDL_windowsmessagebox.c: remove unused variable
Ozkan Sezer
test: replace some exit()s with returns.
Cameron Cawley
riscos: implement SDL_WM_IconifyWindow()
Ozkan Sezer
make SDL_qsort.c to actually link (missing SDL_stdinc.h include)

also sync its comments with version 1.15 from mainstream
Sylvain Becker
Fixed bug 3918 - HIDAPI, CMake support for android project
Sam Lantinga
Fixed Windows relative mouse coordinates when capturing the mouse over RDP
Ozkan Sezer
updated Watcom makefiles
Sylvain Becker
Android: minor warning
Sam Lantinga
SDL_blit_N.c: Correct vec_perm() application on little-endian 64-bit PowerPC

The LE transformation for vec_perm has an implicit assumption that the
permutation is being used to reorder vector elements (in this case 4-byte
integer word elements), not to reorder bytes within those elements.  Although
this is legal behavior, it is not anticipated by the transformation performed
by the compilers.

This causes pygame-1.9.1 test failure on PPC64LE because blitted pixmaps are
corrupted there due to how SDL uses vec_perm().

From RedHat / Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1392465
Original patch was provided by: Menanteau Guy <menantea@linux.vnet.ibm.com>
Sam Lantinga
Fixed bug where the Steam overlay would generate an event and stop input processing for the frame.
Sylvain Becker
SDL_bmp.c: remove unused variable warnings
Sam Lantinga
x11: add a hint to force the VisualID used when creating a window.
Sam Lantinga
Allow mouse messages from Wacom pens, e.g. right click pen buttons, etc.
Ozkan Sezer
fix permissions
Ryan C. Gordon
direct3d: Be more aggressive about resetting state when textures go away.

Fixes Bugzilla #4768.
Sylvain Becker
Android: fix corresponding warnings
Sylvain Becker
LoadBMP: use code from SDL_image which allows loading compressed BMP files
Ozkan Sezer
SDL_ataridevmouse.c (SDL_AtariDevMouse_Open): fix which seems like a typo

... although it's disabled code.
Sam Lantinga
Fixed bug 4536 - Heap-Buffer Overflow in SDL_GetRGB pertaining to SDL_pixels.c

Ozkan Sezer

As for the issue: This bmp reports bpp=0, therefore SDL_CalculatePitch()
returns pitch==0, which is then fed to SDL_malloc() (which is malloc())
and malloc(0) returns _something_ which is not NULL but not someting
that we expect..  Then testsprite.c:LoadSprite() accesses the pixels
as *(Uint8*)pixels which valrind reports as:

==15533== Invalid read of size 1
==15533==    at 0x8048C08: LoadSprite (testsprite.c:45)
==15533==    by 0x80492FC: main (testsprite.c:224)
==15533==  Address 0x449e588 is 0 bytes after a block of size 0 alloc'd
==15533==    at 0x40072B2: malloc (vg_replace_malloc.c:270)
==15533==    by 0x4045719: SDL_CreateRGBSurface (SDL_surface.c:126)
==15533==    by 0x40403C1: SDL_LoadBMP_RW (SDL_bmp.c:237)
==15533==    by 0x8048BB2: LoadSprite (testsprite.c:36)
==15533==    by 0x80492FC: main (testsprite.c:224)

Besides, valrind also reports this:
==15533== Conditional jump or move depends on uninitialised value(s)
==15533==    at 0x40403F3: SDL_LoadBMP_RW (SDL_bmp.c:247)
==15533==    by 0x8048BB2: LoadSprite (testsprite.c:36)
==15533==    by 0x80492FC: main (testsprite.c:224)


Easy/quick solution would be early-rejecting a bmp with 0 bpp from SDL_bmp.c:SDL_LoadBMP_RW()
Sam Lantinga
SDL_blit_N.c: Correct vec_perm() application on little-endian 64-bit PowerPC

The LE transformation for vec_perm has an implicit assumption that the
permutation is being used to reorder vector elements (in this case 4-byte
integer word elements), not to reorder bytes within those elements.  Although
this is legal behavior, it is not anticipated by the transformation performed
by the compilers.

This causes pygame-1.9.1 test failure on PPC64LE because blitted pixmaps are
corrupted there due to how SDL uses vec_perm().

From RedHat / Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1392465
Original patch was provided by: Menanteau Guy <menantea@linux.vnet.ibm.com>
Sylvain Becker
Android: add more warning flags
Ozkan Sezer
os/2 bits for SDL_malloc.c (in case we need it some day)
Ozkan Sezer
configure, darwin: favor -faltivec over -maltivec. don't -faltivec for others.
Ryan C. Gordon
d3d11: Fixed VB state, avoiding unnecessary recreation (Thanks, Alex!).

Fixes Bugzilla #4779.
Ozkan Sezer
use 'U' suffix on constants instead of (unsigned int) cast.
Ozkan Sezer
SDL_windowsevents.c: remove isVistaOrNewer (not used since 8254c364ec4a)
Conn O'Griofa
KMSDRM_GLES_SwapWindow: fix non-vsync case
If KMSDRM_drmModeSetCrtc is called when the swap interval is
set to 0, the driver behaves as though vertical sync is engaged by
limiting framerate to the refresh rate, but performance is much worse
than with vertical sync enabled.

Resolve this issue by ensuring that the Crtc is only set up once,
and KMSDRM_drmModePageFlip is called, albeit without any followup
queueing or waiting for flips.
Sam Lantinga
Don't have Windows headers define min/max, in case they're defined by application code
Cameron Cawley
riscos: send SDL_APPACTIVE events when iconizing the window
Sam Lantinga
Fixed bug 4789 - Linux accelerometers no longer available as joysticks

Daniel Drake

A long time ago, it was possible to play neverball on Linux using the accelerometer found in HP laptops.

The kernel exposes the accelerometer as a joystick (/dev/input/jsX) as well as an evdev device (/dev/input/eventX). I guess it worked fine when SDL was using the js interface, but then stopped working here: http://hg.libsdl.org/SDL/rev/fdaeea9e7567

Looking at current code which uses udev to discover joysticks, it looks for the udev tag ID_INPUT_JOYSTICK.

However udev's internal input_id logic specifically tags accelerometers as ID_INPUT_ACCELEROMETER and nothing else.

This looks like a good fit for SDL_HINT_ACCELEROMETER_AS_JOYSTICK.
Ozkan Sezer
updated docs for changes so far.
Ozkan Sezer
SDL_bmp.c: reject bmp files with zero bpp

Fixes:  https://bugzilla.libsdl.org/show_bug.cgi?id=4536
(2.0 commit: https://hg.libsdl.org/SDL/rev/6203d73874ab)
Ozkan Sezer
SDL_bmp.c: restore most of the original formatting.
Ozkan Sezer
backport fix for bug 2360 - Wrong -rpath setting includes DESTDIR

Marcus von Appen

The LT_LDFLAGS in Makefile.in contain the $(DESTDIR) in -rpath, which instructs libtool to take a wrong path into account for linking.

The issue arises, if DESTDIR is passed at build time and installation time.
-rpath only should use $(libdir) for both SDL 1.2 and SDL 2.x.

(default branch commit a153a5c6d)
Sylvain Becker
Fixed bug 4798 - PNG w/transparency breaks in SDL 2.0.10 but works in SDL 2.0.9
Sylvain Becker
LoadBMP: fix some warnings
Cameron Cawley
Fix spelling of RISC OS in the changelog