|
009b62f1
|
2020-11-07T02:22:15
|
|
Be explicit about mapping the new game controller paddle buttons
|
|
749062e7
|
2020-11-06T16:53:13
|
|
Implemented SDL_GameControllerSetLED() for iOS/tvOS
|
|
faeac6e8
|
2020-11-06T16:42:46
|
|
Added additional game controller button support on iOS/tvOS
|
|
3a3aaac2
|
2020-11-06T11:30:52
|
|
Added 4 auxiliary buttons to the game controller API
Xbox Elite controllers use AUX1-AUX4 to represent the paddle buttons when using the HIDAPI driver
PS4 and PS5 controllers use AUX1 to represent the touchpad button
Nintendo Switch Pro controllers use AUX1 to represent the capture button
|
|
a22beef4
|
2020-11-05T17:03:28
|
|
Moved the PS5 controller driver to a separate file, as the advanced feature protocol is very different from that of the PS4
|
|
bd2dd3f6
|
2020-11-05T15:36:15
|
|
Added Android mapping for the Sony PS5 Controller
|
|
4d79f966
|
2020-11-05T15:02:54
|
|
Added initial support for the Sony PS5 Controller
|
|
e555d453
|
2020-11-05T11:07:54
|
|
Added SDL_JoystickHasLED
Currently, this is only supported by the PS4 HIDAPI driver.
|
|
1b8dee7c
|
2020-10-31T11:32:40
|
|
coreaudio: Remove unnecessary include of CoreServices.h
|
|
ddc0727b
|
2020-10-27T09:00:42
|
|
Fixed implicit memcpy() when building for ARM64 on Windows (thanks Seigo!)
|
|
010d5fba
|
2020-10-26T09:49:09
|
|
kmsdrm: Make this build with significantly older system libraries.
This allows one to build Raspberry Pi versions on an ancient version of
Raspbian and get both the KMSDRM and RPI video targets built into SDL, giving
maximum binary compatibility from linking against an older glibc, etc, but
also making one library that can access video on all RPi models and OS
releases.
|
|
f0c58417
|
2020-10-25T10:10:10
|
|
SDL_shape_internals.h: forward-declare struct SDL_ShapeTree.
|
|
a4040293
|
2020-10-25T10:10:02
|
|
os2: misc build fixes
|
|
bfc80d83
|
2020-10-25T03:55:02
|
|
minor coding style cleanup
|
|
5dc6c3c9
|
2020-10-24T10:46:18
|
|
Updated Vulkan headers to version 1.2.158
https://github.com/KhronosGroup/Vulkan-Headers
|
|
5682b066
|
2020-10-22T19:51:57
|
|
kmsdrm: Add comment about KMSDRM_VideoQuit() changes.
|
|
63b78277
|
2020-10-22T19:44:38
|
|
kmsdrm: properly exit with an error when ATOMIC interface is not yet available, instead of just segfaulting.
|
|
a3262205
|
2020-10-22T17:55:45
|
|
kmsdrm: rearrange init function so we try ATOMIC compatibility first.
|
|
b1ea0be8
|
2020-10-22T17:06:34
|
|
kmsdrm: Add missing checks after SDL_calloc() calls.
|
|
ad9ec8b3
|
2020-10-22T16:15:34
|
|
kmsdrm: Small fix, missing bracket.
|
|
87a86675
|
2020-10-22T16:01:51
|
|
kmsdrm: Always use spaces for indentation. Always use SDL_calloc() for calloc.
|
|
cfc13620
|
2020-10-21T23:28:02
|
|
os2 video: updates to my_gradd.h
|
|
ba36eb04
|
2020-10-21T00:03:33
|
|
metal: Make line drawing match software renderer.
Partially fixes Bugzilla #2711.
|
|
f1b603ac
|
2020-10-20T11:51:23
|
|
Fixed bug 5323 - SDL_SetWindowMaximumSize fails if Width or Height is equal to minimum Height or Width
batyastudios
Basicly there is problem and somewhat a solution: https://discourse.libsdl.org/t/setwindowmaximumsize-bug/28267
If you SDL_SetWindowMaximumSize() after SDL_SetWindowMinimumSize() with one of axes have the same value, function will have no effect.
This: (line 2144@SDL_video.c)
if (max_w <= window->min_w || max_h <= window->min_h) {
SDL_SetError("SDL_SetWindowMaximumSize(): Tried to set maximum size smaller than minimum size");
return;
}
May be changed to this:
if (max_w < window->min_w || max_h < window->min_h) {
SDL_SetError("SDL_SetWindowMaximumSize(): Tried to set maximum size smaller than minimum size");
return;
}
|
|
cbadd1e3
|
2020-10-20T20:32:20
|
|
geniconv/os2iconv.c: make it build correctly against os2tk headers.
|
|
c33f8083
|
2020-10-20T11:12:49
|
|
render: Restoring line rendering fixes that were previously put on hold.
(Backed out hg changeset 7a4240daba46)
|
|
f311e0a8
|
2020-10-19T17:29:16
|
|
Removed debug log message
|
|
73010da4
|
2020-10-19T17:26:33
|
|
x11events: ignore UnmapNotify events from XReparentWindow
UnmapNotify event does not mean that window has been iconified. It
just reports that window changed state from mapped to unmapped.
XReparentWindow can unmap and remap window if it was mapped. This
causes unnecessary events - HIDDEN, MINIMIZED, RESTORED and SHOW.
These events are problematic with Metacity 3.36+ which started to
remove window decorations from fullscreen windows.
- SDL makes decorated window fullscreen
- Metacity removes decorations
- SDL gets UnmapNotify and exits from fullscreen
- Metacity re-adds decorations
As SDL will also get MapNotify event it will try to restore
window state causing above steps to repeat.
https://bugzilla.libsdl.org/show_bug.cgi?id=5314
|
|
ffb307e4
|
2020-10-18T09:52:56
|
|
Fixed bug 5304 - add SDL_HasSurfaceRLE() (Thanks Rene Dudfield and Dan Lawrence)
|
|
19a65a46
|
2020-10-17T21:47:05
|
|
Fixed bug 5321 - crash in SDL_ConvertSurface with RLE surfaces
keep RLE information in flags when converting the surface
|
|
c70191d2
|
2020-10-17T07:37:00
|
|
SDL_os2video.c (OS2_CreateDevice): remove duplicated assignment.
|
|
77d0f043
|
2020-10-16T23:50:00
|
|
os2video.c: add missing FOURCC_R666 define, enable FOURCC_R666 case in _getSDLPixelFormatData().
|
|
99ed0d7a
|
2020-10-16T12:40:12
|
|
Map the guide button by default on Android 11
|
|
3755f692
|
2020-10-16T12:40:10
|
|
Added mapping for Xbox One S controller and PS4 controller on Android 11, including guide button
|
|
58976bda
|
2020-10-15T12:00:15
|
|
Allow more than one window on iOS as long as they're on different displays
|
|
a90f0400
|
2020-10-15T21:37:30
|
|
os2: a _lot_ of coding style cleanup, sot that they match the SDL style.
also renamed the 'debug' macro to debug_os2: the former was dangerously
a common name.
the binary (dll) output is precisely the same as before.
|
|
bdc5129f
|
2020-10-15T10:13:46
|
|
Use a high priority dispatch queue for GCKeyboard and GCMouse events for the lowest latency possible
This appears to reduce latency between 1-4 ms on an iPad Pro.
|
|
a3a0ef75
|
2020-10-15T10:13:44
|
|
Added support for low latency mouse and keyboard handling in iOS 14
The mouse support in iOS 14.0 has a bug with accumulating duplicate mouse deltas that won't be fixed until iOS 14.1, so we don't enable it until then.
|
|
d9aea0c3
|
2020-10-15T10:13:42
|
|
Update the existing haptic player when we rumble on iOS
|
|
cca16c9c
|
2020-10-15T17:56:19
|
|
kmsdrm: merge GetDisplayDPI implementation by bms20 <brett@mynah-software.com>
|
|
d2723875
|
2020-10-14T23:01:06
|
|
os2: integrate the port into main tree.
|
|
5807cb3d
|
2020-10-14T23:01:06
|
|
os2: remove dependency to gradd.h from IBM's ddk which is non-free:
Add a minimal my_gradd.h containing structures and constants only used
by SDL_os2vman.c -- based on public knowledge from around the internet
including pages from http://www.osfree.org and http://www.edm2.com .
|
|
b6965a17
|
2020-10-14T23:01:05
|
|
os2: Andrey Vasilkin agreed that his code to be put under Zlib license:
add SDL license headers to geniconv sources.
|
|
1d9cf23e
|
2020-10-14T23:01:05
|
|
os2: updated copyright dates for 2020. header guard fixes.
|
|
a3d7913c
|
2020-10-14T23:01:05
|
|
SDL_os2audio.c (OS2_OpenDevice): change spec->samples assignment:
Original code assigned MCIMixSetup.ulSamplesPerSec value to it, but it
is just the freq... We now change spec->samples only either if it is 0
or we changed the frequency, by picking a default of ~46 ms at desired
frequency (code taken from SDL_audio.c:prepare_audiospec()).
With this, the crashes I have been experiencing are gone.
|
|
e112b776
|
2020-10-14T23:01:05
|
|
SDL_os2audio.c (OS2_OpenDevice): change {0} initializers to SDL_zero()
|
|
72594e25
|
2020-10-14T23:01:04
|
|
SDL_os2audio.c (OS2_OpenDevice): remove assignment to wrong spec member
Correct assignment to 'format' member is done below, already.
|
|
fe2cc8d8
|
2020-10-14T23:01:04
|
|
OS2_VideoQuit(): avoid double free()ing of displays.
Our caller SDL_VideoQuit() already frees display_modes, driverdata, etc.
Noticed in bitwiseworks' version at https://github.com/bitwiseworks/SDL2-os2
|
|
fba32ee2
|
2020-10-14T23:01:04
|
|
OS2_VideoInit: zero the stSDLDisplay and stSDLDisplayMode variables
Fixes testdisplayinfo.exe crashing in SDL2-2.0.13. (How it did work before?..)
|
|
54ced668
|
2020-10-14T23:01:04
|
|
port from 2.0.12 to 2.0.13 / current SDL-hg repository.
- video: VideoBootStrap->available() is gone.
- thread: all important SDL_CreateThread internal data now put into
struct SDL_Thread: changes to SDL_SYS_CreateThread().
|
|
5da796fe
|
2020-10-14T23:01:03
|
|
os/2: port from SDL2-2.0.5 to SDL2-2.0.12
- events / video: SDL_SetDoubleClickTime() removed -- functionality
moved to SDL_mouse.c:SDL_MouseDoubleClickTimeChanged().
- video: struct SDL_VideoDevice-> CreateWindow and CreateWindowFrom
members renamed to CreateSDLWindow and CreateSDLWindowFrom
|
|
5d89217f
|
2020-10-14T23:01:03
|
|
os2/SDL_sysfilesystem.c: fix crash if one of the parameters is NULL
Has been happening with testfilesystem from 2.0.6 and newer because
of commit 572a721879ef.
Also set error strings in certain error conditions.
Also applied coding style / whitespace fixes, while I was there.
|
|
222f0268
|
2020-10-14T23:01:03
|
|
os/2: port from SDL2-2.0.4 to SDL2-2.0.5:
changes to SDL_os2audio.c, SDL_os2video.c, os2/SDL_systhread.c in order
to accomodate SDL2-2.0.5 changes.
- audio: WaitDone() is gone, CloseDevice() interface changes.
- events / video: DropFile() changes:
SDL_DROPBEGIN and SDL_DROPCOMPLETE events, window IDs for drops.
- thread: struct SDL_Thread->stacksize
|
|
5f3f67b1
|
2020-10-14T23:01:03
|
|
os2/SDL_sysfilesystem.c: use OS/2 api DosCreateDir() instead of mkdir().
mkdir() from watcom and emx differ - the latter being unix-ish, so this
change avoids ifdefs.
|
|
1b99d805
|
2020-10-14T23:01:02
|
|
os2: updates from Andrey Vasilkin's 2020-09-07 sources.
|
|
aa790837
|
2020-10-14T23:01:02
|
|
os2: several warning fixes.
mostly those "W007: '&array' may not produce intended result" warnings
from Watcom, visible only in C++ mode. one or two others here & there.
|
|
f9af19f5
|
2020-10-14T23:01:02
|
|
os2: updates to SDL_systhread.c:
removed lots of garbage. added SDL_PASSED_BEGINTHREAD_ENDTHREAD guard,
because the code requires it.
|
|
c2188619
|
2020-10-14T23:01:01
|
|
os2: added a 2-byte padding to os2 SDL_PrivateAudioData
|
|
d1323eb0
|
2020-10-14T23:01:01
|
|
os2: better error reporting from loadso
|
|
861ac81b
|
2020-10-14T23:01:01
|
|
os2: changes to debug macros
|
|
110a0f7b
|
2020-10-14T23:01:01
|
|
os2: update include paths. add missing libc includes to geniconv.
|
|
74cfb81d
|
2020-10-14T23:01:00
|
|
os2: add port files for SDL2-2.0.4 from Andrey Vasilkin
only geniconv/iconv.h (was from LGPL libiconv) is replaced with a generic
minimal iconv.h based on public knowledge.
|
|
93e14497
|
2020-10-14T15:50:04
|
|
SDL_waylanddatamanager.c (mime_data_list_add): constify the buffer param
Fixes -Wdiscarded-qualifiers warnings from Wayland_data_source_add_data()
|
|
b9cbea35
|
2020-10-13T21:08:20
|
|
video: Refresh Windows display list on WM_DISPLAYCHANGE
- Displays may have been added, removed or changed and all cached monitor
handles are invalidated as a result.
- Display events are handled in three steps:
1. Mark all currently know displays as invalid
2. Enumerate all displays, adding new ones and marking known displays as valid
3. Remove all displays still invalid after enumeration
- Display connect/disconnect events are sent when displays are added or removed
after initial setup
|
|
a558409b
|
2020-10-13T21:08:18
|
|
Only include CoreHaptics if we're building with rumble support
|
|
75d5be97
|
2020-10-13T21:08:17
|
|
Fixed compiling with an older iOS SDK
|
|
6b62494e
|
2020-10-13T21:08:15
|
|
Added support for controller battery status on iOS 14
|
|
1b31e9f6
|
2020-10-13T21:08:13
|
|
Added support for game controller rumble on iOS 14
|
|
2d7b33cb
|
2020-10-13T21:08:11
|
|
Added support for the controller home button on iOS 14
|
|
59022829
|
2020-10-11T17:32:32
|
|
riscos: Implement SDL_OpenURL()
|
|
34a82fca
|
2020-10-10T20:50:02
|
|
SDL_cpuinfo.c (OS2): undefine HAVE_SYSCTLBYNAME
|
|
b546db2f
|
2020-10-09T12:58:28
|
|
Only watch for display connect/disconnect events while the video subsystem is initialized
|
|
7991cc38
|
2020-10-09T21:40:28
|
|
dynapi: move SDL_SIMDRealloc down below, after SDL_GetPreferredLocales.
https://hg.libsdl.org/SDL/rev/884cb29cb80e wrongly added it after its
family i.e. SDL_SIMDAlloc, not at the end of the list.
|
|
b79832ba
|
2020-10-08T21:11:09
|
|
cocoa: Cut and paste from HTML strikes again!
|
|
19aaa294
|
2020-10-09T04:00:00
|
|
Fix https://bugzilla.libsdl.org/show_bug.cgi?id=5306
(Also see: https://bugzilla.libsdl.org/show_bug.cgi?id=4822)
Building the current tree against 10.8 SDK, clang emits the following warning:
src/video/cocoa/SDL_cocoawindow.m:1846:27: warning: instance method '-isOperatingSystemAtLeastVersion:' not found (return type defaults to 'id') [-Wobjc-method-access]
![processInfo isOperatingSystemAtLeastVersion:version]) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h:20:12: note: receiver is instance of class declared here
@interface NSProcessInfo : NSObject {
^
1 warning generated.
isOperatingSystemAtLeastVersion is an 10.10 thing.
|
|
69fbd60d
|
2020-10-09T04:00:00
|
|
Fix https://bugzilla.libsdl.org/show_bug.cgi?id=4877#c2
loadNibNamed:owner:topLevelObjects is available on 10.8 and newer.
There is an issue report here about an app failing to function on
10.7 and earlier: https://discourse.libsdl.org/t/28179
|
|
bd14f267
|
2020-10-08T16:58:34
|
|
Removed unused variable
|
|
d86a7465
|
2020-10-09T02:55:00
|
|
SDL_video.c: fix whitespace
|
|
76980e30
|
2020-10-08T16:42:20
|
|
Added events for dynamically connecting and disconnecting displays, with an iOS implementation
|
|
cd703b56
|
2020-10-08T16:41:48
|
|
Fixed whitespace
|
|
54bb9aac
|
2020-10-08T11:51:02
|
|
k_rem_pio2.c: fix typo in second memset(): iq, not q. fixes bug #5309.
|
|
061256a3
|
2020-10-07T14:45:24
|
|
metal: Clear the framebuffer if presenting without any other operations.
|
|
003a1698
|
2020-10-06T11:07:50
|
|
wav: Make sure the data size is a multiple of blockalign, not an exact match.
I _think_ this is a right thing to do; it fixes a .wav file I have here that
has blockalign==2 when channels==2 and bitspersample==16, which otherwise
would fail.
|
|
46274269
|
2020-10-06T00:42:17
|
|
url: WinRT actually works now (and has been tested, hooray!).
|
|
f31ad57f
|
2020-10-05T19:17:52
|
|
Implement keyboard repeat in wayland video driver
|
|
fc05a696
|
2020-10-05T18:08:58
|
|
url: Attempt #23235 at WinRT support...
|
|
02addf13
|
2020-10-05T18:01:47
|
|
url: Another attempt at WinRT implementation.
|
|
1f4b5d54
|
2020-10-06T00:20:20
|
|
windows/SDL_syslocale.c: make it build against older SDKs.
|
|
7bec9df1
|
2020-10-05T16:10:10
|
|
url: Add to Xcode project files, iOS/mac fixes.
|
|
57e3003d
|
2020-10-05T15:47:47
|
|
url: Attempt at WinRT support.
|
|
566479c8
|
2020-10-05T15:37:37
|
|
url: ShellExecuteW returns an HINSTANCE, so deal with that more correctly.
|
|
ee56090d
|
2020-10-05T15:03:44
|
|
url: Cleanups and compiler warning fixes.
|
|
cc158f29
|
2020-10-05T14:36:37
|
|
url: removed "extern" from function declaration.
|
|
a3802cc5
|
2020-10-05T14:30:33
|
|
url: Patched to compile on C89 compilers.
|
|
0099e38a
|
2020-10-05T14:21:03
|
|
url: More win32 fixes.
|
|
1f4fecc5
|
2020-10-05T14:07:32
|
|
url: Patched to compile on Windows.
|
|
777d0f19
|
2020-10-05T14:06:25
|
|
url: patched to compile on macOS.
|
|
d068d05a
|
2020-10-05T14:01:08
|
|
url: Make sure Haiku's C++ implementation is flagged as 'extern "C"'
|
|
bf9fcb53
|
2020-10-05T14:00:08
|
|
url: The function is "SDL_Unsupported" not "SDL_Unimplemented"
|
|
2d82cf78
|
2020-10-05T13:59:03
|
|
url: put the Android bits in core/android
|