|
287571fb
|
2021-09-22T17:40:57
|
|
Limit effect of in_title_click and focus_click_pending to only blocking cursor warping; without this all relative mouse motion was getting ignored when a window was activated via a mouse button
|
|
52921563
|
2021-09-22T21:23:42
|
|
End Scene on RunCommandQueue on Vita
|
|
25a614bc
|
2021-09-14T20:37:35
|
|
Add SDL_asprintf and SDL_vasprintf
|
|
08ae7904
|
2021-09-14T20:38:03
|
|
Replace calls to asprintf with SDL_asprintf
|
|
79b0aae8
|
2021-09-22T11:42:10
|
|
The return value of SDL_snprintf is the number of characters that would have been written.
Fixes https://github.com/libsdl-org/SDL/issues/4762
|
|
9b74623b
|
2021-09-22T13:52:36
|
|
wayland: Woops, forgot to assign cursor theme size...
|
|
8e54698a
|
2021-09-22T13:26:44
|
|
wayland: Add support for high-DPI cursors
|
|
42ae9116
|
2021-09-22T10:01:42
|
|
Getting "(null)" when formatted printing NULL is a valid result
|
|
a4a9d284
|
2021-09-22T09:56:06
|
|
You may need to wait a bit for SDL_WarpMouseInWindow() to complete
|
|
94a42af5
|
2021-09-22T09:49:41
|
|
Fixed the name of the verbose hints
|
|
b914bc39
|
2021-09-22T09:48:51
|
|
SDL_PIXELFORMAT_ARGB2101010 isn't fully supported for all surface conversion paths yet
|
|
e5d59fa7
|
2021-09-22T09:31:26
|
|
Fixed building testgles2 on Linux
|
|
0c8277e9
|
2021-09-22T09:30:28
|
|
Added testgeometry to the git ignore file
|
|
432ee7d8
|
2021-09-22T09:29:21
|
|
Fixed building SDL_dynapi.c without stdio support
|
|
345c161f
|
2021-09-22T09:06:45
|
|
Fixed some accidental uses of external C runtime functions
|
|
5d455cab
|
2021-09-21T18:15:11
|
|
Don't process raw input when the window is being dragged or clicked on.
|
|
0fd54f91
|
2021-09-21T18:15:11
|
|
Fixed using a tablet with raw input relative motion
Tested with a Wacom Cintiq Pro 16"
|
|
b687c0ff
|
2021-09-21T18:15:10
|
|
Integrate fix for Source 2's Win32 build that does '#define __i386__ 1' which causes it to hit the __i386__ case instead of the _MSC_VER case.
|
|
8fee82d1
|
2021-09-21T18:15:09
|
|
Improve relative motion handling over RDP
CR and research: @danielj
|
|
eb3bf80f
|
2021-09-21T18:15:09
|
|
Fixed compiler warnings using Visual Studio 2019
|
|
ce11caa8
|
2021-09-21T16:41:29
|
|
alsa: Map 7.1 audio channels to match what Windows and macOS expect.
This matches what we did a long time ago for 5.1 audio.
Fixes #55.
(FIFTY FIVE. Bug reported 15 years, 3 months, and 11 days ago! lol)
|
|
9886d897
|
2021-09-21T16:23:48
|
|
Fix AltiVec detection on FreeBSD
The previous code was not correct, because there's no PPC_FEATURE_HAS_ALTIVEC MIB.
Instead, elf vector check should be done.
|
|
c45facf2
|
2021-09-21T11:13:46
|
|
alsa: clean up macro salsa a little.
|
|
f5e636a6
|
2021-09-20T20:43:39
|
|
config: Try to use stdint.h with Borland C.
(This probably isn't right on truly ancient versions of Borland C, but it
should cover things from the last decade or so, I hope.)
(possibly) Fixes #1673.
|
|
3b2fbb1c
|
2021-09-20T23:44:22
|
|
End current scene before destroying the texture on Vita
|
|
e55b8507
|
2021-09-20T23:50:02
|
|
minor tidy-up in os2 makefile for tests.
|
|
fc4296c1
|
2021-09-20T23:02:43
|
|
Use aligned stride in sceGxmColorSurfaceInit
|
|
7080bc2a
|
2021-09-20T23:02:01
|
|
Fallback to SCE_KERNEL_MEMBLOCK_TYPE_USER_RW_UNCACHE if CDRAM texture allocation fails
|
|
512355d7
|
2021-09-20T20:21:05
|
|
Vita: fix thread detach. Remove leftover KillThread
|
|
ddcd847c
|
2021-09-20T14:08:01
|
|
Vita: fix thread priority Add support for thread name and stack size
|
|
21c10827
|
2021-09-20T13:22:20
|
|
Add MinGW-w64 builds to GitHub Actions
|
|
478f9eed
|
2021-09-20T10:20:04
|
|
x11: Don't include X11/extensions/extutil.h
We don't use it, it was a leftover from 1.2, I think, and it doesn't exist
on Solaris, so this should hopefully fix the build there.
This also means we don't need the configure/cmake checks for
SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY, so that was removed also.
Fixes #1666.
|
|
ca9a3217
|
2021-09-19T15:47:24
|
|
render: GL/GLES now draw lines almost perfectly matching software renderer.
One place known to differ in a significant way is a single line segment that
starts and ends on the same point; the GL renderers will light up a single
pixel here, whereas the software renderer will not. My current belief is this
is a bug in the software renderer, based on the wording of the docs:
"SDL_RenderDrawLine() draws the line to include both end points."
You can see an example program that triggers that difference in Bug #2006.
As it stands, the GL renderers might _also_ render diagonal lines differently,
as the the Bresenham step might vary between implementations (one does three
pixels and then two, the other does two and then three, etc). But this patch
causes those lines to start and end on the correct pixel, and that's the best
we can do, and all anyone really needs here.
Not closing any bugs with this patch (yet!), but here are several that it
appears to fix. If no other corner cases pop up, we'll call this done.
Reference Bug #2006.
Reference Bug #1626.
Reference Bug #4001.
...and probably others...
|
|
857cc7c0
|
2021-09-19T00:05:21
|
|
render: constified some local variables in SDL_AllocateRenderVertices.
|
|
5faea84c
|
2021-09-18T11:54:25
|
|
render: Mark viewport/cliprect dirty when window is resized.
Fixes #4751.
|
|
b8da02e6
|
2021-09-18T10:44:32
|
|
include: Fix triggering of Clang's -Wexpansion-to-defined in SDL_endian.h
It doesn't like #if statements that uses a macro that uses defined(x).
|
|
8f414123
|
2021-09-18T10:35:36
|
|
cmake: Patched to compile.
Too fast on the git push!!
|
|
bf1d7a3a
|
2021-09-18T10:31:37
|
|
cmake: Don't trust the HAVE_IMMINTRIN_H check on Apple targets.
Otherwise universal builds might try to include an Intel-specific header
on ARM builds, etc.
Fixes #4753.
|
|
ba9e2299
|
2021-09-18T14:19:04
|
|
Sync wiki -> header
|
|
2d44bf7d
|
2021-09-17T20:24:10
|
|
Update description of SDL_SetWindowAlwaysOnTop
|
|
5dccffd7
|
2021-08-23T21:16:58
|
|
Allow usage of the new Condition Variable code with Critical Sections
Vista and later provide the SleepConditionVariableCS() function for this.
Since SDL_syscond_srw.c doesn't require SRW locks anymore, rename it to
SDL_syscond_cv.c which better reflects the implementation of condition
variables rather than the implementation of mutexes.
Fixes #4051.
|
|
44ab04fc
|
2021-09-17T19:19:06
|
|
Sync wiki -> header
|
|
4d0c3cb2
|
2021-09-17T19:17:05
|
|
Sync wiki -> header
|
|
19253835
|
2021-09-17T19:14:05
|
|
Sync wiki -> header
|
|
d856478f
|
2021-09-17T19:12:05
|
|
Sync wiki -> header
|
|
74a1eb21
|
2021-09-17T19:10:07
|
|
Sync wiki -> header
|
|
eb8f332c
|
2021-09-17T02:34:49
|
|
fix: allow builtins for all archs (#4756)
* fix: allow builtins for all archs
* fix: typo
|
|
ebdfd0e1
|
2021-09-17T00:45:07
|
|
atomic: detect clang separately
|
|
8d1e0ca3
|
2021-09-16T12:48:39
|
|
Vita: add support for disabling 'screensaver' (screen dimming and suspend)
|
|
79ec8986
|
2021-09-16T12:47:45
|
|
Vita: refactor gxm texture render and add SDL_RenderGeometry support
|
|
2a8938f2
|
2021-09-15T12:40:22
|
|
Fixed: Whitespace being striped from the end of IME strings incorrectly + Regression with SDL_SetTextInputRect (#4752)
* Fixed: Whitespace being striped from the end of IME strings incorrectly
* Fixed: Google IME Candidate Window not placing correctly
* Why are PostBuild events stored in the vcxproj and not a user file?
* Revert SDL.vcxproj properly...
* Remove whitespace as per code review
* Fix Werror=declaration-after-statement error in code
|
|
333ea51c
|
2021-09-11T23:07:44
|
|
CI: Set default shell for Vita build.
vitasdk image only comes with sh.
Previously, the shell was mentioned on each run step.
|
|
1e6e9f36
|
2021-08-21T12:10:37
|
|
CI: Add PS VIta build
|
|
ce177049
|
2021-09-12T09:34:41
|
|
Vita: Allow completely skipping pvr init to override apphint from app
|
|
4a994733
|
2021-09-14T15:51:17
|
|
`SDL_RenderSetVSync()`: Restrict `vsync` to 0 or 1
In the future, we might want to support special swap intervals. To
prevent applications from expecting nonzero values of vsync to be the
same as "on", fail with SDL_Unsupported() if the value passed is neither
0 nor 1.
|
|
4549769d
|
2021-03-07T15:20:45
|
|
Add `SDL_RenderSetVSync()`
Currently, if an application wants to toggle VSync, they'd have to tear
down the renderer and recreate it. This patch fixes that by letting
applications call SDL_RenderSetVSync().
This is the same as the patch in #3673, except it applies to all
renderers (including PSP, even thought it seems that the VSync flag is
disabled for that renderer). Furthermore, the renderer flags also change
as well, which #3673 didn't do. It is also an API instead of using hint
callbacks (which could be potentially dangerous).
Closes #3673.
|
|
b2504b5d
|
2021-09-11T20:08:03
|
|
Fix typos
|
|
e4556594
|
2021-09-10T21:13:51
|
|
Simplify Backspace and Enter
|
|
88578dc9
|
2021-09-10T21:08:58
|
|
Update Docs
|
|
f162d9ee
|
2021-09-10T21:02:22
|
|
Fix Indentation
|
|
5fa8a042
|
2021-09-10T21:00:20
|
|
Fix the indentation
|
|
058c4d36
|
2021-09-10T20:55:49
|
|
Add envvar to disable touchpads independently
|
|
4435543d
|
2021-09-10T20:01:40
|
|
Add PVR On Screen Keyboard Support
|
|
67aacfe5
|
2021-09-09T17:59:47
|
|
cmake: Retrieve the git revision on platforms without bash
|
|
6301cfda
|
2021-09-09T17:36:03
|
|
cmake: Use the correct directory structure for MinGW builds
|
|
e967f002
|
2021-09-10T00:01:20
|
|
testmouse.c: remove unused local var.
|
|
83020658
|
2021-09-09T21:33:35
|
|
Add testmouse
|
|
10d3df44
|
2021-09-09T12:46:28
|
|
Vita: fix copyright dates
|
|
82c91fed
|
2021-09-09T12:38:38
|
|
Update docs
|
|
2a836860
|
2021-09-09T12:36:40
|
|
Fix default path
|
|
134dd468
|
2021-08-16T19:08:12
|
|
Add pvr gles/gles2 context support
|
|
ff85d4fb
|
2021-09-08T17:51:47
|
|
Fixed Xbox Series X controller being detected by both IOKit and GCController on macOS
|
|
9f855258
|
2021-09-08T17:50:17
|
|
Added mapping for Xbox One S controller with newer firmware on macOS
|
|
bf97c5a2
|
2021-09-08T14:47:40
|
|
Make sure SDL file descriptors don't leak into child processes
|
|
3ed8ba7d
|
2021-09-08T12:14:34
|
|
winrt: Update SDL-UWP to VS2019
|
|
b88077fe
|
2021-09-08T12:11:40
|
|
winrt: Move the UWP project files up one directory
|
|
2facf5b7
|
2021-09-08T12:07:41
|
|
winrt: Remove Windows 8.x project files
|
|
07b59df2
|
2021-09-08T12:06:54
|
|
winrt: Remove unused nuspec/targets files
|
|
d49d955d
|
2021-09-08T11:44:17
|
|
render: SDL_RenderGeometry should still render when hidden, in most cases.
(otherwise render targets may fail, etc...the check is a legacy helper for
iOS apps that crash if you try to use OpenGL while in the background.)
|
|
7d66fa20
|
2021-09-07T17:38:26
|
|
Fixed double-copy of the report in BlueZ >= 5.56
|
|
7ed7644a
|
2021-09-07T17:37:47
|
|
Fixed compiling HIDAPI Steam Controller support with C89 compiler
|
|
27a48b14
|
2021-09-07T15:50:21
|
|
Check the pathname first, as that's a faster check for XInput devices
|
|
21160cb8
|
2021-09-07T19:18:30
|
|
Formatting fixes (purely cosmetic, fixes GitHub's rendering)
|
|
2c6f52d1
|
2021-09-06T15:24:50
|
|
regenerate test/configure really with ac2.69
|
|
2e3a415b
|
2021-09-06T13:09:09
|
|
test: Use a static pattern rule to copy data to $(builddir)
The version with an implicit pattern rule tended to fail if test/
was built in an "out-of-tree" build directory not below test/, for
example:
cd SDL
mkdir _build-test
( cd _build-test; ../test/configure )
make -C _build-test
as a result of the pattern rule first checking for axis.bmp, then for
../test/axis.bmp, then ../test/../test/axis.bmp, and so on until the
maximum path length was reached.
Note that this requires GNU make. The FreeBSD ports file for SDL seems
to use GNU make (gmake) already, so presumably SDL's build system is
already relying on GNU make extensions.
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|
9837a327
|
2021-09-06T14:55:40
|
|
regenerated test/configure
|
|
91ce6019
|
2021-09-06T10:40:23
|
|
test: Fix path used in AC_CONFIG_AUX_DIR
AC_CONFIG_AUX_DIRS is an undocumented, internal version of
AC_CONFIG_AUX_DIR that takes a whitespace-separated list, instead of a
single path to add to the list. It also does not automatically treat
the given path as being relative to the $srcdir, unlike the documented
AC_CONFIG_AUX_DIR.
Newer versions of autoconf treat the argument to AC_CONFIG_AUX_DIRS
as being literal (they do not expand the shell variable), causing
autoreconf to fail if $srcdir is explicitly specified. The argument to
AC_CONFIG_AUX_DIR is checked relative to $srcdir anyway, so there is no
need to specify $srcdir a second time.
Resolves: https://github.com/libsdl-org/SDL/issues/4719
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|
ddfd21a6
|
2021-09-05T05:37:20
|
|
configure: fix vulkan enablement for windows after commit 13ec545936cfd
|
|
6f972052
|
2021-08-30T12:21:05
|
|
Added: Support for showing the IME Candidate Window on Windows
|
|
183eb067
|
2021-09-01T15:46:32
|
|
Fixed bug #4711: prevent opengl SDL_renderer from crashing if GL_ARB_multitexture isn't supported
|
|
515b7e93
|
2021-08-27T17:02:07
|
|
Fix horizontal wheel scroll direction of X11.
|
|
8796f35e
|
2021-09-01T00:19:54
|
|
wikiheaders.pl: Make sure all wiki API pages reference CategoryAPI.
|
|
e260c804
|
2021-08-30T23:46:54
|
|
Fix the wiki/headers bridge.
I'm tweaking this manually to remove some whitespace that confused it, but
if this happens again I'll make improvements to wikiheaders.pl instead.
|
|
a1ffeda0
|
2021-08-28T22:52:13
|
|
Add SDL_HINT_APP_NAME and DBUS inhibition hint
See SDL bug #4703. This implements two new hints:
- SDL_APP_NAME
- SDL_SCREENSAVER_INHIBIT_ACTIVITY_NAME
The former is the successor to SDL_HINT_AUDIO_DEVICE_APP_NAME, and acts
as a generic "application name" used both by audio drivers and DBUS
screensaver inhibition. If SDL_AUDIO_DEVICE_APP_NAME is set, it will
still take priority over SDL_APP_NAME.
The second allows the "activity name" used by
org.freedesktop.ScreenSavver's Inhibit method, which are often shown in
the UI as the reason the screensaver (and/or suspend/other
power-managment features) are disabled.
|
|
9fae8f70
|
2021-08-29T15:33:58
|
|
Treat empty SDL_VIDEODRIVER var to check all video drivers.
|
|
7d90df0e
|
2021-08-29T15:24:23
|
|
Restore previous behavior of empty SDL_AUDIODRIVER trying all drivers.
The recent change to make SDL_AUDIODRIVER support comma-separated lists
broke the previous behavior where an SDL_AUDIODRIVER that was empty
behaved the same as if it was not set at all. This old behavior was
necessary to paper over differences in platforms where SDL_setenv may
or may not actually delete the env var if an empty string is specified.
This patch just adds a simple check to ensure SDL_AUDIODRIVER is not
empty before using it, restoring the old interpretation of the empty
var.
|
|
b9bf7ffe
|
2021-08-28T18:17:05
|
|
Sync wiki -> header
|
|
8b1f8b6e
|
2021-08-27T11:14:09
|
|
Use the high speed alternate setting on new Microsoft Xbox controllers
|
|
1fe9ad04
|
2021-08-27T14:09:47
|
|
SDL_ConvertSurface: add an intermediate variable to remove static analysis false positive (see bug #4600)
|
|
be6bee0b
|
2021-08-27T07:47:28
|
|
SW_RenderGeometry: add a redundant check to clear static analysis (see bug #4600)
|