Граф коммитов

300 Коммитов

Автор SHA1 Сообщение Дата
Manu b40a78c222 Add macOS support for CoreCLR by providing the native dylib name of SDL2 libraries
Fix Linux library name to match what's expected when just installing the
non-dev package of SDL2.
2016-07-04 15:01:17 +09:00
Manu 01848217d3 Change output directory for Linux 2016-06-30 15:56:40 +09:00
Manu 7981877799 Added Linux build to avoid the need of a DllMap config file which
doesn't work with CoreCLR on Linux
2016-06-30 15:53:15 +09:00
Manu f3124786b7 Use our explicit marshaler. 2016-05-17 17:59:36 +09:00
Manu 6e1af7efe9 Merge remote-tracking branch 'silicon/master' 2016-05-17 17:52:48 +09:00
Manu 41af660f70 Merge remote-tracking branch 'source/master'
Conflicts:
	src/LPUtf8StrMarshaler.cs
	src/SDL2.cs
2016-05-17 17:52:07 +09:00
Manu 1ef76499b8 Add support for new 2.0.4 features
Add SDL_GetGlobalMouseState and SDL_WarpMouseGlobal.
2016-05-17 17:15:45 +09: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
Ethan Lee 8cf81bc2e6 Merge pull request #99 from dan200/master
Added bindings for SDL_PowerState and SDL_GetPowerInfo
2016-01-07 17:55:25 -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 5d5f4154bb Case-sensitive output folders to match csproj 2015-12-16 18:35:18 -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
Manu c4e209a82b Merge remote-tracking branch 'upstream/master' 2015-11-09 16:41:10 +09:00
Manu f324fb9112 Avoid allocation of byte array used for UTF8 encoding for strings whose UTF8 encoding is less than MaxBytes bytes (currently set to 512). 2015-11-09 16:38:44 +09:00
Manu 29e907ff07 Merge remote-tracking branch 'upstream/master' 2015-11-09 15:38:49 +09:00
Manu 5293e8ecea Internally we are just using a class, no more struct. This makes it faster by avoid too many struct copies whenever we access one of the buffers, and we avoided indirections by returning the IntPtr of the buffer. Added definition of a finalizer on the Utf8String class. Renamed UTF8String into Utf8String to avoid ReSharper warnings on namings. 2015-11-09 15:35:08 +09:00
Manu be1550047a Merge remote-tracking branch 'upstream/master' 2015-11-09 14:48:49 +09:00
Manu 4a1ea6fff8 Optimized string marshalling by avoiding many allocations by using statics when possible to convert a UTF-8 external memory into a .NET string, or by reusing UTF8String instances on a per thread basis. 2015-11-09 13:09:34 +09:00
Manu 12dbc413d6 Removed CoreFX which is not needed anymore as we compile against PCL. 2015-11-09 09:22:39 +09:00
Manu 81a095e07e Merge remote-tracking branch 'pcl/master' 2015-11-06 12:00:32 +09:00
Manu 3b0d53c329 We now compile against PCL. 2015-11-06 11:41:11 +09:00
Manu 0b6202d2d9 Made code compile against PCL. 2015-11-06 11:36:38 +09:00
Emmanuel Stapf f04b2ed553 Added ability to create cursors using byte[] or byte *. 2015-10-22 10:01:48 +09:00
Emmanuel Stapf c19c266a22 Default to target .NET 4.0. 2015-10-21 09:29:10 +09:00
Emmanuel Stapf 60a04e6844 Added SDL_RWFromMemNative to use SDL_RWFromMem without a byte array.
Added missing HINT constants added in 2.03 and 2.04 (ongoing).
2015-10-21 09:27:45 +09:00
Emmanuel Stapf 7cafb64293 Updated code to compile against .NET 4.0. For compiling against newer version of the .NET Framework, one has to define NET46. 2015-10-19 10:41:58 +09:00
Emmanuel Stapf 42190cea54 Fixed invalid name of wrapper. 2015-10-19 08:37:03 +09:00
Emmanuel Stapf a42d09b167 Cosmetics. 2015-10-19 08:36:51 +09:00
Emmanuel Stapf 1b074568f1 Made UTF8String a class to ensure that `Dispose()' will be called regardless of exceptions.
Made sure we call Dispose() on all our UTF8String instances that allocate SDL C memory.
2015-10-16 11:09:05 +09:00
Emmanuel Stapf ca7b08ca45 Removed more useless ReSharper Analysis tool warnings. 2015-10-16 11:07:02 +09:00
Emmanuel Stapf 6828505ba3 Added Resharper project specific settings. 2015-10-16 10:17:26 +09:00
Emmanuel Stapf a84c9be8db Use generic version of Marshaling methods.
Cosmetics
2015-10-16 10:03:39 +09:00
Emmanuel Stapf cfd6665846 Completed manual marshalling of strings.
Commented out code using __arglist because at the moment CoreFX reference assemblies do not have a definition for RuntimeArgumentHandle.
2015-10-16 09:45:59 +09:00
Emmanuel Stapf bb471e5de9 Ignored ReSharper Cache files. 2015-10-15 12:57:56 +09:00
Emmanuel Stapf 09cedf612b Added CoreFX reference assemblies. 2015-10-15 12:56:21 +09: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