Dean Herbert
c94f27fa40
Merge branch 'flibitijibibo/master'
2021-08-11 11:59:58 +09:00
Caleb Cornett
09716fcbc2
Update to 2.0.16
2021-08-10 15:49:29 -04:00
wanderer06
d5e1e56983
Add NULL overload to SDL_SetWindowDisplayMode
2021-08-04 16:58:59 -04:00
Ethan Lee
b2ed029f11
Woops, an internal function was public
2021-07-13 16:46:43 -04:00
Ethan Lee
8c25be5b12
Free GameControllerMapping return values
2021-06-29 15:56:23 -04:00
Dean Herbert
42709cf78f
Merge branch 'flibitijibibo/master'
2021-06-06 23:24:51 +09:00
Ethan Lee
00c94a24eb
Allow Utf8EncodeHeap to return NULL, clean up Utf8Size
2021-05-15 09:58:00 -04:00
Ethan Lee
e316ae5cfd
Give the heap-allocated Utf8Encode a unique function name
2021-05-15 09:47:28 -04:00
Ethan Lee
a234470e39
Make all UTF8 conversions nullable.
...
Trying to avoid null strings was far too invasive and kept creating bugs in the wrapper, and the wrapper should not have enough code to create bugs in the first place.
2021-05-15 09:10:02 -04:00
Ethan Lee
e8bf894c31
Try to fix use of C long in TTF_FontFaces
2021-04-19 11:54:43 -04:00
Dean Herbert
186a34554d
Merge branch 'flibitijibibo/master'
2021-03-30 11:21:03 +09:00
Mary
800ae50c84
Add some missing hints from 2.0.14 and minor correctness updates
...
This is based on my update to 2.0.14 I did based on ppy's fork.
Even if what I did in the end was duplicate compared to upstream, I found some differences and missing bits.
This commit is here to address those missing bits.
2021-03-29 16:06:26 -04:00
Dean Herbert
dc028d0497
Merge branch 'flibitijibibo/master' into merge-upstream
2021-03-29 16:45:52 +09:00
Ethan Lee
53026deb22
Fix some native memory leaks in the newer functions
2021-03-13 16:13:27 -05:00
Ethan Lee
22301b61f4
Fix SDL_LoadFile signature
2021-02-03 11:00:31 -05:00
ameliadiedrich
21ec9cecad
Added SDL_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR Hint
2021-01-27 10:34:02 -05:00
Ethan Lee
1e01bc8eeb
Happy New Year!
2021-01-01 11:32:54 -05:00
Ethan Lee
332667f37b
Fix return type for GameControllerGetSensorData
2020-12-22 02:01:34 -05:00
Caleb Cornett
4eab64f274
Updates for SDL 2.0.14 ( #210 )
2020-12-21 23:55:22 -05:00
Ethan Lee
0287457930
Fix my terrible LoadWAV signature
2020-11-15 10:46:01 -05:00
Jeremy Sayers
5966578e82
Added IMG_GetError and IMG_SetError wrapping calls to SDL_GetError and SDL_SetError to keep SDL2_image.cs consistent with SDL2_image.h
2020-10-29 09:07:30 -04:00
Chad Yates
e95ef4e98a
Fix buffer overflow.
2020-06-23 05:41:44 -04:00
Caleb Cornett
b253a810e0
Add padding to SDL_Event
2020-06-12 23:00:32 -04:00
Caleb Cornett
f4d713f651
ExternalStorageState -> ExternalStoragePath
2020-06-12 16:46:39 -04:00
Ethan Lee
a31694d145
F# keyword fix
2020-06-08 09:59:03 -04:00
Ethan Lee
3e7eaf9d5b
Added checks for null UTF8 inputs
2020-05-28 10:40:21 -04:00
Ethan Lee
c782115e7f
Minor style fixes, UTF8 update for mixer/ttf
2020-05-21 10:24:46 -04:00
Chad Yates
040d39b4a5
Avoid string and byte[] allocation when converting to UTF8 native string ( #192 )
2020-05-21 10:00:19 -04:00
Shane Woolcock
849d398070
Remove SDL2 extensions
2020-04-15 17:36:00 +09:30
Caleb Cornett
8d0760016b
SDL 2.0.12 Update ( #167 )
...
* Add SDL_Metal APIs
* Added LockTextureToSurface functions
* Add SDL_HasARMSIMD and SDL_GameControllerType enum/functions
* Updated enum names, added missing macros, added new hints
* Added Get/SetPlayerIndex functions
* Standardize comment format
* Added SDL_Get/SetTextureScaleMode
* TTF updates
* Added IMG_Animation API to SDL_image
* SDL_mixer updates
* Add SDL_BLENDMODE_MUL
* Added hints and SDL_GetAndroidSDKVersion
2020-03-10 16:41:58 -04:00
Todd York
11064cc128
Add SDL_SysWMinfo.info.win.hinstance
2020-03-10 09:57:44 -04:00
Ethan Lee
6cb034a649
Expose SDL_memcpy
2020-01-19 10:57:16 -05:00
Ethan Lee
6a28ae8594
Fix SDL_AndroidGetExternalStorageState EntryPoint
2020-01-08 12:46:35 -05:00
Ethan Lee
8aa635b27f
Happy New Year!
2020-01-01 11:08:04 -05:00
Caleb Cornett
c6524e2eb4
Missed a few things from previous releases
2019-12-14 20:25:52 -04:00
meli
1a3556441e
Fix leak in SDL_GetClipboardText()
2019-12-06 22:20:57 -05:00
Ethan Lee
99a3123c42
Random tab sanitization
2019-10-23 10:14:09 -04:00
Ethan Lee
0b6091c655
Couple more size_t fixes
2019-10-23 10:09:45 -04:00
Ethan Lee
3185ae7eba
RWops size_t fixes, remove unused unsafe keyword
2019-10-23 10:05:22 -04:00
James J. Kelly Jr
1c0c33ff5b
Added additional RWops functions and partial SDL_RWops structure.
2019-10-23 09:48:39 -04:00
Nabile Rahmani
eeadbf0709
Drop events are actually enabled by default.
2019-10-22 07:52:33 -04:00
James J. Kelly Jr
59b5620bd5
Added various CPU capability calls from SDL_cpuinfo.h
2019-10-21 15:46:42 -04:00
Caleb Cornett
499ad108b9
SDL_Vulkan_CreateSurface should use ulong
2019-08-31 18:05:31 -04:00
Caleb Cornett
80a13ba107
SDL 2.0.10 Updates ( #157 )
2019-07-25 18:31:13 -04:00
Caleb Cornett
d0d0ae0071
Add SDL_HINT_TV_REMOTE_AS_JOYSTICK
2019-07-16 23:12:58 -04:00
Caleb Cornett
386ebcfcc9
Add SDL_HINT_IOS_HIDE_HOME_INDICATOR
2019-06-06 17:00:41 -04:00
Ethan Lee
c787ad8f8d
Return an empty string on, er, empty string
2019-05-29 16:57:34 -04:00
Caleb Cornett
f4c767259f
Added SDL_RenderGetMetal* functions
2019-05-03 14:47:32 -04:00
Ethan Lee
162bbe0ba4
Add SDL_GL_LoadLibrary
2019-04-11 18:55:48 -04:00
Ethan Lee
d5b0e14cf5
INFINITY wasn't quite infinity enough
2019-02-24 11:42:42 -05:00