SDL 2.0.5 PRERELEASE |
Sam Lantinga
|
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
|
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:
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
_______________________________________________ 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 :
|
|||||||||||||||
|
SDL 2.0.5 PRERELEASE |
Sam Lantinga
|
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:
|
|||||||||||||||||
|
SDL 2.0.5 PRERELEASE |
Sam Lantinga
|
Fixed, thanks!
On Wed, Oct 12, 2016 at 12:41 PM, Joe wrote:
|
|||||||||||||
|
SDL 2.0.5 PRERELEASE |
Sam Lantinga
|
Fixed, thanks!
On Wed, Oct 12, 2016 at 11:25 AM, Daniel Gibson wrote:
|
|||||||||||||||||
|
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
|
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:
|
|||||||||||||
|
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      Â
|
|||||||||||||
|
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 :
|
|||||||||||||||||||||
|
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:
-- http://www.caveproductions.org |
|||||||||||||||||||||||
|
SDL 2.0.5 PRERELEASE |
Sam Lantinga
|
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/cd2e0b0c7ec5 On Fri, Oct 14, 2016 at 12:27 AM, M. Gerhardy wrote:
|
|||||||||||||||||||||||||
|
SDL 2.0.5 PRERELEASE |
Rainer Deyke
Guest
|
On 12.10.2016 09:12, Sam Lantinga wrote:
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:
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 |
SDL 2.0.5 PRERELEASE |
Sam Lantinga
|
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:
|
|||||||||||||||||||||||
|
SDL 2.0.5 PRERELEASE |
Sam Lantinga
|
Fixed, thanks!
On Fri, Oct 14, 2016 at 3:01 AM, M. Gerhardy wrote:
|
|||||||||||||
|
SDL 2.0.5 PRERELEASE |
Jerome Vernet
Guest
|
Le 14/10/2016 à 17:17, Sam Lantinga a écrit :
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:
|
|||||||||||||||
|
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:
|
|||||||||||||||
|
SDL 2.0.5 PRERELEASE |
Jerome Vernet
Guest
|
Le 14/10/2016 à 18:44, Alex Szpakowski a écrit :
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.
_______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||
|
sezero
|
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. |
|||||||||||
|