d01ad02be7
Hook up SDL_acos and SDL_asin properly.
Ryan C. Gordon
2013-12-09 15:17:20 -05:00
5e656f8950
Associate the environment with any thread that calls Android_JNI_GetEnv(), in case it's been manually created with pthread_create() or C++11.
Sam Lantinga
2013-12-07 11:19:52 -08:00
44afc2a305
Fixed crash if no window has keyboard focus
Sam Lantinga
2013-12-06 16:12:18 -08:00
4ab350d4f2
Fixed detecting the wired XBox 360 controller on Linux Also added some more debug output to detect issues
Sam Lantinga
2013-12-06 09:13:31 -08:00
c78476dadc
Fixed compiler warning on Visual Studio
Sam Lantinga
2013-12-06 08:24:00 -08:00
fc78e98221
Added missing header for file IO
Sam Lantinga
2013-12-05 09:54:22 -08:00
7afb76824e
Added code missed in the resolve
Sam Lantinga
2013-12-05 09:29:04 -08:00
43825e275a
Clean up the cursor clipping area when quitting SDL. This fixes the cursor being clipped after the streaming client quits when streaming Dungeons of Dredmor
Sam Lantinga
2013-12-05 09:14:56 -08:00
77d2d55e1e
[Android] Handle native thread finishing when not commanded from the Java side
Gabriel Jacobo
2013-12-05 10:51:38 -03:00
6c495a806a
[Android] Signal the resume semaphore after pushing the relevant events
Gabriel Jacobo
2013-12-03 12:09:58 -03:00
5ac1813451
Adds SDL_GameControllerAddMappingsFromRW, updates controllermap
Gabriel Jacobo
2013-12-03 12:01:28 -03:00
013d99823d
Fixed error return value in SDL_EGL_CreateSurface(), thanks to Mike Kasprzak
Sam Lantinga
2013-12-02 23:54:35 -08:00
d0d07decc1
Adding WhatsNew.txt changes
Gabriel Jacobo
2013-12-02 19:51:48 -03:00
95ec90aa8a
Adds controllermap utility to test suite.
Gabriel Jacobo
2013-12-02 19:35:04 -03:00
45ae148aef
Adds SDL_GameControllerAddMappingsFromFile
Gabriel Jacobo
2013-12-02 19:34:08 -03:00
7d9e42f28c
Select EGL config when creating the EGL surface
Gabriel Jacobo
2013-12-02 10:08:57 -03:00
f848adff5f
Improve Android pause/resume behavior.
Gabriel Jacobo
2013-11-29 10:06:08 -03:00
c933166401
Fixed bug 2258 - Crash when using Android clipboard
Philipp Wiesemann
2013-11-23 23:38:16 +01:00
e9af6dcd93
Fixed a few public APIs that we accidentally neglected to mark as SDLCALL.
Ryan C. Gordon
2013-11-23 15:52:49 -05:00
5aa702fe74
Removed second return statement.
Philipp Wiesemann
2013-11-23 18:37:36 +01:00
01acbd389b
Fixed spaces in license comment.
Philipp Wiesemann
2013-11-23 18:34:27 +01:00
2aa4974bf9
Removed include of no more needed header.
Philipp Wiesemann
2013-11-23 18:29:36 +01:00
7a18a6747b
[Android] Fixes#2264, handle joystick open/closed state properly
Gabriel Jacobo
2013-11-23 09:47:25 -03:00
a3bb007ee5
Fixed double-free of the window shape path
Sam Lantinga
2013-11-23 02:02:29 -08:00
4abeed93c7
Fixes compilation on Mingw.
Gabriel Jacobo
2013-11-22 14:19:52 -03:00
61959aa67b
OpenGL ES support for Windows
Gabriel Jacobo
2013-11-22 13:24:53 -03:00
45dbff2ee4
[Android] Fixes#2247, enable hardware acceleration by default.
Gabriel Jacobo
2013-11-22 10:26:28 -03:00
a218717111
Query version for X11 XInput2 multitouch separately from base XInput2.
Ryan C. Gordon
2013-11-20 21:17:26 -05:00
9095952ac4
Clean up X11 OpenGL ES backend
Gabriel Jacobo
2013-11-20 12:51:18 -03:00
2f30140418
Fixed SONAME lookup for runtime loading of shared libraries in CMake project.
Ryan C. Gordon
2013-11-19 15:25:00 -05:00
825a68983a
-fvisibility=hidden is no longer a requirement for dynamic X11.
Ryan C. Gordon
2013-11-19 15:00:39 -05:00
131a072503
Find the best EGL config available between those returned by eglChooseConfig
Gabriel Jacobo
2013-11-19 11:04:05 -03:00
47139fb3eb
Adds testgles2
Gabriel Jacobo
2013-11-19 10:56:38 -03:00
fdfea4ad1f
[Android] Try to improve handling of DPAD|GAMEPAD + KEYBOARD devices
Gabriel Jacobo
2013-11-19 10:00:05 -03:00
48954ba194
Accidentally committed debug code
Sam Lantinga
2013-11-18 20:22:36 -08:00
d75498f6be
Textures need to be freed before renderers
Sam Lantinga
2013-11-18 20:21:45 -08:00
48cffe33f9
Added missing resource release in test source.
Philipp Wiesemann
2013-11-18 23:45:46 +01:00
3cba79970c
Fixed unreachable return statement warning in gamecontroller source.
Philipp Wiesemann
2013-11-18 23:43:15 +01:00
b5c6811108
Fixed implicit function declaration warning in joystick source for Android.
Philipp Wiesemann
2013-11-18 23:38:59 +01:00
2f6198edb6
Fixes building for RPi using --no-undefined
Gabriel Jacobo
2013-11-17 11:07:55 -03:00
ec080ff892
Restore evdev sources to configure script
Gabriel Jacobo
2013-11-17 10:41:16 -03:00
9dd923fb9a
When the mouse is grabbed it's constrained to the client area, not the window frame.
Sam Lantinga
2013-11-16 21:19:16 -08:00
e4146267fa
Fixed bug 2245 - add SDL_acos and SDL_asin
Sam Lantinga
2013-11-16 18:56:02 -08:00
923709a699
Turn off --no-undefined on OpenBSD again. Leave it on everywhere else for now.
Ryan C. Gordon
2013-11-16 21:52:56 -05:00
5a68214b7a
Fixed bug 2232 - Version Mismatch in VS2013 Solution File
Sam Lantinga
2013-11-16 12:11:19 -08:00
8acec42a06
Fixed up configure so it doesn't reference input/evdev anymore
Sam Lantinga
2013-11-16 12:04:00 -08:00
4e1ee55739
Fixed bug 2231 - Move src/input/evdev into src/core/linux
Sam Lantinga
2013-11-16 12:02:09 -08:00
744cd465e1
Fixed bug 2238 - Enable GCC atomics for clang
Sam Lantinga
2013-11-16 11:58:21 -08:00
3b52058f6c
Fixed bug 2241 - SSE intrinsic in fillrect MMX path
Sam Lantinga
2013-11-16 11:54:16 -08:00
517747d536
Added information on reporting bugs to the README.txt file
Sam Lantinga
2013-11-16 10:27:46 -08:00
104ceb864a
Fixed compile warning, thanks to Michael Pohoreski
Sam Lantinga
2013-11-16 10:25:46 -08:00
8093cfd8ce
Better fix for bug 2207 - SDL_RenderSetViewport behavior is different/incorrect on OpenGL renderer vs DirectX renderer At least, it works better here on my Mac. :)
Sam Lantinga
2013-11-15 22:07:35 -08:00
44959a21ef
Added viewport test, contributed by Andreas Schiffler and improved by me and Ryan Gordon. If it works correctly you should see a square moving from the upper left to the lower right, with a little yellow box at the top of the moving square.
Sam Lantinga
2013-11-15 22:05:26 -08:00
30f7e86882
Added space in the common state structure for render targets
Sam Lantinga
2013-11-15 22:01:58 -08:00
4f39f0115b
Fix viewport being upside down in OpenGL renderer.
Ryan C. Gordon
2013-11-15 23:20:50 -05:00
4295a92f97
Fixed bug 2240 - On OS/X after calling SDL_SetWindowBordered right mouse clicks no longer register
Sam Lantinga
2013-11-14 22:26:49 -08:00
ef97aab9cf
Backed out changeset 6c59f7c8ec17 - it didn't actually do anything useful
Sam Lantinga
2013-11-14 21:39:54 -08:00
346ebbb47e
Turning --no-undefined back on, to see what platforms are still broken.
Ryan C. Gordon
2013-11-14 20:24:15 -05:00
b2f8b351d4
Fixed comment typo.
Ryan C. Gordon
2013-11-14 20:24:40 -05:00
35915d4f99
Clean up the EGL related video backends (X11, Android, RPi)
Gabriel Jacobo
2013-11-14 20:14:02 -03:00
a4a7c78ce8
Apparently Haiku is removing /boot/common (thanks, scottmc!).
Ryan C. Gordon
2013-11-14 14:45:00 -05:00
e899f0c4e0
Haiku: fixed uninitialized variable.
Ryan C. Gordon
2013-11-14 14:42:20 -05:00
f9f064d533
merged with repo
Apoorv Upreti
2013-11-14 22:35:28 +05:30
00003e8c00
Renamed things named after BeOS to be named after Haiku instead.
Ryan C. Gordon
2013-11-14 11:51:24 -05:00
1c138785d7
Fixed visualtest build on VS2012 SDL2, SDL2main and SDL2test had to be added as dependencies to the testquit project to get it to build properly.
Apoorv Upreti
2013-11-14 22:19:07 +05:30
85dd689ff9
Adds joystick/udev troubleshooting information to README-linux.txt
Gabriel Jacobo
2013-11-14 10:19:07 -03:00
dd325b9762
Patched to compile on Haiku.
Ryan C. Gordon
2013-11-14 01:00:08 -05:00
8d6e03f353
Added SDL_DetachThread() API.
Ryan C. Gordon
2013-11-14 00:52:39 -05:00
7550ddcc05
Started BeOS removal: merged BeOS thread and pthread code.
Ryan C. Gordon
2013-11-13 22:35:26 -05:00
b36d98bd9c
Diagonal flipping with RenderCopyEx
Sam Lantinga
2013-11-13 21:50:59 -08:00
5b8b403e3e
[Windows] Fixes bug #1555, handle ALT+F4 on Windows
Gabriel Jacobo
2013-11-13 11:18:37 -03:00
f8e1d350a4
Updated androidbuild.sh to enable parallel builds and ndk-build parameters
Gabriel Jacobo
2013-11-13 09:41:21 -03:00
ad4ba2d572
Added a few notes from Ryan's email to README-linux.txt
Gabriel Jacobo
2013-11-12 11:31:13 -03:00
bcece01c6c
Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo
2013-11-12 11:28:42 -03:00
397f5a850d
Retain the high dpi flag when recreating the window (e.g when creating a renderer context)
Sam Lantinga
2013-11-12 02:18:52 -08:00
12961352d3
Fixed build error with SDK < 10.7
Sam Lantinga
2013-11-12 02:04:12 -08:00
253b9ba815
We still want to generally minimize on focus loss, but not when we're in a fullscreen space on Mac OS X.
Sam Lantinga
2013-11-12 02:02:12 -08:00
75145ea023
Added a hint SDL_HINT_VIDEO_FULLSCREEN_SPACES to specify that windows go fullscreen into their own spaces on Mac OS X.
Sam Lantinga
2013-11-12 01:52:54 -08:00
5f8a0b18d3
Fullscreen space naming cleanup to avoid confusion with normal fullscreen mode
Sam Lantinga
2013-11-12 00:32:29 -08:00
7459b159e0
Made sure the window had the correct border when manually being brought back from fullscreen mode.
Sam Lantinga
2013-11-11 23:42:43 -08:00
cb190b8270
Fixed assertion when quickly toggling from fullscreen back to fullscreen: "Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'backgroundWindows not nil in enterFullScreenTransitionWithOptions:animated:activatingIt:'"
Sam Lantinga
2013-11-11 22:43:05 -08:00
8f8070db42
Fixed window resizing when entering and leaving fullscreen mode
Sam Lantinga
2013-11-11 21:38:11 -08:00
7cf76ffbe0
Fixed assertion failure when minimizing a fullscreen window.
Sam Lantinga
2013-11-11 21:21:18 -08:00
75a23d99a5
Fixed bug 2212 - SDL_SetTextInputRect has no effect on iOS
Sam Lantinga
2013-11-11 20:51:19 -08:00
cb31a80d82
Properly handle toggling fullscreen state when another fullscreen state change is in progress.
Sam Lantinga
2013-11-11 20:42:59 -08:00
819148a844
[X11] Fix up compilation when EGL headers are not present.
Gabriel Jacobo
2013-11-11 19:17:32 -03:00
04afd61cd9
[Android] Try to improve handling of some dpad+gamepad+keyboard corner cases
Gabriel Jacobo
2013-11-11 11:12:43 -03:00
6dbed827a7
[Android] Fixes Bug 2031 - Backspace Not Sending Events From On-Screen Keyboard
Gabriel Jacobo
2013-11-11 10:59:15 -03:00
d37bad52b1
[Android] Improve handling of keyboard, dpad and gamepad events
Gabriel Jacobo
2013-11-11 10:49:48 -03:00
45a88b6ade
[Android] Fixes bug 2217, better joystick axes handling on Android.
Gabriel Jacobo
2013-11-11 10:15:35 -03:00
f0692d656f
Fixed compiling with older Mac OS X SDK
Sam Lantinga
2013-11-11 03:29:11 -08:00
2384ad5b9e
Fixed compiling with ISO C90
Sam Lantinga
2013-11-11 03:12:50 -08:00
2ceeb74e25
Don't minimize by default when in fullscreen desktop mode. This fixes behavior with the new Mac OS X fullscreen space code, as well as improve behavior on Linux desktops. The default for normal fullscreen mode is still to minimize because we're likely doing a mode switch and don't want to stick around as a borderless window in the background.
Sam Lantinga
2013-11-11 03:02:42 -08:00
4c1322f693
Added support for new style fullscreen transitions on Mac OS X
Sam Lantinga
2013-11-11 02:53:00 -08:00
2b93fa0892
Turn off resizable flag by default, you can always pass the --resize command line option if you need it.
Sam Lantinga
2013-11-11 02:00:58 -08:00
6ec3e69045
Fixed whitespace style
Sam Lantinga
2013-11-11 01:59:40 -08:00
77a0d3fe2a
Toggling fullscreen now takes fullscreen flags
Sam Lantinga
2013-11-11 01:59:20 -08:00
893afbaf3b
Fixed pool memory leak
Sam Lantinga
2013-11-10 19:19:44 -08:00
b30e396ba1
Fixed bug 1965 - Mac: dead code for supporting OS 10.4
Sam Lantinga
2013-11-10 17:56:07 -08:00
5821466c05
Fixed bug 2176 - SDL_CreateWindow(w=INT_MAX, h=INT_MAX) causes program to hang
Sam Lantinga
2013-11-10 17:40:35 -08:00