Commit graph

370 commits

Author SHA1 Message Date
Ethan Lee fadd0135c3
Removed obsolete Roadmap section from README 2021-04-19 11:57:58 -04:00
Ethan Lee e8bf894c31
Try to fix use of C long in TTF_FontFaces 2021-04-19 11:54:43 -04: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
Ethan Lee 53026deb22 Fix some native memory leaks in the newer functions 2021-03-13 16:13:27 -05:00
Ethan Lee 2b8d237fd4 Support SDL2-CS.Settings.props for both project types 2021-03-01 09:20:52 -05:00
deccer f636c6175d
Add support for SDL2-CS.Settings.props, for custom build options. (#214)
Based on FNA.Settings.props.
2021-02-15 09:30:49 -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
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 e7d628f539 Allow .NET 4.0 projects to reference SDL2-CS.Core 2020-02-29 11:15:45 -05: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 1f35c7f2fd VS2010 app.config fix 2019-11-26 15:13:58 -05:00
Ethan Lee dc9d98a075 SDL2-CS.dll.config -> app.config 2019-10-27 01:31:27 -04: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
Ethan Lee 7aaf5e6203
Create FUNDING.yml 2019-10-11 14:32:36 -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