Log

Author Commit Date CI Message
Ozkan Sezer 861ac81b 2020-10-14T23:01:01 os2: changes to debug macros
Ozkan Sezer 110a0f7b 2020-10-14T23:01:01 os2: update include paths. add missing libc includes to geniconv.
Ozkan Sezer 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.
Ozkan Sezer 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()
Sam Lantinga eb1aba61 2020-10-13T21:08:22 Make the CoreHaptics framework optional on iOS and tvOS
Sam Lantinga 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
Sam Lantinga a558409b 2020-10-13T21:08:18 Only include CoreHaptics if we're building with rumble support
Sam Lantinga 75d5be97 2020-10-13T21:08:17 Fixed compiling with an older iOS SDK
Sam Lantinga 6b62494e 2020-10-13T21:08:15 Added support for controller battery status on iOS 14
Sam Lantinga 1b31e9f6 2020-10-13T21:08:13 Added support for game controller rumble on iOS 14
Sam Lantinga 2d7b33cb 2020-10-13T21:08:11 Added support for the controller home button on iOS 14
Ozkan Sezer 2daa670c 2020-10-13T15:20:03 cmake: look for iconv in libc, too (bug #5316.)
Ozkan Sezer 67568518 2020-10-13T14:45:10 cmake: run updaterev.sh if(NOT CMAKE_HOST_WIN32) ... not if(NOT WINDOWS OR CYGWIN) This way, it generates SDL_revision.h in cross-build environments too.
Ozkan Sezer 665cfa49 2020-10-13T14:32:15 cmake: check for alloca() in stdlib.h and malloc.h, too (bug #5316)
Ozkan Sezer fc795f89 2020-10-13T05:20:00 SDL_cpuinfo.h: add missing const to size parameter of SDL_SIMDRealloc() so that the declaration matches the definition.
Ozkan Sezer af06a60a 2020-10-13T00:33:56 Makefile.os2: remove some unnecessary stuff.
Ozkan Sezer 48c03d9a 2020-10-12T02:40:00 cmake: reduce STDC_HEADER_NAMES list to only relevant headers, i.e. stddef.h, stdarg.h, stdlib.h, string.h, stdio.h, wchar.h, float.h. Fixes issue described at: https://bugzilla.libsdl.org/show_bug.cgi?id=4885#c2
Ozkan Sezer 196cda69 2020-10-12T01:02:28 build: fix / update sensors (windows) configuration - SDL_config.h.in: add missing defines SDL_SENSOR_COREMOTION and SDL_SENSOR_WINDOWS (configure did set SDL_SENSOR_WINDOWS but it never went in SDL_config.h or Makefile.) - SDL_config.h.cmake: remove duplicated SDL_SENSOR_XXX cmake defines. - autofoo, cmake: check for sensorsapi.h header before enabling windows sensors.
Ozkan Sezer 10eb5108 2020-10-11T20:00:20 test/Makefile.os2: add testlocale.exe to build.
Cameron Cawley 59022829 2020-10-11T17:32:32 riscos: Implement SDL_OpenURL()
Ozkan Sezer 34a82fca 2020-10-10T20:50:02 SDL_cpuinfo.c (OS2): undefine HAVE_SYSCTLBYNAME
Ozkan Sezer 5d42ad9e 2020-10-10T03:00:04 Makefile.os2: minor re-order.
Sam Lantinga b546db2f 2020-10-09T12:58:28 Only watch for display connect/disconnect events while the video subsystem is initialized
Ozkan Sezer 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.
Ozkan Sezer 05438b28 2020-10-09T04:28:00 minor tidy-up to Makefile.os2
Ryan C. Gordon b79832ba 2020-10-08T21:11:09 cocoa: Cut and paste from HTML strikes again!
Ozkan Sezer 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.
Ozkan Sezer 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
Ozkan Sezer e58cc5fa 2020-10-09T03:28:30 minor whitespace fix
Sam Lantinga 79e625f0 2020-10-08T17:01:28 Fixed trying to build OSX SDL_OpenURL on iOS and tvOS
Sam Lantinga bd14f267 2020-10-08T16:58:34 Removed unused variable
Ozkan Sezer d86a7465 2020-10-09T02:55:00 SDL_video.c: fix whitespace
Ozkan Sezer 3aa418f4 2020-10-09T02:50:15 SDL_video.h (SDL_DisplayEventID): remove comma at end of enumerator list
Sam Lantinga 76980e30 2020-10-08T16:42:20 Added events for dynamically connecting and disconnecting displays, with an iOS implementation
Sam Lantinga cd703b56 2020-10-08T16:41:48 Fixed whitespace
Ozkan Sezer 54bb9aac 2020-10-08T11:51:02 k_rem_pio2.c: fix typo in second memset(): iq, not q. fixes bug #5309.
Ryan C. Gordon 061256a3 2020-10-07T14:45:24 metal: Clear the framebuffer if presenting without any other operations.
Sylvain Becker b7b8ef59 2020-10-07T17:32:07 Fixed bug 5307 - Crash when joysticks hats number is odd (Thanks Sockmonsters!)
Sylvain Becker bffbc7e3 2020-10-07T14:55:23 Android: better readibility for pollHapticDevices()
Sylvain Becker 20c070d8 2020-10-07T14:41:37 Android: better readibility for pollInputDevices() and move isDeviceSDLJoystick() test at first since there are always non-joystick devices present.
Ryan C. Gordon 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.
Ryan C. Gordon 46274269 2020-10-06T00:42:17 url: WinRT actually works now (and has been tested, hooray!).
Ryan C. Gordon fc05a696 2020-10-05T18:08:58 url: Attempt #23235 at WinRT support...
Ryan C. Gordon 02addf13 2020-10-05T18:01:47 url: Another attempt at WinRT implementation.
Ozkan Sezer 1f4b5d54 2020-10-06T00:20:20 windows/SDL_syslocale.c: make it build against older SDKs.
Ryan C. Gordon 6c6d2bdd 2020-10-05T16:25:48 url: Build WinRT-specific code as C++/CX instead of plain C++.
Ryan C. Gordon 7bec9df1 2020-10-05T16:10:10 url: Add to Xcode project files, iOS/mac fixes.
Ryan C. Gordon 57e3003d 2020-10-05T15:47:47 url: Attempt at WinRT support.
Ryan C. Gordon 566479c8 2020-10-05T15:37:37 url: ShellExecuteW returns an HINSTANCE, so deal with that more correctly.
Ryan C. Gordon b7b2995f 2020-10-05T15:27:32 url: Added to Visual Studio project files.
Ryan C. Gordon ee56090d 2020-10-05T15:03:44 url: Cleanups and compiler warning fixes.
Ryan C. Gordon cc158f29 2020-10-05T14:36:37 url: removed "extern" from function declaration.
Ryan C. Gordon a3802cc5 2020-10-05T14:30:33 url: Patched to compile on C89 compilers.
Ozkan Sezer 66d847bd 2020-10-05T21:30:00 url: Patched to compile on OS/2.
Ryan C. Gordon 0099e38a 2020-10-05T14:21:03 url: More win32 fixes.
Ryan C. Gordon 3fe5ce7b 2020-10-05T14:08:45 url: Patched to compile on OS/2.
Ryan C. Gordon 1f4fecc5 2020-10-05T14:07:32 url: Patched to compile on Windows.
Ryan C. Gordon 777d0f19 2020-10-05T14:06:25 url: patched to compile on macOS.
Ryan C. Gordon d068d05a 2020-10-05T14:01:08 url: Make sure Haiku's C++ implementation is flagged as 'extern "C"'
Ryan C. Gordon bf9fcb53 2020-10-05T14:00:08 url: The function is "SDL_Unsupported" not "SDL_Unimplemented"
Ryan C. Gordon 2d82cf78 2020-10-05T13:59:03 url: put the Android bits in core/android
Ryan C. Gordon efd665e2 2020-10-05T13:56:45 Backed out changeset a43cb4e54949 Trying this a different way.
Ryan C. Gordon 913aa610 2020-10-05T13:53:15 url: Include SDL_misc.h to get public function declaration.
Ryan C. Gordon 5f688122 2020-10-05T13:52:52 url: patched to compile on Android.
Ryan C. Gordon 84f1b950 2020-10-05T13:39:39 url: fixed wrong include.
Ryan C. Gordon 77c9d73b 2020-10-05T11:30:33 Removed SDL_AndroidOpenURL, added SDL_OpenURL. Still needs to be wired into Xcode and Visual Studio projects.
Sylvain Becker a70bb58d 2020-10-05T14:09:31 Android: fix joystick allocation that can be never used
Sylvain Becker 2e38c949 2020-10-05T09:56:03 Fix bug 5303 - Touch/Mouse events simulation doesn't work on Android 11
Sylvain Becker cd6670bf 2020-10-02T10:48:27 SDL_Surface refcount: fix memory leak when blitting between stack'ed surfaces (see bug 5226)
Ozkan Sezer 883509fc 2020-10-01T17:01:00 ran gendynapi.pl after new (android-only) api additions.
Sylvain Becker 0467e332 2020-10-01T15:11:28 Android: small change to access to device diagonal value
Sylvain Becker 62b029f3 2020-10-01T14:43:59 Android: missing import class Uri
Sylvain Becker dd55bfe8 2020-10-01T14:41:09 Android: add helper function to open an URL/URI (see bug 2783)
Sam Lantinga 45c644cc 2020-09-28T21:19:45 Added support for the MOGA XP5-X Plus
Manuel Alfayate Corchete 78c274cb 2020-09-26T19:18:09 kmsdrm: merge patches from Ozkan Sezer for removing c-99'isms and raising libgbm version reqeriments.
Sylvain Becker 7ad71563 2020-09-25T10:42:07 Android: be sure shared libraries are loaded in onConfigurationChanged() This could fix a rare crash if: - onConfigurationChanged is called before onCreate(); or shared libraries failed to load and onConfigurationChanged() is called
Sylvain Becker 955f3184 2020-09-25T10:14:42 Fixed bug 5239 - Play audio on Android while backgrounded (Thanks Superfury) Add hint SDL_HINT_ANDROID_BLOCK_ON_PAUSE_PAUSEAUDIO not to pause audio when the app goes to background. (It requires SDL_ANDROID_BLOCK_ON_PAUSE as "Non blocking")
Ryan C. Gordon 7ef188a1 2020-09-19T14:01:57 jack: Fixed memory leak on device close.
Ozkan Sezer ebfc9837 2020-09-16T22:20:02 ac_check_define.m4: remove stray AC_DEFINE outside of the macro definition cf.: bug #5234 -- generated configure script does not change.
Ozkan Sezer 3544bd9e 2020-09-16T08:00:20 ac_check_define.m4: AC_REQUIRE([AC_PROG_CPP]) -- fixes bug #5234.
Manuel Alfayate Corchete 9c342e76 2020-09-13T21:41:10 kmsdrm: merge heap buffer overflow and cursor creation patches from meyraud705.
Manuel Alfayate Corchete 0cb9bfa5 2020-09-12T15:58:47 kmsdrm: less excessive error checkhing
Manuel Alfayate Corchete 5bed30dd 2020-09-12T04:56:55 kmsdrm: also do pending modeseting in SwapWindowDoubleBuffered().
Manuel Alfayate Corchete 9e9227ad 2020-09-12T04:52:56 kmsdrm: reimplement modesetting for fullscreen window scaling and AR-correction.
Manuel Alfayate Corchete 4575c694 2020-09-12T02:36:02 kmsdrm: delete ununsed variable.
Manuel Alfayate Corchete 01b0cf1c 2020-09-12T00:47:00 Backed out changeset 4a45d1a30d25 kmsdrm: Fake KMSDRM_SetDisplayMode() is needed for some programs after all.
Manuel Alfayate Corchete 7b676548 2020-09-12T00:16:08 kmsdrm: don't fool SDL into thinking that changing the physical videomode is done.
Manuel Alfayate Corchete a6d182d3 2020-09-11T23:47:26 kmsdrm: no need to reconnect/reactivate things in SwapWindowDoubleBuffered().
Manuel Alfayate Corchete 47e2d030 2020-09-10T23:26:02 kmsdrm: greatly improve comments in SwapBuffersFenced() for future reference.
Ryan C. Gordon 3c6004fe 2020-09-10T15:07:23 kmsdrm: Choose how to swap buffers based on EGL extension availability.
Ryan C. Gordon c7e761f8 2020-09-10T15:05:55 kmsdrm: Patched to compile if EGL headers lack EGL_ANDROID_native_fence_sync.
Ryan C. Gordon 224aa45b 2020-09-10T15:04:35 kmsdrm: Implement GL_DefaultProfileConfig for Raspberry Pi compatibility. If we think this might be a Raspberry Pi device, default to ES2. Otherwise, accept SDL's higher-level defaults.
Ryan C. Gordon 092162ed 2020-09-10T15:02:51 video: Set up default before calling GL_DefaultProfileConfig(). This way, the implementation can opt to do nothing to accept SDL's defaults.
Ryan C. Gordon e758dd53 2020-09-10T15:02:00 egl: Make SDL_EGL_HasExtension() available outside of SDL_egl.c.
Manuel Alfayate Corchete 055cad49 2020-09-10T02:15:53 kmsdrm: no need to re-connect/reactivate things in SwapWindow() anymore because we use a dumb buffer on KMS buffers destruction now.
Manuel Alfayate Corchete 351219bf 2020-09-09T03:18:26 kmsdrm: On VideoQuit(), only destroy dumb buffer if it exists.
Sam Lantinga 8709f67e 2020-09-08T08:42:30 Fixed bug 5215 - Fixing filenames passed to dlopen for OpenBSD Brad Smith Attached is a patch to use the proper filenames when trying to dlopen the respective shared libraries on OpenBSD.
Manuel Alfayate Corchete 244d0ad8 2020-09-08T15:30:45 kmsdrm: Tell SDL that mouse has entered the window via artificial event. Fixes sticky mouse in Scummvm.
Cameron Gutman 9a769da0 2020-09-07T20:10:50 X11: Remove our X11 error callback in X11_DeleteDevice() If we don't remove it, we will infinitely recurse if X11_CreateDevice() is called again and orig_x11_errhandler becomes X11_SafetyNetErrHandler().
Manuel Alfayate Corchete 550e1533 2020-09-08T02:42:32 kmsdrm: No need to test for display driverdata when freeing a plane.