Commit graph

240 commits

Author SHA1 Message Date
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
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
George Nemes cd4064203f Remove obsolete unmanaged type (#154) 2019-02-16 09:26:08 -05:00
Axolotl Maid Service 859737b1e1 Add windowID to SDL_DropEvent. 2018-11-28 18:54:49 -05:00
Ethan Lee 65d719a058 Allow DropEvent users to access UTF8_ToManaged 2018-11-27 09:53:36 -05:00
Caleb Cornett 0cd8f85918 Small fix for DisplayEventID 2018-11-18 22:16:20 -05:00
Ethan Lee b5a66888f5 2.0.9 2018-11-11 13:29:58 -05:00
tuxuser 93acf5457b Add SDL_UpdateYUVTexture
Add YUV specific UpdateYUVTexture function, available since SDL2 v2.0.1 (https://wiki.libsdl.org/SDL_UpdateYUVTexture)
2018-10-25 14:27:06 -04:00
Ethan Lee 48621907a2 SDL_system.h 2018-10-02 14:17:07 -04:00
Ethan Lee 9743aaef11 Remove .dll suffix from DllImports 2018-09-10 00:04:00 -04:00
Ethan Lee 0560581774 Missing event enums 2018-09-05 18:32:51 -04:00
shartte f5e19f2114 Add SDL_INIT_EVENTS for SDL_Init 2018-08-06 14:29:10 -04:00
smack0007 48e13433b3 Add overload to SDL_GL_SetAttribute which accepts the SDL_GLprofile enum to prevent having to cast. 2018-07-19 11:53:20 -04:00
Ethan Lee dd6f7face8 Use GetChars return value 2018-06-27 15:43:10 -04:00
Ethan Lee f26b55e8be stackalloc for UTF8_ToManaged 2018-06-27 14:45:27 -04:00
Ethan Lee 8e0cec49a0 Update PATCHLEVEL 2018-05-05 17:20:00 -04:00
Ethan Lee 03f0431995 __arglist is unsupported by BRUTE and .NET Native 2018-04-29 16:28:03 -04:00
Ethan Lee 99846d578c Fixes found by BRUTE 2018-04-25 11:51:21 -04:00
Ethan Lee 8e75771fca C# you idiot that struct is totally blittable 2018-03-30 11:15:48 -04:00
Ethan Lee 0f768e1c18 Fix SDL_GameControllerButtonBind layout 2018-03-30 10:43:46 -04:00
Ethan Lee bd3b64fe32 Fix for GetCallback function decls 2018-03-22 17:42:55 -04:00
Ethan Lee 9549b1c920 SDL_GL_GetProcAddress(IntPtr) 2018-03-22 17:00:23 -04:00
Ethan Lee c764309ae5 Dear CoreCLR team: Please fix this 2018-02-07 11:44:56 -05:00
Ethan Lee 5ec50891a3 Make ToNative null check similar to ToManaged null check 2018-01-15 21:57:30 -05:00
Keith Holman 77cffe2f92 When a null C# string is passed to UTF8_ToNative(), return a null pointer instead of an empty C string. 2018-01-15 14:18:50 -05:00
Ethan Lee ed4838b75d Typo fix (thanks @bplu4t2f!) 2017-12-16 12:35:32 -05:00
Keith Holman 64e2a93d55 Add bindings for the SDL_AUDIODEVICEADDED and SDL_AUDIODEVICEREMOVED events. 2017-12-05 21:10:32 -05:00