Commit graph

322 commits

Author SHA1 Message Date
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 821c6aaf49 SDL_mixer 2.0.2 2018-02-25 11:12:06 -05: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
Ethan Lee 396299307f UnmanagedFunctionPointer attributes 2017-11-20 11:42:12 -05:00
Ethan Lee 41a2c5b93d Forgot that these are macros... :( 2017-11-18 20:55:37 -05:00
Ethan Lee 63aeac09ca SDL_image 2.0.2 2017-11-18 20:50:56 -05:00
Ethan Lee 14ef9e4643 WinRT hints 2017-11-14 20:02:35 -05:00
Ethan Lee d9bfc8b16a 2.0.7 2017-10-24 17:47:02 -04:00
Ethan Lee 2c3515f458 Core buildfix 2017-10-19 12:36:51 -04:00
Ethan Lee 795db4433d Replace LPUtf8StrMarshaler with internal UTF8 API 2017-10-19 12:30:01 -04:00
Ethan Lee 5785d3d464 Strip out the XML docs, replace with the basic IntPtr docs where appropriate.
Honestly this just got in the way and people know to refer to SDL's docs anyway.
2017-10-19 10:13:23 -04:00
Ethan Lee 689dcf5342 SDL_WinRTRunApp 2017-10-11 09:15:17 -04:00
Ethan Lee f7dbc10af5 Revert "SDL_GL_SwapWindow now returns int"
This reverts commit cf7a5fa2a1.
2017-10-04 17:14:42 -04:00
Ethan Lee cf7a5fa2a1 SDL_GL_SwapWindow now returns int 2017-10-04 17:11:10 -04:00
Ethan Lee 0da7c81d81 2.0.6 Windows-only hints 2017-09-07 10:41:04 -04:00
Ethan Lee b9939c43e3 Fix TOUCH_MOUSE_EVENTS string 2017-09-07 10:38:49 -04:00
Ethan Lee 776b77c27f 2.0.6 pre-release changes 2017-09-07 10:37:23 -04:00
Ethan Lee 9cdd0079b4 Vulkan parameter type fixes 2017-08-31 20:56:29 -04:00
Ethan Lee dc98059905 ARB_create_context_robustness, KHR_no_error, Vulkan! 2017-08-31 16:21:39 -04:00
Ethan Lee 498a565eda SDL_Joystick/SDL_GameController updates from Hg 2017-07-28 13:21:20 -04:00
Jack Mott 705681d982 overload openaudio to allow null 2017-01-19 16:07:10 -05:00
Jack Mott d03071653d add SDL_UpdateTexture overload
Added an overload for SDL_UpdateTexture so that you can pass a null reference, which is allowed
by the SDL2 spec. Similar pattern already exists for SDL_RenderCopy
2017-01-19 09:45:45 -05:00
Ethan Lee 4ec65bc5a0 SDL_SetWindowInputFocus 2016-11-11 13:40:34 -05:00
Ethan Lee a230993c4c 2.0.5 2016-10-20 10:25:04 -04:00
Ethan Lee 6f158b9f79 Fix SDL_BITSPERPIXEL 2016-08-17 15:19:22 -04:00
Ethan Lee cceef27e50 Removed QueryTexturePixels 2016-01-26 08:42:43 -05:00
Ethan Lee 9b6f16a238 SDL_GetDisplayName 2016-01-14 09:52:27 -05:00
Daniel Ratcliffe e3e22902e7 Added bindings for SDL_PowerState and SDL_GetPowerInfo 2016-01-07 22:34:21 +00:00
Ethan Lee c6fa4d1457 Happy New Year! 2016-01-04 11:55:36 -05:00
Ethan Lee d77d831acb Merge from sdl2-hg (2.0.4) 2016-01-04 11:49:39 -05:00
Ethan Lee 23e25a3b2d 2.0.4 2016-01-04 11:49:00 -05:00
Ethan Lee 1efc47ee26 SDL_FillRect overload 2015-12-30 19:16:29 -05:00
Ethan Lee a44c92397d .NET 3.5 fix 2015-12-30 19:14:29 -05:00
Ethan Lee 1c03cdfb2c Minor spacing fixes 2015-12-01 11:13:18 -05:00
Johannes Jacobs c2d58d61d5 Added SDL_RenderCopyEx overloads 2015-12-01 17:03:25 +01:00
Ethan Lee 0532deb9a6 Fix a couple SDL_pixels macros 2015-09-13 16:03:16 -04:00
Ethan Lee c41fcf5b19 Flags type sizes 2015-09-02 07:12:10 -04:00
Ethan Lee 2e9752838d Fix Win32 UTF8 marshaling 2015-07-20 10:03:42 -04:00
Ethan Lee 7f3d91e2e5 Minor API change 2015-07-19 14:31:39 -04:00
Ethan Lee dbffbe778b SDL 2.0.4 RC1 2015-06-13 19:15:08 -04:00
Ethan Lee 83012b9866 Happy New Year, wait what month is it 2015-06-13 18:43:03 -04:00
Elisée 62a28724f2 Fix SDLK_DELETE value: 0177 (octal), 127 (decimal) 2015-06-13 18:43:03 -04:00
Ethan Lee f29dbb7e4d Happy New Year, wait what month is it 2015-05-21 12:54:41 -04:00
Elisée 2748a2f4e2 Fix SDLK_DELETE value: 0177 (octal), 127 (decimal) 2015-01-06 02:11:40 +01:00
Ethan Lee 6ca6862d7e A few SDL2_image RWops funcs 2014-12-27 22:15:02 -05:00
Ethan Lee 07d4d8a494 A few SDL2_image RWops funcs 2014-12-27 22:14:52 -05:00
Ethan Lee a273ea9a18 Render*Rect NULL overloads 2014-12-26 11:16:14 -05:00
David Barnett 7a248e2678 Added SDL_GetRendererOutputSize 2014-12-26 11:16:14 -05:00
Ethan Lee 784cda961f SDL_Render rendertarget funcs 2014-12-26 11:16:14 -05:00
Ethan Lee 9c475e36fa CreateSoftwareRenderer fix 2014-12-26 11:16:14 -05:00
David Barnett 818a5cb6e0 Fix SDL_GetScancodeFromKey signature 2014-12-26 11:16:14 -05:00
Ethan Lee 0834d434ec Render*Rect NULL overloads 2014-12-26 11:16:08 -05:00
David Barnett 19b00a2345 Added SDL_GetRendererOutputSize 2014-12-07 12:55:56 +13:00
Ethan Lee 99f2688d2b SDL_Render rendertarget funcs 2014-12-04 20:01:57 -05:00
Ethan Lee 847df8350b CreateSoftwareRenderer fix 2014-11-18 10:26:32 -05:00
David Barnett 471b3f9658 Fix SDL_GetScancodeFromKey signature 2014-10-26 15:36:18 +13:00
Ethan Lee 9a1f823bca 2.0.4 GUI backend additions 2014-10-18 12:50:39 -04:00
Ethan Lee e395a5114d 2.0.4 mouse additions 2014-10-18 12:39:00 -04:00
Ethan Lee 818830fc3a Overloads for GetMouseState 2014-10-18 12:36:44 -04:00
Ethan Lee df0b8c03d6 SDL_GetVersion can be public 2014-10-08 00:36:27 -04:00