b0502ce831
Re-enable Mir/Wayland support now that 2.0.3 has been released.
Brandon Schaefer
2014-03-25 14:33:34 -07:00
a99bf4d705
WinRT: Call IDXGIDevice3::Trim before app-suspend, as required on Windows 8.1
David Ludwig
2014-03-24 22:51:03 -04:00
cbf718461c
WinRT: Line ending fixes (CRLF to LF)
David Ludwig
2014-03-24 22:12:38 -04:00
22a7dd0be8Fixes#2456, controllermap's undo does not work correctly (by Bogdan Marinov)
Gabriel Jacobo
2014-03-24 11:42:09 -03:00
1f92c9dcac
Emit SDL_RENDER_DEVICE_RESET on Android when the GLES context is recreated
Gabriel Jacobo
2014-03-24 11:04:42 -03:00
dd81dad1ad
Added an assert to help static analyzer.
Ryan C. Gordon
2014-03-24 07:12:26 -04:00
26823b1bb4
Added an event SDL_RENDER_DEVICE_RESET, which is triggered on Direct3D 11 when the device has been lost and all textures need to be recreated.
Sam Lantinga
2014-03-23 23:09:22 -07:00
25919bf252
Fixed warning on Mac OS X
Sam Lantinga
2014-03-23 23:08:26 -07:00
3317e4340d
Fixing Alt-Enter handling, submitted by Nader Golbaz
Sam Lantinga
2014-03-23 22:53:50 -07:00
119dff5546
WinRT: Implemented SDL_ShowMessageBox for Windows 8.x/RT hosts
David Ludwig
2014-03-23 22:07:01 -04:00
6ab50a5e2e
Tossed in some SDL_asserts to make static analyzer happier.
Ryan C. Gordon
2014-03-23 18:56:47 -04:00
46a80b04d8
D3D11: Fixed a crash after a GPU device-reset on Win32
David Ludwig
2014-03-23 16:08:32 -04:00
6ce684e92b
D3D11: Added code to handle GPU-device-removed scenarios
David Ludwig
2014-03-23 13:48:16 -04:00
c3d1037665
Better keyboard detection when some of the keys are remapped, thanks to Lewis Wall
Sam Lantinga
2014-03-23 09:44:04 -07:00
c2243092d7
WinRT: Miscellaneous app-backgrounding/restoring event fixes and additions
David Ludwig
2014-03-23 11:04:47 -04:00
50ee99ecb2
WinRT: Made app-backgrounded events get sent at separate, distinct times.
David Ludwig
2014-03-23 08:56:52 -04:00
823bf72130
WinRT globals cleanup: Removed WINRT_GlobalSDLVideoDevice
David Ludwig
2014-03-22 21:08:05 -04:00
b51a3206c8
WinRT: Got OpenGL ES 2 working with the latest version of ANGLE/WinRT.
David Ludwig
2014-03-22 20:48:18 -04:00
cc52939853
Static analysis fix: more cleanups of unused variables, etc, in blitters.
Ryan C. Gordon
2014-03-21 10:40:15 -04:00
7bf36abfc0
Static analysis fix: more dead stores.
Ryan C. Gordon
2014-03-21 00:57:43 -04:00
ba4b3aa944
Patched to compile on C89 compilers, removed more streamer code.
Ryan C. Gordon
2014-03-20 18:00:41 -04:00
e177b1cc49
Static analysis fix: clean up unused variables and dead stores in blitters.
Ryan C. Gordon
2014-03-20 17:55:24 -04:00
6d6fba4b0a
#ifdef'd out the audio streamer code.
Ryan C. Gordon
2014-03-20 17:00:33 -04:00
a43dbfad0d
Static analysis fix: Removed unused variable.
Ryan C. Gordon
2014-03-20 16:56:37 -04:00
3aae0ed2c5
Static analysis fix: uninitialized data.
Ryan C. Gordon
2014-03-20 16:54:20 -04:00
d7a253b5ec
Static analysis fix: uninitialized data.
Ryan C. Gordon
2014-03-20 16:25:30 -04:00
93ba5bd899
Static analysis fix: uninitialized value.
Ryan C. Gordon
2014-03-20 16:23:18 -04:00
a25bd63cc5
Static analysis fix: leaking Objective-C object.
Ryan C. Gordon
2014-03-20 16:05:57 -04:00
84b919a2a7
Static analysis fix: dereference of a NULL pointer.
Ryan C. Gordon
2014-03-20 11:22:57 -04:00
b99a6253da
Static analysis fix: let clang know _this->displays isn't NULL.
Ryan C. Gordon
2014-03-20 11:14:02 -04:00
415675bef0
Static analysis fix: division by zero.
Ryan C. Gordon
2014-03-20 11:14:44 -04:00
b659c70080
Static analysis fix: uninitialized variables.
Ryan C. Gordon
2014-03-20 10:41:47 -04:00
1a2a3e9c8b
Static analysis fix: Fixed leaking Objective-C object.
Ryan C. Gordon
2014-03-20 10:04:23 -04:00
bcc2ed09b5
Static analysis fix: bad release.
Ryan C. Gordon
2014-03-19 23:19:34 -04:00
a7b84069ec
Fix visualstudio build break introduced by changeset 8645
Andreas Schiffler
2014-03-19 21:48:32 -07:00
f018ca4694
Add input validation to SDL_getenv/SDL_setenv; update Stdlib testsuite; add Hints testsuite
Andreas Schiffler
2014-03-19 21:39:55 -07:00
6ca112739e
Minor comment cleanups in checker-buildbot.sh
Ryan C. Gordon
2014-03-19 22:43:30 -04:00
e84fc5a368
Static analysis fix: division by zero.
Ryan C. Gordon
2014-03-19 18:25:21 -04:00
546cb8901e
Static analysis fix: Value stored to '[bcd]' is never read.
Ryan C. Gordon
2014-03-19 16:55:38 -04:00
faaaf6c572
Static analysis fix: "Value stored to 'p' is never read"
Ryan C. Gordon
2014-03-19 16:52:26 -04:00
7b893acdc1
Don't overwrite SDL_dynapi.h in checker-buildbot.sh.
Ryan C. Gordon
2014-03-19 16:02:25 -04:00
055d5679a4
Make checker-buildbot.sh work just about anywhere Clang is installed.
Ryan C. Gordon
2014-03-19 15:25:27 -04:00
ff3f49f073
Reenable static builds for now with static analysis.
Ryan C. Gordon
2014-03-19 13:22:09 -04:00
7b7856252b
Buildbot static analysis script: use configure script instead of cmake.
Ryan C. Gordon
2014-03-19 03:29:14 -04:00
80bb859c31
Just build shared libraries for static analysis.
Ryan C. Gordon
2014-03-19 03:04:04 -04:00
f53d1669f6
Added a script to let buildslaves run Clang static analysis.
Ryan C. Gordon
2014-03-19 00:58:32 -04:00
18c9a4e96b
Fixed SDL_HapticNewEffect() failing on various DirectInput devices.
Ryan C. Gordon
2014-03-18 17:16:28 -04:00
2a2fb611d5
Fixed PS4 game controller config on Windows.
Ryan C. Gordon
2014-03-18 12:53:01 -04:00
978566a65b
Whitespace fix.
Ryan C. Gordon
2014-03-18 12:52:51 -04:00
1f45d4b614
controllermap: Don't treat SDL_HAT_CENTERED as a valid input.
Ryan C. Gordon
2014-03-18 12:33:57 -04:00
1496be6e4b
Fixed a build error in SDL_platform.h when using Code Blocks and MinGW
David Ludwig
2014-03-18 12:08:49 -04:00
7eaf899796
Fixed SDL_HapticOpenFromJoystick() with DirectInput devices.
Ryan C. Gordon
2014-03-17 19:11:18 -04:00
cf3ff16e94
Added tag release-2.0.3 for changeset d0af6b2f53ca
Sam Lantinga
2014-03-15 19:31:20 -07:00
d4f2f01580
Fixed iOS build
Sam Lantinga
2014-03-15 19:30:52 -07:00
a2e77a2470
Added tag release-2.0.3 for changeset 9ac15210f445
Sam Lantinga
2014-03-15 16:48:32 -07:00
adddf26964
Added a patch note for 2.0.3
Sam Lantinga
2014-03-15 16:43:58 -07:00
56b40ce046
Fixed bug 2450 - Crosscompiling for Win32 with MinGW fails due to WM_UNICHAR undeclared
Sam Lantinga
2014-03-15 16:32:45 -07:00
9245c93044
Only show the window if it's supposed to be shown.
Sam Lantinga
2014-03-15 16:27:06 -07:00
c663d731f1
Mac: Make sure window is still showing when we exit a fullscreen space.
Ryan C. Gordon
2014-03-15 15:35:15 -04:00
f25ee50b03
Fixed broken rotation detection routines on WinRT
David Ludwig
2014-03-15 14:54:23 -04:00
5281f9f1ea
Fixed a crash on Windows Phone 8 that occurred after rotating a device
David Ludwig
2014-03-15 13:27:18 -04:00
205266fa03
Fixed a build error when including WinRT's SDLmain file directly in an app
David Ludwig
2014-03-15 10:37:40 -04:00
26e8e387e1
Fixed Mac OS X window level when leaving fullscreen mode
Sam Lantinga
2014-03-14 18:06:09 -07:00
2216ab93dc
Added a missing file related to WinRT power management/reporting.
David Ludwig
2014-03-14 01:36:05 -04:00
f9a5896819
Added missing copyright notices
Sam Lantinga
2014-03-13 21:21:26 -07:00
ed02f61da1
Fixed the copyright date on files contributed by David Ludwig
Sam Lantinga
2014-03-13 00:40:08 -07:00
7124034ba9
Windows XP toolchain fix from Bruce Dawson: Fix to allow using SDL when compiling with v110_xp or v120_xp -- compiling with VS2012/VS2013 with the XP targeting option.
Sam Lantinga
2014-03-12 23:44:23 -07:00
646cdedb18
Fixed line endings (CRLF to LF) in WinRT source code
David Ludwig
2014-03-12 12:14:47 -04:00
4cd5ed7ba2
Merged various WinRT build fixes
David Ludwig
2014-03-12 12:12:20 -04:00
b68b6e23d1
Fixed various build and runtime errors when using WinRT with VS2012.
David Ludwig
2014-03-12 11:57:15 -04:00
c515b79423
Updated framework version to match dylib version. Actually the dylib compatibility version is 3.0.0, but don't break compatibility with previous frameworks, which were compatibility version 1.0.0
Sam Lantinga
2014-03-12 07:55:32 -07:00
641ba09975
Fixed compiling Windows RT code on Visual Studio 2013
Sam Lantinga
2014-03-12 07:26:07 -07:00
36e7c8d92d
Fixed compiler errors in the D3D11 renderer when building for WinRT
David Ludwig
2014-03-11 12:40:31 -04:00
ce3c5b842f
Made VS2012 build the D3D11 renderer
David Ludwig
2014-03-10 22:53:03 -04:00
b2fcdfca71
Disable Wayland/Mir again for 2.0.3; it's a quick, brown-paper-bag release.
Ryan C. Gordon
2014-03-11 10:33:51 -04:00
7a36070a95
Fix bug/add test coverage for SDLTest_GenerateRunSeed helper; improve test harness adding output of repro steps for failures; improve negative test for SDL_GetError/SDL_SetError
Andreas Schiffler
2014-03-11 07:17:56 -07:00
b677d1d883
Fixed Mac OS X OpenGL context creation to match other backends, where we only care about the actual version we request if it's 3.0 or newer or a special profile context. Eventually we'll probably move the version checking to higher level code and report the actual version of context that got created, but to avoid breakage we'll leave it like this for now.
Sam Lantinga
2014-03-10 19:59:06 -07:00
e99dc1f1bd
Fixed binary compatibility with the new Windows RT support
Sam Lantinga
2014-03-10 19:11:52 -07:00
7d98754a72
Temporarily disabled the D3D11 renderer so we can get a build.
Sam Lantinga
2014-03-10 19:11:50 -07:00
28398109a1
Fixed regression causing the renderer to recreate its window since it's not getting an OpenGL 2.1 context anymore.
Sam Lantinga
2014-03-10 18:45:07 -07:00
e8eb142748
build fixes for most WinRT-related files
David Ludwig
2014-03-10 21:21:35 -04:00
2c558ca24d
Fixed D3D9 initialization on Windows 8, which doesn't have D3DX
Sam Lantinga
2014-03-10 17:19:19 -07:00
9c2fb684af
Implemented fullscreen <-> windowed transition on Windows 8
Sam Lantinga
2014-03-10 15:00:59 -07:00
7e8b25534d
Fixed line endings
Sam Lantinga
2014-03-10 14:35:37 -07:00
3df586cef5
Fixed creating the rendering context on a specific device
Sam Lantinga
2014-03-10 12:49:15 -07:00
9aa5b1d457
Implemented YV12 and IYUV texture support for the D3D11 renderer
Sam Lantinga
2014-03-10 05:44:34 -07:00
cb7a408f47
testoverlay2 depends on SDL2, SDL2main, and SDL2test
Sam Lantinga
2014-03-10 05:37:25 -07:00
1e6ac69119
Added testoverlay2 to the Visual Studio 2013 solution
Sam Lantinga
2014-03-10 03:59:47 -07:00
965cdf10d4
Minor style tweaks
Sam Lantinga
2014-03-10 02:13:44 -07:00
1a35f32b68
Converted David Ludwig's D3D11 renderer to C and optimized it. The D3D11 renderer is now slightly faster than D3D9 on my Windows 8 machine (testsprite2 runs at 3400 FPS vs 3100 FPS) This will need tweaking to fix the Windows RT build.
Sam Lantinga
2014-03-10 01:51:03 -07:00
a8f540fe4a
Fixed renderer flags to include support for target textures after the renderer is created.
Sam Lantinga
2014-03-09 22:48:38 -07:00
8c7ee701a1
Removed unused variable.
Ryan C. Gordon
2014-03-10 00:48:41 -04:00
8d2dcbc1b7
Updated WinCE readme to note WinRT work.
Ryan C. Gordon
2014-03-10 00:31:31 -04:00
ea333d2e6b
Turn off Mir support in the buildbot Raspberry Pi script.
Ryan C. Gordon
2014-03-10 00:26:40 -04:00
89648a9a3c
Drop the default requested OpenGL version to 1.2.
Ryan C. Gordon
2014-03-10 00:01:14 -04:00