kc3-lang/SDL/src

Branch :


Log

Author Commit Date CI Message
9a76bebf 2019-11-13 14:24:48 SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS defaults to true, to match Steam's default behavior
b44fe0f8 2019-11-12 17:24:37 haiku: Rename BE_* entities to HAIKU_* In favor Bugzilla #2349. Update copyright years to 2019. Partially fixes Bugzilla #4442.
33ae5e5e 2019-11-11 22:23:33 haiku: mouse_relative fix Partially fixes Bugzilla #4442.
79510b75 2019-11-11 22:22:40 haiku: mouse->ShowMouse method added Partially fixes Bugzilla #4442.
95a402d7 2019-11-11 22:21:17 haiku: Add support for relative mouse mode. Partially fixes Bugzilla #4442.
bd648bd5 2019-11-11 22:18:21 haiku: Add simple relative mode for mouse. Partially fixes Bugzilla #4442.
3b516e63 2019-11-11 22:14:00 haiku: Fix crash when opening window. - _num_clips was not set in constructor, so a NULL _clips could be mistakenly dereferenced. - As _clips is accessible outside the class, it is not a good idea to free/reallocate it. Try to limit this by reallocating only when it needs to grow. Partially fixes Bugzilla #4442.
50806eee 2019-11-11 22:04:10 haiku: use addr_t instead of size_t for OpenGL dynamic loading. Partially fixes Bugzilla #4442.
55b5d8dc 2019-11-11 21:59:39 haiku: Invert mouse wheel values to match what SDL expects. Partially fixes Bugzilla #4442.
b22fb9e2 2019-11-11 16:44:40 haiku: Implement message box for Haiku Add implementation for functions: SDL_ShowSimpleMessageBox() SDL_ShowMessageBox() Add simple customization support also. Fix build for x86_gcc2. Partially fixes Bugzilla #4442.
a365c7f6 2019-11-04 11:15:24 ran gendynapi.pl after SDL_HasARMSIMD() addition
303646a6 2019-10-31 15:53:10 Android: some readability: redundant casts, deads stores, redundant control flow
fea3c8bd 2019-10-31 17:10:02 SDL_qsort.c: sync comments with version 1.15 from mainstream
88ba6798 2019-10-30 21:12:36 Wayland: touch events, use of memory after it is freed
86ae245b 2019-10-30 17:59:20 Use correct enum: typo in org_kde_kwin_server_decoration_mode instead of org_kde_kwin_server_decoration_manager_mode
81cdd500 2019-10-30 17:35:40 Remove redundant 'SDL_GetErrBuf' declaration
9e509e4a 2019-10-30 16:45:53 SDL_render_gles2: remove ineffective widening cast warning: either cast from 'int' to 'size_t' (aka 'unsigned long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast]
ce308a78 2019-10-30 16:33:32 revert this const parameter for X11 function
dab55a8d 2019-10-30 16:20:58 Readability: remove redundant cast
f16e5106 2019-10-30 16:17:59 Fix const warning in RLE getpix functions
25d53a44 2019-10-30 16:12:39 SDL_syspower.c: remove redundant expression
d4a67e25 2019-10-30 16:06:51 Readability: change some pointer parameter to be pointer to const
3d100df3 2019-10-30 15:43:49 Readability: remove const-qualifation from function declaration const-qualification of parameters only has an effect in function definitions
60d3965e 2019-10-30 15:36:17 Readability: remove redundant return, continue, enum declaration
b458d7a2 2019-10-30 15:13:55 Readability: remove redundant cast to the same type
56cbe120 2019-10-30 14:37:06 BlitAuto: remove redundant cast to the same type
735691ec 2019-10-30 14:29:41 Remove nested redundant #ifndef
ff0d9245 2019-10-30 14:26:18 SDL_syspower: remove dead store warning Value stored to 'str' during its initialization is never read
42153342 2019-10-29 16:13:41 Use fill_function for FillRect SIMD/NEON (bug 4365)
bda618a2 2019-10-27 11:41:48 iOS: remove some unused code, minor code style cleanup.
df49e2a5 2019-10-27 11:41:11 iOS: replace a deprecated function call with a non-deprecated equivalent.
7289e5e2 2019-10-27 15:22:28 Android: remove warning in blit_features "integer constant not in range of enumerated type 'enum blit_features'"
463bf5c2 2019-10-27 14:52:09 Android: fix compilation error of SDL_cpuinfo.c on android-r13b (bug 4365)
c0255be4 2019-10-26 23:58:55 x11: check if the X server honored our XMoveWindow() call (thanks, R.E. Rust!). This can happen if a window is still grabbed when we try to move it, or if the X11 ecosystem is just in a bad mood, I guess. This makes sure that SDL will report the correct position for a window; otherwise, SDL_GetWindowPosition will just report whatever the last SDL_SetWindowPosition call requested, even if the window didn't actually move. Fixes Bugzilla #4646.
a963e36e 2019-10-26 15:27:51 macOS: more robust detection and switching of exclusive-fullscreen display modes (bug #4822).
a9b867ab 2019-10-26 14:39:50 macOS Fix potential memory leaks in the Metal renderer caught by clang's static analyzer.
1ce1364b 2019-10-26 12:56:18 d3d11: Don't fail if there's no vertex data to upload (thanks, Martin!). Fixes Bugzilla #4832.
6dffc5d4 2019-10-25 00:07:30 cpuinfo: Remove incorrect #warning when building for non-ARM architectures.
72f8044a 2019-10-24 21:17:52 ARM: NEON assembly optimization for SDL_FillRect
1187b013 2019-10-24 21:17:38 ARM: NEON assembly optimization for function BlitARGBto565PixelAlpha
2dfe0605 2019-10-24 21:17:19 ARM: NEON assembly optimization for function BlitRGBtoRGBPixelAlpha
74846657 2019-10-24 21:15:50 ARM: SIMD optimization for 4:4:4:4 to 8:8:8:8 normal blits
becc649a 2019-10-24 21:15:35 ARM: assembly optimization for SDL_FillRect
7ac733f0 2019-10-24 21:15:21 ARM: SIMD assembly optimization for BGR-to-RGB 32bpp normal blits
8425d9d5 2019-10-24 21:15:09 SDL_blit: use a named enum for required hardware bits in dispatch tables
0eaa52ce 2019-10-24 21:13:56 ARM: SIMD assembly optimization for function BlitARGBto565PixelAlpha
57723b83 2019-10-24 21:13:05 ARM: SIMD assembly optimization for function BlitRGBtoRGBPixelAlpha Much of the heavy lifting of this optimization is lifted from the Pixman project, which is distributed under an MIT-style license. As far as possible, these elements have been relicensed to the zlib license.
6a6a0528 2019-10-24 21:12:08 ARM: Create configure option --enable-arm-simd to govern assembly optimizations
59beaccd 2019-10-24 20:15:54 macOS: Expose high dpi-capable display modes on macOS 10.13+. Fixes an issue in macOS 10.15 where the displayed content would move up after entering, exiting and re-entering exclusive fullscreen when certain display modes were used (bug #4822). Bug #3949 is also related to this change.
8081f117 2019-10-24 18:07:30 Fixed bug 2014 - Hardcoded srcA value in SDL_Blit_auto.c functions
3a8b8994 2019-10-23 11:07:11 Android: remove eglGetProcAdded busted comment (bug #4040)
0f871c03 2019-10-23 09:53:23 Fixed bug 4843 - Passing NULL to memset in SDL_PrivateLoadButtonMapping (Thanks!)
ed469fa5 2019-10-23 09:36:41 Fixed bug 4842 - Redundant condition in MS_ADPCM_Decode and IMA_ADPCM_Decode (Thanks!)
c9d0e2ae 2019-10-23 09:26:27 Fixed bug 4840 - Read of uninitialized memory in DXGI_LoadDLL (Thanks!)
d5d34de4 2019-10-23 09:17:53 Fixed bug 4839 - Read of uninitialized memory in Win32_ResizeWindowShape (Thanks!)
758badff 2019-10-23 08:58:52 Fixed bug 4841 - Misplaced parenthesis WIN_WindowProc / WM_ACTIVATE / ClipCursor (Thanks!)
b7ab3b39 2019-10-23 08:50:57 Fixed bug 4838 - Use after free in SDL_JoystickUpdate (Thanks!)
3ac67cf4 2019-10-23 08:46:59 Fixed bug 4837 - Use after free in SDL_SensorUpdate (Thanks!)
5025109f 2019-10-22 15:43:58 Fixed accidental whitespace
9da4bfc1 2019-10-22 10:57:07 Added support for the Power A Nintendo Switch Enhanced Wireless Controller
f96da11f 2019-10-22 10:28:51 Reordered Power A Switch controllers so they're grouped together
9e7894ef 2019-10-22 10:27:30 Added support for the PowerA - Super Mario Controller
9ececeea 2019-10-20 22:17:59 cpuinfo: Use a better default alignment value (thanks, Simon!). Fixes Bugzilla #4835.
cdc7181e 2019-10-19 01:54:02 Don't try to use the Xbox HID protocol with the NVIDIA Shield controllers
336a7549 2019-10-19 09:23:40 remove warning prototype SDL_ExitProcess()
9c14c789 2019-10-18 23:10:00 updated includes for _exit()
24bee6e5 2019-10-18 21:47:30 Add internal function SDL_EGL_GetVersion()
b060b2ea 2019-10-18 08:56:54 Fixed whitespace
412ab7e1 2019-10-18 14:23:37 Fixed bug 4829 - Sensor events incorrectly disabled
e5bd2003 2019-10-18 14:08:07 Android: enable eglGetProcAddress (bug #4040, bug #4794)
03f27a3a 2019-10-18 13:27:58 Add robustness getting the EGL version (see bug #4040)
3ecce847 2019-10-18 00:07:32 egl: adjust how we load symbols in SDL_EGL_GetProcAddress. Use eglGetProcAddress for everything on EGL >= 1.5. Try SDL_LoadFunction first for EGL <= 1.4 in case it's a core symbol, and as a fallback if eglGetProcAddress fails. Finally, for EGL <= 1.4, fallback to eglGetProcAddress to catch extensions not exported from the shared library. (Maybe) Fixes Bugzilla #4794.
4f304fd8 2019-10-17 18:07:52 Added support for the BDA PS4 Fightpad
097b9c30 2019-10-17 17:51:49 Better fix for iOS build
a1349d46 2019-10-17 17:51:36 Build fix for the build fix
8984d25b 2019-10-17 17:47:27 Fixed build on iOS
bf9092cf 2019-10-17 17:47:11 Removed unused variable
b3470f04 2019-10-17 17:32:47 Added the hint SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS to control whether Nintendo Switch controllers use their button labels or button positions for game controller button reporting.
e6ac16ef 2019-10-17 16:59:05 Added support for third party Nintendo Switch controllers that don't support the full protocol
43c5f62d 2019-10-17 16:14:17 Merged latest data from Steam
216f5b98 2019-10-17 18:48:58 metal: Fix compilation when using older Apple SDKs (bug #4828).
6be83e61 2019-10-16 13:54:35 emscripten: Patched to compile (thanks, Caleb!). Fixes Bugzilla #4827.
1b4de45d 2019-10-16 08:45:54 Fixed bug 4785 - SDL_CreateRGBSurface creates 1-bit surfaces with zero pitch Sylvain Seems to be a regression in this commit: https://hg.libsdl.org/SDL/rev/7fdbffd47c0e SDL_CalculatePitch() was using format->BytesPerPixel, now it uses SDL_BYTESPERPIXEL(). The underlying issue is that "surface->format->BytesPerPixel" is *not* always the same as SDL_BYTESPERPIXEL(format); BytesPerPixel defined as format->BytesPerPixel = (bpp + 7) / 8; vs #define SDL_BYTESPERPIXEL(format) ... (format & 0xff) Because of SDL_pixels.h format definitions, one is giving a BytesPP 1, the other 0.
ed7483f8 2019-10-15 22:36:08 x11: On macOS, look for X11 install in /opt/X11 instead of /usr/X11R6. This is where Apple installs XQuartz now (and apparently, the compatibility symlink at /usr/X11R6 can be missing). Fixes Bugzilla #4706.
02a2ec98 2019-10-15 14:55:09 video: Make sure SDL_FillRects()'s fill_function isn't used unitialized.
9f636be8 2019-10-15 14:04:43 video: Removed unused variables.
e23067ea 2019-10-15 14:03:01 video: speed up SDL_FillRect[s] slightly (thanks, Jakub!). "This patch does the following: * Instead of SDL_FillRects calling SDL_FillRect in a loop the opposite happens -- SDL_FillRect (a specific case) calls SDL_FillRects (a general case) with a count of 1 * The switch/case block is moved out of the loop -- it modifies the color once and stores the fill routine in a pointer which is then used throughout the loop" Fixes Bugzilla #4674.
e9c1e126 2019-10-15 12:02:19 test: Fixed wrong verbose flag check (thanks, watcom.hecht!). Fixes Bugzilla #4826.
aa0a6518 2019-10-15 08:54:25 test: Fixed compiler warning on Visual Studio.
526b9bdf 2019-10-14 22:41:27 Backed out changeset b0241180cdc5 Better commit incoming!
cd8652d8 2019-10-15 01:13:44 events: SDL_WaitEvent()'s polling loop now sleeps 1ms instead of 10ms. Fixes Bugzilla #4356.
d5e378d1 2019-10-15 00:59:10 cocoa: Implement SDL_WINDOW_ALWAYS_ON_TOP support (thanks, Gabriel!). Fixes Bugzilla #4809.
ec04110d 2019-10-14 12:41:06 dynapi: Deal with failure cases better, other fixes. Fixes Bugzilla #4803.
fe20c35b 2019-10-14 16:40:46 Fixed race condition when scaling Touch events, and changing the renderer target. Always read the output size of the main renderer. (similar to bug 2107)
074f6a51 2019-10-14 00:51:53 macOS: Fix the initial window background not being black since macOS 10.14.2 or so, when OpenGL is used (bug #4810). Also fixes "CGContext: invalid context 0x0" errors when an OpenGL window is created (bug #4470).
009226c6 2019-10-13 21:39:20 macOS: Fix non-highdpi OpenGL contexts not scaling properly in macOS 10.15 (bug 4810 and 4822).
72660a51 2019-10-13 20:52:52 Fixed bug 4825 - SDL Renderer OpenGL: Buffer overflow (SDL_RENDERCMD_DRAW_LINES)
f8bdefe1 2019-10-13 15:18:28 macOS: Fix asserts in SDL_Render's metal scissor code when the window is resized.
1773da89 2019-10-13 12:16:40 macOS: Fix a new issue in 10.15 where the window decorations don't always get restored after SDL_SetWindowFullscreen(window, 0).
3b0dcaf4 2019-10-12 18:47:56 Fixed bug 4797 - SDL fails to compile with Mesa Master (thanks Michael Olbrich!) fix building with Mesa 19.2 With Mesa 19.2 building fails with: /include/GLES/gl.h:63:25: error: conflicting types for 'GLsizeiptr' The same type is defined in include/SDL_opengl.h for OpenGL and the two headers should not be included at the same time. This was just never noticed because the same header guard '__gl_h_' was used. This was changed in Mesa. The result is this error. Fix this the same way GLES2 already handles this: Don't include the GLES header when the OpenGL header was already included. (https://hg.libsdl.org/SDL/rev/6a3670d6108d)