The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL 2.0.5 PRERELEASE
Sam Lantinga


Joined: 10 Sep 2009
Posts: 1765
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


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
Re: SDL 2.0.5 PRERELEASE
rtrussell


Joined: 10 Feb 2016
Posts: 88
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 previously reported this issue at Bugzilla: 2.0.4 OS-X binary release is x86_64 only.

Richard.
SDL 2.0.5 PRERELEASE
Daniel Gibson
Guest

On 12.10.2016 14:59, rtrussell wrote:
Quote:

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).

Cheers,
Daniel

Quote:

I previously reported this issue at Bugzilla: 2.0.4 OS-X binary release
is x86_64 only <https://bugzilla.libsdl.org/show_bug.cgi?id=3371>.

Richard.


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL 2.0.5 PRERELEASE
Joe
Guest

I replaced the files from 2.0.4 with the files from 2.0.5 prerelease.

I now get a build error:
error LNK2019: unresolved external symbol _main referenced in function
___tmainCRTStartup

Does NOT happen with SDL 2.0.4
Cheers,
Joe
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL 2.0.5 PRERELEASE
Jerome Vernet
Guest

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 :

Quote:
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


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




Quote:
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL 2.0.5 PRERELEASE
Sam Lantinga


Joined: 10 Sep 2009
Posts: 1765
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 wrote:
Quote:
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 :



Quote:
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


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






Quote:
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org




_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

SDL 2.0.5 PRERELEASE
Sam Lantinga


Joined: 10 Sep 2009
Posts: 1765
Fixed, thanks!

On Wed, Oct 12, 2016 at 12:41 PM, Joe wrote:
Quote:
I replaced the files from 2.0.4 with the files from 2.0.5 prerelease.

I now get a build error:
error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup

Does NOT happen with SDL 2.0.4
Cheers,
Joe
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL 2.0.5 PRERELEASE
Sam Lantinga


Joined: 10 Sep 2009
Posts: 1765
Fixed, thanks!

On Wed, Oct 12, 2016 at 11:25 AM, Daniel Gibson wrote:
Quote:
On 12.10.2016 14:59, rtrussell wrote:
Quote:

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).

Cheers,
Daniel

Quote:

I previously reported this issue at Bugzilla: 2.0.4 OS-X binary release
is x86_64 only <https://bugzilla.libsdl.org/show_bug.cgi?id=3371>.

Richard.


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL 2.0.5 PRERELEASE
Eric Wing
Guest

Any chance getting 2799 in? (overscan mode/hint for Logical Renderer)
https://bugzilla.libsdl.org/show_bug.cgi?id=2799

Thanks,
Eric
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL 2.0.5 PRERELEASE
Sam Lantinga


Joined: 10 Sep 2009
Posts: 1765
Not for 2.0.5, but we can look at it for 2.0.6.

On Wed, Oct 12, 2016 at 10:02 PM, Eric Wing wrote:
Quote:
Any chance getting 2799 in? (overscan mode/hint for Logical Renderer)
https://bugzilla.libsdl.org/show_bug.cgi?id=2799

Thanks,
Eric
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL 2.0.5 PRERELEASE
Jérôme VERNET
Guest

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
 
 
 
 
 
 
Quote:
> Message du 13/10/16 04:00> De : "Sam Lantinga"> A : "SDL Development List"> Copie à : > Objet : Re: [SDL] SDL 2.0.5 PRERELEASE> > I'm running Mac OS X 10.11. Can you post a link to something I can test with? >
Thanks!

 
SDL 2.0.5 PRERELEASE
mva
Guest

Hi,

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 */

Cheers
Marcus


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL 2.0.5 PRERELEASE
Jerome Vernet
Guest

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 :

Quote:
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 wrote:
Quote:
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 :



Quote:
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


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






Quote:
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


_______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Quote:
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL 2.0.5 PRERELEASE
M. Gerhardy
Guest

Hi.


This commit breaks building via cmake for me if you don't have Fcitx installed: https://hg.libsdl.org/SDL/rev/6660aa9120d6


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 wrote:
Quote:
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 :



Quote:
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 wrote:
Quote:
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 :



Quote:
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


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






Quote:
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


_______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Quote:
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org





_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org




--
http://www.caveproductions.org
SDL 2.0.5 PRERELEASE
Sam Lantinga


Joined: 10 Sep 2009
Posts: 1765
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/cd2e0b0c7ec5



On Fri, Oct 14, 2016 at 12:27 AM, M. Gerhardy wrote:
Quote:
Hi.


This commit breaks building via cmake for me if you don't have Fcitx installed: https://hg.libsdl.org/SDL/rev/6660aa9120d6


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 wrote:
Quote:
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 :



Quote:
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 wrote:
Quote:
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 :



Quote:
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


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






Quote:
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


_______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Quote:
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org





_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org






--
http://www.caveproductions.org








_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

SDL 2.0.5 PRERELEASE
Rainer Deyke
Guest

On 12.10.2016 09:12, Sam Lantinga wrote:
Quote:
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

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

I'm running Lubuntu 16.04 with the LXDE desktop environment on amd64.


--
Rainer Deyke -

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL 2.0.5 PRERELEASE
Rainer Deyke
Guest

On 14.10.2016 10:46, Rainer Deyke wrote:
Quote:
On 12.10.2016 09:12, Sam Lantinga wrote:
Quote:
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

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

Forgot to mention: this is immediately followed by:
Segmentation fault (core dumped)

So it's not just a clean failure to initialize the 'esd' audio system.


--
Rainer Deyke -

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL 2.0.5 PRERELEASE
M. Gerhardy
Guest

Thanks for fixing... that was fast Wink

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
#   define DECLSPEC __attribute__ ((visibility("default")))
           ^
1 warning generated.
SDL 2.0.5 PRERELEASE
Sam Lantinga


Joined: 10 Sep 2009
Posts: 1765
Events in Hatari should be fixed:
https://hg.libsdl.org/SDL/rev/6fa4430b1f84
Thanks!


On Thu, Oct 13, 2016 at 12:45 PM, Jerome Vernet wrote:
Quote:
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 :



Quote:
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 wrote:
Quote:
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 :



Quote:
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


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






Quote:
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


_______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Quote:
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org





_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

SDL 2.0.5 PRERELEASE
Sam Lantinga


Joined: 10 Sep 2009
Posts: 1765
Fixed, thanks!


On Fri, Oct 14, 2016 at 3:01 AM, M. Gerhardy wrote:
Quote:
Thanks for fixing... that was fast Wink

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
#   define DECLSPEC __attribute__ ((visibility("default")))
           ^
1 warning generated.





_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

SDL 2.0.5 PRERELEASE
Jerome Vernet
Guest

Le 14/10/2016 à 17:17, Sam Lantinga a écrit :

Quote:
Events in Hatari should be fixed:
https://hg.libsdl.org/SDL/rev/6fa4430b1f84
Thanks!

Yes ! I've got keyboard, I've got image, I've got sound !

Where can I find information about the "New way" to create an SDL Application Instance and not the old SDLMain way (although Hatari still can be built over SDL 1.2.15 "the old way") ?

JV
SDL 2.0.5 PRERELEASE
Alex Szpakowski
Guest

Just don't compile SDLMain.m for macOS with SDL 2, it's no longer needed.

On Oct 14, 2016, at 1:20 PM, Jerome Vernet wrote:


Quote:
Le 14/10/2016 à 17:17, Sam Lantinga a écrit :

Quote:
Events in Hatari should be fixed:
https://hg.libsdl.org/SDL/rev/6fa4430b1f84
Thanks!

Yes ! I've got keyboard, I've got image, I've got sound !

Where can I find information about the "New way" to create an SDL Application Instance and not the old SDLMain way (although Hatari still can be built over SDL 1.2.15 "the old way") ?

JV

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

SDL 2.0.5 PRERELEASE
Alex Szpakowski
Guest

Just don't compile SDLMain.m for macOS with SDL 2, it's no longer needed.

On Oct 14, 2016, at 1:20 PM, Jerome Vernet wrote:


Quote:
Le 14/10/2016 à 17:17, Sam Lantinga a écrit :

Quote:
Events in Hatari should be fixed:
https://hg.libsdl.org/SDL/rev/6fa4430b1f84
Thanks!

Yes ! I've got keyboard, I've got image, I've got sound !

Where can I find information about the "New way" to create an SDL Application Instance and not the old SDLMain way (although Hatari still can be built over SDL 1.2.15 "the old way") ?

JV

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

SDL 2.0.5 PRERELEASE
Jerome Vernet
Guest

Le 14/10/2016 à 18:44, Alex Szpakowski a écrit :
Quote:
Just don't compile SDLMain.m for macOS with SDL 2, it's no longer needed.
Will be hard because most of the MacOsX Hatari specific stuf is inside
SDLMain... Like menus Actions, etc. It's the delegate.

Any pointer to an example ?


JV


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL 2.0.5 PRERELEASE
Alex Szpakowski
Guest

Ah, I didn’t realize you added custom menu bar items. I don’t have any experience doing that with SDL.

Quote:
On Oct 14, 2016, at 3:14 PM, Jerome Vernet wrote:

Le 14/10/2016 à 18:44, Alex Szpakowski a écrit :
Quote:
Just don't compile SDLMain.m for macOS with SDL 2, it's no longer needed.
Will be hard because most of the MacOsX Hatari specific stuf is inside
SDLMain... Like menus Actions, etc. It's the delegate.

Any pointer to an example ?


JV


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
sezero


Joined: 24 Jun 2015
Posts: 2
Changeset https://hg.libsdl.org/SDL/rev/d19f7d2b6ec8 (which was applied for bug #2157)
crashes badly on Mac OS X 10.6, both i386 and x86_64. Reopened bug #2157 for it.