L zard
b308172862
testautomation keyboard: use space
instead of a
...
(cherry picked from commit 1ed1bc1d5d
)
2024-11-08 18:21:32 +03:00
Amir
ccade50587
Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]"
...
https://stackoverflow.com/questions/42125/warning-error-function-declaration-isnt-a-prototype
In C int foo() and int foo(void) are different functions. int foo() accepts an arbitrary number of arguments, while int foo(void) accepts 0 arguments. In C++ they mean the same thing.
2024-07-17 10:51:30 -07:00
Anonymous Maarten
811adaa342
Only test error message when using specific video drivers
...
The dummy driver does not sen an error message when passing
a NULL rect argument to SDL_SetTextInputRect.
2024-01-21 23:44:53 +01:00
Anonymous Maarten
d81d986858
cmake: fix uses of undefined macro identifiers (-Wundef)
2023-11-17 03:06:26 +00:00
Pierre Wendling
d0bbfdbfb8
Clang-Tidy fixes ( #6725 )
...
(cherry picked from commit 3c501b963d
)
2022-12-01 13:08:50 -08:00
Sam Lantinga
b8d85c6939
Update for SDL3 coding style ( #6717 )
...
I updated .clang-format and ran clang-format 14 over the src and test directories to standardize the code base.
In general I let clang-format have it's way, and added markup to prevent formatting of code that would break or be completely unreadable if formatted.
The script I ran for the src directory is added as build-scripts/clang-format-src.sh
This fixes:
#6592
#6593
#6594
(cherry picked from commit 5750bcb174
)
2022-11-30 12:57:41 -08:00
Pierre Wendling
6784d84c9d
N3DS: Fix -Wformat
warnings in tests.
...
All warnings were about invalid specifiers. Since U/Sint32 is a long,
using `%d` emits a -Wformat warning.
2022-10-10 08:50:59 -07:00
Ozkan Sezer
990fb668f7
tests: several -Wwrite-strings fixes.
2021-11-20 01:02:02 +03:00
Sam Lantinga
cb1e20b058
Added KMOD_SCROLL to track the scroll lock state
...
Fixes https://github.com/libsdl-org/SDL/issues/4566
2021-08-10 17:50:17 -07:00
Ryan C. Gordon
da66755450
Fixed up legacy MoinMoin URLs at wiki.libsdl.org
...
Fixes #4064 .
2021-04-01 12:20:33 -04:00
Ryan C. Gordon
2542977b0a
Revert "Update wiki.libsdl.org urls to libsdl-org/SDL/wiki ( #4069 )"
...
This reverts commit 82a96afa70
.
We ended up not moving to GitHub's wiki after all and built
https://github.com/icculus/ghwikipp to fill the gap...since the wiki is
back at https://wiki.libsdl.org/ , put back the original URLs.
2021-04-01 12:15:28 -04:00
Christian Rauch
b972258d56
test: remove unused variables and typedefs
2021-03-29 09:01:26 -07:00
Erik Yuzwa
82a96afa70
Update wiki.libsdl.org urls to libsdl-org/SDL/wiki ( #4069 )
2021-02-13 11:49:31 -05:00
Ryan C. Gordon
70c8bd2481
Fixed a bunch of compiler warnings in the test code.
2017-01-07 22:24:45 -05:00
Philipp Wiesemann
ed80cfd9bc
Removed empty statements in tests.
2016-10-12 23:36:49 +02:00
Philipp Wiesemann
0e45984fa0
Fixed crash if initialization of EGL failed but was tried again later.
...
The internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly
uninitialized data structure if loading the library first failed. A later try to
use EGL then skipped initialization and assumed it was previously successful
because the data structure now already existed. This led to at least one crash
in the internal function SDL_EGL_ChooseConfig() because a NULL pointer was
dereferenced to make a call to eglBindAPI().
2015-06-21 17:33:46 +02:00