4d8a50912b
cmake: no shared SDL libraries for riscos
Anonymous Maarten
2023-02-16 20:29:36 +01:00
e203046a5c
cmake+ci: build shared and static libraries on ci
Anonymous Maarten
2023-02-16 20:15:59 +01:00
bde4c738bb
Don't build SDL as a static library by default
Sam Lantinga
2023-02-16 08:52:28 -08:00
ece8a7bb8e
Hold the joystick lock while opening the HID device on non-Android platforms
Sam Lantinga
2023-02-16 09:50:04 -08:00
96722a5809
Ubuntu 18.04 doesn't have a new enough version of Wayland for SDL, so update documentation appropriately
Sam Lantinga
2023-02-16 08:57:53 -08:00
284ae91734
Include SDL_events.h for SDL_ConvertEventToRenderCoordinates()
Sam Lantinga
2023-02-13 17:50:29 -08:00
b39b7025fd
SDL_GL_GetDrawableSize, SDL_Metal_GetDrawableSize, and SDL_Vulkan_GetDrawableSize can be replaced with SDL_GetWindowSizeInPixels
Sam Lantinga
2023-02-13 13:11:43 -08:00
c6792f78df
look for clock_gettime() in libc first, then in librt if not found.
Ozkan Sezer
2023-02-13 21:47:14 +03:00
9370f9ca85
wayland: Deduplicate calls to position fullscreen windows already on the correct output
Frank Praznik
2023-02-12 16:23:53 -05:00
272010b612
cmake: really fix detection of pthread_setname_np() on Apple platforms.
Ozkan Sezer
2023-02-13 11:56:10 +03:00
f7f61af12b
cmake: fix detection of pthread_setname_np() on Apple platforms.
Ozkan Sezer
2023-02-13 11:55:40 +03:00
ce366facaa
Add missing \returns, change "return" to "returns" to have same naming
Sylvain
2023-02-10 22:26:35 +01:00
b728de788e
Fixed audio
Francisco Javier Trujillo Mata
2023-02-11 21:10:26 +01:00
4a6f3cf47e
x11: Set the window position when entering fullscreen
Frank Praznik
2023-02-10 10:56:57 -05:00
d6a19c8cc6
video: Use the explicit fullscreen display for a window unless the window was moved
Frank Praznik
2023-02-10 10:54:39 -05:00
68e2f23066
Sorted controller list
Sam Lantinga
2023-02-10 17:18:02 -08:00
76552e4780
Add Hori Pokken Tournament DX Pro Pad
Alfredo Escobar
2023-01-30 16:08:52 -03:00
e4face7c1d
Fixed the share button on the ThrustMaster eSwap PRO Controller Xbox
Sam Lantinga
2023-02-10 16:46:21 -08:00
b55bb02723
Constrain the mouse position before it's used to generate mouse deltas
Sam Lantinga
2023-02-10 09:08:12 -08:00
144390f8fc
Fixed renaming suggestion for SDL_WINDOWEVENT_CLOSE
Sam Lantinga
2023-02-10 06:48:54 -08:00
13d9e41c3f
SDL_WINDOWEVENT_SIZE_CHANGED was renamed SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED
Sam Lantinga
2023-02-10 06:38:14 -08:00
69a6796476
Note that the coordinates in SDL_GetDisplayForPoint() and SDL_GetDisplayForRect() are screen coordinates
Sam Lantinga
2023-02-10 06:30:48 -08:00
449b2289c8
Remove renaming for SDL_GetDisplayDPI()
Sam Lantinga
2023-02-10 06:24:16 -08:00
7c4ec1867b
Remove some vim config lines
Sylvain
2023-02-10 10:59:57 +01:00
dc74a67a57
SDL_UnlockTexture: change from 'int' to 'void'
Sylvain
2023-02-09 20:16:41 +01:00
cee245b6a9
SDL_*SceenSaver(): change return value to int. // add SDL_Unsupported() errors
Sylvain
2023-02-09 15:34:43 +01:00
e2e5e670bf
Remove returns int from Destroy/Close/Unlock functions
Sylvain
2023-02-09 16:53:47 +01:00
3bd737d44c
Add error returns to void functions that can fail/set errors.
Linus Probert
2023-02-08 20:43:52 +01:00
b305d9e3c0
Change return type from void to int for audio function. Eventually set invalid parameter error.
Sylvain
2023-02-08 21:22:01 +01:00
824b9b0a58
Removed SDL_GetDisplayDPI()
Sam Lantinga
2023-02-08 15:07:13 -08:00
b7c6fec10a
Make sure we synchronously re-enable USB reporting mode for Switch controllers (thanks @SortaCore!)
Sam Lantinga
2023-02-08 14:22:39 -08:00
50575ed223
Note the Google Stadia controller doesn't support rumble over Bluetooth
Sam Lantinga
2023-02-08 14:16:24 -08:00
00e02de77b
Fixed mis-detecting the share button on the Xbox controller over NDIS
Sam Lantinga
2023-02-08 14:16:21 -08:00
d1c72bb0bc
Dynamically update the serial number if it isn't available at first
Sam Lantinga
2023-02-08 14:16:17 -08:00
c5c94a6be6
Change return type from void to int, for functions that set an error (SDL_SetError(), SDL_OutOfMemory(), SDL_Unsupported(), SDL_InvalidParam())
Sylvain
2023-02-06 20:24:12 +01:00
6c37d5b57f
x11: Cast the dot clock value to 64-bit when calculating the refresh rate
Frank Praznik
2023-02-07 11:41:23 -05:00
20a4e31a12
Re-added the internal hint SDL_BORDERLESS_WINDOWED_STYLE
Sam Lantinga
2023-02-07 09:47:17 -08:00
fa8fba3812
Add clang-tidy config and CMake/CI support.
Pierre Wendling
2022-10-25 23:26:42 -04:00
5fded632d6
Added support for the Turtle Beach REACT-R and Recon Xbox controllers
Sam Lantinga
2023-02-06 20:14:12 -08:00
d603371848
video: Try to get the display for fullscreen windows via the window position
Frank Praznik
2023-02-06 19:25:19 -05:00
a357021800
Use GNU sed if available
Sam Lantinga
2023-02-06 15:47:16 -08:00
0208a0eeb3
Added support for the Logitech ChillStream
Sam Lantinga
2023-02-06 13:28:00 -08:00
7f3036c353
make sure to not enable SDL_PASSED_BEGINTHREAD_ENDTHREAD for WinRT
Ozkan Sezer
2023-02-07 00:22:37 +03:00
b82a8b76b1
windows/SDL_systhread.c: remove some dead code.
Ozkan Sezer
2023-02-07 00:22:20 +03:00
fbe0352764
SDL_DestroyRenderer: drop all commands first and don't queue new command from SDL_DestroyTexture() (memory leak)
Sylvain
2023-02-05 20:29:33 +01:00
e1d79b418c
fix build error due to -Wshadow
Ozkan Sezer
2023-02-05 20:45:02 +03:00
653f2c4ba3
Made the render tests less verbose in the successful case
Sam Lantinga
2023-02-05 09:08:33 -08:00
ec1b42557f
Fixed memory leak at shutdown (thanks @1bsyl!)
Sam Lantinga
2023-02-05 08:35:40 -08:00