d870f2719b
Fixed bug 3320 - SDL_windows_main.c defines both console application entry points
Sam Lantinga
2016-10-01 12:31:31 -07:00
2cbe9e2b77
Fixed bug 3322 - Missing error checking in testaudioinfo and testaudiohotplug
Sam Lantinga
2016-10-01 12:29:55 -07:00
6f11545a2d
Fixed bug 3323 - SDL_LogOutput prints message twice on Windows when linked with libc
Sam Lantinga
2016-10-01 12:28:05 -07:00
0b576962ca
Reset dead keys when the SDL window loses focus, so dead keys pressed in SDL applications don't affect text input into other applications.
Sam Lantinga
2016-10-01 12:17:42 -07:00
1e6e595484
Fixed bug 3332 - Win32: reset deadkeys in StartTextInput/StopTextInput
Sam Lantinga
2016-10-01 11:54:02 -07:00
708def87f3
Fixed bug 3338 - console_wmain doesn't null terminate the argv array
Sam Lantinga
2016-10-01 11:48:15 -07:00
77305d47c2
Fixed bug 3345 - SDL_RenderClear inconsistency with ClipRect
Sam Lantinga
2016-10-01 11:46:32 -07:00
89c868f4f8
Fixed bug 3347 - OpenGL ES renderer doesn't flip projection matrix for target textures
Sam Lantinga
2016-10-01 11:40:57 -07:00
061cc5e75f
Fixed bug 3349 - GLES2_RenderReadPixels doesn't use target texture format
Sam Lantinga
2016-10-01 11:38:53 -07:00
51d6371ec1
Fixed bug 3350 - GL renderers don't need to flip rows after reading back pixels from the target texture
Sam Lantinga
2016-10-01 11:34:04 -07:00
9fff05f8d6
Fixed bug 3352 - Adding alpha mask support to SDL_SaveBMP_RW
Sam Lantinga
2016-10-01 11:29:13 -07:00
53e22e4be8
Only use GCC pragmas when we're building with GCC
Sam Lantinga
2016-10-01 11:22:39 -07:00
a42c396a57
Fixed bug 3361 - Texture color modulation doesn't work with active NONE blend mode (opengl and opengles)
Sam Lantinga
2016-10-01 11:04:45 -07:00
3f1b1629c4
Fixed bug 3362 - OpenGL renderer doesn't check if framebuffers are supported when creating target textures
Sam Lantinga
2016-10-01 10:52:24 -07:00
fd1d692bef
Fixed bug 3368 - SDL_Blit_Slow doesn't ignore alpha values in colorkey comparison
Sam Lantinga
2016-10-01 10:46:10 -07:00
2ccb46cebc
Fixed bug 3373 - OpenGL implementation differences of glDrawTexfOES
Sam Lantinga
2016-10-01 10:43:01 -07:00
ca8ef2b73f
Fix running autogen.sh out-of-tree As done in GNOME's jhbuild building tool.
Bastien Nocera
2016-10-01 10:39:03 -07:00
9dfe54006e
We should be using a string constant for the strftime format string
Sam Lantinga
2016-10-01 10:38:15 -07:00
7edd2261e7
Fix "format not a string literal" errors With GCC 6.1.
Bastien Nocera
2016-10-01 10:36:24 -07:00
461336a23e
Add gamecontrollerdb lines for SFC30 controller in various modes
Jonathan Dowland
2016-07-01 16:47:27 +01:00
8f17b20388
Commit KEYCODE_SPACE as text input on Android
Cole Campbell
2016-07-04 10:39:32 -04:00
b7e45f8a1a
Fixed bug 3336 - Failure to build with MinGW-w64
Sam Lantinga
2016-10-01 10:28:00 -07:00
9f854cdbe0
Fixed bug 3388 - Fail to build src/thread/windows/SDL_systhread.c on MinGW 4.9.3
Sam Lantinga
2016-10-01 10:08:34 -07:00
c2cb0b0ff4
iOS: Removed unused constant in demo.
Philipp Wiesemann
2016-09-30 23:31:24 +02:00
7b23eef3b0
Fixed crash if allocating memory for mouse clicks failed.
Philipp Wiesemann
2016-09-30 23:30:54 +02:00
e64c5186e2
windows: Removed hardcoded "1" for mouse clickthrough hint.
Ryan C. Gordon
2016-09-29 23:42:18 -04:00
f10db4071d
haiku: Patched to compile.
Ryan C. Gordon
2016-09-29 23:15:56 -04:00
f2fcd324c5
windows: fix borderless windows at desktop resolution (thanks, Evgeny!).
Ryan C. Gordon
2016-09-29 23:12:58 -04:00
b2510d9cbc
x11: fixed incorrect SDL_GetWindowPosition() after resize (thanks, Jason!).
Ryan C. Gordon
2016-09-29 23:01:43 -04:00
4f4c4b629f
Added SDL_SetWindowResizable(). (thanks, Ethan!)
Ryan C. Gordon
2016-09-29 22:52:41 -04:00
257c89727a
Fixed bug 3426 - Fixes for joystick related issues
Sam Lantinga
2016-09-29 16:52:48 -07:00
5f2e83a955
Fixed bug 3429 - Update AM_PATH_SDL2() to also check for SDL2.framework
Sam Lantinga
2016-09-29 16:37:08 -07:00
f1e0b9af20
Added debug output for new window events
Sam Lantinga
2016-09-29 16:10:08 -07:00
67bdbcca44
Implemented SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH on X11
Sam Lantinga
2016-09-29 16:05:29 -07:00
d285af2a96
Added Windows support for SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH
Sam Lantinga
2016-09-29 14:48:33 -07:00
a13da2faa7
Generalized the hint for whether the application gets a mouse event when clicking on the window to activate it, and is now named SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH. The behavior is defined to not receive the click event, and this hint allows you to override that.
Sam Lantinga
2016-09-29 13:34:49 -07:00
8ddb4328b5
When clicking on a window to give it focus, don't pass the mouse click to the application.
Sam Lantinga
2016-09-29 03:59:04 -07:00
f33c58b004
Updated Linux notes on building with Mir and Wayland support.
Ryan C. Gordon
2016-09-29 12:04:07 -04:00
e45698d218
Updated version to 2.0.5 in preparation for release
Sam Lantinga
2016-09-28 22:24:01 -07:00
f89857f1c2
Updated configure script.
Philipp Wiesemann
2016-09-26 23:09:34 +02:00
357c3dd746
iOS: Updated comment in demo.
Philipp Wiesemann
2016-09-26 23:09:19 +02:00
f31c7086d8
Enable SDL_LoadObject on iOS 8+ and tvOS.
Alex Szpakowski
2016-09-25 15:02:06 -03:00
77bacfd72d
tvOS launch images are now properly supported.
Alex Szpakowski
2016-09-25 11:46:25 -03:00
a8b033d7c4
Update the code for the iOS demos to handle modern devices. Fixes bug #3337
Alex Szpakowski
2016-09-25 00:23:35 -03:00
40ecac8e60
Don't try to load a launch storyboard on tvOS (it doesn't use them).
Alex Szpakowski
2016-09-25 00:21:12 -03:00
666d3fecc8
iOS/tvOS: Try to load the launch screen as a storyboard. Xcode 8 compiles it as a storyboard instead of a nib.
Alex Szpakowski
2016-09-24 23:33:49 -03:00
9165ba7ebd
iOS/tvOS: Always send SDL_WINDOWEVENT_FOCUS_GAINED when a window is created on the main screen (fixes bug #3395).
Alex Szpakowski
2016-09-24 20:12:57 -03:00
450fa8cdf9
Use OS-provided click counts on macOS and iOS for mouse press and release events.
Alex Szpakowski
2016-09-24 18:46:34 -03:00
bac5394127
Fix mouse wheel events on macOS 10.12 (thanks Eric Wasylishen!)
Alex Szpakowski
2016-09-24 13:28:40 -03:00
89c538a4e3
Mir: Add gamma support set/get. Still need one more function to complete the set
Brandon Schaefer
2016-09-21 18:23:59 -07:00
a729c4f97a
Mir: Add fixme (waiting for a public api to be added)
Brandon Schaefer
2016-09-21 16:28:23 -07:00
705ecf78f5
[Mir] Move to the new MirDisplayConfig API
Brandon Schaefer
2016-09-21 15:57:15 -07:00
fc469f6f27
Mac: Fixed markdown formatting in README.
Philipp Wiesemann
2016-09-21 23:07:08 +02:00
8e88f08150
Mac: Fixed whitespace around function return type.
Philipp Wiesemann
2016-09-21 23:06:49 +02:00
929b965c62
Fixed compiling of three test programs with C++.
Philipp Wiesemann
2016-09-21 23:06:38 +02:00
85588ea040
Android: Fixed two warnings about unused variables.
Philipp Wiesemann
2016-09-21 23:06:26 +02:00
f0fca2880f
Handle audio interruptions on iOS/tvOS. Fixes bugs 2569 and 2960.
Alex Szpakowski
2016-09-18 19:22:09 -03:00
8f8f225b3f
Xcode/mac: fix building standalone static and shared libraries.
Ryan C. Gordon
2016-09-18 18:19:32 -04:00
06700a905b
emscripten: get even more aggressive about audio device closing.
Ryan C. Gordon
2016-09-18 18:07:47 -04:00
b7818d7124
Recommended settings from Xcode 7.3.0
Sam Lantinga
2016-09-16 22:28:12 -07:00
29214826ec
Fixed warning with Xcode 7.3.0
Sam Lantinga
2016-09-16 22:27:58 -07:00
459102a5c0
Updated URL in a comment
Alex Szpakowski
2016-09-17 01:36:29 -03:00
a96b6f2104
Added a new hint SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION.
Alex Szpakowski
2016-09-17 01:31:07 -03:00
4bcce330d1
tvOS: Add drop-file support
Alex Szpakowski
2016-09-15 21:49:29 -03:00
e5070d20ee
Fixed set of libraries needed to build on Mac OS X
Sam Lantinga
2016-09-15 08:57:56 -07:00
93d42e2d3e
Hopefully fixed the cmake build on Mac OS X
Sam Lantinga
2016-09-15 08:46:14 -07:00
8c01d5886c
Fixed building new coreaudio driver on Mac OS X
Sam Lantinga
2016-09-15 08:29:20 -07:00
4209a1fd4c
CoreAudio iOS/tvOS: Use AVFoundation instead of AudioSession. Fixes audio on tvOS.
Alex Szpakowski
2016-09-15 19:59:57 -03:00
dbe2997ac0
Fixed building for both iOS and tvOS on Xcode 8
Sam Lantinga
2016-09-14 08:45:35 -07:00
7f28853b89
Fixed including OpenGL ES on iOS without any other SDL headers
Sam Lantinga
2016-09-14 08:20:24 -07:00
d0898b38fc
Allow targeting tvOS
Sam Lantinga
2016-09-14 07:09:35 -07:00
86d4b09914
Fixed spacing
Sam Lantinga
2016-09-13 18:44:28 -07:00
925859aaa6
Fixed accidental call to SDL_PrivateJoystickHat()
Sam Lantinga
2016-09-13 18:43:55 -07:00
f050576665
Initial Apple TV / tvOS support.
Alex Szpakowski
2016-09-13 22:18:06 -03:00
86708c3cd8
Enable more compiler warnings in the Xcode projects (based on Xcode 8's suggestion), made some integer downcasts explicit.
Alex Szpakowski
2016-09-13 19:51:10 -03:00
00791f3a87
Only prevent the default browser event handling when the specific event types aren't disabled by the user, patch contributed by Jonas Platte
Sam Lantinga
2016-09-13 00:09:21 -07:00
993dd83510
Add mapping for media keys
Charlie Birks
2016-09-13 00:04:00 -07:00
1b6565fcb7
use Module.createContext for 2D rendering in emscripten
Alon Zakai
2016-09-13 00:03:59 -07:00
bec5573476
add some detail to fullscreen workaround comment; version 6
Alon Zakai
2016-09-13 00:03:58 -07:00
405d64b207
only unset fullscreen flags if fullscreen failed
Charlie Birks
2016-09-13 00:03:56 -07:00
c68cac89df
use screen resolution instead of canvas size
Charlie Birks
2016-09-13 00:03:55 -07:00
791b946a42
Fix full screen mode in Firefox, which was broken by 9d4beb2
Boris Gjenero
2016-09-13 00:03:54 -07:00
b71208d452
Support SDL_SetWindowTitle() via Module['setWindowTitle']()
Boris Gjenero
2016-09-13 00:03:53 -07:00
7cf44f1b4a
Remove unused variable warning from Emscripten build in Emscripten_HandleFullscreenChange().
Jukka Jyl?nki
2016-09-13 00:03:51 -07:00
264e996e0f
Fix CMake CMAKE_REQUIRED_FLAGS handling to preserve existing CMake flags required by Emscripten toolchain.
Jukka Jyl?nki
2016-09-13 00:03:50 -07:00
b54eb82c67
Unpress all keys on blur to avoid stuck keys
Boris Gjenero
2016-09-13 00:03:49 -07:00
a0a75f384f
Listen for blur and focus events on window instead of canvas
Boris Gjenero
2016-09-13 00:03:48 -07:00
3e5c4cec94
Mouse events use CSS coordinates, so don't scale by pixel_ratio
Boris Gjenero
2016-09-13 00:03:46 -07:00
a20c40c494
Accumulate subpixel mouse motion so motion is not lost.
Boris Gjenero
2016-09-13 00:03:45 -07:00
443998ff33
Fix of mouse events in browser without pointer locks
TelpeNight
2016-09-13 00:03:44 -07:00