Commit Graph

  • df2257e369 Backed out hg changeset b92b8c52946c. REFGUID is apparently a const type. Ryan C. Gordon 2013-10-20 16:03:11 -04:00
  • 979be9e7d1 Patched to compile on non-C99 Microsoft compiler. Ryan C. Gordon 2013-10-20 16:02:24 -04:00
  • 0f42de668e Patched to compile on Windows. Ryan C. Gordon 2013-10-20 16:01:10 -04:00
  • cbcd35ccf4 Allow XInput haptics to run for SDL_HAPTIC_INFINITY time (thanks, Mitchell!). Ryan C. Gordon 2013-10-20 15:55:47 -04:00
  • 457b63bba4 Fixed goofy logic in haptic device comparison code. Ryan C. Gordon 2013-10-20 15:49:52 -04:00
  • 4fdc8805dd Don't bother calling SDL_SYS_HapticEffectType() at all for XInput devices. Ryan C. Gordon 2013-10-20 15:45:48 -04:00
  • 79a72325c6 Fix adding of XInput devices (thanks, Mitchell!) Ryan C. Gordon 2013-10-20 15:40:20 -04:00
  • 8e500662fe It's okay to quit things more than once. Sam Lantinga 2013-10-20 10:39:26 -07:00
  • 22810a9476 Use vertex arrays for drawing points in addition to lines Sam Lantinga 2013-10-20 10:35:51 -07:00
  • 24be119d91 Fixed bug 1392 - Debian patch: do not propagate -lpthread Sam Lantinga 2013-10-20 10:19:51 -07:00
  • 3a96110d57 Fixed bug 2158 - Pixel missing in SDL_RenderDrawLines Sam Lantinga 2013-10-20 10:10:14 -07:00
  • a900172a05 Fixed compiling with the new X11 symbol wrapping Sam Lantinga 2013-10-20 09:58:37 -07:00
  • f3127270a8 Fix bug 1300 by querying current border size in ConfigureNotify, and adjusting window coordinates accordingly. Stefanos Apostolopoulos 2013-10-20 17:23:43 +02:00
  • 94d66457c3 Fixed bug 2162 - SDL_RenderClear not clearing entire render target Sam Lantinga 2013-10-19 01:29:23 -07:00
  • 0fa5687df9 Fixed the XInput2 X11 symbols. Ryan C. Gordon 2013-10-18 10:56:45 -04:00
  • 2402c91e30 Fixed bug 2108 - CMake does not set X11 includes properly for sdl2-config and friends Sam Lantinga 2013-10-18 00:49:59 -07:00
  • 9de2cf0764 Fixed bug 2123 - SDL_BlitScaled crashes in src/video/SDL_blit_N.c:2145 Sam Lantinga 2013-10-18 00:47:22 -07:00
  • f0f5fc9445 Fixed bug 2139 - SDL_CreateWindow/WIN_GL_LoadLibrary fails due to external iconv not being able to convert path Sam Lantinga 2013-10-18 00:13:51 -07:00
  • 0fe40360a5 Fixed bug 2155 - automatically remap accelerometer coordinates according to screen orientation on Android Sam Lantinga 2013-10-17 23:44:30 -07:00
  • dd5f6d5585 Fixed bug 2069 - Device addition/removal queries all USB devices rather than only HID devices. Sam Lantinga 2013-10-17 23:40:13 -07:00
  • 3fab48ecbc Fixed 1598 - Mingwin build fails on src/audio/xaudio2/SDL_xaudio2.c Sam Lantinga 2013-10-17 23:15:27 -07:00
  • 3ad2c7e539 Removed redundant #ifdef Sam Lantinga 2013-10-17 23:05:40 -07:00
  • 2451a67018 Fixed building using MinGW Our SDL_windows.h needed to be included before anything else so UNICODE is defined. Sam Lantinga 2013-10-17 23:02:29 -07:00
  • 04b28e4161 Don't supply duplicate X11 symbols inside SDL. Ryan C. Gordon 2013-10-18 01:36:41 -04:00
  • d765aea0f5 Fix to unbreak SDL_GetSystemRAM() on FreeBSD Sam Lantinga 2013-10-17 20:49:30 -07:00
  • 52da1b655f Fixed compiler warning if dynamic X11 loading isn't enabled. Sam Lantinga 2013-10-17 17:38:55 -07:00
  • 6fd4221113 Fixed using the wrong variable when reporting a missing SDL scancode mapping. Sam Lantinga 2013-10-17 17:37:23 -07:00
  • a19fbe773d Fixed compiling on Mac OS X, added a system RAM test Sam Lantinga 2013-10-17 11:56:33 -07:00
  • eeec451f0a The _SC_PHYS_PAGES method of calculating RAM works on Linux. Sam Lantinga 2013-10-17 11:32:14 -07:00
  • 5e83bc34c1 Added an API to get the amount of system RAM Sam Lantinga 2013-10-17 11:32:56 -07:00
  • bea0b8585d Merged Sam Lantinga 2013-10-14 09:15:41 -07:00
  • 15eb72a46b Fixed project conflict during commit Sam Lantinga 2013-10-14 09:14:09 -07:00
  • 286a84a6c3 Backed out revision d4a39491577f, the platform specific messagebox functions don't have the right prototype since they're designed to be used standalone. Sam Lantinga 2013-10-14 09:12:30 -07:00
  • 3d771ae8eb For some reason, trying to raise the window programmatically while it's alt-tabbed away will minimize it. Added a workaround for this. Sam Lantinga 2013-10-14 08:56:55 -07:00
  • d5b81aab82 Fixed the windows message debug output so it works without HAVE_LIBC Sam Lantinga 2013-10-14 08:56:50 -07:00
  • 99cbc21aa6 Adding static lib to SDL builds on Windows. Sam Lantinga 2013-10-14 08:56:45 -07:00
  • 027a8b8275 Added support for SDL_PIXELFORMAT_UYVY surfaces on Mac OS X Sam Lantinga 2013-10-14 08:56:37 -07:00
  • d7e602eb02 Fixed accumulating mouse wheel motion for the Microsoft Wireless Mouse 5000 Sam Lantinga 2013-10-13 19:59:40 -07:00
  • 15cb545eb3 Fixed function feature test for Visual Studio 2012 Sam Lantinga 2013-10-13 19:51:58 -07:00
  • fdc0f72d69 Fixed bug 2149 - Don't search for libusbhid except on BSD Sam Lantinga 2013-10-13 19:49:45 -07:00
  • db4be173a2 Added an assert to catch init/quit call mismatch that might bite people. Sam Lantinga 2013-10-13 19:48:45 -07:00
  • 1935216d1e Prevent keystrokes from leaking through to the console when using evdev. Gabriel Jacobo 2013-10-13 17:15:43 -03:00
  • d0bf6d2772 Fixes X11 video backend compilation when no GL is available Gabriel Jacobo 2013-10-12 16:29:34 -03:00
  • 23058a432a added simple Drag & drop test Edward Rudd 2013-10-12 11:21:40 -04:00
  • 4a3aa0e1fc Updates the Raspberry Pi README Gabriel Jacobo 2013-10-12 11:35:47 -03:00
  • dac38675a7 Do a full sysroot for the Raspberry Pi buildbot. Ryan C. Gordon 2013-10-11 10:58:05 -04:00
  • fc1340575e Fixed bug 2146 - Enable static linking of libSDL on Android Sam Lantinga 2013-10-10 21:51:39 -07:00
  • 6fca598f55 Updated SDL to version 2.0.1 Sam Lantinga 2013-10-10 21:50:25 -07:00
  • 7d13daab36 Report joystick added/removed events even if we don't have udev. Sam Lantinga 2013-10-10 20:58:20 -07:00
  • 6463131cbf Mac: Better handling when someone else is the app delegate. Jørgen P. Tjernø 2013-10-07 16:01:40 -07:00
  • 71d755447b Raspberry Pi build script: let caller specify final tarball name. Ryan C. Gordon 2013-10-10 02:37:36 -04:00
  • dd9623feb3 Patched to compile in C90 mode. Ryan C. Gordon 2013-10-10 02:21:41 -04:00
  • f1448d2dc0 Fixed tarball name in Raspberry Pi build script. Ryan C. Gordon 2013-10-10 02:06:14 -04:00
  • a53f9320fc Added script that the buildbot will use for cross-compiling to Raspberry Pi. Ryan C. Gordon 2013-10-10 01:46:39 -04:00
  • 8eae84fcf7 Adds gl_profile_mask to test framework, uses it in testgles Gabriel Jacobo 2013-10-10 00:49:57 -03:00
  • 56d39418a4 Fixes Bug 2134 - [Android] Black screen after resume (sometimes) Gabriel Jacobo 2013-10-10 00:30:03 -03:00
  • d62885425b Fixes testgles and testgl Gabriel Jacobo 2013-10-09 11:30:01 -03:00
  • 4eb9f2adce Adds test framework to Android.mk and a simple utility to build Android projects Gabriel Jacobo 2013-10-09 10:29:01 -03:00
  • d1d459608a Fix SDL_SetWindowPosition on fullscreen windows. Jørgen P. Tjernø 2013-10-07 14:16:38 -07:00
  • 7ee2a2bcff Only allocate a joystick instance ID once we know it's a joystick. This fixes compatibility with code that assumes 0 based joystick instance IDs. Sam Lantinga 2013-10-06 20:39:23 -07:00
  • 03c7730443 Removed unused variables (thanks Joseph!) Sam Lantinga 2013-10-06 13:50:36 -07:00
  • 072d244ac0 Check for NULL joystick in SDL_JoystickGetGUID() Sam Lantinga 2013-10-06 13:49:23 -07:00
  • bbb5497a4d Fixed bug where a Logitech wireless keyboard with built-in mouse touchpad didn't get recongized as both devices. Sam Lantinga 2013-10-05 21:15:55 -07:00
  • deb0d06de7 Fixed bug 2132 - Tests may use invalid SDL_window pointers when windows are closed Sam Lantinga 2013-10-05 19:09:03 -07:00
  • f50e84c7c2 Added detection of touch devices before first touch events happen on Android. Philipp Wiesemann 2013-10-05 17:08:19 +02:00
  • e2a6bbf232 Do a 32-bit compare on RGBA values. Thsi should be inlined in optimized builds. Sam Lantinga 2013-10-05 12:29:05 -07:00
  • 775abe1296 Avoid redundant state changes in the GLES2 renderer. Ryan C. Gordon 2013-10-05 00:29:57 -04:00
  • 43d69defbc Removed "u_colorTable" uniform from the GLES2 renderer. It's not used anywhere. Ryan C. Gordon 2013-10-04 11:25:14 -04:00
  • b2790284b1 Fix EGL/OpenGL ES paths Gabriel Jacobo 2013-10-04 08:23:37 -03:00
  • bea5cdbbd7 Report an error if creating a render target fails Sam Lantinga 2013-10-03 21:41:09 -07:00
  • 0d0380db84 Added optional error checking for OpenGL ES 2.0 in the same style as the OpenGL renderer. You can enable it like this: SDL_GL_SetAttribute(SDL_GL_CONTEXT_FLAGS, SDL_GL_CONTEXT_DEBUG_FLAG); Sam Lantinga 2013-10-03 20:48:52 -07:00
  • 3f8a1dd1c3 Fixed a potential double-free bug if glGenTextures() failed. Sam Lantinga 2013-10-03 20:42:43 -07:00
  • 4a1785a9ea SDL_TEXTINPUT support for EVDEV Gabriel Jacobo 2013-10-03 10:28:10 -03:00
  • beb9e10e46 Fixed const/non-const warning Sam Lantinga 2013-10-03 03:31:05 -07:00
  • 13c505947d WinRT: added missing files David Ludwig 2013-09-22 23:17:25 -04:00
  • 4dd121471c WinRT: unified the two, public, app-init functions David Ludwig 2013-09-22 12:26:53 -04:00
  • ab565ef643 WinRT: ugh, at least one file in an app's project seems to require C++/CX compilation. Assuming this is true, that file might as well be the one that contains WinMain. David Ludwig 2013-09-16 22:43:12 -04:00
  • 5da0adaea5 WinRT: renamed SDL_winrt_main.cpp to indicate that it should only be used in non-XAML apps David Ludwig 2013-09-16 22:27:30 -04:00
  • 81dbaa1e44 WinRT: reduced the size of SDL_winrt_main.cpp by a little bit David Ludwig 2013-09-16 21:09:58 -04:00
  • e7a27315f9 WinRT: made SDL_GetWindowWMInfo return window data in a slightly easier-to-use format David Ludwig 2013-09-16 11:02:18 -04:00
  • 6610782740 WinRT: fixed a line-rendering bug in the D3D 11.1 backend David Ludwig 2013-09-16 00:31:01 -04:00
  • 374f121a28 WinRT: made SDL_winrt_main.cpp not have to be compiled as C++/CX (via the /ZW compiler flag) David Ludwig 2013-09-15 23:53:51 -04:00
  • bfbe514e68 WinRT: build fix for the SDL-WinRT-only .sln David Ludwig 2013-09-14 23:44:50 -04:00
  • b0aa3ee259 WinRT: project-naming cleanup. Projects that link to SDL will need updating. To update: 1. remove references to SDL's project files from the Visual Studio Solution. To note, these project files have been renamed, and will show up in Visual Studio with the text, "load failed". 2. add the SDL project files back into the Visual Studio Solution 3. for each project that should link to SDL, add a reference to it. This can be done by right-clicking on it in Visual Studio, selecting "References...", clicking "Add New Reference", checking the box next to the SDL project, then closing each dialog by clicking OK. David Ludwig 2013-09-14 23:34:27 -04:00
  • fac49b02af WinRT: code cleanup: attempted to make it more clear what code is specific to what app type (plain Direct3D or XAML) David Ludwig 2013-09-06 21:13:15 -04:00
  • a1286b5c60 WinRT: minor code cleanup regarding events David Ludwig 2013-09-06 21:00:52 -04:00
  • f48360ea22 WinRT: removed chunks of C++ hack code from SDL_xaudio2.c David Ludwig 2013-09-06 19:23:42 -04:00
  • 0672afb236 WinRT: made SDL_xaudio2.c compile as C code when building for WinRT David Ludwig 2013-09-06 19:07:15 -04:00
  • a70c094631 WinRT: minor code cleanup in SDL_xaudio2.c David Ludwig 2013-09-04 20:20:36 -04:00
  • 77688b3323 WinRT: more renaming of "windowsrt" to "winrt" David Ludwig 2013-09-04 19:55:45 -04:00
  • 3397778e0b WinRT: renamed a mouse-related header file for naming-consistency's sake David Ludwig 2013-09-02 15:29:46 -04:00
  • fd735f66d7 WinRT: misc code cleanups regarding touch and mouse events, and also SDL-internal globals David Ludwig 2013-09-02 15:23:33 -04:00
  • 34c10841b6 WinRT: added touch input event support for Windows 8/RT devices David Ludwig 2013-09-01 10:20:17 -04:00
  • 54f017df15 WinRT: added touch-event support for Windows Phone devices David Ludwig 2013-08-29 10:32:16 -04:00
  • 971e8b2487 WinRT: corrected SDL_MOUSE* coordinates in non-Portrait modes David Ludwig 2013-08-28 16:51:07 -04:00
  • d713c2682e WinRT: made simulated-mouse (via touch) input work on Windows Phone in Portrait mode David Ludwig 2013-08-28 16:14:27 -04:00
  • 59362ee702 WinRT: made rendering work with orientation changes on Windows Phone David Ludwig 2013-08-28 15:27:01 -04:00
  • 46a76134a3 WinRT: removed a comment regarding a dealt-with TODO David Ludwig 2013-08-28 12:45:43 -04:00
  • 9523f29d5c WinRT: rendering orientation fixes for Windows Phone, part 1 David Ludwig 2013-08-28 12:38:30 -04:00
  • 2c2aedbcdb WinRT: fixed a potential memory-related crash in SDL_Renderer on Windows Phone David Ludwig 2013-08-28 11:46:02 -04:00