|
130138fa
|
2017-08-28T22:44:48
|
|
Fixed bug 3785 - fix windows build after revision 11382
Ozkan Sezer
fix windows build after revision 11382: commit 2026e42e377a renamed
_SDL_msctf_h to SDL_msctf_h_ . SDL_windowskeyboard.c relies on that
macro, so update it accordingly.
|
|
c0530bcd
|
2017-08-28T22:42:41
|
|
We removed QuartzCore link dependency in commit 5be6badaf7e1
|
|
8ac85744
|
2017-08-28T22:36:45
|
|
Fixed Vulkan configure check for Android and added one for Mac OS X
|
|
90b38a5d
|
2017-08-28T22:13:45
|
|
Fixed bug 3786 - building against a Mac OS X SDK < 10.11 fails since the vulkan merge
Ozkan Sezer
Since the Vulkan merge, building against a Mac OS X SDM older than
10.11 fails in SDL_cocoametalview.m because Metal.framework is not
present. There is no conditional compiling in SDL_cocoametalview.m
either, so --disable-video-vulkan doesn't help with anything. (The
configury doesn't check darwin for x86_64 either, but it's another
story.)
I cross-build against 10.8 SDK on linux using clang-3.4.2 and this
is a problem for me. Will this be fixed?
|
|
d619d885
|
2017-08-28T21:42:39
|
|
Fixed bug 3662 - Error message when using the audio conversion setup without an initialized audio subsystem is a bit vague
Simon Hug
This issue actually raises the question if this API change (requirement of initialized audio subsystem) is breaking backwards compatibility. I don't see the documentation saying it is needed in 2.0.5.
|
|
b128e880
|
2017-08-29T00:41:45
|
|
audio: A whole bunch of improvements to audio conversion (thanks, Solra!).
"Major changes, roughly in order of appearance:
- Use float math everywhere, instead of promoting to double and casting back
all the time.
- Conserve sound energy when downmixing any channel into two other channels.
- Add a QuadToStereo filter. (The previous technique of reusing StereoToMono
never worked, since it assumed an incorrect channel layout for 4.0.)
- Add a 71to51 filter. This removes just under half of the cases the previous
code would silently break in.
- Add a QuadTo51 filter. More silent breakage fixed.
- Add a 51to71 filter, removing another almost-half of the silently broken
cases.
- Add 8 to the list of values SDL_SupportedChannelCount will accept.
- Change SDL_BuildAudioCVT's channel-related logic to handle every case, and
to actually fail if it fails instead of silently corrupting sound data and/or
crashing down the road."
(Note that SDL doesn't otherwise support 7.1 audio yet, but hopefully it will
soon and the 7.1 converters are an important piece of that. --ryan.)
Fixes Bugzilla #3727.
|
|
620f5342
|
2017-08-29T00:36:17
|
|
stdlib: An implementation of SDL_scalbn using ldexp() (thanks, Ozkan!).
Fixes Bugzilla #3767.
|
|
a0cd7d6b
|
2017-08-29T00:02:04
|
|
audio: Converting audio samples from int to float was using wrong equation.
Fixes Bugzilla #3775.
|
|
1067b528
|
2017-08-28T20:52:05
|
|
Fixed building with an older Mac OS X SDK
|
|
e8b114ec
|
2017-08-28T19:32:08
|
|
Vulkan support on Mac OS X introduces a link time dependency (CAMetalLayer) on 10.11 and newer
|
|
30947476
|
2017-08-28T19:30:59
|
|
We don't need the VULKAN_SDK to build SDL with Vulkan support anymore
|
|
09e43d45
|
2017-08-28T17:28:09
|
|
Added missing Visual Studio 2010 project for testvulkan
|
|
aa85436e
|
2017-08-28T14:45:19
|
|
Fixed compile warning
|
|
da84c3bf
|
2017-08-28T14:44:21
|
|
Added a log message for nativeRunMain()
|
|
60182eb7
|
2017-08-28T14:40:21
|
|
Allow overriding the main entry point on Android
|
|
dbb0a2aa
|
2017-08-28T14:34:15
|
|
Removed the need for libSDL2main.a on Android, and separated JNI initialization out for other integrations
|
|
93415899
|
2017-08-28T13:40:32
|
|
Removed unneeded Vulkan symbol definitions
|
|
2a945b44
|
2017-08-28T10:03:39
|
|
Fixed bug 2361 - [Android] Joysticks do not have unique IDs
David Brady
When I attempted to make a mapping file for Android gamepads, I quickly discovered that most of the ones that I have here show up as the same device (Broadcom Bluetooth HID), meaning that it was impossible to make mappings on Android, since every device looked the same.
This patch will check for the existence of the getDescriptor function added in Jelly Bean, and use it if it's there. The Android Dashboard says that the majority of Android phones should support this function, and doing it this way will not force us to bump up our API version.
|
|
c45932ba
|
2017-08-28T09:54:16
|
|
Fixed bug 2277 - Hardware keyboard control key sequences don't get reported
chw
Control key sequences from hardware keyboards (wireless/USB/bluetooth) get not properly reported on Android devices.
The attached patch uses the idea from http://stackoverflow.com/questions/12337117/capture-all-ctrl-under-android to make control key sequences appear as normal SDL_KEYDOWN events instead of cooked text input.
|
|
0560544d
|
2017-08-28T09:51:25
|
|
Fixed 3783 - Default libGL path for directFB on Linux differs from x11 path
Clayton Craft
The default path used by directfb for libGL is different than the default path used by x11 in SDL2:
./src/video/directfb/SDL_DirectFB_opengl.c:
path = "libGL.so";
./src/video/x11/SDL_x11opengl.c:
#define DEFAULT_OPENGL "libGL.so.1"
On at least one distro (Alpine Linux), libGL.so is not created (or more accurately the symlink to libGL.so.1 is not created). For consistency, the 'path' variable in SDL_DirectFB_opengl.c should patch the DEFAULT_OPENGL in SDL_x11opengl.c ("libGL.so.1")
|
|
d28cb702
|
2017-08-28T09:41:00
|
|
Fixed bug 3781 - unbalanced #pragma pack(pop) in close_code.h
Ozkan Sezer
Revision 288 (http://hg.libsdl.org/SDL/rev/2f5a6062db86) excluded the
Watcom compiler from forcing 4 byte structure packing in begin_code.h.
However, it missed updating close_code.h, which now has an unbalanced
#pragma pack(pop) if the compiler is Watcom. The issue seems to have
crawled into SDL2, too.
|
|
959ae901
|
2017-08-28T02:30:41
|
|
Instantiate the CAMetalLayer so SDL_Vulkan_CreateSurface() doesn't fail
Error message was:
[mvk-info] MoltenVK version 0.18.2. Vulkan version 1.0.51.
[***MoltenVK ERROR***] VK_ERROR_INITIALIZATION_FAILED: On-screen rendering requires a view that is backed by a layer of type CAMetalLayer.
2017-08-28 02:17:29.579 testvulkan[95627:1716939] ERROR: SDL_Vulkan_CreateSurface(): vkCreateMacOSSurfaceMVK failed: VK_ERROR_INITIALIZATION_FAILED
|
|
6dd3f55d
|
2017-08-28T01:59:53
|
|
Fixed WinRT build after changing the header guard preprocessor symbol
|
|
ff8d2e14
|
2017-08-28T01:42:18
|
|
Fixed build when Wayland is dynamically loaded
|
|
edaa0ef5
|
2017-08-28T00:54:02
|
|
Fixed analyzer warning "Call to 'calloc' has an allocation size of 0 bytes"
|
|
3c7f9d69
|
2017-08-28T00:51:14
|
|
Fixed redefinition of typedef warnings and errors on BSD
|
|
50efbda7
|
2017-08-28T00:43:14
|
|
Fixed mingw Windows build, since SDL_vulkan_internal.h includes windows.h
|
|
0d011ec6
|
2017-08-28T00:22:23
|
|
Renaming of guard header names to quiet -Wreserved-id-macro
|
|
ce2b1644
|
2017-08-28T00:11:38
|
|
Be clear that disabling Vulkan surface support disables the entire SDL Vulkan integration
|
|
5cd1a959
|
2017-08-27T23:53:09
|
|
Fixed Android build with Vulkan support
|
|
0cebef60
|
2017-08-27T23:39:55
|
|
Fixed code style for new Vulkan API functions
|
|
ea91908e
|
2017-08-27T23:39:38
|
|
Fixed Android ABI check to match vulkan/vk_platform.h
|
|
34bdee53
|
2017-08-27T23:31:31
|
|
Make the androidbuildlibs.sh script executable
|
|
37ce9f27
|
2017-08-27T23:13:15
|
|
Fixed typedef redefinition errors when including both SDL_vulkan.h and vulkan.h
You should always include vulkan/vulkan.h first, then include SDL_vulkan.h
|
|
9da4717d
|
2017-08-27T22:36:03
|
|
Fixed Windows warning
|
|
82ffabc8
|
2017-08-27T22:34:15
|
|
Fixed Android build
|
|
24a0d3bc
|
2017-08-27T22:27:45
|
|
Don't define Vulkan types if vulkan.h has already been included
|
|
1f2e151b
|
2017-08-27T22:20:17
|
|
Added Vulkan support to the Visual Studio 2010 solution
|
|
213356cd
|
2017-08-27T21:55:31
|
|
Don't need the Vulkan SDK for the Visual Studio 2008 project anymore
|
|
ded5b3a4
|
2017-08-27T21:05:18
|
|
Fixed crash at shutdown if the window couldn't be created
|
|
071e1018
|
2017-08-27T20:41:48
|
|
We use the SDL Vulkan headers
|
|
eb5392ad
|
2017-08-27T20:41:29
|
|
Added the new Vulkan API functions to exported functions
|
|
c722e58d
|
2017-08-27T23:25:12
|
|
vulkan: Include a copy of vulkan.h and vk_platform.h.
Now we can provide Vulkan support in the build even if the build box doesn't
have a Vulkan SDK, since we dynamically link to the library anyhow.
|
|
803fd6d5
|
2017-08-27T19:32:08
|
|
Use SDL_Vulkan_GetDrawableSize() instead of SDL_GL_GetDrawableSize()
|
|
25e3a1ec
|
2017-08-27T22:15:57
|
|
vulkan: Initial Vulkan support!
This work was done by Jacob Lifshay and Mark Callow; I'm just merging it
into revision control.
|
|
8e7998e1
|
2017-08-27T19:10:30
|
|
Fixed bug 3710 - SDL_OpenAudio(desired, obtained) doesn't update desired's size when obtained is NULL
David Ludwig
I've created a new set of patches. I am happy to create more, if it would help.
One version only copies 'size'.
A second version copies both 'size' and 'silence'. When looking over the documentation for SDL_OpenAudio in SDL_audio.h, it mentioned that both 'size' and 'silence' were things that SDL_OpenAudio would calculate.
Regarding *both* patches, I did notice that SDL 1.2 appears to have always modified desired's size and silence fields. The SDL wiki, at https://wiki.libsdl.org/SDL_OpenAudio#Remarks , does note:
|
|
003d491f
|
2017-08-27T19:05:57
|
|
Fixed bug 3724 - Allow Angle Static Link
Carlos
We would like to add a switch (define) that allows us to compile Angle statically with SDL. That is, getting rid of the OpenGL DLL. Usually you need OpenGL to be loaded dynamically as DLL because implementation is provided by the system but no need with Angle.
Only 2 files need modification and it shouldn't affect current behaivor:
include/SDL_egl.h and src/video/SDL_egl.c, as in here
https://github.com/native-toolkit/sdl/pull/10/files
The flag name could be SDL_VIDEO_STATIC_ANGLE (instead of NATIVE_TOOLKIT_STATIC_ANGLE) as discussed here https://github.com/native-toolkit/sdl/pull/10
We have tested this with both Windows and UWP, using NME engine (https://github.com/haxenme/nme).
Releated issue: https://bugzilla.libsdl.org/show_bug.cgi?id=1820
|
|
aad997fc
|
2017-08-27T19:00:03
|
|
Fixed bug 3740 - atexit() in test/testime.c
|
|
b7c5d151
|
2017-08-27T18:53:30
|
|
SDL_dynapi.c: add missing SDLCALL to macros.
|
|
a38f127e
|
2017-08-27T18:52:43
|
|
Swapped conditional arguments for standard SDL readability
|
|
30fe9a67
|
2017-08-27T18:49:36
|
|
SDL_dynapi.h: revert commit ee88fe3e353e in order to enable dynapi
[ optional ]
|
|
50d3fe21
|
2017-08-27T18:49:11
|
|
SDL_dynapi_procs.h: adjust SDL_CreateThread for os/2
|
|
bf126828
|
2017-08-27T18:48:51
|
|
SDL_thread.h: fix os/2 defines (rev 11340:2688d85b817c was a missing patch)
|
|
fe21a747
|
2017-08-27T18:43:52
|
|
Fixed bug 2266 - please add notifications for clipboard updates on Android
Sylvain
Hi! here's a patch for that with two class loaded regarding API level.
Test both case : before API 11 and after.
I also remove now unused GetSystemServiceFromUIThread() and minor clean-up (haptic warning prototype).
|
|
6885bc88
|
2017-08-27T18:36:54
|
|
Fixed bug 2265 - Voice to text feature on Android repeats some text via SDL_TEXTINPUT
Sylvain
Small patch for this issue. I tested it and it seems to work.
- it can send several backspaces (instead of only 1).
- it calls directly "sendKeyEvent()" instead of "super.sendKeyEvent()".
otherwise, it would go through the android internals, calling again "onKey()".
and then the "backspace" would arrive after the next "commitText()".
|
|
5ca01522
|
2017-08-26T21:17:12
|
|
Fixed bug 3774 - Cmake build fails for Android
sfalexrog
Android haptic code was not added to CMakeLists.txt, leading to build failures when targeting Android platform.
Attached patch adds Android haptic driver to source sets and adds configuration parameter to SDL_config.h.cmake.
|
|
bbd9acdd
|
2017-08-26T21:20:20
|
|
Add support for GameSir G4s
|
|
73f866cf
|
2017-08-25T15:16:39
|
|
windows: Attempt to make Visual Studio not hardcode a call to memset().
|
|
e58c7920
|
2017-08-25T12:51:42
|
|
x11: Patched to compile with DEBUG_XEVENTS defined.
|
|
8c39d1d0
|
2017-08-25T12:27:18
|
|
OS/2: fixed inverted logic bug (thanks, Ozkan!).
|
|
2213077a
|
2017-08-25T11:31:12
|
|
OS/2: proper fix for dynapi (thanks, Ozkan!).
|
|
685890a2
|
2017-08-24T22:57:42
|
|
Fix KHR_no_error support
|
|
d8fc70ea
|
2017-08-24T21:30:53
|
|
opengl: add support for GL_KHR_no_error.
This is completely untested!
Fixes Bugzilla #3721.
|
|
a3890ff6
|
2017-08-22T15:50:39
|
|
dynapi: fill in OS/2 loading code (thanks, Ozkan!).
Partially fixes Bugzilla #3765.
|
|
17453d49
|
2017-08-21T23:44:46
|
|
x11: Move screen_w/h inside the only ifdef they are referenced in to avoid compiler warnings
|
|
a6dc4ed5
|
2017-08-21T17:22:00
|
|
kmsdrm: Remove moved file
|
|
11717184
|
2017-08-21T17:20:50
|
|
kmsdrm: Cleanup unused headers, rename SDL_kmsdrmevents_c.h -> SDL_kmsdrmevents.h
|
|
fcf83e79
|
2017-08-21T16:30:24
|
|
Fixed bug 3768 - provide a quick copysign() solution for watcom
Ozkan Sezer
The following patch provides a quick copysign solution for Watcom/x86
|
|
9b3ec6a5
|
2017-08-21T13:01:22
|
|
SDL_thread.h: add missing os/2 defines.
(essentially replicates the windows case || SDL1.2 case.)
|
|
f6ad070b
|
2017-08-21T13:00:58
|
|
SDL_dynapi.h: disable dynapi for os/2.
|
|
b821ded9
|
2017-08-21T13:00:40
|
|
SDL_cpuinfo.c: add os/2 support to SDL_GetCPUCount() and SDL_GetSystemRAM().
|
|
f807655b
|
2017-08-21T11:25:04
|
|
Fixed bug 3761 - Windows non-MinGW cmake build defines HAVE_WCSLCPY and HAVE_WCSLCAT
Tom Seddon
https://github.com/SDL-mirror/SDL/commit/0f0ad62237fabb58d5811fe6fa59e5e5aa0e2fb5 (git head at the time of writing); Visual Studio 2015, toolset v140, Platform 10.0.14393.0, building for x64
Windows non-MinGW cmake build sets defines implying wcslcpy and wcslcat are available, but Windows doesn't have these functions.
Ryan C. Gordon
That's weird, these are the exact two functions that Emscripten incorrectly believed it had until we upgraded the buildbot's emsdk install.
Not sure what's up with this, but it's possibly not a MingW-specific thing!
|
|
834ab350
|
2017-08-21T11:19:38
|
|
Fixed bug 3644 - Wayland touch event support
Moritz Bitsch
Attached is a small patch which enables multitouch events on Wayland.
|
|
a78c20ae
|
2017-08-21T11:17:38
|
|
configury: check mmdeviceapi.h and audioclient.h before enabling wasapi.
|
|
f5a38f23
|
2017-08-21T00:42:06
|
|
x11: specify event mask for buttons when grabbing pointer (thanks, Stas!).
This fixes a strange corner case (notes appended below), and should be
safe to do anyhow.
Fixes Bugzilla #3674.
"I did more tests.
It appears the bug only happens if there is
another window on the screen that has "always
on top" property. For me it is xawtv - it is
always opened in a screen corner. Closing
xawtv or removing "always on top" property
from it makes the problem to go away.
Plus, it doesn't appear like the buttons are
not delivered at all. It appears that instead
the button presses are delivered on some mouse
positions, but not delivered when you move the
mouse to other part of the window... So this is
really weird and is likely somewhere deep in the
Xorg.
Maybe somehow it happens that the cursor is
actually above the xawtv window, but, because
my app uses grab, it is not visible there, and
in that case the events are not delivered to
my app?
But with my patch the button events are
always delivered flawlessly, it seems.
Hmm, and that indeed seems to explain my problem:
if the mask is set properly and my app uses
grab, then, even if the mouse is above some
other window, the events would still be delivered
to the grabbing app, which is what actually wanted
because my app uses relative mouse mode, so it
doesn't know the pointer can cross some other window
(my app draws the pointer itself).
So my current theory is that my patch only enforces
the mouse grab, which otherwise can be tricked by
some other window preventing the button events
delivery (but motion events are still delivered
via xinput2, which makes it all look very obscure)."
|
|
01e0d8fc
|
2017-08-19T15:02:03
|
|
opengl: Add support for [GLX|WGL]_ARB_create_context_robustness.
This patch was originally written by Marc Di Luzio for glX and enhanced by
Maximilian Malek for WGL, etc. Thanks to both of you!
Fixes Bugzilla #3643.
Fixes Bugzilla #3735.
|
|
18a65385
|
2017-08-19T11:15:58
|
|
add missing os/2 apientry defs to SDL_opengl.h
|
|
30d554e3
|
2017-08-19T03:07:44
|
|
Fixed building SDL applications with Visual Studio and the clang toolset
Also fixed building 64-bit SDL with clang. 32-bit doesn't build because of the inline assembly for C runtime support.
|
|
12d33b33
|
2017-08-19T02:23:50
|
|
Fixed building with Visual Studio 2017 and the Windows XP toolset if _USING_V110_SDK71_ accidentally gets undefined
|
|
148ac5b3
|
2017-08-19T00:27:11
|
|
Added Matt Styles' tutorial on building SDL for Android with Visual Studio
|
|
3d0f521b
|
2017-08-18T23:23:30
|
|
iOS 10: Work around screen bounds orientation bug. Fixes bugs #3465 and #3505.
|
|
2dc5d32f
|
2017-08-18T18:16:37
|
|
Updated version to 2.0.6
|
|
bcf0e071
|
2017-08-18T17:29:44
|
|
Added WASAPI audio target to autoconf build process
|
|
5c4a45f1
|
2017-08-18T20:25:14
|
|
cmake: some iOS fixes (don't link to Cocoa or Carbon frameworks).
Fixes Bugzilla #3625.
|
|
f4011bf0
|
2017-08-18T20:00:29
|
|
cmake: added a FIXME for later.
Have to figure out what cmake version fixed this and bump the minimum to that.
|
|
8816bb08
|
2017-08-18T19:53:40
|
|
configure: Apple platforms don't need to build with -fpascal-strings anymore.
|
|
677b2e57
|
2017-08-18T19:52:58
|
|
configure: mac and iOS should compile core/unix/*.c
macOS currently needs this if you build with X11 support. iOS doesn't
(currently), but it doesn't hurt to compile it in case we do something
Unixy on that platform later on.
|
|
f75caa2f
|
2017-08-18T18:52:25
|
|
cmake: Fix building for macOS with Xcode generator (thanks, dungaipara!).
Fixes Bugzilla #3625.
|
|
e3e6b4fd
|
2017-08-18T16:52:19
|
|
audio: better docs on conversion APIs, error if not init'd (thanks, Simon!).
Fixes Bugzilla #3662.
|
|
500378eb
|
2017-08-18T16:35:55
|
|
Add atomics for Watcom/x86 as inline asm
Partially fixes Bugzilla #3758.
|
|
c68d3ab7
|
2017-08-17T21:35:46
|
|
Watcom supports __FUNCTION__ identifier (and surely not __PRETTY_FUNCTION__)
Partially fixes Bugzilla #3758.
|
|
bdb7bfd7
|
2017-08-17T21:32:42
|
|
SDL_assert.h: add inline asm (int $3) as SDL_TriggerBreakpoint for Watcom/x86
(also disable SIGTRAP case to !watcom, because watcom doesn't have SIGTRAP.)
Partially fixes Bugzilla #3758.
|
|
fbda68ea
|
2017-08-17T21:32:00
|
|
SDL_endian.h: add SDL_Swap16 and SDL_Swap32 for Watcom/x86 as inline asm
Partially fixes Bugzilla #3758.
|
|
eccbe366
|
2017-08-17T21:30:29
|
|
SDL_bits.h: add __builtin_clz equivalent for Watcom/x86 as inline asm
Partially fixes Bugzilla #3758.
|
|
7a9b9e05
|
2017-08-17T20:47:16
|
|
SDL_mouse.c doesn't need default_cursor.h.
|
|
47beda97
|
2017-08-17T15:44:47
|
|
cmake: add core/unix sources to the build.
Fixes Bugzilla #3757.
|
|
00905c98
|
2017-08-17T03:22:44
|
|
filesystem: Patched to compile on QNX.
|
|
e50d3cdf
|
2017-08-17T02:58:46
|
|
filesystem: QNX should use SDL_LoadFile() instead of rolling it from scratch.
|
|
c13c45c7
|
2017-08-17T01:25:48
|
|
qnx: Implemented SDL_GetBasePath().
|
|
adecda50
|
2017-08-16T21:31:03
|
|
cpuinfo: Add SDL_HasNEON() support for ARM-based QNX.
|