Log

Author Commit Date CI Message
Ryan C. Gordon 674eb556 2015-02-19T21:50:40 Windows: Free the argv we allocated for console_wmain().
Ryan C. Gordon e974ccf8 2015-02-19T21:49:30 Windows: Added a FIXME.
Ryan C. Gordon f7c4c3d0 2015-02-19T21:49:15 Windows: Make a distinction between ANSI mainline and UTF-8 mainline.
Ryan C. Gordon e93ee5d7 2015-02-19T21:44:41 Windows: Support unicode arguments for console applications (thanks, Jorgen!). Fixes Bugzilla #2864.
Ryan C. Gordon 1b2cb70c 2015-02-19T19:55:30 Mac OS X: replace some deprecated APIs with modern equivalents (thanks, Alex!). Fixes Bugzilla #2858.
Edward Rudd 635a369c 2015-02-19T19:40:58 SDL_SetWindowPosition respects display num for SDL_WINDOWPOS_CENTERED_DISPLAY. This allows for this kind of code in an application: int monitorID = 1; // the second monitor! SDL_SetWindowPosition(sdlWin, SDL_WINDOWPOS_CENTERED_DISPLAY(monitorID), SDL_WINDOWPOS_CENTERED_DISPLAY(monitorID)); Fixes Bugzilla #2849.
Ryan C. Gordon b7f6da06 2015-02-19T13:42:56 Some corrections to the SDL2.spec.in (thanks, Simone!). Fixes Bugzilla #2809.
Ryan C. Gordon a3097559 2015-02-19T13:11:19 Remove unnecessary parentheses and an unnecessary free() of a NULL pointer. (Thanks, Simon!) Fixes Bugzilla #2881.
Ryan C. Gordon 80ba8547 2015-02-18T16:25:15 Corrected documentation about triggers values in SDL_GameControllerGetAxis(). Fixes Bugzilla #2319.
Ryan C. Gordon 8751b956 2015-02-18T16:17:53 We maintain the list of platforms on the wiki now. Also, I don't really want people emailing community members directly with problems, so I'm removing their email addresses. Fixes Bugzilla #2304.
Philipp Wiesemann 6dda14c0 2015-02-18T21:34:07 Emscripten: Fixed receiving joystick events after failed init or subsystem quit. The callbacks used to receive the HTML events were not removed if the joystick subsystem initialization failed or if the joystick subsystem was quit. Also, the already connected joysticks were not deleted if the initialization failed later.
Philipp Wiesemann f9adb453 2015-02-18T21:31:21 Removed redundant include statements from test programs. The needed header files are already included with SDL.h. Still including them in the test programs is confusing because it somehow suggests they would be needed.
Ryan C. Gordon f75d6c09 2015-02-17T23:00:46 X11: Don't create a window and GL context to look up the glX extension string. It's not necessary.
Ryan C. Gordon f0c061d1 2015-02-17T22:59:56 glX HasExtension(): check for NULL ext string first. It's slightly faster than failing later, after a strchr() call, since this will get called multiple times with a NULL string if the system totally fails elsewhere.
Philipp Wiesemann 052720f7 2015-02-15T21:47:10 Emscripten: Removed unused internal function.
Philipp Wiesemann bd2d0146 2015-02-15T21:44:36 Emscripten: Changed return type of callback implementations from int to EM_BOOL. The prototypes are declared with EM_BOOL (which is currently an int) in html5.h.
David Ludwig 8a700d4d 2015-02-15T12:11:44 WinRT: a minor, nit-picky cleanup of some OpenGL code
David Ludwig 5ad34f7a 2015-02-15T11:53:24 WinRT: improved OpenGL ES compatibility on WinPhone/ARM and Surface RT This change integrates initialization settings for ANGLE/WinRT, as suggested in MSOpenTech's latest ANGLE template-projects (for MSVC). This should fix some OpenGL initialization issues on WinPhone 8.1 on ARM, and on the 1st-generation Surface RT.
Philipp Wiesemann ec2df649 2015-02-15T11:35:07 Fixed crash if using clipboard functions without having initialized video.
Philipp Wiesemann cec3efe6 2015-02-15T11:33:39 Fixed compile warning about unused variable in wave test program.
David Ludwig df329962 2015-02-15T00:08:27 WinRT: fixed crash when using up-to-date versions of ANGLE/WinRT
Philipp Wiesemann 2ef8b1a7 2015-02-14T15:22:04 Emscripten: Fixed sending SDL_JOYDEVICEADDED events with an index out of range. SDL_JOYDEVICEADDED events must contain the device index which is a value between 0 and the number of connected joysticks. The old implementation included a value based on the instance id instead. It worked in some cases because the values are similar initially. But after disconnecting joysticks this is no more the case and the always increasing instance id becomes larger than number of joysticks.
Philipp Wiesemann 39418488 2015-02-14T15:16:41 Emscripten: Deactivated and corrected debug log messages on joystick events.
Philipp Wiesemann 6abd242b 2015-02-14T00:16:27 Emscripten: Fixed throwing JavaScript exception if no audio context available. Handling the error in C provides the possibility to just continue without audio.
Philipp Wiesemann c5179c6a 2015-02-14T00:13:00 Emscripten: Fixed not including SDL_internal.h.
Philipp Wiesemann 697c5c57 2015-02-14T00:10:58 Emscripten: Fixed framebuffer error message.
Philipp Wiesemann 2bb73d17 2015-02-14T00:08:48 Emscripten: Fixed SDL_GetPlatform() returning "Unknown" instead of "Emscripten".
Philipp Wiesemann d1932834 2015-02-12T21:40:53 Fixed test programs for joystick not exiting on events after first disconnect. Exit was broken since the main loop extraction needed for Emscripten support because the former local but now global variables were not reset correctly.
Ryan C. Gordon 7fd15e7e 2015-02-11T01:48:52 X11: Set dialog hint on message boxes (thanks, Melker!). This helps the window manager do the right thing with these windows.
Philipp Wiesemann 39c41bb9 2015-02-10T20:40:03 Fixed bug 2873 - Joystick test won't reload after reattach lectem -plug in the joystick -start testjoystick 0 -unplug -replug The joystick is detected but doesn't enter the loop anymore since done==SDL_TRUE
Philipp Wiesemann bd61c276 2015-02-10T20:31:05 Fixed compiling test with older C.
Philipp Wiesemann e3f9bf33 2015-02-08T22:50:16 Fixed two inconsistencies on failed allocation.
David Ludwig 78f3a80c 2015-02-08T15:44:15 WinRT: made note that VSync is always enabled on WinPhone, due to OS Windows Phone does not appear to allow VSync to be turned off. Doing so appears to either result in content not getting drawn (when the D3D debug runtime is turned off), or forcing VSync back on and logging an error (when the D3D debug runtime is turned on). VSync had been getting turned on anyways, this change just notes such: - via the WinRT README - by always setting the SDL_RENDERER_PRESENTVSYNC flag when creating an SDL_Renderer on Windows Phone
Philipp Wiesemann fe586d07 2015-02-08T21:25:37 Fixed three memory leaks on failed allocation.
Philipp Wiesemann c17a5b11 2015-02-07T22:40:36 Fixed bug 2866 - testrelative.c: patch to make the orange box wrap around Eric Wasylishen Here's a patch to make the 'testrelative' demo program more useful: it just makes the orange rectangle wrap around. Previously, the orange cursor would just disappear off screen if you move the mouse a lot in one direction, so it was hard to tell if relative mouse mode was still working.
Philipp Wiesemann 60329e6a 2015-02-03T21:22:25 Added missing guards.
Ryan C. Gordon 56edbb40 2015-02-02T01:21:02 X11: Add events related to maximizing a window (thanks, Andrei and Gergely!). Fixes Bugzilla #1447.
Ryan C. Gordon ece8d2bb 2015-02-02T01:05:41 X11: Fixes for OpenGL 3.0 and later context creation. - Don't create a temporary context first; this was probably due to Windows needing one to get the address of wglCreateContextAttribsARB(), but that's a unique quirk of WGL, and doesn't apply to glX. The glX spec explicitly says you have to get a function pointer that works with any context from glXGetProcAddress(), including when no context exists. - Properly check for the GLX_ARB_create_context instead of just looking for a non-NULL glXCreateContextAttribsARB()...some implementations, like Mesa, never return NULL for function lookups (Mesa returns pointers into a jump table that is filled out when the GL is initialized; since you can look up functions before you have a valid context, it can't definitely say a function isn't valid at that point).
Philipp Wiesemann 86f87bf7 2015-01-31T22:45:54 Added missing guards in implementation for PSP. Thanks to Martin Gerhardy for pointing this out.
Philipp Wiesemann d036ad84 2015-01-31T22:43:05 Added missing include statements in implementation for PSP. SDL_internal.h should be included to support dynamic API and fix warnings.
Philipp Wiesemann 43500a78 2015-01-31T21:06:37 Fixed comment in implementation for NaCl.
Philipp Wiesemann f4b7cf6e 2015-01-31T21:02:56 Fixed including SDL_config.h in implementation for Android. SDL_internal.h should be included to support dynamic API.
Philipp Wiesemann 7384f147 2015-01-31T10:33:48 Fixed names in implementation for PSP.
Philipp Wiesemann 7815393b 2015-01-31T10:32:45 Fixed wrong comment in implementation for Android.
Philipp Wiesemann 0781b5f9 2015-01-30T23:20:15 Fix typos in header file documentation comments.
Philipp Wiesemann f1a56cd5 2015-01-30T23:18:14 Changed static variable to local variable in implementation for Android.
Sam Lantinga a7258066 2015-01-29T13:33:53 Fixed game controller hotplug support for some embedded Linux devices When guessing the device class, it ends up being 0 for devices that have been removed (because the device node no longer exists)
Sam Lantinga 0874eb97 2015-01-29T13:33:20 Add binding layout for Xbone pad.
Ryan C. Gordon 203ea981 2015-01-26T17:46:39 X11: Don't delay delivery of focus events unless we just changed vidmodes. Normally there's a 200 millisecond delay on all focus events in case there was a vidmode change, now we note the last vidmode change and only impose this delay if a change happened extremely recently. Thanks to Epic Games for reporting this issue.
Philipp Wiesemann 34a5c70c 2015-01-26T22:27:27 Fixed recently broken configure script for FreeBSD. Found by buildbot.
Philipp Wiesemann f64e6742 2015-01-26T22:12:38 Fixed memory leak in video quit implementation for Android.
Philipp Wiesemann 60f50c70 2015-01-26T22:02:53 Updated a README.
Philipp Wiesemann b48e54aa 2015-01-26T22:00:29 Fixed bug 2802 - [patch] Fix android build compiling in wrong filesystem implementation Jonas Kulla The configure script didn't differentiate between Linux and Android, unconditionally compiling in the unix implementation of SDL_sysfilesystem.c. I'm probably one of the very few people building SDL for android using classic configure + standalone toolchain, so this has gone undetected all along.
Arne Janbu aefcd86d 2015-01-10T13:47:37 Fix build on Linux when wayland is enabled Bug: https://bugzilla.libsdl.org/show_bug.cgi?id=2838