Ryan C. Gordon
ee85553e33
Updated Linux notes on building with Mir and Wayland support.
2016-09-29 12:04:07 -04:00
Sam Lantinga
79485875b5
Updated version to 2.0.5 in preparation for release
2016-09-28 22:24:01 -07:00
Philipp Wiesemann
bd1799c67f
Updated configure script.
2016-09-26 23:09:34 +02:00
Philipp Wiesemann
c6bf0b860a
iOS: Updated comment in demo.
2016-09-26 23:09:19 +02:00
Alex Szpakowski
ef9bde21c8
Enable SDL_LoadObject on iOS 8+ and tvOS.
2016-09-25 15:02:06 -03:00
Alex Szpakowski
d7b455f987
tvOS launch images are now properly supported.
2016-09-25 11:46:25 -03:00
Alex Szpakowski
448940e133
Update the code for the iOS demos to handle modern devices. Fixes bug #3337
2016-09-25 00:23:35 -03:00
Alex Szpakowski
d3410d304c
Don't try to load a launch storyboard on tvOS (it doesn't use them).
2016-09-25 00:21:12 -03:00
Alex Szpakowski
1b8e2f31be
iOS/tvOS: Try to load the launch screen as a storyboard. Xcode 8 compiles it as a storyboard instead of a nib.
2016-09-24 23:33:49 -03:00
Alex Szpakowski
2e80731ac4
iOS/tvOS: Always send SDL_WINDOWEVENT_FOCUS_GAINED when a window is created on the main screen (fixes bug #3395 ).
2016-09-24 20:12:57 -03:00
Alex Szpakowski
053c6decab
Use OS-provided click counts on macOS and iOS for mouse press and release events.
2016-09-24 18:46:34 -03:00
Alex Szpakowski
9ec0713e72
Fix mouse wheel events on macOS 10.12 (thanks Eric Wasylishen!)
...
Fixes bug #3432
2016-09-24 13:28:40 -03:00
Brandon Schaefer
9a227e9976
Mir: Add gamma support set/get. Still need one more function to complete the set
2016-09-21 18:23:59 -07:00
Brandon Schaefer
4f622562df
Mir: Add fixme (waiting for a public api to be added)
2016-09-21 16:28:23 -07:00
Brandon Schaefer
e2434a9b73
[Mir] Move to the new MirDisplayConfig API
2016-09-21 15:57:15 -07:00
Philipp Wiesemann
546554a3f1
Mac: Fixed markdown formatting in README.
...
The newlines were lost in doxygen output.
2016-09-21 23:07:08 +02:00
Philipp Wiesemann
42f3ecb5d5
Mac: Fixed whitespace around function return type.
2016-09-21 23:06:49 +02:00
Philipp Wiesemann
0f1075b48e
Fixed compiling of three test programs with C++.
2016-09-21 23:06:38 +02:00
Philipp Wiesemann
7cbbd89bb3
Android: Fixed two warnings about unused variables.
2016-09-21 23:06:26 +02:00
Alex Szpakowski
cac05aa410
Handle audio interruptions on iOS/tvOS. Fixes bugs 2569 and 2960.
2016-09-18 19:22:09 -03:00
Ryan C. Gordon
0378b1263e
Xcode/mac: fix building standalone static and shared libraries.
2016-09-18 18:19:32 -04:00
Ryan C. Gordon
597bf224a1
emscripten: get even more aggressive about audio device closing.
...
I still get exceptions thrown sometimes on shutdown without this.
--HG--
extra : rebase_source : 6f1a4c742a186e29b540fde244b95f4a51c7e4e9
2016-09-18 18:07:47 -04:00
Sam Lantinga
d2cb290156
Recommended settings from Xcode 7.3.0
2016-09-16 22:28:12 -07:00
Sam Lantinga
9b769a983d
Fixed warning with Xcode 7.3.0
2016-09-16 22:27:58 -07:00
Alex Szpakowski
bc55781bff
Updated URL in a comment
2016-09-17 01:36:29 -03:00
Alex Szpakowski
3a2d9cee43
Added a new hint SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION.
...
When set to "1", the orientation of the Apple TV remote affects the axes of the corresponding SDL joystick. It is "0" (disabled) by default.
2016-09-17 01:31:07 -03:00
Alex Szpakowski
5160ba4a21
tvOS: Add drop-file support
2016-09-15 21:49:29 -03:00
Sam Lantinga
8d2e2aad1d
Fixed set of libraries needed to build on Mac OS X
2016-09-15 08:57:56 -07:00
Sam Lantinga
ed62fd26c8
Hopefully fixed the cmake build on Mac OS X
2016-09-15 08:46:14 -07:00
Sam Lantinga
1b61eae340
Fixed building new coreaudio driver on Mac OS X
2016-09-15 08:29:20 -07:00
Alex Szpakowski
a98de9e4f7
CoreAudio iOS/tvOS: Use AVFoundation instead of AudioSession. Fixes audio on tvOS.
...
Note that linking with AVFoundation is now required if you don't disable SDL_audio compilation on iOS and tvOS.
--HG--
rename : src/audio/coreaudio/SDL_coreaudio.c => src/audio/coreaudio/SDL_coreaudio.m
2016-09-15 19:59:57 -03:00
Sam Lantinga
d3f9978231
Fixed building for both iOS and tvOS on Xcode 8
2016-09-14 08:45:35 -07:00
Sam Lantinga
a1e419f3ad
Fixed including OpenGL ES on iOS without any other SDL headers
2016-09-14 08:20:24 -07:00
Sam Lantinga
2cbc2b95ec
Allow targeting tvOS
2016-09-14 07:09:35 -07:00
Sam Lantinga
dcc80b6128
Fixed spacing
2016-09-13 18:44:28 -07:00
Sam Lantinga
dcc8498733
Fixed accidental call to SDL_PrivateJoystickHat()
2016-09-13 18:43:55 -07:00
Alex Szpakowski
398a513d09
Initial Apple TV / tvOS support.
...
The Apple TV remote is currently exposed as a joystick with its touch surface treated as two axes. Key presses are also generated when its buttons and touch surface are used.
A new hint has been added to help deal with deciding whether to background the app when the remote's menu button is pressed: SDL_HINT_APPLE_TV_CONTROLLER_UI_EVENTS.
2016-09-13 22:18:06 -03:00
Alex Szpakowski
5935e90124
Enable more compiler warnings in the Xcode projects (based on Xcode 8's suggestion), made some integer downcasts explicit.
2016-09-13 19:51:10 -03:00
Sam Lantinga
f6a0ed861b
Only prevent the default browser event handling when the specific event types aren't disabled by the user, patch contributed by Jonas Platte
2016-09-13 00:09:21 -07:00
Charlie Birks
7e29f2ad53
Add mapping for media keys
2016-09-13 00:04:00 -07:00
Alon Zakai
a9c5c0a83a
use Module.createContext for 2D rendering in emscripten
2016-09-13 00:03:59 -07:00
Alon Zakai
87fcf49977
add some detail to fullscreen workaround comment; version 6
...
Conflicts:
version.txt
2016-09-13 00:03:58 -07:00
Charlie Birks
0666f33fcd
only unset fullscreen flags if fullscreen failed
2016-09-13 00:03:56 -07:00
Charlie Birks
8d7af3e24e
use screen resolution instead of canvas size
2016-09-13 00:03:55 -07:00
Boris Gjenero
1f6196f7ed
Fix full screen mode in Firefox, which was broken by 9d4beb2
2016-09-13 00:03:54 -07:00
Boris Gjenero
a45bf24aa2
Support SDL_SetWindowTitle() via Module['setWindowTitle']()
2016-09-13 00:03:53 -07:00
Jukka Jylänki
16ce3640ca
Remove unused variable warning from Emscripten build in Emscripten_HandleFullscreenChange().
2016-09-13 00:03:51 -07:00
Jukka Jylänki
115362770b
Fix CMake CMAKE_REQUIRED_FLAGS handling to preserve existing CMake flags required by Emscripten toolchain.
2016-09-13 00:03:50 -07:00
Boris Gjenero
467fa3d7da
Unpress all keys on blur to avoid stuck keys
2016-09-13 00:03:49 -07:00
Boris Gjenero
5220e32e77
Listen for blur and focus events on window instead of canvas
...
Blur and focus events were not arriving for the canvas in
Firefox 35 and Chrome 40.
2016-09-13 00:03:48 -07:00