This website requires JavaScript.
39852241ef
Added -Wdocumentation to CMake clang build
Sam Lantinga
2023-01-03 15:50:11 -08:00
32c077216c
Fixed warnings
Sam Lantinga
2023-01-03 15:59:35 -08:00
95e5417d2e
Fixed documentation warnings
Sam Lantinga
2023-01-03 15:39:11 -08:00
49af0d1b89
Fixed build
Sam Lantinga
2023-01-03 15:35:18 -08:00
0357390fc2
Added support for the ThrustMaster eSwap PRO Controller Xbox
Sam Lantinga
2023-01-03 15:23:38 -08:00
e85839cd56
Fixed line wrapping for HID packet dump
Sam Lantinga
2023-01-03 15:12:47 -08:00
dacdb1c310
Added support for the ThrustMaster eSwap PRO Controller Xbox
Sam Lantinga
2023-01-03 15:12:18 -08:00
71f3bf90ed
Improved handling of binding buttons and axes
Sam Lantinga
2023-01-03 12:47:40 -08:00
1d956c2817
Rename SDL2 tests for SDL3
Sam Lantinga
2023-01-03 10:28:18 -08:00
86658f2ca7
Wayland / Drag and Drop: find the current window
Sylvain
2023-01-03 16:35:51 +01:00
9c1a9ecb4b
Removed non-float versions of SDL render API drawing functions
Sam Lantinga
2022-12-31 11:19:32 -08:00
bf76fc6b05
Fixed bug #6816 - SDL_RenderSetVSync doesn't disable vsync for software renderer
Sylvain
2023-01-01 23:05:25 +01:00
38b138cd0a
Fixed rounding of floating point values in snprintf
Sam Lantinga
2023-01-02 21:57:42 -08:00
72f0056961
Simulate NTSC timings for Windows desktop display modes
Sam Lantinga
2023-01-02 16:24:15 -08:00
b06e310c08
Fixed spinning rendering too fast
Sam Lantinga
2023-01-02 16:04:08 -08:00
e3c1749f5b
The refresh rate in SDL_DisplayMode is now a float
Sam Lantinga
2023-01-02 15:47:19 -08:00
851b0e16be
Add SDL_GetRenderVSync (see #6495 ) (#6965 )
Sylvain Becker
2023-01-02 20:21:02 +01:00
023f067903
Update GL_GetSwapInterval for backends (#6963 )
Sylvain Becker
2023-01-02 19:15:05 +01:00
d764de77d4
Include SDL_audio.h for SDL_AudioDeviceID definition
Sam Lantinga
2023-01-02 09:09:02 -08:00
fa5475ba9f
Fix joystick instance id check
Mathieu Eyraud
2023-01-02 10:18:42 +01:00
ea6f0ae683
Fix use after free in SDL_GetGamepads
Mathieu Eyraud
2023-01-02 10:20:44 +01:00
5cf55c4f28
Merge pull request #6969 from meyraud705/meyraud705-yuv_leak
Sylvain Becker
2023-01-02 17:46:12 +01:00
721ece7ba0
Fix memory leak in SDL_SW_CreateYUVTexture
Mathieu Eyraud
2023-01-02 10:22:44 +01:00
9148c89d23
Merge pull request #6964 from 1bsyl/br_android_orientation_bug
Sylvain Becker
2023-01-02 09:44:42 +01:00
4408e9f957
Android: orientation, check for exact match to "Portrait". (see #6959 ) (Portrait is also contained in PortraitUpsideDown)
Sylvain
2023-01-01 18:47:13 +01:00
c4982955b2
Android: inverse LandscapeLeft and LandscapeRight (see #6959 )
Sylvain
2023-01-01 18:41:55 +01:00
8a13533949
Handle error return value for SDL_GetSwapInterval
Sylvain Becker
2023-01-01 17:20:41 +01:00
a515f51ac0
Removed public joystick locking API
Sam Lantinga
2022-12-31 09:17:02 -08:00
87c8e2b942
README-migration: Added backticks to avoid markdown highlighting.
Ryan C. Gordon
2022-12-31 01:12:10 -05:00
321c30db57
windows: more HANDLE -> HMODULE changes.
Ozkan Sezer
2022-12-31 08:00:00 +03:00
929da2c28e
SDL_dynapi.c: LoadLibraryA() returns HMODULE.
Ozkan Sezer
2022-12-30 11:11:10 +03:00
324c0b76a0
Removed SDL_HasGamepads(), SDL_HasJoysticks(), and SDL_HasSensors()
Sam Lantinga
2022-12-29 23:07:30 -08:00
7f23d71b6a
Added SDL_modf() and SDL_modff()
Sam Lantinga
2022-12-29 21:39:08 -08:00
ead4f122e4
Added basic support for %g snprintf format specifier
Sam Lantinga
2022-12-29 20:42:07 -08:00
cefbeb582f
Mouse coordinates are floating point
Sam Lantinga
2022-12-29 19:31:12 -08:00
8c3239dee5
Fixed documentation warning
Sam Lantinga
2022-12-29 22:10:35 -08:00
ac8a041541
SDL_main for Win32: Get rid of console_*main, add wWinMain()
Daniel Gibson
2022-12-30 06:16:22 +01:00
98678b5d8d
SDL API renaming: SDL_Alloc*/SDL_Free* -> SDL_Create*/SDL_Destroy*
Sam Lantinga
2022-12-29 15:07:59 -08:00
e1bd5bd071
Fixed keyboard scancode mapping for parenthesis
Sam Lantinga
2022-12-29 14:52:28 -08:00
1b90107fdb
Spell out "Float" in function names
Sam Lantinga
2022-12-29 14:50:55 -08:00
d7d3c22dbf
Remove more reserved identifiers (#6925 )
Sylvain Becker
2022-12-29 22:58:16 +01:00
ce412c2c71
Consistency cleanup for README-migration.md
Sam Lantinga
2022-12-29 10:44:35 -08:00
138f632b59
include: Add a comment about reserving a bit for sdl2-compat.
Ryan C. Gordon
2022-12-29 13:34:53 -05:00
7150d6b05a
cmake: add SDL3 to include path This reverts parts of 9f2ca87
Anonymous Maarten
2022-12-29 10:05:24 +01:00
88630b85f5
SDL_GL_SwapWindow() returns an error code
Sylvain
2022-12-29 16:27:42 +01:00
abd051f89e
Re-sorted SDL 3.0 API list
Sam Lantinga
2022-12-28 19:55:54 -08:00
80890f3aae
SDL API renaming: SDL_render.h
Sam Lantinga
2022-12-28 19:40:31 -08:00
ea0c2f55be
SDL API renaming: *Is* functions
Sam Lantinga
2022-12-28 19:34:01 -08:00
66351fd4ba
Replace tri-state functions SDL_EventState(), SDL_GetJoystickEventState(), SDL_GetGamepadEventState(), SDL_ShowCursor()
Sam Lantinga
2022-12-28 17:06:38 -08:00
9b8208c195
Updated add_symbol_to_oldnames
Sam Lantinga
2022-12-28 16:28:21 -08:00
61232de1ab
Sort the initial SDL 3.0 symbols
Sam Lantinga
2022-12-28 14:29:46 -08:00
71eb78e790
X11: fix removing SDL_WINDOW_HIDDEN flags (thanks @zturtleman)
Sylvain
2022-12-28 23:18:00 +01:00
e4e7a8baff
Reset the dynamic API for SDL 3.0
Sam Lantinga
2022-12-28 13:38:41 -08:00
58763b608b
Cancel current CI actions when a PR is updated
Sam Lantinga
2022-12-28 13:06:46 -08:00
16092f58bb
Updated gamepad, joystick, sensor APIs, removing device indices
Sam Lantinga
2022-12-27 18:10:06 -08:00
e40a96155f
Fixed getting the VID/PID of a virtual joystick
Sam Lantinga
2022-12-28 12:51:36 -08:00
639a744ac4
Update README-migration
Sylvain
2022-12-28 20:22:11 +01:00
aa46ff8f4b
Remove SDL_WINDOW_SHOW flag, as redundant with SDL_WINDOW_HIDDEN
Sylvain
2022-12-28 20:17:55 +01:00
59a70d568d
Rename SDL_main_impl.h include guard to match the filename
Zack Middleton
2022-12-17 23:13:25 -06:00
e512809246
Fixup PS2/PSP SDL_RunApp()
Zack Middleton
2022-12-17 23:12:48 -06:00
87a24ba765
The minimal Makefile doesn't really build for any platform
Sam Lantinga
2022-12-27 16:50:18 -08:00
1d80082e8e
Removed old iOS demos
Sam Lantinga
2022-12-27 16:48:55 -08:00
36d4395c97
SDL API renaming: internal functions
Sam Lantinga
2022-12-27 15:05:51 -08:00
25336d053a
Remove underscore for _SDL_iconv_t And change the name, not to have the same for pointer and data
Sylvain
2022-12-27 21:02:05 +01:00
07808d6a03
Remove underscore in guard header defines (#6922 )
Sylvain Becker
2022-12-27 21:31:12 +01:00
cdbd1be8c6
Allow SDL_oldnames.h to be completely disabled
Sam Lantinga
2022-12-27 12:30:37 -08:00
3db9112ef4
Make sure we match the same way when adding a mapping and looking up a mapping
Sam Lantinga
2022-12-27 12:14:43 -08:00
04f2820e07
Remove underscore for some SDL_ builtin function/macros
Sylvain
2022-12-27 20:19:59 +01:00
81cd84f456
Remove reserved underscore SDL_joystick
Sylvain
2022-12-27 20:14:50 +01:00
ab2d007982
More gamepad renaming
Sam Lantinga
2022-12-27 11:31:54 -08:00
58aecf0a54
SDL API renaming: SDL_rect.h
Sam Lantinga
2022-12-27 11:01:11 -08:00
a28d1d59be
More gamepad renaming
Sam Lantinga
2022-12-27 10:42:45 -08:00
701e965235
Removed leading underscore in structure names
Sam Lantinga
2022-12-27 10:35:53 -08:00
960e9044b3
Fixed test code after gamepad event rename
Sam Lantinga
2022-12-27 10:28:43 -08:00
ad8a6d2b05
Split SDL gamepad internal functions into SDL_gamepad_c.h
Sam Lantinga
2022-12-27 10:23:28 -08:00
15b464747f
WhatsNew.txt should be new features in SDL 3.0
Sam Lantinga
2022-12-27 10:06:45 -08:00
5baed331f1
Don't add symbol renaming to WhatsNew.txt
Sam Lantinga
2022-12-27 10:00:10 -08:00
84725c00d8
Make sure we update the cmake test programs as well
Sam Lantinga
2022-12-27 09:56:16 -08:00
659abc721a
SDL API renaming: SDL_gamecontroller.h
Sam Lantinga
2022-12-27 09:46:24 -08:00
ab0c5cf07d
Fix compilation
Sylvain
2022-12-27 17:25:31 +01:00
59467ff063
Make it easier to mass rename symbols in the SDL API
Sam Lantinga
2022-12-27 07:31:27 -08:00
c6969df4d7
SDL API renaming: SDL_video.h
Sam Lantinga
2022-12-27 06:38:34 -08:00
cc0296c934
SDL API renaming: SDL_surface.h
Sam Lantinga
2022-12-27 06:36:39 -08:00
2db699f48e
SDL API renaming: SDL_sensor.h
Sam Lantinga
2022-12-27 06:23:39 -08:00
0d54115235
SDL API renaming: SDL_render.h
Sam Lantinga
2022-12-27 06:21:13 -08:00
083e436a1a
SDL API renaming: SDL_pixels.h
Sam Lantinga
2022-12-27 06:08:13 -08:00
3d063d7295
More renaming SDL_FreeWAV() to SDL_Free()
Sylvain
2022-12-27 14:53:10 +01:00
fc478c1bc0
SDL API renaming: SDL_joystick.h
Sam Lantinga
2022-12-27 05:50:46 -08:00
aa0053141b
Remove SDL_VideoInit / Quit. Prefer SDL_SubSytemInit / Quit (#6913 )
Sylvain Becker
2022-12-27 14:42:48 +01:00
713ba2e31a
SDL API renaming: SDL_audio.h
Sam Lantinga
2022-12-27 05:32:55 -08:00
9625fb2832
Documentation cleanup
Sam Lantinga
2022-12-27 05:28:18 -08:00
47170d288e
Don't export SDL_AudioInit/Quit, use SDL_InitSubsystem instead (#6912 )
Sylvain Becker
2022-12-27 14:22:22 +01:00
3fb0c8b54a
Remove/Rename SDL_FreeWAV() to SDL_free()
Sylvain
2022-12-27 13:22:43 +01:00
29ba5f5d64
SDL_thread.h: fix beginthread param of SDL_CreateThreadWithStackSize for win32
Ozkan Sezer
2022-12-27 00:10:00 +03:00
5410d361f7
Fix SDL_CreateThreadWithStackSize not passing staacksize with win32 static api
Vincent Hamm
2022-12-26 10:57:29 -08:00
63724c113b
Removed the vi format comments from the source
Sam Lantinga
2022-12-26 11:17:23 -08:00
7c67213cef
editorconfig: remove trailing whitespace in source code
Sam Lantinga
2022-12-26 10:34:07 -08:00
00f05dcf49
render: only enable clipping when the rectangle is valid
Sam Lantinga
2022-12-26 10:24:25 -08:00
cc49f1e279
Fixed crash if mutex functions are used before any mutex has been created
Sam Lantinga
2022-12-26 09:49:36 -08:00
d31776b17a
Also rename the internal function symbol when renaming API functions
Sam Lantinga
2022-12-24 09:00:41 -08:00