Tue, 22 Sep 2020 05:03:51 +0300video/fbcon: Allow exiting without clearing the SDL-1.2
Paul Cercueil [Tue, 22 Sep 2020 05:03:51 +0300] rev 14047
video/fbcon: Allow exiting without clearing the
framebuffer
By setting the environment variable SDL_FBCON_DONT_CLEAR, the
application won't clear the framebuffer when exiting.

We use it inside an app launcher, which will set this variable before
exiting, in order for the loading screen to stay visible until the
launched application takes hand.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
src/video/fbcon/SDL_fbvideo.c | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)

Tue, 22 Sep 2020 05:03:51 +0300video/fbcon: Clear framebuffer at init SDL-1.2
Paul Cercueil [Tue, 22 Sep 2020 05:03:51 +0300] rev 14046
video/fbcon: Clear framebuffer at init
When the video subsystem is initialized, the framebuffer might not be in
the video mode that the application targets. In that case, if we don't
clear the framebuffer, for a short moment the display will show the
previous image distorded by the mode change.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
src/video/fbcon/SDL_fbvideo.c | 3 +++
1 file changed, 3 insertions(+)

Tue, 22 Sep 2020 05:03:51 +0300video/fbcon: Fix double buffering with non-fullscreen SDL-1.2
Paul Cercueil [Tue, 22 Sep 2020 05:03:51 +0300] rev 14045
video/fbcon: Fix double buffering with non-fullscreen
resolution
If an exact resolution match is not found, SDL will accept a higher
resolution and add black bars around it. For example, when 320x200 is
requested by only 320x240 is available, it will add 20 black lines on
the top and the bottom of the screen. The surface that SDL returns to
the application will look like it actually got 320x200.

When double buffering, the actual video mode's height should be used
instead of the height before adding the black borders. For the pixel
pointer this was done correctly, but for the vertical panning offset
the wrong height was used.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
src/video/fbcon/SDL_fbvideo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Tue, 22 Sep 2020 05:03:51 +0300joystick/linux: Allow for custom joystick names SDL-1.2
Paul Cercueil [Tue, 22 Sep 2020 05:03:51 +0300] rev 14044
joystick/linux: Allow for custom joystick names
When not using the old Linux input event interface, SDL parses the
name of a device to know what it's capable of. It expects the
name to match the following string: "Analog %d-axis %d-button %d-hat".

This patch allows to use devices with a custom name.
For instance: "My Joystick Device (Analog 2-axis 6-button 2-hat)"

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
src/joystick/linux/SDL_sysjoystick.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

Tue, 22 Sep 2020 05:03:50 +0300joystick/linux: Enhance detection of gamepads SDL-1.2
Paul Cercueil [Tue, 22 Sep 2020 05:03:50 +0300] rev 14043
joystick/linux: Enhance detection of gamepads
Detect gamepads that use a D-pad instead of an analog stick.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
src/joystick/linux/SDL_sysjoystick.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Mon, 21 Sep 2020 22:19:29 +0100riscos: Fix off-by-one issues with mouse coordinates SDL-1.2
Cameron Cawley [Mon, 21 Sep 2020 22:19:29 +0100] rev 14042
riscos: Fix off-by-one issues with mouse coordinates

Sun, 20 Sep 2020 20:47:59 +0100riscos: Add support for additional mouse events SDL-1.2
Cameron Cawley [Sun, 20 Sep 2020 20:47:59 +0100] rev 14041
riscos: Add support for additional mouse events

Sat, 19 Sep 2020 14:01:57 -0400jack: Fixed memory leak on device close.
Ryan C. Gordon [Sat, 19 Sep 2020 14:01:57 -0400] rev 14040
jack: Fixed memory leak on device close.

Wed, 16 Sep 2020 22:20:02 +0300ac_check_define.m4: remove stray AC_DEFINE outside of the macro definition
Ozkan Sezer [Wed, 16 Sep 2020 22:20:02 +0300] rev 14039
ac_check_define.m4: remove stray AC_DEFINE outside of the macro definition

cf.: bug #5234 -- generated configure script does not change.

Wed, 16 Sep 2020 08:00:20 +0300ac_check_define.m4: AC_REQUIRE([AC_PROG_CPP]) -- fixes bug #5234.
Ozkan Sezer [Wed, 16 Sep 2020 08:00:20 +0300] rev 14038
ac_check_define.m4: AC_REQUIRE([AC_PROG_CPP]) -- fixes bug #5234.