Please try this with your games and applications and report any issues to
bugzilla: https://bugzilla.libsdl.org
In addition to lots of bug fixes and build improvements, here are the major
changes in this release:
General:
Implemented audio capture support for some platforms
Added SDL_DequeueAudio() to retrieve audio when buffer queuing is turned
on for audio capture
Added events for dragging and dropping text
Added events for dragging and dropping multiple items
By default the click raising a window will not be delivered to the SDL
application. You can set the hint SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH to "1"
to allow that click through to the window.
Saving a surface with an alpha channel as a BMP will use a newer BMP
format that supports alpha information. You can set the hint
SDL_HINT_BMP_SAVE_LEGACY_FORMAT to “1” to use the old format.
Added SDL_GetHintBoolean() to get the boolean value of a hint
Added SDL_RenderSetIntegerScale() to set whether to smoothly scale or use
integral multiples of the viewport size when scaling the rendering output
Added SDL_CreateRGBSurfaceWithFormat() and
SDL_CreateRGBSurfaceWithFormatFrom() to create an SDL surface with a
specific pixel format
Added SDL_GetDisplayUsableBounds() which returns the area usable for
windows. For example, on Mac OS X, this subtracts the area occupied by the
menu bar and dock.
Added SDL_GetWindowBordersSize() which returns the size of the window’s
borders around the client area
Added a window event SDL_WINDOWEVENT_HIT_TEST when a window had a hit
test that wasn’t SDL_HITTEST_NORMAL (e.g. in the title bar or window frame)
Added SDL_SetWindowResizable() to change whether a window is resizable
Added SDL_SetWindowOpacity() and SDL_GetWindowOpacity() to affect the
window transparency
Added SDL_SetWindowModalFor() to set a window as modal for another window
Added support for AUDIO_U16LSB and AUDIO_U16MSB to SDL_MixAudioFormat()
Fixed flipped images when reading back from target textures when using
the OpenGL renderer
Fixed texture color modulation with SDL_BLENDMODE_NONE when using the
OpenGL renderer
Fixed bug where the alpha value of colorkeys was ignored when blitting in
some cases
Windows:
Added a hint SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING to prevent SDL from
raising a debugger exception to name threads. This exception can cause
problems with .NET applications when running under a debugger.
The hint SDL_HINT_THREAD_STACK_SIZE is now supported on Windows
Fixed XBox controller triggers automatically being pulled at startup
The first icon from the executable is used as the default window icon at
runtime
Fixed SDL log messages being printed twice if SDL was built with C
library support
Reset dead keys when the SDL window loses focus, so dead keys pressed in
SDL applications don’t affect text input into other applications.
Mac OS X:
Fixed selecting the dummy video driver
The caps lock key now generates a pressed event when pressed and a
released event when released, instead of a press/release event pair when
pressed.
Fixed mouse wheel events on Mac OS X 10.12
The audio driver has been updated to use AVFoundation for better
compatibility with newer versions of Mac OS X
Linux:
Added support for the Fcitx IME
Added a window event SDL_WINDOWEVENT_TAKE_FOCUS when a window manager
asks the SDL window whether it wants to take focus.
Refresh rates are now rounded instead of truncated, e.g. 59.94 Hz is
rounded up to 60 Hz instead of 59.
Added initial support for touchscreens on Raspberry Pi
iOS:
Added support for dynamically loaded objects on iOS 8 and newer
tvOS:
Added support for Apple TV
Added a hint SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION to control whether
he Apple TV remote’s joystick axes will automatically match the rotation of
the remote.
Android:
Fixed SDL not resizing window when Android screen resolution changes
Corrected the joystick Z axis reporting for the accelerometer
Please try this with your games and applications and report any issues
Unless I’m doing something silly, it appears that the Mac OS-X framework is again 64-bit only, rather than a universal 32/64-bit binary. I’m getting the following error from Xcode: “SDL2.framework/SDL2, file is not of required architecture”. Can somebody else confirm this?
Sam Lantinga wrote:
Please try this with your games and applications and report any issues
Unless I’m doing something silly, it appears that the Mac OS-X framework
is again 64-bit only, rather than a universal 32/64-bit binary. I’m
getting the following error from Xcode: “SDL2.framework/SDL2, file is
not of required architecture”. Can somebody else confirm this?
I can confirm that.
Please supply a 32/64bit universal binary, 32bit support is still very
useful (for old 32bit only Hardware and for codebases that are not
64bit clean).
I’m working on the MacOsX Hatari port. With SDL 2.0.5 on Mac (10.11), no
more sound, no more keyboard… Was working with 2.0.4, at least with
a personnal built I made from sources some weeks ago.
J. VERNET
Le 12/10/2016 ? 09:12, Sam Lantinga a ?crit :> Thanks to all the people who contributed code and feedback, SDL 2.0.5
Please try this with your games and applications and report any issues
to bugzilla: https://bugzilla.libsdl.org
In addition to lots of bug fixes and build improvements, here are the
major changes in this release:
General:
Implemented audio capture support for some platforms
Added SDL_DequeueAudio() to retrieve audio when buffer queuing is
turned on for audio capture
Added events for dragging and dropping text
Added events for dragging and dropping multiple items
By default the click raising a window will not be delivered to the
SDL application. You can set the hint
SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH to “1” to allow that click through
to the window.
Saving a surface with an alpha channel as a BMP will use a newer BMP
format that supports alpha information. You can set the hint
SDL_HINT_BMP_SAVE_LEGACY_FORMAT to “1” to use the old format.
Added SDL_GetHintBoolean() to get the boolean value of a hint
Added SDL_RenderSetIntegerScale() to set whether to smoothly scale
or use integral multiples of the viewport size when scaling the
rendering output
Added SDL_CreateRGBSurfaceWithFormat() and
SDL_CreateRGBSurfaceWithFormatFrom() to create an SDL surface with a
specific pixel format
Added SDL_GetDisplayUsableBounds() which returns the area usable for
windows. For example, on Mac OS X, this subtracts the area occupied by
the menu bar and dock.
Added SDL_GetWindowBordersSize() which returns the size of the
window’s borders around the client area
Added a window event SDL_WINDOWEVENT_HIT_TEST when a window had a
hit test that wasn’t SDL_HITTEST_NORMAL (e.g. in the title bar or
window frame)
Added SDL_SetWindowResizable() to change whether a window is resizable
Added SDL_SetWindowOpacity() and SDL_GetWindowOpacity() to affect
the window transparency
Added SDL_SetWindowModalFor() to set a window as modal for another
window
Added support for AUDIO_U16LSB and AUDIO_U16MSB to SDL_MixAudioFormat()
Fixed flipped images when reading back from target textures when
using the OpenGL renderer
Fixed texture color modulation with SDL_BLENDMODE_NONE when using
the OpenGL renderer
Fixed bug where the alpha value of colorkeys was ignored when
blitting in some cases
Windows:
Added a hint SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING to prevent SDL
from raising a debugger exception to name threads. This exception can
cause problems with .NET applications when running under a debugger.
The hint SDL_HINT_THREAD_STACK_SIZE is now supported on Windows
Fixed XBox controller triggers automatically being pulled at startup
The first icon from the executable is used as the default window
icon at runtime
Fixed SDL log messages being printed twice if SDL was built with C
library support
Reset dead keys when the SDL window loses focus, so dead keys
pressed in SDL applications don’t affect text input into other
applications.
Mac OS X:
Fixed selecting the dummy video driver
The caps lock key now generates a pressed event when pressed and a
released event when released, instead of a press/release event pair
when pressed.
Fixed mouse wheel events on Mac OS X 10.12
The audio driver has been updated to use AVFoundation for better
compatibility with newer versions of Mac OS X
Linux:
Added support for the Fcitx IME
Added a window event SDL_WINDOWEVENT_TAKE_FOCUS when a window
manager asks the SDL window whether it wants to take focus.
Refresh rates are now rounded instead of truncated, e.g. 59.94 Hz is
rounded up to 60 Hz instead of 59.
Added initial support for touchscreens on Raspberry Pi
iOS:
Added support for dynamically loaded objects on iOS 8 and newer
tvOS:
Added support for Apple TV
Added a hint SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION to control
whether he Apple TV remote’s joystick axes will automatically match
the rotation of the remote.
Android:
Fixed SDL not resizing window when Android screen resolution changes
Corrected the joystick Z axis reporting for the accelerometer
I’m running Mac OS X 10.11. Can you post a link to something I can test
with?
Thanks!On Wed, Oct 12, 2016 at 12:59 PM, Jerome Vernet <vernet.jerome at wanadoo.fr> wrote:
Hi,
I’m working on the MacOsX Hatari port. With SDL 2.0.5 on Mac (10.11), no
more sound, no more keyboard… Was working with 2.0.4, at least with a
personnal built I made from sources some weeks ago.
Please try this with your games and applications and report any issues to
bugzilla: https://bugzilla.libsdl.org
In addition to lots of bug fixes and build improvements, here are the
major changes in this release:
General:
Implemented audio capture support for some platforms
Added SDL_DequeueAudio() to retrieve audio when buffer queuing is turned
on for audio capture
Added events for dragging and dropping text
Added events for dragging and dropping multiple items
By default the click raising a window will not be delivered to the SDL
application. You can set the hint SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH to
"1" to allow that click through to the window.
Saving a surface with an alpha channel as a BMP will use a newer BMP
format that supports alpha information. You can set the hint
SDL_HINT_BMP_SAVE_LEGACY_FORMAT to “1” to use the old format.
Added SDL_GetHintBoolean() to get the boolean value of a hint
Added SDL_RenderSetIntegerScale() to set whether to smoothly scale or
use integral multiples of the viewport size when scaling the rendering
output
Added SDL_CreateRGBSurfaceWithFormat() and SDL_
CreateRGBSurfaceWithFormatFrom() to create an SDL surface with a specific
pixel format
Added SDL_GetDisplayUsableBounds() which returns the area usable for
windows. For example, on Mac OS X, this subtracts the area occupied by the
menu bar and dock.
Added SDL_GetWindowBordersSize() which returns the size of the window’s
borders around the client area
Added a window event SDL_WINDOWEVENT_HIT_TEST when a window had a hit
test that wasn’t SDL_HITTEST_NORMAL (e.g. in the title bar or window frame)
Added SDL_SetWindowResizable() to change whether a window is resizable
Added SDL_SetWindowOpacity() and SDL_GetWindowOpacity() to affect the
window transparency
Added SDL_SetWindowModalFor() to set a window as modal for another window
Added support for AUDIO_U16LSB and AUDIO_U16MSB to SDL_MixAudioFormat()
Fixed flipped images when reading back from target textures when using
the OpenGL renderer
Fixed texture color modulation with SDL_BLENDMODE_NONE when using the
OpenGL renderer
Fixed bug where the alpha value of colorkeys was ignored when blitting
in some cases
Windows:
Added a hint SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING to prevent SDL from
raising a debugger exception to name threads. This exception can cause
problems with .NET applications when running under a debugger.
The hint SDL_HINT_THREAD_STACK_SIZE is now supported on Windows
Fixed XBox controller triggers automatically being pulled at startup
The first icon from the executable is used as the default window icon at
runtime
Fixed SDL log messages being printed twice if SDL was built with C
library support
Reset dead keys when the SDL window loses focus, so dead keys pressed in
SDL applications don’t affect text input into other applications.
Mac OS X:
Fixed selecting the dummy video driver
The caps lock key now generates a pressed event when pressed and a
released event when released, instead of a press/release event pair when
pressed.
Fixed mouse wheel events on Mac OS X 10.12
The audio driver has been updated to use AVFoundation for better
compatibility with newer versions of Mac OS X
Linux:
Added support for the Fcitx IME
Added a window event SDL_WINDOWEVENT_TAKE_FOCUS when a window manager
asks the SDL window whether it wants to take focus.
Refresh rates are now rounded instead of truncated, e.g. 59.94 Hz is
rounded up to 60 Hz instead of 59.
Added initial support for touchscreens on Raspberry Pi
iOS:
Added support for dynamically loaded objects on iOS 8 and newer
tvOS:
Added support for Apple TV
Added a hint SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION to control whether
he Apple TV remote’s joystick axes will automatically match the rotation of
the remote.
Android:
Fixed SDL not resizing window when Android screen resolution changes
Corrected the joystick Z axis reporting for the accelerometer
Emscripten (running in a web browser):
Many bug fixes and improvements
SDL mailing listSDL at lists.libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Fixed, thanks!On Wed, Oct 12, 2016 at 11:25 AM, Daniel Gibson wrote:
On 12.10.2016 14:59, rtrussell wrote:
Sam Lantinga wrote:
Please try this with your games and applications and report any issues
Unless I’m doing something silly, it appears that the Mac OS-X framework
is again 64-bit only, rather than a universal 32/64-bit binary. I’m
getting the following error from Xcode: “SDL2.framework/SDL2, file is
not of required architecture”. Can somebody else confirm this?
I can confirm that.
Please supply a 32/64bit universal binary, 32bit support is still very
useful (for old 32bit only Hardware and for codebases that are not 64bit
clean).
Hi,
?
Hre is a link to hatari Website: https://hatari.tuxfamily.org/download.html
?
Sources should be up to date. Sound problem happen only under certain conditions, but keyboard problem always. That very curious, because it was working some weeks ago…
?
Jerome Vernet
?
?
?
?
?
?
Message du 13/10/16 04:00
Copie ? :
I’m running Mac OS X 10.11. Can you post a link to something I can test with?
Thanks!
?> De : “Sam Lantinga”
A : "SDL Development List"
Objet : Re: [SDL] SDL 2.0.5 PRERELEASE
can anyone confirm that calling SDL_RenderSetIntegerScale(renderer,
SDL_TRUE) on a software
surface triggers a divide by zero error in the pre-release?
SDL_Surface *sf = SDL_CreateRGBSurface(0, 100, 100, 32, 0xFF000000,
0x00FF0000, 0x0000FF00, 0x000000FF);
SDL_Renderer r = SDL_CreateSoftwareRenderer(sf);
int ret = SDL_RenderSetIntegerScale(renderer, SDL_TRUE); / triggers
divide by zero */
Hatari do not receive any SDL_KEYDOWN or SDL_KEYUP event with 2.0.5 on
MacOsX EXCEPT CAPSLOCK.
I was thinking that the problem may be revision 10459 “This patch fixes
OSX Caps Lock up/down event detection by installing a HID callback”. But
no. If I’m using rev 10458, even the CAPSLOCK do not generate any events…
Oh, and I tried to update my SDL Sources to Revision 10.528. Now, I have
no keyboard and… no picture !
Back to revision 10.400… Picture, keyboard.
The sound problem wasn’t SDL related.
JV
Le 13/10/2016 ? 04:00, Sam Lantinga a ?crit :> I’m running Mac OS X 10.11. Can you post a link to something I can
test with?
Thanks!
On Wed, Oct 12, 2016 at 12:59 PM, Jerome Vernet <@Jerome_Vernet mailto:Jerome_Vernet> wrote:
Hi,
I'm working on the MacOsX Hatari port. With SDL 2.0.5 on Mac
(10.11), no more sound, no more keyboard..... Was working with
2.0.4, at least with a personnal built I made from sources some
weeks ago.
J. VERNET
Le 12/10/2016 ? 09:12, Sam Lantinga a ?crit :
Thanks to all the people who contributed code and feedback, SDL
2.0.5 is now available as a PRERELEASE build!
http://www.libsdl.org/tmp/download-2.0.php
<http://www.libsdl.org/tmp/download-2.0.php>
Please try this with your games and applications and report any
issues to bugzilla:
https://bugzilla.libsdl.org
In addition to lots of bug fixes and build improvements, here are
the major changes in this release:
General:
* Implemented audio capture support for some platforms
* Added SDL_DequeueAudio() to retrieve audio when buffer queuing
is turned on for audio capture
* Added events for dragging and dropping text
* Added events for dragging and dropping multiple items
* By default the click raising a window will not be delivered to
the SDL application. You can set the hint
SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH to "1" to allow that click
through to the window.
* Saving a surface with an alpha channel as a BMP will use a
newer BMP format that supports alpha information. You can set the
hint SDL_HINT_BMP_SAVE_LEGACY_FORMAT to "1" to use the old format.
* Added SDL_GetHintBoolean() to get the boolean value of a hint
* Added SDL_RenderSetIntegerScale() to set whether to smoothly
scale or use integral multiples of the viewport size when scaling
the rendering output
* Added SDL_CreateRGBSurfaceWithFormat() and
SDL_CreateRGBSurfaceWithFormatFrom() to create an SDL surface
with a specific pixel format
* Added SDL_GetDisplayUsableBounds() which returns the area
usable for windows. For example, on Mac OS X, this subtracts the
area occupied by the menu bar and dock.
* Added SDL_GetWindowBordersSize() which returns the size of the
window's borders around the client area
* Added a window event SDL_WINDOWEVENT_HIT_TEST when a window had
a hit test that wasn't SDL_HITTEST_NORMAL (e.g. in the title bar
or window frame)
* Added SDL_SetWindowResizable() to change whether a window is
resizable
* Added SDL_SetWindowOpacity() and SDL_GetWindowOpacity() to
affect the window transparency
* Added SDL_SetWindowModalFor() to set a window as modal for
another window
* Added support for AUDIO_U16LSB and AUDIO_U16MSB to
SDL_MixAudioFormat()
* Fixed flipped images when reading back from target textures
when using the OpenGL renderer
* Fixed texture color modulation with SDL_BLENDMODE_NONE when
using the OpenGL renderer
* Fixed bug where the alpha value of colorkeys was ignored when
blitting in some cases
Windows:
* Added a hint SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING to prevent
SDL from raising a debugger exception to name threads. This
exception can cause problems with .NET applications when running
under a debugger.
* The hint SDL_HINT_THREAD_STACK_SIZE is now supported on Windows
* Fixed XBox controller triggers automatically being pulled at
startup
* The first icon from the executable is used as the default
window icon at runtime
* Fixed SDL log messages being printed twice if SDL was built
with C library support
* Reset dead keys when the SDL window loses focus, so dead keys
pressed in SDL applications don't affect text input into other
applications.
Mac OS X:
* Fixed selecting the dummy video driver
* The caps lock key now generates a pressed event when pressed
and a released event when released, instead of a press/release
event pair when pressed.
* Fixed mouse wheel events on Mac OS X 10.12
* The audio driver has been updated to use AVFoundation for
better compatibility with newer versions of Mac OS X
Linux:
* Added support for the Fcitx IME
* Added a window event SDL_WINDOWEVENT_TAKE_FOCUS when a window
manager asks the SDL window whether it wants to take focus.
* Refresh rates are now rounded instead of truncated, e.g. 59.94
Hz is rounded up to 60 Hz instead of 59.
* Added initial support for touchscreens on Raspberry Pi
iOS:
* Added support for dynamically loaded objects on iOS 8 and newer
tvOS:
* Added support for Apple TV
* Added a hint SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION to control
whether he Apple TV remote's joystick axes will automatically
match the rotation of the remote.
Android:
* Fixed SDL not resizing window when Android screen resolution
changes
* Corrected the joystick Z axis reporting for the accelerometer
Emscripten (running in a web browser):
* Many bug fixes and improvements
_______________________________________________
SDL mailing list
SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
<http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org>
_______________________________________________ SDL mailing list
SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
<http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org>
It looks like there is a HAVE_FCITX_FRONTEND_H - but the cmake check is
missing and the source file doesn’t have the guard.
Regards
MartinOn Thu, Oct 13, 2016 at 9:45 PM, Jerome Vernet <vernet.jerome at wanadoo.fr> wrote:
Hi
Hatari do not receive any SDL_KEYDOWN or SDL_KEYUP event with 2.0.5 on
MacOsX EXCEPT CAPSLOCK.
I was thinking that the problem may be revision 10459 “This patch fixes
OSX Caps Lock up/down event detection by installing a HID callback”. But
no. If I’m using rev 10458, even the CAPSLOCK do not generate any events…
Oh, and I tried to update my SDL Sources to Revision 10.528. Now, I have
no keyboard and… no picture !
Back to revision 10.400… Picture, keyboard.
The sound problem wasn’t SDL related.
JV
Le 13/10/2016 ? 04:00, Sam Lantinga a ?crit :
I’m running Mac OS X 10.11. Can you post a link to something I can test
with?
Thanks!
On Wed, Oct 12, 2016 at 12:59 PM, Jerome Vernet <vernet.jerome at wanadoo.fr> wrote:
Hi,
I’m working on the MacOsX Hatari port. With SDL 2.0.5 on Mac (10.11), no
more sound, no more keyboard… Was working with 2.0.4, at least with a
personnal built I made from sources some weeks ago.
Please try this with your games and applications and report any issues to
bugzilla: https://bugzilla.libsdl.org
In addition to lots of bug fixes and build improvements, here are the
major changes in this release:
General:
Implemented audio capture support for some platforms
Added SDL_DequeueAudio() to retrieve audio when buffer queuing is
turned on for audio capture
Added events for dragging and dropping text
Added events for dragging and dropping multiple items
By default the click raising a window will not be delivered to the SDL
application. You can set the hint SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH to
"1" to allow that click through to the window.
Saving a surface with an alpha channel as a BMP will use a newer BMP
format that supports alpha information. You can set the hint
SDL_HINT_BMP_SAVE_LEGACY_FORMAT to “1” to use the old format.
Added SDL_GetHintBoolean() to get the boolean value of a hint
Added SDL_RenderSetIntegerScale() to set whether to smoothly scale or
use integral multiples of the viewport size when scaling the rendering
output
Added SDL_CreateRGBSurfaceWithFormat() and
SDL_CreateRGBSurfaceWithFormatFrom() to create an SDL surface with a
specific pixel format
Added SDL_GetDisplayUsableBounds() which returns the area usable for
windows. For example, on Mac OS X, this subtracts the area occupied by the
menu bar and dock.
Added SDL_GetWindowBordersSize() which returns the size of the window’s
borders around the client area
Added a window event SDL_WINDOWEVENT_HIT_TEST when a window had a hit
test that wasn’t SDL_HITTEST_NORMAL (e.g. in the title bar or window frame)
Added SDL_SetWindowResizable() to change whether a window is resizable
Added SDL_SetWindowOpacity() and SDL_GetWindowOpacity() to affect the
window transparency
Added SDL_SetWindowModalFor() to set a window as modal for another
window
Added support for AUDIO_U16LSB and AUDIO_U16MSB to SDL_MixAudioFormat()
Fixed flipped images when reading back from target textures when using
the OpenGL renderer
Fixed texture color modulation with SDL_BLENDMODE_NONE when using the
OpenGL renderer
Fixed bug where the alpha value of colorkeys was ignored when blitting
in some cases
Windows:
Added a hint SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING to prevent SDL
from raising a debugger exception to name threads. This exception can cause
problems with .NET applications when running under a debugger.
The hint SDL_HINT_THREAD_STACK_SIZE is now supported on Windows
Fixed XBox controller triggers automatically being pulled at startup
The first icon from the executable is used as the default window icon
at runtime
Fixed SDL log messages being printed twice if SDL was built with C
library support
Reset dead keys when the SDL window loses focus, so dead keys pressed
in SDL applications don’t affect text input into other applications.
Mac OS X:
Fixed selecting the dummy video driver
The caps lock key now generates a pressed event when pressed and a
released event when released, instead of a press/release event pair when
pressed.
Fixed mouse wheel events on Mac OS X 10.12
The audio driver has been updated to use AVFoundation for better
compatibility with newer versions of Mac OS X
Linux:
Added support for the Fcitx IME
Added a window event SDL_WINDOWEVENT_TAKE_FOCUS when a window manager
asks the SDL window whether it wants to take focus.
Refresh rates are now rounded instead of truncated, e.g. 59.94 Hz is
rounded up to 60 Hz instead of 59.
Added initial support for touchscreens on Raspberry Pi
iOS:
Added support for dynamically loaded objects on iOS 8 and newer
tvOS:
Added support for Apple TV
Added a hint SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION to control
whether he Apple TV remote’s joystick axes will automatically match the
rotation of the remote.
Android:
Fixed SDL not resizing window when Android screen resolution changes
Corrected the joystick Z axis reporting for the accelerometer
Emscripten (running in a web browser):
Many bug fixes and improvements
SDL mailing listSDL at lists.libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
It looks like there is a HAVE_FCITX_FRONTEND_H - but the cmake check is
missing and the source file doesn’t have the guard.
Regards
Martin
On Thu, Oct 13, 2016 at 9:45 PM, Jerome Vernet <vernet.jerome at wanadoo.fr> wrote:
Hi
Hatari do not receive any SDL_KEYDOWN or SDL_KEYUP event with 2.0.5 on
MacOsX EXCEPT CAPSLOCK.
I was thinking that the problem may be revision 10459 “This patch fixes
OSX Caps Lock up/down event detection by installing a HID callback”. But
no. If I’m using rev 10458, even the CAPSLOCK do not generate any events…
Oh, and I tried to update my SDL Sources to Revision 10.528. Now, I have
no keyboard and… no picture !
Back to revision 10.400… Picture, keyboard.
The sound problem wasn’t SDL related.
JV
Le 13/10/2016 ? 04:00, Sam Lantinga a ?crit :
I’m running Mac OS X 10.11. Can you post a link to something I can test
with?
Thanks!
On Wed, Oct 12, 2016 at 12:59 PM, Jerome Vernet <vernet.jerome at wanadoo.fr wrote:
Hi,
I’m working on the MacOsX Hatari port. With SDL 2.0.5 on Mac (10.11), no
more sound, no more keyboard… Was working with 2.0.4, at least with a
personnal built I made from sources some weeks ago.
Please try this with your games and applications and report any issues
to bugzilla: https://bugzilla.libsdl.org
In addition to lots of bug fixes and build improvements, here are the
major changes in this release:
General:
Implemented audio capture support for some platforms
Added SDL_DequeueAudio() to retrieve audio when buffer queuing is
turned on for audio capture
Added events for dragging and dropping text
Added events for dragging and dropping multiple items
By default the click raising a window will not be delivered to the SDL
application. You can set the hint SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH to
"1" to allow that click through to the window.
Saving a surface with an alpha channel as a BMP will use a newer BMP
format that supports alpha information. You can set the hint
SDL_HINT_BMP_SAVE_LEGACY_FORMAT to “1” to use the old format.
Added SDL_GetHintBoolean() to get the boolean value of a hint
Added SDL_RenderSetIntegerScale() to set whether to smoothly scale or
use integral multiples of the viewport size when scaling the rendering
output
Added SDL_CreateRGBSurfaceWithFormat() and
SDL_CreateRGBSurfaceWithFormatFrom() to create an SDL surface with a
specific pixel format
Added SDL_GetDisplayUsableBounds() which returns the area usable for
windows. For example, on Mac OS X, this subtracts the area occupied by the
menu bar and dock.
Added SDL_GetWindowBordersSize() which returns the size of the
window’s borders around the client area
Added a window event SDL_WINDOWEVENT_HIT_TEST when a window had a hit
test that wasn’t SDL_HITTEST_NORMAL (e.g. in the title bar or window frame)
Added SDL_SetWindowResizable() to change whether a window is resizable
Added SDL_SetWindowOpacity() and SDL_GetWindowOpacity() to affect the
window transparency
Added SDL_SetWindowModalFor() to set a window as modal for another
window
Added support for AUDIO_U16LSB and AUDIO_U16MSB to SDL_MixAudioFormat()
Fixed flipped images when reading back from target textures when using
the OpenGL renderer
Fixed texture color modulation with SDL_BLENDMODE_NONE when using the
OpenGL renderer
Fixed bug where the alpha value of colorkeys was ignored when blitting
in some cases
Windows:
Added a hint SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING to prevent SDL
from raising a debugger exception to name threads. This exception can cause
problems with .NET applications when running under a debugger.
The hint SDL_HINT_THREAD_STACK_SIZE is now supported on Windows
Fixed XBox controller triggers automatically being pulled at startup
The first icon from the executable is used as the default window icon
at runtime
Fixed SDL log messages being printed twice if SDL was built with C
library support
Reset dead keys when the SDL window loses focus, so dead keys pressed
in SDL applications don’t affect text input into other applications.
Mac OS X:
Fixed selecting the dummy video driver
The caps lock key now generates a pressed event when pressed and a
released event when released, instead of a press/release event pair when
pressed.
Fixed mouse wheel events on Mac OS X 10.12
The audio driver has been updated to use AVFoundation for better
compatibility with newer versions of Mac OS X
Linux:
Added support for the Fcitx IME
Added a window event SDL_WINDOWEVENT_TAKE_FOCUS when a window manager
asks the SDL window whether it wants to take focus.
Refresh rates are now rounded instead of truncated, e.g. 59.94 Hz is
rounded up to 60 Hz instead of 59.
Added initial support for touchscreens on Raspberry Pi
iOS:
Added support for dynamically loaded objects on iOS 8 and newer
tvOS:
Added support for Apple TV
Added a hint SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION to control
whether he Apple TV remote’s joystick axes will automatically match the
rotation of the remote.
Android:
Fixed SDL not resizing window when Android screen resolution changes
Corrected the joystick Z axis reporting for the accelerometer
Emscripten (running in a web browser):
Many bug fixes and improvements
SDL mailing listSDL at lists.libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
The ‘testautomation’ test consistently fails on ‘SDL_AudioInit’:
INFO: 10/14/16 10:35:41: ----- Test Case 1.14:
‘audio_initOpenCloseQuitAudio’ started
INFO: 10/14/16 10:35:41: Test Description: 'Cycle through init, open,
close and quit with various audio specs.'
INFO: 10/14/16 10:35:41: Test Iteration 1: execKey 7610858988180093770
…
INFO: 10/14/16 10:35:42: Assert ‘Call to SDL_AudioInit(‘esd’)’: Pass
ERROR: 10/14/16 10:35:42: Assert ‘Validate result value; expected: 0
got: -1’: Failed
I’m running Lubuntu 16.04 with the LXDE desktop environment on amd64.On 12.10.2016 09:12, Sam Lantinga wrote:
Please try this with your games and applications and report any issues to
bugzilla: https://bugzilla.libsdl.org
The ‘testautomation’ test consistently fails on ‘SDL_AudioInit’:
INFO: 10/14/16 10:35:41: ----- Test Case 1.14:
‘audio_initOpenCloseQuitAudio’ started
INFO: 10/14/16 10:35:41: Test Description: 'Cycle through init, open,
close and quit with various audio specs.'
INFO: 10/14/16 10:35:41: Test Iteration 1: execKey 7610858988180093770
…
INFO: 10/14/16 10:35:42: Assert ‘Call to SDL_AudioInit(‘esd’)’: Pass
ERROR: 10/14/16 10:35:42: Assert ‘Validate result value; expected: 0
got: -1’: Failed
There are still a few warnings left that you might (or not) wanna look at.
[ 23%] Building C object
contrib/libs/sdl2/CMakeFiles/sdl2.dir/src/core/linux/SDL_dbus.c.o
/home/mgerhardy/dev/engine/contrib/libs/sdl2/src/core/linux/SDL_dbus.c:30:33:
warning: missing field ‘bus_get_private’ initializer
[-Wmissing-field-initializers]
static SDL_DBusContext dbus = {0};
^
1 warning generated.
[ 23%] Building C object
contrib/libs/sdl2/CMakeFiles/sdl2.dir/src/core/linux/SDL_fcitx.c.o
In file included from
/home/mgerhardy/dev/engine/contrib/libs/sdl2/src/core/linux/SDL_fcitx.c:28:
In file included from
/home/mgerhardy/dev/engine/contrib/libs/sdl2/src/core/linux/SDL_fcitx.h:25:
/home/mgerhardy/dev/engine/contrib/libs/sdl2/src/core/linux/…/…/SDL_internal.h:30:9:
warning: ‘DECLSPEC’ macro redefined [-Wmacro-redefined] #define DECLSPEC
^
/home/mgerhardy/dev/engine/contrib/libs/sdl2/include/begin_code.h:66:12:
note: previous definition is here
Thanks!On Thu, Oct 13, 2016 at 12:45 PM, Jerome Vernet <vernet.jerome at wanadoo.fr> wrote:
Hi
Hatari do not receive any SDL_KEYDOWN or SDL_KEYUP event with 2.0.5 on
MacOsX EXCEPT CAPSLOCK.
I was thinking that the problem may be revision 10459 “This patch fixes
OSX Caps Lock up/down event detection by installing a HID callback”. But
no. If I’m using rev 10458, even the CAPSLOCK do not generate any events…
Oh, and I tried to update my SDL Sources to Revision 10.528. Now, I have
no keyboard and… no picture !
Back to revision 10.400… Picture, keyboard.
The sound problem wasn’t SDL related.
JV
Le 13/10/2016 ? 04:00, Sam Lantinga a ?crit :
I’m running Mac OS X 10.11. Can you post a link to something I can test
with?
Thanks!
On Wed, Oct 12, 2016 at 12:59 PM, Jerome Vernet <vernet.jerome at wanadoo.fr> wrote:
Hi,
I’m working on the MacOsX Hatari port. With SDL 2.0.5 on Mac (10.11), no
more sound, no more keyboard… Was working with 2.0.4, at least with a
personnal built I made from sources some weeks ago.
Please try this with your games and applications and report any issues to
bugzilla: https://bugzilla.libsdl.org
In addition to lots of bug fixes and build improvements, here are the
major changes in this release:
General:
Implemented audio capture support for some platforms
Added SDL_DequeueAudio() to retrieve audio when buffer queuing is
turned on for audio capture
Added events for dragging and dropping text
Added events for dragging and dropping multiple items
By default the click raising a window will not be delivered to the SDL
application. You can set the hint SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH to
"1" to allow that click through to the window.
Saving a surface with an alpha channel as a BMP will use a newer BMP
format that supports alpha information. You can set the hint
SDL_HINT_BMP_SAVE_LEGACY_FORMAT to “1” to use the old format.
Added SDL_GetHintBoolean() to get the boolean value of a hint
Added SDL_RenderSetIntegerScale() to set whether to smoothly scale or
use integral multiples of the viewport size when scaling the rendering
output
Added SDL_CreateRGBSurfaceWithFormat() and
SDL_CreateRGBSurfaceWithFormatFrom() to create an SDL surface with a
specific pixel format
Added SDL_GetDisplayUsableBounds() which returns the area usable for
windows. For example, on Mac OS X, this subtracts the area occupied by the
menu bar and dock.
Added SDL_GetWindowBordersSize() which returns the size of the window’s
borders around the client area
Added a window event SDL_WINDOWEVENT_HIT_TEST when a window had a hit
test that wasn’t SDL_HITTEST_NORMAL (e.g. in the title bar or window frame)
Added SDL_SetWindowResizable() to change whether a window is resizable
Added SDL_SetWindowOpacity() and SDL_GetWindowOpacity() to affect the
window transparency
Added SDL_SetWindowModalFor() to set a window as modal for another
window
Added support for AUDIO_U16LSB and AUDIO_U16MSB to SDL_MixAudioFormat()
Fixed flipped images when reading back from target textures when using
the OpenGL renderer
Fixed texture color modulation with SDL_BLENDMODE_NONE when using the
OpenGL renderer
Fixed bug where the alpha value of colorkeys was ignored when blitting
in some cases
Windows:
Added a hint SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING to prevent SDL
from raising a debugger exception to name threads. This exception can cause
problems with .NET applications when running under a debugger.
The hint SDL_HINT_THREAD_STACK_SIZE is now supported on Windows
Fixed XBox controller triggers automatically being pulled at startup
The first icon from the executable is used as the default window icon
at runtime
Fixed SDL log messages being printed twice if SDL was built with C
library support
Reset dead keys when the SDL window loses focus, so dead keys pressed
in SDL applications don’t affect text input into other applications.
Mac OS X:
Fixed selecting the dummy video driver
The caps lock key now generates a pressed event when pressed and a
released event when released, instead of a press/release event pair when
pressed.
Fixed mouse wheel events on Mac OS X 10.12
The audio driver has been updated to use AVFoundation for better
compatibility with newer versions of Mac OS X
Linux:
Added support for the Fcitx IME
Added a window event SDL_WINDOWEVENT_TAKE_FOCUS when a window manager
asks the SDL window whether it wants to take focus.
Refresh rates are now rounded instead of truncated, e.g. 59.94 Hz is
rounded up to 60 Hz instead of 59.
Added initial support for touchscreens on Raspberry Pi
iOS:
Added support for dynamically loaded objects on iOS 8 and newer
tvOS:
Added support for Apple TV
Added a hint SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION to control
whether he Apple TV remote’s joystick axes will automatically match the
rotation of the remote.
Android:
Fixed SDL not resizing window when Android screen resolution changes
Corrected the joystick Z axis reporting for the accelerometer
Emscripten (running in a web browser):
Many bug fixes and improvements
SDL mailing listSDL at lists.libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Fixed, thanks!On Fri, Oct 14, 2016 at 3:01 AM, M. Gerhardy <martin.gerhardy at gmail.com> wrote:
Thanks for fixing… that was fast
There are still a few warnings left that you might (or not) wanna look at.
[ 23%] Building C object contrib/libs/sdl2/CMakeFiles/
sdl2.dir/src/core/linux/SDL_dbus.c.o
/home/mgerhardy/dev/engine/contrib/libs/sdl2/src/core/linux/SDL_dbus.c:30:33:
warning: missing field ‘bus_get_private’ initializer
[-Wmissing-field-initializers]
static SDL_DBusContext dbus = {0};
^
1 warning generated.
[ 23%] Building C object contrib/libs/sdl2/CMakeFiles/
sdl2.dir/src/core/linux/SDL_fcitx.c.o
In file included from /home/mgerhardy/dev/engine/
contrib/libs/sdl2/src/core/linux/SDL_fcitx.c:28:
In file included from /home/mgerhardy/dev/engine/
contrib/libs/sdl2/src/core/linux/SDL_fcitx.h:25:
/home/mgerhardy/dev/engine/contrib/libs/sdl2/src/core/
linux/…/…/SDL_internal.h:30:9: warning: ‘DECLSPEC’ macro redefined
[-Wmacro-redefined] #define DECLSPEC
^
/home/mgerhardy/dev/engine/contrib/libs/sdl2/include/begin_code.h:66:12:
note: previous definition is here