Commit Graph

9869 Commits

Author SHA1 Message Date
error408
fb866a87fd
Update SpritePacker.cpp
to guarantee best results, either: "stbrp_init_target", the forth parameter need either:
     1. make sure 'num_nodes' >= 'width'
or  2. call stbrp_allow_out_of_mem() defined below with 'allow_out_of_mem = 1'
2019-09-19 16:15:41 +08:00
Yao Wei Tjong
a3270ab308
Merge pull request #2505 from Modanung/same-cursor-check 2019-09-16 09:54:38 +08:00
Modanung
5bec664bad Added check for setting cursor to current 2019-09-15 18:50:47 +02:00
Yao Wei Tjong 姚伟忠
61258e208f
Use C++11 std::isfinite() for portability. 2019-09-15 19:50:53 +08:00
1vanK
79573004ae Update Box2D 2019-09-15 14:46:08 +08:00
urho3d-travis-ci
e14c95bdbb Travis CI: source tree update at 2019-09-14 14:15:23 UTC. 2019-09-14 14:15:23 +00:00
Yao Wei Tjong 姚伟忠
2bcb0f1b2f
Remove the self-executable HTML shell-file hack.
Related to commit 9fd287bde6e4f6f6a5c39393603afc56c6b030cc.
Revert db908c2be5.
2019-09-14 16:33:58 +08:00
Yao Wei Tjong 姚伟忠
8f7d2454f7
For CI - temp workaround targetting 10.14 to avoid below linker error.
ld: weak import of symbol '____chkstk_darwin' not supported because of option: -no_weak_imports for architecture x86_64
2019-09-14 16:33:58 +08:00
Yao Wei Tjong 姚伟忠
7af427f31c
Fix build using AppleClang 11.0.0.
Related to commit 026f01fa10.
2019-09-14 16:33:29 +08:00
Yao Wei Tjong 姚伟忠
4a59b24863
For CI - switch to build using Xcode 11. 2019-09-14 16:33:02 +08:00
Yao Wei Tjong 姚伟忠
2e435159e9
Upgrade to SDL 2.0.10. 2019-09-14 16:31:34 +08:00
Yao Wei Tjong 姚伟忠
687839c8d9
For CI - avoid GNU option for 'xargs' that is not supported on Mac.
Just silently perform the commands without sending anything to error stream.
2019-09-14 16:28:42 +08:00
Yao Wei Tjong 姚伟忠
bcd8715e22
Add framework library to support HIDAPI. 2019-09-14 16:28:42 +08:00
Yao Wei Tjong 姚伟忠
6bc86793e7
For CI - use the '-A' option for VS. 2019-09-14 16:27:47 +08:00
Yao Wei Tjong 姚伟忠
6301140d91
For CI - use the upgraded build environment to get CMake 3.14+. 2019-09-14 16:27:26 +08:00
Yao Wei Tjong 姚伟忠
911bc14665
Use CMake and Ninja(-build) on the host/container. 2019-09-14 16:22:52 +08:00
Yao Wei Tjong 姚伟忠
34ea8b48bf
Bump license year for SDL and AS. 2019-09-14 16:22:52 +08:00
Yao Wei Tjong 姚伟忠
b772b553f4
Drop XAudio2 support. SDL uses WASAPI now. 2019-09-14 16:22:52 +08:00
Yao Wei Tjong 姚伟忠
4d2aefcb4a
Drop MIR support. SDL only supports X11 and Wayland now. 2019-09-14 16:22:51 +08:00
Yao Wei Tjong 姚伟忠
a80fd15f2f
Use '-ROLLING' instead of '-BETA' for the AAR. 2019-09-14 16:22:51 +08:00
Yao Wei Tjong
19ec541fed
For CI - use 'latest' DBE tag (api_level_17_21_28) for Android build. 2019-09-14 16:22:10 +08:00
Yao Wei Tjong 姚伟忠
66095e0e0d
Initial integration with SDL 2.0.10 (WIP) for Android platform. 2019-09-14 16:21:42 +08:00
Yao Wei Tjong 姚伟忠
9b1d683556
Initial integration with SDL 2.0.10 (WIP) for Web platform.
Additional credit to Bantukul Olarn for pointing out the offending bits.
2019-09-14 16:21:42 +08:00
Yao Wei Tjong 姚伟忠
a5ff38c430
For CI - use 'latest' DBE tag (emcc1.38.34) for Web build. 2019-09-14 16:21:03 +08:00
Yao Wei Tjong
22775cc626
For CI - avoid hard coding the repo SLUG. 2019-09-14 15:00:45 +08:00
Yao Wei Tjong 姚伟忠
b67f85a59e
Merge commit '8f27ab75ada3af10c4f222b6cecebbd16ef466ab' into upstream.master 2019-09-14 14:59:45 +08:00
Yao Wei Tjong 姚伟忠
8f27ab75ad Squashed 'Source/ThirdParty/SDL/' changes from cef9d9b1b8..2a597e9bc0
2a597e9bc0 Upgrade to SDL 2.0.10+ -- Sat 27 Jul 2019 10:53:52 PM +08.
REVERT: cef9d9b1b8 Another sweep for tvOS conditional code branch.
REVERT: 9911e0704e Initial work for porting Urho3D to AppleTV platform.
REVERT: 4d34be8cc2 Use no_weak_imports linker flag to ignore weak symbol during detection.
REVERT: c336d7325d Take advantage of CMAKE_SYSROOT available in the newer CMake. Use CMAKE_SYSROOT to manage the sysroot automatically when cross-compiling instead of adding the '--sysroot' flag manually everywhere. We only need to add it manually in places where CMake does not, like in our custom GCC/Clang response file for PCH. Differentiate between setting up header search path for system headers and for application headers so that GCC/Clang may suppress compilation warnings from the former, if any.
REVERT: 3a9d4e3cd4 Remove older constructs that have been earmarked previously.
REVERT: 20a61f41d4 Bake 'SDL_USE_IME' compiler define into SDL config header.
REVERT: 1e83860acc Realign SDL's CMakeLists.txt with the cherry-picked SDL commits. Those commits are mainly for fixing the keyboard input handling on RPI platform.
REVERT: bf26fe8c33 Travis CI: bump copyright to 2017. [ccache clear]
REVERT: a08d53b86c Set the default for SDL's VIDEO_MIR build option to FALSE. Related to issue #1714.
REVERT: cda9a7f265 Use auto-detection for clock_gettime() function on Apple platforms. Fix #1692 [ci only: OSX]
REVERT: 910233d194 Enable IME for Linux platform. Only tested using ibus.
REVERT: 5d99922c11 Add support for FCITX (an alternative IME to ibus).
REVERT: bc1d277c79 Fix #1681 for good. The ibus devel pacakge is optional once more.
REVERT: 9e45f6f960 Minor bug fixes.
REVERT: dde3740622 Fix Android build error due to declaration after statement (using GCC). Close #1690 [ci only: Android]
REVERT: a49e4dc4ff Quick fix for #1681 on Linux build, requires ibus-dev(el) package.
REVERT: 7f7aab2493 Integrate SDL's original CMakeLists.txt into Urho3D build system. This commit combines 19 previous commits made on top of SDL 2.0.4 release.
REVERT: b23f33efa5 Define WINVER in SDL_windowsjoystick.c if not defined. Related to #1629.
REVERT: ae834c8a64 Fix memory leak in SDL library.
REVERT: 3d530d1028 Disable the in_title_click data & focus_click_pending tests for SDL windows mouse warp, as it seems to lead into issues when regaining focus. Closes #1258.
REVERT: 132a4393ce Fixes code that is not compliant with the C89 standard when compiling with MSVC
REVERT: c7b15929b6 Reset SDL's internal in_title_click variable whenever a normal mouse up/down event is received. Fixes #1151.
REVERT: e52309c4e9 Parameterise the asset directory indicator character(s) using env-var.
REVERT: 9c7a45c3ea Add new JNI function to interface with AssetManager.list() method. Fix #855.
REVERT: 4ac21e1194 Fix red screen issue on affected Android devices models, e.g. S3.
REVERT: 4cba576099 Return a writable documents directory on iOS. Contributed by att.
REVERT: 1933e18009 Fix memory allocation for the resources directory on iOS.
REVERT: 01c7676048 Added functions to remove one recorded touch gesture, or all touch gestures.
REVERT: 84b593ffd2 Replace Char event with TextInput event for CJK IME support.
REVERT: 2af2a499c8 Gesture recording/load/save support and gesture events. SDL fixes to gesture events. Closes #304.
REVERT: ba53d7015c Android fixes. Bump required Android SDK required for compiling to 12 due to SDL joystick code. Removed the activity finish request code, as SDLActivity should now cleanly wait for the native thread to exit.
REVERT: 4ffaa89144 Merge SDL 2.0.3.
REVERT: 80ef80f4b0 Don't X error in SDL_CreateWindow with unsupported GL attributes
REVERT: fb2544ea5e Added Visual Studio solution files for WinRT projects
REVERT: c1427cdb32 Fixed bug 3901 - Fix vsync-ed pageflips on the KMSDRM video driver
REVERT: 14a98894c7 Fixed typo converting 4 channel audio to 2 channel
REVERT: 063e162d7d Added a note about adjusting channel weights when converting to fewer channels
REVERT: 24ef59e969 Document the SDL audio channel mapping
REVERT: 4a7f0378ce Added SDL_AudioStreamFlush() to the list of new audio stream functions
REVERT: ee92ece12a Reverted changes a970b2ae1bd7 and 4a94743e31fe I don't want to introduce any regressions with Android TV remote support
REVERT: a96285279b Fixed Android joystick detection
REVERT: 6656b81b42 audio: Added SDL_AudioStreamFlush().
REVERT: 9e88e62fac Don't use DPAD devices as joystick input on Android
REVERT: cbdd27d273 Check correct variable for malloc() results.
REVERT: dd27ac6305 Fixed bug 3876 - Resampling of certain sounds adds heavy distortion
REVERT: 8538f75119 Added a staging buffer to the audio stream so that we can accumulate small amounts of data if needed when resampling
REVERT: f36e701b48 Added audio stream conversion functions:     SDL_NewAudioStream     SDL_AudioStreamPut     SDL_AudioStreamGet     SDL_AudioStreamAvailable     SDL_AudioStreamClear     SDL_FreeAudioStream
REVERT: 1146cf3022 Fixed bug 3821 - Allow SDL_CreateWindow and SDL_CreateRenderer with OpenGL ES 3.0 (GLES3) for Angle (Windows)
REVERT: 38152d5f9c Fixed compiler warning on iOS
REVERT: e73a5f0dff Fixed bug 3890 - Incomplete fix for CVE-2017-2888
REVERT: fc917367af Added min/max macros for the sized SDL datatypes
REVERT: 65cba5bab4 Fixed bug 3883 - SDL_assert / SDL_PromptAssertion in TTY mode does not accept options ("abriA")
REVERT: 4418242860 Fixed bug 3882 - cmake fix for osx
REVERT: f803b34112 Android Studio code analyzer fixes
REVERT: 6b368f890b Fixed bug 3880 - X Error upon quit since rev. 11607
REVERT: fd1f3a8aef Fixed bug 3879 - add missing SDLCALL to SDLTest_TrackedMalloc & co.
REVERT: e8c14464e7 coreaudio: changed device close procedure to prevent long hangs in some cases.
REVERT: c78d61d079 Build both 32 and 64-bit architectures in the OSX Framework
REVERT: c750316a19 Fixed compiler warning
REVERT: c8fa5fcfd5 Use the lower-case hex output to match other stack trace printouts
REVERT: 8d0d3d0b73 Fixed compiler warning
REVERT: 706f28a04c Fixed bug 3877 - missing SDLCALL in SDLTest_ExampleHitTestCallback
REVERT: 28cbe2df82 Android doesn't have libunwind.h in API 16
REVERT: a4ef4408cb Added missing file
REVERT: 2416300dfa Fixed compiler warning
REVERT: 27da65637f Fixed compiler warning
REVERT: 4d7a2db434 Added functions to query and set the SDL memory allocation functions:     SDL_GetMemoryFunctions()     SDL_SetMemoryFunctions()     SDL_GetNumAllocations()
REVERT: 949947d95b Fixed memory leak in Cocoa mouse code The video quit call cleans up the mouse cursor driver data, which happens after mouse quit
REVERT: 20693f4ac7 Fixed bug 3866 - CMake error when trying to make the 'uninstall' target when it already exists
REVERT: 8a8ec5071e Fixed bug 3867 - Can't find install_manifest.txt when running 'uninstall' target
REVERT: f75a9ecd6b Fixed bug 3874 - Compiler warnings SDL_Surface.c and SDL_cocoakeyboard.m
REVERT: f686a7de99 Normalize touch events to the render viewport (thanks Sylvain!)
REVERT: 045ffd7b52 Fixed divide by zero with a 1x1 sized window
REVERT: 7e993a0df0 make sure that SDL_malloc(0) or SDL_calloc(0,x) doesn't return NULL.
REVERT: 3ca107edbd Updated version to 2.0.7
REVERT: a3a37f6c1d Check SDL_UDEV_DYNAMIC first, then SDL_UDEV_LIBS separately
REVERT: 9d182e5c96 Fixed bug 3871 - Touch events are not normalised on X11
REVERT: 854ad82535 Fixed size in realloc
REVERT: 31c80a081d audio: Turns out the accumulation errors sound better.  :/
REVERT: 9faffcc24c audio: Moved the resampler state up to double precision.
REVERT: a5e57de5e3 audio: calculate resampling time directly, don't increment (thanks, Eric!).
REVERT: 0b41f9e1e9 audio: clamp resampler interpolation values to prevent buffer overflow.
REVERT: 94b758a288 audio: Moved unchanging variable out of loop.
REVERT: e19182e933 audio: Make sure audio stream resampling doesn't overflow buffers.
REVERT: 87e6384fe0 audio: Fixed check for minimum audio stream put size.
REVERT: 9cbeac0188 Updated WhatsNew.txt for 2.0.7 changes
REVERT: 0488a26afd Changed overlapping memcpy to memmove
REVERT: ca78f06226 Fixed potentially calling a callback after it has been removed (and userdata possibly deleted)
REVERT: 324676172e audio: SDL_ResampleCVT() should use memmove instead of memcpy.
REVERT: b233e909a4 audio: Don't stack-allocate resampler padding.
REVERT: ac3c335962 The event filter and event watch functions are now thread-safe
REVERT: 63e57f5a48 audio: reworked audio streams to have right-hand resampling padding available.
REVERT: 915661bb04 Added SDL_PeekIntoDataQueue().
REVERT: 6387f21f85 Exposed the joystick locking functions for multi-threaded access to the joystick API
REVERT: 35811c4c2f Fixed crash in SDL_IsGameController() on Windows if called when a controller is being removed
REVERT: 19658e6739 Fixed bug 3865 - [PATCH] Support for GreenAsia Inc. PSX to USB converter as SDL_GameController
REVERT: 3f6a06c954 Fixed bug 3857 - SDL_ConvertPixels misses YUV conversions
REVERT: b0ee1f1505 Fixed restoring window size when coming out of fullscreen desktop mode. Use the style of the window as it will be, not as it currently is at the time of the AdjustWindowRect call.
REVERT: c6a9bb2e6b Fixed bug 3857 - SDL_ConvertPixels misses YUV conversions
REVERT: 92645159cf Fixed bug 3862 - Install is broken when adding SDL2 to an existing CMake project
REVERT: 64786b5dfc Fixed potential overflow in surface allocation (thanks Yves!)
REVERT: be62ae8910 Fixed bug 3854 - arguments to dbus_type_is_basic() were incorrect
REVERT: 5df6ac64d0 Fixed bug 3855 - Memory leak in SDL_FreeSurface
REVERT: c355765d99 revert files I didnt mean to commit!
REVERT: 2ba8f45ae6 wayland: Fix bug 3814 -Wmissing-field-initializers
REVERT: 1b2b7b2bfe Fixed bug 3852 - SDL_FreeSurface deallocates surface->map even if the surface is not yet freed
REVERT: 157ff58212 Fixed bug 3850 - incorrect numbering in docs/README-ios.md
REVERT: 5572175ced Fixed bug 3847 - Hit Test x coordinate wrong on secondary monitor
REVERT: 73b38803ec Mac: Fix the menu bar not always working for non-.app-bundled apps. Fixes bug #3051.
REVERT: d93911e99b Fixed bug 3842 - fix SDL_thread.h for emx
REVERT: 36b6c65977 Fixed bug 3843 - Android missing some code in SDLHapticHandler
REVERT: 25f80b473f audio: Fixed compiler warning on Visual Studio.
REVERT: 9df4b9f11d Fixed spacing
REVERT: cb784eb2a6 Added an example for SDL_SetWindowHitTest() when you create a borderless resizable window.
REVERT: 503dfb7560 Good bye, Visual Studio 2008
REVERT: fbeccb046d Added stub Steam Controller sources to Android and iOS command line builds
REVERT: 2a09cd52d3 Added stubs for simple Steam Controller support
REVERT: d314080fa4 Separated out SDL Android java code so audio, controller, and filesystem APIs can be used independently of the SDL activity, in Qt apps for example.
REVERT: c2e69a5256 Removed non-existent files
REVERT: 6ba2d5e6e0 Removed non-existent files
REVERT: 1e46b7fc9a Added stubs for simple Steam Controller support
REVERT: 402ec39ea2 Separated out SDL Android java code so audio, controller, and filesystem APIs can be used independently of the SDL activity, in Qt apps for example.
REVERT: a0bb4bd9fb Guarded EGL code with SDL_VIDEO_OPENGL_EGL
REVERT: 1fabc5160f borderless windows will have WM_NCCALCSIZE return 0 for the non-client area. When this happens, it looks like windows will send a resize message expanding the window client area to the previous window + chrome size, so shouldn't need to adjust the window size for the set styles.
REVERT: 23e7cf4466 sdl
REVERT: 281e904a4f Fixed bug 3837 - Change project settings for Xcode 9?
REVERT: 25a51064e5 Added tag release-2.0.6 for changeset 8df7a59b5528
REVERT: f486f87816 Fixed Mac OS X build
REVERT: 1a34539bdf The volume was too high, clamp to SDL_MIX_MAXVOLUME
REVERT: 796d1f6645 Fixed audio being silent on older iOS devices Tested on an iPod running iOS 6.1
REVERT: 6ae4a6f2e3 Added instructions for deploying to older iOS devices (thanks Sylvain!)
REVERT: 0273dd1d92 Avoid duplicate joystick axis events
REVERT: d58b502fad Fixed memory leak when HAVE_ALLOCA isn't defined
REVERT: 21e8d3d8d4 Avoid hitting ERR_MAX_STRLEN limit.
REVERT: d06b6e98c5 audio: Stream resampling now saves some samples from previous run for padding.
REVERT: 39c91a2406 [egl/mir] Need eglGetProc to find gl 4.5 core profile extensions
REVERT: 0bd7b4315c iOS MoltenVK code style cleanup.
REVERT: 82683927b2 iOS: Fix compiling using the iOS 7 SDK, partially broken since MoltenVK support was added.
REVERT: e247fc4d55 A hint with an empty string should be treated as the default value
REVERT: 28013a650a Only apply the jitter filter to prevent unexpected motion on axes that haven't been touched.
REVERT: 91339af74b Fixed bug 3788 - software renderer crashes in SDL_RenderCopyEx with rotation and dstrect w or h is 0
REVERT: 26f9eab102 Added some missing "extern" declarations
REVERT: 2f484d4e3a audio: removed my perl experiment script.
REVERT: 4509de166f audio: Replaced the resampler. Again.
REVERT: c35e060b0e macOS: remove unneeded #includes.
REVERT: 5c40ed9e32 Reverted Alex's commit 4f3f29b6b666 - we're about to release 2.0.6, don't remove support for the iOS 7 SDK yet.
REVERT: 28abba9281 iOS: I don't think SDL compiles with the iOS 7 SDK anymore, so we might as well drop the #ifdefs trying to guard for that.
REVERT: aed276aa9c iOS: remove an unused static variable
REVERT: 354be66d13 WinRT: minor formatting tweak in README-winrt
REVERT: b95da19f0c WinRT: noted UWP's inability to work with some game controllers
REVERT: 1e197f83b5 Added a hint SDL_HINT_AUDIO_CATEGORY to control the audio category, determining whether the phone mute switch affects the audio
REVERT: 2f3634ab69 Fix for 3829. Revert adding GameSir G4s, uses same GUID as PS3 controller.
REVERT: 0c9c2d6667 Readd support for GameSir G4s, lost with changeset 11431
REVERT: c5b0b2906e Updated iOS keyboard test to cover text input rect and orientation changes
REVERT: e09d2c5302 Fixed iOS keyboard positioning, based on the final position rather than the initial one
REVERT: 1447f36c23 surface: Make sure SDL_ConvertSurface() deals with palettes (thanks, Sylvain!).
REVERT: e02dfdf9f2 Added support for the PDP Battlefield One Xbox One controller on Linux
REVERT: cfb70e2f3f WinRT: build fix when using recent versions of the Windows 10 SDK
REVERT: dd811b635b Fixed bug 3812 - Fallthrough warnings gcc-7
REVERT: 4db5c5d4d9 Fixed bug 3815 - implicit-fallthrough warning - DUFFS_LOOP4 and friends
REVERT: 308214d453 Fixed bug 3813 - gcc7 fallthrough warnings in SDL_iconv.c and SDL_pixels.c
REVERT: 65a1b9b06c Fixed tabs to spaces
REVERT: e2e34a29a8 Fixed compile warning
REVERT: b19c785d6e Fixed bug 3811 - change HAVE_COPYSIGN to HAVE__COPYSIGN in SDL_config_windows.h
REVERT: 1eacf84874 Fixed the include path for khronos with Visual Studio
REVERT: 014bb323c8 Correction: copysign has been supported by windows several toolchains for a very long time, including MSVC6, MinGW, LCC-Win32, (no released watcom versions though, but that's of no concern.)
REVERT: 1e31971896 alsa: removed snd_pcm_wait() call before writing to playback device.
REVERT: 24522941fe Updated documentation so it's clear you should use SDL_SetWindowDisplayMode() to change the size of fullscreen windows.
REVERT: 323a05942b Fixed bug 3809 - Restore after maximize leads to wrong size
REVERT: b7ee4f5867 Fixed bug 3719 - Cocoa - Incorrect window size when leaving fullscreen
REVERT: 29bf554421 Fixed window size when leaving fullscreen mode (thanks Eric!)
REVERT: 73a2b9ace8 Fixed bug 3760 - RWops doesn't check for integer overflow when stdio_fseek only supports 32 bits
REVERT: 12ccc0815f Make sure the libtool archives are installed
REVERT: 98eb529fac Fixed bug 3808 - fix a typo in SDL_stretch.c
REVERT: d57df88e87 Updated config.guess and config.sub, added config.sub.patch for NaCl and Emscripten build support
REVERT: a811278568 Updated documentation to note that libvulkan-dev is no longer needed
REVERT: f5995088a3 Fixed bug 3807 - Remove restriction from DECLSPEC macro for OS/2
REVERT: d26a67c874 We don't need libvulkan-dev to build Vulkan support
REVERT: 296d251a0b Updated Debian changelog for 2.0.6 release
REVERT: 56af866ead Fixed bug 3805 - Why is there no --enable-video-rpi option in configure?
REVERT: 89bd883fa7 Fixed bug 3806 - Fixes for MSVC compiler warnings
REVERT: 6910f9a4d0 keep joystick thread from waking unnecessarily, and from possibly blocking for 300ms at shutdown if a joystick was just plugged in
REVERT: 6d03df314b Fixed building with the first version of Visual Studio 2017, which doesn't have __has_include() (Thanks Simon!)
REVERT: 1dd4075b8c Fixed 64-bit build warning
REVERT: c81cbcc940 We don't need to pass the renderer into SDLTest_CleanupTextDrawing()
REVERT: a23db8ea59 Fixed build
REVERT: c3070d2b3a Added a function to clean up test text drawing
REVERT: 59bc23e03c wave: SDL_LoadWAV now supports 24-bit audio.
REVERT: 0e764933cd vulkan: use "unsigned int" instead of "unsigned"
REVERT: a3dc8c13ff raspberrypi: The latest Raspbian moved its EGL and GLES2 libs elsewhere.
REVERT: 798c9bcfe6 sdl:
REVERT: 531ba2c751 You can have a borderless resizable window
REVERT: 1dd1b3ff9c Fixed bug 3780 - GCC 7 implicit fallthrough warnings
REVERT: dd0a5a4a89 Fixed bug 3801 - HAVE_LIBSAMPLERATE_H depending on HAVE_LIBC in current SDL_config.h.in
REVERT: 7a208f2d77 Fixed bug 3797 - configure check for float.h
REVERT: c91bd1e116 Fixed bug 3799 - SDL_CreateWindow fails with SDL_WINDOW_VULKAN (libvulkan.so.1 not found)
REVERT: b8bebee815 x11: make sure SDL_GetGlobalMouseState notices mouse warping through SDL APIs.
REVERT: 64791f9d68 Fixed bug 3273 - Fix for slow video subsystem initialization when using XRandR.
REVERT: f315493c28 Fixed typos in 2.0.6 patch notes
REVERT: da81885d77 Added SDL_vulkan.h to the Mac OS X framework headers
REVERT: acf5b23fc8 Fixed compiler warning with mingw-w64
REVERT: c37a5014c5 Added some more big 2.0.6 changes
REVERT: f85bc63d6c Updated WhatsNew.txt for 2.0.6
REVERT: 414db44519 Fixed bug 3790 - Memory leak with surfaces blitting on each other
REVERT: cf695c0c48 macOS: bug-fix for #3793, "fullscreen toggle does not maintain SDL_Renderer's logical size"
REVERT: f94cddec29 WinRT: listed VS 2017 optional-component requirements
REVERT: 6c60625436 vulkan: Changed SDL_WINDOW_VULKAN value to match Tizen's fork.
REVERT: e01e33bd00 video: Let video targets optionally decide their default OpenGL configs.
REVERT: b4c19f59ef sndio: Patched to compile if SIO_DEVANY isn't defined.
REVERT: 0e9e7cd616 Fixed bug 3792 - [KMS/DRM] Wrong GBM format
REVERT: a5187f96e2 x11: Correctly restore previous GL context after sacrificial context is done.
REVERT: 736a5a3ed0 x11: don't try to make a NULL GL context current when we already did that.
REVERT: bb79b54f02 x11: Clean up sacrificial GL context code.
REVERT: 6364eeecf2 x11: Make a sacrificial glX context to check for extensions during init.
REVERT: 4ae6c39788 macOS: Update controller mapping of Steelseries Stratus XL to account for reversed thumbstick y-axis values (bug #3483).
REVERT: 60f43da150 macOS: Fix menubar items being enabled when they shouldn't be.
REVERT: b3d4bde6d0 Code style cleanup in the Cocoa and UIKit vulkan files.
REVERT: ef384efe5a macOS: Prevent unwanted native fullscreen (Spaces) toggles when the window is in fullscreen or isn't resizable. Fixes bug #3691.
REVERT: 5c173c2517 Fixed bug 3791 - SDL_bits.h: __builtin_clz is supported in gcc >= 3.4
REVERT: 0dadd6b804 Update Android SDK required to API level 16
REVERT: f3c99e56d3 Fixed bug 3483 - Steelseries Nimbus MFi controller reversed Y-axis analog stick
REVERT: 3ef9b11d46 Convert tabs to spaces in game controller database entries
REVERT: 482731c88a Fixed bug 3789 - Android : small clean up
REVERT: 5330567c7e Moved haptic source files into the proper folder
REVERT: e25675582a Fix QNX build - prioritize system EGL headers over the Khronos ones
REVERT: 26a66653f0 Added some missing render capability flags
REVERT: 1b6d6467db Fixed line breaks in verbose test logging output
REVERT: 6ba1d5eed3 Added some debug messaging for previously unhandled events
REVERT: 78c184a3e0 The dummy video driver check is now covered by explicitly checking for cocoa above.
REVERT: 13fe9240dd Fixed bug 3616 - SDL_GL_CreateContext fails with SDL_GL_CONTEXT_DEBUG_FLAG and ANGLE/GLES 2.0
REVERT: 3c1d56a2eb Fixed bug 3719 - Cocoa - Incorrect window size when leaving fullscreen
REVERT: 8f60f0a775 test: forgot to change a variable.
REVERT: 9b08483ffd test: Fix for negative int that was now a size_t (thanks, Ozkan!).
REVERT: c4eca8c2d6 egl: Cast to size_t, in case platform's NativeDisplayType isn't a pointer.
REVERT: e088b11c8a A few more compiler warnings fixed.
REVERT: fca3874ab4 Fixed a bunch of compiler warnings.
REVERT: 03c8f2002b Updated documentation, you don't need to initialize the audio subsystem to do in-place format conversion. (Thanks Simon Hug!)
REVERT: 51b14ba255 Fixed check for Mac OS X 10.11+ SDK (thanks Edward Rudd!)
REVERT: adfae6e9ba MAC_OS_X_VERSION_MAX_REQUIRED isn't actually set in recent Xcode versions
REVERT: a30aa1778d Removed Metal and QuartzCore frameworks which aren't needed for Vulkan support
REVERT: 64283b7c0f Add a way to set the context when other activities are active so many SDL API functions still work.
REVERT: cbfddcec50 Fixed bug 3785 - fix windows build after revision 11382
REVERT: ac8d70a84e We removed QuartzCore link dependency in commit d459d8934897
REVERT: 01bfc6aca9 Fixed Vulkan configure check for Android and added one for Mac OS X
REVERT: 1c487929ed Fixed bug 3786 - building against a Mac OS X SDK < 10.11 fails since the vulkan merge
REVERT: a86f7e738e Fixed bug 3662 - Error message when using the audio conversion setup without an initialized audio subsystem is a bit vague
REVERT: 70aacb0db9 audio: A whole bunch of improvements to audio conversion (thanks, Solra!).
REVERT: a32e087d07 stdlib: An implementation of SDL_scalbn using ldexp() (thanks, Ozkan!).
REVERT: 1641fd7c50 audio: Converting audio samples from int to float was using wrong equation.
REVERT: 8e5f46fa1d Fixed building with an older Mac OS X SDK
REVERT: ebe9688dd9 Vulkan support on Mac OS X introduces a link time dependency (CAMetalLayer) on 10.11 and newer
REVERT: a59b14cfcb We don't need the VULKAN_SDK to build SDL with Vulkan support anymore
REVERT: d2d5ffbe3e Added missing Visual Studio 2010 project for testvulkan
REVERT: 21140a8024 Fixed compile warning
REVERT: 756155d9b9 Added a log message for nativeRunMain()
REVERT: 32a6dbb2ac Allow overriding the main entry point on Android
REVERT: b223cd8606 Removed the need for libSDL2main.a on Android, and separated JNI initialization out for other integrations
REVERT: 297011fe09 Removed unneeded Vulkan symbol definitions
REVERT: 09b61ab1fd Fixed bug 2361 - [Android] Joysticks do not have unique IDs
REVERT: d1c0e570c8 Fixed bug 2277 - Hardware keyboard control key sequences don't get reported
REVERT: 5fe342eefc Fixed 3783 - Default libGL path for directFB on Linux differs from x11 path
REVERT: aa43fb4d66 Fixed bug 3781 - unbalanced #pragma pack(pop) in close_code.h
REVERT: 314e598054 Instantiate the CAMetalLayer so SDL_Vulkan_CreateSurface() doesn't fail Error message was: [mvk-info] MoltenVK version 0.18.2. Vulkan version 1.0.51. [***MoltenVK ERROR***] VK_ERROR_INITIALIZATION_FAILED: On-screen rendering requires a view that is backed by a layer of type CAMetalLayer. 2017-08-28 02:17:29.579 testvulkan[95627:1716939] ERROR: SDL_Vulkan_CreateSurface(): vkCreateMacOSSurfaceMVK failed: VK_ERROR_INITIALIZATION_FAILED
REVERT: 73ca40b566 Fixed WinRT build after changing the header guard preprocessor symbol
REVERT: 0722e9415a Fixed build when Wayland is dynamically loaded
REVERT: 23e5cb1879 Fixed analyzer warning "Call to 'calloc' has an allocation size of 0 bytes"
REVERT: 66ee57e4ca Fixed redefinition of typedef warnings and errors on BSD
REVERT: 56dd9f257b Fixed mingw Windows build, since SDL_vulkan_internal.h includes windows.h
REVERT: f1e9abdefb Renaming of guard header names to quiet -Wreserved-id-macro
REVERT: 15cb6b4932 Be clear that disabling Vulkan surface support disables the entire SDL Vulkan integration
REVERT: 0d34d231b9 Fixed Android build with Vulkan support
REVERT: 6cd49b2c22 Fixed code style for new Vulkan API functions
REVERT: 9e1b2d83f3 Fixed Android ABI check to match vulkan/vk_platform.h
REVERT: 8da41824a7 Make the androidbuildlibs.sh script executable
REVERT: eb767f3e1b Fixed typedef redefinition errors when including both SDL_vulkan.h and vulkan.h You should always include vulkan/vulkan.h first, then include SDL_vulkan.h
REVERT: 288267a066 Fixed Windows warning
REVERT: 20d3636821 Fixed Android build
REVERT: 06cb4018c7 Don't define Vulkan types if vulkan.h has already been included
REVERT: 24c5115ef6 Added Vulkan support to the Visual Studio 2010 solution
REVERT: ca8b7d1e11 Don't need the Vulkan SDK for the Visual Studio 2008 project anymore
REVERT: 22149e8112 Fixed crash at shutdown if the window couldn't be created
REVERT: 4989a01939 We use the SDL Vulkan headers
REVERT: 27e5963b8f Added the new Vulkan API functions to exported functions
REVERT: f4b87c2bcb vulkan: Include a copy of vulkan.h and vk_platform.h.
REVERT: 3db6496688 Use SDL_Vulkan_GetDrawableSize() instead of SDL_GL_GetDrawableSize()
REVERT: a566435db1 vulkan: Initial Vulkan support!
REVERT: 0ff15ac41b Fixed bug 3710 - SDL_OpenAudio(desired, obtained) doesn't update desired's size when obtained is NULL
REVERT: b964d759ca Fixed bug 3724 - Allow Angle Static Link
REVERT: 7f84fc46a4 Fixed bug 3740 - atexit() in test/testime.c
REVERT: 1bf8d4ca37 SDL_dynapi.c: add missing SDLCALL to macros.
REVERT: af31e7aab5 Swapped conditional arguments for standard SDL readability
REVERT: 279b03e2c4 SDL_dynapi.h: revert commit a6da0a386f68 in order to enable dynapi
REVERT: c51aa7eba0 SDL_dynapi_procs.h: adjust SDL_CreateThread for os/2
REVERT: e667b081cd SDL_thread.h: fix os/2 defines (rev 11340:97cd834a843e was a missing patch)
REVERT: c29d430656 Fixed bug 2266 - please add notifications for clipboard updates on Android
REVERT: 1a4bd233da Fixed bug 2265 - Voice to text feature on Android repeats some text via SDL_TEXTINPUT
REVERT: 80c0e01dbd Fixed bug 3774 - Cmake build fails for Android
REVERT: 0b51b163ee Add support for GameSir G4s
REVERT: dd32ce4d69 windows: Attempt to make Visual Studio not hardcode a call to memset().
REVERT: ae2ce839f8 x11: Patched to compile with DEBUG_XEVENTS defined.
REVERT: e1c35f01fb OS/2: fixed inverted logic bug (thanks, Ozkan!).
REVERT: abe59c0808 OS/2: proper fix for dynapi (thanks, Ozkan!).
REVERT: 6fb747472a Fix KHR_no_error support
REVERT: b82bd0bd37 opengl: add support for GL_KHR_no_error.
REVERT: 28e9e6c28f dynapi: fill in OS/2 loading code (thanks, Ozkan!).
REVERT: d4564ef4f5 x11: Move screen_w/h inside the only ifdef they are referenced in to avoid compiler warnings
REVERT: 0e04e04c4d kmsdrm: Remove moved file
REVERT: 1b70bac91f kmsdrm: Cleanup unused headers, rename SDL_kmsdrmevents_c.h -> SDL_kmsdrmevents.h
REVERT: 897ce9c889 Fixed bug 3768 - provide a quick copysign() solution for watcom
REVERT: 6a65551e8d SDL_thread.h: add missing os/2 defines.
REVERT: 4c41e57f57 SDL_dynapi.h: disable dynapi for os/2.
REVERT: fd5eb6d1f0 SDL_cpuinfo.c: add os/2 support to SDL_GetCPUCount() and SDL_GetSystemRAM().
REVERT: 1e2f295236 Fixed bug 3761 - Windows non-MinGW cmake build defines HAVE_WCSLCPY and HAVE_WCSLCAT
REVERT: 8a1684a382 Fixed bug 3644 - Wayland touch event support
REVERT: a6c8a8694e configury: check mmdeviceapi.h and audioclient.h before enabling wasapi.
REVERT: 9eaf62c483 x11: specify event mask for buttons when grabbing pointer (thanks, Stas!).
REVERT: 157f916a11 x11: Pass generic XEvents by pointer instead of copying to stack for XInput2.
REVERT: 4e99081584 opengl: Add support for [GLX|WGL]_ARB_create_context_robustness.
REVERT: fb57d6a408 add missing os/2 apientry defs to SDL_opengl.h
REVERT: e9ee7f6f0d Fixed building SDL applications with Visual Studio and the clang toolset Also fixed building 64-bit SDL with clang. 32-bit doesn't build because of the inline assembly for C runtime support.
REVERT: 319c4a52ce Fixed building with Visual Studio 2017 and the Windows XP toolset if _USING_V110_SDK71_ accidentally gets undefined
REVERT: dd42d3c67c Added Matt Styles' tutorial on building SDL for Android with Visual Studio
REVERT: 1fe83fd6eb iOS 10: Work around screen bounds orientation bug. Fixes bugs #3465 and #3505.
REVERT: d345de0831 Updated version to 2.0.6
REVERT: d5c138b4f0 Added WASAPI audio target to autoconf build process
REVERT: 3db828c0f9 cmake: some iOS fixes (don't link to Cocoa or Carbon frameworks).
REVERT: c95edac3b2 cmake: added a FIXME for later.
REVERT: 4fa703ae18 configure: Apple platforms don't need to build with -fpascal-strings anymore.
REVERT: 950bb27c66 configure: mac and iOS should compile core/unix/*.c
REVERT: 90001a14ac cmake: Fix building for macOS with Xcode generator (thanks, dungaipara!).
REVERT: b44189aee2 audio: better docs on conversion APIs, error if not init'd (thanks, Simon!).
REVERT: 29941a2a2b Add atomics for Watcom/x86 as inline asm
REVERT: 0216e916d3 Watcom supports __FUNCTION__ identifier (and surely not __PRETTY_FUNCTION__)
REVERT: b9712ca62c SDL_assert.h: add inline asm (int $3) as SDL_TriggerBreakpoint for Watcom/x86
REVERT: c9ee33e27b SDL_endian.h: add SDL_Swap16 and SDL_Swap32 for Watcom/x86 as inline asm
REVERT: e291ae957b SDL_bits.h: add __builtin_clz equivalent for Watcom/x86 as inline asm
REVERT: 0e7b72b155 SDL_mouse.c doesn't need default_cursor.h.
REVERT: 435b6c8522 cmake: add core/unix sources to the build.
REVERT: f07a0b3b5d filesystem: Patched to compile on QNX.
REVERT: d5066e8edb filesystem: QNX should use SDL_LoadFile() instead of rolling it from scratch.
REVERT: edeabbcec9 qnx: Implemented SDL_GetBasePath().
REVERT: 24ac42f8d9 cpuinfo: Add SDL_HasNEON() support for ARM-based QNX.
REVERT: 515e98a487 More cleanup of the iOS keyboard demo.
REVERT: c396ee0c3b Improve iOS keyboard demo code a bit.
REVERT: 30b48f3da5 Address a compiler warning.
REVERT: cd85821b16 rwops: Fixed 64-bit file i/o on QNX.
REVERT: e2b4d5eb8c Fixed bug 2137 - SDL Message Boxes don't cope with fixed width fonts (in windows at least)
REVERT: 0a931e84e3 Fixed bug 2263 - Event timestamp members are undocumented
REVERT: be8eaab7ee Hopefully fixed Wayland build
REVERT: cd4cfd2c89 Fixed bug 2293 - Precise scrolling events
REVERT: a2c23256eb Fixed Android build warning
REVERT: 5f531376c2 Fixed build warning
REVERT: 8109ab9485 Added missing files from the previous commit
REVERT: 87ea96c003 Fixed bug 2330 - Debian bug report: SDL2 X11 driver buffer overflow with large X11 file descriptor
REVERT: e97f14a10e Fixed compiler warnings
REVERT: 73cc20bc31 Fixed bug 2344 - CHECK_WINDOW_MAGIC should include __FILE__ and __LINE__
REVERT: ce5ef09c2d Fixed Windows build due to an implicit memcpy generated by the optimizer
REVERT: 93994fdf95 Fixed bug 3753 - Android : load methodID during initialization
REVERT: 290c717f3d Fixed bug 2360 - Wrong -rpath setting includes DESTDIR rather that only the libdir
REVERT: 1875587d1d Fixed bug 2418 - Structure SDL_gestureTouch leaking
REVERT: b4557f9901 Fixed bug 2441 - SDL_DuplicateSurface
REVERT: 46f0a0bb0c Fixed bug 2500 - X11: SDL tries (and fails) to hide foreign windows
REVERT: cc7adb5695 Fixed bug 3752 - minor os2 defines
REVERT: 0cbb611cb2 Fixed compiler warning with enum
REVERT: 730bfd65e3 Fixed setting the texture blend mode in the OpenGL ES2 renderer
REVERT: 520aaf19a4 Fixed bug 3745 - specify SDLCALL as the calling convention for API callbacks
REVERT: 54ffe889c5 Fixed bug 3191 - haptic system on android?
REVERT: 808e24ac4a Implemented more flexible blending modes for accelerated renderers
REVERT: 48945ea079 Fixed bug 2646 - Problems with software renderer when SDL_SetRenderLogicalSize set
REVERT: b426a9b28b Added wchar.h to fix build on some platforms with new wcs* functions
REVERT: 15a681ce02 Fixed bug 2755 - SDL2 fails to build on Solaris 10 u3
REVERT: 99f0d06e2c Fixed bug 2764 - Timer is not rescheduled with the returned interval
REVERT: 9491d5d971 Fixed bug 3743 - make testautomation_sdltest.c to compile
REVERT: 21860e75f9 Fixed bug 3742 - minor warning fixes
REVERT: 6938caeac3 Fixed bug 3741 - more compatible initializers for arrays
REVERT: 851e3a72b1 Fixed bug 3605 - Software renderer no longer renders after Android screen orientation change
REVERT: ebfc619e6d Fixed bug 3746 - remove SDLCALL attribute from SDL_BlitFunc() funcptr
REVERT: 67823aa306 Fixed bug 3744 - missing SDLCALL in several functions
REVERT: fae0fc30b3 Provide the correct state of the on-screen keyboard to the API (patch from Sylvain)
REVERT: 545c6ea1eb Fixed bug 3235 - Make the Android window creation similar to iOS' window creation
REVERT: 80636fb85a Fixed bug 3751 - DirectFB linux_input disabled by default
REVERT: 4e0169e3b2 Fixed bug 3299 - DirectInput: Incorrect joystick mapping when attaching new joysticks
REVERT: 2a8d4de4af Added check for XBOX in addition to Xbox and X-Box
REVERT: 64df5da699 Fixed compiler warning
REVERT: bb037eaa61 Added SDL_wcscmp()
REVERT: f315ab8ebc Fixed copy-paste error, thanks Alen!
REVERT: 507faa51f8 Fixed bug 2812 - Make libSDL2main.a usable on Android via a dummy symbol
REVERT: 6cfc67f5ef Fixed bug 2839 - No way to create pre-built libraries for Android
REVERT: 464da7e89c Fixed bug 2841 - Hint to set resource id for window icon
REVERT: 756a2726ba x11: Patched to compile.
REVERT: fbc1a4d276 x11: Fix message box titles with Unicode chars on some window managers.
REVERT: fbd4f55982 Fixed bug 2931 - Large relative mouse motion jumps when using touch input
REVERT: eef2b0e500 Added test debug logs for additional event types
REVERT: ddb28c9c12 iOS: Fix app orientation when creating a landscape fullscreen window with the device currently in portrait orientation.
REVERT: 686d890cec Fixed bug 2950 - wrong axes values are set on joystick initialization
REVERT: 4bde0fcdf3 Fixed Windows build
REVERT: de2d482b3e Fixed bug 2979 - SDL_ConvertSurface does not convert color keys consistently
REVERT: 6945a4e8ed Workaround for bug 3049 - SDL_Init(SDL_INIT_VIDEO) - XDM authorization key matches an existing client!
REVERT: a6872f6f98 Fixed bug 3058 - Slight mistake in GetWindowStyle in SDL_windowswindow.c
REVERT: 6a53135f09 Fixed bug 3158 - SDL display window scrambled over VNC
REVERT: 20bc7eea50 Fixed bug 3173 - SDL_GL_GetAttribute overwrites error code from SDL_GL_GetProcAddress
REVERT: dd6258772c Added a note about number key keycodes always being SDLK_0...SDLK_9 even on AZERTY layouts See bug 3188 for more discussion
REVERT: f1a028f228 Fixed bug 3188 - AZERTY keyboard support broken and inconsistent
REVERT: 7dd35595ab Fixed bug 3309 - SDL_ConvertSurface adds AlphaMod when input surface has ColorKey
REVERT: 67bb802fe6 Fixed bug 3208 - Minor improvements to the configure script
REVERT: b5cd11a4ea Note that texture contents are undefined when the texture is created.
REVERT: d03fc29320 Fixed bug 3243 - SDL_SetRenderDrawColor() behaves wrong with RGBA=0
REVERT: edeafc5711 Cleaned up WindowsScanCodeToSDLScanCode() so VKeytoScancode() always takes precedence for the keys it handles and the rest of the logic is easier to read.
REVERT: 5c4af33818 prefer virtual keycodes over scancodes for extended keys
REVERT: f87bcc5ac6 Fixed bug 3249 - keysym.mod is incorrect when mod keys are pressed for SDL_KEYDOWN events
REVERT: 9f4138162c Fixed bug 3128 - Removing all the static variables from android SDLActivity and accompanying JNI calls.
REVERT: 976866d13d Fixed bug 3191 - haptic system on android?
REVERT: 00e85a35f1 Fixed part of bug 3227 - patch for multiple buttons at the same time not working
REVERT: b3ecc4942c Fixed compiler warnings on Visual Studio 2013
REVERT: 2c1a763b32 More fixes for the SDL_scanf code
REVERT: d2a8798688 Fixed Android build
REVERT: d3de333f7e Fixed bug 3258 - SDL_TryLockMutex blocks for pthreads with FAKE_RECURSIVE_MUTEX
REVERT: e7d14e0401 Fixed bug 3284 - minor correction for SDL_setenv on _WIN32__ platform
REVERT: 08f9b64eb9 Forgot to add function check for fopen64 to CMake build
REVERT: 846a2035b2 Fixed bug 3292 - SDL_rwops and 64-bit file I/O
REVERT: 4296431eff Fixed bug 3297 - Horizontal and Vertical flip swapped on PSP
REVERT: b5dbd2a97c Fixed bug 3334 - SDL_ShowMessageBox uses wrong index and accesses un-allocated memory
REVERT: 34dac84de4 Fixed bug 3341 - SDL_sscanf() problem
REVERT: 7e3ef81a79 Fixed crash in bug 3367 - RGBA_FROM_PIXEL macro can't handle SDL_PIXELFORMAT_ARGB2101010
REVERT: 2067ef5659 Fixed bug 3464 - Fix for Android hint SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH
REVERT: fba643fb3b Fixed bug 3492 - SDL_RenderCopyEx angle direction not documented
REVERT: 41e63ae4e1 Fixed bug 3324 - SDL_RenderReadPixels: Wrong rect coordinates with software renderer
REVERT: ebae122371 Fixed bug 3639 - SDL_GetPrefPath returns a path with two consecutive slashes on Unix if org is omitted
REVERT: 594181451c Fixed bug 3646 - SDL_test_common.c: Add key bindings for testing SDL_SetWindowPosition
REVERT: fe9349f2b0 Fixed bug 3682 - Toggle text input in checkkeys when the mouse is clicked
REVERT: dc82a25489 Fixed bug 3702 - Clear error messages of SDL_LoadObject for optional libraries
REVERT: c204da61ba Fixed bug 3714 - Windows: SDL_WINDOW_FULLSCREEN_DESKTOP broken on 3 monitor setup w/ DPI scaling
REVERT: 558ac2f940 Fixed bug 3723 - Possible double free in kmsdrm init code on certain errors
REVERT: 1dd89d8496 Fixed bug 3681 - SDL_UpateTexture documentation not specific enough about format requirement
REVERT: e3c200ba9d Fixed bug 3701 - WM_TOUCH message may cause calls to null if touch functions are not properly loaded
REVERT: b6c3c24bf0 Fixed bug 3728 - [Android] crash when shared libraries are no loaded
REVERT: 5cfe2a7f64 Fixed bug 3672 - Add joystick to controllerdb
REVERT: e009b58d09 cmake: Pacify warning about Policy CMP0042 not being set.
REVERT: dadc72f8c3 cmake: whoops, Sam and I both fixed this bug at the same time.  :)
REVERT: dd61565e37 Fixed bug 3651 - CMake build does not install CMake package configuration
REVERT: 1a36d8a9a8 Fixed bug 3590 - CMAKE: typos in CheckMir
REVERT: d1a6464741 cmake: Don't link directly against a libpthread on Android (thanks, Anthony!).
REVERT: 7034592ed9 Android build fixes  -Enabling checking for GCC_ATOMICS also on clang by default. This way all Android ABIs build successfully  -Android cmake: Threading was not enabled correctly  -Android cmake: Timers and dynamic lib loading were not included in the sources
REVERT: de8a709d9a Fixed bug 3733 - Makefile sleeps for 3 seconds if configure is out of date
REVERT: 156d7fc580 haiku: non-x86 spins use a normal libstdc++ filename. Handle the differences.
REVERT: 693c9d586f haiku: Fixed compiler warning.
REVERT: 3c8dc5ab15 Added a private hint for Steam to bypass the controller filtering for the Steam virtual gamepad
REVERT: a0941b37eb Fixed Linux build
REVERT: b044a3bba8 Added SDL hints to filter the set of game controllers reported by SDL
REVERT: 5c88b8141c Added an API SDL_LoadFile_RW() to load all the data from an SDL data stream, and a convenience macro SDL_LoadFile() to load all the data from a file.
REVERT: dbc08babc8 haiku: Patched SDL_bopengl.cc to compile on x86-64 Haiku.
REVERT: 3fee4ae999 Fixed up some compile warnings and errors on x86-64 Haiku.
REVERT: 9a1eaedb59 Added a FIXME for 2.1 about an API change.
REVERT: 673e94c9c0 Re-added missing entry for the Steam Virtual Gamepad (was Valve Streaming Gamepad)
REVERT: 41065dbd28 Fixed building on various versions of GCC - YUV MMX code is disabled for now
REVERT: 56c21e656b README-linux.md: added libsndio-dev to the package list.
REVERT: 187fea6b1b sndio: Fix for some platforms (Linux, for example) that don't define INFTIM.
REVERT: 429808fe36 emscripten: Fixed compiler warnings about integer to pointer conversions.
REVERT: 0d165785e8 emscripten: Fixed compiling without OpenGL support.
REVERT: 43c717afea kmsdrm: Fixed crashes if allocating memory failed.
REVERT: b444e5785d nacl: Fixed freeing static memory on video quit.
REVERT: 3066aea0db mir: Removed unnecessary function declaration.
REVERT: c10c85a21d Updated generated configure script.
REVERT: fa1b1b92a0 kmsdrm: Fixed compiling without OpenGL support.
REVERT: ac6afcf3ca Fixed compiler warnings about type conversions.
REVERT: 350d9a1b0a psp: Force audio channels to stereo if > 2 channels requested (thanks, Solra!).
REVERT: 7fa2e3e6cb Temporary hack to fix bug 3725 - Call made to glGetString before context creation This breaks bugs 2570, 3145
REVERT: ce95a81949 Added a hint SDL_HINT_TOUCH_MOUSE_EVENTS to control whether touch events generate synthetic mouse events.
REVERT: 116acfc15a kmsdrm: Fix tearing in neverputt/ball
REVERT: 550cd3b5b4 Add support for Saitek P990 Dual Analog Pad
REVERT: 13f724bb38 kmsdrm: Fix leaking SDL_VideoDevice*
REVERT: 071ebfc1d7 Fixed bug 3311 - Broken touch positions with SDL_RenderSetLogicalSize & HIGHDPI on iOS
REVERT: 6459ca6cc0 Fixed bug 3722 - Fall back to xinerama/xvidmode if xrandr modes initialization fails
REVERT: 583a4f42cf Fixed potential free of uninitialized memory (thanks Simon!)
REVERT: 9afeb8f34f Fixed bug 3690 - SDL2 KMS/DRM render context support
REVERT: 6ea5de0896 x11: Make a separate unmapped window to own clipboard selections.
REVERT: cd0346c192 Fixed bug 3697 - Main thread gets stuck on left mouse down
REVERT: 988ff2fc2f Backed out changeset 81e6d0f852fc for bug 3697
REVERT: 8d2f4c623e Fixed bug 3720 - SDL_GL_GetAttribute doesn't check for initialized video driver
REVERT: 59c39daef9 Disable static builds for static analysis.
REVERT: 3fc1531a34 windows-buildbot-zipper.bat: Check the correct path.
REVERT: 9f32a9b1b1 Buildbot should zip up Visual Studio Win64 binaries, too.
REVERT: 3c44f8114f Fixed typos in shape header.
REVERT: 78636e9f5e qnx: Fixed error message.
REVERT: 06d0fac495 aix: Removed unused local variable.
REVERT: b06a75d176 haiku: Changed header paths to be more compatible.
REVERT: 3d389a8ab4 evdev: Fix 'Syscall param ioctl(TIOCLINUX) points to uninitialised byte'
REVERT: 3ed584e7f4 Fixed crash if the WASAPI audio device couldn't be recovered
REVERT: c26f57e9ef Fixed infinite recursion if the WASAPI audio device couldn't be recovered
REVERT: fb87969169 Fixed typo in WASAPI shutdown code
REVERT: a9e6070cda [mir] Same no need to wrap this, which is already being done
REVERT: 320d0d095e [mir] Point to SDL_EGL_UnloadLibrary vs doing it our selfs
REVERT: b6f0f4994e Whoops, forgot to commit the actual fix.  :)
REVERT: 8a882c26bb Disable MMX inline assembly on Clang for now.
REVERT: 1969a981b0 Fixed compiler warnings on QNX.
REVERT: d0f6483e0f Fixed build on older Mac OS X SDKs
REVERT: 8f2891d58c sndio: fixed poll() call (thanks, kdrakehp!).
REVERT: 086e2c8e29 sndio: More improvements to the OpenBSD audio target (thanks, kdrakehp!).
REVERT: 76aba563a5 Fixed bug 3410 - SDL_WINDOW_HIDDEN flag is inaccurate.
REVERT: cccd31e9e2 Fixed bug 3689 - MMX YUV renderer crash
REVERT: 4a27054ed4 Fixed bug 3703 - Missing media keys support on Amazon Fire TV remote control
REVERT: 3243cdc26a Fixed bug 3705 - Add capture support to the sndio backend
REVERT: e1c7eb2a19 iOS: Use modern replacements for deprecated functions, when available.
REVERT: 82bab12137 macOS: Fix compilation when using 10.11 or earlier to build.
REVERT: 62182fed03 macOS: Address more compiler warnings when building with a recent deployment target.
REVERT: 808828a203 macOS: Replace uses of deprecated Cocoa enum names with modern/consistent equivalents.
REVERT: 72a42bbecb Fix a potential crash in macOS 10.7 and earlier.
REVERT: f34170f4a1 macOS: Expose more display modes on retina screens. Fixes an issue found in BZFlag.
REVERT: 72e9d5d392 Added support for an XBox One wired controller for Leo Lännenmäki
REVERT: 4238d9eb0c Fixed bug 3699 - Shaped windows are distorted unless width is divisible by 8
REVERT: a4a9743a98 Fixed bug 3688 - cmake / pthread check related patch proposal
REVERT: 396a81c053 Fixed bug 3609 - Windows build fails due to conflicting types for 'XINPUT_GAMEPAD_EX'
REVERT: 9df90cd84b Fixed bug 3696 - SDL_ShowMessageBox displays different error from intended
REVERT: 0eef8c07fb Fixed bug 3697 - Main thread gets stuck on left mouse down
REVERT: 5d57381107 Updated Visual Studio 2008 project
REVERT: 62b378d322 Updated generated configure script.
REVERT: c8245961bc Fixed typo in log message in testime program.
REVERT: 4e6f38a43b Fixed compiler warning about redundant declaration.
REVERT: 68bbfeaf55 Fixed missing audio entries in configure summary.
REVERT: 10cf50a315 haiku: Fixed compiling without OpenGL support.
REVERT: 9abd5d5785 qnx: Fixed setting a field twice.
REVERT: a40e02b690 audio: trying to pacify static analysis.
REVERT: ab5678844c x11: pass a long to XChangeProperty, not an int.
REVERT: f5d0d8363e power: whoops, that should be "==" not "!=".
REVERT: ecb0c96305 power: Linux /sys/class testing should skip "device" scopes.
REVERT: a3d91f447b aix: Fixed audio debug output.
REVERT: 5ad39d7303 haiku: Fixed using wrong constant for internal error handling.
REVERT: 8394c102dc qnx: Removed unused bootstrap declaration.
REVERT: cc2d4b5582 qnx: Fixed configure script setting wrong variable.
REVERT: 8afa42a3b8 qnx: fixed potential buffer overflow.
REVERT: 14c4ea3981 Support for QNX 7.0 (thanks, Elad!).
REVERT: 35b983c052 haiku: Fixed memory leak if destroying window.
REVERT: ea2b8b379f aix: Fixed compile error.
REVERT: db60eff521 netbsd: Fixed comment.
REVERT: 2ff012ab3d netbsd: Removed unused field.
REVERT: 22ab12da37 netbsd: Fixed compile error.
REVERT: 7941386b35 winrt: Fixed SDL include.
REVERT: 4fc0c3bc05 raspberrypi: Fixed typos in README.
REVERT: ca30563db8 Fixed handling only one event per frame in testshape program.
REVERT: a2d3bf71c1 xinput: use the full range of the haptic motors (thanks, Trent!).
REVERT: 3d08ff5573 haiku: Removed unused internal function.
REVERT: bf7056fe89 pandora: Fixed compiler warning about redefining SDL_REVISION.
REVERT: 0072c1184d haiku: Added support for some values set with SDL_GL_SetAttribute().
REVERT: ea5028f893 haiku: Fixed missing slash in path from SDL_GetPrefPath().
REVERT: 089f483673 pandora: Fixed compile error.
REVERT: 33c14a6441 directfb: Fixed quitting keyboard twice.
REVERT: 754286bf0b nacl: Fixed unnecessary large input text array.
REVERT: cccb905d15 Get the parent of non-SDL-created windows, for completeness
REVERT: 4a3e42f60b Clean up parent window when destroying a window
REVERT: 13a149b1ff Implemented SDL_WINDOW_SKIP_TASKBAR on Windows
REVERT: f97e60a421 linux: Fixed using wrong constant for input text size.
REVERT: 8bc79254aa Fixed SDL_GetWindowWMInfo() returning success on three unsupported platforms.
REVERT: 7f3b12d6e7 audio: Converter now checks a strict list of channels and formats we support.
REVERT: e19ba502b2 Fixed bug 3668 - Overflow of SDL_AudioCVT.filters with some downmixes
REVERT: 96a9da8084 Fixed bug 3670 - CMake IOS haptic error
REVERT: 4755c05d29 linux: Changed internal functions to be static.
REVERT: 4f840470cb directfb: Fixed comment.
REVERT: 852d858c79 Fixed missing error messages for SDL_GetWindowWMInfo().
REVERT: 646f24dcaa directfb: Fixed crash if creating renderer.
REVERT: c49ef40ede directfb: Fixed configure script not finding shared objects for dynamic loading.
REVERT: b8867a8c4b cmake: iOS haptic section was referencing power source code (thanks, Martin!).
REVERT: 4239fb0f6d syswm: prevent buffer overflow if SDL and app have different config headers.
REVERT: cde75a408d Make compile-time assert error messages more clear.
REVERT: 9f10f11edd Expose display refresh rate on iOS/tvOS 10.3+.
REVERT: 45c301c43d jack: removed accidental copy/paste.
REVERT: b39e699691 jack: added capture support.
REVERT: 1c75bb4b03 jack: Move jack_client_t into the audio device instead a global variable.
REVERT: 2cf7b08cc8 jack: Remove BROKEN_MULTI_DEVICE code.
REVERT: 0240079805 jack: Initial shot at a JACK audio target.
REVERT: 6219e4a880 Fixed ignoring first event in testshape program.
REVERT: 9e58330085 Fixed environment variable of SDL_HINT_RENDER_LOGICAL_SIZE_MODE.
REVERT: d4729ed3b8 Removed unused hint includes.
REVERT: 260c6a36e6 Merged Eric Wing's overscan patch.
REVERT: bd55411ea9 Android cmake build fixed to work with the official android gradle plugin
REVERT: e7bb1cbcf1 cmake: don't use /NODEFAULTLIB if we are using the C runtime (thanks, Rob!).
REVERT: 38eb80fb44 windows: Change the default on SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING.
REVERT: 009b6f1b01 windows: Fix compiling of XInput code on newer MinGW installs.
REVERT: fda7c8723a emscripten: listen for pointerlockchange events on the #document specifically.
REVERT: 3c56d45c02 Removed duplicate includes.
REVERT: 3e556aa92e Fixed comments in headers for doxygen output.
REVERT: 2172c1bd41 android: Fixed missing error message for SDL_GetBasePath().
REVERT: ac99b6519a Fixed SDL_GL_SetSwapInterval() returning success on two unsupported platforms.
REVERT: f50bb2f3eb haiku: Fixed missing title bar for windows with decorations.
REVERT: ff2cdde541 android: Moved internal function to new position.
REVERT: afe4058438 Corrected names of header file guards.
REVERT: 168480496d haiku: Changed internal variable to be static.
REVERT: 74a845ca37 Fixed crash if creating textures failed in testshape program.
REVERT: 6fbdd373dc Fixed crash if calling SDL_CreateShapedWindow() on unsupported platforms.
REVERT: fe78534b55 x11: Don't send duplicate events when reconciling the keyboard state
REVERT: f2be7cdc96 test: Makefile.in should copy bitmap and wave files to build directory.
REVERT: 314b1b14e1 linux: Don't crash if fcitx support is requested but unavailable.
REVERT: eee7f7062f Fixed whitespace code style.
REVERT: 06c1c1bfd3 linux: removed IBus_utf8_strlen(), use SDL_utf8strlen() instead.
REVERT: 12ee0a8659 fcitx: removed incompatibly-licensed code.
REVERT: d202066528 stdlib: added SDL_utf8strlen().
REVERT: acf207211f nacl: Fixed crash if allocating memory for audio device failed.
REVERT: 803b5167a7 qnx: Removed unnecessary check for available audio devices.
REVERT: c0695a94d0 qnx: Removed unnecessary call to SDL_zerop() after SDL_calloc().
REVERT: 127ee4bedc haiku: Fixed SDL_SetClipboardText() putting random data in clipboard.
REVERT: 261fa94dcb haiku: Correctly set keyboard focus (thanks, Kai!).
REVERT: bc7c1157ea power: Add Linux org.freedesktop.UPower D-Bus implementation.
REVERT: d74182dd40 linux: Simplify D-Bus interface, remove lots of boilerplate.
REVERT: 779afcb4ab linux: Make system D-Bus connection available (in addition to session).
REVERT: fc4b9f7209 wasapi: properly report init failure if on pre-Vista version of Windows.
REVERT: 3a089295b0 haiku: Fixed SDL_SetClipboardText() allocating too much memory and cutting text.
REVERT: aaa20b5e5a Removed unused errno includes.
REVERT: ac5d0eb674 code style: wrap a single-statement if in braces.
REVERT: d0d830b80a windows: msgboxes should specify a parent HWND if possible (thanks, Ismael!).
REVERT: 90c0840933 Changed messages about not recognized keys to include discourse link.
REVERT: 07ee631e1b emscripten: Fixed compiling on C89 compilers.
REVERT: ce285c916c ios: Fixed math include in demos.
REVERT: 20515a19e9 directfb: Changed internal function to be static.
REVERT: 817d90982b android: Fixed parameter list in function definitions.
REVERT: c8e66972d0 wayland: Fixed freeing memory of SDL_malloc() with plain free().
REVERT: 35e85dd095 Removed unused internal window shape functions.
REVERT: 55c65a1616 audio: rename bsd target to netbsd.
REVERT: 89375f8983 coreaudio: we don't need to track number of allocated audio buffers anymore.
REVERT: 2fbaa741d9 coreaudio: Better handling of audio buffer queue management.
REVERT: f3ea0c0490 Emscripten: Prevent default on arrow keys
REVERT: bc3fe5ac65 Emscripten: fixed incorrect conversion of touch motion events to mouse motion events
REVERT: ada4fe4fe4 coreaudio: looks like we need more like a 10ms buffer minimum, not 50ms.
REVERT: 80b14eeb0a coreaudio: dynamically allocate AudioQueueBuffers.
REVERT: 0a6d2396ee Removed unnecessary call to free() in testoverlay2 program.
REVERT: 51c3597833 Removed unused signal includes and handler in test programs.
REVERT: 3ce045742d Removed redundant mouse clean up on quit for some platforms.
REVERT: f30c59a33f android: add screenSize to AndroidManifest's configChanges (thanks, Daniel!).
REVERT: 453b9b12f4 assert: Better Emscripten support.
REVERT: 82582e428f assert: Check for Clang _and_ GCC, in case they ever drop compatibility.
REVERT: 056fecc8ee assert: allow assertions to work on platforms without threads.
REVERT: 56d5191aaa wasapi: don't mark capture devices as failed for AUDCLNT_S_BUFFER_EMPTY.
REVERT: 93fd0ff629 render: GL_DestroyRender() should activate first.
REVERT: 3b8d55b0bc test: info now reports usable display bounds and DPI (thanks, Eric!).
REVERT: 0d90f0608e Patched to compile on Windows.
REVERT: a48985a568 wasapi: Replace tabs with strings in source code.
REVERT: cba06f7e41 wasapi: Deal with AUDCLNT_S_BUFFER_EMPTY when flushing audio device.
REVERT: 6fe5b479e5 audio: One more callbackspec fix (thanks, Simon!).
REVERT: 0c453753b8 Fixed restoring a window that was maximized then minimized, then restored.
REVERT: c56254daa7 SDL - add SDL_WINDOW_VULKAN and make Android_CreateWindow only create an EGLSurface when SDL_WINDOW_VULKAN is not present.  This makes it so the ANativeWindow* can be used with vkCreateAndroidSurfaceKHR, otherwise it will fail because having both an EGLSurface and VkSurfaceKHR attached to a window is not allowed according to the Vulkan spec:
REVERT: 1e42a2d052 Added missing path in porting README.
REVERT: 06cf9fb38f directfb: Fixed compiler warnings about undefined functions.
REVERT: 28f72fabd1 emscripten: Fixed not removing pointer lock event callback.
REVERT: 0496e42686 emscripten: Changed internal functions to be static.
REVERT: 72e6ca71cb Fixed warnings about shadowed global variable.
REVERT: a8cb1dd8f2 directfb: Removed duplicate comment.
REVERT: b30d88aa6e directfb: Fixed typo in log message.
REVERT: 485392625c directfb: Fixed compiler warnings about unused variables.
REVERT: 1cbb5b564a audio: fixed more "spec" references that should have been "callbackspec".
REVERT: 176589dd30 Fixed build error on Linux
REVERT: b3441c1e05 Added support for mixing Qt and SDL on iOS
REVERT: 0c784def24 haiku: Fixed crash on quit if max number of joysticks was connected.
REVERT: 8e8df0c3df haiku: Changed internal function to be static.
REVERT: dff6464432 haiku: Fixed unlocking clipboard twice.
REVERT: 8bc10146da haiku: Fixed comment.
REVERT: 6c0bcf5f18 mir: Fixed memory leak if system cursor id is unknown.
REVERT: 1a8b8e40fe emscripten: Fixed return type in event callback declaration.
REVERT: c10bc61b10 Fixed comment typo
REVERT: 85b718d0de iOS: Only mark interrupted audio devices as non-interrupted if AudioQueueStart is successful.
REVERT: 0da7582ab7 cocoa: Don't crash on messagebox keypress without a successful SDL_Init().
REVERT: 98dc082ffa Fixed another AC_DEFINE.
REVERT: 317fd5911e Fixed configure script.
REVERT: 2c4f84ff4c haiku: Various fixes from haikuports.
REVERT: 72ef56d662 windows: Changed six internal functions to be static.
REVERT: cbda2a7967 Removed unused field in loopwavequeue program.
REVERT: 12508cfbdb Added Steam Controller mappings for Linux and iOS
REVERT: 8be92c99ed audio: another wrong struct that causes NULL pointer crash (thanks, Simon!).
REVERT: 2294caeff4 windows: Add SDL_WINDOW_ALWAYS_ON_TOP support.
REVERT: c5ad6d88b0 audio: Fix audio queue functions to use new spec structure.
REVERT: 510f935df1 emscripten: keep track of pointer lock losses and maybe regrab pointer later.
REVERT: d2991813c9 Fix crash in SDL audio thread, by Juha Kuikka
REVERT: d8af5b0d60 atomic: Patched to compile on Android.
REVERT: 0c98a5faac atomic: favor compiler intrinsics for compare-and-swap over macOS APIs.
REVERT: 3cab758c71 atomic: let Clang always use atomic_load_n if available.
REVERT: 247b447a14 mir: Fixed typo in error messages.
REVERT: 32276d5f47 linux: Changed two variables to be static.
REVERT: 763d2f1efb ios: Fixed compiler warnings about unused variables in demo.
REVERT: 8176e00e04 android: More robust fix for screen locking in landscape (thanks, Sylvain!).
REVERT: 34cb67f58f Added support for the Cyborg V.3 Rumble Pad and the Mad Catz FightPad PRO
REVERT: 3b03af8b7e Implemented Linux joystick blacklist Based on https://raw.githubusercontent.com/denilsonsa/udev-joystick-blacklist/master/generate_rules.py
REVERT: 08ebd5dcf9 Fix divide-by-zero when videodata->ime_candpgsize is zero.  We're seeing this happen in Dota in the wild.
REVERT: 55c42e74ba SDL - attempt to fix https://github.com/ValveSoftware/Dota-2/issues/1199 of mouse not locking in Dota. This fix is proposed by Ryan Gordon (increase timeout in X11_SetWindowGrab from 250ms to 5000ms).  I'm going to integrate to source2 and ship it to dota customers.  If it works, SamL will upsteam it to SDL.
REVERT: eb796bb65e Added support for a number of game controllers, including the Nintendo Switch Pro Controller
REVERT: 172f53d4b1 Fixed bug 1859 - No SDL_VIDEORESIZE event generated when the window manager sets the window size.
REVERT: bbf7493086 PSP: Fixed error messages.
REVERT: 126bf5843b Mir: Changed two internal functions to be static.
REVERT: 4262b63ea9 Emscripten: Simplified option name in build script and README.
REVERT: ec668b9e23 Updated generated configure script.
REVERT: 856a039457 Fixed typos and documentation in haptic header file.
REVERT: 87bc695b2d Backing out broken change from previous commit.
REVERT: 0e9a459503 Intentionally breaking buildbot to test email server change.
REVERT: 15aac37097 README-hg.md: Updated main Mercurial website.
REVERT: cd2c9aa359 BUGS.txt: Changed mailing list link to discourse.libsdl.org.
REVERT: db1d484721 android: fix wrong events when locking device in landscape (thanks, Joshua!).
REVERT: b666f8701e __atomic_load_n() appears to be available in GCC 5 but not GCC 4
REVERT: 85f43ff246 wasapi: deal with default device changes, and more robust failure recovery.
REVERT: 3a641f7b0b wasapi: Handle lost audio device endpoints.
REVERT: 5978bddd06 Patched to compile on some platforms.
REVERT: 703deb80e2 Use GCC's atomic loads in SDL_AtomicGet and SDL_AtomicGetPtr
REVERT: 2573690129 Removed newlines from error messages.
REVERT: e9a74e397e Updated axis/button mapping for Dualshock 3, for upcoming Sony driver changes
REVERT: 03f2036f17 iOS: Fixed compiling template on C89 compilers.
REVERT: 5113f098ed Removed unused constant in testgesture program.
REVERT: b085fcb6d9 Updated file name in porting README.
REVERT: 01812a0ca5 mir: Set the max/min w/h vs just setting the window w/h
REVERT: 4fdfeb9f42 Backed out changeset 90e5cb81c483 - testaudiocapture.c already does what we want
REVERT: 8b764c2a46 Added an audio recording test program
REVERT: fbdef053be Compile fix for android.
REVERT: c700579448 ALSA driver improvements: * alsa hotplug thread is low priority * give a chance for other threads to catch up when audio playback is not progressing * use nonblocking for alsa audio capture   There is a bug with SDL hanging when an audio capture USB device is removed, because poll never returns
REVERT: 89e73e7c17 differentiate between capture / playback audio thread names
REVERT: 47e7307c38 Added an API to get the joystick instance ID before opening the device: SDL_JoystickGetDeviceInstanceID()
REVERT: 46a750cf1d Fixed tabs to spaces
REVERT: c0a9b93331 Added support to loopwave for hotplugging audio devices
REVERT: 68951fdb4b Fixed compile error with gcc -std=c99
REVERT: 17ff797d83 Fixed warning about implicit conversion in controllermap program.
REVERT: 26916c278c Mir: Fixed crash if creating default cursor failed.
REVERT: c57b6def21 Linux: Fixed error message.
REVERT: f9c06200b0 video: Don't compile isAtLeastGL3() if we don't have OpenGL support _at all_.
REVERT: 82d0a04881 Fix some more compiler warnings on armcc.
REVERT: 04142af157 Some patches to make SDL compile with armcc (ARM's C compiler).
REVERT: 86906a708a mistake: Revert the files that I did not mean to commit
REVERT: b2e704d70c * Some refactoring and bug fixes. Thanks Michał Kuchta!
REVERT: 400fc682f0 raspberrypi: RPI_Destroy() should free the SDL_VideoDevice and its driverdata.
REVERT: c4a4e36e88 mir: Get ready for Mir 1.0, clean up deprecations. Thanks Michał Kuchta!
REVERT: 2cc7158cb4 audio: clarified what SDL_AudioSpec::samples is, removed note about power of 2.
REVERT: 5d01b5835b Fixed comment style.
REVERT: dea6213bed Updated generated configure script.
REVERT: 45e302d5bc Patched to compile on C89 compilers.
REVERT: af08cc2cf8 configure: Cygwin and MingW should try to use -Wdeclaration-after-statement.
REVERT: ca264fd374 audio: Try to keep callbacks firing at normal pace when device is lost.
REVERT: 844a3da31c Removed a bunch of unnecessary #ifdefs.
REVERT: 0e1aaaeceb audio: run the audio callback even if device was lost.
REVERT: 80cffbfbb1 audio: Make sure the disk and dummy targets are the last ones we try to init.
REVERT: 9181f3f80f WinRT: removed Windows 8.0 from build-bot + NuGet package creation scripts
REVERT: ba71c20914 WinRT: removed buildbot debug code, pending further research
REVERT: b2e9ec7749 WinRT: more buildbot debug code
REVERT: d144271806 WinRT: added code to help debug a buildbot error
REVERT: b0ea193974 cmake: add WASAPI audio target to the build (thanks, Martin!).
REVERT: 6807260aa0 Stop CoreAudio from doing expensive audio rate conversion
REVERT: 8c7c505d4d Added config for the Razer Wildcat on Mac OS X
REVERT: cc640593fa Updated iOS fat build
REVERT: c1277f268e Updated config headers to override the base SDL_config.h if both are included
REVERT: d4b70bb32a Fixed warnings if compiling loopwave programs with C++.
REVERT: 20be81a7ba Updated library name in header file.
REVERT: dfc88c07e4 Fixed comment.
REVERT: aa71a836f3 Added support for the Razer Wildcat on Linux
REVERT: 763361269e Emscripten: implement custom cursors
REVERT: ae0a253e82 Emscripten: refactor cursor handling
REVERT: 4229ae8220 Remove link to emscripten tests Not updated since early port. Also stopped working when Dropbox stopped allowing HTML to be parsed.
REVERT: 579a3245b1 Emscripten: only update pixel ratio if HiDPI is enabled
REVERT: 12a722b4ba audio: Added basic WAVE_FORMAT_EXTENSIBLE support to .wav loader.
REVERT: acfd5f20dd More HTTPS doc tweaks.
REVERT: ed6c776eb0 More HTTPS changes in the documentation.
REVERT: 927b70a3ad readme: more HTTPS changes.
REVERT: d7c5510795 readme: correct webpage URL to use HTTPS.
REVERT: 40bb6c3811 Patched to compile on Windows.
REVERT: d862693a74 wasapi: Initial WASAPI support, for Windows Vista and later.
REVERT: e0bd890446 stdlib: Fixed crash on SDL_snprintf("%s", NULL).
REVERT: 27741f8136 thread: Don't use SetThreadDescription on WinRT right now.
REVERT: 488c32369f windows: Try to unify all the GUID comparison code into a core helper function.
REVERT: 5f815aef8e audio: Don't wrap bootstrap declarations in preprocessor macros.
REVERT: df1251ae4c audio: SDL_AudioStream's *_sample_frame_size should be in bytes, not bits.
REVERT: 554e4ad86b audio: Added a ThreadDeinit() method to match ThreadInit.
REVERT: 923867b8c8 Fixed bug 3584 - Small stack size for audio callback thread
REVERT: a59fecb26f Fixed bug 3583 - X11 touch device can be permanently lost
REVERT: 121cd476bc Make sure the memory barrier functions are always available, and now they are implemented on Android __ARM_ARCH_5TE__
REVERT: bb16c71b71 Fixed warning in Android build
REVERT: 1eb402365e Log the error returned by XAudio2Create()
REVERT: 6fb11d8e35 Windows: Fixed warning about unused variable.
REVERT: 0ab0fb445c Fixed typo in log message.
REVERT: 19671bbea6 Fixed build on Apple TV
REVERT: 58ac3b20ee Remember XInput controllers that we've already seen, so when the raw device list changes we don't assign the old device to the new XInput userid. This isn't perfect, but at least we won't report the same device twice.
REVERT: ec96964900 Fixed bug 3577 - Can't set minimal size (message box appears instead) if maximal size wasn't declared (i.e. unlimited)
REVERT: 833a605067 Fixed whitespace
REVERT: 9e5d3b52f5 Added support for the Saitek Pro Flight X-56 Rhino
REVERT: 49e3e7f731 Added support for the HOTAS Warthog throttle
REVERT: eb839a6e92 Added the HOTAS Warthog as a flight stick
REVERT: d648486636 Switch stderr output to SDL_Log() so it shows up on Windows and mobile devices
REVERT: e11f2ffc26 Fixed compiler warning about comma at end of enum.
REVERT: 99ebb7ea43 Fixed Windows build
REVERT: 1a1e91abf3 Fixed bug 3550 - No mouse move messages send while over the titlebar and windows edges
REVERT: b814ea7642 Use a stronger X font definition for X11_MessageBox on UTF-8
REVERT: c271bbc006 Fixed bug 3569 - GL_UpdateViewport leaves PROJECTION matrix selected
REVERT: e783b2befc Return an error if trying to set a window minimum size larger than the maximum size, or vice versa
REVERT: 7d52a189f3 Sorted controller entries
REVERT: ed69076385 Add a mapping for Xbox Wireless Controllers running old firmware
REVERT: ce48705f00 windows: first shot at naming threads with SetThreadDescription().
REVERT: 1db29483c5 Added Thrustmaster Wheel FFB entry to the list of wheels
REVERT: 83061d091e Added an API to get the type of a connected joystick
REVERT: e4d57428cf Add gamecontrollerdb mapping for Xbox One S on Mac
REVERT: 32b32b5180 Darwin: fix detection of Xbox One S controller
REVERT: 4fad2b3b61 Generalized the audio resampling hint for other resampling methods in the future
REVERT: eeec5705e0 audio: libsamplerate can't resample in-place; make space for a copy if needed.
REVERT: 088da5be10 configure: report libsamplerate support status.
REVERT: 0dc13f56ec audio: Offer a hint for libsamplerate quality/speed tradeoff.
REVERT: d756e1486e CMake: fixed logic error in setting -mfpmath=387.
REVERT: f521e5b213 configure.in: Check for sse3 too when setting -mfpmath=387.
REVERT: dc15193eb5 audio: Fix static analysis concerns about a dead assignment.
REVERT: e04f23c7ea Added a note about aligning SDL_AudioCVT data.
REVERT: ca2ab5780a audio: Make sure SDL_AudioStream's work buffer is 16-byte aligned, for SIMD.
REVERT: 30238b8676 audio: Streams now resample in-place. Removed second allocated buffer.
REVERT: 2471f581c6 audio: allow stereo Sint16 resampling fast path in SDL_AudioStream.
REVERT: 6b1e0a7cd2 audio: Fixed off-by-one error in upsampling.
REVERT: 8850103510 audio: Resampler now special-cases stereo and mono processing.
REVERT: c869f0418a audio: Fixed incorrect pointer in SDL_ResampleCVT_si16_c2().
REVERT: 102165d126 audio: Fixed copy/paste bug in float32->sint16/SSE2 scalar leftover code.
REVERT: 9e20246b59 audio: Fix same bug as last commit, but for _mm_bslli_si128 vs _mm_slli_si128.
REVERT: 0578cb7935 audio: use _mm_srli_si128 instead of _mm_bsrli_si128.
REVERT: 6e1edca849 audio: Wired up new SSE code to build system.
REVERT: c46db55d26 audio: Special case for resampling stereo AUDIO_S16SYS audio data.
REVERT: 50bb6473ed audio: Make the simple resampler operate in-place.
REVERT: 6ceacbdc4a audio: Added SSE3 implementation of SDL_ConvertStereoToMono().
REVERT: 8af7561815 audio: don't cast to double in SDL_ConvertStereoToMono().
REVERT: 34fe29bc62 audio: removed conditional from simple resampler's inner loop.
REVERT: 522a5c6f6f Haiku: Fixed memory leak if creating framebuffer failed.
REVERT: 91783e4515 WinRT: Fixed typo in README.
REVERT: bd9158e9ed Haiku: Removed unused variable.
REVERT: fecb6f7178 Fixed compiler warning about returning a value in a void function.
REVERT: d2bcd9e6eb Fixed copyright symbol in testgles2 program.
REVERT: b5f23df6a8 Fixed mapping the PG-9021 which, on Linux, emits a button partway through the trigger press along with axis motion all along the pull
REVERT: 88fd1d721d Added support for the 8Bitdo Zero GamePad
REVERT: e8a0188c9f Fixed mingw64 32-bit build, which does have the correct structure definitions
REVERT: 2b509445d8 Removed unused variable
REVERT: 2129c44985 Fixed bug 3533 - Enumeration joystick devices omitted during directinput enumeration
REVERT: 9413c74045 Fixed bug 3561 - Re-acquire device before playing effects if needed.
REVERT: 101fc7428b Fixed building with mingw32
REVERT: adb1d6888f audio: Several fixes to "simple" resampler (thanks, Vitaly!).
REVERT: 61e4e371fa Use icon width * sizeof(Uint32) instead of icon pitch when copying to icon resource data
REVERT: f025391f8c audio: Implemented SIMD support for audio data type converters.
REVERT: c40d568133 audio: Some fixes to the audio data type converter code.
REVERT: f8d3d73cc9 Fixed comments.
REVERT: fb2c2f5703 Fixed doxygen warning and linking of function names.
REVERT: 741322863f Changed Bugzilla link in README.md to HTTPS like in BUGS.txt.
REVERT: f5eb780fe9 Fixed warnings about missing initializers in testoverlay2 program.
REVERT: db23e877e1 Fixed comment
REVERT: 65283bda93 fixed SENSOR_LANDSCAPE and SENSOR_PORTRAIT mode false nativeResume bug
REVERT: c5d89dc186 We don't actually build with the Xt library
REVERT: d6742bbdf5 Fixed bugs 2570, 3145, improved OpenGL ES context support on Windows and X11
REVERT: 8eb437d4e7 Fixed bug 3552 - Building SDL in release mode fails under VS 2017 RC
REVERT: 27737db314 audio: Don't ever use libsamplerate in the SDL_AudioCVT codepath.
REVERT: 240e448d41 testresample: write correct length to the .wav header.
REVERT: 86f6ab1b62 We only need the first few keymaps corresponding to the following constants: K_NORMTAB, K_SHIFTTAB, K_ALTTAB, K_ALTSHIFTTAB
REVERT: 435a9e75c7 Fixed spacing
REVERT: b59bd003d7 Fixed bug 3100 - SetSwapInterval should now be enabled for ANGLE/EGL
REVERT: 2f283c2beb audio: Replaced older resamplers in SDL_AudioCVT with the new ones.
REVERT: 575a388ff4 audio: Patched to compile if linking directly to libsamplerate.
REVERT: 9558d55a84 Implemented full evdev keyboard text support This is based on the Linux kernel driver, and has fallback mapping tables in case we aren't connected to a virtual terminal.
REVERT: def09bbf54 Fixed bug 3545 - SDL_EVDEV_do_text_input() may be too eager to find error cases
REVERT: 5913d167bd Removed console check, let the kernel decide whether muting is appropriate on this terminal. We don't fail the init if we can't mute the terminal (we might be running from ssh, or on a system without virtual terminals, etc.)
REVERT: be34ee410d Check the return value of SDL_EVDEV_Init()
REVERT: 9268415b53 audio: Improvements in channel conversion code.
REVERT: ba27cf3fc1 audio: Patched to compile with libsamplerate support (again).
REVERT: d8f718f75d audio: Patched to compile with libsamplerate support.
REVERT: f904fecce3 audio: libsamplerate loading now happens once at init time.
REVERT: d81fb0038f Fixed coding style on a function signature.
REVERT: c5c2526b7a README-linux: added notes about libsamplerate.
REVERT: 5f89fe73fa Fixed attempting to dynamically load libsamplerate when shared object loading is disabled. Thanks to Ozkan Sezer for pointing this out
REVERT: d01010338e Fixed bug 3304 - Android black screen on resume
REVERT: 4f3c7c976f SDL_evdev.c: fix building against old kernel headers (K_OFF may not be defined.)
REVERT: 9414004279 Don't fail if we can't open the tty, this can be a legitimate use case.
REVERT: 472b34a08c Added mappings for the 8Bitdo NES30 Pro and iBuffalo SNES Controller Also swapped the Wii U Pro controller button mappings to position instead of label, as emulators expect from XBox controllers.
REVERT: 1720fdee1d Fixed a bunch of compiler warnings in the test code.
REVERT: 021504c71a x11: make the X11 target work on macOS with Xquartz.
REVERT: 7b6965f75b Replaced a few single-line "//" comments.
REVERT: 58f6b7d511 Really fixed blit issue for capehill
REVERT: 294906558e Fixed bug 3469 - Keypresses leak to the console with 2.0.5
REVERT: 5a0aef995a Added configure and cmake support for libsamplerate
REVERT: 8ab0ba202d audio: Don't call a NULL function pointer when clearing audio streams.
REVERT: cbb4c1dc3b Better fix for static analysis issue in SDL_DestroyRenderer().
REVERT: 29c6f748df emscripten-buildbot.sh: let user override default SDKDIR.
REVERT: 376e6fa6f2 Added support for using libsamplerate to do audio resampling
REVERT: b2161da809 Fixed confusion between Ryan's new audio stream and the audio buffer we were calling stream in the callback
REVERT: 3cbab22892 Just roll back the entire portion of the commit from b6ec7005ca15 which caused bug 3544 until we figure out what the right static analysis fix is.
REVERT: 70c33e0441 audio: Add an assert to make sure non-streaming audio uses good buffer sizes.
REVERT: 17e16c2e64 Fixed bug 3544 - Memory freeing bug in SDL_DestroyRenderer/SDL_DestroyTexture
REVERT: 82b913d92c haiku: Patched to compile.
REVERT: 2373e22054 Don't do any audio conversion if none is necessary
REVERT: a215c06f22 Fixed bug 3546 - SDL_EVDEV_is_console() uses type of wrong size when calling ioctl
REVERT: d8788062d4 audio: rename fake_stream to work_buffer.
REVERT: 29fb138f51 audio: Fixed SDL_AudioStreamGet() function parameters.
REVERT: e93c4d4639 naclaudio: Untested attempt to migrate to SDL_AudioStream.
REVERT: f6a4c94ecc haikuaudio: Untested attempt to get this working with SDL_AudioStream.
REVERT: b2691868b7 emscriptenaudio: don't get stuck in infinite loop if SDL_AudioStreamPut fails.
REVERT: bd307581b6 emscriptenaudio: Reworked to use SDL_AudioStream.
REVERT: 591dff71c2 Fixed a few compiler warnings.
REVERT: d629ac2d67 Patched to compile on some compilers.
REVERT: 70608017eb audio: Added SDL_AudioStream. Non-power-of-two resampling now works!
REVERT: 02fd7b4a1e audio: More effort to improve and simplify audio resamplers.
REVERT: 884507a69e diskaudio: Use SDL_Log, not fprintf.
REVERT: 4aefa49d72 Fixed signedness issue when blitting on a big endian platform, as reported by capehill For example, if sR is 0 and dR is 255, we will get -255*sA casted to an unsigned value. Basically results are quite large numbers instead of the expected 0-255 range.
REVERT: 25b315f121 Fixed build warning on Haiku
REVERT: 724ff3b29e Added SDL_JoystickGetAxisInitialState() to get a joystick axis' initial value. This is useful for controller mapping programs to determine an axis' zero state
REVERT: c52ae60869 Assume D-pad or thumbstick style axes are centered at 0
REVERT: 72e436f178 Added mappings for several GameCube and SNES controllers
REVERT: e1ea1486a3 Added the NEXT SNES Controller to the list of zero-centered joysticks
REVERT: c67ac27dc9 Increased joystick jitter tolerance for PS3 controllers
REVERT: 03a927b4e3 Some controllers have trouble getting out to 20000
REVERT: a63f4a2448 x11: deal with xrandr display size in millimeters being zero.
REVERT: 40924be014 Fixed binding the D-pad on some Super NES style controllers Fixed a case where partial trigger pull could be bound to another button
REVERT: 2b49698e2b Fixed bug 3519 - SDL_GetDisplayMode fails to report mode.format when using Wayland backend
REVERT: 7949864901 Added SDL_ReserveSpaceInDataQueue() to make space without copying data.
REVERT: dc9605265c Fixed bug 3539 - SDL2, missing MIR LDFLAGS
REVERT: a3acad6d63 Fixed bug 3529 - SDL_EGL_UnloadLibrary is not called at all on SDL_Quit
REVERT: 13666b37a0 improved SDL_GetError() output generated by EGL code
REVERT: ca6961fa33 Run sed in binary mode so we don't have to worry about fixing line endings
REVERT: 46f2d195d1 Fixed typo in copyright update script
REVERT: 1b24bfad38 Updated copyright for 2017
REVERT: 818a882d93 Convert some files back into DOS line endings after updating copyright
REVERT: ce62fef153 We don't currently support blitting to < 8 bpp surfaces, return an error instead of corrupting memory in that case.
REVERT: 0ed729faa8 Fixed bug 3535 - Misplaced comment #if/#endif closure comment
REVERT: c2ab4c5a76 Fixed bug 3531 - internal SDL_vsnprintf implementation access memory outside given buffer ranges
REVERT: d792e20444 Fixed bug 3541 - DisplayIndex out of bounds in SDL_SetWindowPosition
REVERT: 9fa61fb93c Fixed warning and missing animation delay in testoverlay2 program.
REVERT: c8d8045c0d Fixed compiling of testgamecontroller program with C++.
REVERT: f848ed47c9 Fixed warning about unused variable in controllermap program.
REVERT: 1a24600b5f Fixed crash if allocating memory for game controller failed.
REVERT: c47f2e6558 Added documentation for the game controller axis values
REVERT: 899ab7a827 Make sure we go all the way back (within the XBox controller dead zone) to prevent accidentally binding axes inverted
REVERT: df32741ff4 Fixed comment style
REVERT: c6e0424049 Split controller axes into positive and negative sides so each can be bound independently. Using this a D-Pad can be mapped to a thumbstick and vice versa. Also added support for inverted axes, improving trigger binding support
REVERT: 8f0a0028e6 x11: Don't loop forever if the X server refuses a pointer grab.
REVERT: f6b7416484 Don't use pushd/popd in autogen.sh; Ubuntu's /bin/sh doesn't support it.
REVERT: 7d8c7416d1 Fixed bug 3517 - Compiler warnings with gcc -Wstrict-prototypes
REVERT: fd24da5102 Fixed bug 3516 - fix build on illumos
REVERT: e9d98b9a24 Mac: back out commit e5b39f4935c8. It causes significant overhead on many GPUs.
REVERT: b18155c687 Mac: Fix over-saturated colors on P3 displays (e.g. the 2016 MBPs).
REVERT: 5b6d7c7e78 Windows: Fixed compile error.
REVERT: 055a0ceda0 Corrected header file guard comments.
REVERT: 0cbadea01b Removed debug print statements
REVERT: d5288a2098 Fixed compile errors on various platforms
REVERT: 5ea622c38f Fixed issue where the throttle and other axes on racing wheels don't start at zero and show up as immediate input when the wheel is turned for the first time. Wait until they are actually moved before generating input from them.
REVERT: 88c9dd30ad Fixed bus error when converting 16-bit to float for non-integral-multiple sample rates
REVERT: 951286cc26 audio: fixed one more incorrectly-hardcoded value in the resamplers.
REVERT: 52099a12a7 tvOS: Expose remote swipe gestures as arrow key presses (thanks oviano!)
REVERT: 8034496cbf iOS bug #3377: work around bugs in some third party iOS libraries (e.g. Google admob) where they assume the optional UIApplicationDelegate ‘window’ property always exists and will crash if it doesn’t.
REVERT: cb71dacbc9 audio: fixed arbitrary upsampling (thanks, Sylvain!).
REVERT: 4db75ddb41 Fixed hotplug with more than one device in testjoystick program.
REVERT: 1a614928de Fixed warning about unused variable in controllermap program.
REVERT: 9b86fb09cb Fixed handling joysticks that send multiple events for a single control, e.g. both a button and axis event for a trigger. Tested with the 8Bitdo NES30 Pro on Linux
REVERT: e164983dbd Fixed crash if there are multiple joysticks closed during the joystick update loop
REVERT: 53af784077 windows: add whitespace to fix macro preprocessing issue (thanks, Sven!).
REVERT: f70131004a Fixed updated return value for SDL_GL_SwapWindow()
REVERT: 4f1d76f685 Fixed edid parsing code for older gcc compilers
REVERT: 192fc4cdb5 Fixed ABI, don't change the return type of SDL_GL_SwapWindow()
REVERT: cd2ede0038 Fixed creating a renderer on the dummy driver on Mac OS X
REVERT: 8a92aa190f Fixed crash when creating a dummy window on Mac OS X
REVERT: bfc9b8c565 WinRT: build fixes
REVERT: 4ac0f03b8b PP_OK isn't available in the NaCl build environment on buildbot. It's defined as 0
REVERT: 311313d874 Fixed a bunch of SwapWindow calls that needed their return value updated
REVERT: dc3839db98 Fixed X11 OpenGL ES build
REVERT: cb997e1997 Fixed build for EGL platforms
REVERT: a4c48157ef Added support for the XiaoMi Game Controller
REVERT: 9fc407dda0 Only print out the controller mappings if we're not going to test a controller
REVERT: d77e4ac317 Fixed bug 3513 - SDL_GL_SwapWindow does not return error status
REVERT: ae84e0ada2 Fixed bug 3512 - Memory leak of SDL_Joystick axes_zero array
REVERT: 6ece64092f Protect the game controller API the same way the joystick API is protected from multi-threaded access
REVERT: 400ed31043 Added the guide button for the NVIDIA Shield Controller
REVERT: 1bc9b5f358 Removed unneeded warning when running from Visual Studio
REVERT: 1886965160 Added support for XBox One controllers on Mac OS X, using the driver at: https://github.com/360Controller/360Controller/releases
REVERT: 638cb97a63 xcode: Make sure SDL_dataqueue sources are included in all targets.
REVERT: 6b6da8150e xcode: updated macOS and iOS project files with SDL_dataqueue sources.
REVERT: 887f7da383 audio: Fixed compiler warnings.
REVERT: 1f9dbc5f66 Refactored the audio queueing code to a generic SDL_DataQueue interface.
REVERT: a43f4155bb Added SDL_VARIABLE_LENGTH_ARRAY so this #ifdef is localized to one place.
REVERT: 5ab2eefa0d Fixed bug 3508 - variably modified ‘SDL_dummy_size’ at file scope in test/testatomic.c
REVERT: 89f58f3352 Fixed SDL always being built because of missing headers in the project.
REVERT: 48558b6b2a Added support for the Hori Fighting Commander 4
REVERT: a5949480a1 Fixed crash at startup
REVERT: 97a8eabaea Added Linux mapping for the DragonRise Inc. Generic USB Joystick
REVERT: 476ea07d1b Fixed compile warning on Visual Studio
REVERT: 065ab77fd3 Added SDL_HINT_MOUSE_NORMAL_SPEED_SCALE and SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE to scale the speed of the mouse. This currently doesn't affect absolute motion, which would need to be implemented on each windowing system so the cursor matches the reported mouse coordinates.
REVERT: d1b2ffe485 Fixed missing prototypes on Android, patch from Sylvain
REVERT: 27eff4b547 Fixed bug 3305 - Fixed TextInput status when the keyboard was dismissed with the dismiss key on the iPad
REVERT: 55695ad162 Added Linux controller mapping for the Nostromo n45 Dual Analog Gamepad
REVERT: 36e2a768d4 Fixed bug 3503 - osx builds don't run on 10.6 as of rev. 10651
REVERT: 8ee02fe216 Fixed bug 3340 - SDL_BlitScaled causes access violation in some cases.
REVERT: d56f4e599f Fixed the controller mappings for the OUYA controller
REVERT: 9b7dc58b03 Added PS4 controller entries for the new Sony HID driver https://git.kernel.org/cgit/linux/kernel/git/jikos/hid.git/log/?h=for-4.10/sony
REVERT: 98f3c67dae Added support for the DS4 USB Wireless Adaptor
REVERT: bcb68c55cf Updated documentation in header file.
REVERT: a5cd9d9fa1 Fixed warning about storing an unused value.
REVERT: 428b0082bf Add the controller mappings to the linked list in order
REVERT: a31f3d2c25 Added an API to iterate over game controller mappings
REVERT: 1e59d959f0 Avoid conflicts with multiple versions of udev by first trying the library that is linked with the executable, if any, and then picking the one that is in the build environment. This fixes joystick detection for applications using the Steam Linux Runtime
REVERT: 070b6b0d93 Made it safe to update joysticks from multiple threads, fixes crash in Steam
REVERT: 7000baacf0 Added fcitx-libs-dev to debian build dependencies, for Fcitx IME support
REVERT: e10c0baa5f Added debian changelog entry for SDL 2.0.5
REVERT: b91bde8a00 once more - iterating on this is annoying
REVERT: 7e7f8e1aa6 if the tap is explicitly disabled by code or by another program, let it remain disabled! this is different than the automatic "event tap was too slow therefore we stopped processing it" timeout which we want to re-enable after.
REVERT: 5ffd534bc4 tap should default to disabled, not enabled
REVERT: fabb4c5e9e SDL for Mac - only enable global event tap when actually necessary (app has focus and has requested relative mouse mode or has asked for a mouse grab). in other situations the event tap impacts system performance and battery life with no benefit.
REVERT: 26b4eb69b0 checker-buildbot.sh: Disable warnings that aren't explicitly static analysis.
REVERT: 11fb45ffe8 macOS: removed deprecated UpdateSystemActivity() call.
REVERT: 893f89bb1c Fixed all known static analysis bugs, with checker-279 on macOS.
REVERT: 5825b773fd checker-buildbot.sh: Upgraded to checker-279, deal with zero bugs detected.
REVERT: aea1a556ac Guess the USB VID/PID of XInput devices
REVERT: 3476202739 We are comparing 16-bit values
REVERT: 7fe9264adf Pacify some GCC strict-aliasing compiler warnings.
REVERT: fafc8c773a Fixed XBox One S controller mapping for firmware revision 3.1.1221.0, including back and guide buttons
REVERT: 87e88cc821 Still more compiler warning fixes for various platforms.
REVERT: 95f124004f Fixed more compiler warnings.
REVERT: ffb9b59349 directsound: fixed compiler warnings.
REVERT: c0bf85bee4 The XBox One S controller sends keys outside the standard joystick button range
REVERT: abf96e098e Added mapping for XBox One S controller firmware version 3.1.1221.0
REVERT: 72556748d9 cpuinfo: fix SDL_HasNEON() on older iOS devices, fixed C++ comment.
REVERT: 91e0a1d094 Renaming of guard header names to quiet -Wreserved-id-macro Patch contributed by Sylvain
REVERT: d391ff39ac Fixed warning building under mingw, patch contributed by Sylvain
REVERT: ad2c01ad94 Fixed a few warnings that show up with -Wdocumentation and -Wdocumentation-unknown-command, patch contributed by Sylvain
REVERT: 2bcda74ef5 Fixed bug 3494 - SDL_test_fuzzer.c fails compile since r10604
REVERT: 55a3debc38 Fixed bug 3486 - Can't get HINSTANCE of my window
REVERT: ede80bbcc1 Updated configure script.
REVERT: 0fac39e6db Fixed two memory leaks if added game controller mapping has lower priority.
REVERT: f7a878377f Windows: Fixed crash if using current SDL_GetWindowWMInfo() from older programs.
REVERT: cdb4ca7951 Wayland: Fixed file descriptor leaks if device was not initialized.
REVERT: b74252c4ea Emscripten: Fixed handling of deactivated mouse events.
REVERT: 8daa33191f cpuinfo: patched to compile for getauxval() path.
REVERT: f2d88cb57a cpuinfo: more patching for Android. Legacy platform targets are a pain.
REVERT: 3068b91064 cpuinfo: Patched to compile on Android, Linux.
REVERT: e643f6ed66 cpuinfo: patched to compile.
REVERT: 10560ea11e cpuinfo: more work on SDL_HasNEON().
REVERT: d21e46ca20 cpuinfo: silence compiler warnings on non-Intel CPU architectures.
REVERT: 14b0588845 cpuinfo: disable NEON detection on Android for now.
REVERT: 80f426217c cpuinfo: more robust ARM preprocessor checks.
REVERT: 79c41b1692 cpuinfo: first attempt at SDL_HasNEON() implementation.
REVERT: 84a36758a4 cpuinfo: Removed code duplication, cached CPUID details.
REVERT: 572929c26a Wayland: Fixed memory leak if output retrieval failed.
REVERT: 2a8a7f92b7 Fixed empty parameter list in signatures of internal functions.
REVERT: f69c47aaea Fixed bug 1646 - Warnings from clang with -Weverything
REVERT: 0749b6e318 Removed unused constants Except for SDL_bmp.c where they are historically interesting and I've left them in.
REVERT: 1dd0c768de [qtwayland] Set orientation and window flags via SDL hints
REVERT: 80e7c1c6da Fixed bug 3490 - Build failure with --enable-video-directfb
REVERT: 4d4831c2ca Fixed bug 3359 - Software renderer does incorrect blending with SDL_RenderCopyEx
REVERT: f4d3ca201b Fixed build error with missing function prototype in the SDL_test_harness.h header
REVERT: c929b6d7b2 Fixed unresolved symbol on Visual Studio
REVERT: dae32409e9 Patch from Sylvain to fix clang warnings
REVERT: 460360285a Fixed bug 3488 - Random crashes (because Memory overlap in audio converters detected by Valgrind)
REVERT: eb7fe9b34b Fixed build on various platforms
REVERT: 4692d8f506 Fixed bug 1822 - Inconsistent renderer behaviour on rotation
REVERT: c3a90c043d Fixed bug 3079 - Allow non destructive SDL_GameControllerAddMappingsFromFile
REVERT: c5767b9997 Define _GNU_SOURCE when building SDL
REVERT: 47867431c7 Fixed bug 3484 - DSP driver does not detect /dev/dsp0
REVERT: 58670bda06 Fixed whitespace and added code to support older game controller GUIDs
REVERT: 0bf15da8c6 Fixed whitespace
REVERT: ad8edb9544 Updated Windows game controller support
REVERT: 7512f891b5 Fixed signed/unsigned comparison warnings in Visual Studio
REVERT: 7b1761ed6f Updated Mac OS X game controller support
REVERT: 3055d5af65 Added USB VID/PID information to the SDL test programs
REVERT: 651314f513 Added Linux entries for the Logitech Dual Action game controller
REVERT: 6fcf21b827 Standardized the format of the SDL joystick GUID and added functions to retrieve the USB VID/PID from a joystick and game controller.
REVERT: 8ee24a5254 wayland: fixed compiler warning about pipe2().
REVERT: 44aa173e4a nacl: pepper_49 SDK apparently has problems, move buildbot back to pepper_47.
REVERT: 81d6b69a0a Upgraded buildbot to NaCL SDK pepper_49 (the current stable release).
REVERT: 5665ff1e98 Fixed audio conversion for unsigned 16 bit data.
REVERT: ed843d5a42 Fixed bug 3481 - Configure fails to detect dynamic library support on powerpc64le
REVERT: 3d33cfb22d Better fix for last point in D3D11 renderer, thanks to Nader Golbaz
REVERT: 27e26897ed Shifting a value by more than its bits isn't defined and has varying behavior depending on compiler and platform
REVERT: de702a534a Fixed bug 3468 - _allshr in SDL_stdlib.c is not working properly
REVERT: d7e4a16d93 Fixed bug 3476 - round() needs _GNU_SOURCE on some old systems
REVERT: 12f39836d2 Fixed bug 2421 for D3D11 - SDL_RenderCopyEx off by one when rotating by 90 and -90.
REVERT: 6bbfff1f43 Fixed bug 2421 for D3D9 - SDL_RenderCopyEx off by one when rotating by 90 and -90
REVERT: 014ce2d535 Fixed 2942 - Wayland: Drag and Drop / Clipboard
REVERT: f72be74cea ALSA: Fixed compile warning about unused function.
REVERT: a0870dd2ad WinRT: Corrected header file guard comment.
REVERT: 3b7ae890ef Removed empty statement.
REVERT: a966c3035b Fixed Windows build
REVERT: c43d248bd0 Fixed bug 3480 - minor update to NACL common.js
REVERT: 6441c50b51 Also patched to compile on C89 compilers.
REVERT: a053163b55 Patched to compile on C89 compilers.
REVERT: 9d3696362e Reworked audio converter code.
REVERT: 4fcf9fa0fc Removed premake build system.
REVERT: 7f4bb06484 Added some debug logging to print out every event added to the SDL queue.
REVERT: 4a371fb567 Fixed text input events with UIM
REVERT: cf87529ba9 Added mapping for the PS3 controller in Bluetooth mode
REVERT: 2468785f0a Skip duplicate key events sent by IMEs like uim.
REVERT: afe3434b32 Patch from Tapani Pälli to fix a memory leak in X11_InitKeyboard
REVERT: e349d4c203 Patch from Tapani Pälli to fix a memory leak in X11_GL_CreateContext
REVERT: c7735b4175 Fixed bug with udev support reporting
REVERT: 6a2ba00e24 Fixed bug 3473 - can't build on linux with an old kernel
REVERT: f77ff66089 Fixed bug 3478 - Patch Haiku to use dlopen instead of load_add_on
REVERT: 861dc7c97f Added call to SDL_HasAVX2() in platform test program.
REVERT: 0cd2e57338 Fixed outdated info in README.
REVERT: b7e3016410 Fix double events / no repeat flag on key events when built withoutibus/fcitx
REVERT: 7c6535d2fc Fixed compiling on older versions of ALSA
REVERT: f79824f330 Fixed audio data swizzling when the device channel map already matches what SDL expects
REVERT: f742129f37 Fixed NULL pointer dereference, thanks Ozkan Sezer
REVERT: b02397d714 Fixed bug 3466 - Can't build 2.0.5 on ppc64
REVERT: ec3b66b2b9 Added tag release-2.0.5 for changeset 007dfe83abf8
REVERT: 5d7cfcca34 Fixed bug 3460 - docs/README-macosx.md: g++fat.sh should be g++-fat.sh in universal build command
REVERT: 100c615754 Fixed bug 3461 - Implement TEXTINPUT events for Haiku
REVERT: 91af9fa761 Fixed crash on Mac OS X 10.10 and earlier
REVERT: 8bc6a7ef95 Fixed bug 3369 - RaspberryPI ability to specify a Dispmanx layer
REVERT: a416743c75 Worked around a crash on Mac OS X 10.10 and earlier, thanks to Eric Wasylishen.
REVERT: e4105e7b2d Fixed bug 3444 - Android-TV: no more handling of back button on remote
REVERT: aa631de9f6 Partial fix for bug 3092 - Statically link sdl2 with /MT for msvc
REVERT: d40feeb88f Fixed bug 3456 - SDL_GameControllerOpen fails if the joystick subsystem isn't initialized
REVERT: 6eedda7d1a Fixed bug 3458 - x11: reset deadkeys in StartTextInput/StopTextInput
REVERT: 98f585efed Linux: Added missing scancodes.
REVERT: 3ae8bbec14 Windows: Fixed not removing the always added hint callback on quit.
REVERT: 8704745f37 Linux: Removed not needed platform info from entry in controller database.
REVERT: 558617e773 Linux: Fixed compile warnings about unused variables.
REVERT: cbe91a15bc Android: Split long line in README.
REVERT: 66335e4dc0 Removed unused constants in controllermap program.
REVERT: d88450ed95 emscripten: check if device pixel ratio has changed
REVERT: 420b160452 Fixed compiler option warning for 64-bit builds on Visual Studio 2008
REVERT: 85e2c13745 Fixed bug 3453 - First mouse button input after a drag and drop event is ignored
REVERT: 1090d1fcd8 Fixed bug 3452 - Getting unicode arguments for the main entry point on Windows
REVERT: 618b7a5419 Fixed warning about redefining DECLSPEC
REVERT: f7001797fc Fixed warning about missing field initializers in SDL_DBusContext Static variables are automatically initialized to zero.
REVERT: 90e4654b0c Fixed processing mouse and keyboard events in hatari, which uses the old SDLMain.m without creating an SDLApplication instance
REVERT: df4c882923 Fixed bug 2758 - Android issues with NDK r10c and API-21
REVERT: 52aad80cf2 Fixed building with cmake when fcitx isn't installed
REVERT: b4b349081d Fixed divide by zero if setting integer scale without setting logical width and height
REVERT: bc850ed2b0 Fixed typo getting the drawable size
REVERT: 4e004d5c83 Fixed bug 3328 - Race condition in Wayland_VideoInit
REVERT: f4c54629c3 Fixed bug 3451 - Raspberry Pi Raspbian SDL_assert triggered sometimes at RPI_WarpMouseGlobal
REVERT: 1e2589c229 Fixed black screen on Steam Link
REVERT: 307d753912 Added support for the PS4 Slim controller, model CUH-ZCT2U
REVERT: ed5b8e1246 Fixed black screen on Steam Link
REVERT: 8cb0e92e2c Fixed bug 3355 - false "Invalid renderer" after creating an "opengles2" renderer.
REVERT: 3df3289d14 Added a note on how to allow non-root applications to increase their thread priority on Linux
REVERT: f0a9a82149 Work-around for a hang when USB devices are unplugged, contributed by James Zipperer
REVERT: 52fed4965c Backed out change 92dc590a7116 which was: Fixed bug 3320 - SDL_windows_main.c defines both console application entry points With that change only the wmain() entry point was defined, and applications that linked with main() would no longer build.
REVERT: 6ffe2a5988 Added note for David Carlier's work on OpenBSD
REVERT: e7598eccec Build SDL as universal binary
REVERT: 11f5755737 Fixed build warning
REVERT: ebf3f850ae X11: Fixed compile warning about unused variable.
REVERT: c514ae0303 Removed empty statements in tests.
REVERT: fdd0e41c4b Linux: Removed redundant function call.
REVERT: 0c687477a5 Fixed pointer signedness warning
REVERT: b7224663f2 Updated WhatsNew with 2.0.5 changes
REVERT: 97ec4f1d96 Fixed comment for new pixel formats
REVERT: f91b4a6508 Fixed bug 2923 - Add SDL_PIXELFORMAT_RGBA32 for byte-wise 32bit RGBA data
REVERT: 4e326f37b7 cmake: Now generates Wayland protocol source bits like the configure script.
REVERT: faa1225d54 Fix invalid read from poor setlocale usage.
REVERT: 97db1659b4 Fixed bug 3096 - SDL_BlitSurface with overlapping source and destination
REVERT: 50322148b7 Fixed a memory leak in function GL_RenderReadPixels
REVERT: 63bf89cbea Use SDL C runtime strlen()
REVERT: 42a861adce alsa: more tapdancing to enumerate physical hardware devices.
REVERT: 3111f9a1a5 Made #if defined(X) consistent
REVERT: 9bc30253bd Make sure we have iconv.h before building with it
REVERT: 1b0a9a82c4 Fixed compiling of three test programs with C++.
REVERT: 91423b4d03 Linux: Fixed mixed up scancodes.
REVERT: de715c79c6 iOS: Updated demo README.
REVERT: 31a036e3f3 Fixed building and using fcitx IME support on Linux
REVERT: 1b032a0419 Implemented SDL_GetHintBoolean() to make it easier to check boolean hints
REVERT: 98fbc3fc5d SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING
REVERT: a2532cd816 ALSA_snd_pcm_drop() can hang on some systems (Steam Link) so don't use that when shutting down the ALSA audio driver.
REVERT: de631d20e4 Fixed bug 2824 - Add Fcitx Input Method Support
REVERT: d14ce58e75 Fixed bug 3438 - SDL_GameControllerEventWatcher: Log on event with value >= k_nMaxReverseEntries
REVERT: 701e14a8ef Improve X11 key handling when XKB isn't available + add xvnc scancodes.
REVERT: 8c1d01fb76 overscan (feature for SDL_RenderSetLogicalSize): Fix to ignore overscan hint when using the Direct3D 9 backend. D39 does not support negative viewport values which the current implementation relies on. D3D11 does support negative viewport values so that will continue working. Refer to Bug 2799.
REVERT: ee1f18b52d Additional patch to correct the number key assignments, and add assignments for keys that were missed
REVERT: b07188e5ff Fixed bug 3063 - Wayland: SDL resizes EGL surface to 0x0.
REVERT: 62d6856e2f Fixed bug 3061 - Selecting the dummy video driver on Mac OS X results in an error
REVERT: a43ff2f155 Fixed bug 3043 - fix alsa configury and cmake checks
REVERT: b5793055d2 Fixed bug 3029 - software renderer cuts off edges when rotate-blitting with a multiple of 90 degrees
REVERT: cccf6659cc Fixed bug 3022 - SDL_UnlockMutex(SDL_EventQ.lock) in SDL_PeepEvents can cause error when lock is null
REVERT: b33fde0338 Fixed bug 2983 - Update Android.readme to include Tegra Graphics Debugger compatibility tip
REVERT: c55119c110 Converted README documentation to DOS text format
REVERT: c54556c10e Fixed bug 2957 - De-reference rz_src without NULL check in SDLgfx_rotateSurface function
REVERT: dd42a1c1fa Fixed bug 2956 - De-reference videodata without NULL check in X11_DispatchEvent(_THIS) function
REVERT: 672afedacf Fixed bug 2952 - SDL_MixAudioFormat does not support audio format AUDIO_U16LSB/AUDIO_U16MSB
REVERT: b0f8e0b20e Fixed bug 2924 - SDL_CreateRGBSurface[From] versions that take SDL_PIXELFORMAT enum
REVERT: d53007ae0e Fixed bug 2885 - SDL_stdinc.h doesn't need to include iconv.h
REVERT: 593954247f audio: Backed out the audio-thread detaching changes.
REVERT: 6e0f9b570b Fixed bug 2833 - Access Violation on SDL_PollEvent after init, delay and quit of joystick subsystem
REVERT: d3e667887a Fixed bug 2832 - Inverted arrow-key navigation in MessageBox
REVERT: c680df8746 Fixed recentering triggers when the application doesn't have focus
REVERT: 0438241313 Fixed bug 2823 - Release events for triggers receive wrong centered value
REVERT: 0d8bea4698 Fixed bug 2808 - Fix SDL reporting wrong window size on resume
REVERT: beedecb95f Applied Ubuntu patch bug_822210_fix_sdl2-config.cmake_whitespace.patch
REVERT: ff255ca66e audio: Don't trust audio drivers to drain pending audio.
REVERT: ae70bcd0f5 audio: better way to calculate buffer drain wait times.
REVERT: 764d03666b audio: threading and device hang improvements.
REVERT: 11cf2793c1 Some systems include both "default:" and "hw:" for the same usb device
REVERT: c82d1cc4a1 fix for finding ALSA hotplug devices on Steam Link
REVERT: 069b980b6e Backed out a very unsafe change that was trying to prevent audio hang at quit.
REVERT: c0ceb21c52 ensure SDL_AUDIODEVICEREMOVED gets sent when hotplug removes a device
REVERT: 09ecd06e3f fix deadlock on close device
REVERT: 0b40668408 fix audio deadlock
REVERT: 7a98ee6c96 Modified the custom cursor test to be able to load BMP files as cursors
REVERT: 253cd069c6 Fixed bug 3021 - HapticOpenFromJoystick() problems
REVERT: 8914645090 Fixed compiler warning about missing field initializers
REVERT: 705360de23 Fixed compiler warning - this should have been a const char pointer
REVERT: 3070ead2b3 Fixed potential buffer overflow in SDL_vsnprintf() (thanks, Taylor!).
REVERT: 7db0377729 Fixed bug 2157 - Caps Lock key produces key down & key up events while key is still pressed.
REVERT: 321fdcc4d1 Fixed setting the version info in the shared library when using CMake
REVERT: f0a55e2842 Android: Fixed compile error.
REVERT: 820e748f8a Fixed wrong pixel format if reading pixels from OpenGL renderer.
REVERT: c81f11101f Added brackets to function names in header comments so that doxygen links them.
REVERT: b84ac1f538 Fixed MinGW-w64 build warnings in SDL_render_d3d11.c
REVERT: 1515c1fb93 Added SDL prefix to local IID constants
REVERT: c5140ee481 WinRT: build fix in joystick code
REVERT: bd4b1b3b89 Fixed bug 3437 - build error for WinRT/UWP .dlls, caused by fix for SDL bug 3336
REVERT: 8129eb5aa8 Fix tabs -> spaces
REVERT: 7ee85d9855 Fix bug 3436 - SDL_RaiseWindow not working on windows
REVERT: 94bec2e5e3 Fixed bug 3065 - Screen is flickering during closing on-screen keyboard on Android
REVERT: 6511fa631f Fixed bug 3078 - cmake: fix sdl2.m4 install location on cross hosts
REVERT: f30f6606da Fixed build on older Raspberry Pi environments
REVERT: ece2bc8be9 Fixed warning and code style in SDL_evdev.c
REVERT: 8c37d6beee Fixed build for X11
REVERT: 9f46868e42 Fixed windows build
REVERT: b675802c8c Fixed build warnings and errors
REVERT: 179f2bed69 Fixed bug 3107 OSX - Process events in SDLApplication to fix integration with CEF.
REVERT: 744356e892 Fixed bug 3116 - renderer->hidden in SDL_RenderCopy(Ex)
REVERT: 66c7d19f4c Fixed bug 3130 - Spacebar not responding
REVERT: 1b70faf821 Fix SDL not resizing window when Android screen resolution changes
REVERT: bc36327470 Fixed bug 3134 - CalculateXRandRRefreshRate() returns incorrect refresh rate due to floating point truncation.
REVERT: 0b2e713175 Call setlocale + XSetModifiers before XOpenIM, Work around ibus+xim duplicate events.
REVERT: 680a6a1e95 Fixed bug 3138 - c_dfDIJoystick2 already defined in dinput8.lib
REVERT: 34ba394272 Fixed 3149 - Mouse Pointer Raspberry Pi corrupt when moving over screen edges
REVERT: f77ae11919 Fixed bug 3157 - Rudimentary touchscreen support in SDL_evdev (supports Raspberry Pi)
REVERT: 7b44ab2bad Fixed bug 3159 - SDL_blit_slow with BLENDING does not work
REVERT: e3d8894661 Fixed bug 3161 - SDL_WINDOWEVENT_EXPOSED event possible queue overflow
REVERT: 2803a1f6b3 Fixed bug 3165 - define numbers don't match types in Swift
REVERT: 894da7c3e2 Fixed bug 3169 - GLES2_CreateRenderer does not check SDL_GL_GetAttribute result, causing use of uninitialized data
REVERT: 7e0287b129 Fixed bug 3174 - SDL_SetRenderTarget clip rect
REVERT: c14c8a148f Removed carriage returns from previous patch
REVERT: 70101d5c43 Fixed bug 3405 - Wrong default icon size on windows systems
REVERT: 5f44cde2d5 Fixed bug 3422 - OpenGL ES 1.1 renderer: SDL_UpdateTexture breaks later function calls (missing glDisable)
REVERT: d5032acfc4 Fix CMake setting an incorrect video backend on iOS
REVERT: fd8e31b7aa Fixed bug 3424 - SDL_GameController: Increase k_nMaxReverseEntries
REVERT: 6b80bece96 Fixed bug 3262 - Premake scripts are not compatible with "Genie" (premake fork)
REVERT: 13f3fd56de Fixed bug 3268 - CMAKE: ios fixes
REVERT: e636f59467 Fixed bug 3276 - build-scripts/showrev.sh prints the tip, which isn't useful if you're on a different -# branch, or just not sync'd to the tip.
REVERT: 7963feb3d1 Fixed bug 3301 - IBus support on Linux with CMake
REVERT: 8d7e011ed8 Fixed bug 3305 - Fixed TextInput status when the keyboard was dismissed with the dismiss key on the iPad
REVERT: 94bfcde5a1 Force WM_PAINT events on window resize
REVERT: c897935592 Fixed bug 3318 - testime.c enhancement with GNU Unifont support
REVERT: 8ad213418b Fixed bug 3319 - Getting the POSIX out of testqsort.c
REVERT: ec9642ce47 Fixed bug 3320 - SDL_windows_main.c defines both console application entry points
REVERT: 574cc25ce1 Fixed bug 3322 - Missing error checking in testaudioinfo and testaudiohotplug
REVERT: 8296b3f737 Fixed bug 3323 - SDL_LogOutput prints message twice on Windows when linked with libc
REVERT: 4eb41f3f89 Reset dead keys when the SDL window loses focus, so dead keys pressed in SDL applications don't affect text input into other applications.
REVERT: e0095ad424 Fixed bug 3332 - Win32: reset deadkeys in StartTextInput/StopTextInput
REVERT: a5e4a03944 Fixed bug 3338 - console_wmain doesn't null terminate the argv array
REVERT: a64ed63bba Fixed bug 3345 - SDL_RenderClear inconsistency with ClipRect
REVERT: adea337a51 Fixed bug 3347 - OpenGL ES renderer doesn't flip projection matrix for target textures
REVERT: f1c567b2c1 Fixed bug 3349 - GLES2_RenderReadPixels doesn't use target texture format
REVERT: 225b99cc77 Fixed bug 3350 - GL renderers don't need to flip rows after reading back pixels from the target texture
REVERT: b8f456007d Fixed bug 3352 - Adding alpha mask support to SDL_SaveBMP_RW
REVERT: e8128466a6 Only use GCC pragmas when we're building with GCC
REVERT: 469d83652d Fixed bug 3361 - Texture color modulation doesn't work with active NONE blend mode (opengl and opengles)
REVERT: 6c7cd4c330 Fixed bug 3362 - OpenGL renderer doesn't check if framebuffers are supported when creating target textures
REVERT: 02ae0da6a6 Fixed bug 3368 - SDL_Blit_Slow doesn't ignore alpha values in colorkey comparison
REVERT: 1d23b0f046 Fixed bug 3373 - OpenGL implementation differences of glDrawTexfOES
REVERT: d71fc04225 Fix running autogen.sh out-of-tree As done in GNOME's jhbuild building tool.
REVERT: 7f13262fea We should be using a string constant for the strftime format string
REVERT: d9190db2eb Fix "format not a string literal" errors With GCC 6.1.
REVERT: 2948e51c65 Add gamecontrollerdb lines for SFC30 controller in various modes
REVERT: c3ab42cd1f Commit KEYCODE_SPACE as text input on Android
REVERT: b26da9ce71 Fixed bug 3336 - Failure to build with MinGW-w64
REVERT: f4a55d371b Fixed bug 3388 - Fail to build src/thread/windows/SDL_systhread.c on MinGW 4.9.3
REVERT: 0d17b15d91 iOS: Removed unused constant in demo.
REVERT: a60440593d Fixed crash if allocating memory for mouse clicks failed.
REVERT: 77f3e9007b windows: Removed hardcoded "1" for mouse clickthrough hint.
REVERT: efa4b74b56 haiku: Patched to compile.
REVERT: 629e8b3052 windows: fix borderless windows at desktop resolution (thanks, Evgeny!).
REVERT: 59a480975b x11: fixed incorrect SDL_GetWindowPosition() after resize (thanks, Jason!).
REVERT: 68abf12b7b Added SDL_SetWindowResizable().  (thanks, Ethan!)
REVERT: d7c4e4aa49 Fixed bug 3426 - Fixes for joystick related issues
REVERT: 82e80692e1 Fixed bug 3427 - Android accelerometer z-axis incorrect
REVERT: 295b8597ae Fixed bug 3429 - Update AM_PATH_SDL2() to also check for SDL2.framework
REVERT: 97b094e050 Added debug output for new window events
REVERT: 9961af217a Implemented SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH on X11
REVERT: 71e9b9f781 Added Windows support for SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH
REVERT: 5d60a58a8b 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.
REVERT: 273f71a704 When clicking on a window to give it focus, don't pass the mouse click to the application.
REVERT: ee85553e33 Updated Linux notes on building with Mir and Wayland support.
REVERT: 79485875b5 Updated version to 2.0.5 in preparation for release
REVERT: bd1799c67f Updated configure script.
REVERT: c6bf0b860a iOS: Updated comment in demo.
REVERT: ef9bde21c8 Enable SDL_LoadObject on iOS 8+ and tvOS.
REVERT: d7b455f987 tvOS launch images are now properly supported.
REVERT: 448940e133 Update the code for the iOS demos to handle modern devices. Fixes bug #3337
REVERT: d3410d304c Don't try to load a launch storyboard on tvOS (it doesn't use them).
REVERT: 1b8e2f31be iOS/tvOS: Try to load the launch screen as a storyboard. Xcode 8 compiles it as a storyboard instead of a nib.
REVERT: 2e80731ac4 iOS/tvOS: Always send SDL_WINDOWEVENT_FOCUS_GAINED when a window is created on the main screen (fixes bug #3395).
REVERT: 053c6decab Use OS-provided click counts on macOS and iOS for mouse press and release events.
REVERT: 9ec0713e72 Fix mouse wheel events on macOS 10.12 (thanks Eric Wasylishen!)
REVERT: 9a227e9976 Mir: Add gamma support set/get. Still need one more function to complete the set
REVERT: 4f622562df Mir: Add fixme (waiting for a public api to be added)
REVERT: e2434a9b73 [Mir] Move to the new MirDisplayConfig API
REVERT: 546554a3f1 Mac: Fixed markdown formatting in README.
REVERT: 42f3ecb5d5 Mac: Fixed whitespace around function return type.
REVERT: 0f1075b48e Fixed compiling of three test programs with C++.
REVERT: 7cbbd89bb3 Android: Fixed two warnings about unused variables.
REVERT: cac05aa410 Handle audio interruptions on iOS/tvOS. Fixes bugs 2569 and 2960.
REVERT: 0378b1263e Xcode/mac: fix building standalone static and shared libraries.
REVERT: 597bf224a1 emscripten: get even more aggressive about audio device closing.
REVERT: d2cb290156 Recommended settings from Xcode 7.3.0
REVERT: 9b769a983d Fixed warning with Xcode 7.3.0
REVERT: bc55781bff Updated URL in a comment
REVERT: 3a2d9cee43 Added a new hint SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION.
REVERT: 5160ba4a21 tvOS: Add drop-file support
REVERT: 8d2e2aad1d Fixed set of libraries needed to build on Mac OS X
REVERT: ed62fd26c8 Hopefully fixed the cmake build on Mac OS X
REVERT: 1b61eae340 Fixed building new coreaudio driver on Mac OS X
REVERT: a98de9e4f7 CoreAudio iOS/tvOS: Use AVFoundation instead of AudioSession. Fixes audio on tvOS.
REVERT: d3f9978231 Fixed building for both iOS and tvOS on Xcode 8
REVERT: a1e419f3ad Fixed including OpenGL ES on iOS without any other SDL headers
REVERT: 2cbc2b95ec Allow targeting tvOS
REVERT: dcc80b6128 Fixed spacing
REVERT: dcc8498733 Fixed accidental call to SDL_PrivateJoystickHat()
REVERT: 398a513d09 Initial Apple TV / tvOS support.
REVERT: 5935e90124 Enable more compiler warnings in the Xcode projects (based on Xcode 8's suggestion), made some integer downcasts explicit.
REVERT: f6a0ed861b Only prevent the default browser event handling when the specific event types aren't disabled by the user, patch contributed by Jonas Platte
REVERT: 7e29f2ad53 Add mapping for media keys
REVERT: a9c5c0a83a use Module.createContext for 2D rendering in emscripten
REVERT: 87fcf49977 add some detail to fullscreen workaround comment; version 6
REVERT: 0666f33fcd only unset fullscreen flags if fullscreen failed
REVERT: 8d7af3e24e use screen resolution instead of canvas size
REVERT: 1f6196f7ed Fix full screen mode in Firefox, which was broken by 9d4beb2
REVERT: a45bf24aa2 Support SDL_SetWindowTitle() via Module['setWindowTitle']()
REVERT: 16ce3640ca Remove unused variable warning from Emscripten build in Emscripten_HandleFullscreenChange().
REVERT: 115362770b Fix CMake CMAKE_REQUIRED_FLAGS handling to preserve existing CMake flags required by Emscripten toolchain.
REVERT: 467fa3d7da Unpress all keys on blur to avoid stuck keys
REVERT: 5220e32e77 Listen for blur and focus events on window instead of canvas
REVERT: 3bd567bd94 Mouse events use CSS coordinates, so don't scale by pixel_ratio
REVERT: fd627cf270 Accumulate subpixel mouse motion so motion is not lost.
REVERT: 5f08d5e557 Fix of mouse events in browser without pointer locks
REVERT: 16b7d18eca optimize Emscripten_UpdateWindowFramebuffer
REVERT: d64289964b optimize a getValue
REVERT: 7c5a528749 Include timers when using cmake (#29)
REVERT: 398f20caa9 send mouse move on enter/leave
REVERT: b1060d944f listen for mouse up on document (fixes mouseup outside canvas)
REVERT: 8b9e76645d use SDL_SetMouseFocus
REVERT: c35f8fede4 simplify fullscreen handling using new fullscreen_strategy api, patch contributed by Charlie Birks
REVERT: fa82ab5f72 use css size for touch normalisation
REVERT: 372ca0e2ce Reverted previous commit which breaks game controller input processing.
REVERT: 1019891bb8 Suggestion from Apple: use kCFRunLoopCommonModes which does more complete event processing
REVERT: c19a7e82f1 emscripten: special case to make SDL_ShowSimpleMessageBox() work.
REVERT: 450af28fd6 emscripten-buildbot.sh: exit with an error if configure/make fail.
REVERT: 546eb95ce0 mac: Patched to compile with CMake project.
REVERT: f3c55747f4 coreaudio: Move from AudioUnits to AudioQueues.
REVERT: 2d2aede79f coreaudio: capture devices should let the system allocate the render buffer.
REVERT: c89347abed coreaudio: Replaced an int with an SDL_bool.
REVERT: e41b4d3b34 coreaudio: Move some variable declarations to the top of the scope.
REVERT: 641bf4c2c8 Fixes building SDL on Ubuntu 16.04 with Mir headers installed
REVERT: aa51d46bdd wayland: Add support for relative mouse mode, by Jonas Ådahl <jadahl@gmail.com>
REVERT: 44760bd0c7 wayland: Build own version of core protocol
REVERT: 1d3cd63751 Wayland: Set "class" for each window we create This will be used by Wayland compositors to match the application ID and .desktop file to the SDL window(s).
REVERT: fc0551d74b emscripten: Be more aggressive when closing audio capture devices.
REVERT: 68dcd6e214 WinRT: added an extra NULL pointer check for SDL_*ScreenSaver() backend code
REVERT: 474fc17a7e Mir: Add mouse grab support (requires mir 0.24)
REVERT: 63c0ba2c47 Fixed log message in audio capture test program.
REVERT: aee365bac1 Android: Removed unused internal function.
REVERT: a3b6299185 Android: Fixed misleading warning in log output (thanks, Sylvain!).
REVERT: da705f6490 Android: Fixed missing mouse motion events while button down (thanks, Sylvain!).
REVERT: 74cf2bf6b2 Fixed compiling if filesystem is disabled (thanks, Elias!).
REVERT: 2057cedc7f WinRT: added SDL_*ScreenSaver() support; fixed crash when restoring app from screensaver
REVERT: a1fec97f67 Fixed sorting and name of XBox wireless controller entry
REVERT: 144cbcb137 Merged Change: 3576099 from rel/streaming_client
REVERT: cc18c09dd6 WinRT: patched to compile
REVERT: 3caa2a82b4 cocoa: Fixed incorrect autorelease, noted by static analysis.
REVERT: 18a636eed1 nacl: Patched to compile.
REVERT: f8548a263b Patched to compile on Haiku.
REVERT: b8e34b3fa1 Merge audio capture work back into the mainline.
REVERT: 74eda003ee Patched to compile.
REVERT: 8de6259b93 alsa: Implemented hotplug support, cleaned up device names.
REVERT: 1255ef83fa ios: patched to compile.
REVERT: 3d116adb66 alsa: don't enumerate virtual devices, just physical hardware.
REVERT: f98a06ec45 Added SDL_PrivateJoystickAdded() and SDL_PrivateJoystickRemoved() Updated the removal code to iterate over all joystick add messages instead of just the first one.
REVERT: b97a48ebad commit 1170112da3776fdb06425f62d57b63144c33dc51 Author: James Zipperer <james.zipperer@synapse.com> Date:   Sun Aug 21 01:19:19 2016 -0700
REVERT: 7d1e740ea2 Emscripten: Fixed crash if closing removed joystick (thanks, Sylvain!).
REVERT: ea2a180c90 Android: Fixed crash if closing removed joystick (thanks, Sylvain!).
REVERT: d5a6c71aca WinRT: fixed bug where Win10 GameBar, when shown + hidden, might not restore a cursor's hidden state
REVERT: 7276d8862d Added link in header comment.
REVERT: 7cc86e8e8d Emscripten: Fixed opening previously closed joystick.
REVERT: e688740f8e Android: Fixed opening previously closed joystick (thanks, Sylvain!).
REVERT: f098bb1934 testaudiocapture: ask for way more output samples.
REVERT: 497af047a5 emscripten: send fake mouse events for touches, like other targets do.
REVERT: f03b539c37 emscripten audio: check for an "undefined" object, remove some console.log().
REVERT: fd200e01ab audio: Cleaned up "extern AudioBootStrap" list.
REVERT: 7ab6161c20 audio: Renamed some internal driver symbols in various targets.
REVERT: 1ef00d5809 android: implement audio capture support.
REVERT: 82140ec97d directsound: Implemented audio capture support.
REVERT: 6557ea09ae windows: directsound should also map audio device GUIDs to proper names.
REVERT: f2e2d65d66 audio: Patched to compile on C89 compilers.
REVERT: da5e8208d4 emscripten audio: fix timer on capture's silence callback.
REVERT: 938aa68565 directsound: recalculate audiospec size before creating secondary buffer.
REVERT: 1a595df276 emscripten audio: Added audio capture support.
REVERT: 7ab0405d0f Added a FIXME.
REVERT: 7fd7e882eb testaudiocapture: open capture device to same spec as output device.
REVERT: d64862530f audio: Only allocate fake_stream if we're using the standard audio threads.
REVERT: 6d4ba05bf6 audio: simplifed check for internal callback.
REVERT: cb8e57bda0 [ OSX ] enables Xbox One S Guide (System Main Menu) button detection. the one possible impact is that since button identifiers on OSX are just their sequence in the HID report descriptor we might change the button order, and any existing/saved mappings may get their order changed.
REVERT: bd3c62f996 dsp: Implemented audio capture support.
REVERT: 411ece1cbb winmm: Try to get full device names from the Windows Registry.
REVERT: 1096774c02 winmm: Added a FIXME for truncated device names.
REVERT: 007a2a8470 winmm: Implemented audio capture support.
REVERT: f9e9b84c07 Add Xbox One controller GUIDs to the XInput filter in the DirectInput joystick driver.
REVERT: bcfb572aff disk audio: Make default i/o delay match what device is meant to be running at.
REVERT: 602c1026e0 disk audio: Implemented "capture" support, cleaned up some things.
REVERT: 532edaa024 testaudiocapture: use capture device buffer queueing, for better test coverage.
REVERT: 42e7791e9e audio: Implemented buffer queueing for capture devices (SDL_DequeueAudio()).
REVERT: 3614f6b9d0 testaudiocapture: don't use fullscreen for the window.
REVERT: b441df53cc audio: SDL_ClearQueuedAudio() should free everything but two packets.
REVERT: ac07b3e542 nas: initial shot at audio capture support. Compiles, but not tested.
REVERT: 18b414baa6 audio: Changed OnlyHasDefaultInputDevice to OnlyHasDefaultCaptureDevice.
REVERT: fbb34c351c audio: changed some SDL_memset() calls to SDL_zero(), other minor corrections.
REVERT: 26a75839f4 audio: Removed internal SDL_audiomem.h and macros.
REVERT: 84e966c070 audio: Clean up some CloseDevice() interface details.
REVERT: 66f1d7b971 arts: backed out audio capture support.
REVERT: 6fb74f5474 dummy audio: Patched to compile.
REVERT: e0a678cddf Fixed two old identifiers in header comments.
REVERT: f73dc1f190 PSP: Fixed memory leak if video init failed.
REVERT: d932507b4e WinRT: Removed not needed SDL_zerop() after SDL_calloc().
REVERT: 9cb82d5ff2 Added brackets to function names in header comments so that doxygen links them.
REVERT: 31fc31cb23 dummy audio: Implemented dummy audio capture support.  :)
REVERT: e717a37601 bsdaudio: first shot at audio capture support!
REVERT: a0e627f821 bsdaudio: this appears to be using the wrong variable...?
REVERT: db0c70b5a8 arts: Patched to (maybe) compile.
REVERT: 3ed7e95984 arts: implemented audio capture support.
REVERT: 2883d9cce8 alsa: capture devices don't need a mixbuf allocated.
REVERT: 047cd6cf87 testaudiocapture: made test app interactive.
REVERT: 000e5b95d0 coreaudio: Implemented audio capture for iOS.
REVERT: effa79c36a testaudiocapture: Make a simple green/red window when recording/playing.
REVERT: 7fc13682c7 alsa: Implemented audio capture support!
REVERT: 94da231b4c alsa: Cleaned up the 5.1 swizzle mess a little.
REVERT: c715b1b009 audio: a little more robustness in the capture device's thread.
REVERT: 4245d5151f pulseaudio: Implemented audio capture support!
REVERT: 7793384ffc audio: implemented higher level infrastructure for running capture devices.
REVERT: ff065554db audio: Made some SDL_AudioDevice fields atomic.
REVERT: 9396cce861 testaudiocapture: Let specific devices be opened.
REVERT: f38c23dd63 BUGS.txt: Bugzilla supports SSL; changed link to https:// ...
REVERT: 0a21fedf8e audio: changed some internal ints to be SDL_bools.
REVERT: 9f68a038ec nacl: unlock audio thread mutex when done with it.
REVERT: 40504bdb30 audio: Make SDL_AudioDevice::shutdown an atomic value.
REVERT: d8cbd0f112 audio: Implemented capture support for Mac OS X CoreAudio.
REVERT: d2873d0971 audio: Initial bits to enable audio capture support.
REVERT: cea5990d5a Fixed information in touch README and changed identifiers so doxygen links them.
REVERT: a07ce859b0 Android: Updated a comment.
REVERT: b8ba8f4d1e Android: Replaced deprecated AbsoluteLayout with RelativeLayout.
REVERT: 1d6a32758b Linux: Fixed memory leak in haptic implementation (thanks, Martin!).
REVERT: 437ec0ab40 Pandora: Fixed memory leak in video implementation.
REVERT: 2a8870adf0 Pandora: Fixed compile warnings in video implementation (thanks, Bombo!).
REVERT: 3aafe6438a ALSA: Fixed adding wrong status to error message (thanks, romain145!).
REVERT: 87009d4ed9 Pandora: Fixed SDL version in debug output.
REVERT: c69d353366 Pandora: Updated SDL version in Makefile.
REVERT: 7cd228c24c Pandora: Fixed referring to no more existing atomic source file in Makefile.
REVERT: 082159fb7d Updated comments in video implementations.
REVERT: 778b4fd4d9 Pandora: Fixed compile error in video implementation (thanks, Bombo!).
REVERT: 70603ac944 Android: Fixed androidbuild.sh not working on OS X (thanks, Steffen!).
REVERT: 9272534dd2 Android: Fixed missing export of a JNI function (thanks, Andrii!).
REVERT: 9c5eea986a Android: Fixed compile warning about a missing prototype (thanks, Sylvain!).
REVERT: 8522dff70f Fixed compile warnings about evaluating undefined identifiers.
REVERT: d1caaa42c9 Tests: Would be wise to compile this
REVERT: 5564d048dc Tests: Somehow tabs leaked in...
REVERT: 962f8d8766 Tests: Add a manual test for a custom cursor (Taken from the API docs)
REVERT: bd6c92676a Tests: Mir needs the window to swap at lease 1 frame for the cursor to show. So render in testwm2
REVERT: e7823e8d7b MIR: Fix system cursors. Been broken since custom cursor support was added!
REVERT: 2e8c081f05 Android: Added new key codes from API 24.
REVERT: ebcd2e8914 iOS: Fix an OpenGL ES error when rotating the device if MSAA is used (thanks Cole Campbell!)
REVERT: 93d29988d1 Fixed three source comments in tests.
REVERT: 68ef914d7e Added a simple test case for SDL_sscanf() to tests.
REVERT: 38b769cbe1 Fixed freeing strings created by strdup() with SDL_free().
REVERT: 71e7b716dc Mac: Fixed crash if SDL_GetDisplayDPI() got NULL pointers for output parameters.
REVERT: fedb2f13aa Fixed compile warnings in test library about formats strings not being literals.
REVERT: 87a3a9d5db Mac: Updated file name in README.
REVERT: 86b7c57477 Fixed Bug 3147 - Windows: Crash when resizing Window since hg 333216331863
REVERT: 246255b5b2 Mac: Updated availability macro in build script.
REVERT: 8b84c36b11 MIR: Add better error handling for a failed connection
REVERT: 4e0798b2ca MIR: Support relative mouse mode
REVERT: 20cebbb7be Windows: Fix other window positions/sizes being changed when exiting exclusive fullscreen (bug #3315, thanks Simon Hug!)
REVERT: 0d2837a6ca Mac: Fix a crash when SDL is compiled with SDL_MAC_NO_SANDBOX enabled, by increasing the stack size of the mouse tap thread back to OS X' default of 512 KB.
REVERT: e2f5a3023a Removed Mac OS 10.5 support (bug #3137). Also fixed a warning about deprecated Carbon code when using SDL_audio (bug #3127, thanks Dominik!)
REVERT: 174644080b Updated documentation of SDL_IsScreenSaverEnabled().
REVERT: 977f1e0362 Windows: Fixed missing error message if SDL_GetDisplayDPI() failed.
REVERT: b82ec16a64 X11: Fixed typos in error messages and source comments.
REVERT: 024c8f7fc5 X11: Fixed missing error message if SDL_GetDisplayDPI() failed.
REVERT: 65f383561e WinRT: workaround a possible Windows bug, whereby hiding cursors, disables mouse-moved events
REVERT: 2645c41d08 X11: Fixed SDL_GL_GetSwapInterval() returning -1 if interval is unknown.
REVERT: 087d1dc784 EGL: Fixed SDL_GL_GetSwapInterval() returning -1 on error.
REVERT: a34752c0b2 Updated documentation of SDL_CreateWindow() and SDL_CreateWindowFrom().
REVERT: 4f43ef23de iOS: Added brackets to function names in README so that doxygen links them.
REVERT: ace33eec94 Fixed missing error message if SDL_GetDisplayDPI() is unsupported.
REVERT: 13dddf1a3b Fixed crash in shape test program if memory allocation failed.
REVERT: 104af62971 Fixed error return values in filesystem test program.
REVERT: 410827f2b7 WinRT: allow on-screen keyboard to be shown via SDL APIs, Win10/UWP only
REVERT: 62a5ddb862 Fixed memory leak in game controller test program.
REVERT: 788f608230 Updated documentation of SDL_HINT_THREAD_STACK_SIZE in header file.
REVERT: 75f76edd81 Added missing links at documentation of SDL_FreeCursor() in header file.
REVERT: de04db8522 Cocoa mouse code: Replaced NSPointInRect with NSMouseInRect (thanks Eric Wasylishen!) Fixes bug #3312.
REVERT: aaeb21b35c Mac: replaced a deprecated CGSetLocalEventsSuppressionInterval call that I missed in commit f0645cd8fd39
REVERT: f2cc87ed9a Android: Updated name of README file.
REVERT: 691f0454e6 WinRT: another README tweak
REVERT: 638d7e1a81 WinRT: README tweaks
REVERT: c5a78d39a9 Wayland: Removed not needed including and setting of errno.
REVERT: dd03d060c8 Fixed markdown formatting in porting README for doxygen output.
REVERT: 085f0f8b59 Added missing error return in test program.
REVERT: 9c370afe9a PSP: Fixed compile error.
REVERT: 41093fdbd8 WinRT: build/link fix
REVERT: a894234362 Patched to compile on Haiku...?
REVERT: 2724ca1458 windows: created threads' stack sizes should be reserved, not committed.
REVERT: 591371ded7 Patched to compile on various platforms.
REVERT: 2ef7fa3e3a threads: Move SDL's own thread creation to a new internal API.
REVERT: db39f16823 threads: Handle SDL_HINT_THREAD_STACK_SIZE at top level, implement elsewhere.
REVERT: 2001a7148e WinRT: bug hack-fix - gamepad detection was failing on Xbox One
REVERT: cdfd49ca55 iOS: Fixed SDL_GL_CreateContext crashing instead of returning null when a GLES3 context is requested on iOS 6 and older.
REVERT: f09f435b7f alsa: Make device enumeration robust against weird results with NULL strings.
REVERT: 9811c0e220 iOS: Also do the Dictation crash workaround before executing the animation callback.
REVERT: bcb782f88c Add a new hint SDL_HINT_MAC_MOUSE_FOCUS_CLICKTHROUGH, which allows mouse click events to occur when clicking to focus a window in Mac OS X.
REVERT: 2a4cda5de4 iOS: Workaround for a crash after Dictation is used.
REVERT: 7f88cc0d85 iOS: Fixed compiling demos on C89 compilers.
REVERT: c1eb482591 PSP: Fixed returning success from unsupported SDL_RenderReadPixels().
REVERT: 1ed692623b PSP: Fixed returning success for unsupported SDL_SetTextureColorMod().
REVERT: 4c5cebd73c PSP: Fixed missing error message for unsupported SDL_CreateWindowFrom().
REVERT: 5ac3e2b08a Updated info about required Ubuntu version for Mir support in README.
REVERT: 1f2d4a9443 Wayland: Fixed missing error message if creating a custom cursor failed.
REVERT: ee01a42541 Removed not needed SDL_WINDOW_SHOWN from chessboard test program.
REVERT: cdebe3dc72 iOS: Removed not needed SDL_WINDOW_SHOWN from rectangles demo.
REVERT: fe02f947cd iOS: Fixed keyboard demo ignoring quit requests and window closing.
REVERT: 7b39911757 iOS: Replaced #import with #include in two demos.
REVERT: ed8d6939fa iOS: Restored older version of rectangles demo.
REVERT: 35cd6f68b5 iOS: Updated SDL version in demo README.
REVERT: 8f72e07eea Fixed comment in gesture source.
REVERT: 58d97ae05b Mac: avoid calling CGSetLocalEventsSuppressionInterval, it was deprecated in OS X 10.6.
REVERT: a1c1b64a93 Windows CMake: don't try to link dxguid, it's unavailable when using Visual Studio's XP-compatible toolset.
REVERT: e1e235cb90 Wayland: Fixed crash if memory mapping failed while creating a custom cursor.
REVERT: ee66d571c1 Wayland: Fixed storing a theme cursor which is never used in video data.
REVERT: aff83da132 Pick up new display mode information after a mode change (Windows only right now).
REVERT: 7a159d48fa Quick fix for qsort off-by-one error.
REVERT: 0765eefdf3 Emscripten: Deactivated custom cursor support because it created system cursors.
REVERT: 0337adf177 Wayland: Fixed drawing created cursors without transparency.
REVERT: dc0f5b5460 Wayland: Fixed showing created cursors incorrectly before the first redraw.
REVERT: e8db21aaa3 WinRT: Removed dead code and fixed memory leak if allocation for driver failed.
REVERT: 7d41ef944e Fixed compiling IME test program with HAVE_SDL_TTF on C89 compilers.
REVERT: 76322d4b81 Removed unnecessary include statement in test program.
REVERT: 8fc20326aa A simple test program for SDL_qsort().
REVERT: 1999ffe976 Another commit to test revision control.
REVERT: 780d219beb Minor tweak to a README to test Mercurial server.
REVERT: 3e91a9bb83 Fixed infinite timeout in SDL_WaitEventTimeout() - thanks Константин Гончарик
REVERT: be57775a6c Allow mappings to be added before GameControllerInit
REVERT: 5024f42aae alsa: Implemented basic device detection.
REVERT: 9061ebe2fb x11: Fix a few more XMoveWindow() calls to adjust for border size.
REVERT: dd10fff0f1 x11: Deal with window borders better.
REVERT: 587245b141 Raspberry: Fixed crash if memory allocation for cursor failed.
REVERT: 15d78542ab Fixed compile warnings about unused variables in IME test program.
REVERT: fb2a2ce39b Wayland: Fixed fault in event handling which might have caused a crash someday.
REVERT: 3cbc1d046f Wayland: Fixed crash if allocating memory for cursor failed.
REVERT: db1d8e84ae Replaced strlen() with SDL_strlen() in IME test program.
REVERT: 7374150125 wayland: Add wl_proxy_marshal_constructor_versioned sym
REVERT: fe40c7d285 Mir: Do not use opengl to find the valid pixel format if we dont use opengl
REVERT: 2679809e1d Mir: Replaced memcpy() with SDL_memcpy().
REVERT: c31a05d511 Mir: Fixed comment at conditional compilation macro.
REVERT: 35ad322b34 Fixed doxygen warnings about markdown formatting.
REVERT: f3f7056296 Mir: Fixed crash if allocating memory for cursor failed.
REVERT: ac8b939707 Regenerated configure script with Mir changes.
REVERT: 83c6740930 Fix API/ABI breakage in Mir 0.13/0.14.
REVERT: 89bd9d9389 Windows: Just use WaitForSingleObjectEx() everywhere.
REVERT: c21c74ff41 Windows: let threads be named in the debugger.
REVERT: 8429765b98 stdlib: Restored previous qsort() implementation; the licensing is resolved.
REVERT: 8880143064 x11: better fix for the previous commit's fullscreen vs maximized issue.
REVERT: a7084c508a x11: Don't mess with fullscreen vs maximized window state on unmapped windows.
REVERT: 6bcb829721 Android: Restored Philipp's joystick change, lost in the previous merge.
REVERT: 0e5bf80595 Merge Android C89 fixes from Eric Wing.
REVERT: 11cdfa4f25 x11/wayland/mir: Make the dynamic loading macro salsa a little less messy.
REVERT: b0620b42b4 Added support for the Mad Catz FightStick TE S+ PS3
REVERT: a101b66551 Added support for the Mad Catz FightStick TE S+ PS4
REVERT: a8ba85b209 Added support for the Akishop Customs PS360+ v1.66 and MadCatz PC USB Wired Stick 8818
REVERT: 7c6c32e3bf Added support for several Mad Catz arcade sticks
REVERT: 4d1a9e8231 Allow using the game controller API with arcade sticks and other XInput devices
REVERT: 78c1a2d31f Android: Changed an internal joystick function to return count instead of id.
REVERT: 9cd03433b3 x11: Patched to compile with DEBUG_XEVENTS on C89 compilers.
REVERT: ea9112a79d x11: Removed an assert.
REVERT: 7f46f9d45d Another attempt to fix Windows build.
REVERT: 507ba3fa19 Patched to compile on Visual Studio.
REVERT: 0d2fc8ca8f Replaced SDL_qsort with public domain code from PDCLib: http://pdclib.e43.eu/
REVERT: c8de039b58 Windows: make sure SDL_TicksInit has been called before calling Sleep(ms) in SDL_Delay. This ensures the Windows system timer resolution is properly set before Sleep is called.
REVERT: e1aeb68464 PSP: Deactivated dynamic API.
REVERT: 0e6fb89029 PSP: Added missing object for generic TLS to Makefile.
REVERT: 0ecd662a14 Fixed spaces in license comments.
REVERT: 6e7137e857 Android: C89 cleanup to avoid warnings/errors since the default gcc mode on Android is still pre-C99.
REVERT: 43af35ff4a x11: Updated imKStoUCS.* to latest from x.org.
REVERT: 53933185d8 iOS: Implemented clipboard support.
REVERT: 414d85cd8a David Carlier implemented SDL_GetBasePath() for OpenBSD
REVERT: b7e22a7a90 Return the full number of events from SDL_PeepEvents() if NULL is passed in with SDL_PEEKEVENT
REVERT: fe3874cd74 x11: Fix AltGr generating an invalid keycode (bug #3244). Thanks Thomas!
REVERT: 96364c0ab0 PSP: Removed inlined copy of SDL_CalculateAudioSpec()'s functionality.
REVERT: 97ea1e70a3 Android: Fixed ignoring a return value while handling motion events.
REVERT: dfd007d5c4 Fixed creating fullscreen windows on Steam Link
REVERT: 438241a969 Expose the EGL display and window for Vivante SDL windows
REVERT: 208f4688d4 Fixed compile warnings about type conversion.
REVERT: e50b7e4996 Android: Fixed finishing Activity on some devices if right mouse button pressed.
REVERT: 537dfe8379 Fixed two typos in documentation.
REVERT: 141d9a1d25 Android: Added mouse initialization to reset state.
REVERT: acfa3cd6b7 Android: Fixed a comment.
REVERT: 40eb9993f5 Android: Added mapping of mouse forward button and mouse back button.
REVERT: f7e7ae2da6 Removed dead code (caught by Clang's static analyzer).
REVERT: 6b6cb64d42 CMake: only set "-O3 -g" defaults if CMAKE_BUILD_TYPE wasn't set at all.
REVERT: 850815b7fa Fixed buildbot's static analysis script to enable assertions.
REVERT: a876872d51 x11: make last mouse coords sane upon window entry (thanks, Cengiz!).
REVERT: 6aa640c48d Fixed --enable-new-dtags check with cmake
REVERT: cb0161a65f Use --enable-new-dtags to set RUNPATH rather than RPATH so that LD_LIBRARY_PATH is not overridden by the application.
REVERT: 9e04e93494 Fixed NULL dereference on drop events with no window associated.
REVERT: 81d9973057 Updated debian packaging files
REVERT: 3355087ab1 Updated dynamic API table.
REVERT: c93d43c4e0 SDL_RenderSetIntegerScale
REVERT: f0cab18492 Mac: Implemented SDL_GetDisplayDPI (thanks, Kirill!).
REVERT: 9f87b9b8da Fixed compile warnings about uninitialized variables in test library.
REVERT: 212422e038 Fixed outdated information in a README for iOS.
REVERT: ec0694a978 Fixed doxygen warnings.
REVERT: 612da1ec3e CMake: Turned off Mac OS X rpath warning kludge.
REVERT: 0049c0e025 Patched to compile on iOS.
REVERT: a3c8456993 Android: Fixed up drop events for new interface.
REVERT: 717c0aa71c Patched to compile.
REVERT: 2503e42a28 Use SDL's stdinc functions instead of C runtime calls.
REVERT: 3230d74d35 Added SDL_WINDOWEVENT_TAKE_FOCUS.
REVERT: 45f310fb48 merged SDL 2.0.4 rc2
REVERT: 500500d864 Added missing file and folder to the release archive.
REVERT: de28dbbe82 Added the docs directory to the release archive
REVERT: 9af8324947 GCC is warning about global functions with the same name as variables in the code, when using -Wshadow. This is a little ridiculous because we have no idea what functions a given platform will provide, so we'll disable -Wshadow for now.
REVERT: 682e03c2f4 Use CLOCK_MONOTONIC_RAW, if available, which is not subject to adjustment by NTP
REVERT: e144065e28 Android has clock_gettime() - thanks Michael Labbe!
REVERT: 241d09b189 Cleaned up Xcode rules a little more
REVERT: 7c64849db9 Simplified Mercurial ignore rules for Xcode build products
REVERT: c0b4384757 Fixed bug 2538 - SDL_SetTextureAlphaMod does not work with SDL_FlipMode or rotation in the software renderer
REVERT: 8dd2c29b23 Fixed bug 1550 - SDL_RenderCopy/CopyEx in software should optionally render 8bit alpha
REVERT: 2c269bbd93 Fixed bug 3023 - setting a white and then non-white texture color mod breaks the texture with software renderer
REVERT: 0e466ecf61 [mq]: 3027_rleperf.diff
REVERT: bfccddea31 Added more entries and brackets to WhatsNew.txt for 2.0.4.
REVERT: aa941e48c9 CMake fixes for MingW (thanks, Ozkan!).
REVERT: 3fb6889c37 Updated WhatsNew.txt's 2.0.4 list to include a more detailed set of changes for iOS, and added a couple missing items to the OS X and Windows sections.
REVERT: 7b65ca77ee Moving some whitespace around to test something on the Mercurial server.
REVERT: 88a535d7ae merged SDL 2.0.4rc1+
REVERT: 778e195196 Android: Fixed two warnings.
REVERT: 976a842c8e Whitespace fix.
REVERT: c6c3f10445 Removed Edgar's name from SDL_haptic.h at his request.
REVERT: b15e71afdc Partial fix for bug 2758 - Android issues with NDK r10c and API-21
REVERT: 1844f52297 Fixed bug 2948 - [Android] Arrow keys from external keyboard are not received
REVERT: 34a0b04786 Fixed bug 2949 - [Android] Virtual DPAD remote not registered
REVERT: 945a347ea0 Fixed bug 2774 - Android: screen distorted in Landscape after background/foreground
REVERT: cd7da47876 Moved entry in WhatsNew.txt because it was already in 2.0.0 for Android and iOS.
REVERT: 2a07ba3252 Fixed comment in test program.
REVERT: fae1940667 Excluded SDL_egl.h from doxygen input.
REVERT: 0e4d9d1f58 Fixed bug 3015 - grab mouse inconsistent state
REVERT: 93660ecd8c Implement repositioning the OS-rendered IME with SDL_SetTextInputRect on Windows.
REVERT: f9158b31a1 Haptic/Linux: Keep track of device numbers properly to track duplicates.
REVERT: 82634edb67 Fixed style
REVERT: 66d920a28a Fixed bug 3012 - Android accelerometer joystick axis values overflow when values from Android are larger than gravity
REVERT: 819d3cc707 Fixed bug 2953 - Crash due to a bad cleanup in the SDL_SYS_HapticQuit function
REVERT: a049c19634 Fixed bug 2908 - Fix clang warnings
REVERT: 9fed2df88d Only use explicit inlining - otherwise Visual Studio 2010 will inline SDL_zero(info) in SDL_vsnprintf() into a memset() call when compiling the Release x64 configuration.
REVERT: de723d5c35 Fixed 2010 solution and removed Release_NoSTDIO build configuration
REVERT: 479a07d7cf Updated Visual Studio projects There is now a single solution used by Visual Studio 2010 and newer
REVERT: 6f1fc0d165 WinRT: made sure build script generates Release-built binaries, by default
REVERT: c7b2d3104c Fixed bug 3011 - pthread/SDL_syssem.c requires _GNU_SOURCE
REVERT: 2a0ed65f8f Fixed bug 3010 - SDL_x11messagebox.c needs including X11/keysym.h
REVERT: 197bc1c4c8 Updated WhatsNew.txt for 2.0.4
REVERT: 6c13c2bf5c Fixed bug 3009 - Cannot compile SDL2 on Windows
REVERT: bf83959f4e Fixed crash if allocation for touch device failed.
REVERT: e849b26a6a Make some string literals "const char *", not "char *" (thanks, Martin!).
REVERT: 5850cdb640 Fixed bug 3005 - MOMO steering wheel not detected by SDL
REVERT: d466c47772 iOS: Fixed some cases where SDL_DestroyWindow or SDL_GL_DeleteContext can cause crashes.
REVERT: b75cee3da0 Wayland: Fixed SDL_GetTouchDevice() returning 0 for the valid device index.
REVERT: 1ee57cdf0e Emscripten: Fixed SDL_GetTouchDevice() returning 0 for the valid device index.
REVERT: e5cdbda294 Linux: Fixed not needed call to close() on error.
REVERT: cb03224602 Normalized endlines.
REVERT: 3fd51aa2cc Added LDFLAGS note to Raspberry Pi documentation (thanks, Michael!).
REVERT: 49ea0e11e2 x11: Drop duplicate XInput2 XI_RawMotion events.
REVERT: 0d07b9cc45 Unix: Don't send quit events during signal handler.
REVERT: 065504f58e Updated configure script.
REVERT: ce5063420d configure/cmake/x11: Removed SDL_VIDEO_DRIVER_X11_CONST_PARAM_XDATA32 test.
REVERT: 1def23c4b1 CMake: default to shared library builds being enabled.
REVERT: ad5a745d09 Let's assume that if VS2005 and VS2010 do it, VS2008 probably does, too.
REVERT: da2e992413 VS2005 tweaks (thanks, Ozkan!).
REVERT: 1fbe75356d Maybe patched to compile on some Windows configurations.
REVERT: 826e83df82 Backed out changeset c9c61d66cfa0
REVERT: 62f7c08bce Fixed a memory leak (thanks, Zack!).
REVERT: b452fe93d9 RPi: Patched to compile without OpenGL (thanks, Simon!), other cleanups.
REVERT: 94fac461b4 Fixed comments at conditional compilation macro in header file.
REVERT: b75245a316 Fixed comments at conditional compilation macros.
REVERT: 3d0ff5a5d0 Android: Added deactivated intent filter for testing drop file support.
REVERT: 3aa86a838a Fixed docs path in RPM .spec file.
REVERT: 2a3f52d8dd X11: Fixed SelectionRequest replies for target TARGETS.
REVERT: e48e43320e X11: Fixed compiler warnings in DEBUG_XEVENTS sections.
REVERT: deddef0db9 AIX: Fixed nearly impossible file descriptor leak.
REVERT: 8c7a005cbd Fixed not needed calculation in test program.
REVERT: ce7104f384 Fixed bug 2625 - Direct3D9 with SDL_TEXTUREACCESS_TARGET textures causes an application crash
REVERT: 6c5bf90246 Backout commit fb91c22f656b
REVERT: 91ec2b0c3b Linux: Implemented sysfs-based version of SDL_GetPowerInfo().
REVERT: bebcfc0677 Changed a static function to match the naming scheme of rest of source file.
REVERT: 0b4ff9fb3e Also set the _NET_WM_NAME. Window managers supporting this will take this value over the value set by XStoreName. This explicitly supports UTF-8 encoding, which fixes corrupt UTF-8 titles in KDE.
REVERT: eaa26aed0b testmessage: Try Unicode chars in the title, too.
REVERT: b1dff30d12 X11: search all XI2 touch devices, not just masters (thanks, Volumetic!).
REVERT: eb6be57e8a X11: Fixed message boxes not responding to click on titlebar close button.
REVERT: 76b9a6c463 testmessage.c should report when message boxes were closed.
REVERT: 62f5879d2e Fixed memory leaks in testfilesystem.c (thanks, Nitz!).
REVERT: 30a65fff38 Cocoa: deal with mouse focus when warping the cursor from outside a window.
REVERT: 626cc29bae Cocoa: send a MOUSEMOTION event when warping cursor from outside the window.
REVERT: 18be5eb77d Android: Added missing space in three log messages.
REVERT: 7b892bcc15 Android: Changed two unknown keys to be consistent with Windows and X11 mapping.
REVERT: 051cbbb183 Fixed swizzle of SDL_FillRect() on 24-bit surface (thanks, "nagydavid91"!).
REVERT: f7c1221947 Fixed SDL_ISPIXELFORMAT_ALPHA to check pixel orders that match pixel type.
REVERT: e104f9db41 X11: Fixed high mouse buttons mappings and horizontal wheels (thanks, Daniel!).
REVERT: 3e9f1d86d9 Cocoa: ignore mouseDown events in a window's titlebar.
REVERT: d183a00458 Fixed typo in header file documentation comment.
REVERT: d0d040bd6d X11: Force the window focus during ShowWindow if there's no window manager.
REVERT: 38042c1c7d Improved fix for bug 2096 - Mapping from scancode to keycode doesn't work for remapped modifier keys
REVERT: e79d3d8e6a Fixed building test programs on the iOS simulator
REVERT: d727fa668a Fixed clip rectangle calculation when there is a viewport offset
REVERT: 2a4efa3b11 Fixed bug 2054 - SDL_GetError: "Unknown touch device"
REVERT: 8a75cf8e37 Fixed bug 2096 - Mapping from scancode to keycode doesn't work for remapped modifier keys
REVERT: 4fe50008e4 Windows SDL_GetBasePath: free string on failure.
REVERT: b22d989ad8 Windows GetBasePath: fixed reallocation code.
REVERT: ae904749d0 Windows SDL_GetBasePath: Fixed wrong variable when growing the buffer size.
REVERT: 9d1a2cb9bf Fixed bug 2210 - Initializing Video produces unnecessary errors
REVERT: f7c6aa58fd Fixed bug 2367 - Bad mouse motion coordinates with two windows where one has changed logical size
REVERT: ed2f60d082 Fixed compiling and tested on Windows
REVERT: 9f2772eae0 Windows GetBasePath should use GetModuleFileNameExW() and check for overflows.
REVERT: d84b85b5c4 Make sure we have the vsscanf() prototype (thanks, Ozkan!).
REVERT: 5152530573 Fixed bug 2772 - SDL2 doesn't handle X KeymapNotify events
REVERT: 8c55bb48fe Added SDL_WINDOWEVENT_HIT_TEST.
REVERT: cdd64f2020 Added SDL_SetWindowModalFor().
REVERT: 19373e60da Added SDL_SetWindowInputFocus().
REVERT: 2875d70eba Added SDL_SetWindowOpacity() and SDL_GetWindowOpacity().
REVERT: 8afe3ca698 Added SDL_GetWindowBordersSize().
REVERT: 518ad5ed69 x11: Put a matching window_group wmhint on every window created.
REVERT: eb318de919 Added SDL_DROPBEGIN and SDL_DROPCOMPLETE events, plus window IDs for drops.
REVERT: 7344ea2528 Added special window type flags.
REVERT: b8b82c170e Added SDL_DROPTEXT event, for dragging and dropping string data.
REVERT: 6a3cfbf68f Added SDL_GetDisplayUsableBounds().
REVERT: 4aa26b888f x11: Optimize SDL_GetGlobalMouseState() a little.
REVERT: 2eef453e66 x11: window managers might mark windows as FULLSCREEN _and_ MAXIMIZED.
REVERT: 89d34883fe x11: Workaround window managers that mark fullscreen windows as maximized.
REVERT: 9c45fcc0ef x11: Let apps specify that video init should fail if XRandR is unavailable.
REVERT: b7dd1e0aa8 x11: _NET_WM_PID needs a long, not a pid_t, I think.
REVERT: d76bd41747 CMake: Let static libraries optionally be built with Position Independent Code.
REVERT: 7406930291 CMake: use the old MACOSX_RPATH behavior (for now), silence the warning.
REVERT: feae2421c8 Updated comment: this is the correct way to do fullscreen on X11 now.
REVERT: 42fe73367b Added a few FIXMEs.
REVERT: 914be5d09c Try to build with GCC's -Wdeclaration-after-statement.
REVERT: 63c0f224db Mac: allows apps to use OpenGL on a slower, integrated GPU.
REVERT: 8a7251c4f1 Patch to compile on C89 compilers.
REVERT: efad83a3a1 x11: Support _NET_WM_USER_TIME and give _NET_ACTIVE_WINDOW a valid timestamp.
REVERT: 30911d30ba CMake: Don't link directly to libGL on Unix.
REVERT: 4f8b05a556 CMake: Don't make a libSDL2.so symlink on Mac OS X (do .dylib instead).
REVERT: 60493ef8b1 Remove almost all instances of "volatile" keyword.
REVERT: 1f6b2a51bc Added tag release-2.0.4 for changeset e12c38730512
REVERT: 8be6e5ca90 Backed out commit 4de94185790e, this causes Visual Studio build failure on buildbot
REVERT: c4420fc9de Fixed sed error on Mac OS X and updated copyright on a few last files
REVERT: 23d9d9fade Fixed bug 3092 - Statically link sdl2 with /MT for msvc
REVERT: 7ee8dda270 Updated copyright to 2016
REVERT: 8e2a8c6561 Fixed typo in README for iOS.
REVERT: 410efa90a8 Added brackets to function names in header comments so doxygen links them.
REVERT: 1c47d39ad1 Updated some header comments and iOS documentation to better clarify high-dpi / retina support and screen-coordinate sizes versus pixel sizes.
REVERT: 2ccbf4aa4f CMake: Fixed building for Windows with VS2015 (bug #3080).
REVERT: 4baa548a1d WinRT: minor code-comment cleanups
REVERT: 5605362059 WinRT: fixed bug whereby a Win8.x app's SDL_Window wasn't getting de-marked as maximized (on window restore)
REVERT: 3b53863969 Fixed Bug 3217 - WinRT: after alt-tab'ing back into fullscreen app, mouse cursor is sometimes wrong
REVERT: 3054ed0bdd Fixed Bug 3215 - Win32: 'fullscreen' app doesn't always extend to top of screen
REVERT: c9be6d154c Updated configure script.
REVERT: f92eac5d89 Fixed a crash if creating accelerated renderer after accessing window surface.
REVERT: 8b682f0b6c NetBSD: fixed issues with cpuinfo and pthread_setname_np (thanks, Thomas!).
REVERT: a78b87c133 NetBSD: improved joystick support (thanks, Thomas!).
REVERT: c9dbcda234 Added support for building for NetBSD on the Raspberry Pi (thanks, Jared!).
REVERT: 87cd4185e7 XRandR: fixed primary output detection logic (thanks, "winterknight"!).
REVERT: be5d22ca20 Mac: don't ignore mouse clicks on the top pixel of a window (thanks, Joshua!).
REVERT: 54ded44867 CMake: Changes to get CMake project to work with Android (thanks, Martin!).
REVERT: 3609add147 CMake: fixed a failure to reset CMAKE_REQUIRED_FLAGS (thanks, Martin!).
REVERT: b5cdb18893 CMake: don't try to use the Linux joystick code on Android (thanks, Martin!).
REVERT: 1599e941eb CMake: Fixed to work on Windows 8 SDK (thanks, Martin!).
REVERT: ad2bbbf3bf Fixed typo in sdl2-config.cmake.in (thanks, Rafal!).
REVERT: fcd63f6ac9 OpenGL+GLES renderers: Fixed incorrect clip rectangle coords (thanks, Marcel!).
REVERT: 98bb021a4b Mac: expose joystick buttons that report themselves as having 'Start' and 'Select' HID usages.
REVERT: cff5825a4f Mac: Whoops, lost legit Caps lock keypress events. Fixed.
REVERT: 9eeaf12db5 Windows: resync num/caps lock when window is gaining focus.
REVERT: 911aed72e5 Sync up the caps/numlock state properly without sending key events.
REVERT: 745b11a656 Mac: Fix keyboard state if capslock was toggled while app wasn't in foreground.
REVERT: 80a59e0b0a WinRT: made bug 3202/3213's fix apply for WinRT apps
REVERT: dca66e0683 Removed a tabstop.
REVERT: cd07be813f Win: make sure SDL keyboard state reflects system capslock state at startup.
REVERT: 4a76370838 Fixed bug 3202 - Fix renderer visibility on a window maximized directly from the minimized state
REVERT: 40abc16c30 Mac: make sure SDL keyboard state reflects system capslock state at startup.
REVERT: 402cf280c4 Fixed a comment in two test programs.
REVERT: 312a4eb1bb Fixed whitespace in testspriteminimal.c
REVERT: 6d49d5b7d4 WinRT: Fixed bug 3210, "alt-tab doesn't work correctly with full-screened, UWP (Win10 Store) apps"
REVERT: ab419c0929 sdl:
REVERT: 7d9b80ccb3 Fixed mapping third party XBox controllers that have the trigger axis all the way in until they are pulled and get updated values.
REVERT: 3904a43e71 Cleaned up some code formatting.
REVERT: 6e2186bfc4 iOS: Set the player index of MFi gamepads when the user first presses a button, rather than when it's programatically opened.
REVERT: 30242151a5 Cocoa: Use NSTextInputClient instead of NSTextInput for text input handling. The latter was deprecated in OS X 10.6.
REVERT: 219ef64ec0 SDL_GL_GetAttribute: If a GL context isn't active, only return failure when the specified attribute needs an active GL context to be queried.
REVERT: d4207272f5 WinRT: fixed bug: Back button(s) weren't working on Win10
REVERT: c27d95571f Added broad support for wireless XBox 360 controllers on Linux
REVERT: 35753b6dbb Fixed outdated information in README for test programs.
REVERT: faeff23589 Pandora: Fixed referring to no more existing CD-ROM source files in Makefile.
REVERT: 23adb84a3e Pandora: Fixed deactivating no more available CD-ROM support in config header.
REVERT: 82a712b551 WinRT: build fix for Windows Phone 8.0
REVERT: 399ba9ef8d WinRT: enabled the Win10-Store Cert Kit bug-workaround, for Windows 8.0 apps
REVERT: 9d26da657d WinRT: enabled the Win10-Store Cert Kit bug-workaround, for Windows 8.1 apps
REVERT: f811776ef5 WinRT: fixed a build error when compiling Windows 8.1 .dlls
REVERT: 6c9f47f3e3 WinRT: removed an unused variable from DXGI-based display-detection code
REVERT: 03bdd2d09e WinRT: workaround for a possible bug in the Win10 Store's Certification Kit
REVERT: 67018ff00f Windows: Added missing NULL check after SDL_stack_alloc().
REVERT: 75a8a947fd Changed comment in test program to avoid confusion.
REVERT: 62b73d098f X11: Fixed memory leak when initializing multiple screens.
REVERT: b5437b59e3 Fixed comment in filesystem test program.
REVERT: 01fac9b2f7 WinRT: minor tweak to NuGet package naming
REVERT: c174bd0e14 WinRT: allowed NuGet packaging code to get hg revision regardless of cwd
REVERT: 357886616e WinRT: added NuGet-package creation support to WinRT build script
REVERT: 9d304679f0 Fixed compile error in timer test program if PRIu64 not available.
REVERT: b5e3bd6ec1 Fixed compile warning in IME test program.
REVERT: 525d8bfbe5 Fixed filesystem test program to compile with older versions of C.
REVERT: 7b4ba43f2d WinRT: noted Win10/UWP support in WhatsNew.txt (under 2.0.4)
REVERT: 1ae3259762 WinRT: made WinRT build script create Win10/UWP .dll files
REVERT: 2a894af1d2 Add Logitech F510 Gamepad Direct input mode mapping
REVERT: c9cbc97f93 Removed some debug prints.
REVERT: a8e95ff7b1 Mac: Fixed SDL_SetWindowFullscreen not restoring the window's original size when exiting a Space.
REVERT: 028a80e83b WinRT: added Win10/UWP (Universal Windows Platform) support
REVERT: c858ba8394 WinRT: bug-fix - SDL_SetThreadPriority() didn't work on WinRT 8.x platforms
REVERT: bcb2c8ba3c WinRT: minor code cleanup in window-creation code
REVERT: 68e55ce9b2 WinRT: native windows are inherently resizable (in WinRT 8.x)
REVERT: 392a6f19e0 WinRT: bug-fix, fullscreen mode wasn't getting reported in Windows 8.0 apps
REVERT: c6d925b5b6 WinRT: bug-fix, OpenGLES2 was failing to init, after recent windowing fixes
REVERT: 030807ffe7 WinRT: bug-fix, fullscreen window flags weren't set if device was rotated 90 degrees
REVERT: 3f86649e74 WinRT: lots of display and windowing related fixes
REVERT: c62d4f2ca5 WinRT: fixed crash in SDL_CondWaitTimeout, when using Win10's MSVC runtime
REVERT: da4d0e4a52 Replaced tabs with spaces in test programs.
REVERT: 37967ccd07 Added SDL_HINT_VIDEO_X11_NET_WM_PING to WhatsNew.txt for 2.0.4.
REVERT: 52ec045626 X11: Let XRandR respect multiple screens (DISPLAY=:0.0 vs :0.1, etc).
REVERT: 7c5ed48e39 Fixed bug 3168 - xinput build failure with dxsdk
REVERT: b96b7bef26 WinRT: fixed build error in latest XInput code
REVERT: e47eab0ac9 Minor whitespace fix.
REVERT: 03cb578e6e Added SDL_JoystickFromInstanceID() and SDL_GameControllerFromInstanceID().
REVERT: 8e40963e20 Mac: Fix a warning about implicit declaration of SDL_SendKeymapChangedEvent (bug #3167.)
REVERT: 1f65471948 Added support for the Gamestop Logic3 Controller
REVERT: d6a6378927 Mac: Added SDL_GameController mappings for the Steelseries Stratus XL and Nimbus gamepads.
REVERT: 8892024a7e Mac: Detect the d-pad and pause buttons on Steelseries MFi gamepads (bug #3124.)
REVERT: 963cac02b5 iOS: Fixed crashes when rotating the screen after destroying a window.
REVERT: 7af65f8906 Added Linux support for the Razer Sabertooth game controller
REVERT: 3b67a812d2 iOS: Set the 'player index' of MFi game controllers when they're opened for use.
REVERT: cbaba3ea62 iOS: Fixed MFi game controller triggers to report the proper range of values.
REVERT: 35ff47727f one last SDL fix: restore menu bar if we destroy a fullscreen window without transitioning it back to a non-fullscreen window first
REVERT: e048cbba33 don't toggle SDL fullscreen state on OSX if we're destroying the window
REVERT: 39112e8d78 more SDL fullscreen state tracking fixes, don't update fullscreen flags on failure to change fullscreen state
REVERT: 235a62bf8a SDL OSX implementation must account for the fact that going fullscreen can fail. improve the logic around retrying, make a few attempts before failing.
REVERT: c77054bd50 add hacky support for failed fullscreen transitions. SDL doesn't have the concept of a fullscreen transition that failed. if the user is actively changing spaces while the app goes fullscreen, it fails to go fullscreen; now it will just try again instead of hanging around with the wrong window styles.
REVERT: 202030cc74 iOS MFi game controllers: inverted the thumbstick y axis values to match the behavior of other controllers.
REVERT: 58c2f0a3bb Added Linux binding for Wii-U Pro controller
REVERT: 9b526d28cb Add SDL_HINT_VIDEO_X11_NET_WM_PING to allow disabling _NET_WM_PING protocol handling in CreateWindow if desired.
REVERT: 15b44dadf7 Add a new SDL_KEYMAPCHANGED SDL event to abstract notification of keyboard layout or input language changes.
REVERT: 8dda1f09b3 Mac: Fix returning to the window's Space in OS X 10.11+ when SDL_WINDOW_FULLSCREEN_DESKTOP is used (bug #3152.)
REVERT: 90a67daf0d D3D11: Fixed SDL_RenderDrawPoints() ignoring input after the first 128 points.
REVERT: ab3959041f Android: Added missing import statement.
REVERT: 9a5276c5ba Fix some Android keyboards that didn't work properly.
REVERT: 3ad2ce47ea Added SDL_JoystickCurrentPowerLevel() to WhatsNew.txt for 2.0.4.
REVERT: 174b5f8110 Fixed freeing uninitialized pointers on failure cleanup in tests.
REVERT: 0695fbe89f Android: Added a new method in SDLSurface.
REVERT: c703511246 Android: Added new key codes without mapping.
REVERT: 20e32a2611 Converted tabs to spaces for SDL style
REVERT: 01bafb4097 Fixed sending a size event while setting up a window (fix for DOTA 2 on Source 2)
REVERT: ad5ae57e79 Mac: Reset display if going from fullscreen to a fullscreen Space or vice-versa.
REVERT: 0021ef9562 Fixed forcing the window size when creating a non-resizable window on Windows.
REVERT: 0e58fed3ae Fixed swapped Windows and Linux entries for the Cideko AK08b
REVERT: bf785c766b SDL - added new SDL_JoystickCurrentPowerLevel() API that returns the battery level of the selected joystick. Currently only implemented for XInput devices, other platforms are a TODO.
REVERT: 8038b8bb7f Fix crash on controller hotplug on linux.
REVERT: 834b51076e SDL - add dynapi entry points for SDL_JoystickCurrentPowerLevel
REVERT: 010c203fe4 Added support for the Cideko AK08b
REVERT: 30f533b548 Android: Removed three internal functions not used by SDL.
REVERT: b7c6c31ff6 iOS: show message boxes using the new UIAlertController APIs when supported, rather than the deprecated UIAlertView.
REVERT: 7c54ba9231 iOS: Fixed pointer dereference after free.
REVERT: 7f9dd40e33 Updated configure.in file.
REVERT: 0023cbb086 Added initial support for MFi game controllers on iOS.
REVERT: c82ecd21c9 Added copyright information on test/sample.wav; the mystery is solved!  :)
REVERT: 053900d767 Added more entries to WhatsNew.txt for 2.0.4.
REVERT: 6fcd1828be Android: Added check if Java method for APK expansion file exists.
REVERT: 1a31b4723b Android: Improved last error message for failed APK expansion file use.
REVERT: d1ffadbeb6 Android: Added additional error messages for APK expansion file use.
REVERT: 8fa156a2f8 Android: Fixed trying to read from APK expansion files without version hint set.
REVERT: 2ab482abc1 Android: Renamed SDLActivity's Java method used for APK expansion files.
REVERT: 374505fcdb Android: Added to APK expansion file hint documentation in header file.
REVERT: e3768b7fc3 Android: Removed empty onDraw() override method from SDLActivity.
REVERT: 8f2af6c925 iOS SDL_GL_CreateContext: Clamp the multisample sample count when the requested value is too high, rather than failing to create the context.
REVERT: 5a31dc0c71 Windows: Try to use xinput9_1_0.dll if XInput 1.4 and 1.3 are not available.
REVERT: 6efe686cba Fixed the header guard in the darwin SDL_sysjoystick_c.h file.
REVERT: b7240f9d22 Fixed divide by zero if the application has run out of GDI handles and is trying to show an error dialog
REVERT: f14eac8b9d Mac: Fixed off-by-one bug when plugging in a joystick (thanks, Konstantin!).
REVERT: 35c5c3eba1 iOS: Added support for force-touch on capable devices.
REVERT: b7d6f5efb2 Mac: Fixed SDL_SetWindowSize to set the size of the content area of the window, rather than the total size including decorations.
REVERT: 5fd53bf114 Fix Bug 3114: SDL's MSVC-2010+ projects can fail to build via a custom VS .sln
REVERT: 09c76524e5 Android: Changed return type of four JNI functions from int to jint.
REVERT: 36a91d1b09 Android: Fixed unused variable warning.
REVERT: 298097bcff Android: Fixed missing break warning.
REVERT: 3dbb909ae4 Added another entry to WhatsNew.txt for 2.0.4.
REVERT: 7ea66ca4bd Fix bug 3081: CMake configuration auto-disables OpenGL ES support on Windows.
REVERT: 449589fbe8 Fixed bug 3098: CMake project never enables xinput support on Windows.
REVERT: c7de6f631b PSP: Replaced use of SDLKey with SDL_Keycode.
REVERT: 60029237b6 PSP: Fixed a syntax error.
REVERT: 56e17dd71f Corrected documentation of the SDL_CreateTexture() functions in header file.
REVERT: 446d7f5566 Changed an error return value from 0 to NULL for consistency.
REVERT: 3ee7f4d0c5 Updated SDL_egl.h to have the latest EGL version and extension information.
REVERT: 9fb5a1fb89 Corrected documentation of SDL_AddTimer() in header file.
REVERT: 7bc72a50fc Removed not needed call to pthread_attr_getstacksize() for SDL_CreateThread().
REVERT: 0ea7793274 X11: Handle keyboard layout changing during app's run on Ubuntu 12.04 (etc).
REVERT: f2ebe52533 Patched to compile.
REVERT: 78b9440d12 Minor coding convention fix.
REVERT: 3e49b27401 Supply current group when translating X11 Keycodes to Keysyms.
REVERT: 14c8d30f02 Cocoa: Keep the window's screen position through SDL_SetWindowSize().
REVERT: d54113d9c3 X11: only send mouse button up events if not a mousewheel "button"
REVERT: 6ad456bcd3 X11: Simplified mousewheel event handling.
REVERT: e3b7f2368f X11: isConfigureNotify() isn't used at the moment, comment it out.
REVERT: 05eea5e87c X11: don't block on a ConfigureNotify event during SDL_SetWindowBordered().
REVERT: 55792afb68 Added missing SDL_Quit() in test program.
REVERT: 0c6558d987 Emscripten: Changed return -1 after SDL_SetError() to return SDL_SetError().
REVERT: 73948fd5e4 X11: Fixed XRandR display detection.
REVERT: 16054addb9 testdisplayinfo.c forgot to SDL_Quit() at the end.
REVERT: 3213217a30 X11: Fixed a memory leak when adding duplicate display modes.
REVERT: 3f92e7f9b6 Emscripten: Added missing error messages for audio and joystick init failures.
REVERT: 5eb6e5af30 Added more entries to WhatsNew.txt for 2.0.4.
REVERT: 9f0c34896d Add SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4 to SDL so that Reborn can keep running through Alt+F4.
REVERT: c35f6a06f6 Fixed bug 3083 - Android JNIEXPORT and JNICALL missing
REVERT: a1eb7c737e EGL: Added support for sRGB system framebuffers, when the required EGL extension is present.
REVERT: 575780778b Mac: Fixed check for SDL_HINT_MAC_BACKGROUND_APP.
REVERT: f565d64e86 Fixed documentation of SDL_DropEvent in header file.
REVERT: 6d7a315742 Added filesystem to list of paths in porting README.
REVERT: a40a5a19bd Android: Changed androidbuild.sh to use path from variable.
REVERT: feb2506970 SDL - fix hint check, we want or not and
REVERT: 33f9c9c76d Trivial integer truncation warning fixes.
REVERT: fd04003739 SDL - add a new SDL_HINT_MAC_BACKGROUND_APP hint, when set or set to 1 don't force the app to be foreground
REVERT: 3ca91435d1 Fix up monitor enumeration for Windows 8.1 case.
REVERT: ffcd86ba00 Fix SDL_GetWindowPosition to be properly monitor-aware and return the monitor x,y when fullscreened.
REVERT: 54d9c96cbd Turn on debug info generation for release configs.
REVERT: 8431c71e2b Move GetDisplayDPI to the end of the file.
REVERT: a7866ff147 Fix build.
REVERT: 9a88ae1678 Add X11 implementation of SDL_GetDisplayDPI.
REVERT: e26124316e Add SDL_GetDisplayDPI routine and implement for Windows.
REVERT: 70bf81aaec x11: Catch fatal X errors when calling glXMakeCurrent().
REVERT: 1ddb3c562d iOS: Avoid generating an OpenGL error (but still fail to create the context) if the specified MSAA sample count is unsupported.
REVERT: d81533aeed Added MSAA support for OpenGL ES contexts on iOS.
REVERT: af2a41f99d Fixed dynapi for new SDL_WarpMouseGlobal() function signature.
REVERT: 1192b74f69 Patched to compile on Raspberry Pi.
REVERT: 0a790ca20c SDL_WarpMouseGlobal() should return non-void.
REVERT: b032dd985f Fixed spaces in header file.
REVERT: 098d4934ea Windows: Fixed wrong debugger output if logging empty string as info or warning.
REVERT: b7e03d261f Fixed typo in test header file comment.
REVERT: 0aa4f76ebd PSP: Fixed error handling in SDL_SemWaitTimeout().
REVERT: 8a0443bf99 Fixed comment in test program.
REVERT: 1a7d03ff75 X11: center parentless message boxes on the primary display if possible.
REVERT: aac01f81ad Added test/testdisplayinfo.c
REVERT: 19a66a9295 x11: Patched to compile on systems without the Xutf8LookupString() function.
REVERT: 633a357db0 Fixed memory leak in test harness.
REVERT: 34ada3ba72 Better fix for bug 3048, don't crash if the window title is NULL
REVERT: da7dadee1c Fixed bug 3048, "Crashes in Cocoa_SetWindowTitle"
REVERT: e8e6c58c5b Cocoa: support drag-and-drop of multiple objects.
REVERT: f508c26ce4 Fixed style
REVERT: 103603e7c1 commit a7d7af2a419b453188ffe87386455fc26c1306fa Author: Benoit Pierre <benoit.pierre@gmail.com> Date:   Fri Jul 3 02:17:10 2015 +0200
REVERT: cba1bef679 Added missing file to the release archive.
REVERT: b7b9530412 Removed redundant variable check when processing gestures.
REVERT: 6b25782e9e Hack to fix missing window decorations after toggling fullscreen mode in Mac OS X 10.10
REVERT: 198218f62e X11: Added a test for a weird X11 error we get with Xinerama, rarely.
REVERT: 97c1a0ef23 X11: Call XRefreshKeyboardMapping() when we get various MappingNotify events.
REVERT: 1361eae8c4 X11: Don't ignore keyboard mapping changes.
REVERT: 50c053a80c Fixed assertion failure in diskaudio target caused by new hotplugging support.
REVERT: 3039a59198 Fixed bug 2464 - Configure a sdl2-config.cmake.in together with sdl2.pc.in
REVERT: af046372c7 Fixed compiling if SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM is not defined
REVERT: fa861eb3cc Mac OS X: Fixed typo in build script comment.
REVERT: c62442af8e Emscripten: Corrected build instructions in documentation.
REVERT: ff8a1efc51 Fixed bug 2834 - Patch to support dead keys on Windows
REVERT: a499d8068f Fixed whitespace in SDL_evdev.c
REVERT: 649f5f8162 Fixed an issue with mouse/keyboard removal
REVERT: 909e7e1691 SDL - disable compiling in XAudio2 support. We both need the DX SDK to make this code plus we need to work out the runtime dependency problem this code bring in on windows (needing the DX runtime installed).
REVERT: 96e1ee365e SDL - do the scancode to keyboard code lookup for the grave key, so that we can show users the correct keyface for the key, rather than forcing it to "`".  Note that if a game is using SDLK_* for its KB mapping then after this change on some keyboards the top left key will no longer be mapped correctly with the old data.
REVERT: 73e7210e2c Fixed bug 3030 - SDL_RecreateWindow fails to restore title, icon, etc.
REVERT: e3f67f4302 Fixed compiler warning about shadowed local variables.
REVERT: a101d1ee7c Updated Mac OS X documentation for fatbuilt.sh -> gcc-fat.sh transition.
REVERT: 360ec82b28 Windows: Fixed crash if initialization of EGL failed but was tried again later.
REVERT: d4b997d284 Backed out changeset 30a317c4af6c
REVERT: 38a1a45a02 Fixed crash if initialization of EGL failed but was tried again later.
REVERT: d29cc7e26a resync'd overscan patch with SDL mainline.
REVERT: 27ed732abc Fixed return value of SDL_SaveBMP_RW() depending on set errors after NULL input.
REVERT: 1244c2068c Linux: Removed not needed platform info from two entries of controller database.
REVERT: fc24a2d81e Fixed typo in internal joystick documentation comments.
REVERT: bb9dd1ec0c Emscripten: Simplified implementation of joystick update function.
REVERT: 2a45a031a7 Emscripten: Fixed memory leak if SDL_GetPrefPath() failed.
REVERT: 5491fe7094 Android: Fixed lint warning about order of elements in AndroidManifest.xml.
REVERT: e5fe1c05e0 WinRT: Fixed format string for error message.
REVERT: 02bb727c9e Patched to compile on C89 compilers.
REVERT: 5115ae3f94 Make X11 and Wayland ProcessHitTest() code less verbose.
REVERT: ce193a6e20 Implemented SetWindowHitTest() for Wayland (thanks, x414e54!).
REVERT: 3a2b97db0e Merged.
REVERT: 9dc4eb71f5 Fixed orientation issues in the iOS extended launch screen.
REVERT: 1089aa259c Ignore some more test binaries.
REVERT: 4225abc296 Windows: Fixed format string for error message.
REVERT: 91a602526b Mac: Fixed typo in two error messages.
REVERT: 64accce776 Some Raspberry Pi build fixes (including Raspberry Pi 2 support).
REVERT: 29b1cab6e1 Fixed an iOS view orientation issue when SDL_GL_CreateContext or SDL_CreateRenderer is called.
REVERT: beb96e3199 Placate static analysis with an assertion.
REVERT: 8b83017158 Fixed memory leak in failure case that static analysis found.
REVERT: fc65a70a85 PSP: Removed empty statement.
REVERT: 844ac0dbed Wayland: Removed empty statement.
REVERT: b2002bd0e5 Merged Alex Szpakowski's iOS-improvement branch to default.
REVERT: 58fb5ed781 Added framebuffer and colorbuffer members to the uikit portion of the SDL_SysWMinfo struct, removed SDL_iOSGetViewRenderbuffer and SDL_iOSGetViewFramebuffer.
REVERT: 620a06dec9 Backed out changeset 84407b33fe1e
REVERT: 3d3885f7bb Wayland: Fixed not freeing memory if initialization failed.
REVERT: 060eee3c4f Wayland: Fixed accessing not fully initialized subsystem if errors happened.
REVERT: fa7a33f5f3 Wayland: Fixed accessing not fully initialized window if no memory available.
REVERT: 0f74f5f039 Android: Fixed calling a getter method twice.
REVERT: 742fdb475d Android: Fixed creating mouse coordinates which are not needed if hint is set.
REVERT: a817381653 Android: Fixed not resetting mouse pointer state if hint was changed at runtime.
REVERT: d7781e2eff Renamed SDL_iPhoneGetViewFramebuffer/Renderbuffer to SDL_iOSGetViewFramebuffer/Renderbuffer. Added #defines for SDL_iOSSetAnimationCallback and SDL_iOSSetEventPump, which point to SDL_iPhoneSetAnimationCallback and SDL_iPhoneSetEventPump.
REVERT: f699d4bf09 Generated dynapi prototypes for the new iPhone functions.
REVERT: 2e1e6ca72a Merged default into iOS-improvements
REVERT: fcc02ce4eb Removed unused variable.
REVERT: 669dc26987 X11: Removed code to set "icon" title, since it was never used.
REVERT: 2ea17952a1 Patched to compile on Windows.
REVERT: 0392357711 Wayland: Patched to compile.
REVERT: 67034e77b6 DirectInput: ignore everything but joysticks and gamepads (thanks, Justin!).
REVERT: e7b13cff94 SDL_SetWindowTitle() should never set a NULL pointer for the title string.
REVERT: 14d69c7f05 Make SDL_stdinc.h work when compiling with -Wundef (thanks, Ben!).
REVERT: f4d6bf7c5e Patched to compile on C89 compilers.
REVERT: b344c3f2ed Log Android hardware at startup (thanks, rettichschnidi!).
REVERT: 806c03c496 Do the "fix" for asserts with MSVC's /W4 warnings only on MSVC.
REVERT: 96c35e69fb Wayland: changed a few "SetError(); return -1;" to "return SetError()".
REVERT: 0bacddf42e Merged default into iOS-improvements
REVERT: a47b4d648c X11: Always specify "True" if setting GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB.
REVERT: 51fdbabb56 This function can be static.
REVERT: a5fff20ab1 Make loading/saving dollar gesture templates endian clean (thanks, Martin!).
REVERT: f7e517a061 Add some SDL_SetError() calls to the dollar gesture code (thanks, Martin!).
REVERT: dd2a173a33 Patched to compile on Android when audio subsystem is disabled (thanks, Jonas!)
REVERT: d18f975b1b Fixed detecting the NVIDIA controller which shows up as both a mouse and a game controller
REVERT: ddad0a1315 Cast the result of calling getButtonState to an Integer
REVERT: 9549f560ba Added a game controller entry for the NVIDIA Controller
REVERT: 9e9a67f64e handle the case where the ibus address can't be found. (prevents nasty crash)
REVERT: 7ccd2d26a9 Patched to compile on Android (I hope).
REVERT: bedac6b53a Android: more separate-mouse-and-touch work.
REVERT: ba8fa2b18a Fixed relative mouse motion moving farther and farther off screen.
REVERT: 8dba903d57 Wayland: Specify the output we want to put our window on.
REVERT: d6ffb03a60 Minor input grab clarifications.
REVERT: 1163b6da1c Renamed SDLGenericMotionListener back to SDLGenericMotionListener_API12
REVERT: bc4a24e207 Removed not needed call to SDL_free().
REVERT: 8f0ea4bcf7 Android: Removed outdated comment from source.
REVERT: adc62e29fb Make the Dynamic API master switch more clear.
REVERT: d9f45dce57 Add a hint watch callback for SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH.
REVERT: b335d1a182 Removed unnecessary SDL_log.h include.
REVERT: e997a4144d * More Android patch work
REVERT: 3dcf5c743f * Improve mouse support in Android. These changes require Android API v12 to compile
REVERT: 9c0de60160 Keep track of maximum number of events in-flight in the SDL queue at once.
REVERT: 79ca08bb25 Patched to compile on C89 compilers.
REVERT: 77d434ab89 Make the signal handler hint more generic.
REVERT: d9474bba87 Added a hint to prevent SDL from installing signal handlers.
REVERT: 3ff618a9c7 Cleanups in the joystick code.
REVERT: e03d7a79a9 Mac: patched to compile with haptic subsystem disabled (thanks, Rodrigo!).
REVERT: 2b9c893e8b Better fixes for CMake subsystem enabling (thanks, Sebastian!).
REVERT: 1816bcb659 Make SDL error string formatting deal with nasty corner cases.
REVERT: 9da4b2b5b8 Ran hardcoded game controller database through sort_controllers.py.
REVERT: c3c8b8335a Added Logitect RumblePad 2 controller mapping for Linux (thanks, Nicholas!).
REVERT: 8dacecf1c6 winmm: Let audio callback buffer size be less than 1/4 second (thanks, Jon!).
REVERT: c01c90ce0c configure script: fix recursive mutex test on Linux systems (thanks, Ozkan!).
REVERT: 8b5daef277 X11: Reenabled setlocale() and fork() for message boxes.
REVERT: a0881fff00 Windows: Report window HDC in SDL_SysWMinfo.
REVERT: cd86ab1347 Android: Removed not needed include statement.
REVERT: 940b699079 Updated test program for Emscripten.
REVERT: 7e2f6f1519 Cocoa: Handle more cases of lost focus when Key window closes (thanks, Alex!).
REVERT: 4c9b75b839 Added missing SDL_DOLLARRECORD event type documentation in header.
REVERT: 1abb012ae5 Fixed confusing audio and touch events because of shared enumeration values.
REVERT: ee9303f845 Patched to compile on OpenGL ES-based platforms.
REVERT: a8024d0dec Whoops, lost a newline in here.
REVERT: 5e4b3fca00 Several corrections to the CMake project files (thanks, Ozkan!).
REVERT: 4abae0105f Windows: support for OpenGL extension WGL_ARB_context_flush_control.
REVERT: 984599afad Wayland: Properly discover displays and their modes.
REVERT: fc181d4b0e CMake: Dependency variable for FUSIONSOUND_SHARED was wrong (thanks, Kaleb!).
REVERT: 5a081912b3 CMake: fix CHECK_OBJC_SOURCE_COMPILES to work with GCC (thanks, Ivan!).
REVERT: 295e6b3609 Fixed typo in gesture README.
REVERT: 57677eda37 Another attempt to make MSVC's /W4 warning level cooperate with SDL_assert.
REVERT: 13dadf3829 Fix DBus error message if IBus couldn't be initialized.
REVERT: d4592104ee Refuse to make a window that's too large. Some systems (x11) freak out at this.
REVERT: b41f061d46 the last parameter of XChangeProperty is the number of elements.. and when the element format is 32.. the element is "long" so we have 5 long elements here.
REVERT: ec0e5f1a73 Allow setting of GL_CONTEXT_RELEASE_BEHAVIOR when creating the GL context when GLX_ARB_context_flush_control is available.
REVERT: 2de05b5d5c CMake: Don't search for the OpenGL library on Mac OS X. It's always there.
REVERT: 8d0b48cef1 Audio hotplug fixes for winmm and XAudio2 backends.
REVERT: 2eecc49426 CMake project files no longer force you to link against Wayland or Mir libs.
REVERT: ae08aea517 Fixed some defaults in CMake project file.
REVERT: 6c6bc81974 Patched to compile on gcc2.
REVERT: 84753c68f7 Removed unused variable.
REVERT: af94711fb1 Make static analysis happy.
REVERT: cb00e52aeb Fixed a compiler warning on Visual Studio.
REVERT: 9c567d5e93 Patched to compile on Windows.
REVERT: 90bd9250a4 Immediately minimize the goofy window in testaudiohotplug.
REVERT: fc1b620b3d Zero out the audio hotplug event structure, so the "padded" fields are sane.
REVERT: cd3f491efb PulseAudio: Hotplug support!
REVERT: 3883c8c40c SDL_RemoveAudioDevice() should specify capture vs output.
REVERT: 8f923a1c33 Removed the broken audio streaming code, other small cleanups.
REVERT: d0a775e968 Disconnected/broken/lost audio devices now continue to fire their callback.
REVERT: 2586087fca Don't assert if an audio backend reports the same device disconnected twice.
REVERT: 0152738d86 PulseAudio: Improved multidevice support.
REVERT: 9fd7d23246 Bunch of reworking to how we manage audio devices.
REVERT: e98dd173b7 Initial work on audio device hotplug support.
REVERT: 390dd29faa Changed some SDL_memset() calls to SDL_zero().
REVERT: 8b4b24c103 Tweaked a couple comments, added some FIXMEs.
REVERT: 6a1d79c7cd WinRT: updated names, and references-to, various ANGLE/WinRT repositories
REVERT: 466c8a104b Patched to compile on C89 compilers.
REVERT: f8af9d36b1 PulseAudio: Added multiple device support, other cleanups.
REVERT: 317ab8a96a Fixed a compiler warning.
REVERT: 0c003b66c4 WinRT: made OpenGL window-init work with latest round of ANGLE/WinRT updates
REVERT: 7be22f39a9 WinRT: another ANGLE/OpenGL-initialization, error messaging tweak
REVERT: 93fc5ce8a9 WinRT: ANGLE/OpenGLES-initialization, error message improvements
REVERT: 37895d5fa7 Updated name of assert type in test program.
REVERT: 3b609feebf Cleaning out a silly coding style I used to use.
REVERT: ad570bffcc Removed an unnecessary #ifdef.
REVERT: bde0ce0969 Updated internal documentation comments.
REVERT: b6737b215d Windows: Fixed ignoring return value of internal function.
REVERT: cf9936654d Emscripten: Fixed ignoring return value of internal function.
REVERT: 0eb350f9ec Emscripten: Partially fixed not removing key event callbacks if hint was used.
REVERT: 12d065e7e1 Fixed SDL_PRI?64 for 64-bit Linux.
REVERT: f1bdf20e1d SDL - fix crash on OSX when removing a device. If the remove happened due to the CFRunLoopRunInMode call in SDL_SYS_JoystickDetect then we would delete the device right away, before SDL_SYS_JoystickUpdate could clean it up. So move the CFRunLoopRunInMode to after the cleanup logic, preventing this case. This does mean that adds and removes of joysticks now take 1 extra frame to show up.
REVERT: 2287c7b032 Fixed bug 2868 - SDL_FillRect can crash if surface's clip-rect is out-of-bounds
REVERT: e4f4a0e0af Emscripten: Fixed out of range joystick device index after joystick disconnect.
REVERT: eb9d379503 Emscripten: Fixed sending button and motion events for not opened joysticks.
REVERT: 79abb08b76 Fixed naming conventions in some SDL_assert types, added compat #defines.
REVERT: 984d72502d Mac OS X: Better way to stop duplicate joystick reports (thanks, Kyungdahm!).
REVERT: 3951d03c49 Windows: Added a FIXME.
REVERT: b549a0f797 Windows: Free the argv we allocated for console_wmain().
REVERT: d0c74b7b23 Windows: Added a FIXME.
REVERT: f9cd47e187 Windows: Make a distinction between ANSI mainline and UTF-8 mainline.
REVERT: c2ba56ccb7 Windows: Support unicode arguments for console applications (thanks, Jorgen!).
REVERT: a33b3fca95 Mac OS X: replace some deprecated APIs with modern equivalents (thanks, Alex!).
REVERT: 05b4247f94 SDL_SetWindowPosition respects display num for SDL_WINDOWPOS_CENTERED_DISPLAY.
REVERT: 5ed59597bb Merged default into iOS-improvements
REVERT: 46ed3de4f7 Fixed the extended launch screen causing minor visual issues when rotating the screen in some circumstances.
REVERT: d2aee7d409 Fixed bug 2816 - [patch] Android: Expose screen refresh rate
REVERT: 9d2b5dd67d CMake: Removed unused variable (thanks, Felix!).
REVERT: 5bd19d340d Fixed bug 2807 - Not using CoreAudio on OS X when built via CMake
REVERT: 29d25ec1b5 Fixed wrong documentation in joystick implementation source.
REVERT: 97ce204e2f Fixed two warnings about initialized but unused local variables in tests.
REVERT: f2452bba77 Merged default into iOS-improvements
REVERT: b323ac5ca6 Several improvements to the iOS backend:
REVERT: 32bb7897e2 Added and fixed doxygen markup in header file.
REVERT: 551c20baf2 Fix build on Linux when wayland is enabled
REVERT: 8b1b079795 Some corrections to the SDL2.spec.in (thanks, Simone!).
REVERT: e08e2cd4eb Remove unnecessary parentheses and an unnecessary free() of a NULL pointer.
REVERT: 139252cb4e Corrected documentation about triggers values in SDL_GameControllerGetAxis().
REVERT: 25c786a0d9 We maintain the list of platforms on the wiki now.
REVERT: 1a2231c115 Emscripten: Fixed receiving joystick events after failed init or subsystem quit.
REVERT: f3b8ca2a36 Removed redundant include statements from test programs.
REVERT: 1a17139cf1 X11: Don't create a window and GL context to look up the glX extension string.
REVERT: 21282ee01f glX HasExtension(): check for NULL ext string first.
REVERT: 6c134a60d0 Emscripten: Removed unused internal function.
REVERT: 34e9ba9c45 Emscripten: Changed return type of callback implementations from int to EM_BOOL.
REVERT: 83859b12ea WinRT: a minor, nit-picky cleanup of some OpenGL code
REVERT: e0a6da9b6d WinRT: improved OpenGL ES compatibility on WinPhone/ARM and Surface RT
REVERT: d1135e337b Fixed crash if using clipboard functions without having initialized video.
REVERT: 56146a8c13 Fixed compile warning about unused variable in wave test program.
REVERT: 790d90535a WinRT: fixed crash when using up-to-date versions of ANGLE/WinRT
REVERT: e18cf07b3a Emscripten: Fixed sending SDL_JOYDEVICEADDED events with an index out of range.
REVERT: 3c70a54e6d Emscripten: Deactivated and corrected debug log messages on joystick events.
REVERT: 77b70ccb7d Emscripten: Fixed throwing JavaScript exception if no audio context available.
REVERT: 88c0cf9192 Emscripten: Fixed not including SDL_internal.h.
REVERT: c07f480946 Emscripten: Fixed framebuffer error message.
REVERT: 3506528b4d Emscripten: Fixed SDL_GetPlatform() returning "Unknown" instead of "Emscripten".
REVERT: d9c3c62015 Fixed test programs for joystick not exiting on events after first disconnect.
REVERT: 16369a4919 X11: Set dialog hint on message boxes (thanks, Melker!).
REVERT: bf73cbded1 Fixed bug 2873 - Joystick test won't reload after reattach
REVERT: b5080e09ab Fixed compiling test with older C.
REVERT: 65093881bc Fixed two inconsistencies on failed allocation.
REVERT: 445da2c732 WinRT: made note that VSync is always enabled on WinPhone, due to OS
REVERT: 21dbdf0eab Fixed three memory leaks on failed allocation.
REVERT: 1577f08fad Fixed bug 2866 - testrelative.c: patch to make the orange box wrap around
REVERT: f6c184ae02 Added missing guards.
REVERT: 2a5d30c5f8 X11: Add events related to maximizing a window (thanks, Andrei and Gergely!).
REVERT: b6973e6179 X11: Fixes for OpenGL 3.0 and later context creation.
REVERT: cb727e32b9 Added missing guards in implementation for PSP.
REVERT: cc564951ad Added missing include statements in implementation for PSP.
REVERT: af3327018f Fixed comment in implementation for NaCl.
REVERT: 93040fda2b Fixed including SDL_config.h in implementation for Android.
REVERT: 36ebb1f6c6 Fixed names in implementation for PSP.
REVERT: 97b6937ee2 Fixed wrong comment in implementation for Android.
REVERT: 26ddac2631 Fix typos in header file documentation comments.
REVERT: 60192c3d03 Changed static variable to local variable in implementation for Android.
REVERT: 81aaff41c9 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)
REVERT: af0ac08492 Add binding layout for Xbone pad.
REVERT: 5f6bd20321 X11: Don't delay delivery of focus events unless we just changed vidmodes.
REVERT: cc3e7b2c09 Fixed recently broken configure script for FreeBSD.
REVERT: f6c04205cc Fixed memory leak in video quit implementation for Android.
REVERT: 581841e8cf Updated a README.
REVERT: 1419eb12a4 Fixed bug 2802 - [patch] Fix android build compiling in wrong filesystem implementation
REVERT: a81f803217 Replaced include of SDL_types.h with SDL_stdinc.h in internal header file.
REVERT: db239776a8 Clang static analysis builds should use C runtime directly.
REVERT: ec5859009e Dynamic API: don't leak if a library loaded but didn't have the entry point.
REVERT: 054ed2dfc2 Removed unused enumeration and constant from internal header file.
REVERT: 416e4bd62e Fixed copyright date.
REVERT: daf530147d Linked README-emscripten.md in README.md and added markdown formatting.
REVERT: f292374de1 Renamed README-emscripten.txt to README-emscripten.md.
REVERT: 0bdc0eedb8 Cleaned up some compiler warnings.
REVERT: 418389348e GLES2: Only use VBOs for Emscripten (for now).
REVERT: d0ca05bcdb Added three missing checks for return values of SDL_calloc().
REVERT: b7254055e9 WinRT: hiding SDL_WinRTRunApp's XAML functionality, until it's ready for use
REVERT: dbc52081d6 Removed missing test program from Makefile.
REVERT: 4cf114422f Changed Emscripten entry in gamecontroller database to allow sorting by script.
REVERT: cb356b0bc5 Removed unnecessary call to SDL_free().
REVERT: 93ff35dbfc Fixed typos in a README.
REVERT: f77a082faa Fixed typo in header file documentation comment.
REVERT: 86eaa23de4 Fixed compile warnings about unused variables.
REVERT: 2b4f8be818 Fixed compile errors in example programs.
REVERT: 989b509a22 Maybe actually patched to compile this time?
REVERT: 038a4f862a Actually fix Unix scripts this time.  :)
REVERT: e4f209b9e6 Really patched to compile this time?
REVERT: 92573049a4 Patched to compile.
REVERT: 1d6b450b2c I don't know if Unix scripts are useful at all on Emscripten, but fix them up.
REVERT: eab9145ae3 A little more work on the Emscripten buildbot script.
REVERT: 79012b522c Added buildbot script for Emscripten port.
REVERT: b5b91f4e11 Maybe patched to compile on Windows for real now?
REVERT: bab5629666 Patched to compile on Windows.
REVERT: 6b529cf6dd Patched to compile on non-Emscripten targets.
REVERT: ece876a1b7 Partial fix for bug 2726 - Win32 'mouse' events not applying 'SDL_TOUCH_MOUSEID'
REVERT: aafa101499 Fixed X11 build, added code to print initial modifiers to checkkeys
REVERT: 6480b36e2e Fixed bug 2736 - X11 doesn't set KMOD_NUM and KMOD_CAPS to system state
REVERT: c214a09913 Fixed Windows build
REVERT: 5975e759b2 Fixed bug 2860 - SetProp must be paired with RemoveProp especially for properties added to external windows
REVERT: 9fd379f1d5 I think this will be the time...
REVERT: f1446b49f2 Still trying to get this to compile...
REVERT: a0d61787af More patching to compile...
REVERT: 5c7974ec41 Another attempt to get this to compile.
REVERT: 891c2792ad Patched to compile on MingW.
REVERT: f6992428b4 Move tests from SDL_config higher up in Windows joystick/haptic code.
REVERT: b007cfea84 X11: Add Xdbe support to message boxes (thanks, Melker!).
REVERT: 48c1032b42 Patched to compile on C89 compilers.
REVERT: e2d788ca24 Wayland: Avoid NULL dereference after window destruction (thanks, "x414e54"!).
REVERT: 8f0605e8f7 Fixed detecting PS4 wired controller on Windows
REVERT: d8ec531228 Back out changeset 12d477422f47.
REVERT: 85539b2b2d X11: generate clipboard update events (thanks, "chw"!).
REVERT: a7d766c672 Uh, yeah, it helps to press "Save" before committing...
REVERT: 250bcd30cd X11: use XA_STRING for text SDL puts on the clipboard (thanks, "chw"!).
REVERT: 6ff4d48902 Stack hint should look for 0, not -1, and not care about environment variables.
REVERT: 12bbb8e161 Added a hint to specify new thread stack size (thanks, Gabriel!).
REVERT: 8ff2462ace Properly report DX headers in the CMake project files (thanks, "MailMr_S"!).
REVERT: 1306c6dedb [IBus] Only register interest in messages sent to our input context.
REVERT: f6173ad6a1 [ibus] Send an empty TextEditing event when the text is cleared by pressing backspace.
REVERT: f21e896d62 Added some unknown keys from Japanese 106/109 keyboards (thanks, "ver0hiro"!).
REVERT: 96604e9856 Mac: Send a window resize event when the window's backing scale factor changes.
REVERT: ab6a3dbfe2 Reset the keyboard state when launching a message box (thanks, Sean!).
REVERT: b8b646c243 Windows: Alt-F4 hotkey should be checked on keydown, not keyup (thanks, Matt!).
REVERT: ca08bb0d98 Android: Added basic drop file support (thanks, "noxalus"!).
REVERT: d4f288f080 Pump IBus events after X events.
REVERT: 6c21798873 Fix a libtool issue with some mingw-w64 cross compilers (thanks, Ozkan!).
REVERT: f3010ca3a2 EGL: OpenGL ES 3.0 contexts can now be created without the EGL_KHR_create_context extension.
REVERT: 2193e198e8 Drop out of SDL_UpdateTexture() early if the rectangle is zero pixels.
REVERT: b9ea3c02d2 Some setups need _GNU_SOURCE to make LLONG_MAX available (thanks, Ozkan!).
REVERT: 2102ee2bb9 Fix fallback define for DECLSPEC for non-Windows platforms.
REVERT: f9e0e40db2 Whoops, fix the static analysis fix.
REVERT: 52f8afaf0c Mac: Fix compiler warning when building with a min target >= 10.6.
REVERT: 0f24d58e4e Darwin haptic: Fixed a static analysis warning if axes==0.
REVERT: 4cb7923f25 Linux joystick: Look at entire axis namespace for controls (thanks, "spaz16"!).
REVERT: 2fd64c2f12 Fixed bug 2869 - Controllers connected on launch are reported twice.
REVERT: b203ccfa24 Cocoa: Fixed relative mouse mode when app loses/regains focus (thanks, Eric!).
REVERT: 94dc4ff928 Make dot easier to see in testrelative.
REVERT: 1793c3c04d Updated configure script.
REVERT: fc70e496dd Removed -XCCLinker from MingW command line (thanks, Fredrik!).
REVERT: 84969e4c4e Windows: don't beep on Alt-* key combos (Thanks, historic_bruno!).
REVERT: 12018c9d31 Cocoa: report SDL_WINDOWEVENT_EXPOSED events to the app (thanks, David!).
REVERT: 19b53694f2 Cocoa: don't fail outright if we see an unknown display format.
REVERT: 4e39f6e310 Don't look for (and fail without) glGetIntegerv() until we need to.
REVERT: 4ad4d105c8 Fixed bug 1392 - Debian patch: do not propagate -lpthread
REVERT: 56b58afdbe Updated the copyright year to 2015
REVERT: 85c40e45b7 Script from Sylvain to automate updating the copyright year
REVERT: f5e7adf421 Fixed bug 2989 - Memory loss in clipboard_testClipboardTextFunctions
REVERT: 2ae3e48bcf Wait for devices to finish initializing when inserted, before using them. Fixes hotplug issue with XBox 360 game controller.
REVERT: 7fb16deda0 Added support for Razer Serval Bluetooth mode
REVERT: 8eac3c7114 Fix duplicate raw mouse events with XInput2
REVERT: f15df00856 Sign any subframeworks - not needed for SDL proper, but included for consistency with other projects
REVERT: 1674b49dc4 Android: Fixed touch pressure being out of range.
REVERT: ae188bcbae Removed redundant NULL check in test program.
REVERT: 4575b60c5d Changed clean-up order in test program.
REVERT: a5c372da01 Fixed undefined key access in test program.
REVERT: cc1d46d30e Added game controller support for the Razer Serval
REVERT: 566df69b69 Added missing loop cancel for Emscripten in test programs.
REVERT: b359854af7 Fixed compiling test program with Emscripten.
REVERT: 204e676bfe Fixed handling only one event per frame in test program.
REVERT: 2190985ce9 Code style cleanup in the GLES and GLES2 render backends.
REVERT: 58e77377c6 iOS: Added support for SDL_DisableScreenSaver and SDL_EnableScreenSaver.
REVERT: 0e132b3325 Android: Replaced logging tag strings with constant.
REVERT: 07959a8f94 Emscripten: Fixed wrong source comment and updated web link.
REVERT: 49d1803fa6 Mac: Use CoreFoundation headers instead of Carbon headers, in GetPowerInfo code.
REVERT: a891967b73 Added a userdata parameter to SDL_SetWindowsMessageHook()
REVERT: edc8e4e647 Fixed Mac and Linux builds
REVERT: 51bfd9328e Added SDL_SetWindowsMessageHook() to facilitate full IME support on Windows
REVERT: 1cbf83b0c0 Added generic xinput fallback for XBox compatible controllers on Linux
REVERT: 06fe127036 Refactored SDL_EGL_CreateContext: It now supports context flags and OpenGL ES 3+ contexts, and its behavior more closely matches the GLX and WGL context creation code. Improved the code style consistency of SDL_egl.c.
REVERT: 9a7c04deea Android: Fixed empty parameter list in signatures of internal functions.
REVERT: b3830cc285 Fixed SDL_TouchFingerEvent documentation in header file.
REVERT: 8143b8c00b Android: Replaced spaces with tab in Android.mk file.
REVERT: 67d7b26b5d Emscripten: Fixed touch coordinates not being normalized.
REVERT: ffb4e63c8d Fixed implicit function declaration in test program.
REVERT: 112c9e9cc7 Fixed SDL_GL_GetAttribute queries for framebuffer component sizes in Core Profile OpenGL contexts.
REVERT: 7dcb01dd8d Fixed building the iOS Demo files in debug mode
REVERT: 9e16e61ada Replaced all remaining uses of NSAutoreleasePool with @autoreleasepool blocks (bugzilla #2680.)
REVERT: db53123ea2 Fixed a warning when SDL_syswm.h is included in code compiled for iOS with clang.
REVERT: 91e517df33 Fixed the window offset on iOS when resuming an app with a borderless or fullscreen window that has the on-screen keyboard visible.
REVERT: 01874284f5 Fixed a crash on iOS when none of the orientations in Info.plist match the SDL window's actual orientation.
REVERT: e983d40007 Fixed bug 2976 - Fix RGBA<->RGBA blit that was broken with the optimization from Bug 11
REVERT: 289d6600ff X11: send keypress events before textinput events.
REVERT: 0291892654 checkkeys: report SDL_TEXTEDITING events.
REVERT: b78f3a3d40 checkkeys: Readded the KEYUP event test.
REVERT: 8dcfd98d27 Android: Deactivated debug log messages on joystick device events.
REVERT: e1eebca097 X11: Use our own cut-buffer for intermediate clipboard storage.
REVERT: 2dc85e7ed4 Moved code signature step to after the framework build step is complete, and don't hardcode the codesign identity
REVERT: 168076ba13 Turn off code signing by default Code signature can be added after build with the following command line: codesign --force --sign 76BB5ACAC44CA5EFA5F879434D157B81DA842CFB SDL2.framework/Versions/A
REVERT: 7a341245a5 Updated project and added code signing for release builds
REVERT: dee33f6150 Only check for Linux-specific input APIs on Linux targets (thanks, Marcus!).
REVERT: 0970b3829d Remove trailing spaces in Android source code.
REVERT: c2c793b74c CMake: Minor cleanup up on the new SDL_*_ENABLED_BY_DEFAULT vars.
REVERT: de88474dda Initial merge of Emscripten port!
REVERT: c2ebb6b09f CMake: Replace "else(condition)" with "else()", etc.
REVERT: 7d788b9de3 Treat any key device as a keyboard This matches commit b8e85a5ac99a for when udev is not running
REVERT: af960c21b5 Removed unused includes and functions from test program.
REVERT: 441018f860 Replaced sqrt() with SDL_sqrt() in test program.
REVERT: 428c615dec Removed global variable from test program.
REVERT: eccf17ae12 Removed extern declaration of not existing SDL_numhaptics from internal header.
REVERT: fe111b603e Removed dependency to stdbool.h in implementation file for Android.
REVERT: ba95566488 Fixed setting text to clipboard in controllermap program.
REVERT: fdde05856b Added comments in example program.
REVERT: bb8a6cf785 Fixed bug 2811 - [patch] Android core: Fix JNI 'nativeGetHint' symbol not being exported
REVERT: 93325ab4d4 Fixed warnings about possible loss of data in conversion.
REVERT: 518802a5c1 Replaced free() with SDL_free() because related allocation also uses wrapper.
REVERT: fa7a90f2bb Corrected header file guard comment.
REVERT: b9aeac24fd Fixed some paths in the new buildbot windows zipper script.
REVERT: b612510fb2 Added a script to handle packing up Windows builds for the buildbot.
REVERT: 5f2e37555d ugh.. stray character
REVERT: 8ddea9cb66 fix SDL_PRIs64 on windows compilers.. (should end in d)
REVERT: f39c6e8a6f switch to use SDL_PRI* macros for long long formatting everywhere.
REVERT: e9d9c85e3c fix incorrect struct member name in test code for wheel direction
REVERT: ecef423a78 update logging of events in test core
REVERT: cd7a350e3d add in support for passing down the "natural" (or flipped) scrolling direction in the MouseWheelEvent event
REVERT: c8e397c32f WinRT: fixed bug whereby SDL would override an app's default orientation
REVERT: 4c34a1682a Adds support to control the scaling policy/mode of SDL_RenderSetLogicalSize for both letterbox (current behavior) and a new overscan mode (expand to fill the entire screen, even if some parts draw off the screen).
REVERT: 594785a021 WinRT: removed SDL_HINT_WINRT_PREF_PATH_ROOT (introduced post-2.0.3 & pre-2.0.4)
REVERT: dcfb9a729a Merged default into iOS-improvements
REVERT: 38563c490c Fixed SDL_GetRendererOutputSize on iOS when high-DPI mode is enabled on a Retina device.
REVERT: abb05b9c97 Fix assert format strings/parameters in testautomation modules; improve output of SDL_CompareSurfaces to aid debugging; update platform_testSetErrorInvalidInput for SDL changes
REVERT: 4e42fee6ce Removed generated doxygen output of visual test suite.
REVERT: b03e51bf1b Fixed bug 2795 - SDL library detection selects the wrong lib
REVERT: ed670a5786 Fixed bug 2766 - Haptic coding bugs and fixes for Linux FF: periodic.phase handled as time instead of angle; + direction clarification
REVERT: 3362465ba9 Fixed bug 2766 - Haptic coding bugs and fixes for Linux FF: periodic.phase handled as time instead of angle; + direction clarification
REVERT: 11db3a4830 Fixed bug 2766 - Haptic coding bugs and fixes for Linux FF: periodic.phase handled as time instead of angle; + direction clarification
REVERT: bfedd0228b Improved the pitch variable description
REVERT: cba7a719d8 WinRT: bug and data-integrity fixes for SDL_GetPrefPath()
REVERT: aaacec854f Fixed bug 2786 - "UCS-2-INTERNAL" iconv encoding is not supported everywhere, use UTF-16LE instead
REVERT: c131331cad Fixed bug 2676 - xdnd_version check issue in case ClientMessage
REVERT: 79e905e4f5 Fixed bug 2411 - Even if built with --enable-clock_gettime, SDL2 still calls gettimeofday()
REVERT: b79d62e004 Minor Objective-C code tweaks.
REVERT: 0239a50edb Removed an ugly hack to make windows rotate properly on iOS 8+. Recent commits apparently resolved the issue that made the hack necessary.
REVERT: 3f0b28e9cc Cleaned up the iOS text input code, fixed the orientation of the view offset when the onscreen keyboard is shown in iOS 8+, and changed UIKit_SetTextInputRect to update the view offset if the keyboard is currently visible.
REVERT: c7ca2d918e The iOS OpenGL ES context's color Renderbuffer Object is no longer completely destroyed and recreated in layoutSubviews. Its storage is now only reallocated when the actual size of the layer changes. The framebuffer object and renderbuffer object binding states are no longer clobbered by the storage reallocation code in layoutSubviews.
REVERT: 71b6fe20ae Added debug labels for the OpenGL ES objects created with SDL_GL_CreateContext on iOS. More misc. code cleanup.
REVERT: 2f7811a0e7 Minor objective-c code style improvements
REVERT: 530dba51e0 Fixed mismatching orientations for the window width and height on iOS when the window is created or the app is brought to the foreground, when SDL_HINT_ORIENTATIONS or SDL_WINDOW_FULLSCREEN is used.
REVERT: c2ceb279f1 Merged default into iOS-improvements
REVERT: 53b5ab0011 WinRT: updated README-winrt.md to detail Visual Studio 2013 Community support
REVERT: 32efa671e5 WinRT: made SDL_GetPlatform() return "WinRT" and not 'Unknown'
REVERT: b6d1c08c22 WinRT: build fix for Visual C++ 2013 Update 4
REVERT: 241c43fac3 Fixed gcc-fat.sh failing to build Objective-C sources correctly.
REVERT: d4f197e51b WinRT: fixed multi-touch bug whereby 2nd, 3rd, etc. fingers weren't moving
REVERT: 92066ca133 Added missing brackets in test source assert messages.
REVERT: 0ae0b60149 Fixed two typos in test source.
REVERT: f21e739e93 WinRT: removed '-' from build script file names
REVERT: 9358dcf12b WinRT: added scripts to build Release copies of SDL for all WinRT variants
REVERT: ed01fdc788 iOS: Added support for iOS 8 LaunchScreen NIBs.
REVERT: fda1375d4e WinRT: added SDL_HINT_WINRT_PREF_PATH_ROOT
REVERT: bca0f114eb WinRT: removed a completed TODO item from an inline comment
REVERT: eace74d4db WinRT: added initial SDL_TEXTINPUT support
REVERT: 8c5e208e6f Corrected header file guard comments.
REVERT: 995818f9f3 Fixed limitation for number of custom main() arguments on Android.
REVERT: 610fd25d51 Mac: Add drag & drop support.
REVERT: ba650a3df4 Cocoa: add in handling of "lost" touches on OS X. [bug #2635]
REVERT: fa53dcaf63 add "i" shortcut to testgesture tool to log # of fingers down on the touch devices.
REVERT: 66c1317cb8 add controllermap program to SDLTest xcode project
REVERT: d38aa0a103 Fixed doxygen tags in header file documentation comments.
REVERT: 8aba104f96 Fixed typos in header file documentation comments.
REVERT: 9ef929de0b Fixed local reference leaks in messagebox implementation for Android.
REVERT: 1f37dea55a Added name for second Java Thread on Android.
REVERT: 22af98b953 WinRT: fixed an invalid comment in SDL_GetPrefPath() (for WinRT)
REVERT: 5da7c20541 WinRT: allowed 'roaming' and 'temp' folder paths to be retrieved on WinPhone 8.1
REVERT: a2573968f6 Fixed typo in header file documentation comment.
REVERT: d5528db8b0 Fixed bug 2726 - WinRT touches not setting 'which' field in virtual mouse events
REVERT: 04a6052cee Corrected header file documentation comment.
REVERT: 17e1ac0cc2 WinRT: updated docs to include details of recently-expanded GLES2 support
REVERT: 6e126b3ffb WinRT: fixed crash when trying, and failing, to load the opengles2 renderer
REVERT: 1415402579 WinRT: enabled OpenGL ES 2 support on Windows Phone
REVERT: 879c643b32 WinRT: updated an OpenGL-related code-comment
REVERT: ca032ae7ae WinRT: expanded OpenGL ES 2 support to enable recent updates to ANGLE/WinRT
REVERT: 126039f02f WinRT: moved documentation + setup related TODO items out of README-winrt.md
REVERT: b7fdd52261 WinRT: made README-winrt.md slightly easier to read in an 80-column text editor
REVERT: c09730eaed WinRT: added details of the port's status, to README-winrt.md
REVERT: fbd33785bf Patched to compile on pre-C99 compilers.
REVERT: 1a73fdd109 X11: Fixed SDL_GetGlobalMouseState() to work better with multimonitor configs.
REVERT: 6579af8d57 Fixed gamecontroller database sorting script not sorting the whole database.
REVERT: c2c68ea945 Removed unnecessary NULL check.
REVERT: 6c207f2522 Updated gamecontroller database sorting script to work with Python 3.
REVERT: 290396bf46 Fixed SDL_AddHintCallback() crashing if no more memory available.
REVERT: 0f7e05d107 Fixed bug 2647 - Memory leak in SDL_AddHintCallback function - SDL_hints.c
REVERT: 0cac1b6415 Merged default into iOS-improvements
REVERT: 2e708de350 Switched to the core versions of OpenGL ES framebuffer object and renderbuffer functions.
REVERT: 2ccf9641c8 WinRT: detailed steps, via the WinRT README, to fix a common build error
REVERT: 0492432d15 Fixed two typos in header file comment.
REVERT: 76173b195e Added handling of NULL as input for SDL_GameControllerAddMapping().
REVERT: bbbe3edca1 Fixed SDL_GameControllerMappingForGUID() crashing if no more memory available.
REVERT: 8869fe78be Added handling of NULL as input for SDL_GameControllerMapping().
REVERT: 81958288cc Removed two wrong documentation comments from gamecontroller source.
REVERT: 788b558bc8 Fixed wording in SDL_GameControllerAddMappingsFromRW() error message.
REVERT: a2d97fa398 WinRT: more keyboard code cleanups - made keycode listings a bit easier to read - listed VK_ keycode names, where appropriate - removed a few pieces of dead + commented-out code - applied a common 'WINRT_' prefix to internal function names
REVERT: 896dd09b7e WinRT: Fixed bug whereby key-detection code could call SDL_Log
REVERT: f10f7bb06e WinRT: fallback to scancode key detection, if VirtualKey/VK detection fails
REVERT: 21e4c95f1b WinRT: more keyboard code cleanups - use SDL_arraysize where appropriate - made long lines of debug-logging code span multiple lines, for easier reading
REVERT: 19d42e504c WinRT: Fixed bug whereby a right-shift key might get reported as left-shift
REVERT: 4cf559817c WinRT: minor keyboard code cleanup
REVERT: f268bb07a9 Added new key codes from Android 4.4 (API 20) and 5.0 (API 21).
REVERT: 03baaacff1 Remove unused variable.
REVERT: a511d312f9 Merge patch for bug 2750. Thanks Sylvain!
REVERT: 7da09eba59 Fixed bug 2759 - Android findLibrary() returns NULL
REVERT: 737873688a Removed the codepath that gets compiled if IPHONE_TOUCH_EFFICIENT_DANGEROUS is not defined.
REVERT: 65b84b2bec Completely removed custom splash screen code. iOS 8 introduced yet another official way to do launch images (via a Storyboard), and the custom splash screen code was broken on newer devices and caused bugs for all devices anyway.
REVERT: 2b40ad3b10 Added an option to define libraries to be loaded on Android in a derived class.
REVERT: 1e55e039ec Fixed alert dialog for not loaded libraries on Android being cancelable.
REVERT: 1d8143941f Fixed missing @Override annotation warning in source for Android.
REVERT: 5767c4b5a3 Fixed upper case button in alert dialog for not loaded libraries on Android.
REVERT: 25e97e03c9 Fixed typo in message of alert dialog for not loaded libraries on Android.
REVERT: db76896e79 Fixed writing new errors to standard output instead of error output on Android.
REVERT: 8b744670c3 Fixed documentation in source for Android.
REVERT: c77c91bb2a [Android] #2759: Show a message on failure to load a .so library (by Sylvain)
REVERT: 6bd884d4a0 Clarify (lack of) support for desktop OpenGL on the Raspberry Pi
REVERT: 69e989c667 Fixed setting of screen saver state crashing on some version of Android.
REVERT: 0ec4fc6589 Bug 2739 - [Android] No support for SDL_DisableScreenSaver by Martin Gerhardy
REVERT: a32480ef1f Fixed bug 2476 - Allow custom main() arguments
REVERT: 3c95d5a482 Fixed typo in source comment.
REVERT: cfa120503c Fixed syntax error in cmake file.
REVERT: fd375409e7 Added a platform cleanup function for the Vivante video driver
REVERT: c1953dac90 [udev] Fixes #2654, ID_INPUT_KEY devices are ignored.
REVERT: 215d8fc793 [X11] Obey DISPLAY environment variable when selecting screen (Steaphan Greene)
REVERT: bfadd3090b WinRT build fix
REVERT: 5590f29460 Updated configure based on recent configure.in changes
REVERT: ab1bbeb596 Expanded the iMX6 video driver into a general Vivante video driver that works across multiple SoCs
REVERT: a2319e58ba Better error reporting for video drivers with less than full functionality.
REVERT: ee23cd28c7 Fixed bug where EGL function pointers wouldn't get saved in optimized gcc builds
REVERT: d207ba1ee6 Fixed spurious SDL error on shutdown if mouse capture isn't supported
REVERT: 9bf16b9b1a Fixed input device detection on systems that aren't running the udev daemon
REVERT: e1350b2302 Fixed crash if the event subsystem didn't initialize properly
REVERT: d3886466c4 WinRT: fixed bug whereby offscreen-rendered content could get improperly rotated
REVERT: e3348efdf0 Fixed log typo
REVERT: c6db261ed3 Minor cleanups
REVERT: fff8273b2a Added configure options to disable OpenGL ES 1.1 and 2.0 individually
REVERT: b43fc928e6 WinRT: expanded the documentation on SDL_HINT_WINRT_HANDLE_BACK_BUTTON
REVERT: 74e2ea85ee Mac: Fix build with clang from Xcode 6.
REVERT: 21af0c2d68 Fixed broken layout for buttons with configured color in messagebox on Android.
REVERT: 00a37f9098 Added setting configured color to button texts for messagebox on Android.
REVERT: 9b713b6f0a WinRT: cleaned up the opening section of the README
REVERT: 420bbb0a84 WinRT: fixed broken emphasis formatting in README, when rendering it with Doxygen
REVERT: 49225a66cf [Android] Better fix for #2480, pause/resume audio
REVERT: 5ac5bdcea5 Haptic: Deal with negative periodic magnitudes (thanks, Elias!).
REVERT: 576ad3a595 Fixed haptic documentation typos (thanks, Elias!).
REVERT: 8a4dc0573c [Android] Fixes #2480, music does not pause when process backgrounded
REVERT: b70d45cec5 [Android] Fixes #2679 - Crash resuming from screen off
REVERT: b21d8b89b9 Fixed doxygen warning and markdown formatting.
REVERT: 3a93979268 Enabling highdpi mode on an iPhone 6 Plus should now create a 1080x1920 OpenGL view, rather than 1242x2208 (414x736@3x.)
REVERT: 946ca79670 Fixed key down closing messagebox dialog instead of key up on Android.
REVERT: 1a8f57ac97 WinRT: made README note that Win 8.0 targeting via MSVC 2013 Express is not possible
REVERT: b277ba5f5a WinRT: expanded and updated the README section on MSVC requirements
REVERT: 133d5caf72 WinRT: added manual, app-setup instructions to the README
REVERT: 83c375f91f WinRT: added a note to README regarding need for a MS account
REVERT: 5b705c4f29 WinRT: cleaned up section headers
REVERT: 240928cf85 Merged default into iOS-improvements
REVERT: 6ed37a2783 DSCAPS_GL was added for DirectFB 1.6
REVERT: c3bcad21c9 Report the correct desktop video mode on the iMX6
REVERT: 97fde15915 Freescale i.MX6 video driver ---  CMakeLists.txt                  |   2 +  cmake/sdlchecks.cmake           |  20 +++  configure                       |  51 +++++++  configure.in                    |  28 ++++  include/SDL_config.h.cmake      |   1 +  include/SDL_config.h.in         |   1 +  src/video/SDL_sysvideo.h        |   3 +  src/video/SDL_video.c           |   3 +  src/video/mx6/SDL_mx6events.c   |  45 ++++++  src/video/mx6/SDL_mx6events_c.h |  31 +++++  src/video/mx6/SDL_mx6opengles.c | 211 ++++++++++++++++++++++++++++  src/video/mx6/SDL_mx6opengles.h |  68 +++++++++  src/video/mx6/SDL_mx6video.c    | 301 ++++++++++++++++++++++++++++++++++++++++  src/video/mx6/SDL_mx6video.h    |  78 +++++++++++  14 files changed, 843 insertions(+)  create mode 100644 src/video/mx6/SDL_mx6events.c  create mode 100644 src/video/mx6/SDL_mx6events_c.h  create mode 100644 src/video/mx6/SDL_mx6opengles.c  create mode 100644 src/video/mx6/SDL_mx6opengles.h  create mode 100644 src/video/mx6/SDL_mx6video.c  create mode 100644 src/video/mx6/SDL_mx6video.h
REVERT: 18edcb1582 video: waylandmouse: handle mmap error properly
REVERT: 56f86cc81f Fixed bug 2415 - Message Boxes aren't implemented on Android
REVERT: f464f677f2 Fixed using uninitialized display data in iMX6 initialization
REVERT: d74afdb47b [X11] Reconcile logical keyboard state with physical state on FocusIn since the window system doesn't do it for us like other platforms.
REVERT: 4428368af2 Deal with various .bmp file format variants in SDL_LoadBMP_RW().
REVERT: 1f88e2564a Fixed example in header file.
REVERT: f3ca5c6fa0 Changed version displayed in documentation generated by doxygen.
REVERT: 9f3d577a93 Fix non-power-of-two shaped windows.
REVERT: 98e9c13a13 Updated version to 2.0.4
REVERT: 3e754ff61f Mac: Don't add the same joystick twice if IOKit reports a duplicate device.
REVERT: c27fbbc30b Corrected hint documentation.
REVERT: f7cbb0d535 Fixed memory leak getting the X11 window title
REVERT: f9a36bc6bb Fixed bug 2699 - possible memory leak in GL_RenderReadPixels
REVERT: 7be9d6a947 May have fixed the Linux build again
REVERT: f3479bc3a2 Fixed Linux build
REVERT: 46e3d957ab Fixed bug 2696 - Mac: fix display mode refresh rate calculation
REVERT: ca62d75878 Fix declaration-after-statement errors in ibus code.
REVERT: 10ea347312 Adjusted code style slightly for SDL_ibus.c
REVERT: 8050ad9269 Added note about libibus-1.0-dev to the Linux README.
REVERT: 452ba51ebd Fixed typos in test program.
REVERT: 3d122d4d7c Fixed not needed standard includes in test program.
REVERT: 80ff7925b5 Fixed warnings about unused value in test program.
REVERT: 2dc2c35b31 Fixed warnings about unused functions in test program.
REVERT: 1283d4ef53 Fixed warnings about missing initializers in test program.
REVERT: fdce275074 Merged default into iOS-improvements
REVERT: 9efa4ff286 Fixed the cmake-guided static analysis and use it by default.
REVERT: 13c9e77b67 Better check for __has_feature
REVERT: c34f97dd89 Changed the name of the IME hint to match the naming convention in SDL
REVERT: 417f3be8cd Add a SDL_IM_INTERNAL_EDITING event to make IMs like iBus render editing text in its own UI instead of sending TEXTEDITING events. This is useful for applications that handle TEXTINPUT events but not TEXTEDITING events.
REVERT: 1d87415440 Improvements to the IBus related code: + Handle HidePreeditText IBus signal. + Use SDL_GetKeyboardFocus instead of SDL_GetFocusWindow. + Move the X11 IBus SetFocus calls to the X11_DispatchFocus functions. + Simplify the IBus ifdefs when handling X11 KeyEvents. + Remove inotify watch when SDL_IBus_Quit is called.
REVERT: 64ba943a56 Take the window border size into account when positioning the IBus candidate list.
REVERT: 4d4e7b1085 Fixed bug 2694 - configure bug __has_feature macro not detected
REVERT: 755f4ad22e Fixed bug 2691 - Disabling shared library prevent cmake configuration
REVERT: c1e53ee38c Better Mac OS X build fix - actually match the SDK OpenGL headers.
REVERT: 179a0e565f Fixed Mac OS X build
REVERT: 6473b279ad SDL - fix fullscreen desktop windows not restoring to fullscreen state if focus changes happen due to programtic window changes (and not user alt-tabbing)
REVERT: e12894a499 Fixed UV texture coordinate scale when using GL_ARB_texture_non_power_of_two
REVERT: 342b854e9c Don't use the system OpenGL headers, ever.
REVERT: cf85a26a30 Fixed 2680 - OSX: Replace NSAutoreleasePool with @autoreleasepool
REVERT: 6d927d7472 Fixed bug 2655 - OSX: Window position and global mouse coord spaces are different
REVERT: cba9f49587 Fixed bug 2685 - SDL_RenderReadPixels() doesn't work with offscreen targets
REVERT: cf895bf696 Fixed bug where the render target is updated instead of the default output when the window is resized.
REVERT: e49acc1f5b Reset CMAKE_REQUIRED_FLAGS after test
REVERT: a8d9c26db2 cmake: add -Wl,--no-undefined to GCC linker flags
REVERT: 3c747234b3 cmake: add -Wall/-Wshadow to GCC compilation flags
REVERT: b3e4782510 Removed SDL_round() because the license wasn't compatible with zlib
REVERT: 00b70124b6 Fixed bug 2688 - failure to build test/loopwavequeue.c on Linux
REVERT: 3d8224313f Fixed bug 2681 - dereference a NULL pointer dst_fmt in SDL_CreateTextureFromSurface function
REVERT: 67228e5e8c Fixed bug 2683 - Raspberry PI support using CMake
REVERT: 7ad2673395 Fixed bug 2687 - SDL_BlitScaled does not handle clipping correctly
REVERT: 5acb7c63d1 Added SDL_round(), contributed by Benoit Pierre - thanks!
REVERT: 5619521805 Fixed bugs 2677 and 2625, made it possible to lock render targets in D3D
REVERT: 2afb7573b6 Fixed building on Windows with CMake
REVERT: 6ee688f85c Haptic: Add some missing haptic types to test, and fix wrong array-sizes.
REVERT: ea687875b0 Haptic: Fix clamping bugs on Windows, by using the Darwin haptics code.
REVERT: 640631c6dc Haptic: Fix the saturation and deadband parameters' available range.
REVERT: f703b1b22c Haptic: Explicitly avoid floating point arithmetic if it's not needed.
REVERT: b9be113196 Haptic: DInput's POLAR direction actually matches Linux's direction.
REVERT: a5d019efa3 Haptic: Don't interpret a direction of polar 35999 as "unsupported type".
REVERT: 178a30b438 Fixed markdown formatting in READMEs.
REVERT: bb534092c1 Updated README.
REVERT: 32dfd062cb Fixed enumeration in README.
REVERT: bafc5ef326 Take advantage of GL_ARB_texture_non_power_of_two when it's available
REVERT: d0d7ebee0f Fixed warnings about unused local variables.
REVERT: 69487c41dd Fixed warning about implicit boxing to Java Object.
REVERT: b75c6e2eb2 Fixed doxygen warnings and markdown formatting.
REVERT: c1d6f15368 Implemented SDL_GetPrefPath() on Android - it returns the path used by SDL_AndroidGetInternalStoragePath()
REVERT: 05e40eb04a Added an entry for the new Steam controller XInput emulation mode
REVERT: 33e7cc6d8d Fixed typo in source comment.
REVERT: 36341cbc34 Added javadoc comment for consistency.
REVERT: 35ea23dbc4 Fixed doxygen warning and markdown formatting.
REVERT: 1a726f39d2 Updated README name in header.
REVERT: 270b8d0d52 Removed 42 from README.
REVERT: 587dd65dec WinRT build fix for ARM platforms
REVERT: 1e2d5c6bc4 Added iOS-specific functions to get the window view's current OpenGL Renderbuffer and Framebuffer objects, so they can be more easily rebound when necessary.
REVERT: 9858389e85 Fixed opengl context share groups on iOS.
REVERT: c7790bdb2b Added NV12 and NV21 texture support for OpenGL and OpenGL ES 2.0 renderers
REVERT: 87b8ce9ae2 Merged default into iOS-improvements
REVERT: 298925e01f The OpenGL context returned by the UIKit backend is now an actual OpenGL context instead of the OpenGL view we created. This allows you to use the returned context in functions like CVOpenGLESTextureCacheCreate()
REVERT: aa04782886 Merged default into iOS-improvements
REVERT: 9e4e1cac69 Updated the iOS backend code to use Objective-C's automatic reference counting (ARC).
REVERT: b85f8a9917 Haptics aren't available on iOS, but use the dummy implementation instead of failing init if it's requested.
REVERT: 2b71883624 Minor code update for less verbosity
REVERT: 8325271501 Merged branch default into iOS-improvements
REVERT: 3e9232ec06 SDL - when raising the window under OSX also force the app to activate. This fixes a fullscreen window on a separate space not coming front when raisewindow is called.
REVERT: 15ceae8c9c Merged 'default' into branch 'iOS-improvements'
REVERT: 194112d3fe SDL - fix re-entrancy into SDL_UpdateFullscreenMode under OSX. During HideWindow we get a RESTORED event which then turns fullscreen back on causing a hang in Cocoa_SetWindowFullscreenSpace waiting for the fullscreen transition to finish.
REVERT: 7f5f9af5ab Make SDL_SysWMinfo usable on Mac/iOS with ARC enabled (thanks, Alex!).
REVERT: b8e90cf635 Fixed comment typo.
REVERT: 1c826fa22c SDL_GetQueuedAudioSize() shouldn't grab lock when not set up for queueing.
REVERT: 5a25e7950c Added a GetPendingBytes method to the audio backend.
REVERT: f4f2649e6a XAudio2: Use XAUDIO2_VOICE_NOSAMPLESPLAYED when possible.
REVERT: 91bbc7d9fa Moved documentation to docs, recreated a simple README.txt, fixed build
REVERT: 9509486801 Rearrange documentation
REVERT: 383f56a9c1 Added missing autorelease pool blocks in UIKit backend code. Fixes memory leak issues, especially in SDL_video.
REVERT: 2e0c23e436 Added support for SDL_SetWindowBordered on iOS. Worked around a bug with rotating the device on iOS 8.
REVERT: d9bf955208 Changed local var names in SDL assert macro.
REVERT: c43be6965f Turned on OmitDefaultLibName for SDL, SDLmain and SDLtest
REVERT: 74ff58fdaf Remove dependency on C runtime from Windows SDLmain.
REVERT: 2fd74d97af Fixed bug 2537 - _allmul in SDL_lib.c is not working properly
REVERT: 8d41429a9b Fixed uninitialized variable in some cases
REVERT: c02063db69 Fixed SDL_SetWindowFullscreen on iOS causing the window's reported dimensions and supported orientations to go out of sync with what they should be, if the device orientation was different from the screen orientation when the function call was made.
REVERT: 995d5ef814 Integrated Phil Hassey's patch to fix SDL_IsScreenKeyboardShown on iOS (https://bugzilla.libsdl.org/show_bug.cgi?id=2660)
REVERT: e34e3dfd5c Fixed SDL_SetWindowFullscreen on iOS for the last time, hopefully.
REVERT: 6ebdaca672 More cleanup of the iOS Objective-C code.
REVERT: d53e8dc61a 90% of iOS users on the App Store run at least iOS 7, so it doesn't make sense to support building using an SDK that doesn't support iOS 7. The minimum supported runtime version is still iOS 5.1.
REVERT: 689ed320a9 Updated the iOS Objective-C code to use NSDictionary/NSArray/NSNumber literals and subscripting, for improved code clarity.
REVERT: a261470598 Added audio device buffer queueing API.
REVERT: cb2cf20706 Fixed bug 2657 - Memory leak in GL_CreateTexture function
REVERT: 7f5d524dca Clarifying hard-to-understand piece of code.
REVERT: adff9206e3 Cleaned up iOS OpenGL ES context creation code and added sRGB context support on iOS 7+
REVERT: e1d84374a1 Fixed SDL_SetWindowFullscreen on iOS to properly update the view's frame.
REVERT: 7f3ba59f8b The default implementation of [view layoutSubviews] actually does something in iOS 6+, so we should call [super layoutSubviews] when overriding it.
REVERT: 07dc19edb1 Dont redeclare DBusMessage* msg;
REVERT: e83e29ce07 Disabled the custom iOS splashscreen code - it interferes with the normal rotation and orientation behaviour of SDL windows.
REVERT: cd7a8a2dd4 Properly send a window resize event in all cases when viewDidLayoutSubviews is triggered.
REVERT: 540f7a01e3 Fixed SDL_HINT_ORIENTATIONS to properly allow disabling custom orientations if the hint is set with no valid orientations.
REVERT: 7781a97023 The iOS 7 transparent status bar now uses white text rather than black.
REVERT: d67085b17c Fixed SDL_SetWindowFullscreen not properly updating the status bar visibility in iOS 7+
REVERT: 52f0e36925 Minor fix for if SDL_JoystickInit is called more than once without a matching SDL_JoystickQuit.
REVERT: 701d88bb5b iOS now respects SDL_HINT_ACCELEROMETER_AS_JOYSTICK.
REVERT: 2ea3b21ca3 Changed the way retina resolutions are handled in iOS.
REVERT: c351e27667 Misc. iOS code improvements.
REVERT: 023d1d048c Fixed bug 2640 - Unable to SDL_SetRenderTarget to original surface for software renderer without a window
REVERT: 0e78b5780a Fixed bug 2639 - SDL_BLENDMODE_BLEND not working properly for software renderer, thanks to Melker Narikka
REVERT: 34390a84d0 Fixed bug 2638 - (Signed) Can't create signed apps in Android
REVERT: e69eb33a5e Fixed Visual Studio 2010 build
REVERT: 95e3af47d0 Fixed build for arm platforms
REVERT: 4d8562f23f Fixed bug in AVX detection and added AVX2 detection
REVERT: 9dcc87296e Clarified the documentation for SDL_FlushEvents() so people know it only affects currently queued events.
REVERT: 85ada1aa3b The Gimp puts out a different bogus color mask for 32-bit .bmp files.  :)
REVERT: afbab877a7 Make SDL_LoadBMP() work with 32-bit bitmaps from ImageMagick.
REVERT: 7a3c39ff6e Comment update: SDL_INIT_NOPARACHUTE doesn't do anything as of 2.0.0.
REVERT: 7860e1d1e2 Skip JUNK chunks in wave files
REVERT: 61b34b6728 Strip the binaries before signing them, in release configuration
REVERT: 3cf1187208 Fixed supporting multiple frameworks
REVERT: 37789c74f0 Fixed code signing release frameworks
REVERT: 2494eee648 Update audio testautomation: more coverage; added SDL_PauseAudio test /w callback coverage
REVERT: fd466cd42f Fixed bug 2421 - SDL_RenderCopyEx off by one when rotating by 90 and -90
REVERT: 4272137303 Updated configure after removing pthread spinlock support
REVERT: 0fb3ac0853 Fixed bug 2618 - incomplete pthread-based lock support should be removed
REVERT: 8e0c29b53a Fixed bug 2628 - invalidate surface->map in SDL_SurfacePalette()
REVERT: 77c619573f Enable 2 disabled audio tests (since bug 1396 is fixed and they pass now)
REVERT: 04529c4cba Hopefully fixed Cygwin build
REVERT: d32eb0d9e5 Removed useless assert
REVERT: bdb4ce60cd Fixed bug 2631 - Mac: minor code cleanup
REVERT: 22f2713245 SDL_SYS_IsXInputGamepad_DeviceIndex() is only available if SDL_JOYSTICK_XINPUT is true.
REVERT: 81a400cd0c Fixed indentation for pnacl configuration
REVERT: ad1fe92296 Fixed compiler warnings on iOS
REVERT: 11238fe16a Fixed bug 2626 - iOS: fix test and template Xcode projects and build scripts to link with CoreMotion
REVERT: f6529a1ba6 Fixed compiler warning
REVERT: 7f2953097b Fixed compiler warning on Mac OS X
REVERT: f2c61cdaa5 2620 solaris port missing atomics if not using gcc
REVERT: 1c1bac24fd Fixed bug 2629 - Mac: crash when calling SDL_DestroyWindow with an active OpenGL context
REVERT: 96fb227092 Call dbus_shutdown to make valgrind happy.
REVERT: 9d42bf534d Fixed mingw64 build and warnings
REVERT: 1c89d592b7 Fix option for forced run of disabled tests in test harness
REVERT: 3144954845 Fixed haptic refcount bug (thanks David Ludwig!)
REVERT: ccd59359e6 Made the latest XInput + Haptic changes compile and run on WinRT
REVERT: 9cdeec59f3 Split the XInput and DirectInput code so Windows RT can use the existing XInput support.
REVERT: 8540c8da93 Maybe fixes bug #2291 (red tinted screen on some Samsung Android devices)
REVERT: f5af065da8 add a comment to SDL_InitSubSystem explaining its refcounting behavior
REVERT: 156e48e6bf The YUV offset is 16 / 255, not 16 / 256
REVERT: 5844991980 Apply WIN32_LEAN_AND_MEAN redefine fix to SDL_syswm.h too.
REVERT: 7c20f292af Fixed null terminating the X11 error string
REVERT: f544f6f62e Better fix to support EGL_KHR_create_context and not fail to build on Android ...or Raspberry Pi (EGL < 1.4 systems)
REVERT: 8ad09ac95d Another fix to prevent dereferencing a null window pointer in SDL_mouse.c
REVERT: 33076a0b17 Disable desktop OpenGL for EGL under Android
REVERT: 5db7fa40b5 Fixes #2611 #2610, Touch events cause crash on Android, thanks Alvin & Sylvain
REVERT: c44787ba7b SDL_egl: allow creation of versioned OpenGL contexts with EGL_KHR_create_context
REVERT: e11bc486e4 Fixed compiler warning on Android
REVERT: eaea0767d0 Updated the template project for iOS, thanks to Davide Coppola
REVERT: 7db8668ef4 Fixed YUV texture update with a subrect in OpenGL ES 2.0 - thanks Sylvain!
REVERT: 1ca360079d WinRT: Fixed game controller axis mappings
REVERT: ca9eaef087 WinRT build fix
REVERT: f8662b2863 Patched to compile on Windows.
REVERT: 2e7d8cfb48 Whoops, lost this in the merge.
REVERT: 6f866ed25b Patched to compile with -Werror=declaration-after-statement
REVERT: b273873297 Merged Ryan's SDL-gui-backend branch.
REVERT: 8bd36ba18f Changed SDL_GetAbsoluteMouseState() to SDL_GetGlobalMouseState().
REVERT: dcca92b0b1 Fixed bug 2525 - Keyboard focus crash
REVERT: 9c48dd8a60 Fixed compiler warning - HRESULT is set to FFERR_* values, but is an int
REVERT: 5b62440918 Made the RLE code (semi) readable again
REVERT: b84c11788e Fixed bug 2595 - Padded, non-contiguous YUV does not display correctly using OpenGL ES 2.0 renderer
REVERT: c317644724 Fixed bug 2556 - add compilation flag -Wshadow
REVERT: ff201dbea2 Fixed bug 2603 - iOS: update joystick accelerometer code to use CoreMotion instead of the deprecated UIAccelerometer
REVERT: dc434901da Fixed bug 2553 - Add support to all XInput devices
REVERT: 12639925a6 Fixed bug 2467 - bad memcpy in SDL_OpenAudio/open_audio_device/prepare_audiospec chain
REVERT: 29eae011c5 Don't redefine standard macros, use SDL specific macros instead to avoid compiler warnings
REVERT: 8b1634451e Fixed grab interaction with Windows Classic theme
REVERT: 6b9ee0215a Added names for some theme related windows messages
REVERT: efdc9c1d03 Fixes OpenGL ES 2 renderer (Thanks Sylvain Becker)
REVERT: d8f24e7a8f Fix compiler warning
REVERT: 313e3b80f2 Partial fix for bug 2556 - add compilation flag -Wshadow
REVERT: d72d45cd1d Fixed bug 1673 - BEXT wave files only have extra metadata that you can easily skip through
REVERT: fd1e41663d Fixed bug 2579 - SDL fails to compile on Windows when only EGL+OpenGL ES defined
REVERT: b13c6bae32 565 textures have higher priority than 555 textures
REVERT: 6905c61819 Restore window OpenGL state if creating an OpenGL renderer fails
REVERT: 589fd360dd Fixed crash initializing OpenGL ES renderer if OpenGL renderer fails
REVERT: 2011e44843 Made SDL_PIXELFORMAT_ARGB8888 the default texture format for consistency across renderer implementations.
REVERT: 229d08177a You shouldn't get axis and hat events when your application doesn't have focus (unless you use the SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS hint)
REVERT: 8072898dc9 Fixed bug 2562 - SDL_hapticlist/_tail not set correctly
REVERT: f5054661e6 Merged changes from Alexey Petruchik to support Android obb files http://developer.android.com/google/play/expansion-files.html
REVERT: a12283899b Added libibus-1.0-dev build dependency
REVERT: 4d0f46dd79 Fixed warning when building without ibus
REVERT: 4beb5bcbb4 Generated configure from recent configure.in changes (for ibus support)
REVERT: ac04796154 Fixed compiler warning with new OpenGL ES header files
REVERT: 3508a68e08 Fixed bug 2563 - Remove obsolete code for supporting iOS < 5
REVERT: 6a296ae9f2 Fixed bug 2595 - Padded, non-contiguous YUV does not display correctly using OpenGL ES 2.0 renderer
REVERT: 09ebe4a201 Add IBus IME Support, move DBus code to its own file. (v3.3 squashed)
REVERT: 6ace4262ba Fixed bug 2596 - SDL_SetError fails on on NULL on systems with vsnprintf
REVERT: a509c3dce2 Added NaCl to the supported platforms list
REVERT: 07424140e9 Added NaCl to SDL_GetPlatform()
REVERT: c03ba02837 Added OpenGL ES headers to public headers
REVERT: 67d9cbf806 Fixed compiler warning
REVERT: 9e25cdad8c commit 9e211e646f9d51dc1372c9f3c8f47a78caf4f2a5 Author: Sam Clegg <sbc@chromium.org> Date:   Fri Jun 20 12:52:11 2014
REVERT: c3369ca83e Removed references to Raspberry Pi
REVERT: 8ebcced17a Added script for buildbot to use on NaCl target.
REVERT: 664169ab4b Fix another NaCl warning
REVERT: 1925fe9cf9 Fix compiler warnings in Native Client and Linux builds.
REVERT: b9b706f832 Ooops, code that resists erasure, I've seen that in a movie.
REVERT: e278ae7eb0 Initialize nacl_io, removes SDL_NaClMount/Umount
REVERT: b4ab60690e Make autoconf-based build quiet by default.
REVERT: aa762e77a3 Fix file name typo, thanks Sam Clegg!
REVERT: c38d784fc2 Add suport for "make uninstall" to cmake.
REVERT: 8631a1b212 Assorted fixes for NaCl. Hat tip to Sylvain Becker
REVERT: 98a3713f34 Fixes #2583, clean up EGL initialization
REVERT: 424dd9d921 Fixed bug 2558 - Missing FINGERUP in Android
REVERT: 5a4283d3d5 Fixed bug 2567 - x11: Local dropped files are not URI-decoded
REVERT: ce9a72f4af Fixed bug 2575 - Current GL context tracking fails
REVERT: b9dc5d97af Fixed bug 2568 - NO_SDL_GLEXT should prevent OS glext.h as well
REVERT: 2882fa948d Fixed bug 2580 - sndio backend improvements
REVERT: 373128e640 Fixed 2584 - Memory leak in Cocoa_GetDisplayName
REVERT: 92412f34b9 Add controller mapping for Bluetooth DualShock 4 controllers on Linux
REVERT: a82d156de7 Fixed Android error on static lib build, if relative NDK_MODULE_PATH used
REVERT: 73ddbd3f85 Fixed Visual Studio 2008 projects Added missing files to SDL2 project Added missing Visual Studio 2008 tests to the solution Added output paths which match the 2010+ projects Added SDL project references instead of old style project dependencies Removed post-build copy step and added data files to projects
REVERT: 653b4e19ff Mac: Fixed crash when returning from a fullscreen Space on shutdown.
REVERT: 24513e0d6b Add coreaudio to the configure script's summary output.
REVERT: fbdde501ba Removed SDL_SYS_JoystickNeedsPolling().
REVERT: 50265e160b Mac: Run the CFRunLoop in joystick mode during SDL_SYS_JoystickNeedsPolling().
REVERT: b270f6a5c3 - fixed crash if you removed a device twice, the deviceRef is invalid if removed from the removed device callback (added in http://hg.libsdl.org/SDL/rev/153077041e4b ).
REVERT: 8f47d6cd20 Implemented Cocoa GetAbsoluteMouseState().
REVERT: e0460846e5 Implement Windows GetAbsoluteMouseState().
REVERT: 7412b88af0 This should probably query async button state.
REVERT: ef0bc3f8cf Regenerated SDL_audiotypecvt.c with updated perl script.
REVERT: 731e3d9cc5 Fix audio resampling in some cases.
REVERT: c176721421 Fixed nesting of HTML elements in documentation.
REVERT: 989349fccf Fixed typos in documentation.
REVERT: a871c0c206 Fixed format string faults in audio tests.
REVERT: b03e4dc610 Forgot a piece of README-nacl.txt
REVERT: 37f6d3cb88 Fixes audio for Native Client, and other fixes...
REVERT: 7b215e8685 The NaCL mount/unmount functions need to be in SDL_system.h and specific to NaCL
REVERT: 15d597fe65 Visual Studio 2013 Express Edition can load the standard solution, so we don't need special Express Edition solutions.
REVERT: 3b5c907777 Ignore Visual Studio test data files
REVERT: 9024566f68 Changed two Java nested classes into static nested classes.
REVERT: cbffdf0265 Fixed typo in log message.
REVERT: 87dab7d815 Fixed doxygen comment in header.
REVERT: d09a0ff3a6 Fixed typo in source comment.
REVERT: 1c2df7b03d Updated projects for Visual Studio 2010, 2012 and 2013 * Test programs use project references instead of hard-coding SDL library dependencies * Test data files are copied only when needed. * Copying SDL2.dll is no longer necessary * Fixed /SAFESEH warning * Fixed attempted rebuild of SDL every time a test program is run
REVERT: 7ffc6a3040 Fixed building on command line Mac OS X
REVERT: 4886b4d9d9 Fixed compile warnings
REVERT: 276b7efecd Added SDL_sqrtf(), SDL_tan(), SDL_tanf()
REVERT: b5f085ab73 Fixed crash with SDL_SetError(NULL)
REVERT: 26f1f2a9a1 Fixed initializing test event queue
REVERT: 96f0009c02 Fixed another loopwave crash with no command line arguments
REVERT: 7b1dba9aaa Fixed loopwave crash with no command line arguments
REVERT: 9043778f18 dront78 implemented YUV texture support for OpenGL ES 2.0
REVERT: c6434e2416 Adds missing Makefile for NACL test and a couple of smaller fixes
REVERT: c330e8e9e2 Chrome's Native Client backend implementation
REVERT: de4a745643 Turns out visualstudio does not like PRIu64, soo lets just cast it to llu.
REVERT: d5eb114f44 Fix warnings, only major one being an SDL_SetError not providing enough arguments.
REVERT: ac607be274 Code analysis annotations found a legitimate bug!
REVERT: b5702114f0 Added missing headers that should be installed.
REVERT: 663450efc3 Don't link directly against OpenGL.framework on Mac OS X.
REVERT: f2bf946168 Add an entry for X11 "/" key for Brazilian keyboard.
REVERT: 9607613a10 CMake: Slightly better fix for installation target (thanks, Anthony!).
REVERT: 8b6cdd0682 Fixed typos in header file documentation comments.
REVERT: 958b71701a Fixed SDL_GameControllerOpen() and SDL_JoystickOpen() documentation in header.
REVERT: e67a50bc77 Fixed unsupported doxygen tag in header file.
REVERT: 2ec615f2d3 Cleaned up the macro salsa in the Windows timer code.
REVERT: baad636dfe Windows: Always set the system timer resolution to 1ms by default.
REVERT: 4b29e7eeba Added SDL_opengl_glext.h to the list of headers to install.
REVERT: 38e580a133 Corrected package list for Wayland/Mir support (was missing libxkbcommon-dev).
REVERT: 0dc198273c Wired up Windows resize hit testing.
REVERT: efa3e07bc9 Minor tweaks to testhittesting.
REVERT: 3465f8e461 Added SDL_HITTEST_RESIZE_*, and implemented for X11.
REVERT: c076f51669 Implemented SDL_GetAbsoluteMouseState().
REVERT: 0c8f5f80b1 Added some (harmlessly) missing braces.
REVERT: ec88cc536a Fixed Mac OS X build
REVERT: 0fc6294114 Assume all motion events are mouse events unless tool_type states otherwise.
REVERT: 4a1537da07 Setting the window size changes the fullscreen display mode, unless a window display mode has been set.
REVERT: 297d5c065a Fixed crash and lost pixel data when recovering from a lost device situation (e.g. alt-tab from fullscreen)
REVERT: dbcc5f6937 Ryan C. Gordon <icculus@icculus.org> 2014-05-24 01:23 -0400 Generated dynapi stuff for the new WinRT entry points. http://hg.libsdl.org/SDL/rev/6a9da341d3e8
REVERT: 53d9d2c232 Added annotations to help code analysis tools
REVERT: fdba89977e Fixed bug 2526, but regressed delivering dead key presses
REVERT: 39b59f79d4 When the window fullscreen mode changes, update the display resolution
REVERT: 34ee7a2a33 Fixed bug where changing the window border would change the window size on Windows.
REVERT: 10a234b88e Fixed Mac OS X build
REVERT: 6006d7a2cb Added an API function to warp the mouse cursor in global screen space: SDL_WarpMouseGlobal()
REVERT: de9397e6ae Added a hint to disable windows message processing in SDL_PumpEvents() SDL_SetHint( SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP, "0" );
REVERT: deada6ba6d Added a hint to disable window frame and title bar interaction when the cursor is hidden
REVERT: 3b1c45d421 SDL_opengl: Fix Mac build for SDK 10.9 too.
REVERT: a7333943a0 SDL_opengl: Fix Mac build with new glext.h
REVERT: 92626ced7c Wait for the fullscreen transition to complete before allowing the application to continue. This fixes Alt-Enter in the Steam streaming client, which sets the window size and position immediately after switching out of fullscreen mode.
REVERT: d961305824 Fixed escape cancelling fullscreen mode now that the SDL window is the first res ponder.
REVERT: 226d5f634c SDL_opengles2: Update to latest Khronos headers.
REVERT: ace98412d0 SDL_opengl: Update to glext.h from Khronos dated 2014-05-21.
REVERT: 10a8560058 SDL_opengles2: Separate out GLES2 headers.
REVERT: 293e0c0657 SDL_opengl: Move glext.h to a separate file.
REVERT: 6e7e3c9117 X11: Provide specific X error when SDL_GL_CreateContext fails.
REVERT: dd5e9d8941 Hopefully really fixed the Android build
REVERT: b14bec7a97 Fixed Android build
REVERT: efeb53642f Fixed bug 2534 - Mac: black bar at top of screen in SDL_WINDOW_FULLSCREEN mode
REVERT: 073850f988 Fixed bug 2550 - [OS X 10.9] Enabling SDL_WINDOW_FULLSCREEN after relative mouse mode leaves cursor visible
REVERT: e50052e494 Added a way to get the native Android window and EGL context
REVERT: f82322ac3d Fixed bug 2479 - [OS X] SDL_SetWindowFullscreen fails to switch to windowed
REVERT: 3228a654cd Don't use D3D9Ex by default, since it can change behavior for games which rely on D3D9 classic.
REVERT: f4f604c8ac Fixed bug 2520 - Held double-click app startup creates a stuck MOUSEBUTTONDOWN event
REVERT: a63394ad22 Fullscreen to windowed mode switch
REVERT: 739c7e7b69 Fixed Direct3DCreate9Ex prototype
REVERT: 6f697f2181 Fixed cast
REVERT: 7ab938363f Use D3D9Ex when available This hopefully works around crashes in Intel D3D9 support in Windows 8.1.
REVERT: 932a752f54 Fixed SDL error when filtering events after shutdown. This can happen when restoring video modes during video system shutdown
REVERT: 5319c669a6 Fixed using SDL_PointInRect() from C++.
REVERT: be872bff15 Fixed up SDL_CaptureMouse() on Windows to work like I expected.
REVERT: 9efc4a5fdd Fixed hit-testing on Windows.
REVERT: 9fb513d81f Patched to compile on Visual Studio.
REVERT: 719a77b576 Make some printf() calls into SDL_Log() so I can see them on Windows.  :)
REVERT: 822b690cac Added javadoc comments to document methods used by JNI.
REVERT: 272e4b090a Added javadoc comments to prevent unused parameter warning.
REVERT: 4efae3ae35 Fixed implicit boxing and unboxing of Java Objects warning.
REVERT: 6f8e4f99dc Added missing stdio include in test program.
REVERT: 4e8cb4d7be Fixed use of uninitialized variable warning in test program.
REVERT: 7cc0821ab0 First shot (not even compiled) at Windows hit-testing support.
REVERT: c6b34e9e1e Tweaked hit-testing documentation.
REVERT: bcf0b09879 Added a few debug printf() calls.
REVERT: 9e98d09104 Changed drag area API to a hit-testing API.
REVERT: 51a004c734 Don't hardcode an 8 here.
REVERT: 1b809cc896 Some updates for the X11 drag areas work.
REVERT: 738e84c26b Initial work on X11 implementation of SDL_SetWindowDragAreas().
REVERT: cce4ce44d4 First shot at SDL_SetWindowDragAreas().
REVERT: 5f9c366fe2 Added SDL_PointInRect().
REVERT: 5b6a0bbd6d Fixed stack overflow in X11_CreateWindow() (thanks, rapha and Brad!).
REVERT: e61835ec15 Added note about Wayland and Mir packages for Ubuntu 14.04.
REVERT: 6baa90e0ec Flip this around to do the simpler condition first.
REVERT: 88528c10e8 Implement SDL_CaptureMouse() for Mac OS X.
REVERT: 67f246e568 Implemented SDL_CaptureMouse().
REVERT: b2ff607db8 Added some FIXMEs.
REVERT: 842e912664 Fixed whitespace.
REVERT: 7d3359d9c4 Generated dynapi stuff for the new WinRT entry points.
REVERT: c076c21acb added comment
REVERT: 82ba2c2c8b access google apk library through reflection
REVERT: 20623e3dad Fixing issues discovered by Philipp Wiesemann
REVERT: a41b3ce38b inital apk extension support
REVERT: 4d9b83a876 Fail if we couldn't create the specified renderer
REVERT: e68f76da43 Removed empty statements.
REVERT: bbfa480b80 Fixed names of four hint environment variables.
REVERT: 5e41b5887c Fixed unused local variable warning.
REVERT: 274ec047ed Fixed typos in header comments.
REVERT: 8158274826 Removed unused variable from test program.
REVERT: 75fb3c2c6c Fixed doxygen comment in header.
REVERT: 78755d7572 WinRT: "SDL" to "SDL2", both for .dll output files, and for MSVC project names.
REVERT: d6d4c108fd Fixed the joystick side of XInput haptic detection on Windows 8
REVERT: 492dbb3124 Fixed XInput haptic support on Windows 8 It turns out the XBox 360 controller driver never reports force feedback capability, so we'll try to set 0 state and see if that succeeds.
REVERT: 07f74cbbcc Fixed assertion loading button.bmp in testgamecontroller
REVERT: b2f1b89fbd Added testrumble to the Visual Studio 2013 solution
REVERT: ee2b15aebc Raspberry Pi builds should upload as .tar.xz instead of .tar.bz2.
REVERT: c36617ceb6 Changed a C++ single-line comment to /* */ style.
REVERT: 6f15c8a12c Remove the RaiseWindow call from OnWindowRestored for now.
REVERT: a08cc19712 Ignore unused mir event functions, need headers in Ubuntu 14.04 to use them.
REVERT: 61f0c01d38 Remove two unused variables, causing compiler warnings.
REVERT: fdf9b30018 Re-enable Mir/Wayland support now that 2.0.3 has been released.
REVERT: 0755238527 WinRT: Call IDXGIDevice3::Trim before app-suspend, as required on Windows 8.1
REVERT: 710797c3dd WinRT: Line ending fixes (CRLF to LF)
REVERT: e79e6a8637 Fixes #2456, controllermap's undo does not work correctly (by Bogdan Marinov)
REVERT: 5d949ece7b Emit SDL_RENDER_DEVICE_RESET on Android when the GLES context is recreated
REVERT: b515741ed4 Added an assert to help static analyzer.
REVERT: c0e9a9afaf 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.
REVERT: 4d02b5b07d Fixed warning on Mac OS X
REVERT: ce92ee5307 Fixing Alt-Enter handling, submitted by Nader Golbaz
REVERT: 0e9811178e WinRT: Implemented SDL_ShowMessageBox for Windows 8.x/RT hosts
REVERT: 11f6490bf5 Tossed in some SDL_asserts to make static analyzer happier.
REVERT: 519432a55f D3D11: Fixed a crash after a GPU device-reset on Win32
REVERT: 48ecbf8800 D3D11: Added code to handle GPU-device-removed scenarios
REVERT: 2876cd7415 Better keyboard detection when some of the keys are remapped, thanks to Lewis Wall
REVERT: 9898ec50d5 WinRT: Miscellaneous app-backgrounding/restoring event fixes and additions
REVERT: 6fb0bd3874 WinRT: Made app-backgrounded events get sent at separate, distinct times.
REVERT: 325241ac85 WinRT globals cleanup: Removed WINRT_GlobalSDLVideoDevice
REVERT: 65440f863b WinRT: Got OpenGL ES 2 working with the latest version of ANGLE/WinRT.
REVERT: a433ec8983 Static analysis fix: more cleanups of unused variables, etc, in blitters.
REVERT: 3fcb7daf2b Static analysis fix: more dead stores.
REVERT: 1f04999dcd Patched to compile on C89 compilers, removed more streamer code.
REVERT: ebc9d00ccb Static analysis fix: clean up unused variables and dead stores in blitters.
REVERT: 828d505ab7 #ifdef'd out the audio streamer code.
REVERT: 45e017fadd Static analysis fix: Removed unused variable.
REVERT: f0639e7060 Static analysis fix: uninitialized data.
REVERT: 1cf04be2fe Static analysis fix: uninitialized data.
REVERT: d8bed6eede Static analysis fix: uninitialized value.
REVERT: aad162873a Static analysis fix: leaking Objective-C object.
REVERT: a4908f6b1b Static analysis fix: dereference of a NULL pointer.
REVERT: dc1ff19a6a Static analysis fix: let clang know _this->displays isn't NULL.
REVERT: a23e431952 Static analysis fix: division by zero.
REVERT: b006893d9c Static analysis fix: uninitialized variables.
REVERT: 01e9ab7668 Static analysis fix: Fixed leaking Objective-C object.
REVERT: 9fd0bfe53f Static analysis fix: bad release.
REVERT: 5c3a763f09 Fix visualstudio build break introduced by changeset 8645
REVERT: 721340f510 Add input validation to SDL_getenv/SDL_setenv; update Stdlib testsuite; add Hints testsuite
REVERT: 4dd6e749db Minor comment cleanups in checker-buildbot.sh
REVERT: 320c2fa386 Static analysis fix: division by zero.
REVERT: db491f9a33 Static analysis fix: Value stored to '[bcd]' is never read.
REVERT: 3c3e834e3f Static analysis fix: "Value stored to 'p' is never read"
REVERT: e66b7588ad Don't overwrite SDL_dynapi.h in checker-buildbot.sh.
REVERT: c40596908d Make checker-buildbot.sh work just about anywhere Clang is installed.
REVERT: 1adad7a85d Reenable static builds for now with static analysis.
REVERT: 4e85b2db83 Buildbot static analysis script: use configure script instead of cmake.
REVERT: c02d339a3b Just build shared libraries for static analysis.
REVERT: d728e934bf Added a script to let buildslaves run Clang static analysis.
REVERT: ba24873506 Fixed SDL_HapticNewEffect() failing on various DirectInput devices.
REVERT: 7721c23652 Fixed PS4 game controller config on Windows.
REVERT: 1c0cf697c4 Whitespace fix.
REVERT: 14e7c1e341 controllermap: Don't treat SDL_HAT_CENTERED as a valid input.
REVERT: c984e9107a Fixed a build error in SDL_platform.h when using Code Blocks and MinGW
REVERT: 15dc860cfe Fixed SDL_HapticOpenFromJoystick() with DirectInput devices.
REVERT: e4f4a38c99 Added tag release-2.0.3 for changeset 704a0bfecf75
REVERT: d83e91f738 Fixed iOS build
REVERT: c2e37c48e7 Added tag release-2.0.3 for changeset f285b9487756
REVERT: 993135ec8b Added a patch note for 2.0.3
REVERT: dfd9c3a58e Fixed bug 2450 - Crosscompiling for Win32 with MinGW fails due to WM_UNICHAR undeclared
REVERT: ecc7d16d69 Only show the window if it's supposed to be shown.
REVERT: 598897b601 Mac: Make sure window is still showing when we exit a fullscreen space.
REVERT: 1126e9c461 Fixed broken rotation detection routines on WinRT
REVERT: 4f443b34f0 Fixed a crash on Windows Phone 8 that occurred after rotating a device
REVERT: 1d9693d456 Fixed a build error when including WinRT's SDLmain file directly in an app
REVERT: c73afbe0e5 Fixed Mac OS X window level when leaving fullscreen mode
REVERT: eb8fe3f2a3 Added a missing file related to WinRT power management/reporting.
REVERT: 82a301e171 Added missing copyright notices
REVERT: 67fb6a9aa7 Fixed the copyright date on files contributed by David Ludwig
REVERT: 0fc27bd2f5 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.
REVERT: bd47906a80 Fixed line endings (CRLF to LF) in WinRT source code
REVERT: 468dbccb39 Merged various WinRT build fixes
REVERT: 7ba3100244 Fixed various build and runtime errors when using WinRT with VS2012.
REVERT: 90cc00f217 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
REVERT: ad407b378a Fixed compiling Windows RT code on Visual Studio 2013
REVERT: 5007e2996e Fixed compiler errors in the D3D11 renderer when building for WinRT
REVERT: cfebd21bdc Made VS2012 build the D3D11 renderer
REVERT: 2067e0d28a Disable Wayland/Mir again for 2.0.3; it's a quick, brown-paper-bag release.
REVERT: abd90144b3 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
REVERT: 1562be9f89 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.
REVERT: 3af0136604 Fixed binary compatibility with the new Windows RT support
REVERT: 6feafcef7c Temporarily disabled the D3D11 renderer so we can get a build.
REVERT: 9a6086c293 Fixed regression causing the renderer to recreate its window since it's not getting an OpenGL 2.1 context anymore.
REVERT: e6f24f0b7c build fixes for most WinRT-related files
REVERT: d16a9a6781 Fixed D3D9 initialization on Windows 8, which doesn't have D3DX
REVERT: 1d203bd13f Implemented fullscreen <-> windowed transition on Windows 8
REVERT: 9d421197ef Fixed line endings
REVERT: 0879cd423c Fixed creating the rendering context on a specific device
REVERT: aceab387be Implemented YV12 and IYUV texture support for the D3D11 renderer
REVERT: 821201ed49 testoverlay2 depends on SDL2, SDL2main, and SDL2test
REVERT: fca0b3d448 Added testoverlay2 to the Visual Studio 2013 solution
REVERT: 5e7f7c7f4b Minor style tweaks
REVERT: 1348631206 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.
REVERT: e012b4eb5d Fixed renderer flags to include support for target textures after the renderer is created.
REVERT: 5b8f5159f3 Removed unused variable.
REVERT: be08a25265 Updated WinCE readme to note WinRT work.
REVERT: da923dad2b Turn off Mir support in the buildbot Raspberry Pi script.
REVERT: aff242c8b6 Drop the default requested OpenGL version to 1.2.
REVERT: d93a676e23 Fixed 64-bit warnings
REVERT: 6dd7c515f6 Fixed compiling with mingw64
REVERT: a7d2ebb8d6 Integrated David Ludwig's support for Windows RT
REVERT: 211b54deef Fixed line endings on WinRT source code
REVERT: b821f84418 Updated SDL to version 2.0.3
REVERT: f6e1a153be Visual Studio 2013 project updates
REVERT: e0f70ee928 Patched to compile with MingW64 on case-sensitive systems (thanks, Martin!).
REVERT: 08b3e512b9 Patched to compile on C89 compilers.
REVERT: 9dbbedbea0 Enable Wayland and Mir in configure/cmake scripts, now that 2.0.2 has shipped.
REVERT: 09d2119c58 Added tag release-2.0.2 for changeset be2102f000d0
REVERT: 057c292553 CMake: Don't use /NODEFAULTLIB on Windows unless we're Visual Studio.
REVERT: 32bf53df4e Fixed bug 2430 - Missing initialization of the variable 'centroid' inside SDL_GestureAddTouch
REVERT: 780830080b WinRT: emit SDL_APP_TERMINATING
REVERT: e5e0e486fe WinRT: emit SDL_APP_WILLENTER* and SDL_APP_DIDENTER* events
REVERT: faf8781497 Mac: Added a hint to opt-out of new Spaces code.
REVERT: 28ab3cb756 Removed unused variable.
REVERT: fab30f987c Mac: Don't lose the menu/dock when switching back to a resizable window Space.
REVERT: 7e0a86800d Mac: only programmatically create Spaces if we're FULLSCREEN_DESKTOP.
REVERT: 3f41dc1c92 A bunch of fixes for the new Spaces code.
REVERT: 1a4a891233 Fixed dictionary initialization
REVERT: d8a4f1ea9d Updated to build on Mac OS X 10.7 with Xcode 4.6
REVERT: abd5c75f1a Mac: Manage menubar and dock as FULLSCREEN_DESKTOP windows become/resign key.
REVERT: baf56fe069 Add support for the freedesktop.org Idle Inhibition specification, as per: http://people.freedesktop.org/~hadess/idle-inhibition-spec/
REVERT: bb993d3a3b Backed out changeset a6493ee0c9b5
REVERT: 5624855166 Make sure we return version 0 if XInput detection fails
REVERT: afa70ff8df Reworked fullscreen policy on Mac OS X.
REVERT: 88bdcd6a28 Better attempt to detect available X11 XInput2 features.
REVERT: a5a1ae956b Fixed X11 XInput2 multitouch test to work in configure script.
REVERT: 5f11f71362 Windows: Fixed crash if quitting without closing an XInput haptic device.
REVERT: ae216dde6c Added a FIXME.
REVERT: 8135173e3f Fixed a typo in a comment.
REVERT: f0cc3c2e56 Dynamically load glGetString(), to avoid direct dependency on OpenGL.
REVERT: 81801cb940 Added some FIXMEs.
REVERT: d954bb23ac Mac OS X: Make OpenGL context selection more robust, avoid software fallback.
REVERT: 267f8fb155 Force Windows version of SDL_GetPrefPath() to Unicode, create missing dirs.
REVERT: 65f91d101f WinRT: cleaned up some hard-to-read SDL_DisplayMode management code
REVERT: 582a189bc4 WinRT: fixed a crash in SDL_Quit
REVERT: b2c4391ab7 Changed SDL_HINT_ACCEL_AS_JOY to SDL_HINT_ACCELEROMETER_AS_JOYSTICK to be more clear.
REVERT: 5378997447 Fixed compiler warning
REVERT: 4835900bcd Fixed compiler warning
REVERT: 986b5a39b2 Fixed test for libuuid.a
REVERT: 8bb2f07439 Updated with the latest 2.0.2 API changes
REVERT: 651b638ea3 Fixed bug 2368 - Security Software is blocking RegisterRawInputDevices()
REVERT: b7435a3ad3 Fixed bug 2423 - timeBeginPeriod & timeEndPeriod mismatch
REVERT: cff6eb5155 Null termnate the pUserMappings variable to prevent memory corruption.
REVERT: 3dfda84048 Added a hint to enable the screensaver by default
REVERT: c5162134d2 Disable the screensaver by default.
REVERT: 2e034c2a74 Improve window recreation logic in OpenGL* renderers
REVERT: 28741acca1 Mac: Forgot return value in last commit.
REVERT: bd9b49b64c Mac: Don't disassociate cursor if window is moving / doesn't have focus.
REVERT: b8fae2ab0b Mac: Redo cursor warp handling.
REVERT: dae431ed0e Mac: Improve moving relative mode windows.
REVERT: ca29983393 Mac: Fix error message for haptic subsystem.
REVERT: 7316ed4a8f Mac: Immediately update current OpenGL context's shape.
REVERT: 83efc7045c Fixes #2308, recreate window if GL requirements for the renderer are not met
REVERT: 40b6f9290b WinRT: simulate keyboard events on Windows Phone 8 back-button presses
REVERT: 4c397e686a WinRT: added a means to display a privacy policy link via the Settings charm
REVERT: 02d00dd07d WinRT: d3d11 blend mode bug fixes
REVERT: 5264f889eb WinRT: minor error cleanup regarding OpenGL init
REVERT: 4472396559 WinRT: took out some dead comments from SDL_winrtopengles.cpp
REVERT: 64014dc3d8 WinRT: fixed crash on ARM and x64 during OpenGL window init
REVERT: ad7caf3267 WinRT: minor header file usage cleanup in the d3d11 renderer
REVERT: fd6014b877 WinRT: simplified the d3d11 vertex shader a bit
REVERT: a408c61485 WinRT: implemented SDL_RenderSetClipRect for the d3d11 renderer
REVERT: 32da5a8500 WinRT: corrected a minor error in an end-of-file comment
REVERT: 51e5bb14f4 WinRT: minor rotation/orientation code cleanup in the d3d11 renderer
REVERT: ccae63527b WinRT: removed a bit of dead d3d11 code
REVERT: 0dabf1d751 WinRT: d3d11 compiled-shader code cleanup
REVERT: 481dfa1d54 WinRT: made sure d3d11 debug mode doesn't get enabled by default
REVERT: c836d9ffc2 WinRT: compiled the d3d11 renderer's shaders into SDL itself
REVERT: 0975ebfe9b WinRT: prevented a potential race condition in the XInput backend
REVERT: eb6020c6bc WinRT: added a TODO note regarding texture-[un]locking in the d3d11 renderer
REVERT: 79d7f0dee2 WinRT: renamed d3d11-internal struct, SDL_VertexShaderConstants, to just VertexShaderConstants
REVERT: 1f740f328b WinRT: moved contents of the d3d11 renderer's header file into its implementation file
REVERT: bbd8e31737 WinRT: simplified a potentially-common error message from D3D11_SetRenderTarget
REVERT: 788d61ec6b WinRT: removed an unnecessary use of std::string in the d3d11 renderer
REVERT: 1b770842fc WinRT: utilized SDL_SetError's return value in the d3d11 renderer
REVERT: 5fac22c332 WinRT: minor d3d11 code cleanups
REVERT: 255cf99d66 WinRT: made d3d11-spawned error messages trickle down
REVERT: 326ecc4ed6 WinRT: made d3d11-spawned error messages include the function name of failed calls
REVERT: 90532fcb1a WinRT: moved ill-performing XInput device-detection calls to a separate thread
REVERT: 378af595bc WinRT: bug fix: game-controller/joystick button-down events weren't getting sent
REVERT: f5ca4203fb WinRT: better rendering performance via D3D11_USAGE_DYNAMIC
REVERT: fcbc582b23 WinRT: enabled OpenGL ES 2 support by default
REVERT: dedca211f8 fixed gles/gles2 renderer creation fail on Android when default major/minor version doesn't match
REVERT: 0fe823b5cd Fixed crash if the input data pitch is larger than the locked texture pitch
REVERT: 071160984a Don't warp the mouse while we're doing a modal interaction
REVERT: 0439b46866 Make sure we don't clip the cursor while clicking on the window title bar
REVERT: 78d6f1432e Fixed relative mouse mode with multiple windows. The window cursor clipping will be taken care of when SDL_UpdateWindowGrab() is called.
REVERT: 6a608bf9d8 Added a bunch of missing windows messages
REVERT: 8397bfa2ae Mac: Fix inconsistent repeat of SDL_TEXTINPUT events on 10.7+
REVERT: e8ff2a9d5b Fixes #2296 - SDL_GL_UnbindTexture segfaults (thanks Daniel Bünzli)
REVERT: d210539a55 CMake: Fixed build on Mac OS X.
REVERT: 9faed54ab1 Zero out haptic linked list items on creation
REVERT: ac487a8eec Fixes #2417, memory leak in SDL_gamecontroller.c (thanks Leonardo!)
REVERT: 08107940e9 Free the correct variable.
REVERT: 729201110d CMake: Just assume Apple platforms have Cocoa support.
REVERT: 5210e4cf9d Fixed Mac DualShock 4 gamecontroller db entry again.
REVERT: 7ecd3a6867 Mac joystick: ignore duplicate HID elements.
REVERT: 3b9df91fd6 Fixed bug 2404 - CPU detection not working with MSVC on x64
REVERT: 1dfdcf3ef4 Fixed bug 2335 - Fails to build on Debian GNU/kFreeBSD
REVERT: ee413cf91e Fixed bug 2347 - On OSX, an SDL app prevents system shutdown.
REVERT: c505974f89 Don't fail initialization if the helper window class already exists.
REVERT: 0438b40945 Fixed bug 2395 - OSX: App name in the menu bar is not localized.
REVERT: 409b56b60c Fixed bug 2298 - undefined reference to `IID_IUnknown' on cygwin
REVERT: 9c3587ee5d Fix audio conversion when channel count changes
REVERT: f27c940fec Fixed bug 2414 - Execute event watchers in the order they were added
REVERT: 8a15985929 Fixed bug 2407 - Support for OpenGL ES 3 contexts on iOS
REVERT: 6c4e7ebabe Fixed bug 2346 - Mac: mousewheel events have flipped horizontal scroll values
REVERT: 4042f4a71d Thou shalt not use more than 4k local variables in this code.
REVERT: 4e89bc0a11 Reworked Mac OS X joystick code to use the 10.5+ HID Manager API.
REVERT: d6287ff195 Fixes #2326, clean up the X11 backend a bit
REVERT: efdbdb5ae7 Fixed infinite recursion in D3D_Reset()
REVERT: d0fff34d42 Fixes #2408, VS2013: several projects of release build are not built
REVERT: 42a3d5f36d Improve testgles2 exit behavior (useful on Android)
REVERT: 464c9a9fc4 Fixes #2403, add SDL2 dependency to testgles2 (thanks Hiroyuki Iwatsuki)
REVERT: 6b4444c027 Fixed resetting the current render target if the D3D device is reset while using a non-default render target.
REVERT: 2d5bf23169 s/iPhoneOS/iOS
REVERT: 7a997f59a9 Corrected battery percentage on iOS (thanks, Felix!).
REVERT: 6b77a0bcbf Fixed documentation comments in SDL_hints.h file.
REVERT: b854719834 Changed text in documentation.
REVERT: e5b870617d Corrected name of hint in README.
REVERT: a51fa61986 Make sure we don't stay in the windows event loop forever if there are lots of events coming in quickly.
REVERT: 4a8a8b7d99 Fixed Mac PS4 controller entry, added Linux OUYA controller entry
REVERT: 7922c3b3d5 Added the new function at the end so we don't break the ABI
REVERT: 04fc41aee6 Back out changelist 1951976
REVERT: 01ba6c5f4c Back out changelist 2026006
REVERT: 2d76dd6a5d Added SDL_DXGIGetOutputInfo which returns the adapter and output indices that are used to create DX10 and DX11 devices and swap chains on a particular display.
REVERT: e16a129e19 Fixed lost mouse button when in relative mouse warp mode and you click on the title bar, entering a modal move/resize loop.
REVERT: 1e29e2e444 As part of Jorgen's code review of this function I added a call to LoadLibrary so the refcounts would be consistent between Windows and Posix. Then I forgot to include the check that the thing was actually loaded and caused it to be loaded all the time.  Oops.
REVERT: 714ed7849a Added SDL_GetLoadedModule to do the equivalent of GetModuleHandle/dlload(NOLOAD)
REVERT: bf6a7b1a2d Try to work around Android's handling of static variables in terminated apps
REVERT: 9eb2cc5c7a Fixed crash if render target textures are used while the device is lost
REVERT: f656316b9f Recreate render target textures when the D3D device is being reset, and notify the application using the SDL_RENDER_TARGETS_RESET event when this happens.
REVERT: f81a5b5fbd Exposed the font character size and SDLTest_DrawCharacter() to make it easier to do custom debug text layout
REVERT: 94d3b7fe80 Fixed bug where a window created fullscreen and hidden would get activated and "shown" but never actually be visible. This is the case with the Steam In-Home Streaming client.
REVERT: b1c93506dd Fixed DualShock 4 controller config on Mac OS X.
REVERT: 20f44801d9 Fix Cmake so generated SOname matches autoconf's #.
REVERT: f4f293ae2a Make controllermap, etc, work on platforms with hardcoded window sizes.
REVERT: fddd6a295f Backed out 51935d107921
REVERT: a2021a76d6 Removed unused function.
REVERT: 49fd59d20d Replace testgamecontroller visualization mode with something more useful.
REVERT: 755c18bf87 No need to use a render target here.
REVERT: e49f7fcdf8 Updated SDL to version 2.0.2
REVERT: a1158f5747 Fixed the OUYA controller mapping on Windows
REVERT: 283007aea7 Added Windows entry for the bluetooth OUYA controller
REVERT: 245621ceb0 Possibly fixed bug 2250 - Cmake: SDL2 Doesn't install DLLs on Windows
REVERT: 018d3e8094 Fixed bug 2385 - error: unknown type name 'IDirect3DDevice9'
REVERT: 46ee18a917 Fixed bug 2354 - [ES 2.0] SDL_RenderClear clears render target with wrong color
REVERT: 07a02fa6a0 Updated README-macosx.txt to note new minimum requirements, end of PowerPC.
REVERT: 5fea7acdd4 Make non-Clang compilers happy.
REVERT: e288488534 Tell Clang's static analysis that SDL_assert() is an assertion handler.
REVERT: b299b73be1 slight adjustment to the hot plug test to allow it to be run with hap tics disabled
REVERT: f08ead552b ignore hot plugs in mac haptic layer IF hap tics hasn't been initialized.
REVERT: c9e81d515a Added DualShock 4 game controller config for Windows, Mac, and Linux.
REVERT: 6d0308a33f Fixed crash on Windows if haptic isn't initialized when controllers are added.
REVERT: f9cfc5f8da Fixed a typo.
REVERT: 7629872a1f Fix device counting in HapticMouse and JoystickOpen routines. 0 is the first item in the list not the last
REVERT: c593f2045c fix indentation and spaces
REVERT: a2debb00d3 Fixed return values on testhotplug mainline.
REVERT: b012f2f251 Fixed copyright date.
REVERT: 441bde12ca Wired up haptic hotplugging for Windows DirectInput/XInput code.
REVERT: 884709423e Fixed memory leak.
REVERT: cece2c2b93 Make SDL_SYS_HapticMouse() count device indexes like HapticByDevIndex().
REVERT: 2757186774 Cleanup some vi footer comments, rename new PRIVATE_* funcs to MacHaptic_*.
REVERT: e11eb2b184 SDL_pixels.h needs SDL_stdinc.h for SDL_FOURCC #define (thanks, Dmitry!).
REVERT: 4325bf478a add testdropfile to OS X Project
REVERT: 00970c2034 Implement new backend methods for haptic and hot plugging on OS X
REVERT: 832dfd827e add testhotplug to OS X test project and set target OS version to 10.5 for tests.
REVERT: e9fa1c76be implement new backend method for Haptics in dummy driver
REVERT: f4141728b7 Rework haptic backend to properly support hotplugging of haptic devices.
REVERT: 0f21a3fc45 allow safely quitting the hotplug test by pressing button 0 on the joystick
REVERT: 4f1f0f7a6c * Remove android based workaround, it is handled in SDL_EGL_GetProcAddress.
REVERT: cd64be14c5 Added SDL_GetAssertionHandler() and SDL_GetDefaultAssertionHandler().
REVERT: c174c3f279 testhotplug: Actually log the SDL_Error that occured on failures
REVERT: 6c52055fd6 add logging for the case when haptic is not detected on the joystick as well.
REVERT: 1e7e71be86 add simple test showing off hotplugging of joysticks w/ haptic.
REVERT: 40b7982b26 Removed -force_cpusubtype_ALL cflag from Mac builds.
REVERT: 2ffc05f7d8 Fixed some compiler warnings from the latest Clang, cleaned up some things.
REVERT: 2b76b6f34d Temporarily default Wayland and Mir to disabled, for 2.0.2 release.
REVERT: c0acfb60f8 Unload Wayland libs if memory allocation fails during init.
REVERT: 5704cde18b Hooked up dynamic loading for Mir.
REVERT: 1e8a90f615 Add Mir to configure script's summary output.
REVERT: 65c6eaa486 Bumped copyright date on Mir code.
REVERT: ccfee665db Disable some minor things that need newer Mir dev headers.
REVERT: e242c2f9f4 Added some SysWM bits for Mir.
REVERT: 19617cb9c5 Cleaned up headers and footers on Mir code.
REVERT: adb4d0965e Added Mir video target (thanks, Brandon!).
REVERT: 32375dfba7 Ignore the buildbot build directories.
REVERT: 49074eae7b Fixed including SDL_internal.h twice for DirectFB.
REVERT: 7bcac08401 Added additional platform check for __ANDROID__.
REVERT: d7940a513e Fixed bug 2374 - Update copyright for 2014...
REVERT: 420a70436c Fixed bug 2376 - no SDL_HasAVX
REVERT: 92cca5ee3d Treacherous copy/paste!
REVERT: 012a0ed6c4 Detect Xrandr >= 1.2 at build time
REVERT: d17c440442 Add SDL_GL_ResetAttributes.
REVERT: a09aac7720 Add a new hint SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT that allows SDL_CreateWindowFrom() to set the pixel format of another SDL_Window (and also will set the SDL_WINDOW_OPENGL flag on the window created with SDL_CreateWindowFrom()).
REVERT: d9f1c7b666 Document Michael's changes adding TranslateMessage() back to the SDL message loop.
REVERT: ff4616a9f6 * Added TranslateMessage call to SDL default message pump - was causing problems in S2 tools mode apps that used Qt. Qt relies on the WM_CHAR message generated by TranslateMessage and keyboard input was showing up in the UI as mixed-case. (Depending on which message pump got a given message - both SDL and Qt pump messages for the entire process.) Sam will review and possibly tweak this change before propagating to public SDL, but I'm checking this version in so I can integrate into S2 and fix the issue there.
REVERT: fa2b1bca37 Mac: [NSApp keyWindow] is not valid in windowDidBecomeKey:
REVERT: e2653cfbe5 fixed hat code validation.
REVERT: 4900721db6 Fixed spaces in source file license comment.
REVERT: d66561a66d Fixed comments in joystick implementation files claiming to be headers.
REVERT: 3d3ea1fac8 Move to no-argument version of "endif()" in CMakeLists.txt.
REVERT: e5d21117a7 Some CMake fixes for static linking on Windows from the OpenFL project.
REVERT: 299247a5ed [Wayland] Fixes segfault when mouse enters window
REVERT: 69734c6913 Preserve binary compatibility in SDL_SYSWM_TYPE (thanks Gerry JJ!)
REVERT: 8c8c5cd844 CMake: Enable missing timer subsystem on Mac OS X and Haiku.
REVERT: 0b00b27fc8 X11: Don't redraw dialog box when mouse moves.
REVERT: 24aaf535bc Patched to compile...uh, everywhere.  :)
REVERT: 452acbeeab Patched to compile on Windows when not supporting Direct3D.
REVERT: b878543be3 [Android] Fixes Bug 2370, don't send accelerometer changes when Android_JNI_GetAccelerometerValues return SDL_FALSE (thanks to Jairo Luiz)
REVERT: 60e32d1ffc Removed unused variable from Java class for Android.
REVERT: bceb05d311 Fixed typo in documentation.
REVERT: 90f139dcb9 quick fix for CMAKE SOVERSION number so it matches what is output by the configure script
REVERT: c71a62043d correct grammar on UNIX missing dependency status notice.
REVERT: e43ad531ae autoconf script tweaks
REVERT: 037b44fc19 Bug 2358 - [Android] Sort joystick axes - Fix by David Brady
REVERT: 196de652c5 Bug 2358 - [Android] Joystick Button Mappings are strange (fix by David Brady)
REVERT: e1cd175738 Fix detection of iOS for disabling dynamic API.
REVERT: e83b3337a8 Fixed XF86 VidMode extension dynamic loading with CMake project.
REVERT: 3ae02c72db Fixes 2356, [Android] SDL_JoystickGetAttached does not function
REVERT: 723a653107 Fixed dynamic loading of NAS in CMake project.
REVERT: 22d076b16f Move Wayland driver above dummy, check for driver availability before creation
REVERT: 831ef8c592 Patched to compile if Wayland is disabled via SDL_config.h (thanks, Martin!).
REVERT: b1e60f303c Make sure you clean up the associated renderer when destroying a window.
REVERT: 836efb4c3e Fixes prototype declaration for wl_proxy_marshal_constructor [Wayland 1.4]
REVERT: f6e748c3a9 Fix to compile against the Wayland v1.4 headers
REVERT: 4cb3bff047 Don't minimize fullscreen windows when destroying them.
REVERT: f93c2e774a Mac: Don't give windows focus back when we're closing them.
REVERT: fcd0b2efc3 Allow switching between FS and desktop FS.
REVERT: 38a50a1236 Test: Add Shift-Enter to switch between FS and desktop FS.
REVERT: ff68a1209b Tests: Refactor key modifier checking.
REVERT: bebef1cd46 Adds README-dynapi.txt based on Ryan's G+ post (lightly edited)
REVERT: 406ae45a58 Mac: Trigger SDL_FINGERUP for all touches.
REVERT: 305b4e4afe Make EGL loading more resilient.
REVERT: 774a9eed75 Dynamic loading support for Wayland
REVERT: c8634f0d7f define a font-size for the "unicode" message box font so the text isn't unreadable on linux systems
REVERT: 80089de1b0 some fixes to the testshape.c code so it more correctly works.
REVERT: ac00407bd2 Maybe fix Cygwin.
REVERT: 1314bfaf4a Patched to compile on Cygwin.
REVERT: bd68319d23 Another Android fix.
REVERT: 9340a4d2f0 Updated Dynamic API jumptable.
REVERT: b77f9fd47c Add Dynamic API to Android makefile.
REVERT: 599df6540c Patched to compile on Android (I think).
REVERT: 88db90913c Patched to compile on OpenBSD.
REVERT: 1df5dccd9a WinRT: fixed bug: SDL_RenderReadPixels didn't work with certain orientations of the physical display
REVERT: 63256a2384 Implemented the Dynamic API magic.
REVERT: a21be44a15 WinRT: removed a now-complete TODO comment regarding Direct3D 11
REVERT: a4f050087d WinRT: enable the OpenGL ES 2 SDL_Renderer backend, if and when OpenGL ES 2 support is compiled in
REVERT: 603365be1e WinRT: got the SDL-official OpenGL ES 2 changes working, in an experimental state
REVERT: 446c381267 WinRT: implemented SDL_DetachThread() for WinRT
REVERT: ebfac58560 WinRT: merged with latest SDL 2.x/HG code
REVERT: 4f6b8b547b WinRT: fixed bug: touch input coordinates weren't normalized [0..1]
REVERT: e2be1694c1 Fixed windows build with conflict resolve
REVERT: 8835c39374 Added alternative XBox 360 controller GUID on Linux
REVERT: 94adb0c939 Fixed bug 2260 - SDL_SetCursorGrab() is buggy on Windows
REVERT: 4c087a3780 Fixed large relative mouse motion when iconifying the SDL window. Windows will move the window to -32000,-32000 when it is iconified, so we don't want to send mouse motion for iconic windows.
REVERT: aee889c1bd Don't crash when no WM is present.
REVERT: ef7498a5c3 Fixed bug 2274 - SDL_ceil is incorrectly implemented when HAVE_LIBC is not defined
REVERT: 7e840cc03e Fixes #2271, Add KD detection under CMake by Scott Percival
REVERT: b3874f57ce Fixes #2272, typo in CMakeLists.txt (thanks Boris Bendovsky!)
REVERT: fc300345e6 [Android] Fixes #2228, reworked touch code
REVERT: 82edee6971 Make internal SDL sources include SDL_internal.h instead of SDL_config.h
REVERT: 1e82be1804 Patched stdlib changes to compile on Windows.
REVERT: 5a281a4fda Regenerate the configure scripts.
REVERT: de59025dac We don't need to check for snprintf() anymore, we don't use it.
REVERT: 3003efb88d Added SDL_vsscanf().
REVERT: 4b0089b843 Moved atomic API implementation out of headers.
REVERT: 3224881c2e Don't use -falign-loops=16 on Mac OS X anymore.
REVERT: 1e764330e5 Fixed display mode calculations for applications which are not DPI aware. If your application wants to have access to the full resolution even when the system has DPI scaling enabled, call SetProcessDPIAware() before calling SDL_Init()
REVERT: 718644c5d0 Switch back to apartment threaded COM initialization, which was the previous default. We do succeed now if the application previously initialized COM in multi-threaded mode.
REVERT: 95c34dcdd1 Make sure our window has mouse focus before processing raw input events. This happens rarely, but not reproducibly, where we get raw input events for the window even though it doesn't have focus.
REVERT: a7694dea9a Bump SDL to build with 10.7 SDK.
REVERT: 5f5b667aa3 Implements touch support on QTWayland. Contributed by Thomas Perl.
REVERT: 51f82e27dd Changed return -1 after SDL_SetError() to return SDL_SetError().
REVERT: d1f38264a2 Fixed pointer from integer warning and bug if compiled without EGL.
REVERT: 967dbafb4b Updated paths in README for Android.
REVERT: 0319037b72 Fixed access of command line arguments on Android in two test programs.
REVERT: eee2bcca85 Fixed unused local variable warning in test program source.
REVERT: d67b11b967 Fixed missing @Override annotation warning in source for Android.
REVERT: 7297902ce0 Fixed unused local variable warning in joystick source for Android.
REVERT: 9da82d88f2 Fixed implicit declaration of SDL_Log() warning in joystick source for Android.
REVERT: 99bebc64ce Fixed missing return warning in test program source.
REVERT: e19941b406 Setting the mouse in relative mode implies grabbing the mouse. This fixes getting mouse button events in raw input relative mode on X11.
REVERT: 134d56c6d9 Added a relative mouse mode that uses mouse warping instead of raw input. To enable this, set the environment variable SDL_MOUSE_RELATIVE_MODE_WARP to "1"
REVERT: 0a03232077 Fixed float to int conversion warning, which was a legitimate bug.
REVERT: e7bb3fd0fb Print events with SDL_Log() so they show up in Visual Studio debug output Added some joystick and controller events to the set that are printed out.
REVERT: b2bb6f1da1 Changed testgamecontroller to wait for controllers to be reattached, the way testjoystick does.
REVERT: 9289bbb732 Generate SDL_CONTROLLERDEVICEADDED events for controllers connected at startup
REVERT: 11fc41fde2 Added support for double-clicks, through a new "clicks" field in the mouse button event.
REVERT: a78645c99d Explicitly initialize COM with multi-threaded support. This is the safest option for applications that use COM, multi-threaded or not.
REVERT: fc92786842 [Android] Define SDL_VIDEO_OPENGL_ES2
REVERT: 7137e0c2e8 Enable ccache for Raspberry Pi buildbot script.
REVERT: 3308d271b5 Wayland support
REVERT: b71add8edb Context sharing for EGL
REVERT: 99198c8c9f [Android] Poll joysticks every three seconds
REVERT: f8e51377ab Fixed bug 2050 - Obvious bugs in SDL_ltoa and SDL_lltoa
REVERT: 37b1229722 Fixed bug 2294 - testdrawchessboard.c Sets the render color alpha to 0x0.
REVERT: ae184f5e89 [Android] Hotplugging support for joysticks
REVERT: 924207a299 Hook up SDL_acos and SDL_asin properly.
REVERT: 1509359de3 Associate the environment with any thread that calls Android_JNI_GetEnv(), in case it's been manually created with pthread_create() or C++11.
REVERT: 713109176d Fixed crash if no window has keyboard focus
REVERT: db521ea67c Fixed detecting the wired XBox 360 controller on Linux Also added some more debug output to detect issues
REVERT: 4c35a7b408 Fixed compiler warning on Visual Studio
REVERT: b23701455b Added missing header for file IO
REVERT: e191f1f872 Added code missed in the resolve
REVERT: e2229f727f 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
REVERT: b3fa9a3e55 [Android] Handle native thread finishing when not commanded from the Java side
REVERT: 31aa9d5b81 [Android] Signal the resume semaphore after pushing the relevant events
REVERT: 137f4aedc1 Adds SDL_GameControllerAddMappingsFromRW, updates controllermap
REVERT: f728c688d1 Fixed error return value in SDL_EGL_CreateSurface(), thanks to Mike Kasprzak
REVERT: a2388728b7 Adding WhatsNew.txt changes
REVERT: 9054b03edb Adds controllermap utility to test suite.
REVERT: 64ff6df0b8 Adds SDL_GameControllerAddMappingsFromFile
REVERT: d2984a16ad Select EGL config when creating the EGL surface
REVERT: 7f809e64d8 Improve Android pause/resume behavior.
REVERT: 2ca1d5c980 Fixed bug 2258 - Crash when using Android clipboard
REVERT: d2671e8a86 Fixed a few public APIs that we accidentally neglected to mark as SDLCALL.
REVERT: 10ad7c5969 Removed second return statement.
REVERT: 4db223b3a1 Fixed spaces in license comment.
REVERT: 8106c1a455 Removed include of no more needed header.
REVERT: 23434404ae [Android] Fixes #2264, handle joystick open/closed state properly
REVERT: 6ad1c0122c Fixed double-free of the window shape path
REVERT: d024ab8b10 Fixes compilation on Mingw.
REVERT: f21d3e7e2a OpenGL ES support for Windows
REVERT: 239ba53a4c [Android] Fixes #2247, enable hardware acceleration by default.
REVERT: a8fa54cfd7 Query version for X11 XInput2 multitouch separately from base XInput2.
REVERT: 8e6405547d Clean up X11 OpenGL ES backend
REVERT: c843ed5545 Fixed SONAME lookup for runtime loading of shared libraries in CMake project.
REVERT: a047b562eb -fvisibility=hidden is no longer a requirement for dynamic X11.
REVERT: 337a61cc3a Find the best EGL config available between those returned by eglChooseConfig
REVERT: 67b0e2ce38 Adds testgles2
REVERT: c68f34799d [Android] Try to improve handling of DPAD|GAMEPAD + KEYBOARD devices
REVERT: 98ed49f28e Accidentally committed debug code
REVERT: 5943722c97 Textures need to be freed before renderers
REVERT: 42f34f61d6 Added missing resource release in test source.
REVERT: 2d9c5027be Fixed unreachable return statement warning in gamecontroller source.
REVERT: 6917b0dbe5 Fixed implicit function declaration warning in joystick source for Android.
REVERT: 12551ee8d0 Fixes building for RPi using --no-undefined
REVERT: c92ccae933 Restore evdev sources to configure script
REVERT: 2313fd3181 When the mouse is grabbed it's constrained to the client area, not the window frame.
REVERT: e29d5bd5db Fixed bug 2245 - add SDL_acos and SDL_asin
REVERT: 0f4c048410 Turn off --no-undefined on OpenBSD again. Leave it on everywhere else for now.
REVERT: 0a6b490596 Fixed bug 2232 - Version Mismatch in VS2013 Solution File
REVERT: 2d61540445 Fixed up configure so it doesn't reference input/evdev anymore
REVERT: 0a3e0e97d7 Fixed bug 2231 - Move src/input/evdev into src/core/linux
REVERT: a890cb0b45 Fixed bug 2238 - Enable GCC atomics for clang
REVERT: 4bf40e4848 Fixed bug 2241 - SSE intrinsic in fillrect MMX path
REVERT: 5f79fe13d9 Added information on reporting bugs to the README.txt file
REVERT: 829e1a8d20 Fixed compile warning, thanks to Michael Pohoreski
REVERT: 7483f513d8 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. :)
REVERT: dd88bbb8d8 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.
REVERT: 6f14a76111 Added space in the common state structure for render targets
REVERT: e131dd96fb Fix viewport being upside down in OpenGL renderer.
REVERT: 7b1c9df188 Fixed bug 2240 - On OS/X after calling SDL_SetWindowBordered right mouse clicks no longer register
REVERT: 62ec6bf81c Backed out changeset e8f93c2ebda3 - it didn't actually do anything useful
REVERT: 28264ed469 Turning --no-undefined back on, to see what platforms are still broken.
REVERT: 98ea92ba3e Fixed comment typo.
REVERT: 8570ce8dc5 Clean up the EGL related video backends (X11, Android, RPi)
REVERT: 774a86c821 Apparently Haiku is removing /boot/common (thanks, scottmc!).
REVERT: 1da87eaef8 Haiku: fixed uninitialized variable.
REVERT: 34944dab6b merged with repo
REVERT: 30c46bacc8 Renamed things named after BeOS to be named after Haiku instead.
REVERT: 728572a414 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.
REVERT: 6608608177 Adds joystick/udev troubleshooting information to README-linux.txt
REVERT: 3c8712e3b9 Patched to compile on Haiku.
REVERT: 39184a6ede Added SDL_DetachThread() API.
REVERT: bcaa9c4c22 Started BeOS removal: merged BeOS thread and pthread code.
REVERT: cb3d7d3831 Diagonal flipping with RenderCopyEx
REVERT: ee3f8b15d5 [Windows] Fixes bug #1555, handle ALT+F4 on Windows
REVERT: f2f5160c17 Updated androidbuild.sh to enable parallel builds and ndk-build parameters
REVERT: b56cb32879 Added a few notes from Ryan's email to README-linux.txt
REVERT: 4b230bc503 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
REVERT: daa66511ed Retain the high dpi flag when recreating the window (e.g when creating a renderer context)
REVERT: 526e6bca4b Fixed build error with SDK < 10.7
REVERT: 2fd1fa27a4 We still want to generally minimize on focus loss, but not when we're in a fullscreen space on Mac OS X.
REVERT: 3434d21851 Added a hint SDL_HINT_VIDEO_FULLSCREEN_SPACES to specify that windows go fullscreen into their own spaces on Mac OS X.
REVERT: f4b58499d6 Fullscreen space naming cleanup to avoid confusion with normal fullscreen mode
REVERT: ac5eb506cb Made sure the window had the correct border when manually being brought back from fullscreen mode.
REVERT: a8db006c34 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:'"
REVERT: 4626135c4a Fixed window resizing when entering and leaving fullscreen mode
REVERT: a4664a4c91 Fixed assertion failure when minimizing a fullscreen window.
REVERT: 3b89675355 Fixed bug 2212 - SDL_SetTextInputRect has no effect on iOS
REVERT: 71bc289b76 Properly handle toggling fullscreen state when another fullscreen state change is in progress.
REVERT: 79a3cc3e4b [X11] Fix up compilation when EGL headers are not present.
REVERT: edcae582ac [Android] Try to improve handling of some dpad+gamepad+keyboard corner cases
REVERT: a5bc73516f [Android] Fixes Bug 2031 - Backspace Not Sending Events From On-Screen Keyboard
REVERT: 3940f9ca8e [Android] Improve handling of keyboard, dpad and gamepad events
REVERT: a2cdc5c163 [Android] Fixes bug 2217, better joystick axes handling on Android.
REVERT: 41e8e82847 Fixed compiling with older Mac OS X SDK
REVERT: ce5102363c Fixed compiling with ISO C90
REVERT: 1f2b146ac3 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.
REVERT: 4feb0079f8 Added support for new style fullscreen transitions on Mac OS X
REVERT: 3a64a5a86d Turn off resizable flag by default, you can always pass the --resize command line option if you need it.
REVERT: 6156293912 Fixed whitespace style
REVERT: 332f80d9f3 Toggling fullscreen now takes fullscreen flags
REVERT: c0d049dd87 Fixed pool memory leak
REVERT: 1ef510f8cc Fixed bug 1965 - Mac: dead code for supporting OS 10.4
REVERT: 60a701fa5d Fixed bug 2176 - SDL_CreateWindow(w=INT_MAX, h=INT_MAX) causes program to hang
REVERT: 31dab00ac0 [X11] Ignore both NotifyGrab and NotifyUngrab modes in FocusIn/FocusOut events
REVERT: 90cd003e2a Fixes bugs #2213 and #2214, improves the Android joystick code button handling
REVERT: 2f9cd96d99 Fixed issue with dead key press/release events being filtered out.
REVERT: 81d9c8177b Hopefully fixed focus problems when handling a global hotkey on X11. See this thread for details: https://bugzilla.mozilla.org/show_bug.cgi?id=578265
REVERT: 20f5652c62 Fixed bug 2067 - Window size limit calculation issue when exiting fullscreen on Windows Also fixed minimize and maximize state detection for Windows.
REVERT: c04efa65dc Added project files for Visual Studio 2013 Added /arch:SSE code generation option to prevent SSE2 floating point functions from being implicitly called (which aren't linked in SDL)
REVERT: 26038047c5 Fixed joystick crash on Android if joystick subsystem not initialized.
REVERT: 8fc589c69b Replaced search loop with indexOf() in Java file.
REVERT: b081847e58 Replaced implicit boxing with explicit boxing in Java file.
REVERT: 48e7bb9b10 Renamed a class in Java file for consistency.
REVERT: fa4a6001e7 Removed not needed imports from Java file.
REVERT: 20dbab5d8d Added missing @Override annotations in Java file.
REVERT: aa059d0a18 Changed motion listener implementation not to inherit from Activity class.
REVERT: d01fdd5e48 Moved two function calls so they are only called if needed.
REVERT: dcaf696c9b Added a new unused key code from Android 4.4 (API 19).
REVERT: 99684031ac Changed function to return -1 through SDL_Error() instead of plain -1.
REVERT: 3cf636ad92 Changed function to be static.
REVERT: 1659944a67 Removed unused local variable to fix warning.
REVERT: 830b5d9d16 Fixed implicit function declarations by including the missing header.
REVERT: 82f9264294 Corrected source comment.
REVERT: 5595fbc315 Added Ben Henning's GSoC2013 work: premake build system.
REVERT: 694010e6e4 Added Apoorv Upreti's GSoC2013 work: visual test suite.
REVERT: 9fe9b3f6c3 Updated notes about building with the Windows 8 SDK: Get the DirectX SDK.
REVERT: de2ea4b8e8 Fixed signed/unsigned warning
REVERT: afbb2469b6 Fixed signed/unsigned warning
REVERT: 0a171fde56 Fixed bug 2172 - Window loses maximized state when activated
REVERT: 9608a25ab6 Added a Linux game controller mapping for the Valve Streaming Gamepad
REVERT: 7d7935a0ea Made helper window creation depend on initializing the Haptics or Joystick subsystems.
REVERT: c1725ce957 Mac: Fix a crash with SDL_MAC_NO_SANDBOX.
REVERT: edb61cbae1 Make sure the joystick count is correct when the added and removed events are dispatched, in case someone is watching for them with an event filter.
REVERT: b8deabb706 Added SDL_HINT_CTRL_CLICK_EMULATE_RIGHT_CLICK hint which controls whether ctrl+click should emulate a right click on OSX.
REVERT: 3d629a9eb5 Fixed spot where SDL was assuming that two displays having the same origin means they're the same display. Changed it to check for the same extents instead.
REVERT: d1f1e95928 Fixed bug 2219 - BMP loader do not handle big BITMAPINFOHEADER structure
REVERT: 3b80318c57 Fixed Windows compile error
REVERT: fb36af2724 Horizontal wheel support in windows
REVERT: dd726d96bf [Android] Fixes Bug 2041 - can't get SDL_QUIT event...
REVERT: 344ed6c986 Fixes Bug 1944 - Linux events, joysticks having only hat are not read
REVERT: ebc3f67ea6 Fixed performance regression caused by the fix for bug 2158
REVERT: 7075ece4a5 Adds Joystick support for Android
REVERT: a5069b7ae1 WinRT: added experimental OpenGL ES 2.0 support
REVERT: db8217dea5 Fixed bug 2180 - debian/rules: Makefiles should use tabs
REVERT: 3d37a0f6c9 Fixed bug 2190 - test/testdrawchessboard.c line endings
REVERT: 2a3c7f2d72 Fixed bug 2205 - SDL_GetAudioDeviceName returns default-device name on invalid index for default-device only drivers
REVERT: 6592749e51 Fixed bug 2187 - CMake is not adding src/core/linux/*.c to the build, linking to SDL results in errors.
REVERT: 572de23fec Fixed bug 1990 - focus/keyboard events not generated correctly for multiple windows
REVERT: 0606843ed8 Clarified that SDL_memset4 is a 32-bit assignment and fixed a compiler warning
REVERT: 0bc9aaf406 Changed parameter name for gesture template save functions from "src" to "dst".
REVERT: 97dba3380d Removed unreachable return statement in gesture source.
REVERT: 2c84e8979a Changed function to return -1 through SDL_Error() instead of plain -1.
REVERT: 2d91a6d3e4 Corrected typo in source comment.
REVERT: 23f6ff5673 WinRT: added support for SDL_HINT_RENDER_SCALE_QUALITY
REVERT: b759f643c6 Fixes Bug #2191,incorrect test for egl_context validity Thanks David Binderman!
REVERT: d640f886b5 Fixed common test usage string (was "hidpi", should be "highdpi").
REVERT: 39f9406205 Updated GL version tests for Mac OS X 10.9 ("Mavericks").
REVERT: f6e52c362a WinRT: added a comment regarding the lack of SHGetFolderPath on WinRT
REVERT: e918745db0 WinRT: implemented SDL_GetBasePath and SDL_GetPrefPath
REVERT: f810dc2524 WinRT: spelling fix in SDL_hints.h
REVERT: 3f62c9892a WinRT: build fixes, post SDL 2.0.1 update
REVERT: 59df93166d WinRT: merged with SDL 2.0.1 codebase
REVERT: b35781fdb3 WinRT: fixed two bugs regarding mouse events
REVERT: 69cd08bc13 WinRT: made the Direct3D 11.x 'Debug Layer' be enable-able in any app via a hint
REVERT: f15aed6e5f Added tag release-2.0.1 for changeset b9663c77f5c9
REVERT: db7c496f11 Removed tag release-2.0.1
REVERT: 84929c222e Fixed buffer overflow.
REVERT: 0d378c791a Added tag release-2.0.1 for changeset 9ec71e56071c
REVERT: c7744104c6 Initialize MEMORYSTATUSEX size before GlobalMemoryStatusEx() (thanks, Justin!).
REVERT: 678e0517aa Added tag release-2.0.1 for changeset 715a01415ac9
REVERT: 05187f9ba8 Updated Debian package version to 2.0.1
REVERT: c9c6126f95 Added tag release-2.0.1 for changeset a8bd63b33636
REVERT: 869a803878 Fix regression causing crashes when running without a window manager.
REVERT: d89bf9b9ff Moved a SDL_SetError() call elsewhere to avoid triggering it needlessly.
REVERT: 10fee37476 SDL_GetPrefPath() now uses the organization on all platforms.
REVERT: 0fc9b5bcf7 Fixed duplicate const warning
REVERT: 274b054ac3 SDL 2.0.0 defined __inline__ and some code relies on it now.
REVERT: dec06dbca4 Testing fullscreen window in the accelerometer test.
REVERT: 55dd456631 Fix error assert for negative cases of pixels_getPixelFormatName test
REVERT: dc404e11c9 Added patch notes for 2.0.1
REVERT: a161479693 Fixed whitespace
REVERT: 69b2958035 Revert fix for bug 1392 because it breaks linking with mingw32
REVERT: eb284ee46d Fixed bug 2168 - Mac: SDL_filesystem.h not exported to public header folder when building framework
REVERT: 0c257d4b66 We don't have API changes documented yet.
REVERT: 5544901ec1 Fixed bug 2073 - Mac: window moves unexpectedly when exiting SDL_WINDOW_FULLSCREEN_DESKTOP mode
REVERT: a68bc09ed9 Better fix for bug 2129 - fix for bug 2121 breaks linking for mingw and throws multiple warnings
REVERT: 900cb419ce Fixed bug 2168 - Mac: SDL_filesystem.h not exported to public header folder when building framework
REVERT: 20e65317fa Fixed some warnings building for 64-bit Windows
REVERT: 165ad7a5e6 Fixed bug 2015 - surface getting leak in SDLTest_ScreenShot function
REVERT: 297b7e9f3b Fixed bug 2012 - Algorithm logic getting wrong in ComputeOutCode
REVERT: 01cfa82f08 Fixed bug 2061 - SDL_filesystem API not built using cmake
REVERT: 9eaceb18a0 Fixed bug 2072 - Make OS X's filesystem calls use -[NSString fileSystemRepresentation]
REVERT: f00b8b1fb4 Better cleanup if OpenGL initialization fails
REVERT: e8d2a8b3b8 Fixed bug 2156 - Android: Accelerometer values fed to joystick driver are inverted for the X axis and wrong for Z
REVERT: 5548931ed6 Fixed a crash initializing Android touch IDs
REVERT: 042962f130 Fixed the status bar visibility in iOS 7
REVERT: d3ebd00978 Fixed Y axis inversion on iOS; positive is up, negative is down.
REVERT: 44dbed38ac Fixed bug 2129 - fix for bug 2121 breaks linking for mingw and throws multiple warnings
REVERT: 4e8f81ab6e Prevent conflicts when linking both SDL2 and SDL2_gfx
REVERT: 4d7a5efe31 Fixed windows compile
REVERT: 367ffcc3af Added a macro SDL_TICKS_PASSED() to correctly compare two 32-bit tick values. Went through the code and used the macro and fixed a couple places that were using incorrect timestamp comparisons.
REVERT: 84561c952a Added __WINDOWS__ to reflect both 32 and 64-bit windows platforms
REVERT: 8d51830d7b Fix some edge cases in XInput haptic timing.
REVERT: a8de1da24d Disable Win32 thread naming again. See Bugzilla #2089.
REVERT: 7a0350ba09 Added SDL_GL_FRAMEBUFFER_SRGB_CAPABLE (thanks, David!).
REVERT: 197b270ca8 Backed out changeset c8a0b7c05db8, done testing Buildbot changes.
REVERT: cfcf5384b7 Intentionally breaking Windows and Raspberry Pi builds to test Buildbot change.
REVERT: e9b771e52a Backed out hg changeset b92b8c52946c. REFGUID is apparently a const type.
REVERT: ed8a935593 Patched to compile on non-C99 Microsoft compiler.
REVERT: 613246f860 Patched to compile on Windows.
REVERT: 4d56787378 Allow XInput haptics to run for SDL_HAPTIC_INFINITY time (thanks, Mitchell!).
REVERT: 0c739575a3 Fixed goofy logic in haptic device comparison code.
REVERT: da32e8f576 Don't bother calling SDL_SYS_HapticEffectType() at all for XInput devices.
REVERT: cc7596fc7e Fix adding of XInput devices (thanks, Mitchell!)
REVERT: 58b5460692 It's okay to quit things more than once.
REVERT: c3ae637f37 Use vertex arrays for drawing points in addition to lines
REVERT: bf136121da Fixed bug 1392 - Debian patch: do not propagate -lpthread
REVERT: 2a5e664b39 Fixed bug 2158 - Pixel missing in SDL_RenderDrawLines
REVERT: d914072403 Fixed compiling with the new X11 symbol wrapping
REVERT: 4d8c9bdc1f Fix bug 1300 by querying current border size in ConfigureNotify, and adjusting window coordinates accordingly.
REVERT: 473d52d092 Fixed bug 2162 - SDL_RenderClear not clearing entire render target
REVERT: 54a9270523 Fixed the XInput2 X11 symbols.
REVERT: 8f23826dcc Fixed bug 2108 - CMake does not set X11 includes properly for sdl2-config and friends
REVERT: ef02b8a4ce Fixed bug 2123 - SDL_BlitScaled crashes in src/video/SDL_blit_N.c:2145
REVERT: 6cdb720c67 Fixed bug 2139 - SDL_CreateWindow/WIN_GL_LoadLibrary fails due to external iconv not being able to convert path
REVERT: 84d3120257 Fixed bug 2155 - automatically remap accelerometer coordinates according to screen orientation on Android
REVERT: 4a8f77da84 Fixed bug 2069 - Device addition/removal queries all USB devices rather than only HID devices.
REVERT: 6c8cb100a0 Fixed 1598 - Mingwin build fails on src/audio/xaudio2/SDL_xaudio2.c
REVERT: 26b26c8f01 Removed redundant #ifdef
REVERT: a999af88e9 Fixed building using MinGW Our SDL_windows.h needed to be included before anything else so UNICODE is defined.
REVERT: bf877ba691 Don't supply duplicate X11 symbols inside SDL.
REVERT: 22648bd334 Fix to unbreak SDL_GetSystemRAM() on FreeBSD
REVERT: 0e2c364251 Fixed compiler warning if dynamic X11 loading isn't enabled.
REVERT: 277d7b5c2c Fixed using the wrong variable when reporting a missing SDL scancode mapping.
REVERT: 308e51f9a2 Fixed compiling on Mac OS X, added a system RAM test
REVERT: 73ef0c776e The _SC_PHYS_PAGES method of calculating RAM works on Linux.
REVERT: a04ca13c2d Added an API to get the amount of system RAM
REVERT: dc7ffa873c Merged
REVERT: 4abff3bd75 Fixed project conflict during commit
REVERT: 23a6f738e7 Backed out revision d4a39491577f, the platform specific messagebox functions don't have the right prototype since they're designed to be used standalone.
REVERT: 73bc021063 For some reason, trying to raise the window programmatically while it's alt-tabbed away will minimize it.  Added a workaround for this.
REVERT: 0b7df34286 Fixed the windows message debug output so it works without HAVE_LIBC
REVERT: dca068eb06 Adding static lib to SDL builds on Windows.
REVERT: 8d7b3cb521 Added support for SDL_PIXELFORMAT_UYVY surfaces on Mac OS X
REVERT: 097878a78e Fixed accumulating mouse wheel motion for the Microsoft Wireless Mouse 5000
REVERT: be18d2d007 Fixed function feature test for Visual Studio 2012
REVERT: 2ba754fbe6 Fixed bug 2149 - Don't search for libusbhid except on BSD
REVERT: 394abb4298 Added an assert to catch init/quit call mismatch that might bite people.
REVERT: dd7e8526a2 Prevent keystrokes from leaking through to the console when using evdev.
REVERT: 146a3bc324 Fixes X11 video backend compilation when no GL is available
REVERT: 02263d4148 added simple Drag & drop test
REVERT: 0a6199a918 Updates the Raspberry Pi README
REVERT: 08c4ea17ef Do a full sysroot for the Raspberry Pi buildbot.
REVERT: e7dba74084 Fixed bug 2146 - Enable static linking of libSDL on Android
REVERT: 1c7ed8eef6 Updated SDL to version 2.0.1
REVERT: e63559cffd Report joystick added/removed events even if we don't have udev.
REVERT: daf4ca1ac2 Mac: Better handling when someone else is the app delegate.
REVERT: 0631b5a7a8 Raspberry Pi build script: let caller specify final tarball name.
REVERT: 3a6e0fe33f Patched to compile in C90 mode.
REVERT: c0ea35c354 Fixed tarball name in Raspberry Pi build script.
REVERT: e1f08f5661 Added script that the buildbot will use for cross-compiling to Raspberry Pi.
REVERT: c51c4c0733 Adds gl_profile_mask to test framework, uses it in testgles
REVERT: f67950da0c Fixes Bug 2134 - [Android] Black screen after resume (sometimes)
REVERT: dca7c7b00d Fixes testgles and testgl
REVERT: 3e171ab36e Adds test framework to Android.mk and a simple utility to build Android projects
REVERT: f06b10a5df Fix SDL_SetWindowPosition on fullscreen windows.
REVERT: 6c7a589964 Only allocate a joystick instance ID once we know it's a joystick. This fixes compatibility with code that assumes 0 based joystick instance IDs.
REVERT: 677f017482 Removed unused variables (thanks Joseph!)
REVERT: ff55c5a474 Check for NULL joystick in SDL_JoystickGetGUID()
REVERT: 5c03a1488f Fixed bug where a Logitech wireless keyboard with built-in mouse touchpad didn't get recongized as both devices.
REVERT: 583198f72e Fixed bug 2132 - Tests may use invalid SDL_window pointers when windows are closed
REVERT: 20b394d072 Added detection of touch devices before first touch events happen on Android.
REVERT: 31db3ac3c8 Do a 32-bit compare on RGBA values.  Thsi should be inlined in optimized builds.
REVERT: 0a999e88d1 Avoid redundant state changes in the GLES2 renderer.
REVERT: 4cba5706bf Removed "u_colorTable" uniform from the GLES2 renderer. It's not used anywhere.
REVERT: 4d80960781 Fix EGL/OpenGL ES paths
REVERT: 75add55896 Report an error if creating a render target fails
REVERT: 325d333774 Added optional error checking for OpenGL ES 2.0 in the same style as the OpenGL renderer. You can enable it like this: SDL_GL_SetAttribute(SDL_GL_CONTEXT_FLAGS, SDL_GL_CONTEXT_DEBUG_FLAG);
REVERT: d564d4ea29 Fixed a potential double-free bug if glGenTextures() failed.
REVERT: 7b5e9e302b SDL_TEXTINPUT support for EVDEV
REVERT: 201fa56aaa Fixed const/non-const warning
REVERT: 97a9be1608 WinRT: added missing files
REVERT: 79f80241a8 WinRT: unified the two, public, app-init functions
REVERT: 2aa11eef54 WinRT: ugh, at least one file in an app's project seems to require C++/CX compilation. Assuming this is true, that file might as well be the one that contains WinMain.
REVERT: d760825693 WinRT: renamed SDL_winrt_main.cpp to indicate that it should only be used in non-XAML apps
REVERT: 96681f346e WinRT: reduced the size of SDL_winrt_main.cpp by a little bit
REVERT: 95727847d7 WinRT: made SDL_GetWindowWMInfo return window data in a slightly easier-to-use format
REVERT: 1dfe43a8b1 WinRT: fixed a line-rendering bug in the D3D 11.1 backend
REVERT: cb9cb21fbf WinRT: made SDL_winrt_main.cpp not have to be compiled as C++/CX (via the /ZW compiler flag)
REVERT: 9ac09266a1 WinRT: build fix for the SDL-WinRT-only .sln
REVERT: 5d50184a6f WinRT: project-naming cleanup. Projects that link to SDL will need updating. To update: 1. remove references to SDL's project files from the Visual Studio Solution.  To note, these project files have been renamed, and will show up in Visual Studio with the text, "load failed". 2. add the SDL project files back into the Visual Studio Solution 3. for each project that should link to SDL, add a reference to it.  This can be done by right-clicking on it in Visual Studio, selecting "References...", clicking "Add New Reference", checking the box next to the SDL project, then closing each dialog by clicking OK.
REVERT: e0af19f033 WinRT: code cleanup: attempted to make it more clear what code is specific to what app type (plain Direct3D or XAML)
REVERT: 38ffd780f4 WinRT: minor code cleanup regarding events
REVERT: f6d0ef462e WinRT: removed chunks of C++ hack code from SDL_xaudio2.c
REVERT: 63a6d98f44 WinRT: made SDL_xaudio2.c compile as C code when building for WinRT
REVERT: 9baaebaa66 WinRT: minor code cleanup in SDL_xaudio2.c
REVERT: 4348ee8893 WinRT: more renaming of "windowsrt" to "winrt"
REVERT: 12ca6364f9 WinRT: renamed a mouse-related header file for naming-consistency's sake
REVERT: 76c97b1caa WinRT: misc code cleanups regarding touch and mouse events, and also SDL-internal globals
REVERT: 0d34ae0804 WinRT: added touch input event support for Windows 8/RT devices
REVERT: 3230bf956c WinRT: added touch-event support for Windows Phone devices
REVERT: edb51d8485 WinRT: corrected SDL_MOUSE* coordinates in non-Portrait modes
REVERT: 20f8365161 WinRT: made simulated-mouse (via touch) input work on Windows Phone in Portrait mode
REVERT: d5622eb2df WinRT: made rendering work with orientation changes on Windows Phone
REVERT: 591af1b9f8 WinRT: removed a comment regarding a dealt-with TODO
REVERT: a5667cf3ba WinRT: rendering orientation fixes for Windows Phone, part 1
REVERT: 179a4d0367 WinRT: fixed a potential memory-related crash in SDL_Renderer on Windows Phone
REVERT: 95b429d98e WinRT: build fix for Windows Phone
REVERT: 5248a0701d WinRT: experimental and preliminary support for XAML-based overlays on Windows 8/RT
REVERT: 1cfe2a9412 WinRT: made all WinRT-related TODO comments use the same prefix, "TODO, WinRT"
REVERT: e2f7adfd33 WinRT: code cleanup wrt. display mode(s)
REVERT: 643ea6407e WinRT: renamed "windowsrt" directories to "winrt"
REVERT: 173374030b WinRT: fixed a crash that occurred on device rotation (oops!)
REVERT: 76880e2b8b WinRT: more "Windows RT" to "WinRT" renaming
REVERT: b7ee7b082c WinRT: took out a deprecated TODO-comment
REVERT: ed9b57c052 WinRT: moved the WinRT SDL_VideoDevice out of SDL_WinRTApp This was done to help pave the way for XAML support.
REVERT: 40a51bf86b WinRT: moved the pointer to the global SDL_Window to a separate variable This is a cleanup that is being done to help with WIP XAML support.  It may be reverted in the future.
REVERT: 45a13dac17 WinRT: renamed SDL_SYSWM_WINDOWSRT to SDL_SYSWM_WINRT This is part of an overall effort to use the name, "WinRT", rather than "WindowsRT" (or "Windows RT"), as the shorthand name often seems to mean something different than the longhand name.  (WinRT is an API, Windows RT is a product name)
REVERT: 6964e2e325 WinRT: Windows Phone build fix
REVERT: 690391390b WinRT: misc code cleanups
REVERT: a52281f4e5 WinRT: removed more hack-code that attempted to help have non-standard window sizes "Non-standard" is defined here as any window size that differs from that provided by WinRT's CoreWindow.
REVERT: 93e2bef145 WinRT: minor function and variable name cleanup
REVERT: 2d5990892a WinRT: made all SDL_Windows get sized to the WinRT-defined window size This change removes some code that attempted to allow non-standard window sizes, the idea of which was to do display scaling, and a hackish one at that.  If display scaling is needed, use SDL_Renderer as appropriate.
REVERT: 766ce058bc WinRT: removed a deprecated hack regarding window resizing and Direct3D viewports
REVERT: b06f02e4e5 WinRT: moved most platform-specific keyboard and mouse code to shared locations
REVERT: 6a6cc6b5e8 WinRT: removed some old debugging code from SDL_mutexP and SDL_mutexV
REVERT: 2e2d2a0bd4 WinRT: made a note that WinRT doesn't appear to support modifying a thread's priority
REVERT: 3a2e64540b WinRT: made SDL_ThreadID() return the native thread ID, rather than a fake one
REVERT: d8672afbe4 WinRT: made testthread log output via SDL_Log - this will allow output to be read via Visual C++'s Output pane
REVERT: 1b1aa5ec4e WinRT: made the C++11-based threading backend only try to catch exceptions that it knows it (the threading APIs) might throw, rather than all exceptions
REVERT: bfb6a12e2c WinRT: file naming and placement cleanup - moved SDL_WinRTApp.* from src/video/windowsrt/ to src/core/winrt/, and renamed them to SDL_winrtapp.* (to mimick case-sensitivity used elsewhere in SDL) - renamed all "windowsrt" directories (in src) to "winrt", as the shorthand name is used more often (and, IMO, "WinRT" != "Windows RT", not entirely at least)
REVERT: a49f0e4f74 WinRT: added a stub implementation of UpdateClipRect to the D3D 11.1 renderer
REVERT: 8fe97d0465 WinRT: fixed a crash in some display orientation hint code
REVERT: 40df4ea943 WinRT: made sure SDL_main gets used in the latest SDL 2.0.0 based code
REVERT: 7c61812370 WinRT: Windows Phone 8 build fixes
REVERT: ef0a40b704 WinRT: build fixes and additional WinRT-related integrations with SDL 2.0.0
REVERT: 88461d442a WinRT: merged with SDL 2.0.0 codebase (aka. SDL hg rev d6a8fa507a45)
REVERT: dd7da60a4f Fixed bug 2027 - Full-screen appears to be broken - hang in SDL_DestroyWindow()
REVERT: 286dc2e1dc Added missing call to SDL_stack_free(). On Windows this is needed because SDL_stack_alloc() wraps SDL_malloc().
REVERT: ba31f59f54 Removed SDL_HAPTIC_SQUARE from comments in header to prevent doxygen confusion.
REVERT: 0b13b79137 Corrected comment in test program.
REVERT: 28b592cb5d Fixed bug 1925 - SDL_GetPerformanceFrequency returns incorrect value on iOS
REVERT: df092588e8 Fixed whitespace
REVERT: e6e79353e8 Fixed bug 2024 - Update OSX Joystick code to fully support Saitek p2500 gamepad
REVERT: 42c560b05d Check the return value of glGenTextures()
REVERT: d4f386f5e3 Haptic: Let XInput update effects while they're still running.
REVERT: de6d6a5554 Removed no-longer-necessary comment.
REVERT: c35c4a6f18 Replaced SDL_HAPTIC_SQUARE with SDL_HAPTIC_LEFTRIGHT.
REVERT: 24097af6ac Fixed some typos in the headers.
REVERT: aabc0fcc3b Added the Google Summer of Code students from 2010
REVERT: c4a3df6938 Updated the credits for SDL 2.0. Thank you everyone!
REVERT: 9444c11e99 Fixed bug 2007 - SDL_SetWindowMinimumSize() not implemented on X11 (thanks Rainer!)
REVERT: bcee442188 Better wording suggested by the community
REVERT: 84e0884077 Update video_getSetWindowSize for windows
REVERT: 7067bff470 Fix Bug 2021: Win32: Stack overflow due to recursive SDL_LogOutput on SDL_LogError without console; fix off-by-one error in SDLtest test suite
REVERT: 58eedbb27e Removed unneeded Android audio code
REVERT: 610264fb0b Start Android Audio Thread after audio buffer and AudioTrack are ready.
REVERT: 98a222e974 SDL_RegisterEvents() now rejects requests for numevents <= 0.
REVERT: 4f1c2fd2c3 Mac: Fix mouse tap on 10.5.
REVERT: f43141b289 Backed out changeset 3f487d7d2d1d
REVERT: f3280d289a Send the SDL_QUIT when last window is destroyed, not during its close event.
REVERT: cf76f36660 Mac: Don't enable SDL_MAC_NO_SANDBOX by default.
REVERT: 9f90ffbc9f Fixed crash if SDL_GetThreadName() is passed a NULL thread.
REVERT: b47f785f57 Fixed whitespace
REVERT: 396c5b8e79 use @rpath for OS X Shared Library as well
REVERT: 29c4f05ed5 Add some protection against double init of the Android audio backend
REVERT: 5a167e03cd Fixed compile error
REVERT: 780f3a273d Fixed bug 2009 - Creating texture from 32-bit surface with colorkey and per-surface alpha ignores the colorkey
REVERT: a2e47469fc autogen.sh on development system
REVERT: 0df5870993 Updated README to match new website description
REVERT: 88b0f42281 Explicitly use the RTLD_LOCAL flag since that's the behavior we want. The default on Linux is RTLD_LOCAL, the default on Mac OS X is RTLD_GLOBAL.
REVERT: da3326eb95 The return value of SDL_MostSignificantBitIndex32(0) is defined as -1.
REVERT: 5d1bee0f17 Ensure that the right window is current in SDL_GL_SwapWindow.
REVERT: 9fb9406bbc Mac: Support for multiple contexts per SDL_Window.
REVERT: 20c8287efc Mac: Don't -[NSOpenGLContext update] on (potentially) the wrong thread.
REVERT: 8d8238f8ae Mac: Better mouse-grab if you define SDL_MAC_NO_SANDBOX.
REVERT: b03f072d95 Updated the name of the iOS platform
REVERT: ff5cf27049 Whoops, forgot to commit this piece.
REVERT: 009e12858b SDL_Init() is now just a wrapper around SDL_InitSubSystem().
REVERT: d99a4adff9 SDL_*Parachute() are no-ops, remove them.
REVERT: 8c143ffe40 Removed SDL_AssertionsInit(). It's a no-op, let's keep it that way.  :)
REVERT: 2e821930a3 Fix building the tests with Visual Studio 2012 (thanks Isaac!)
REVERT: 89c3ac1eab Reset the viewport when we reset the other D3D state.
REVERT: cdcee9a581 Unify the SetWindowPos() calls so that they all set the window state based on SDL state. This prevents a rogue call to SetWindowPos() from changing the state unexpectedly. Also moved the size correction code above the window position query, because the initial window size can affect the positioning.
REVERT: 40b7af6399 Fixed incorrect window state if the window is created grabbed.  We don't want to activate the window if it isn't shown yet.
REVERT: 73a2e37abb Fixed bug 1848 - SDL_SetWindowSize cannot set sizes larger than desktop resolution in Windows
REVERT: 3f1d72a71c Fixed clobbering viewport when window is resized when using the software renderer.  The viewport adjustment is already handled in the top level rendering code.
REVERT: 6b504a4f01 Removed function signature that doesn't actually exist yet.
REVERT: 330f7e1be3 Fixed a number of missing keys in the X11 keyboard mapping.
REVERT: 8005b8d613 Added scancodes for F17, F18, F19 on a Mac keyboard
REVERT: a50db2d74e Added tag macosx_10_4_supported for changeset ccf5fbfa2afa
REVERT: a052fa0ae8 Removed anisotropic option from SDL_HINT_RENDER_SCALE_QUALITY.
REVERT: ecbffe9660 Added scancodes for F13-F19 from a Mac USB keyboard
REVERT: 7e69cee4c5 Added missing function prototype and changed its signature. Signature was changed to prevent a header for SDL_GLContext.
REVERT: 2ec969cb57 Fixed volume keys not being handled by Android if screen keyboard is visible. See bug #1569.
REVERT: 2e934dbde6 Fixed bug 1972 - Changeset 7379 (b27c778a2bdb) breaks make process with msys+mingw (make 3.82.90)
REVERT: dedde96b9f Added extra Visual C++ files to the ignore list
REVERT: 073d059fc9 Fixed bug 2008 - error typos in gles2 renderer
REVERT: 12b0ad39fc Allow C++ code to include SDL_android.h
REVERT: 1e3605c00f Added missing return statement.
REVERT: ea1040111a Fixed calling JNI method in a wrong way. Method is void and does not return bool.
REVERT: 2a6b235190 Fixes bug #1889, allows for GL Context deletion/recreation on Android Thanks ny00!
REVERT: a99dfca578 Some fixes for SDL_MaximizeWindow().
REVERT: a60814585d Fixed some whitespace.
REVERT: ab545a05b9 Temporary fix for bug #1639 SDL does not message back closing of screen keyboard
REVERT: 8ee3d7a554 Fixed bug 1968 - SDL_RenderCopy stretch loses proportion on viewport boundaries for 3D renderers
REVERT: da00f7ef51 Fixed bug 1638 - Blit Alpha surface bug
REVERT: 72d8cda7bb Windows: Unstick shift keys in a timely manner when the OS loses a KEYUP event.
REVERT: 9b622dc41e More work on bug 1999, added missing CFBundleExecutable key to Info.plist
REVERT: 3d680115c7 Move the fix for Bugzilla #1395 into WIN_GL_SetupWindow() directly.
REVERT: 44c4197243 Documented why we have global and thread-local variables for the GL context.
REVERT: 9943bac533 Fixed bug 1569 - Android volume keys not honoured inside SDL
REVERT: 8ed3858721 Windows: Don't lose the existing current GL context in SDL_CreateWindow().
REVERT: 51f5bfbc4b Set mAudioTrack to null when AudioTrack initialization fails
REVERT: df2892774f Further fix SIZEOF_VOIDP in SDL_config.h.in
REVERT: 15997f221a Workaround some Windows OpenGL drivers mishandling wglMakeCurrent().
REVERT: 512f5dfc21 Fix for bug 2001, verify that the AudioTrack is properly initialized
REVERT: 2f7e78480d Fixed bug 2000 - The framework INSTALL_PATH still uses @executable_path
REVERT: e062de97c1 Added code signature step to Framework build process
REVERT: 35628ecbc4 Check for negative source rectangle in SDL_SoftBlit() (thanks John!)
REVERT: 058120689b Added support for the two new key codes from Android 4.3.
REVERT: 3334092bdc Fixed compiler warning with gcc
REVERT: 3b4b3c17ea Fixed stack smashing crash when using the GCC compiled DLL with Visual Studio.
REVERT: 9694301e04 Workaround older libpulse that fails in pa_context_new() with a NULL appname.
REVERT: fe98dc3642 These should be __inline__, not inline.
REVERT: b8198f3b2a Attempt to fix compiler warning.
REVERT: 56c6743a1b Added documentation saying the render API isn't for multi-threading.
REVERT: 1baa9e9bda Changed test program to be more compatible C.
REVERT: 6b494e5eeb Removed unused variable from test program.
REVERT: 69e8c3f950 Removed unused parameter in test program.
REVERT: c03703d90d Corrected words in comments of test programs.
REVERT: fac63fa2e4 Fixed return value documentation for SDL_HapticUpdateEffect().
REVERT: dd41037670 Backed out hg changeset 7f26fd1df927; docs were wrong, not the code.
REVERT: 546bedb836 Added a FIXME discussion to last commit.
REVERT: 0c7cb878bd Cocoa: Make the next-highest window gain focus when a window is closing.
REVERT: 41edaa9b20 Fixed SDL_HapticOpened() returning -1 instead of 0. According to header file it should only return 0 or 1.
REVERT: dc646c6468 Removed C++ macro setup in internal header for Android port which is only C now.
REVERT: c2d852cb79 Fixed SDL_HapticRumblePlay() maybe working because of SDL_HapticUpdateEffect().
REVERT: eab7f43fc2 Corrected SDL_HapticUpdateEffect() returning 0 instead of index of effect. According to documentation in header and wiki the index should be returned. This change may break existing programs which assume only 0 means a success.
REVERT: 17482012af Added example of using the software renderer and window surface API, contributed by Nitin Jain.
REVERT: 0754901ca9 Fixed bug 1983 - SDL_thread.h broken under MinGW crosscompiling environment
REVERT: ff8077550e Fixed variable scoping for Windows build
REVERT: 95b452107c Fixed bug 1272 - Bogus numlock key up/down events being reported on MacOS X
REVERT: 02cf3236ca Fixed bug 1743 - CMake produces libraries with wrong filename/SONAME
REVERT: dae53a0790 Improved error checking in the haptic system, preventing crashes in some cases.
REVERT: ec67327c73 Fixed bug 1919 - Window icon disappears as soon as a renderer is created
REVERT: f1886b3c36 Fixed bug 1526 - X11 - XUnmapWindow should not be called directly
REVERT: 089081d173 Fix cmake breakage (thanks Marcus)
REVERT: 7c9692c8c5 Consider the case where an attribute is set to EGL_DONT_CARE in eglChooseConfig SDL doesn't currently use EGL_DONT_CARE, but it doesn' hurt to future proof.
REVERT: c73a37ac6f [Android] Bug 1827, select the best matching config provided by eglChooseConfig
REVERT: 5623b2c61d Fixed crash and garbled output when converting from F32 to S16 audio.
REVERT: e2a14cf5dd Updated the copyright year for the test programs
REVERT: 5cdb605a41 Corrected return value to be of correct type.
REVERT: adce8bf505 Corrected internal documentation in source. The parameter silent is no longer optional.
REVERT: e722fd86e9 Removed unreachable code.
REVERT: e44d24ff29 Removed unused variables to fix warnings in test program.
REVERT: 9583071066 Fix for recent GLX error bug
REVERT: ccb139c73a A little cleanup on the cleanup, just for consistency.
REVERT: aa5f318964 = {{0}} generates a memset() in MSVC, which isn't linked. Whoops!
REVERT: 8c0d5be080 Fix build errors from last change.
REVERT: e007150b45 Fix some clang analyzer warnings.
REVERT: b01b128353 Mac: Codify SDK and OS requirements, and clean up.
REVERT: defb16763d Add a timeout to the clipboard code to avoid hangs when using synergy. When a timeout is detected we set the clipboard so that we own it so that future timeouts are avoided. Testing has confirmed that this timeout and setting only occurs when the clipboard contains text from my Windows machine.
REVERT: 08e8f26d62 Added Direct3D shader to hardware accelerate YV12 and IYUV textures.
REVERT: 6f83bd0e2a Finished updating testoverlay2 for the new API and added it to the Visual Studio 2010 projects
REVERT: a7954b42d0 Fixed SDL printf output for 0x%.8x
REVERT: 32188834b5 Updated blend semantics so blending uses the following formula:     dstRGB = (srcRGB * srcA) + (dstRGB * (1-srcA))     dstA = srcA + (dstA * (1-srcA)) This allows proper compositing semantics without requiring premultiplied alpha.
REVERT: a99edf3519 Android: Removed all unnecessary dependencies on C++.
REVERT: e3b9fb7542 Corrected internal documentation in source.
REVERT: a74537a5a9 Fix bug 1494: add missing test projects to VS2010/VS2010 solution
REVERT: ef291a943f Fixed building with cygwin Note that building with cygwin gcc results in a DLL that depends on cygwin1.dll
REVERT: 588e67304c Removed not needed SDL_WINDOW_SHOWN from iOS example programs. See bug #1667.
REVERT: 188729834c Fixed bug 1813 - MouseMotion relative values do not respect renderer LogicalSize
REVERT: fe2bb8805e Fixed bug 1973 - test/Makefile.in fails on Mac OS X with X11 enabled...
REVERT: 5ed40dea70 Added X include path so SDL_syswm.h works correctly on systems with X11 in a non-standard directory.
REVERT: 080517ecba Fixed cursor leak when quitting the mouse subsystem
REVERT: 958740dffc Fixed bug 1976 - SDL2.m4 shares same variables as SDL.m4 so they cache values
REVERT: 223c2cfbd7 Add support for the _NET_WM_BYPASS_COMPOSITOR hint
REVERT: 44a6ab168b Cursor mask was uninitialized data, causing problems.
REVERT: 0002acb775 Include SDL_assert.h to fix broken build.
REVERT: 20b4bd0c6a Don't allocate memory if we're just going to fail when checking parameters.
REVERT: 51ba788d0d Don't try to clear errors in GL_ActivateRenderer() before we MakeCurrent.
REVERT: f2029f2af8 Fixed another compiler warning.
REVERT: bc019db86e One more compiler warning.
REVERT: 3a261795ed More compiler warning fixes.
REVERT: 30b6bedb57 Fixed some compiler warnings that Visual Studio reported.
REVERT: 8328f33947 Make XInput haptic code respect effect timeouts.
REVERT: 5875c163cf Changed documentation comment for SDL_CreateShapedWindow(). See bug #1667.
REVERT: 32e6f653b6 Replaced use of malloc()/free() with SDL_malloc()/SDL_free() in test program.
REVERT: 62c31ff5c3 Removed not needed SDL_WINDOW_SHOWN from test programs. See bug #1667.
REVERT: 74e5c8cffd Replaced use of strcmp() with SDL_strcmp() in tests.
REVERT: e96e39d53b Removed not needed variable and work in standard library. Found by Cppcheck (that variable's value was never used).
REVERT: d92ced54a0 Workaround crash bug in libXi <= 1.4.1 (thanks, Steve!).
REVERT: 6fc856ae8a Corrected comments in test library source.
REVERT: 905c71baec Changed return value of internal function to shorten generic haptic source.
REVERT: a663b9c637 Fixed bug 1977 - D3D_UpdateClipRect() sets the wrong width for the clip rect
REVERT: 93f82137fd Fixed wrong type being passed to eglGetConfigAttrib() (thanks, Alexander!).
REVERT: 600c62cf30 Added finger events to SDLTest_PrintEvent().
REVERT: 3f15d37da2 Mac: Handle SDL_CreateWindow with SDL_WINDOW_MINIMZED.
REVERT: 5256d2e392 Made PND_setwindowgrab() a no-op. It was a cut/paste of PND_destroywindow().
REVERT: 74e1355637 Changed strdup() to SDL_strdup().
REVERT: 074edba0c1 Mac: Bring back FS windows when appropriate
REVERT: 7aa0cf9eaa Mac: CGMakePoint -> CGPointMake in previous change.
REVERT: 2bfb402659 Mac: Fix SDL_WarpMouseInWindow in fullscreen.
REVERT: 5772df05d2 Turn the system mouse cursor back on before VideoQuit().
REVERT: 52b4a55049 Minor indentation clean up.
REVERT: 8f4fb24e2d Make winmm and directsound audio targets robust against unsupported formats.
REVERT: 901d874a2b Fix #1445: Use xcrun to find CpMac
REVERT: e5ffe6b633 Fix #1667: Docs about SDL_CreateWindow and flags.
REVERT: 87baf66d18 Re-enabled other messagebox tests, moved the SDL_Init() call as late as possible to show the circumstances where it's needed.
REVERT: 7bc74ebaa4 Fixed bug 1970 - Cocoa message boxes ignore parent window requests
REVERT: 26c456e4ff Added testing of messagebox with a parent window
REVERT: c43e19485b Fixed code example for SDL_GetWindowWMInfo()
REVERT: 3d97a0a1bb Removed obsolete assertion code
REVERT: 284b7113ad Make sure a window is valid for a subsystem before using it in a messagebox
REVERT: 7501cc4354 Added the platform specific messagebox function to the video function list
REVERT: 72d2084077 Fixed bug 2130 - Two members of Windows WindowData not initialized
REVERT: 1e8c10c155 SDLK_DELETE should probably be SDLK_BACKSPACE on iOS.
REVERT: 715ccd02a5 Get rid of glGetError() calls in GLES2 renderer.
REVERT: f82f0ebb6f Uses SDL_UDEV for Linux joystick hotplugging
REVERT: 414ff3106c Fixed bug 2121 - GCC throws error on SDL_FORCE_INLINE when compiling with -ansi
REVERT: 76f3df86db Fixed bug 2122 - SDL_CreateTexture allows illegal texture sizes
REVERT: 0a805ff137 Fixed bug 2119 - compiler warnings (-pedantic) SDL_video.h:111:42
REVERT: 774637beab Removes unused property use_egl from internal structure gl_config
REVERT: b832dd0230 Fix: SDL_EVDEV_device_removed does not need UDEV
REVERT: 06caf6a344 Call AddRef() on the device so it doesn't accidentally get released from underneath the caller.
REVERT: 2ef24caf1d Make it clear we're just returning a D3D9 device, allowing for new functions to get other D3D versions
REVERT: f86e83feba Added a hint to create the D3D device in thread-safe mode: SDL_HINT_RENDER_DIRECT3D_THREADSAFE
REVERT: 70c993af2b Added platform specific call: SDL_RenderGetD3DDevice()
REVERT: 585fd26052 Moved SDL_Direct3D9GetAdapterIndex() to SDL_windowsvideo.c since it doesn't belong in the window code.
REVERT: 018c78cd9f Implemented SDL_UpdateYUVTexture() for Direct3D
REVERT: b03fdbe67f Added missing SDL_assert.h
REVERT: 43cc5c1cbb Added optimized YUV texture upload path with SDL_UpdateYUVTexture()
REVERT: 45bd5e2b83 Rolled back my LoadLibrary change. The first failed call causes a dialog to pop up in Windows apps (but not console apps) and that's really bad. I'll have to deal with this in my app.
REVERT: f005889264 SDL_LoadObject on Windows now calls LoadLibrary a second time in its EX form whenever the first load fails. This second call uses the "altered" search path for DLL dependencies, which includes searching the directory that the DLL itself lives in.
REVERT: a759ac24a1 Moved D3D_LoadDLL and SDL_Direct3D9GetAdapterIndex to SDL_windowswindow.c at Jorgen's insistence. That file is wrapped in a more appropriate define check so it will work if somebody builds a binary without D3D support.
REVERT: a7429dfa22 Do not use UDEV references in EVDEV if UDEV has not been detected
REVERT: edf503e870 Fixed bug 1820 - building SDL as a static library with static runtime doesn't compile/link with visual studio
REVERT: c7f38347b7 Raspberry Pi support (also unified UDEV and EVDEV support)
REVERT: e0b5831e14 Fixed doxygen warning.
REVERT: 95e08da47b Corrected name of SDL_Color field from unused to a.
REVERT: 55fe573688 Fixed bug 2101 - CWBackPixel causes weird window flickering on window resize
REVERT: 75265a79a9 # User Darren Salt <devspam@moreofthesa.me.uk> # Date 1379621782 -3600 #      Thu Sep 19 21:16:22 2013 +0100 Work around a false-positive in the X11 mouse wheel code
REVERT: 64ba536a10 Fixed bug 2100 - directfb fails to build
REVERT: 1a91f80586 Fixed the name of the environment variable to match the name of the hint.
REVERT: 3a11d95444 add in High DPI support (aka Retina)
REVERT: a449178caa Default to OpenGL ES 2.0 instead of 1.0 when it's available.
REVERT: 1af00322ef Fixed syntax error in C style block comment.
REVERT: 9e17cee111 Don't incorrectly report success for negative swap intervals on Mac OS X.
REVERT: 0d7001777d Added SDL_Direct3D9GetAdapterIndex(), which returns the adapter index you would pass into CreateDevice to get your device on the right monitor in full screen mode.  This fixes the default adapter in SDL_render_d3d.c, which means that tests will work fullscreen off the main monitor now.
REVERT: 8f58be5fbe Fix X11_RestoreWindow() and X11_RaiseWindow() to properly do window activation.
REVERT: c3ffb3ce88 Mac: Translate Ctrl-Left click to right click.
REVERT: 23c6df8eae Mac: Turn off momentum-based scrolling.
REVERT: 4e681a4151 Mac: Fix cast warning.
REVERT: 905b5aa01a [SDL] X11+GL: Allow Visual override for GL windows.
REVERT: f049ab5e9f Workaround for compiling with /W4 warnings on Visual C++.
REVERT: f48477bea0 Disable thread naming on Win64 for now.
REVERT: 8d1d55e8fc Fixed bug 2090 - Some joystick inputs are delayed on FreeBSD
REVERT: 651f894b69 Fixed time comparison and explicitly delay 1 ms instead of an arbitrary scheduled time.
REVERT: 70519db239 Fix to buffer overrun in SDL_JoystickGetGUIDString().
REVERT: 1fbbf57ee3 Fixed bug 2076 - OpenGL doesn't work with --disable-threads
REVERT: 494f3f253e Fixed bug 2081 - Add name to SDL_Point structure
REVERT: e74da38529 Fixed bug 2082 - SDL stdlib implementation does not force upper case for %X format specifier
REVERT: 961b96e842 Fixed bug 2084 - SDL_log xxx on Android outputs to Logcat with incorrect priority.
REVERT: d7839b7827 The SDL_PixelFormat* passed to SDL_ConvertSurface() should be const.
REVERT: c4aae28ea4 Enabled thread naming on Windows.
REVERT: efb1f10b7c Fixes bug #2040, prepare SDL_GL_CONTEXT_EGL for deprecation on v2.1
REVERT: f8c07dc1bd Fixes bug #2074 - Thanks Sylvain!
REVERT: c6b7c0f507 Christoph Mallon: Replace strlen(x) == 0 (O(n)) by x[0] == '\0' (O(1)).
REVERT: 62d7359fd5 Christoph Mallon: Remove pointless if (x) before SDL_FreeSurface(x)
REVERT: 08dfaaa2e6 Christoph Mallon: Remove pointless if (x) before SDL_free(x)
REVERT: edc88be724 Christoph Mallon: Correct indendation.
REVERT: 79dab26796 Christoph Mallon: Use SDL_arraysize()
REVERT: 8c2129f4b1 Christoph Mallon: Simplify assignment.
REVERT: aca1b3acc7 Christoph Mallon: Report an error, if creating the directories in SDL_GetPrefPath() failed.
REVERT: 911e984c36 Christoph Mallon: Remove lone /* if */ comment.
REVERT: 18517df9b2 Christoph Mallon: Simplify avoidance of duplicate / in SDL_GetPrefPath()
REVERT: 44918e378d Change order we enumerate Windows joysticks.
REVERT: e670fc63f1 Don't corrupt XInput device state during SDL_SYS_JoystickClose().
REVERT: a2cce5ee08 Fix endlines for logging via OutputDebugString().
REVERT: 526597ad95 Make XInput joystick names match the numbers on the device.
REVERT: cd94a10070 Fixed comment typo.
REVERT: 6f21990987 Reworked XInput and DirectInput joystick code.
REVERT: 17c90f1186 Better XInput detection code for DirectInput device enumeration.
REVERT: bbbade42fa Fixed testgamecontroller output to make sense.
REVERT: 777731aa02 [Linux] Test config script: Add the X11 library search path if it is not empty
REVERT: c80fc2858b Fixes test building
REVERT: 4353b43e3f Fixes typo in EGL code (thanks jmcfarlane!)
REVERT: b61d361d2d Removed obvious comment to trigger buildbot.
REVERT: 7c3d505c9c reworked GetBasePath on OS X to use Contents/Resource by default if bundled, or exedir if not bundled.
REVERT: 2770375eb5 update xcode projects with filesystem API bits. (missing tests and missing from files from some targets)
REVERT: 6dd2b54f38 Fixes "error: conflicting types for 'GLintptr'"
REVERT: 1a56992a7d Minor FreeBSD code cleanup.
REVERT: 2bd35f683d make the examples in the doc comments match the actual output of the SDL_GetPrefPath function
REVERT: 455645d99a Fix #2062 Be more diligent about validating trailing "/" existence in HOME and XDG_DATA_HOME env vars
REVERT: e94b620dc6 Patched to compile on Solaris.
REVERT: 327661011c Patched to compile on FreeBSD.
REVERT: b83dc371b8 Add support for some BSDs and Solaris to SDL_GetBasePath().
REVERT: df31e201cb Fix warning in GL ES2 renderer
REVERT: 65f76b93b9 Separate EGL / GL ES detection in CMake
REVERT: 8f7192143e XAudio2/DirectSound: Use the usual Windows string convert (thanks, Norfanin!).
REVERT: 20512dd292 Added SDL_VIDEO_OPENGL_ES2 to the SDL_config.h templates (Thanks, Kerim!).
REVERT: cd9a7c392c Fixes #2036 and #2038, bypass camera zoom and shutter keypresses on Android.
REVERT: 34b9565f87 Fixed compiling on old versions of the DirectX SDK
REVERT: 54d87dfc28 SDL - detect that you tried to open a gamecontroller in xinput mode and failed, then re-get the mapping for the dinput variant you did open (and most likely now just fail the open)
REVERT: 8ddc481d35 Fix SDL xinput code to work at all when xinput has devices at high indexes but no device connected at lower index, for instance 0->disconnected, 1->wireles, 2->wired.  Previously the SDL code assumed the indexes were always used up in order which is not true at all and lead to a bunch of failure cases where controllers would go unrecognized.
REVERT: 1afef302ac Fixed crash if the IC isn't set up for some reason (bad X11 locale?)
REVERT: 332278ee6f Fix a couple of warnings
REVERT: 3557ef7451 Patched to compile on Darwin
REVERT: 91d5b012ad More fixes for -Wdeclaration-after-statement
REVERT: ac6a540788 Fixes for -Wdeclaration-after-statement
REVERT: 298ce1c1a7 OCD fixes: Adds a space after /* (glory to regular expressions!)
REVERT: 271e0d67c4 OCD fixes: Adds a space before */
REVERT: 0f758bdbfd Actually, this should be a memcpy().
REVERT: a03a7f7745 Added filesystem code to Mac and iOS Xcode projects.
REVERT: 0d45b5b986 Patched to compile on iOS.
REVERT: aa07924132 More Haiku fixes.
REVERT: 26992a5a9f Fixed compiler warning.
REVERT: 56176b1b4b More Windows fixes for filesystem code.
REVERT: 8fe6c7fae6 Regenerate configure script.
REVERT: 708d2720cd Corrected Haiku build.
REVERT: 4fef316c65 Patched new filesystem code to compile.
REVERT: 2b9a2802b2 Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module.
REVERT: a001caf902 Fixed cut-and-paste error.
REVERT: 5b99be4382 Added SDL_DEPRECATED #define.
REVERT: 8a69509af3 Added SDL_assert_always (never disabled).
REVERT: 5e78879e76 More non C89 compliant comments
REVERT: 25c9f2cd30 Fixes a few non C89 compliant comments
REVERT: 4aff1bfc47 add missing SDL_bits.h from OS X framework
REVERT: 824641c0cc Added some FIXMEs for later.
REVERT: ef4a588d99 Fixes bug #2037, common EGL code for Android and X11
REVERT: 29ea6509bc Fixed leaking of pixel shader object in D3D renderer (thanks, Peter!).
REVERT: 7960e55671 Fixed warnings building with gcc 2 and gcc 4 on Haiku
REVERT: 6af769d887 Fixed Haiku build (thanks Alexander!)
REVERT: 7a4e8a1021 Replaced introduction in header file with more recent version from README.txt.
REVERT: dbd31e454a Corrected file names in header file comments.
REVERT: 8900fb0a7e Changed some documentation comments in header files to be used by doxygen.
REVERT: 8cd0072f2d Patched to compile with Visual Studio.
REVERT: f082b60d08 Fixed Windows build
REVERT: 458f93d7cb Fixed for consistency with the other platforms
REVERT: 508d844d44 auto init the ticks if the GetTicks and the like methods are called before SDL_Init().. This prevents annoying game bugs such as caching SDL_GetPerformanceFrequency in a static initializer
REVERT: f2ddd7c822 Do full state initialization in D3D_Reset(), this fixes blend mode issues when resizing the window on Windows 8.
REVERT: 814d56a9cc Fixed windows build
REVERT: 8b93c73d0d The keyboard text events should be sent after the key down events
REVERT: ec992b0558 Fixed bug 1876 - SDL_TEXTINPUT only returns '?' (0x3F) in event.text.text with Khmer language input
REVERT: 140002c931 Android quirk:Some devices don't report GL_OES_framebuffer_object but support it
REVERT: e5511f4ca0 Patched to compile.
REVERT: 054cb84414 [Bug 2042] OpenGL ES renderer tries to load OES functions unconditionally
REVERT: a460259e6b Fixed alpha composition when destination alpha is transparent.
REVERT: 1873067816 Fixed alpha blending for the MMX blit functions
REVERT: 16a40598f6 Fix bug 2034: replace printf by SDL_Log in tests; update loopwave VS solution: copy missing dependency
REVERT: a0bc602061 Don't print "unrecognized key" message for an X11 keycode of 0.  This can happen with composed characters.
REVERT: 24273dd369 Fixed the tag name for the SDL 2.0 release
REVERT: a100a39fe9 Mac: Fix restoring of Cmd-H-hidden fullscreen desktop windows.
REVERT: 85492cbff9 Added Julian Winter to the credits for the SDL 2.0 website.
REVERT: af05051dee Added tag release_2.0.0 for changeset d6a8fa507a45
REVERT: a3982939c5 Fixes #2022, do not resume on Android when surfaceChanged
REVERT: 73cb183fdb If the video system has been initialized, only use that message box system. Don't pass a window from one video driver to the messagebox function of another video driver.  This makes bad things happen. :)
REVERT: 991e2fb26c Fixed compiler warnings in test program by using wrapped functions.
REVERT: 1603534707 Changed use of isspace() to SDL_isspace().
REVERT: c944a4fdf9 Implement float32 support for winmm and directsound targets (Thanks, John!).
REVERT: 4e5bd8491f Fixed compiler warning in testtimer.c
REVERT: 37bb3c5354 Protect SDL_PauseAudio*() with the audio callback lock.
REVERT: e5c1f21fae Fixed off-by-one error in SDL_AudioQuit() (thanks, Rainer!).
REVERT: a05aecab3b Removed unused internal function. Found by Cppcheck.
REVERT: 4405163127 Fixed compiler warnings in test program by using wrapped functions.
REVERT: 5aeed40282 Fixed compiler warnings in test programs by adding return statements.
REVERT: 7ca8149a59 Fixed compiler warnings in test programs by adding includes directives.
REVERT: dbb91faaf9 Changed some for-loops to be a bit more clear.
REVERT: 3137c0fc68 Don't copy structs to stack in cmpmodes(), use const pointers instead.
REVERT: 0df5b7f912 Don't use SDL_memcmp() on modes to check if they've already been added.
REVERT: 7f4744bf03 Explicitly check for Xext.h in the CMake project, fail if missing.
REVERT: 59401ae635 Fixed compiler warnings in test programs.
REVERT: f158b5f47e Added missing fclose() in test program. Found by Cppcheck.
REVERT: 884898cbfc Removed unused variable and not needed assignment in test program. Found by Cppcheck.
REVERT: 396bc93955 Fixed printf() usage in test program. Found by Cppcheck.
REVERT: 0eb5308b0f Added a configure check for Xext.h
REVERT: 6956070880 Added a hint to control the Windows timer resolution: SDL_HINT_TIMER_RESOLUTION Added an API to watch hint changes: SDL_AddHintCallback(), SDL_DelHintCallback() You can now dynamically set the joystick background event hint.
REVERT: 9102ff84ca Only get desktop modes from Xinerama if we can't use XRandR (fix #1956)
REVERT: 228bafa134 Fixed bug 1938 - Buffer overflows in the Windows IME code
REVERT: 2468df6e5a Don't set the current OpenGL window if the context creation fails.
REVERT: 7b620e00ac Updated supported iOS version.
REVERT: 7b6a381369 CMake project should install sdl2.m4.
REVERT: b2849474ac CMake project should enable pthreads for Mac OS X by default.
REVERT: f8be9c4907 Fixed iOS context sharing again.
REVERT: ae7a409acf Patched to compile.
REVERT: 3d9b82d9f8 Implement SDL_GL_SHARE_WITH_CURRENT_CONTEXT for iOS.
REVERT: 06741a5761 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
REVERT: 22aec9f625 Oops, that was supposed to be in the Linux section.
REVERT: ee12cc8585 Fixed bug 1810 - xxx_RenderReadPixels - incorrect behaviour in certain conditions
REVERT: 1bcb90ff25 Don't crash if the current render target is destroyed.
REVERT: 852321d7a2 Fixed gcc warnings for apps using SDL headers with -Wstrict-prototypes flag.
REVERT: 8522bf8e38 Fixed name of the Logitech F710 controller
REVERT: 0b2d15eb61 Fixed bug 1853 - Gamecontroller patch to add support for Logitech F510 (Linux)
REVERT: 1e21e522e1 Fixed Azamat's patch for SIZEOF_VOIDP in SDL_config.h.in
REVERT: 7b82603161 WinRT: removed hack to flush out pending window-size-change events on app startup.
REVERT: 8e19a2982d Define universal answer of SIZEOF_VOIDP for 32/64-bit architectures. This commit makes SDL_config.h universal, so it can be used with mixed 32 and 64 enviroment simultaneously.
REVERT: db4086463f Fixed cast of the OpenGL context type
REVERT: 35275fc714 Fixed bug 1946 - OpenGL contexts in threads
REVERT: de2ec2b443 Fixed off-by-one error in SDL_ConvertStereo().
REVERT: 22b55373e7 Check the parameters to SDL_UpdateTexture()
REVERT: b5145bcf7f Fixed bug 1958 - Cocoa SwapWindow doesn't swap the specified window
REVERT: ca37b8fd83 Whoops, missed a part of that last commit.
REVERT: 37c7e9ad24 Explicitly write silence to the audio device while it is paused.
REVERT: a5362aa7e7 Attempt to fix a compiler warning on Haiku.
REVERT: 8ff1d6b620 Fixed compiler warnings on Haiku.
REVERT: e46b85c7b1 Removed some unused variables.
REVERT: 09d6ed6d88 Fixed compiler warning.
REVERT: ad5f0c68a5 Cleaned up WGL_ACCELERATION_ARB usage.
REVERT: bcef7dbe16 Added src/thread/pthread/SDL_systls.c to the CMake scripts.
REVERT: 8d546288b9 Catch out of memory errors creating a window
REVERT: 08738a32fb Fixed compile
REVERT: a6d24b3875 Fixed bug 1949 - Pulseaudio 32 bit audio formats support
REVERT: 5b03803ab3 Fixed bug 1953 - Crash at memcpy X11_DispatchEvent(_THIS) Function
REVERT: fcc6274a81 Added src/thread/windows/SDL_systls.c to CMakeLists.txt (thanks, Charles!).
REVERT: f80a6e7ee5 Added PowerPC and ARM versions of the memory barrier functions.
REVERT: 557bbf3fe6 Added release/acquire memory barriers to the atomic API * Added a destructor to clean up TLS memory at thread shutdown * Refactored the TLS code to have platform independent code and a small platform dependent core with a fallback to generic code if platform dependent functions fail. * Fixed recursion issues with SDL_GetErrBuf()
REVERT: 086ecc9949 Fixed Haiku build
REVERT: bfcb08d569 Implemented an API for thread-local storage: SDL_TLSCreate(), SDL_TLSSet(), SDL_TLSGet()
REVERT: ab91b4ce14 SDL_GL_MakeCurrent: Only no-op redundant calls on *same* thread.
REVERT: ea36ba4f4e Mac: Remove dead FULLSCREEN_TOGGLEABLE code.
REVERT: 4601ab6894 Removing video/uikit/*.c from configure's iOS sources Unexplicable computer sciences phenomenon: Instead of returning an empty set, *.c in an folder with no .c files produces the "*.c" string to be added as a source. I'm sorry future generations, we are doing the best we can :)
REVERT: 2740a12ae3 Backout hg changset 898992405fa7; lots of things still use SDL_types.h.  :/
REVERT: 9c43b29ef9 Made the SDL_memset4() comment even clearer so we don't accidentally replace it with memset() in the future.
REVERT: 98053e8a85 Backed out commit 898992405fa7 because memset() does a byte fill and SDL_memset4() does a uint32 fill and this change breaks SDL_FillRect()
REVERT: b2d7f92773 Adds Input Focus handling on Android to improve pausing/resuming behavior Ref: http://android-developers.blogspot.com/2011/11/making-android-games-that-play-nice.html
REVERT: 7afed3e5ae Removed deprecated SDL_types.h header.
REVERT: 287d2529bd Replaced SDL_memset4() implementation with a call to SDL_memset().
REVERT: 6f3b5c3641 change fsaa argument for testgl to accept a # of samples for FSAA
REVERT: 40e8b24572 Disable OSS and BSD audio targets on OpenBSD.
REVERT: c6348f33e7 Make sure that srcdir has a full pathname so source indexing works.
REVERT: 435103b3d9 Fixed bug 1943 - Wrong handling of legacy 32bpp BMP files
REVERT: 0ed61eba4b sndio dynamic loading fix.
REVERT: 6255f7f9a8 Backed out changeset c8b16b3a3c9b
REVERT: 274d4eeec2 Fixed bug 1943 - Wrong handling of legacy 32bpp BMP files
REVERT: 30553ceb5b Added automated test to validate conversion between all supported formats.
REVERT: 235df7949e Added surface conversion support for ARGB2101010 formats
REVERT: becaf62d10 Fixed converting ARGB2101010 surfaces to 8-bit surfaces It's not like this is very useful, but it fixes a crash in this case.
REVERT: 4fed764ac6 Updated configure with the sndio audio backend
REVERT: 764d957232 Corrected name of constant in header file comment.
REVERT: c8c3817b12 Changed include directive to standard header.
REVERT: 0586d55560 Fixed SDL_RWread() returning -1 as unsigned instead of 0 if error on Android. Found by Cppcheck (pointed out check of unsigned < 0 which was left in place).
REVERT: bbe065f50f Added an SDL2 OpenBSD sndio(7) audio target.
REVERT: fdca15860f Disk audio target was using this->hidden->mixlen before we set it.
REVERT: 13b57b17fd Minor ALSA tweaks (include-once macro name, len for memset() more clear).
REVERT: c9acdd87a7 Added 8-bit RGB source surface support to NtoN blitters
REVERT: 185f93a7a9 Fixed bug 1923 - Crash with SDL_SetColorKey
REVERT: 91452f6355 Fixed bug 1911 - enable HAVE_GCC_ATOMICS for android platform
REVERT: 4921d1b526 Remove full-desktop Xinerama mode when using XRandR
REVERT: 156a8638f0 Make it possible to use SDL events separately from the video subsystem.
REVERT: 4b0d90ff15 Updated the README to match the new website text
REVERT: 4dbe83c72a Fixes Bug 1896 - Android app is running while the screen is locked Original patch by ny00@outlook.com
REVERT: 6aa8bc33bd Fixed SDL's implementation of isspace() to check form feed and vertical tab.
REVERT: a9558933a9 Added missing call to SDL_stack_free().
REVERT: 2015d5faa6 Fixed potential problem with postFinishLaunch being overridden by the application.
REVERT: cbc0db6e72 Fixed bug 1936 - Broken URL in generic SDL_syscond.c
REVERT: 8ad9316ca3 Fixed mingw32 build
REVERT: ed07a40c62 Fixed build errors on Mac OS X
REVERT: cfd541e89c Removed the inline functions from SDL_stdinc.h Having the SDL functions inline is causing build issues, and in the case of malloc(), etc. causing malloc/free mismatches, if the application build environment differs from the SDL build environment.
REVERT: 3a78485f2d No, there's no reason not to use fprintf
REVERT: f004771cf2 Fixed detection of overlong sequences (thanks Tommy!)
REVERT: 0634073030 Patched to compile on pre-C99 compilers.
REVERT: 65a277c322 Don't set the same GL context twice on Mac OS X (thanks, Alex!).
REVERT: 32e16f45fa Fixed some __BEOS__ vs __HAIKU__ preprocessor tests (thanks, Axel!).
REVERT: 522eeaf814 Don't crash if SDL_AudioQuit() is called twice in a row.
REVERT: 292c6c09ee Strip newlines from messages in SDL_Log*() before calling logging function.
REVERT: 47a2869b0d Added a FIXME.
REVERT: 0ea9cabb50 Don't close already-closed audio devices during SDL_Quit().
REVERT: 197f525783 Added SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS to the documentation for the joystick and game controller APIs
REVERT: 60315067e3 add in alt+enter keyboard shortcut to test common to toggle fullscreen desktop
REVERT: 7ff764a482 Fixed the logical size for rendering to texture, thanks to Mason Wheeler.
REVERT: fd6dde1327 Changed paths and name of header file in text of VisualC.html.
REVERT: 563185f19c Only check for keyboard focus if the video subsystem was initialized. Check the hint at initialization time, as an optimization.  This isn't something we expect the application to change at runtime, and if it is we should add an API for it.
REVERT: 66328f31b9 Removing old dangerous signal catching code. * None of the supported platforms are hosed if the program crashes without cleaning up the graphics display connection. * It's very likely to be unsafe to call SDL_Quit() at an arbitrary point from an arbitrary thread. * Catching signals can prevent applications from getting correct stack traces from crashes.
REVERT: 78a7a1b54e Not using SDLmain on Windows is just fine, don't fail the initialization if the program implements WinMain() and then doesn't call SDL_SetMainReady(). This broke Steam's Big Picture game controller support.
REVERT: 324a14d847 Added testgamecontroller to the Visual Studio 2012 solution.
REVERT: 8cf62ac298 Merged
REVERT: 0535b41f0c Merged
REVERT: d049796b23 Updated the name of the copyright file
REVERT: 3d1c05ee6b Merged
REVERT: 9fe349d213 Whoops, this controller had already been added.
REVERT: b066315e36 Remove / update references to 1.2.
REVERT: f72a821566 sdl - added comment with URL to windows scancode definition document
REVERT: a7879829ef Added game controller support for an older XBox Controller
REVERT: 1b4d1f20c1 We don't want to save the alpha modulation, we want to save the blend mode.
REVERT: a61d6e4500 Updated testshader for the SDL 2.0 API
REVERT: 54060becd3 Fixed bug updating the clip rect for the software renderer
REVERT: a8055a9808 Fixed bug: SDL2 Xinput joystick axis jumps from positive to negative
REVERT: 98cdee1ebc Fixed warning about unused variable.
REVERT: bc51b6f628 Fixed initializing the haptic system from an XInput joystick Thanks to Franz Schrober for the fix inspiration.
REVERT: 86e40a29d3 Fixed bug 1929 - SDL_Texture* from SDL_CreateTexture() causes GL_BindTexture() to segfault
REVERT: eb00bbd7f9 Better text printing for UTF-8 characters
REVERT: 75894c0d8b Updated timer test and fixed performance counter on Mac OS X
REVERT: 7827720b8b Update testsprite2 for visual testing: user fuzzer and add --iteration parameter to enable deterministic screen end-state
REVERT: 319984251f Add VS Express Edition sln files (drop the unsupported solution folders for tests); update VisualC documentation
REVERT: 3fb130cb39 Fixed bug 1913 - state->index may get negative in SDL_wave.c file.
REVERT: 9293678409 Fixed bug 1916 - SDL_Keysym contains a deprecated field for unicode which may be removed.
REVERT: 46487bd122 Improved include paths for projects using SDL on Android
REVERT: cfd8d8141d Removed obsolete Xcode templates and documentation
REVERT: 05c75b191f Changed comment to be used by doxygen.
REVERT: de9566518f Fixed some Visual Studio analyze warnings
REVERT: 6971a5dd1c Allow users to define SDL_STDINC_NO_INLINES if they don't want the inline functions defined. This is useful, for example, if the standard config defines HAVE_SETENV but you're building with C99 that doesn't include that feature.
REVERT: 5aa3492ef8 Fixed SDL building with the minimal configuration
REVERT: 5971051d9e Added an arbitrary limit to the number of queued events so it doesn't grow unbounded.
REVERT: 4abe8a906b Update the queued event wmmsg pointer to point to the queued event data.
REVERT: e0fe2d1b2c Made the SDL event queue dynamically allocated so we don't ever drop events.
REVERT: ad82c94c55 Updated names of README files in source comments.
REVERT: f54e7cdaa8 Fixed Android Lint warning in AndroidManifest.xml. If targetSdkVersion not set it becomes same as minSdkVersion and causes warning.
REVERT: d8de838dfe Updated configure
REVERT: b7c62a83d9 Improved find_lib, gets the latest version of libpng, etc.
REVERT: 4c59063d54 Check for well known XInput device GUIDs before enumerating the device list.
REVERT: 80917f1537 Removed redundant "Controller" names from gamepads, added mapping for Logitech F710 in DirectInput mode
REVERT: 612ec5d29d Slightly more efficient to check the event type first
REVERT: 7de1fa00ff It's better not to have the full range of the axis (by 1 on the negative side) than turn 0 value into -1
REVERT: f26e1bc175 Fixed bug 1897 - CPU spike on Windows with WM_EVENT and OpenGL
REVERT: 6879bf00c4 Fixed crash trying to get the GUID of an invalid joystick index
REVERT: 0e48e3563b The triggers should be expanded out to the full range to match DirectInput behavior. The game controller code will scale them back to 0 - 32767 when it converts the triggers axes.
REVERT: a8d039c4fe Remove unnecessary debugger detection logic again from Win32 SDL_LogOutput
REVERT: 7fe9747caf Fixed compiling iOS demos
REVERT: b95977a499 Removed obsolete testsdl target
REVERT: 8e07b6b727 Fixed building tests on iOS
REVERT: 199bed4801 Removed obsolete NoStdio configurations.
REVERT: b42b0c3e91 Added testautomation to the Visual Studio 2008 project.
REVERT: a14efd4af1 Fixed compile errors on iOS
REVERT: 9f08f67e67 The jump hack is no longer used.
REVERT: eeffdf78ab Need to include SDL_main.h when we call SDL_main()
REVERT: 5a85d1d29a This patch isn't needed because you have the window and can do [nswindow contentView] yourself. I'm rolling this back so we minimize the things exposed that we have to keep consistent in the API.
REVERT: 47f2eaf415 Added some extra protection to notify the developer if they haven't initialized the application properly.
REVERT: 8731286cb4 We already link SDL2_test by default now.
REVERT: e1e1fa3d61 Joystick: Only send joy events when focused.
REVERT: c2d84dbad6 Fixed doxygen warnings and corrected documentation in header files.
REVERT: 24fc22545b Mac: Fix invalid PS3 controller mapping.
REVERT: df3b1a6ed1 Win32: Fix issue with SetCapture & negative values.
REVERT: c6dd828f1e Win32: Ignore WM_MOUSELEAVE in relative mode.
REVERT: 6c06aefaf2 Update SDL_LogOutput for WIN32 so it writes to the console
REVERT: e569ac658f Updated configure with Ryan's cygwin workaround
REVERT: bc5b08c0fd Fixed build on newer Cygwin installs.
REVERT: f1fc414daa Mac: Fix incorrect relative jump on focus / start.
REVERT: 95cf57b19f Mac: Hide cursor in relative mode.
REVERT: 449d63452e - fix misleading hint about minimising on focus loss
REVERT: 5a7d3757f5 Add missing VS2012 test projects; update VS2010 and VS2012 solutions; update keybord suite for VS compiler warnings
REVERT: 3426ac11ad Remove deprecated/deleted VS test projects
REVERT: 1732f61b81 Fix compilation with libX11 >= 1.5.99.902.
REVERT: 86b3564df2 Hopefully fixed mingw32 build
REVERT: 579a0da656 Changed documentation in header because LocalReferenceHolder not public API.
REVERT: 5966837f4a Changed haptic test program to use announced effect type.
REVERT: 663e2c37ae Fixed implicit function declaration for SDL_AndroidGetInternalStoragePath().
REVERT: 64f1ac9002 Fixed implicit function declaration and warning for SDL_Log().
REVERT: cd88135edc Gyrations to get the code to compile with the latest version of mingw-w64 as well as Visual Studio. I think in this case mingw-w64 is incorrect in defining the GUID instead of declaring it like Visual Studio and the older mingw32 compilers.
REVERT: d2a0d0fb58 Fixed bug 1881 - SDL will not compile with "SDL_THREADS" disabled.
REVERT: cb62e2540a Fixed bug 1882 - SDL_GetKeyboardState should return const.
REVERT: a54ea6ce9f Fixed testnative on Mac OS X, which no longer ships X11 by default.
REVERT: 658c25666a Merged changes
REVERT: 226679f4bb The standard fat gcc scripts work well with SDL 2.0
REVERT: 3472d792a9 Fixed implicit function declarations and their warnings. For the SDL_SetMouseFocus() and SDL_SetKeyboardFocus().
REVERT: 6096e60a4b Removed debug output.
REVERT: 17fab0296b Corrected indentation of license.
REVERT: 8792a8d88a Default the minimum required version to 2.0.0
REVERT: 5480cdd85c Re-apply texture filter when resetting direct3d renderer.
REVERT: 5d3e05c2c4 Fix bug 1492: Visual Studio builds sdl.lib and sdl.dll for version 2.0 (contributed by Jan Reitz); update SDL_bool handling in test_common to fix VS compiler warnings
REVERT: acb14cfc03 Add trigger value adjustment code to the SDL_GameControllerGetAxis code as well.
REVERT: 3d874237bc add in Controller configs for Logitech F510 for OS X / Linux
REVERT: 9afcdd0a14 Moved prototype for static function out of header file to prevent warnings.
REVERT: f2763e240d Changed line comments in header file.
REVERT: c30228737b Add an OS X Shared library target
REVERT: 89b36c9f21 Fixups to the main Xcode project due to renamed README files and long since removed test files.
REVERT: 8fc42c451c Added deactivated loading of SDL2_net to Java file.
REVERT: 689a31a050 Fixed recently deleted Ms in READMEs.
REVERT: 20c5cf1e8b When the window is resized, the viewport is automatically reset. This resolves lots of confusion around resizable windows.  Most people don't expect a viewport to be implicitly set when the renderer is created and then not to be reset to the window size if the window is resized.
REVERT: c55f53aa40 Fixed bug 1622 - SDL_RenderSetViewport with empty SDL_Rect raises wrong error for OpenGL rendering backend
REVERT: b337b40e33 Credits were truncated in a previous commit.
REVERT: 78b22c119d Updated supported platforms
REVERT: b3ec1b660b Fixed crash with movaps instruction in SDL_memcpy(), due to unaligned Uint32* cast and -O3 vectorization optimizations with gcc 4.9.0
REVERT: 21512a77b7 Better mingw32-x64 linker flag fix, which doesn't require libtool patch
REVERT: 8b555c027d WinRT: fixed bug whereby landscape-only apps, as configured via an app's Package.appxmanifest file, would report an incorrect display mode on app init, if the device was in portrait mode
REVERT: 62792cc20f WinRT: added code to help debug events related to window-sizing and device-orientation
REVERT: 1990b00614 Removed dependency on libgcc_s_sjlj-1.dll when building with mingw64
REVERT: d944115cb1 Added a comment to say why C runtime is off by default
REVERT: 10fbebcc51 Need to generate aclocal.m4 when rebuilding configure, but we don't need to check it in.
REVERT: b3d555764f Don't use the C runtime library on Windows, to avoid C runtime dependencies and manifest issues.
REVERT: fbef22a01a Fixed Visual Studio build
REVERT: 3cde28eb67 Updated VisualC.html for SDL 2.0
REVERT: 2f9f779e70 Renamed WhatsNew so it can be easily read on Windows
REVERT: b70d031fba Updated the installation instructions to cover all supported platforms
REVERT: 9ce206cdc0 Fixed compiling XAudio2 code with mingw64
REVERT: 07424fd0ca Fixed compiler warning
REVERT: 6ff3478440 Don't assume the XAudio2 APIs will never be available
REVERT: 8408ce85ee Fixed compile errors building with mingw64
REVERT: 2b824bd331 Renamed documentation files to .txt and converted them to DOS line endings so they would open properly on all systems. Updated Makefile.in so "make dist" includes everything necessary for release.
REVERT: 27d4a625ba Corrected documentation errors in header file.
REVERT: c1b6e05455 Fixed wrong documentation for haptic implementation.
REVERT: c30845f58b Fixed test description in test suite for standard library.
REVERT: a5ba9c22a7 Changed three similar error messages to contain more context.
REVERT: f423813732 Fixed Windows build
REVERT: 03210bff7e Added the beginning of automated tests for the standard C library routines. Implemented more SDL_snprintf format specifiers.
REVERT: 00abdbbc2a Added a newline to OutputDebugString(), fixes output on Visual Studio 2008
REVERT: 0ce4bb89d8 Only free EventData if it's successfully retrieved.
REVERT: 9e842c74c1 Fixed Haiku build issue with missing extension support.
REVERT: a106589b14 Patched to compile with older glext.h that don't have GL_NUM_EXTENSIONS.
REVERT: e2039118c2 The Haiku install location fix needs to get into configure
REVERT: 077cd8d398 Use glGetStringi() for extension lookup on OpenGL contexts >= version 3.0.
REVERT: a1b0f0566b Fixed macro line endings after whitespace was fixed
REVERT: e2929bcb73 Fixed bug 1534 - SIGSEGV in SDL_ConvertSurface() for certain formats in SDL2
REVERT: 80d6ec24cd Backed out changeset b69dfd56e1b0
REVERT: a32de58414 Attempt to fix Haiku buildbot (and other systems with an old glext.h).
REVERT: c950178124 Patched to compile on older Mac OS X devtools (thanks, D B!).
REVERT: 95ad1c10fb WinRT: added hotplug support for joysticks/game-controllers
REVERT: adb0413171 Fixed bug Bug 1817 - Haiku uses wrong default install prefix
REVERT: c2805292c8 Fixed bug 1856 - (Patch) More bits for SDL_MouseMotionEvent.state
REVERT: 44ae527164 Fixed bug 1148 - SDL window white upon first appearing
REVERT: 3d5e0ce562 Fixed bug 1113 - SDL_SetEventFilter()'s event deletion process is not safe against intervening event push.
REVERT: 97fba74bda Fixed bug 731 - No mechanism to extract the NSView for 3d library
REVERT: 2f9ac5db94 Fixed losing ALT key modifiers on Unity
REVERT: f56b6fdc45 It turns out that GL_ARB_debug_output is really only useful on debug contexts, so for consistency and performance we'll only check and report errors on debug contexts. I added a --gldebug command line option for the test programs to easily test this, and we may want a hint as well to enable OpenGL error checking.
REVERT: 6f8a3ac5cf WinRT: fixed XInput-related linker errors on non-x86 platforms (such as ARM)
REVERT: 635a32ed58 Fixed declaration of GL_HandleDebugMessage
REVERT: 11dfd2bff8 Fixed windows build
REVERT: 30a001fdfa Fixed bug 1842 - [patch] SDL_SetWindowPosition sets bad position values when given SDL_WINDOWPOS_CENTERED args
REVERT: 91ff680aa5 Fixed bug 1837 - Use error extension instead of glGetError()
REVERT: b919f57c12 WinRT: added preliminary joystick / game controller support (minus hotplugging)
REVERT: 750f6fb9d9 Deprecate test/automated and test/test-automation (replaced by test/testautomation*.*)
REVERT: 71d173a062 Fixed black screen on iOS
REVERT: 0cb6385637 File style cleanup for the SDL 2.0 release
REVERT: 2ac8624930 Added mobile application events, with implementations for iOS and Android
REVERT: 2ff60371f5 Update test harness to handle test return codes; fix comment format in harness; update Main test suite to handle globally disabled features
REVERT: f86b25c56e Fixed Doxygen warnings.
REVERT: 7615624d82 Corrected comment in Java file.
REVERT: 5126239a00 Changed import statements in Java file.
REVERT: da8a1bb74f Made SDL_RectEmpty and SDL_RectEquals macros into SDL_FORCE_INLINE functions.
REVERT: 7ebe7ed128 Fixed bug 1829 - sdl2-config is not executable
REVERT: cbe94acd8e Fixed bug 1838 - [Patch] Direct3D resource leak on SDL_DestroyRenderer()
REVERT: cc6f700f06 Fixed bug 1839 - SDL2 Cmake: VIDEO_COCOA check fails on OS X; VIDEO_COCOA sources aren't compiled.
REVERT: bc7136f5ba Martin Gerhardy added support for the Jess Technology USB Game Controller
REVERT: 128b8ca895 Fixed bug 1846 - _allmul implementation in SDL_stdlib.c doesn't clean up the stack
REVERT: e8051fbb53 There's no need to keep these private.  If you extend SDLActivity, you should know what you're doing.
REVERT: 20ff4d06d8 Corrected internal function prototype.
REVERT: c5b6e3c9e1 Corrected internal function prototype.
REVERT: d3b85c8965 Changed spelling for consistency.
REVERT: 74047a3267 Fixed Doxygen warnings.
REVERT: 699341597a Corrected spelling in header file.
REVERT: 337c6acc60 Inlined expression for consistency in render source.
REVERT: b2ea4f6eca WinRT: Windows Phone 8 build/project updates
REVERT: db04389abc Fix fuzzer/fuzzer tests on 64bit Linux; remove invalid negative SDL_Scancode test; disable failing surface/render test cases
REVERT: 6814d3a09c Fixed building on Visual Studio.
REVERT: aa0aeac03c Fixed bug 1845 - SDL_GetNumTouchDevices() has incorrect prototype
REVERT: df60747e3b Fixed bug 1844 - glScissor calls are wrong - Patch attached
REVERT: 98b4492c37 Fixed bug 1843 - SDL_RenderClear prototype doxygen missing
REVERT: d7cb8fc61f Corrected spelling in internal include file.
REVERT: 0c5e871267 Updated README.android.
REVERT: 63b227b811 WinRT: made sure SDL_GameController APIs get linked in (to SDL.dll)
REVERT: 8d53137515 Fixed Android Lint warning in AndroidManifest.xml.
REVERT: 20a48b079c Added missing vi lines.
REVERT: cafc8e6dc1 Fixed implicit function declaration warnings.
REVERT: bb1f191c0d Fixed precedence warning in test suite for pixels.
REVERT: 293da630b8 Fixed typo in GL_UpdateClipRect
REVERT: 7065c6467d Fixes OpenGL* Clip Rect functions (by Emmanuel Gil Peyrot)
REVERT: 5d9de376d2 Updated version to 2.0.0
REVERT: 7b5cb0dcbd Mac: Use cursor rects instead of NSCursor hide/unhide.
REVERT: a5a75e0bde Fixed test suite for mouse using Uint8 instead of Uint32 for buttons. SDL_GetMouseState() returned Uint8 in SDL 1.2 but was changed recently.
REVERT: 1139caac7f Removed unreachable return statement from test suite for timer.
REVERT: be8e310e8d Removed wrong documentation from test suite for render.
REVERT: 914c1c4469 Disable C++ exceptions, use debug format that includes debug information in the static libraries, and standardize on Program Database / Program Database with edit and continue for the DLL debug format.
REVERT: 8ac64239e5 Add test for SDL_GetPixelFormatName to Pixels suite; minor improvements to Pixels suite
REVERT: 1a2ba7422c Implemented SDL_GL_SHARE_WITH_CURRENT_CONTEXT for Mac OS X.
REVERT: 4ec8d70ca1 Add input validation to SDL_CalculateGammaRamp; add test coverage to Pixels suite; update test cases in Pixels suite
REVERT: b753a203e3 WinRT: mouse-pointer debugging improvements
REVERT: 799e5d65ea WinRT: fixed a display mode reporting bug, whereby DPI wasn't getting taken into account.  (Thanks to Sylvain Becker for the fix!)
REVERT: 3fc03faf55 WinRT: added additional, optional code to aid with keyboard event debugging
REVERT: 4f70701db1 Removed not needed block from Java file.
REVERT: 4266102f1d Changed signatures of methods in Java file to return boolean, adapted C++ file. This way more checking for errors is possible which is currently not done here.
REVERT: 89805a7cae Changed signature of method recently added in Java file.
REVERT: 023c495919 Fixed SDL_HasScreenKeyboardSupport() returning SDL_TRUE for PSP. There is currently no implementation and therefore no support.
REVERT: ffd1362c16 Added a method in Java file which may be overridden for custom messages.
REVERT: 3fd91d1319 Fixed possible leak and its Android Lint warning in Java file.
REVERT: b5c9f3354d Corrected spelling in C source files of test suites.
REVERT: e2fe26af28 Fixed SDL_RenderSetClipRect() returning undefined instead of -1 on error.
REVERT: 28d45cd955 Added additional input validation to SDL_AllocPalette; added error codes; added test case to Pixels suite for coverage
REVERT: 866f2e5f9e First pass on SDL render clip rect functionality
REVERT: 0a3ab9190b Fix compile on Xcode 3.1 PPC + Altivec
REVERT: 33660e58c1 move Ticks initialization tracking to separate function and ensure it's called with SDL_VideoInit is called to init SDL instead of SDL_Init
REVERT: 907ac2687c default clock_gettime use to enabled as there is now proper fallback code for systems that don't have it.
REVERT: 2c6d6e45d9 add in OS X Monotonic clock as well as handling fall-back incase the OSX/Linux system doesn't have a monotonic clock.
REVERT: 98819d0d8d QueryPerformanceCounter() is reliable these days, and setting the timer frequency higher can have adverse power consequences. http://msdn.microsoft.com/en-us/library/windows/desktop/dd757624%28v=vs.85%29.aspx
REVERT: 0e9ba88315 Removed SDL prefix from internal function pointers for screen keyboard access.
REVERT: 985951f70e Add pixels test suite; add a test to pixel suite; minor updates to test code to make VisualStudio happy
REVERT: e83262a725 Corrected spelling in C source files.
REVERT: 5b428b875f Corrected spelling in C source files.
REVERT: 2b271666be Fixed SDL_HapticQuery() returning -1 as unsigned int if device is not valid.
REVERT: f19e013294 Removed unused variables from C source files.
REVERT: a4432d3cdf Corrected confusing indentation in C source file.
REVERT: b23a53205a Corrected spelling in C source file.
REVERT: 8b5e69d9c5 Corrected names in README file.
REVERT: 7ba6d24ed9 Added missing return statements in test suite for audio.
REVERT: c0f29fb59a Corrected spelling in header files.
REVERT: 103fc07702 Removed not needed casts from Java file.
REVERT: 9e39871ec5 Removed not needed import statements from Java file.
REVERT: 628e39e91c Removed dead store from Java file because value never used.
REVERT: 65291c1e99 Renamed inner class in Java file to avoid confusion with an unrelated class.
REVERT: 67eb721095 Corrected spelling header file comments.
REVERT: 423489e19d Changed Java source file to use constant from API instead of just a String.
REVERT: bdd9df5fd9 Added missing @Override annotations in Java source file to reduce warnings.
REVERT: dc6e420626 Replaces tabs with four spaces in C source file.
REVERT: f06595200f Corrected comment in header file.
REVERT: 1e5aaadf49 Corrected a comment in Java source file.
REVERT: 9e4a519493 Mac: Fix relative mode message after gaining focus.
REVERT: 22358fddd1 Mac: Don't supress mousemoves after warp.
REVERT: 51619c5485 Don't warp mouse on focus lost.
REVERT: 42b825029c Allow disabling SDL_IPHONE_KEYBOARD in iOS builds
REVERT: 8a91a76148 Fixed bug 1582 - Allow disabling SDL_VIDEO_DRIVER_WINDOWS
REVERT: b72f0b741e Fixed bug 1583 - Fix build for disabled SDL render subsystem
REVERT: 83e561b48c Removed Cocoa OpenGL optimization that was probably good advice 10 years ago.
REVERT: d8ef30ac34 Move cursor into window when enabling relative mode or gaining focus in relative mode.
REVERT: 238eacc409 Mac: Update mouse position on warp.
REVERT: 192af6485f Test plan for relative mode.
REVERT: 69bc11e564 Add SDL_GetDefaultCursor.
REVERT: 8836a99081 Bug 1787 - memory leak in WIN_InitMouse() by Marcel Bakker
REVERT: 742233249a Bug 1786 - memory leak in WIN_GetDisplayModes by Marcel Bakker
REVERT: c443135e94 Fix double free in video test suite
REVERT: 7d048468d3 Mac: Fix cursor not updating when re-focusing the window.
REVERT: 059ea2c1c6 Mac: Fix unmatched hide/show cursor calls.
REVERT: 4f88e70fe6 Mac: Make mouse movement smooth at edge of window when grabbed.
REVERT: 694ebd59a3 Make sure to send MOUSEMOTION on window enter.
REVERT: 4b4bea7294 Fixes PSP_DestroyTexture release of data (don't release the SDL_Texture pointer)
REVERT: b1b1c1e2d1 Moved warning about SDL_AndroidGetActivity to SDL_system.h
REVERT: 2b47360970 Disable one test that crashes audio suite when run together with other tests
REVERT: e4f6322689 Add tests to audio suite
REVERT: 4601f48f85 Add multimon & mouse tracking info to SDL_test_common.
REVERT: 187143d618 SDL_GL_DeleteContext would leave an invalid current_glctx.
REVERT: 5a4c9c40f2 Forgot to add this file to Mac crash fix.
REVERT: f7032de060 Send mouse leave updates for Windows and X11.
REVERT: c7fb60a46b Make Cocoa_ShowMessageBox work in background threads.
REVERT: be8f97cb6a Fix Mac crash when creating fullscreen window introduced in 9d43403e9fc5.
REVERT: 3bf28ba7c8 - make sure to send a joy removed event even if the joystick wasn't opened under OSX
REVERT: 7849e997f6 Mac no longer loses OpenGL context when window is hidden.
REVERT: c59f7d106e Properly reflect hidden/shown windows on OSX.
REVERT: 53c00d6cad Fixes #1815, don't release the LocalRef returned by SDL_AndroidGetActivity
REVERT: 5d23da7418 WinRT: removed the "generic" + C++/CX hack-fix, now that a better fix is in official-SDL
REVERT: 6a01cdf7f3 WinRT: merged with latest, official, SDL 2.x sources
REVERT: cf8a84626b future-proofing for Microsoft's C++/CX extensions, whereby "generic" is a reserved keyword
REVERT: e4b6ac8025 Fix overflow in recent gamecontroller trigger change.
REVERT: 12a26f7c35 Make gamecontroller triggers have values in 0 - 32767.
REVERT: ba5fc3539a Fix for bug #1776 by Jonathan Dearborn
REVERT: be4412d0f2 Fixes bug #1709, pthread tests fixes for CMake (Thanks Scott Percival!)
REVERT: 5c189f9803 Fixed using the event queue lock before the mutex was created.
REVERT: 52a3b9b1f5 WinRT: made SDL's inner WinRT CoreWindow be accessible to non-C++/CX code, in theory
REVERT: 8069b5a7f3 Cleaned up the const_cast mess a little.
REVERT: 71b29b3822 Don't use glDisable(GL_TEXTURE_2D) in GLES2 renderer.
REVERT: 56c27c7be9 Fix bug 1789: SDL_IntersectRect intersection with empty rect does not set result to empty; add test coverage to Rect suite
REVERT: 5bd319e5b5 Fix bug 1764: incorrect variable assignment in RenderDrawLinesWithRects
REVERT: 090d061ff2 Fixed bug 1805 - Memory Leak issue in src/video/x11/edid-parse.c file
REVERT: a438cbd7fe Fixed bug 1804 - Memory leak issue in src/video/x11/SDL_x11mouse.c
REVERT: eb97bff0bd Fixed bug 1802 - NULL pointer dereference in SDL_AllocRW() if out of memory.
REVERT: 226fdc16e6 BMP files don't contain alpha information in the palette, the fourth element is reserved and must be zero.
REVERT: 969adca54c Removed C++-style single-line comments from a public header (thanks, Martin!).
REVERT: 19909e7dcb Maybe actually fix compiler warning this time.
REVERT: 86b8376c2b Fixed a compiler warning on Visual Studio.
REVERT: 6bda63934d Make the new SDL_RWops::hidden::unknown::data2 field a void*, not an int.
REVERT: 3a0f7dfe30 WinRT: build fixes for the loopwave and testthread test apps
REVERT: 14337669a2 WinRT: hack-fixed C++/CX compile errors regarding the 'generic' field in SDL_Event, which conflicts with a C++/CX keyword
REVERT: 41ce3814e2 WinRT: merged with latest, official, SDL 2.x sources (at rev. bea100d73d13)
REVERT: e40e111591 WinRT: added render-to-texture support for D3D 11.1, via SDL_SetRenderTarget
REVERT: c865461ef8 Added a data2 field to the SDL_RWops::hidden::unknown.
REVERT: 619405f9a3 Add test coverage for SDL_SetWindowData and SDL_GetWindowData to Video suite
REVERT: 7c5943b1ee Fixed a typo (thanks, Ethan!).
REVERT: 4bf8e7bd24 Numlock & pause fix from Alfred.
REVERT: 8d0b0c59bf More const_cast fixes for C++ apps using the public headers (thanks, Martin!).
REVERT: b74856f7b7 WinRT: added texture channel color-modulation support for D3D 11.1
REVERT: 280675858c Fixed another infinite recursion accident in stdlib.
REVERT: 45592bbbee Corrected some stdinc inline functions (thanks, Martin!).
REVERT: 50a23e3026 Improve testgamecontroller output & robustness.
REVERT: cbd1884115 Add 3 Logitech gamecontroller mappings for Mac OS X.
REVERT: 7641f6840f Fixed compiler warnings in Mac Xcode builds.
REVERT: 569de57dd7 Another attempt at fixing compiler warnings for SDLTest_SurfaceImage_t.
REVERT: b58d643086 Compiler warning fixes for Windows message box code.
REVERT: 9baec7cd8b Possibly fix compiler warnings, simplify SDLTest_SurfaceImage_t definition.
REVERT: 7ffbc59786 Fixed compiler warnings. "leftFingerDown" doesn't need to be an SDL_FingerID.
REVERT: 6bcac2ad67 Fixed infinite recursion (thanks, Rainer!).
REVERT: 29399839e3 Check for a NULL pointer dereference.
REVERT: 4926901d46 Add new controller mappings for Windows.
REVERT: 2b26967375 Add input validation and null checking to SDL_Get/SetWindowData [reported by Joseph T.]
REVERT: d197d674be Fixed bug 1780 - SDL_RWFromFile() sets an error on Android although a valid SDL_RWops pointer is returned.
REVERT: 25cefc7ef6 Fixed bug 1779 - SDL's Android project template has old default icons from Android.
REVERT: 3bdfec9df0 Fixed bug 1781 - SDL sets an error for the initial touch on Android.
REVERT: 888d367270 Fixed bug 1782 - SDL_opengl.h header disabled on FreeBSD
REVERT: b1b2ba3f09 WinRT: removed a bit of unused code from the D3D 11.1 renderer
REVERT: b7887dd326 WinRT: added rotation support to SDL_RenderCopyEx via D3D 11.1
REVERT: 5230205e27 WinRT: implemented SDL_RenderCopyEx, w/ SDL_RendererFlip support, in D3D 11.1
REVERT: 33ab98ccee WinRT: implemented SDL_RenderReadPixels in Direct3D 11.1
REVERT: df42edd5e1 WinRT: made WinRT path retrieval be available in both UCS-2 and UTF-8 flavors
REVERT: b39dd8c4e3 Backed out changeset: a500a9dbfb41
REVERT: 0bc9621a7f Backed out changeset: a713101e1d25
REVERT: 6fe4eabf3e Backed out changeset: 9cef1005df5f
REVERT: 2df4ed556e Changed audio subsystem's OpenDevice interface to return -1 on error.
REVERT: 4f438b70a2 Make SDL_SetError and friends unconditionally return -1.
REVERT: 2e29d030b9 WinRT: removed code that unnecessarily set a blank D3D 11.1 texture's contents
REVERT: da65f35eaf WinRT: added SDL_LockTexture and SDL_UnlockTexture support to the D3D 11.1 renderer
REVERT: 8c6b9f4743 Corrected function signature on SDL_strtod_inline() (thanks, Axel!).
REVERT: d7b0215c79 Haiku no longer #defines __BEOS__, so check for it too (thanks, Axel!).
REVERT: f3d6be82af Patched test apps to compile with C89 compilers (thanks, Axel!).
REVERT: 6432ccda7f Don't use __builtin_clz() on gcc2. (thanks, Axel!)
REVERT: b7b75855ec Fixed compiler warnings with SDL_FORCE_INLINE on gcc2. (Thanks, Axel!)
REVERT: f36b6b53ef The Haiku port is being actively maintained by Axel Dörfler
REVERT: 75a30e72a0 Fixed compiler error with Cygwin
REVERT: 607bf8a77c Fixed compiler warning with Cygwin
REVERT: 1e10688f01 SDL message box improvements from Dan Thompson
REVERT: aff63d09c2 Added support for the GameStop Gamepad
REVERT: abfb78058f Added GUIDs for Bluetooth devices, using the same algorithm as the Linux code. Reformatted the code so it was easier to step through using gdb.
REVERT: b7476a788a WinRT: added point drawing support to the Direct3D 11.1 rendering backend
REVERT: 7cb5ae426f WinRT: added line drawing support to the Direct3D 11.1 rendering backend
REVERT: 8718681e49 Make sure we bump the palette version when we modify it.
REVERT: e09b99c523 We're using the alpha component of the palette entries, let's name it appropriately.
REVERT: 8f9ae94235 The palette unused value is treated as alpha and updated when setting the colorkey. This fixes issues loading palettized images that have a colorkey with the same RGB values as another entry in the palette (e.g. bug 1746)
REVERT: 890d7ee576 Updated the license listed in the header, fixing bug 1768
REVERT: 404d8c5429 Make SDL support the X11 clipboard TARGETS protocol, which advertises what formats text is available in from the application. This is necessary for many Linux programs to interact well with the clipboard.
REVERT: 3f660cc9ad Removed old file from the Android build
REVERT: 6dddee5200 Added missing files for the Android build
REVERT: 3c610adc98 Fixed bug 1700 - Joysticks not supported in Android
REVERT: 282adb772b Fixed bug 1759 - Updates to testjoystick.c
REVERT: e13a74ec9a Fixed bug 1760 - Update README.android about local.properties
REVERT: db141a68e8 Fixed bug 1764 - Integer Precision Loss During Compilation
REVERT: fecccf1718 Fixed bug 1763 - Constify SDL_UpdateWindowSurfaceRects()
REVERT: 63b082da83 Removed unused window size constants
REVERT: e64abd6e47 The platform define for the PSP is __PSP__
REVERT: 3afbe992d5 Removed Nintendo DS support since nobody has volunteered to maintain it for over a year.
REVERT: 72befa7332 We have a new platform, yay!
REVERT: 47dac69dc7 Add PSP support
REVERT: f227d45db9 Fixed more const issues with C++
REVERT: 6509d6080b Fixed XIM crash when locale is set to something not supported by X11.
REVERT: 77815e31db Fixed const correctness issue with C++, and fixed building SDL_memcpy4 with 32-bit gcc.
REVERT: 6ea7a3490d Clarified inline function documentation, removed obsolete Metrowerks compiler directive.
REVERT: a26645f7b1 Replace all the "static __inline__" functions with SDL_FORCE_INLINE.
REVERT: 7e934f8f75 Improvements to stdlib.
REVERT: e79e3b2343 Added an SDL_FORCE_INLINE macro.
REVERT: 124288fdb9 XDnD implementation from Davey Taylor, need some cleanup
REVERT: d1c430023f Reformat SDL_VS2010.sln so WindowsExplorer VS type detection works again
REVERT: 42a673ce23 Fix bug 122 - SDL_RWops bug fixes: set RWops.type field, add input validation, add test coverage
REVERT: ae480eecfd Missing comma in one gamepad mapping.
REVERT: fc436807a8 Add GameController mappings for popular controllers.
REVERT: 6a2bff0cd1 Fix bug 1560 - SDL_RWFromConstMem write operation returns -1 but should return 0.
REVERT: f25403ba28 Fixed bug 1751 - Direcftb renderer viewport behaviour differs from API description.
REVERT: 5bffed4b32 Fix bug 1574 - updaterev.sh fails when path contains spaces
REVERT: 8181152c53 Patched to compile on Visual Studio.
REVERT: f34606e325 Fixed compiler warning.
REVERT: 2e19fefe52 Attempt to get XInput haptics building on Cygwin (or rather, avoid building).
REVERT: 3d572bdf89 First shot at Windows XInput haptics.
REVERT: 203b9839d2 Fixed bug 1750 - Directfb renderer does not support SDL_RENDERER_TARGETTEXTURE
REVERT: 2422c520ac Fixed bug 1749 - SDL_GL_CreateContext() causes fatal X11 protocol errors that should just be caught instead
REVERT: 1bb2a06fc7 Fixed bug 1748 - Patch for errors and mistakes in SDL 2 README files.
REVERT: 7ce1b4475f Fixed bug 1744 - DirectFB video and renderer API is not updated
REVERT: c51712467d Fix SDL_TryLockMutex compile error when FAKE_RECURSIVE_MUTEX is defined
REVERT: edbf26b139 Add parameter checking to SetWindowSize functions; add tests to video suite
REVERT: 5916b2bc1e Fix Bug 1533 - SDL_Keycode value range allows segfaults with negative values; add test coverage to keyboard suite
REVERT: f41de44a36 Updated SDL_HINT_GAMECONTROLLERCONFIG documentation to reflect that it only takes effect before init.
REVERT: bd9fdb8099 Changed SDL_INIT_EVERYTHING to only request currently-known subsystems.
REVERT: 7f2340dc6a Don't re-read the hints when opening the game controller.  Instead use SDL_GameControllerAddMapping() to add hints after initialization.
REVERT: 3f118b42fe README.android updates regarding the use of dirty rectangles rendering technique
REVERT: 1494812f7c Put the real SDL_AtomicCAS() and SDL_AtomicCASPtr() symbols into the library.
REVERT: c6388c87c1 Changed the name of SDL_mutexP() SDL_mutexV()
REVERT: 0707530b35 Load the game controller mapping hint when opening a game controller.
REVERT: 1dec4dd800 Fixed read after free bug in the game controller.
REVERT: 69b8182419 The joystick events contain a joystick instance ID, which is a signed value, with -1 being invalid.
REVERT: fb49761922 Fixed 64-bit compile warnings on Visual C++
REVERT: 85d6d00788 Removed multi-input events, since we removed the unimplemented API recently.
REVERT: 541a638836 Fixed compile errors on Windows
REVERT: 4a942814bd Make it so SDL_RestoreWindow() implements the _NET_ACTIVE_WINDOW protocol which some window managers require to restore full screen windows. CR: saml
REVERT: 3ab8d4ce1a move variable declaration to beginning of function
REVERT: 4e631c1583 Fixed warning messages when loading Direct3D DLL
REVERT: 6398f00da7 Fix pulseaudio dynamic linking for Solaris builds. Fix Solaris Studio compilation errors. Fix sunaudio backend for SDL2.
REVERT: ac51aff110 Add SDL_TryLockMutex and implementations for all platforms
REVERT: 191718be44 add hint to allow disabling the use of Xinput.
REVERT: 5fd98b3297 add new gamecontroller APIs
REVERT: 979239e130 Fixed bug 1553 - Fix USB joystick input for FreeBSD 9.0+
REVERT: 0d5cf5e924 Updated the README.android file stating the required API level and reasons why.
REVERT: 24df19a3d3 Fixes AndroidManifest comment, Android API level 10 = Android 2.3.3
REVERT: 967e7efcc0 Adds some required CFLAGS and LDFLAGS for the iOS platform
REVERT: 2c077061e0 Fied bug 1719 - Remove unnecessary PrecompiledHeaderOutputFile.
REVERT: f8e304b6ed Added new tests to the .hgignore file
REVERT: 6a40ac979a Fixed bug 1740 - Android pixel format constants out of sync
REVERT: f7b0b73b64 Fix behavior of SDL_GetWindowPosition for invalid input; add test cases to video suite
REVERT: 4bb1b24573 Don't specify the texture unit when binding a texture, instead use whatever has been set up by the application. This matches behavior in the OpenGL and OpenGL ES 1.1 renderers.
REVERT: 7999859dda Fixed formatting
REVERT: 05a3ae94ae Fix compiler warning in Cocoa touch code
REVERT: 7da56d26dd Compile SDL on older versions of Xcode
REVERT: bb0752e573 Updated touch API * Normalized touch coordinates as floats in the 0...1 range * Removed unused touchpad concepts from the API * Added API functions to get active touch devices and current finger state
REVERT: 71ea3033fa Added a mouse ID to the mouse events, which set to the special value SDL_TOUCH_MOUSEID for mouse events simulated by touch input.
REVERT: c02018f852 Fixed the joystick id usage in the joystick and game controller events.
REVERT: c6dc8b64e7 Remove XSync from X11_GL_MakeCurrent() function
REVERT: 932ea49e88 Merged
REVERT: 5bf084a08b Merged changes
REVERT: afdba27236 Use XFree to release X11 allocated data
REVERT: 7c3f6dcb24 Fixed bug 1736 - Memory leak in X11_InitModes
REVERT: c6ac556871 The table is now a scancode mapping table, not a virtual key mapping table
REVERT: 1b30d1a566 Cleaned up and fixed the Windows keyboard mapping code. Use KP_PERIOD instead of KP_DECIMAL Don't remap keys which are always keycode named versions of scancodes
REVERT: 43f89a9836 Updated the link to the USB usage page document
REVERT: e23532eac2 Add additional input validation to SDL_GetWindowDisplayMode; add tests to video suite
REVERT: 176d7c570c sdl - check for both the up and down flags being set in the raw input calls. Also use WM_ACTIVE to resync mouse buttons on activate
REVERT: 6b945c8586 sdl - don't use the RAWMOUSE struct to get button press information, it lies badly to you, just use the usual windows message path
REVERT: f4e5303f46 sdl - use the wParam and rawinput data for mouse state rather than just the message type, fixes missing mouse up events when alt-tabing out of the window
REVERT: ee24414406 Generate debug info for all configurations on all platforms Turned off C++ exception handling for all configurations and all platforms Turned on comdat folding and optimized references for all optimized builds
REVERT: a5e77bb96f Unload the PulseAudio library if the pulseaudio connection isn't available.
REVERT: 90cde1bd46 Check to make sure we can connect to PulseAudio before we use it.
REVERT: 2204530a1b Fixed gcc pedantic warnings in public headers
REVERT: a2dccaee2b Fixed cygwin compile
REVERT: 1984b3b92e Fixes wrong assignment of SDL_Color "unused" member in DirectFB backend.
REVERT: 3269062684 Fix cygwin compile
REVERT: 7065167e8c Fixed bug 1728 - fixed compiler warnings
REVERT: e02925eca9 Cleanup of SDL_PrivateShouldInitSubsystem.
REVERT: 05631f0599 sdl - fix win32 mapping of alpha-numeric keys after scancode changes
REVERT: 383deb9a61 sdl2 - more scancode goodness, removing now dead wparam translation code - add scancode for SDL_SCANCODE_NONUSBACKSLASH - don't translate sdl key values for numeric and grave key
REVERT: ef5e7f5c65 sdl2 - fix ref counting on init, make sure you refcount each init calls and not just the first one
REVERT: a3482e3ac0 sdl2 - fix atomic header to compile happily under msvc 6.0
REVERT: cf58b77360 sdl2 - change the windows scancode logic to use the scan code value in lparam rather than VK's to get a stable scancode value across different KB layouts
REVERT: c5865bdd87 Add tests to video suite
REVERT: 95adf91d71 Don't crash if we are asked to convert a surface to a NULl buffer.
REVERT: ad1d82cf83 Added SDL_GameControllerUpdate().
REVERT: 4de257c5d2 Added SDL_haptic.h to SDL.h.
REVERT: a5862a96a3 Changed the game controller enum types to match SDL naming conventions.
REVERT: db73a392c2 Minor cleanup.
REVERT: 3d19f803d8 Added PS3 game controller config for Linux.
REVERT: e4ef7cba60 Made testgamecontroller minimally more useful.
REVERT: 6c4a53f561 Fixed a minor typo.
REVERT: 2452978990 Added an X360 game controller config for Linux.
REVERT: c63c6c5103 Removed duplicate include
REVERT: 22f666c86c Fixed compiling on older Linux systems without libudev
REVERT: 88be433255 WinRT: made the D3D 11.1 renderer respect the 'srcrect' parameter of SDL_RenderCopy
REVERT: 8a321ffe64 WinRT: made GPU shaders get compiled at a lower level, for compatibility: 4_0_level_9_1
REVERT: 8d55f67a2f WinRT: allowed for querying of max texture size (via Direct3D 11.1)
REVERT: 0a9710e1e5 WinRT: made the Direct3D 11.1 renderer correctly report its status regarding render-to-texture (not supported, yet)
REVERT: 0464946409 WinRT: moved the default vertex shader into the Direct3D 11.1 renderer's folder
REVERT: a53fe847a1 WinRT: cleaned up headers in src\video\windowsrt\
REVERT: 5520a12a33 WinRT: added support for alpha-blended texture rendering
REVERT: 76a8817338 WinRT: made mouse wheel motion increments more closely match their values on Win32
REVERT: 52fd9b7f71 WinRT: build fixes
REVERT: 776ebe3bda WinRT: merged with latest, official, SDL 2.x code
REVERT: c47e35498e WinRT: turned off some keyboard debugging code that got inadvertently left on
REVERT: 3b188bfa98 Removed local.properties from android-project folder
REVERT: 44ca4f35a4 WinRT: more minor code cleanups
REVERT: cb6f37ccf7 WinRT: minor cleanup in top-level app code
REVERT: 8afd520d29 WinRT: allowed setting the device rotation preference via SDL_HINT_ORIENTATIONS
REVERT: 5a61cb4234 Fixes Bug 1726 - Memory leak in X11_GetDisplayBounds
REVERT: c02c04cdba Backed out changeset 9fea506e48ab
REVERT: 9269a3af2e Allow SDL_AUDIODRIVER="pulse" to do the right thing.
REVERT: 0cc80148f4 WinRT: another device-rotation and rendering fix
REVERT: fed4aded8f Fixed bug 1474 - OpenGL renderer can't to display YV12 texture.
REVERT: aa427c702d Removed SDL_input.h from various projects
REVERT: 70132c66ae The input API was never implemented, so removing it before release.
REVERT: 7da5b83b75 Allow abbreviated strings to be used for driver names. This allows people to use "pulse" with both SDL 1.2 and 2.0
REVERT: 6e147b2087 Fix SDL_SetWindowSize on certain WMs.
REVERT: 72ec6bcbe2 Fixed bug where if X11 is not dynamically loaded, then we think none of the X11 modules are available.
REVERT: 6b7a2ee71b Fix bug 1723: flipped log text in audio suite - thanks P. Wiesemann
REVERT: cc3e8105ec We don't need no stinking pre-release version number! If we do end up needing something, we should use the Mercurial revision number.
REVERT: 1a4596d798 Fixed bug 1722 - An attempt to release NULL Direct3d surface
REVERT: 4a906d9edf WinRT: bug fixes for device orientation + Direct3D 11.1 rendering
REVERT: 19ff37c4b3 WinRT: made SDL_RenderSetViewport work with the D3D 11.1 renderer
REVERT: bafdb176fa WinRT: D3D 11.1 blending mode support added; FillRects coloring bug-fix
REVERT: a6c8d32843 WinRT: took out an unneeded depth stencil view from the D3D 11.1 renderer
REVERT: 8cd8501f09 Updated debian files to be consistent across SDL packages
REVERT: c895496828 WinRT: implemented SDL_RenderFillRect and SDL_RenderFillRects for the D3D 11.1 renderer
REVERT: 2563e36110 Fixed package name in the control file
REVERT: f142f09b1e Switched package name back, at the request of Manuel A. Fernandez Montecelo
REVERT: e19bbcffd3 Add tests to Video suite
REVERT: 36344c7379 Updated macro comment
REVERT: 0729af112f Switched debian package name to sdl2 Disabled most of the dynamic shared libraries so that the correct dependency set is created for the runtime package.
REVERT: 6e2c0511ee Added SDL license to Android clipboard implementation
REVERT: a1b447a13a Added license to Android power implementation
REVERT: 4d92d49a5f Added native Debian package information
REVERT: 95dcfa4c28 Happy New Year!
REVERT: 20cad0087c Missed a few files when switching to the zlib license
REVERT: b96060a11e bye bye test...
REVERT: adb36481d7 Final test?
REVERT: e60d50fe7d Deleted test files
REVERT: 8b33623d28 Test 5 2 lines
REVERT: 8e0200b925 We're no longer under construction
REVERT: 909068989c Updated documentation with info about the wiki We're no longer under construction, baby!
REVERT: 963c65929d Don't crash if we have the extension but couldn't load the XInput shared library.
REVERT: 73eaf569f4 Clear relative mouse mode and restore when bringing up sdl message box.
REVERT: edbd20ec34 Add tests to SDLtest suite
REVERT: db07aa4faf Added SDL_bits.h to the Xcode projects
REVERT: 6fee8913ec New SDL_MSBIndex, updated VS projects, cleanup gamecontroller.
REVERT: ea312e87fa Fix fuzzer random boundary functions; add tests for fuzzer
REVERT: d193b5e364 WinRT: made SDL_CreateRenderer default to using the SW renderer, for now
REVERT: 1d2bde7131 WinRT: fixed one scaling bug (more remain) in the Direct3D 11.1 renderer
REVERT: 5e66f60ffa WinRT: fixed bug: SDL_RenderCopy was always filling the entire screen
REVERT: e34e953eba Check bounds in SDL_IsGameController. Switch two functions to SDL_bool.
REVERT: 3e60f92228 Regenerate configure to enable dbus
REVERT: 48ce80d49a WinRT: made d3d 11.1 vertex buffers get created, and updated, when a render op is invoked
REVERT: ee501f4736        Fix another non-C90 variable declaration
REVERT: 2d5dc3c4ed Fix linker error for Win32 tests.
REVERT: 564d47f878 Fix build issue on Win/Haiku.
REVERT: f85aeb98c7 Don't clobber refcounting in SDL_Init.
REVERT: 781ab3764f Fix a corruption when you remove first joystick on Linux.
REVERT: 0f985feb15 WinRT: fixed bug: SDL_CreateWindow wouldn't work after an initial window was created + destroyed
REVERT: 7ecccf3fbd Bug 1703 - SDL calls a wrong JNI function on Android by Philipp Wiesemann
REVERT: a1afe6c175 tree 5b46fd5b8c94 parent 971b278f0756 author Edward Rudd <urkle@outoforder.cc> 1358022907 18000 committer Edward Rudd <urkle@outoforder.cc> 1358022907 18000 revision 6819 branch default
REVERT: c54822142d Fixed increasing the size of resizable windows
REVERT: eb63dcd330 Fixed mouse wheel delta on Windows
REVERT: 5f3f837a42 Fixed bug 1491 - Directx3d Crash on resize
REVERT: 0febc124d4 tree 83b195127130 parent 35774131eaaf author Edward Rudd <urkle@outoforder.cc> 1358013805 18000 committer Edward Rudd <urkle@outoforder.cc> 1358013805 18000 revision 6805 branch default
REVERT: 31abc7a80a tree e293c2b7fde8 parent d0a3ee09cf93 author Edward Rudd <urkle@outoforder.cc> 1358013809 18000 committer Edward Rudd <urkle@outoforder.cc> 1358013809 18000 revision 6806 branch default
REVERT: 754df984f0 WinRT: made SDL_RenderClear display the correct color via Direct3D 11.1
REVERT: 55865b3917 WinRT: emit SDL_MOUSEWHEEL events
REVERT: 805c1ffa95 WinRT: made mouse button events include the correct button type (left, right, middle, x1, or x2)
REVERT: 2649db8b65 WinRT: consolidated all WinRT path-retrieval functions into one function
REVERT: af0c2dad3d WinRT: fixed a crash that occurred after rotating the host device
REVERT: 8b75a125cc WinRT: made sure the device orientation transform gets applied (by the D3D 11.1 renderer) when drawing
REVERT: 46530ef818 WinRT: made use of SDL's framebuffer emulation code, instead of the custom stuff; then removed SDL_winrtrenderer
REVERT: ba872e50c7 WinRT: moved texture management code from SDL_winrtrenderer to the D3D 11.1 SDL_Renderer backend
REVERT: 43c3909acd WinRT: added SDL_WINDOWEVENT_RESIZED support, and moved window-resize-handling code from WinRT rendering code to D3D 11.1 code
REVERT: 0408a58b16 WinRT: more code-moving from WinRT code to Direct3D 11.1 code
REVERT: 587165bdd6 WinRT: made the Direct3D 11.1 renderer directly initialize more of itself, rather than deferring to code in the WinRT video driver
REVERT: 9df73a8ba1 WinRT: more work on moving rendering code from SDL_winrtrenderer.* to SDL_render_d3d11*
REVERT: 4b6b1755fe WinRT: provided access, via SDL_GetWindowWMInfo, to SDL's WinRT CoreWindow
REVERT: 0bc7f7eac8 WinRT: more code-moving from SDL_winrtrenderer* to SDL_render_d3d11*
REVERT: 7eee7ec08f WinRT: Windows Phone build fixes
REVERT: 47036f380f WinRT: removed some now-unnecessary file loading code
REVERT: 8885ad92d2 WinRT: made renderer init code be synchronous for now, in order to make error handling be a bit easier in the near future
REVERT: ce927b6d43 WinRT: fixed an odd path retrieval bug
REVERT: e3d03f99fd WinRT: added a function to retrieve the root path to the installed app
REVERT: 1be3dc9512 WinRT: made path retrieval functions return NULL on Windows Phone whenever said data isn't available
REVERT: 31e3d85727 WinRT: made path retrieval functions return wide-char strings
REVERT: e14a2fd8b6 WinRT: use OS-native vsnprintf, which allows SDL_Log to format wide strings (via %ls)
REVERT: b9299763b6 WinRT: moved a bit more Direct3D 11.1 code into the SDL_Renderer backend
REVERT: f7b08ae60b WinRT: started refactoring Direct3D 11.1 code into a new SDL_Renderer backend
REVERT: 53ce1e6ab7 WinRT: Windows Phone fixes.  SDL can now display images, and respond to input, on Microsoft's Windows Phone 8 emulator.
REVERT: cb26260357 WinRT: re-added SDL's MSVC project file, which I accidentally deleted (oops!)
REVERT: a1ef55a6f7 WinRT: added Windows Phone 8 project files, and got SDL compiling under them
REVERT: 62303fa63a WinRT: made project file name include "WinRT", in order to make it distinct from a future WinPhone project
REVERT: 240e6d6b71 WinRT: separated Win32 and WinRT project files
REVERT: 499746bea9 WinRT: made the grave/tilde key work
REVERT: 82b19786d3 WinRT: got backslash keys working, at least on Win8 in a Parallels 8 VM
REVERT: 5a354ebb69 WinRT: minor comment change to keyboard code
REVERT: fe5d1f4c32 WinRT: made use of Win32 key codes if and when a documented WinRT key code can't be found
REVERT: 37f50a4f25 WinRT: hack-fixed a bug whereby SDL_UpdateWindowSurface would fail if the app was hidden, then re-shown
REVERT: 8620bcfefe WinRT: minor, MSVC project file cleanup
REVERT: 61cc1f3aa4 WinRT: added platform-specific APIs to access common, writable folder paths
REVERT: 1fcdc86757 WinRT: created sections/filters to organize the MSVC project a bit more
REVERT: 10e7b5696f WinRT: added a keyboard mapping for the Backspace key
REVERT: 12cc058140 WinRT: emit SDL_WINDOWEVENT_SHOWN and SDL_WINDOWEVENT_HIDDEN
REVERT: ebb98e824c WinRT: converted tabs to spaces in src/video/windowsrt/*
REVERT: 219f50d87e WinRT: send window 'minimized' and 'restored' events for app-suspend and app-resume.  Use SDL_AddEventWatch() to receive these.
REVERT: 9bb95ef16a converted tabs to spaces in iOS/UIKit PumpEvents code
REVERT: 78b69734b8 Fixed bug 1679 - Error in buffer size setting in Haiku/BeOS audio driver
REVERT: b836001559 Hopefully fixed the last of the C variable declaration problems which caused compile failures with Visual Studio.
REVERT: 8af5f8ee18 Fixed double-default case
REVERT: 11176cfece Fixed compiling SYN_DROPPED with older kernel headers
REVERT: cf60f13a01 Fixed compiler warnings
REVERT: 57163e457f Fixed C variable declarations
REVERT: a4a01c70db Backed out use of @autorelease keyword for now, since it's not supported by older Xcode versions.
REVERT: d36265107b Backed out use of @autorelease keyword for now, since it's not supported by older Xcode versions.
REVERT: e2aa9f0afb Fixed compiler warning (and undefined behavior) in game controller event filter.
REVERT: 8ec12be05a        Workaround for NVIDIA bug in glXSwapIntervalEXT.
REVERT: 354604b7bb Patch - Joystick coef[] doesn't support dial with low number of positions.
REVERT: 7b84e779ec Fix for dropped joystick events contributed by Simon <simon@mungewell.org>
REVERT: b73214bd02 tree 97aca305664b parent 6a9ca692cd65 author Edward Rudd <urkle@outoforder.cc> 1358030048 18000 committer Edward Rudd <urkle@outoforder.cc> 1358030048 18000 revision 6822 branch default
REVERT: 290c391df5 tree 0c86a223596d parent 44e12dd8ee8e author Edward Rudd <urkle@outoforder.cc> 1358030047 18000 committer Edward Rudd <urkle@outoforder.cc> 1358030047 18000 revision 6821 branch default
REVERT: 65399f4c26 tree 8cbca1e6b293 parent 7ddddb71cec9 author Edward Rudd <urkle@outoforder.cc> 1358030045 18000 committer Edward Rudd <urkle@outoforder.cc> 1358030045 18000 revision 6820 branch default
REVERT: 831e12e08b Fixed building SDL under Xcode
REVERT: da76be8927 Add SDL_test test suite; add fuzzer test cases; fix fuzzer bug; fix compiler warnings
REVERT: 4e861f19ca Fixed bug 1711 - Comment in "manifest" element within android-project/AndroidManifest.xml is the source of troubles
REVERT: 069a2cce76 Fixed bug 1682 - Resize collapses window instantly to a size of 0 x 124.
REVERT: 352adba2df Fixed bug 1689 - Leaks galore in OS X Cocoa code.
REVERT: 079d0ee977 Add defines to disable setlocale and fork. Disable that code by default for now.
REVERT: f398faa548 Use left facing arrow instead of right facing arrow for system cursor.
REVERT: 9c258124d5 Use clang on Mac OS X, which is required for the @autorelease keyword
REVERT: 929560081c Replaced manual NSAutoreleasePool handing with @autorelease
REVERT: e1f76ef0ea Fixed setting the GUID for Bluetooth joysticks
REVERT: ade15e571f Add tests to audio suite; update harness filter logic
REVERT: 0c9fca187f Don't reset the mouse, that's actually bad behavior most of the time for windowed applications.
REVERT: 9e1dc0a80d Fixes potential global reference leak on Android, by Philipp Wiesemann
REVERT: 02db40b1b2 Updated build settings to use standard architectures
REVERT: 4809ef4290 Fixed typo in documentation
REVERT: 22321b18ef Fixed direction of rotation with OpenGL ES 2
REVERT: 2420aca939 #1702,Android soft keyboard fails to pass all input, by Jonathan Dearborn
REVERT: 4cec546dca Fixed crash when the game controller mapping hint is set - the hint was duplicated and not null terminated.
REVERT: 2e9dea31c5 Add mouse tests; update test suites
REVERT: 896befb67b Add tests to mouse suite; fix VS compiler warnings in tests
REVERT: bd462555d7 Fix warning in SDL_keyboard.h
REVERT: b507ef3afa Add additional input validation to SDL_BuildAudioCVT; add additional tests to automation (audio, rwops)
REVERT: 10fe9cd26f Added a newline to test buildbot and mercurial server upgrade.
REVERT: d41de59fc9 Cleaned out a few C++ single-line comments.
REVERT: 09cbdb12c9 Fixes bug 1696, thanks Paul Geerts! Also adds a bit of information about asset loading on Android.
REVERT: a971c6b291 Added timer test suite
REVERT: 02493c6188 Fix RWops test suite crash on Linux: remove unnecessary fclose
REVERT: 3bc9dbe16c Add input validation to SDL_GetKeyFromScancode; fix compiler warning in testautomation driver on Linux; update keyboard test suite
REVERT: 175511b1a0 We don't have Visual CE support anymore
REVERT: b4a190fb6f Update SDL_InvalidParamError to take param name; add additional fuzzer function; add new tests to keyboard test suite; improve surface test suite
REVERT: c1e8384624 Fixed logic bug.
REVERT: 89124cba8b Fix a memory leak. We need to clean up our autorelease pool code at some point.
REVERT: a20096403e Add new internal error message for invalid parameters; add validation of input rect in SDL_SetTextInputRect; add test cases for SDL_SetTextInputRect to keyboard suite
REVERT: 054a17097d Added 3 more test cases to keyboard suite
REVERT: 678523ea7c Android: Access APK files using AssetFileDescriptor
REVERT: b2b90c9f49 Fixed SDLActivity::audioInit return type, thanks Andreas!
REVERT: 17b81066ba Merged with tip
REVERT: 71eabe59cb Add a few keyboard tests; fix missing input validation in SDL_GetKeyFromName
REVERT: 070defcf11 Fix Audio Buffer allocation on Android >= 4.2
REVERT: 5220df817b Add new test suite (mouse) with a few new tests
REVERT: 687ba034f6 Add new test suites (events, keyboard, syswm, video) with a few new tests each
REVERT: c412071894 Fix VS buildbot builds
REVERT: e225eb7390 Fix VS2010 and VS2012 solutions.
REVERT: 1ce8f1c824 WinRT: added support for the SDL_loadso APIs, via LoadPackagedLibrary
REVERT: cc456a7516 WinRT: added a note to try removing some WinRT-specific code from SDL_xaudio2.c
REVERT: 0b7cfac19e WinRT: fixed XAudio2 crash bug + enabled XAudio2 backend
REVERT: 0d14e78972 WinRT: scaled relative mouse mode values from the native screen size to SDL's window size
REVERT: 69ff35e153 WinRT: added support for SDL_SetRelativeMouseMode
REVERT: 3067058b0d Fixed compiler warnings in edid-parse.c
REVERT: 1610041e3c Implemented SDL_GetDisplayName() for X11, which requires the XRandR extension. It turns out there's all kinds of good information in the EDID data for a monitor...
REVERT: 290bbdda14 Fixed bug 1653 - comma at the end of enum
REVERT: 088842729f Corrected call to glXMakeCurrent() when setting a NULL context.
REVERT: 0c7ab10e80 Implemented getting the display name on Windows
REVERT: b1185a32e3 Fixed bug 1616 - SDL does not use values set with SDL_GL_SetAttribute on Android
REVERT: 69c062e757 Fixed bug 1671 - add cast to fix build with strict GCC settings
REVERT: 441cba9b55 Fixed bug 1672 - Found: seg-fault with testgesture
REVERT: 49bf362b10 Fixed building tests with Visual Studio 2008
REVERT: 1a92f18381 Added SDL_SetWindowMaximumSize() and SDL_GetWindowMaximumSize() Also fixed Cocoa implementation so that it affects client area, not the whole window area.
REVERT: ce28a79602 Added SDL_GetDisplayName(), with implementation for Mac OS X
REVERT: 5e519b21ed Renamed SDL_GetWindowDisplay() to SDL_GetWindowDisplayIndex()
REVERT: ac0f89315c Switched the test code over to use the common functions in the test library.
REVERT: f367ee7277 Implemented SDL_HINT_ALLOW_TOPMOST for the Cocoa video driver
REVERT: 13fe19497e Added --fullscreen-desktop option to test the new SDL_WINDOW_FULLSCREEN_DESKTOP functionality
REVERT: f4294fd806 Improvements from Alfred: - Added new SDL_HINT_ALLOW_TOPMOST hint, when set to "0" then never set the topmost bit on a window. Useful when debugging fullscreen issues. - fixed crash in windows joystick scanning if we failed to load the xinput dll - added support for SDL_WINDOW_FULLSCREEN_DESKTOP under windows - synthesize relative mouse movements if directinput fails to send relative moves, happens under virtual box.
REVERT: 1b938d7de2 Fix incorrect use of SDL_FreeRW in rwops suite; add testcase for SDL_AllocRW/SDL_FreeRW to rwops test suite
REVERT: 485dd6420e Add define to surface suite to quiet VS compiler warnings
REVERT: 1ab1039416 Add missing VS project dependencies to fix buildbot build; fix surface suite; minor update to rwops suite
REVERT: 40c14b85a8 Add testautomation to VS project; remove automated from VS project; minor update to platform suite
REVERT: da7983235f Better compiler warning fix for gcc2.
REVERT: cfbe53d1df Fixing buildbot on Haiku.
REVERT: db5b89f13f Don't crash if loading the OpenGL library fails
REVERT: fc98164d8d Replaced Gnome screensaver hack with D-Bus messages to org.gnome.ScreenSaver.
REVERT: 9ddb1f459d Add surface test suite; minor improvements to render suite; refactor image saving into test lib compare function; fix for Haiku build
REVERT: d9a9083464 Added audio test suite; minor code cleanups in test lib
REVERT: 2e4dc511a0 Fix compiler warning; minor harness driver cleanup; fix test build for SDL versions compiled with --disable-joystick or --disable-haptic
REVERT: 1b63b3fd52 Reorder test lib use to fix build for some compilers
REVERT: fff2381298 Added the automation test to the autoconf build system
REVERT: b11f967898 Fixed const correctness in the test harness
REVERT: a7b1d9f530 Added the test library to fatbuild
REVERT: acdd875c64 Fixed bug in SDL_strcasecmp() with strings of different sizes
REVERT: f1d2b88a2f Merged Andreas' changes
REVERT: 81eb615d45 Test lib updates: updated harness to support filtering, added surface comparer, updated interface to test images; added Render test suite from GSOC project
REVERT: 062602b52b The latest version of MinGW-w64 has the necessary headers and libraries: http://mingw-w64.sourceforge.net/
REVERT: f5af517cd2 Add image data definitions (for render tests) to test lib
REVERT: 02c860852a Patched to compile when SDL_ASSERT_LEVEL is zero.
REVERT: fa5fe44bc0 Port clipboard and rwops test suites from GSOC code; minor updates to harness and fuzzer in test lib
REVERT: 643b3f0a30 WinRT: merged with the latest official SDL source
REVERT: 028182452b WinRT: fixed a build error caused by a reference to a missing and unused header file
REVERT: ec4cfa8c73 SDL_assertion messages use "\n" instead of "\r\n" on non-Windows platforms.
REVERT: c2ec53f4fa X11 messageboxes should treat "\r\n" as "\n" by ignoring the '\r' char.
REVERT: adefd543ce Fixes in harness and fuzzer test lib components; improve harness driver; add rect test suite
REVERT: a6185d6ad9 Refactor/fix test lib harness, assert and log component; add harness driver; port platform suite from GSOC code
REVERT: dfe7f2bc59 Improvements from Alfred: - Add new SDL_WINDOW_FULLSCREEN_DESKTOP video mode, makes a fullscreen window the size of the desktop (i.e no window manager mode change) - Fix crash in warp mouse if you specified null as the window - Added new SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS Hint, if set to 0 then don't minimize a fullscreen window on focus lost (if not set or set to non-zero then minimize on focus loss)
REVERT: 29bfd0ab48 Load the runtime udev library, not the development one.
REVERT: 80493dfae0 Only check SDL_SYS_JoystickNeedsPolling() if we know we don't need to poll for other reasons.  This avoids a select() syscall on Linux if it isn't necessary.
REVERT: 6b4cb17219 Corrected Linux joystick things, fixes assertion failure from testjoystick.
REVERT: d2b1601539 Corrected device instance value for Linux joysticks.
REVERT: 79bd6b2b7d Added missing SDL_gamecontroller.h to the Mac OS X project
REVERT: 22f3f2b927 Fixed compiler warning.
REVERT: 7cb9995377 Minor sanity checking and tweaks in SDL_JoystickGetGUIDString().
REVERT: c773de800d Patched testjoystick.c to compile.
REVERT: 3da6d29ab7 Fixed comment on SDL_JoystickGetGUIDString().
REVERT: 2d04749a9c Fixed building joystick code on Mac OS X
REVERT: 5f53c47559 Fixed joystick GUID renaming for other platforms
REVERT: af4d258edb Fixed compiling Linux code
REVERT: 71f9f9517c Don't build with X11 by default since it's not included with the latest versions of Mac OS X.  Cocoa is the preferred path here.
REVERT: b92a0f20b1 Fixed permissions on test file
REVERT: 3899bd164f Fixed permissions for code generation scripts
REVERT: 5ef567b795 Fixed permissions on joystick files
REVERT: 89ef9e3168 Changes from Alfred: - rename JoystickGUID -> SDL_JoystickGUID - change SDL_JoystickGetGUIDString to take the string as an arg, rather than doing a malloc
REVERT: 6b3312c807 Updated configure with libudev detection
REVERT: a8fab2d5bf You can get window events after shutting down the window, so don't abort the program if that happens.
REVERT: 5417afcf11 Don't spam events if the axis values haven't changed
REVERT: c8713a62c1 Updated Linux joystick code to support hotplug, GUIDs, etc.
REVERT: 41a157a462 Print stick GUID in testjoystick.
REVERT: ba2a2af364 Don't hang testjoystick if we failed to open the device in the first place.
REVERT: f8eaaf3a51 Cleaned out tabstops, other minor style nitpicks.
REVERT: 0b1237e790 Allow testjoystick to quit, instead of looping on hotplug events forever.
REVERT: d935bb9d4d Removed old Linux joystick API (/dev/js*).
REVERT: 0dc1a837b5 Removed the "logical" Linux joystick code.
REVERT: b96cbdd3a5 WinRT: fixed a window-surface-updating bug (WinRT/DLudwig #25, http://bit.ly/RkawRR)
REVERT: 84aaf1fed9 Added existing common.c/.h functions to test lib; minor assert refactoring
REVERT: de32627287 Fork a child process for X11 message boxes, so setlocale() doesn't break stuff.
REVERT: f584f9e554 astyle to the rescue!
REVERT: f34e7b4ce0 X11 msgbox: try to protect the existing setlocale() state.
REVERT: 2c1f08ae4b X11 message boxes should work with UTF-8 strings if possible.
REVERT: 60a837b5aa testmessage should test Unicode strings.
REVERT: 23ed51ea1b Added to harness in test lib (work in progress)
REVERT: 06373c36da WinRT: added cursor visibility toggling, and system cursor creation
REVERT: a75e9f5b1a Update prototype in surface.c to fix xcode build after last change.
REVERT: fb3b70940c Update VS2012 solution - add missing files; fix some static analysis warnings
REVERT: d4bfe07a4f Update assert API in test lib; add to and harness; add test lib to VS2010 and VS2012 solution; fix VS2012 solution; fix compiler warning
REVERT: a8af7eca89 Add log, assert and harness (partial) to test lib
REVERT: 6ac6dd737a Move all DirectInput code from DI2 to DI8.
REVERT: 0b8d0b3c80 Print the list of audio drivers so you can try each one
REVERT: 8042e18f9a Fixed bug 1641 - avoid allocating nsstring from char*
REVERT: 7daed4ab7b Add crc32 and md5 to test lib
REVERT: 556c764047 Fixed crashes in new joystick code
REVERT: 732f28216b Add fuzzer to test lib
REVERT: cf4a5b5570 Alfred Reynolds - add scanning of XInput for controller connectedness so we can detect when the wireless controller turns on and off, the usb side doesn't change when the controller goes away
REVERT: 9ab24950fc Fixed compiler warnings
REVERT: b165aa8c74 Fixed compiler warnings
REVERT: 03e08a6a79 Organized joystick hotplug code a bit. Cleaned up names, return types, etc.
REVERT: 1898cc34ab This should really fix it..
REVERT: 50a56c026a Fixed building with joysticks disabled
REVERT: 532e63b3f3 Merge
REVERT: 57259c85de Fixed Visual Studio 2008 build
REVERT: cf0dfcbaa4 Fixed unused variable warning
REVERT: 86e0e26475 The XInput code is only available in the DirectInput joystick driver.
REVERT: 27d81d93e4 Hopefully fixed BSD joystick code
REVERT: 3483eda505 Add random module to test lib
REVERT: c9f59a287d Completed adding new hotplug stubs for the joystick implementations
REVERT: a8966c167e Updated BSD joystick code for the new API
REVERT: 3f29ebe82f Return an error if the joystick index isn't 0 on Android
REVERT: c6918ae961 Fixed building joystick code on Android
REVERT: 1e63f1c322 Fixed building new joystick code on Mac OS X
REVERT: 968ccf93b1 Fixed iOS joystick support for new API
REVERT: ebdb9d4f98 Revert incorrect change to automated_VS2010
REVERT: 3765f3223a Fixed joystick attached API call on Linux
REVERT: 34b88dfaae Added hotplug joystick support and simplified game controller API, courtesy of Alfred Reynolds
REVERT: 2a4a81ad63 Include all the test headers in the test library header install
REVERT: 022b2a3cc4 Merged with latest official SDL code
REVERT: 59a04adfba Work in progress on an SDL test library
REVERT: b1d3c334c6 Fix VS2012 solution; remove accidentally submitted .patch file
REVERT: 9c173dcc1d WinRT: fixed incorrect cursor positions when using non-native screen resolutions
REVERT: 377091d020 WinRT: minor code cleanup regarding some variable names
REVERT: ba39e2a229 WinRT: removed unneeded Direct3D stencil buffer code
REVERT: 3ae66245a7 WinRT: video code cleanup: combined files Direct3DBase.* and SDL_winrtrenderer.*
REVERT: 59cb7e8c49 WinRT: made the WinRT video driver report its name correctly
REVERT: 0ff4b61687 WinRT: allow windows in non-native screen sizes. Scaling is applied for such.
REVERT: 6e713b5e0f WinRT: fixed Win32 compile error in XAudio2 backend
REVERT: 615aeebd1a WinRT: fixed Win32 builds by prevented __WINRT__ from being defined
REVERT: 7694b94cfc Don't run the game loop while a messagebox is up
REVERT: a83b10fba8 WinRT: got timers working
REVERT: afa31553cd WinRT: cleaned up SDL_platform_windowsrt.h
REVERT: d966870bc6 WinRT: disabled the XAudio2 backend, pending work on stability and quality
REVERT: be90b123c3 WinRT: got XAudio2 sort-of working (it plays stuff poorly, then crashes)
REVERT: 2fde6ac33b WinRT: added a functional threading backend using C++11 apis
REVERT: bc67a6617f WinRT: made testthread to use SDL_Log, not printf or fprintf, for MSVC++ logging
REVERT: 076650c286 WinRT: cleanups in SDL_platform.h
REVERT: 7a24dc071b WinRT: made the skeleton C++11 thread implementation use .cpp files, not .c
REVERT: e4c6ec5708 WinRT: added a skeleton SDL backend for C++11-based threads
REVERT: c10e89fd58 WinRT: pseudo-implemented SDLmain for WinRT. It has to be compiled directly into apps, for now.
REVERT: 764aeee2b7 WinRT: modified the loopwave test to run if and when argv is NULL
REVERT: c4d055488f WinRT: got the XAudio2 backend compiling (but not running, yet)
REVERT: 7fe2bdd83a WinRT: made SDL_platform.h auto-detect WinRT
REVERT: 6613556cc1 WinRT: added a VC++ 2012 project to help compile the loopwave test
REVERT: 3c39c55906 WinRT: got SDL_UpdateWindowSurface working, rudimentarily
REVERT: 4686ec5943 WinRT: added code to update the main texture on each frame with dummy data
REVERT: e5b56efc86 WinRT: removed now-unused 'color' parameter from shaders
REVERT: e7cfa06cb7 WinRT: made the fullscreen display be backed by a texture
REVERT: 295d3e1ab2 WinRT: included shaders in SDL library (moved from SDLWinRTTestApp)
REVERT: 48df03fc3a WinRT: minor code cleanups
REVERT: 02e3f18277 WinRT: removed unused 4x4 matrix code from SDL_winrtrenderer
REVERT: 282e04fdbd Merged with local changes
REVERT: aea759fc68 WinRT: started work on renderer by getting Direct3D 11.1 to display a single, fullscreen rectangle
REVERT: 6db1ac4bad Merged with latest official SDL sources.
REVERT: 414515401f Fixed command line parsing for applications defining UNICODE
REVERT: 1f8c1bd271 Already fixed the Android/iOS event initialization
REVERT: eda1373611 We can't check for the screen keyboard in the event code because the video system isn't fully initialized yet.
REVERT: 9144abbf82 Added VS2012 project files
REVERT: 6e2b3886a8 Leave text input enabled unless text input shows some on-screen UI elements
REVERT: 80c4c387ed Neither Windows nor Linux allow dragging out of the window without some sort of mouse capture, so for now punt on that behavior.
REVERT: 138cd7fa11 Reset the mouse button state when losing mouse focus. Implemented mouse focus handling entirely using mouse motion events, with SetCapture() semantics, as long as the windowing system continues to provide mouse events.
REVERT: ea720974f5 Reset the keyboard before we lose focus so the correct window is listed in focus events.
REVERT: 5cfc2f618a Improved default behavior for pause/resume on Android
REVERT: dfe2a0ac23 Fixed bug 1635 - SDL_ConvertPixels - missing break
REVERT: b9ad4410f8 SDL no longer grabs the keyboard by default on X11. You can re-enable that functionality by setting a new hint SDL_HINT_GRAB_KEYBOARD
REVERT: 7f73dcd4f6 Reset the keyboard when we lose input focus
REVERT: 6b50a0eb68 Don't lose focus if a child window gains focus
REVERT: 209fc0f3aa Fixed XBadWindow error when iconified under Unity3D Apparently the root window changes in this case.  We want to send to the root window that is being listened to by the window manager, so this should be okay.
REVERT: 78cc7c710f Added new test to ignore list
REVERT: f159731556 Yes, you should customize AndroidManifest.xml
REVERT: f458518119 Add a real fullscreen video mode on Android.
REVERT: caf0404b85 Added SDL_ReadU8() and SDL_WriteU8() for consistency with the rest of the API.
REVERT: e7b4458d8b Synchronized the on-screen keyboard state with whether we are accepting text input. The functions to show/hide/toggle the on-screen keyboard have been folded into the text input state. Calling SDL_StartTextInput() will automatically show the on-screen keyboard if it's available. Calling SDL_StopTextInput() will automatically hide the on-screen keyboard if it's available. There is a new API function SDL_IsTextInputActive() which will return whether text input is currently active. Text input is disabled by default, you must call SDL_StartTextInput() when you are ready to accept text input. SDL_HasScreenKeyboardSupport() no longer needs to be passed a window. The iPhone-specific on-screen keyboard functions have been removed.
REVERT: 2228e50b28 Whitespace cleanup
REVERT: 6fa22fc9db Added link to the emulator info, which is extremeley useful for testing OpenGL ES 2.0
REVERT: b950bcbbab Added mouse emulation for touch events on Android.
REVERT: dcc4ab558c Added information on running valgrind on Android
REVERT: 77dbd7ef65 WinRT: build fix for SDL_assert.c
REVERT: 1f72429d41 merged with latest sources
REVERT: 1350bd023b WinRT: fixed SDL_main-related linker error when __WINRT__ is defined in an app
REVERT: b6409c551c Added documentation on loading assets on Android.
REVERT: 8e886bcdeb Cleaned up OpenGL initialization a bit so we fail if we can't create a surface.
REVERT: 5939e8424f Merge with latest, official SDL code
REVERT: eb890561fb WinRT: added key event support for most WinRT/VirtualKey-based keys
REVERT: 175397ca41 Fixed symbol typo.
REVERT: 5558c97e6a WinRT: fixed bug whereby attempting to create a 2nd window (which intentionall fails, for now) would cause mouse input to stop working
REVERT: c80b755392 WinRT: explicitly allowed only one window at a time, pending multimonitor support (in SDL/WinRT)
REVERT: 06dee49efa WinRT: SDL_GetWindowSize and SDL_MOUSEMOTION works, and cursor position data is now attached to mouse button events
REVERT: 9dfe3da5aa WinRT: added mouse button event support
REVERT: c5a3281bc7 WinRT: made SDL_PumpEvents() work, in theory
REVERT: b95133f5b5 WinRT: removed an unneeded class created by MSVC 11's Direct3D template app
REVERT: 75ffd25009 WinRT: made the device's screen size be retrieve-able via SDL_GetDisplayMode()
REVERT: 4c0105454c WinRT: made the WinRT video driver always be initialize-able
REVERT: 431ac0d7f5 WinRT: created a skeleton for a video driver, using a copy of the dummy driver for a base
REVERT: 231705e6b9 WinRT: disabled threads to prevent SDL_Init(SDL_INIT_VIDEO) from crashing
REVERT: a7a2a0130a WinRT: made SDL_Log output to Visual C++'s debug console (via existing Win32 code in SDL)
REVERT: dafab5003b WinRT: got a C-style main(int,char**) function to be called on app init
REVERT: acf28c2004 WinRT: removed some debugging code I added in earlier
REVERT: dc1da2a251 WinRT: moved contents of platform-specific SDLmain into SDL.dll, where it should probably have been in the first place
REVERT: 0821c8bc81 WinRT: created SDLmain library using most of VC++ 2012's template for Direct3D 11 apps.  Most of this will be moved into SDL itself.
REVERT: b513e6f8f0 WinRT: made SDL.dll compile for ARM (and not just x86 or x64)
REVERT: 020c3bed8c WinRT: used Win32-style DECLSPEC and SDLCALL macros (for building a .dll)
REVERT: e3403d3a25 Fixed compiling fseek64o on Linux systems
REVERT: 9bd6a89040 Added an API to get the size of a file - WARNING! ABI CHANGE!
REVERT: 732a5d8165 Whoops, let's not redefine the actual symbol.
REVERT: 20144052f8 Make Linux dynamically look up pthread_setname_np() for older glibc compat.
REVERT: 4256fc36c0 Cocoa_ShowMessageBox() should call Cocoa_RegisterApp().
REVERT: dbbd206084 X11: Handle _NET_WM_PING protocol, so window manager knows when app is hung up.
REVERT: d7d06ad754 WM_DELETE_WINDOW should check that the event message_type is WM_PROTOCOLS.
REVERT: 9baa49f61c More compiler warning fixes.
REVERT: 88255b03b8 Fixed compiler warnings about "/*" inside a multi-line comment.
REVERT: 6f52124aad Fixed bug 1632 - iOS CoreAudio doesn't close
REVERT: 2ee48c6885 Try opening relative path files from internal storage.
REVERT: 35f0215807 Simplified the manifest a little - we don't need a Java class in there. :)
REVERT: 0b1b6adb77 Updated the Android project template and README.android Added information on how to customize your application name and icon. Added information on using STL with an Android application Increased the minimum API level to 10, because that's the lowest API that currently has an emulator image for testing.
REVERT: ffc1360d69 Added some platform specific API functions for Android: SDL_AndroidGetJNIEnv() SDL_AndroidGetActivity() SDL_AndroidGetInternalStoragePath() SDL_AndroidGetExternalStorageState() SDL_AndroidGetExternalStoragePath()
REVERT: 1f23677ce4 Try opening the file path directly before hitting the asset system.
REVERT: 68ee3bad84 Allow playing iPod music in the background of SDL applications. You can always change your audio session category afterwards if you want custom behavior.
REVERT: 9549fda7e0 We might actually have PI
REVERT: 2cc01af9ba Works better when you put it in the right file.  :)
REVERT: 3a10b3e14d One more OS X PowerPC build fix.
REVERT: a65b90e7a1 Fix Mac OS X PowerPC builds, I think.
REVERT: a523596bb0 Maybe fix PPC build error?
REVERT: 6d8f54f9cd Updated the Visual Studio 2010 project with the new message box functionality.
REVERT: 61980fd438 Switched assert system to use new message box functionality
REVERT: f8a4c99701 Added Windows message box implementation, but it needs a little work on layout.
REVERT: 0d419a6832 Added UIKit implementation of SDL messagebox
REVERT: 052b7af3b3 Added Cocoa messagebox implementation to the OSX Xcode project
REVERT: d8679eeba3 Added Cocoa message box implementation
REVERT: 8850825033 Added an assert log category, and NSLog support on Mac OS X and iOS
REVERT: 57f18e2fc2 Use the correct variable for the button spacing (even though they end up being the same thing)
REVERT: d44d7c1989 tree 46b4d59cbfb1 parent adac5aad395d author Edward Rudd <urkle@outoforder.cc> 1351362890 14400 committer Edward Rudd <urkle@outoforder.cc> 1351362890 14400 revision 6611 branch default
REVERT: cec424390e Added some documentation on the behavior of SDL_ShowMessageBox()
REVERT: 14d82357b2 Need to use the new UCS-2-INTERNAL encoding for windows strings
REVERT: debf91fba3 Don't try to create an OpenGL window if we can't load the OpenGL library.
REVERT: 75cb962de6 It turns out that UCS2 and UCS4 are defined as big-endian encodings
REVERT: 23bc30c0d9 Turned off the install flag for the static library because we don't want it getting into application distribution packages. Added SDL_x11messagebox.c to the static library target
REVERT: 3237a85e0f Added new message box API to Xcode projects
REVERT: a5012feba8 Needed to add SDL_messagebox.h to installed headers
REVERT: fdcc65bafa Updated to newer autotools
REVERT: 3c2c25f6eb Really fixed the Mac build this time.
REVERT: b9759c0757 Fixed Mac OS X build
REVERT: a7b4572eb2 Fixed tab spacing
REVERT: 227bb9413f Added API for simple messagebox, courtesy of Mike Sartain
REVERT: 41cb1847ac Fixed building testjoystick
REVERT: 84f8b46a46 Fixed running SDL on older versions of Mac OS X.  pthread_setname_np() was introduced in 10.6.
REVERT: 31f2a3ab03 Updated the copyright date on the default config file
REVERT: 60dee64efe Fixed check for SDL_ttf with SDL 2.0
REVERT: 59f291a1a3 Remember what finger was used for left button down and only send mouse events for that finger.
REVERT: 995e8dc838 Switch C++ comment to C comment
REVERT: df0e5d1844 Fixed another gcc <-> Visual C++ ABI issue
REVERT: 423c05313b Make it possible to build a DLL with mingw that's ABI compatible with Visual C++ built applications
REVERT: f9ee105b99 We have to fix the DLL name convention on Windows every time...
REVERT: 1d1b6a9211 Added patchlevel to version number
REVERT: 95f7d7f42c tree fc1a744f184c parent 88580fa6c549 author Edward Rudd <urkle@outoforder.cc> 1350500791 14400 committer Edward Rudd <urkle@outoforder.cc> 1350500791 14400 revision 6592 branch default
REVERT: 7566a36cb4 tree 451ddf291d85 parent 7925f0f43dc4 author Edward Rudd <urkle@outoforder.cc> 1350500747 14400 committer Edward Rudd <urkle@outoforder.cc> 1350500747 14400 revision 6591 branch default
REVERT: 60cb5a5229 added missing Visual Studio 2012 .sln file for WinRT
REVERT: 8eb16c7d58 reverted a minor, unnecessary change in SDL_rwops.c that was done with regards to WinRT compilation
REVERT: 54b4201aa0 Got a bare-bones version of SDL compiling for Windows RT.  Dummy drivers are used in some places.  Very little Windows-specific code (from the Win32 version of SDL) is used.
REVERT: 95fc405a61 added Visual Studio 2012 projects for SDL and SDLmain (but not tests)
REVERT: 273b32b983 merged with the latest, official, SDL 2 sources
REVERT: 5f95577464 Updated the limitations and Game Center sections
REVERT: 211e6c359c Allow events at startup so we don't lose important events like SDL_DROPFILE
REVERT: 40117e88dc Implemented drop events in iOS
REVERT: 612c9439a4 Updated testjoystick for SDL 2.0 API - patch from simon
REVERT: b1a587fdf7 The logical size set for a render target is temporary and shouldn't conflict with the logical size set for a window.
REVERT: ea15505815 Don't use the --no-undefined linker option yet, it doesn't build on OpenBSD and BeOS.
REVERT: 015f8a0971 Fixed a bug resetting the viewport with a render target.
REVERT: 59fea78fe0 Added SDL_GetRenderTarget() API function Also fixed a bug with setting logical size for a render target.
REVERT: f89cf7c725 Use the --no-undefined linker option if it's available, which will catch references to undefined functions which could fail at runtime.
REVERT: 44c73030e2 Merged Ryan's changes
REVERT: 89e0662973 Only install/uninstall the colormap if we've created a DirectColor colormap.
REVERT: c0731b25b4 Added missing X11 call XUninstallColormap()
REVERT: 5d310368ca Added missing X11 symbol.
REVERT: ba0c0a5ad9 Test commit. Adding space to TODO..
REVERT: 5d4e794683 Add GLX_X_VISUAL_TYPE_EXT so created window will use DirectColor if available (instead of TrueColor). Our new X11 window was being created with the TrueColor attribute, and trying to set the gamma on that would fail. This change checks for the visual_info extension, and uses that to ask for DirectColor if available.
REVERT: 2538e2af2f Add XInitThreads to X11_CreateDevice. The nVidia driver requires XInitThreads to be called for it to work in multithreaded mode. Sam also says that the overhead for this is small enough that it should just be done by default at this point. If this causes issues, we can add a hint later to enable / disable this call.
REVERT: 195b20e40e Fix Colormap when using X11_SetWindowFullscreenViaWM() path.
REVERT: 5700832cb3 Allow specifying of OpenGL 3.2 Core Profile on Mac OS X.
REVERT: b642847d0d Add flags to the vidmode debug output
REVERT: ed51c5f966 When using Xinerama, XVidMode always works on screen 0.  Otherwise use the real X11 screen.
REVERT: c123ff043b XVidMode only works on the screen at the origin
REVERT: b73e16cc4a Fixed memory leak in X11_SetWindowIcon().
REVERT: 7706dcdcdc Fixed compiler warning in debug code.
REVERT: 6326730adb Turn off video mode debugging
REVERT: 15453a515c I'm becoming more and more convinced that the application should never use XRandR, and it's the window manager's responsibility to track and manage display modes for fullscreen windows. Because it's so broken, I'm going to disable XRandR by default.  You can still enable it via environment variable or application hint (SDL_HINT_VIDEO_X11_XRANDR)
REVERT: ad941c8027 Support iPhone 5 launch images
REVERT: 76927d4175 Keep the launch image up until the application has created an OpenGL view
REVERT: e6c0215444 Fixed bug 1614 - SDL for Android does not implement TextInput API
REVERT: a2a3c4ae55 Fixed compiler warning
REVERT: e58466c00c This hack doesn't work very well.  I'd rather just show the problem so it can be fixed.
REVERT: 7fe05a9ddf Merged Ryan's changes
REVERT: 1a755a5361 Fixed refresh rate calculation
REVERT: c0bf64438a Don't try to query outputs that are not hooked up to a crtc
REVERT: 0a55594783 Added a delay hack to let the window manager adjust to the mode change.  I'm not sure if this is a good idea, but at least it works sometimes now. :)
REVERT: 925bca7d2a Rewritten X11 video mode support to directly set requested modes and exactly restore the desktop mode at shutdown.
REVERT: 02dd74ba7e A window being fullscreen takes precedence over coordinate checks This fixes restoring video mode on the second display at shutdown in some circumstances.
REVERT: ec7e2d0865 Helps to initialize variables in the right function.  :)
REVERT: 8dedb98eef Fixed compiler warning.
REVERT: 616ca3c4af Use Ctrl modifier for window resize key bindings
REVERT: 67c7965124 Added key bindings to resize the window (+/-)
REVERT: 28fc0e9923 Keep track of the configure events we've received from the X server. When programmatically resizing a window on Unity 3D, we'll get a move event with the old size before we get a size event with the new size, and we don't want to clobber our internal state with the old size.
REVERT: 670eb787d6 Poke window managers to get them to respect the resize hints.
REVERT: 39f2156ead Fix the size to the windowed mode, not the fullscreen mode.
REVERT: b19b82aa44 Always set the size hints for consistent behavior with all window managers, and it wasn't resetting when switching back from fullscreen mode.
REVERT: 8577652dea Fixed compile error - had work in progress in there.
REVERT: 44e9296ce3 Fixed XRandR code to change resolution on the correct monitor in a multi-monitor setup.
REVERT: 9d659bdaf5 Fixed copying headers to the Framework
REVERT: 6f2480d364 Fixed bug where SDL thought the window was shown and it wasn't actually.
REVERT: 37e0c1517d Updated iOS Readme to reflect Game Center integration changes.
REVERT: 778d89e384 Fixed texture list when swapping textures (thanks Drake Wilson!)
REVERT: 732be0727f Initialized default scale for software renderer (thanks Marcus von Appen!)
REVERT: 93b3a23ff2 Fixed a compiler warning
REVERT: 3c4b366a81 Added SDL_RenderSetLogicalSize() and SDL_RenderGetLogicalSize()
REVERT: b88f38c169 The viewport is already scaled to the output coordinates
REVERT: f366b098d4 Added SDL_RenderSetScale() and SDL_RenderGetScale()
REVERT: 0b35b7b0bf Do the src and dst rectangle clipping without affecting the surface clip rectangle.
REVERT: 635ef29e91 Fixed scaled blitting for complex blit operations (e.g. color modulation and alpha blending)
REVERT: 805e184f75 Whoops, that's a header!
REVERT: f6f13fc7c4 Added SDL_dropevents.c to the Visual C projects
REVERT: b6fe53e5ea Fixed bug 1593 - SDL_DROPFILE event doesn't work on Windows
REVERT: 8c71219642 The gl_data is optional for the driver, so don't early out of the context delete call if it doesn't exist.
REVERT: af57171b72 Remove the viewcontroller from the window when he OpenGL context is destroyed
REVERT: 9a82a89800 Make sure mode width/height and status bar orientation match
REVERT: 767bcb961b Fixed issue with touch input on retina displays
REVERT: 08f58acb7a Refactored the UIKit mode code into a separate file so it's cleaner and more consistent with other backends
REVERT: 6266e7fcdc Added a couple new test executables to be ignored
REVERT: 9b357d17de Only change the UI orientation if it's actually necessary for the mode.
REVERT: 52780b8ca7 Bring Cocoa application menus up to par with the OS X Human Interface Guidelines, including supporting key equivalents.
REVERT: 57751eb145 Fixed beeping introduced when we started passing key events through the responder chain.
REVERT: 431fcd7fca If the window is resizable, reset the viewport by default if the window size changes.
REVERT: 316add4b4b WINDOW_RESIZED events shouldn't flush WINDOW_SIZE_CHANGED events and vice versa.
REVERT: e4c54831a2 Updated support for external video output on the iPad
REVERT: 72cdf43759 No variable shadowing, reuse the size variable
REVERT: bc8faecadd SDL 2.0 supports 32-bit icons with alpha. :)
REVERT: a58d4e8d1a Show the size changed window message
REVERT: d1d2544a95 Merged Ryan's commits
REVERT: 5d20dc56bf Get the correct screen bounds from xinerama
REVERT: 403f5ab53d Print the bounds of each display when showing mode information
REVERT: 2c196568a8 We need to queue the focus in/out changes because they may occur during video mode changes and we can respond to them by triggering more mode changes.
REVERT: b40f346c7e Don't warn about the window size changing if the window is resizable
REVERT: 49cba901a5 Fixed detection of display bounds after a mode switch when Xinerama is enabled.
REVERT: 3861a6c17c Patched to compile on Visual Studio.
REVERT: f75687d3e7 Add a safety net X11 error handler, to reset the vidmodes before crashing.
REVERT: a6fdbb6213 Theoretically fixed the position of the child window, though it's always ending up at the upper left corner for some reason.
REVERT: 26efe14fd6 A few more tweaks for the legacy fullscreen support
REVERT: 9bea482166 Fixed bug 1579 - Creating a texture with unsupported format may cause double-destruction
REVERT: 360f769275 Fixed bug 1605 - SDL_DestroyWindow causes erroneous error message
REVERT: 29b5947d0c Clear the queue active flag when we shutdown, so we don't have a mutex error trying to read the queue.
REVERT: c328979f60 Fixed bug 1584 - Improved glError checks in the opengl renderer
REVERT: 400b953d29 Made it clear that locking a streaming texture is a write-only operation.
REVERT: 049837bbfc Result of autogen.sh run with previous commit
REVERT: 584f8bb2ce Fixed bug 1587 - "aclocal" fails to generate a sufficient "aclocal.m4"
REVERT: 8fef68eb90 Fixed memory leak in an error case
REVERT: a3e3ca708c Fixed bug 1496 - SDLView not created for a Cocoa window, resulting in missing right mouse clicks
REVERT: 43674fabab We don't always get the focus change events.  Argh!
REVERT: e6a0c63fb7 Simplified the NetWM code a little bit, and it now operates on X11 Window
REVERT: 32c3816470 Don't set the hidden netwm state, that would mean we don't want to be shown, which is bad.
REVERT: b9083adeb5 Pass the flags in, not the window pointer!
REVERT: 71450f7c85 Don't base our resizable state on what the window manager decided, instead we want to base it on the size hints which we set.
REVERT: 6380cc6759 Only map/unmap if the window isn't already in the correct state.
REVERT: 978b87dccb Fixed bug where desktop resolution was never restored if Xinerama was enabled.
REVERT: c5d1dc43c3 Compositing window managers can show and hide windows without ever affecting the mapped state.  However they do send NetWM protocol messages to indicate this is happening. Also refactored the netwm state code so it's consistent between the places that use it.
REVERT: 7e30790b41 Hopefully improved legacy fullscreen handling (it works now on my Ubuntu Unity system)
REVERT: 535b566931 Removed unused variables
REVERT: f380ecb137 Removed executable bit from source files
REVERT: 5390cf0ace When we're reparented we'll get both unmapnotify and mapnotify.  Eat both so the unmap notify doesn't confuse the normal event processing.
REVERT: fb1d522bc3 Show events from all windows (for the legacy fullscreen case)
REVERT: 2c07f9f35b Fixed fullscreen origin for multi-head displays
REVERT: 1401f159d0 Added debug define (commented out)
REVERT: c95f18c57a Use the legacy fullscreen code if the window manager doesn't support the NetWM protocol.
REVERT: 0582dc6ce3 Turned the X11 mode extension environment variables into hints so they can be more easily set from applications.
REVERT: 86e52a87bf Print a message if the window size was changed from the requested size.
REVERT: 8bbb66b684 Removed unused functions
REVERT: d36e0cf8b9 Don't block Android event loop until all relevant events reach the app.
REVERT: 7c835f8560 Fixed bug where Xinerama was treated as being available even if it wasn't. Also added additional logging for X11 video modes
REVERT: 6d86238afc X11: Attempt to go fullscreen the way SDL 1.2 did it.
REVERT: 170089c6aa On Compiz (etc?), _NET_WM_ACTION_FULLSCREEN needs the window to be resizable.
REVERT: 9119439672 Fixed bug 1559 - SDL does not provide scancodes for all keys available on Android.
REVERT: ef6fa58028 Fixed bug 1573 - SDL does not support system clipboard on Android.
REVERT: 255033689c Make SDL_atomic.h depend on the void pointer size determined at compile time rather than at configure time. As OS X supports lipo'ed versions of SDL for i386 and x86_64, a single set of headers that work for both architectures is desired.
REVERT: df2acac897 allocate *Hint structures per Xlib docs
REVERT: b603b9a9f9 The beeping stopped. And, other people may need to catch key events using their own delegate.
REVERT: 9f2bbcef0c Merged libtool fixes
REVERT: 78d497098e This isn't necessary anymore, with the latest autotools update.
REVERT: 144d68b081 The SDK path is no longer needed (and no longer correct)
REVERT: d2b7ba63d1 NetBSD patch to use AUDIO_GETBUFINFO when available (contributed by jmcneill)
REVERT: 533eaf8b13 Fix Windows build, version.o linking.
REVERT: adff2fb994 Fixed syntax error
REVERT: a5d17c62db Added UIInterfaceOrientationMask for building with older iOS SDKs
REVERT: 749e6da2e8 Fixed autorotate / resize support on iOS 6.0, tested with iPad and iPhone simulators with iOS 5.1 and 6.0
REVERT: 260faacb11 Added missing Android source that was supposed to go with changeset 64a6297a8b93 Thank you buildbot!
REVERT: 48b953ddbe Fixed bug 1591 - Renderer maximum texture size is incorrect when GL_ARB_texture_rectangle is active
REVERT: 82b0ec31cd Fixed bug 1606 - SDL does not implement SDL_GetPowerInfo() for Android.
REVERT: aeb2100823 Hopefully fixed the Windows build.  We have to do this every time, to link version.o
REVERT: de7a72dcb2 Whoops, that wasn't supposed to be a symlink.
REVERT: 31a077b87f Fixed false positive when checking for X11 on Mac OS X when the X11 development environment isn't installed.
REVERT: cc76936aae Changed the comment so it actually talks about the right instruction set.
REVERT: ad908fa0de Fixed 3DNow! detection for clang llvm
REVERT: 1c3d9891d2 Updated to the latest versions of autotools and config.guess/config.sub autoconf-2.69 automake-1.12 libtool-2.4.2
REVERT: d9c447f5e9 Fixed bug 1600 - SDL_GetPlatform() returns "unknown os" on Android
REVERT: ef68bf1b32 Generate resize event when the status bar changes size (e.g. call in progress, etc.)
REVERT: 97995a79c8 Fixed touch coordinates with the new UI bounds calculation
REVERT: 1ab7a260eb User interface guidelines says that you shouldn't allow upside-down orientation on phones.
REVERT: 4684591de2 Fixed window/view bounds management with autorotation. The trick is not to mess with the window frame and let iOS handle resizing the view automatically when the rotation occurs.
REVERT: f74173a3d3 Fixed retina display input scaling
REVERT: 7f5daddd35 We can update the OpenGL layer binding when we're laying out the views
REVERT: 0cbd7b9850 Removed obsolete header from the project
REVERT: 4b2bd815e3 Don't call XInput2 multitouch APIs if they aren't supported.
REVERT: 8810d45057 Fixed typo in function name.
REVERT: 471e75729f Fixed configure.in
REVERT: 5c732d6324 Removed Windows CE support from SDL 2.0.
REVERT: 8253567b09 Fixed a typo in the docs.
REVERT: 93cdb45727 Made Windows version of SDL_SetWindowBordered() mostly work.
REVERT: 3535fe0b91 Consolidate some code in the Windows video target.
REVERT: fd7c6b9e79 Restore Cocoa title bar caption when adding border to a window.
REVERT: 7f3b2ca47f Use the right function pointer.  :)
REVERT: 8d70dcc83e Patched to compile on Haiku.
REVERT: 30291cdd9a Make the X11 SetBordered event tapdancing more robust, restore focus, etc.
REVERT: 8835a0dacb Added SDL_SetWindowBordered() API.
REVERT: 546d0f18a2 BeOS/Haiku support for SDL_WINDOW_BORDERLESS.
REVERT: 7b97d492a6 Fixed bug 1599 - On X11, SDL2 should use CLIPBOARD as well as PRIMARY for copy/paste
REVERT: 63b91d2986 Moved iOS-specific code into uikit target. Fixes crashes in X11 target.
REVERT: 48e3952607 Fixed issue where the context couldn't be unbound after the window is shown because the current context was already marked as NULL.  (Thanks to John McDonald for tracking that down!)
REVERT: 73f3a3e912 Fixed error message when destroying a software renderer, thanks to wahono for the patch.
REVERT: 85baa4c991 Updated the Demos project to link with SDL2
REVERT: b1656ffb91 Return a valid error in SDL_GL_Bind/UnbindTexture, thank you buildbot!
REVERT: bd7b381374 Implements SDL_GL_BindTexture and SDL_GL_UnbindTexture (#1576)
REVERT: bd6eef53b6 Removed a FIXME; RemoteIO is correct for iOS.
REVERT: 03f451e902 Removed custom code that fixed Game Center notifications non-display, in favor of an official fix (done via UIKit_ShowWindow).
REVERT: 29652a3e3d Xcode project for iOS uses spaces for tabs, as per most (all?) SDL source files
REVERT: 7986c38ec7 Merged with latest SDL2 sources
REVERT: 53e7a4eab5 Added testaudioinfo to the build.
REVERT: 9624fe2634 Use fast path for RGB 565 -> 32-bit XRGB 8888
REVERT: a4a3cff536 Fixed compiler warning.
REVERT: dbb60b29c1 Removed AC_GNU_SOURCE from SDL2's configure script.
REVERT: fbb9321daf Fixed compiler warning on some versions of GCC.
REVERT: e5f91113a3 Fixed wglShareLists() call that used the wrong variable.
REVERT: 386b1d15cf Whoops, removed wrong variable.
REVERT: 816523a285 Fixed a bunch of compiler warnings with Cygwin/MingW.
REVERT: 488a27f1b9 Fixed bug 1561 - BSD joystick: Increase the number of uhid devices to scan
REVERT: 052e84a94b Fixes bug #1506, Changing orientation on the Android device throws off touch scaling
REVERT: 5c98584a78 Fix for #1577, SDL_RenderCopyEx - Runtime check fails when dstrect == NULL and center == NULL Thanks Michael Ehrmann.
REVERT: 1114169772 Cleaned up testjoystick.c, improved usage of renderer API, added colors!
REVERT: d0fbc25c13 Updated testjoystick.c for SDL2 API and draw more information.
REVERT: 973aecd57a Renamed SDL_GL_CONTEXT_PROFILE_ES2 to SDL_GL_CONTEXT_PROFILE_ES
REVERT: 99502c82fd Fixed bug 1565 - some small GL context creation enhancements
REVERT: bf2304785f Fixed bug 1564 - SDL has no function to open a screen keyboard on Android.
REVERT: 5570852b58 Fixed building on Mac OS X with Xcode 4.4 (OS X 10.8 SDK).
REVERT: 82f3760264 Nasty attempt to fix building of testnative across various platforms.
REVERT: 8912814135 Removed some unused variables that gcc 4.6.1 complains about.
REVERT: 4f18aa19f5 Patched to compile on Mac OS X 10.8 SDK.
REVERT: 0b038cac0a Bumped up Android SDK version in README.android.
REVERT: 4b61576aec Make Android port compatible with older API versions again.
REVERT: 60f62d3599 OpenBSD: Add missing X11 libraries to autoconf.
REVERT: 68a98ad796 Patched to compile on Windows.
REVERT: 55a52db07d Cleanups to Windows WGL_EXT_swap_control_tear code.
REVERT: 2cd5fc4e97 Add support for (GLX|WGL)_EXT_swap_control_tear.
REVERT: 706ea79345 Fixed black screen on iOS
REVERT: 09edff54cd Fix for iOS touch input coordinates being halved on Retina displays
REVERT: 4b042442c8 Fix for Game Center leaderboard screens not always responding to touch input in iOS apps that don't use SDL_iPhoneSetAnimationCallback
REVERT: 9e52c42ef3 Fix for Game Center leaderboard screens not always responding to touch input in iOS apps that don't use SDL_iPhoneSetAnimationCallback
REVERT: 2368bcb083 Fix for UIScrollView instances not scrolling properly in iOS apps that don't use SDL_iPhoneSetAnimationCallback
REVERT: 9c9a5abe82 Fixed clang -Weverything warnings
REVERT: ea4e328e39 SetWindowMinimumSize Windows implementation
REVERT: de7aeffa50 SetMinimumWindowSize for OS X
REVERT: 86a14db17a Removed some tab chars.
REVERT: 5afb2dfa26 Removed commas at the end of enums, to make gcc's -pedantic happy.
REVERT: b132938c05 README.android improvements by W. Boeke, bug #1637
REVERT: 8c11d8b72d Added code to testwm2 to test the system cursor support
REVERT: d26782adbd Added a Cocoa implementation of SDL_CreateSystemCursor()
REVERT: 8f081103e5 Add SDL_CreateSystemCursor for Windows and Linux.
REVERT: 7b16b8577c Adds CMake build system by Marcus Von Appen (bug #1597)
REVERT: ea22b37504 Nobody will EVER use more than 8 buttons.  Oh wait... Nobody will EVER use more than 32 buttons...
REVERT: 8221035d67 Fix for UIScrollView instances not scrolling properly in iOS apps that don't use SDL_iPhoneSetAnimationCallback
REVERT: 81cbbf39d8 Merge with latest SDL code from hg.libsdl.org
REVERT: a82bdaf85d Fixed typo in one of WGL definition
REVERT: 6d35992e47 Fix for the Game Center status window always being behind the SDL window (untested!)
REVERT: 8215cfb341 made Game Center's welcome banner show by having SDL display its inner UIWindow once on SDL window initialization, rather than on every frame
REVERT: 2bcad88c29 Fixed bug 1547 - Fix test(1) utilization within the autoconf script
REVERT: e4b5104b91 Fixes Android_JNI_FileRead behaviour where reading past the end of a file returns zero instead of the number of bytes read.
REVERT: 9a4128b20d Should fix type-punning compiler warnings.
REVERT: 82ebf2d4ff Fixed some minor compiler warnings.
REVERT: abaa69bf81 Fixed pthread_np.h detection on OpenBSD.
REVERT: 1277706b2b More OpenGL ES fixes from Scott Percival
REVERT: fb4a889ee9 added UIViewController pointer to SDL_SysWMinfo for iOS
REVERT: 2a336fae73 Fixed bug 1542 - SDL_Touch should reserve tilt_x and tilt_y
REVERT: 4d8e7cdf64 Switch the OpenGL ES renderers to request EGL OpenGL contexts
REVERT: b3219a6db1 Improved simultaneous support for OpenGL and OpenGL ES
REVERT: cb83481887 Fix OpenGL initialization when OpenGL and OpenGLES are both available.
REVERT: b29ba3d6cf Rename envvar to overwrite X11 EGL library name.
REVERT: aa816459ab Fix memory leaks in X11_CreateDevice error paths
REVERT: a00f1423be Fixed bug 1543 - Fix dynamic loading of X libs on OpenBSD
REVERT: 9844cacdd7 Fixed bug 1434 - Add AltiVec detection for OpenBSD/powerpc
REVERT: 529470a6c5 Updated the generic event check to try to compile instead of just look for library runtime function (fixes compiling on older Mac OS X SDKs)
REVERT: 0e49fa682a Patched to compile on FreeBSD 8.2.
REVERT: e3e3adf168 Removed unused variable to silence compiler warning.
REVERT: 1188abbae2 Patched to compile on Windows with VS2008 and VS2010.
REVERT: 2096895aed Patched to compile on Mac OS X with Xcode (Unix configure already worked).
REVERT: 81bf162798 Patched to compile on PowerPC Mac OS X.
REVERT: 6590f3daa3 Fixed bug 1540: SDL 2.0 won't link on Visual Studio 2012 RC for x64
REVERT: 8723c73510 Fixes #1422, removes global JNI Env, uses per thread copies, adds thread auto detaching.
REVERT: 850da41f50 Updated README.iOS to have up-to-date instructions for creating an app from scratch (not from SDL's Xcode templates).
REVERT: 7b6f9ccd63 Removed unneeded audio buffer memset() for consistent behavior on all platforms.
REVERT: 8533068f54 Marcus von Appen fixed bug 1535: SDL_UpdateWindowRects() SIGSEGV on X11 with out-of-bound rects
REVERT: c7a5aa5128 Patrick Baggett implemented relative mouse mode on Win32
REVERT: 540577559f Vittorio Giovara fixed bug 1528: move hint registration from SDLUikitAppDelegate
REVERT: 4a7b7a910b Marcus von Appen fixed bug 1530: X11 touch initialisation does not check its file handles
REVERT: 655622dc62 Disable the SDL event pump after the SDL main routine returns, since events will be dispatched by the Cocoa event loop.
REVERT: 909cf0f0b4 Added SDL_system.h to the various projects
REVERT: 7a1361b538 Fix Android's SDLActivity for devices that may send more than one surfaceChanged event in a row (ie, the Kindle Fire)
REVERT: a3161ce5ae Fix SDL_SetWindowSize with X11 non-RESIZABLE windows, patch by Pierre-Loup.
REVERT: a3bf8f0c71 Created a header file for system dependent API functions, and added SDL_iPhoneSetAnimationCallback()
REVERT: 6cd1ae105e Fixed orientation and color when rendering to texture
REVERT: e064340717 Fixes #1524, improved xinput2 test
REVERT: 707a4cc1fa Automated tests fixes
REVERT: 094f01bc9e Updated Mac OS X and iOS projects
REVERT: 6ef1aefc05 Fixes #1523 by removing inconsistent use of texture->access
REVERT: 6b9b78a899 Fixed issue with tiling window managers (bug 1246)
REVERT: 28f32887a1 Fixes #1519, adds initialization to Android RWops internal variables.
REVERT: 484aaf27a8 small improvements in the iosbuild.sh script
REVERT: 13d2215157 Adds a simple command line utility (iosbuild.sh) to create iOS binaries for armv6, armv7 and i386
REVERT: beb1db9b5b Fixed compiling with Visual Studio
REVERT: 1d3f4c2eca Fixes #1522, improved Xinerama / Twinview support
REVERT: 8fbd4fb107 Fixes #1422, restores GL context automatically under Android
REVERT: b2b4372f55 Added command-line cross-compile support for iOS - Gabriel Jacobo will be adding iosbuild.sh and documentation for the process.
REVERT: c804678260 Ignore SVN metadata
REVERT: a9dfd741a4 Actually functional, hopefully!, Xext test
REVERT: 110c52e2b4 Fix from 1.2 branch: ignore bogus Linux evdev joystick axes.
REVERT: 924fe8e26e Fixed SDL_config.h build include path
REVERT: 241a11738e Better test for Xext headers
REVERT: 926b27e24a Fixed includes for Objective C
REVERT: 17bdcc6e8e RenderCopyEx,rotation and flipping for all hardware/software backends (#1308)
REVERT: 5791b11bc4 Fix test for Xext headers (bug 1498), now it should fail properly in systems with the old headers.
REVERT: f39fe05937 1.Fixed a memory leak inside XInput2 code 2.Replaced XKeycodeToKeysym with XkbKeycodeToKeysym since XKeycodeToKeysym is deprecated in newer X11 version 3.Rewrote testime.c since it was disabled after SDL_compat.c removal 4.Take into account common arguments also in testrelative.c
REVERT: 5c45be466b Updated with new configure.in changes
REVERT: 497b8deec4 1.Moved all xinput2 functionality to its own file 2.Implement touch events using Xinput2.Leave evtouch as a fallback when xinput2 is not supported
REVERT: e2bd76bff4 Updated iOS project to SDL 2.0
REVERT: 0dbd4213ad Fixed define for consistency
REVERT: d558e90692 Fixed compile error with both new and old Xext headers (bug 1498)
REVERT: e9df7f2d7b Fixed compile error
REVERT: 6accd81680 Initial support for XInput2 by Dimitris Zenios
REVERT: 36feea4efd Fixed compiling the keyboad iOS demo
REVERT: 086b4525f6 Allow SDL_uikitkeyboard.h to be included in C++ applications
REVERT: f6e83ac6a2 Fixes issue #1500 "SDL_RWops fails under Android 4" by removing stale Local Refs and replacing them for their global equivalents.
REVERT: 4576303b58 Fix for issue #1465, Leak in Android_JNI_SetActivityTitle (SDL_SetWindowTitle) Thanks Martin Gerhardy!
REVERT: d9a8305bda SDL_ExitProcess() was ignoring exit code parameter.
REVERT: 21a9248d04 I think this may fix the altivec blitters.
REVERT: 93bd217847 Fixed bug 1429 - Compiling static library with -arch fails when linking showimage
REVERT: 0925c1dd78 Make mouse relative mode save the original co-ordinates to restore them properly.
REVERT: b7f2ad8ad0 Change SDL_SetCursor to set the cursor back to the default cursor when the window is unfocused.
REVERT: 0da1c5b3ae Fix null reference exception.
REVERT: 721ac5f4d8 Fixed bug 1423 - Finger touch events don't report pressure
REVERT: 099dd8f095 Fixed bug 1426 - SDL_SemWaitTimeout returns -1 and sets error instead of SDL_MUTEX_TIMEDOUT on time out
REVERT: 38463b3a0c Add OpenGL 3.X context creation support
REVERT: e4461d199e Fixed bug 1424 - Handling of alpha channel in Altivec accelerated blit functions
REVERT: 4fed7973b3 Fix for double free when quitting on iOS
REVERT: d7a2976620 Fixed bug 1419 - SDL_libgl2D.c breaks ndk-build
REVERT: d0a7e39c3b FreeBSD compile fix
REVERT: cac74139d1 Quick android Makefile fix from Gabriel Jacobo
REVERT: 4a9eaa4c6e Missed a file in Frank's patch
REVERT: d78c4ac3ee Updated the .hgignore for the current set of test programs
REVERT: 982b4b8c20 Updated Nintendo DS support
REVERT: 9514b6a286 Fixed bug 1417 - Android_JNI_FileClose local reference bug
REVERT: 6552e51a2b Fixed bug 1412 - Patch - Software renderer crash
REVERT: 3e4b380d2c Removed GLX_BUFFER_SIZE attribute; it doesn't do anything with GLX_RGBA.
REVERT: df8784cd61 Replaced some assert macros with SDL_assert.
REVERT: 067b1ec8a2 Check for _STDINT_H in SDL_config_minimal.h
REVERT: 84a5ad6d06 Updated the Android Java activity for SDL2
REVERT: 777b9659e9 Updated VS2010 project for the new version.rc location - thanks to Rainer Deyke
REVERT: 3ed5d99c40 Fixed bug 1410 - fatbuild.sh is broken
REVERT: 4c9a5c130f Fixed bug 1403 - Creating a window with resizable flags may crash
REVERT: affa363396 Fixed OpenGL ES 1.1 on Android
REVERT: c4c52635fb Fixed bug 1405 - README.android misses build instruction: copy SDL_config_android.h -> SDL_config.h
REVERT: 37d3ab36d1 Switched the SDL 2 autoconf macro to AM_PATH_SDL2
REVERT: f917e29ad7 Fixed magenta texture on iOS with OpenGL ES 2.0
REVERT: ee38b15029 Updated Android Makefile for SDL2
REVERT: d74752d82f Added glGenFramebuffers() to the function pointer list
REVERT: 114800d3e6 Fixed setting the orthographic projection when the viewport changes.
REVERT: effddab35f * On iOS, fix support for the case where [UIScreen scale] is not 1.0 (retina) * Allow selection of non-retina modes on retina devices
REVERT: 173c6abcd0 Sanity check the window width and height
REVERT: 96c0686983 Successfully built an SDL 2.0 RPM
REVERT: 7f5ba0ca08 Updated the README and removed the old graywin test
REVERT: ef9497a138 Removed old SDL 1.2 tests from the iOS test projects
REVERT: c43e4bf999 Fixed setting the window visibility on iOS and Android
REVERT: 08e3824fa0 Removed old compat files from Visual Studio and Xcode projects
REVERT: aaf23fe8af Fixed loading textures when the window starts hidden. The viewport automatically resets to the window size when you programmatically resize the window.
REVERT: f1b459aaf7 Have testspriteminimal use the new simple API
REVERT: 39b2ae4a20 Added a convenience function SDL_CreateWindowAndRenderer()
REVERT: 4f6d606c93 Re-added SDL_SWSURFACE, because it looks silly to always pass 0 to SDL_CreateRGBSurface()
REVERT: 5ef4144446 Removed the SDL 1.2 compatibility API... we'll see how painful this is.
REVERT: cb74808ecb Switched the RPM spec file to SDL 2.0
REVERT: f84b2f8c6d Removed unsupported Watcom files
REVERT: 51019eddd0 BeOS is no longer a going concern. ;)
REVERT: 136979d3b5 Removed unsupported Borland related files
REVERT: 3ad2c65336 Removing some more references to SDL 1.3
REVERT: d71e0546a9 Updated to SDL 2.0, and SDL 2.0 can now be installed coexisting with SDL 1.2
REVERT: 8d3c63045f You need to create the texture with the SDL_TEXTUREACCESS_TARGET flag.
REVERT: 0458fa488a Renamed SetTargetTexture() to SetRenderTarget()
REVERT: da686e5bd4 Reorganized the render target code, moving the viewport handling to the general code and adding software implementation.
REVERT: fb87e98b8a Sorted the source files
REVERT: f64b376d9a Cleaned up the iOS test project and added testscale and testrendertarget
REVERT: 7eefd495d2 Added testscale and testrendertarget projects
REVERT: 301928014c We've already crashed by this point if we don't have a renderer.  The calling code should check this.
REVERT: d64668508c Added the correct version.rc to the Visual Studio build.
REVERT: 23b96d3406 Added a renderer flag to expose whether a renderer supports render to texture.
REVERT: 320c59b387 Fix for building with Visual Studio
REVERT: 5546f5ad65 Switched back to configure generating SDL_config.h It was very confusing to have configure generate an SDL_config.h and then not have it be used when building on Mac OS X or Windows.  I'll just have to remember to use SDL_config_windows.h when building official releases that are supposed to be ABI compatible with Visual Studio.
REVERT: a49a88676f Implementation of render targets, by Mason Wheeler and Gabriel Jacobo
REVERT: 2e70e7f3cb Fixed bug 1372 - OSX Window Maximize/Resize Doesn't Update Window Position
REVERT: ec7e4ac7a7 Added spaces for the include path
REVERT: c1a974dae5 Fixed blit mapping problem when surfaces are freed and then newly allocated at the same address.
REVERT: d8630c8b10 Fixed configure build
REVERT: 68b32846b8 Fixed bug 1371 - DX joystick axis ordering fix
REVERT: 6654546b2a Check for sem_timedwait(), which isn't available on some systems (including OpenBSD
REVERT: 9033bb050f Make sure that we use consistent configuration options on platforms like Windows so that command line builds and IDE builds have ABI compatibility. Make sure we don't clobber SDL_revision.h when building from Mercurial
REVERT: db165a81bc Unofficial builds should have a 0 revision number - if this accidentally gets checked in with a different revision, this file should be reverted to this content.
REVERT: 185bcb6114 Fixed bug 1238 - SDL_SetKeyboardFocus may send events to already destroyed windows
REVERT: 41b2fc0189 Fixed inline assembly warning for PPC input constraint with a matching output constraint of incompatible type
REVERT: 40c6294290 Fixed bug 1368 - Enabling joystick subsystem cause an infinite loop
REVERT: 3fe05cfb55 Better interpolation for the x4 upsampling case
REVERT: 17d38b0d37 Fixed issue where there was a garbage sample at the end of the buffer.
REVERT: a9eeb84da2 David Carre cpasjuste@gmail.com
REVERT: 7083b58688 Fixed bug 1331 - SDL_CreateTextureFromSurface fails for OpenGL + Win XP 64 NVidia 285.58 with GL_INVALID_ENUM
REVERT: b628aa46c5 Fixed bug 1366 - SDL_opengles2.h is not installed in "include/SDL" under Linux
REVERT: fc8603b5d6 Fixed structure alignment mismatch between Visual Studio and gcc on 64-bit architectures.
REVERT: 5d1613d59e Don't hardcode output paths, Visual Studio does the right thing.
REVERT: 93b05747f5 Removing test projects for Visual Studio 2005
REVERT: 765e15d7b9 I can't test Visual Studio 2005 configurations anymore, and I don't think anyone is using it for production games.
REVERT: 2b67a2d209 Futzing around with strip settings
REVERT: d3d897c6d0 Fixed memory corruption in the upsampling code, caught by valgrind
REVERT: 7e2e5d34e6 Fixed bug 1091 - Hardcoded size in SDL_audiocvt.c may lead to heap/stack corruption
REVERT: a9bcdb83a9 Fixed bug 1014 - SDL_ConvertAudio crashes
REVERT: 6ebbe99d99 Updated Xcode project
REVERT: d3ab037501 Made the application activity events consistent between iOS and Android
REVERT: f7ad18f9fc X11 OpenGL ES minor corrections
REVERT: 73b21090a2 * Take a global reference to the activity to prevent the reference being GCed
REVERT: 296e78b65f Fixed bug 1242 - PATCH: Improve support for OpenGL ES under X11
REVERT: 02fe20203d Fixed bug 1287 - VS2010 project doesn't include the SDL_syscond.c file
REVERT: 64d81471d8 Fixed bug 1293 - [Android] Support Pause/Resume
REVERT: d344b8d4a2 Fixed bug 1303 - SDL_CreateFromWindow duplicates window (Cocoa only)
REVERT: 0093511f82 Fixed bug 1305 - mouse wheel scroll-down event created when mouse wheel is pressed down
REVERT: 0975880949 The #define was asking to use dlopen(), but the code wasn't doing it. Also added error message in case the library open failed in that case.
REVERT: 6261562fa0 Fixed crash if the rendering system couldn't create an OpenGL window.
REVERT: 5b2a5e3412 Fixed bug 1313 - Segfault on SDL_CreateWindow when gl lib cannot be loaded
REVERT: 1dafe0e989 Fixed bug 1333 - segfault if opengl window could not get created
REVERT: 5258e42d95 Fixed bug 1342 - SDL_CreateRenderer creates OpenGL ES 2.0 renderer in iPhone 3G using default index (-1)
REVERT: ff12f1cf0d Fixed tab spacing
REVERT: 45d3f30eea Fixed running on iPhone 3G
REVERT: c160c5c596 Updated SDL test projects
REVERT: e9cad496a6 Added testnative to the Makefile and fixed building on Mac OS X
REVERT: d0375e624c Better error messaging when SDL can't create a window surface.
REVERT: 0de29d8f1a Use version B instead of A until we switch SDL 1.3 to SDL2
REVERT: 8bf062f32b Fixed bug 1256 - Invalid window warning in GL_CreateRenderer
REVERT: 10b5183a80 Added X11 dynamic loading support for XSetWMProperties()
REVERT: 8279896de9 X11: Move to XSetWMProperties and add support to _NET_WM_PID
REVERT: 0108ce2260 Fixed bug 1224 - Blit map not updated if source palette changed
REVERT: f6bf85902d Fixed bug 1225 - Altivec blitters broken due to SDL_PixelFormat
REVERT: de93e295ce Fixed bug 1239 - Crash in iPad with iOS 3.2 because of missing contentScaleFactor support
REVERT: 3b5d79f407 Fixed bug 1344 - No OpenGL headers when compiling -> no working Software renderer at runtime neither
REVERT: 842e2046ae Switched back to version A, since we don't actually have a version A for SDL 1.3. It would only be meaningful if we were planning to ship 1.2 as A, and 1.3 as B, which is completely worthless given the headers will be for 1.3 and the API is completely different.
REVERT: bc63cb4ee4 Fixed bug 1362 - SDL Fails to compile with Visual C++ Express 2008 with Feb 2007 DirectX SDK
REVERT: 12c990f0f8 The symbols should be private
REVERT: ec033a1da4 Updated iOS projects and renamed iPhoneOS to iOS
REVERT: da1a15e058 This file keeps getting clobbered... *sigh*
REVERT: 5fa2cb67e2 Use arts_suspend() in a loop to wait for arts to become ready.
REVERT: eb81637ac2 Switched to @rpath for the install path and switched minimum OS to 10.5 Removed extra build configurations
REVERT: 5ef6f8e30f Fixed bug 1337 - joystick crash due to heap corruption with btnx
REVERT: 6f8f49c27a Upgraded SDL Xcode project for XCode 4.2, including switching Framework Version to "B", which is required by the Apple Store.
REVERT: 75ecf04ad9 Check return value, not unsigned "supported" flags
REVERT: 028e5dcdbd Happy New Year!
REVERT: 5e38454931 Added the ability to update a subrect of a YV12/IYUV texture.
REVERT: 98615b55aa Fixed bug 1315 - Greenish video when video size smaller than texture
REVERT: b7323989e9 Initialize timers first so the tick counter is valid by the time the audio and video systems initialize.
REVERT: c40aed2a52 Fixed documentation typo
REVERT: a468f9967b Fixed so the header is consistent with the source
REVERT: f5c28b2406 Fixes bug 1296 - SDL_SetVideoMode crashes because of unaligned MOVAPS instruction
REVERT: ad85c9da0e Fixed bug 1338 - Direct3D renderer should set D3DCREATE_FPU_PRESERVE for not behaving vastly different on doubles (causes 3rd party lib crashes!)
REVERT: 3a7d58ddf8 Fixed bug 1336 - Added a timestamp on all SDL events
REVERT: a76f024ea9 Fixed bug 1335 - Added support for different pixel formats in OpenGL ES 2 renderer
REVERT: 7023079a50 Don't call -[NSView setAcceptsTouchEvents] if the OS doesn't provide it.
REVERT: f1b292b5fd Ryan gets fewer nuts. :)
REVERT: ab7c9fe945 Added SDL_dropevents to the Xcode project files.
REVERT: 6f62ce7bcc More work to clean up compiler warnings.
REVERT: f98e22682f Patched to compile.
REVERT: 5c8b76f6a9 Fixed a tabstop.
REVERT: 95de92cbf2 Backed out most of changeset 4b88086910d3, at Andreas's request.
REVERT: a6b353dfa5 Fix buildbot sdl-macosx-unix-x86 and sdl-macosx-amd64 compiler warnings
REVERT: 4d6a742cd1 Updated VS2010 project files
REVERT: 29177954e7 It works better if you compile it.
REVERT: f98e88676c Better fix, iterate backwards over the array so we don't care whether the close code shuffles things down.
REVERT: 22e0d6fa53 Closing the joystick removes it from the list.
REVERT: 10823d6065 Invalid assert.  It's perfectly legit to initialize the joystick subsystem and get no joysticks.
REVERT: dd506a225a Yes, let's save 32-bit BMP files, very useful for you know, making a game...
REVERT: c06f45e2ba Another iOS 3.1 compatibility fix.
REVERT: 6182eb372a No man pages for SDL 1.3
REVERT: f52f040b3d First pass at a simple drag and drop API, allowing you to accept files dropped into your application.
REVERT: 269da4cbfb Make +sharedAppDelegate return a generic object instead of a SDLUIKitDelegate.
REVERT: 3d371a2143 Check for selectors UIScreen responds to, not the base system version.
REVERT: edd6324c83 Fix iOS build when SDL_POWER_UIKIT isn't defined.
REVERT: 402034f43f Fixed the aux directory to be the one recognized by automake. This isn't strictly needed by SDL, but it's a good example for other projects.
REVERT: 1407550e6a Fixed where we set the content scale - it's used by the renderbufferStorage:GL_RENDERBUFFER_OES call.
REVERT: 82db09310f Patched to compile on newer FreeBSD releases.
REVERT: 5759a8f1db Fixed issues with the touch coordinates in landscape mode. In landscape mode the frame stays the same, and the transform property is modified with the appropriate rotation. The touch coordinates are rotated by the transform, so if I want to normalize them by the frame rect, I have to transform the frame rect first.
REVERT: f9a731d576 Fixed whitespace
REVERT: 795a68e8a8 Work in progress fixing support for rotated video modes
REVERT: 97ae2354eb Fixed issues closing lines with the OpenGL ES renderer.
REVERT: a6adb03997 Fixed an offset issue with glDrawTexiOES() when the viewport is set.
REVERT: 51dad9cf5e GIMP wrote bmp files in RGBX format.  Huh.
REVERT: 3d98438877 Fixed creating a fullscreen window on iOS
REVERT: 922a04d060 Fixed compiler warnings for uninitialized variables.
REVERT: 9bfdb9ee33 Fixed uninitialized variable.
REVERT: 311a3e9453 Merge from https://bitbucket.org/keestux/sdl ... SDL_gesture code cleanup.
REVERT: a61775dde5 To answer the FIXME, no, we shouldn't force this.  The fullscreen flag implies borderless behavior even though the flag isn't set on the window (in case fullscreen is toggled)
REVERT: c9bb3c7072 The iOS driver sets the fullscreen and shown flags on the window during creation, so we need the mode code to be aware of that, since none of the other fullscreen/shown code paths get run. FIXME: Maybe we need a better way of detecting that?
REVERT: e2d1d0aec3 Fixed a typo, we should set the driverdata if we are 3.2 or newer.
REVERT: 918d8540ea Fixed list loop caused when there are two entries in the list and the one being returned is already at the head.
REVERT: c5b4e5f63e Fixed SDL applications being killed immediately after being backgrounded, because they were trying to draw while minimized.
REVERT: 352caf548a Need to send a key up, silly.
REVERT: 2c5a3ddb62 Fixed a typo in the header.
REVERT: 0a82b3eefe Fixed double-free in the shader cache at shutdown
REVERT: a5bb3d3f60 Mac OS X: Fixed build when compiling without Cocoa support.
REVERT: 4220f125c3 Fixed some preprocessor mistakes introduced in iOS project cleanup.
REVERT: 9f84d0e002 Fix crash on X servers without UTF-8 support.
REVERT: ad2a21d404 Lots of fixes importing SDL source wholesale into a new iOS project
REVERT: e112859e94 This code works for OpenGL ES 1.1 as well! :)
REVERT: fcb2aa5617 Implemented RenderReadPixels for the OpenGL ES 2.0 renderer.
REVERT: 0c041192f6 SDL_ConvertPixels() returns 0 on success
REVERT: ec5e765da6 Fixed warnings on iOS
REVERT: f7c2849eb9 The draw color affects RenderClear() as well.  (thanks to the feedback form to whoever pointed this out)
REVERT: efc259dce1 Fixed typo - thanks Sheena!
REVERT: 98f2e298fc Fix sdl-haiku buildbot compiler warnings
REVERT: c5e05365c6 Update SDL_HasClipboardText functions to return value based on clipboard content; Fix memory leak in fallback SetClipboard implementation
REVERT: ab5d30e6b4 Add clipboard tests
REVERT: cd6cd13137 SDL_memcpyMMX(): Fixed handling of overflow bytes.
REVERT: e66bcd9efe SDL_memcpyMMX(): Make sure srcskip and dstskip are 8-byte aligned.
REVERT: c6f4eaaf06 Removed tabs and DOS endlines from SDL_blit_copy.c ...
REVERT: 8d5ba0eb26 Type of SDL_GestureTouch.id is SDL_TouchID (only for SDL_gesture.c internal)
REVERT: 9e6ee9e79a Correct usage of SDL_AddDollarGesture (return value >= 0 on success)
REVERT: 9f6e4ab9ab Refactor SDL_AddDollarGesture
REVERT: 3c27fa1eff Reformat SDL_gesture.c (part 2, space after keywords)
REVERT: 428e61a43e Reformat SDL_gesture.c (part 1, reindent using Emacs, c-basic-offset 4)
REVERT: 61d3a02eab Don't bother checking S_OK here, it'll work in falling through.
REVERT: 62babe19c4 Fix X11 dynamic loading.
REVERT: ee56d1a748 Added SDL_GetScancodeFromName() and SDL_GetKeyFromName()
REVERT: b285f5017f valgrind FTW!
REVERT: 864b4535a9 Use correct Xinerama APIs for querying version and availability.
REVERT: 034365a830 SDL_X11_HAVE_* should default (and reset) to zero.
REVERT: 56e56b0ce9 Add XGetInputFocus() to dynamic X11 function list.
REVERT: bc4b0f28f1 Set up window focus correctly when using an existing X11 window.
REVERT: 20181eb52a XGetWindowProperty() can report success but still give you a NULL pointer.
REVERT: 57bc440ba9 More cleanup in SDL_uikitopenglview.m
REVERT: ac5be095b9 Added stencil buffer support on iOS.
REVERT: 0b68d08019 Automated merge with https://bitbucket.org/keestux/sdl
REVERT: a1f3db2298 Updated from configure.in
REVERT: b490a90556 Get the full path for the src directory so auxdir works correctly
REVERT: 0443fd0ac5 Use a small function to release UIScreenMode after checking it is supported
REVERT: 811c7fe08d Eliminate UIScreenMode parameter from UIKit_AddDisplay
REVERT: a8439b9553 Removed rakefile.
REVERT: 1d7cfea79b Merged with Kees Bakker's repo at https://bitbucket.org/keestux/sdl ...
REVERT: b5692bd236 Don't crash with a NULL thread name.
REVERT: 3d70224c40 Check for __ARM_ARCH_5TEJ__ in spinlock atomics.
REVERT: 5a652760ab Let iOS use OSAtomicCompareAndSwap32Barrier() if nothing else is available.
REVERT: 4ff67de178 Fix up some retain/release issues with UIScreenMode objects.
REVERT: 3f0781af54 Don't use a global JNIEnv across threads; it's not thread safe.
REVERT: 84848501c0 Bumped default Android API target to 5 (Android 2.0, up from 1.6).
REVERT: bba4029d9b Removed STL dependency in Android code.
REVERT: aa76adf490 * Android's InputStream::skip is apparently buggy, so instead read into a dummy buffer
REVERT: 116a6faf2f Implement GL_GetProcAddress() for Android.
REVERT: 32104bc32e Specify joystick (accelerometer) support for iOS in the config header.
REVERT: eecf78dc29 Do not use UIScreenMode to add a iOS display, always use the boundary
REVERT: 8f5d9a49e6 Merge upstream updates
REVERT: b1bd23a25d Refactored audio device enumeration/naming tests ana added negative cases
REVERT: d328ee7f5b Disable thread naming on Windows for now.
REVERT: e07d7980cd Patched to compile on Mac OS X (I think).
REVERT: 3d8f0392c1 Further patched to compile on Windows.
REVERT: 18cd3d30c7 Patched to compile on Windows.
REVERT: 0863dee582 1.3 API CHANGE: Add support for naming threads.
REVERT: c33ade3bc3 Make SDL_uikitviewcontroller.window a real Objective-C property and synthesize
REVERT: f1c04b8c14 Minor code cleanup in uikit/SDL_uikitview.m (no functional changes)
REVERT: 7e6128661d Simplied the code a bit in uikit/SDL_uikitvideo.m
REVERT: 601a5ebf03 Remove unused SDL_uikitopenglview (privateMethods)
REVERT: f74237993f Use Objective-C construct for..in instead of oldfashioned C (uikit)
REVERT: dead491b27 Fixed to compile with pedantic C
REVERT: e934e97c76 ============================================================
REVERT: afe3250552 ============================================================
REVERT: b0e7f4b098 Do not exit in (uikit) postFinishLaunch but store the exit status and use that to return from main()
REVERT: 9da0e1c8c1 Cleanup of the use of include files in src/video/uikit
REVERT: 52f5e85d3b Add Xcode-iPhoneOS/rakefile which can be used to build SDL.framework from the commandline
REVERT: 2bd415b42a Use a consistent source code format in src/video/uikit
REVERT: 4fa8ce73fc Remove INDENT-ON INDENT-OFF comments in src/video/uikit
REVERT: 7797271a96 Cleanup out trailing whitespace in src/video/uikit
REVERT: 90ff13a669 Moved pthread spinlock check in with the rest of the pthread tests.
REVERT: 131470867d Replaced a sanity check with an SDL_assert().
REVERT: 081fbdf242 Don't call pthread_exit(), returning from RunThread() is equivalent.
REVERT: 596099f2c0 Simplified Windows RunThread().
REVERT: 966f4f55fd Updated fatbuild.sh to match 1.2 version.
REVERT: e534989ee1 Fixed option parsing code of test harness.
REVERT: 8cd891d753 Fixed compiler warnings on Haiku.
REVERT: 82283b7279 Implemented x86 and x86-64 spinlock inline asm.
REVERT: 6fcfc35b50 Use an actual #error instead of a bogus symbol if there's no spinlock support.
REVERT: f369e4fa7c Patched to compile on some platforms.
REVERT: e9174b8226 Add tests for SDL_RectEquals and empty rectangle cases
REVERT: 1694584d77 Add special cases for empty rectangles in SDL_Rect functions
REVERT: 6c74730331 Fix SDL_RectEquals define
REVERT: 9d8f2b6917 Add test cases for SDL_RectEmpty
REVERT: 6e3ff8fdf5 Add NULL handling in SDL_RectEmpty and SDL_RectEquals
REVERT: a90884b482 Removed some FIXMEs (Nathan's changes were, in fact, correct).
REVERT: 99f00f09bd Merged Nathan Heisey's Haiku work into the main SDL 1.3 branch.
REVERT: 13e13cd331 Added tests for SDL_UnionRect to testrect suite
REVERT: 0ad7b65021 Cleans up the logger output a bit. Removes fuzzer invocation count from the log if the fuzzer isn't used.
REVERT: 15c4fb2a9d Clean up the win32 compiler warnings for SDL threads, in the 1.3 branch.
REVERT: d1cc70ba65 Added tests for SDL_EnclosePoints.
REVERT: b1185bef03 Fix regression introducted by added parameter check in SDL_EnclosePoints. Add special case to speedup when no result was requested.
REVERT: d7cb5c41ca More work on cleaning out compiler warnings.
REVERT: 0cbf1928f9 Fixed Win64 builds with MingW.
REVERT: ad214ecb4b Some MMX fixes from Patrick Baggett.
REVERT: 289012c8bd Removed sail.bmp reference from Xcode project.
REVERT: f77b7f703a Fixed a compiler warning.
REVERT: 484c18aa15 Fixed a compiler warning on Visual Studio.
REVERT: a65793b807 Added a newline to the end of a file to quiet old versions of GCC.
REVERT: caedc60d07 Removed legacy Mac OS X dlcompat code.
REVERT: 5089e0b3d9 Merge changes
REVERT: 35ef24dd77 Fixed compiler warning on 32-bit Mac OS X.
REVERT: d9a3255b23 Refactored IntersectRectAndLine tests and increased coverage
REVERT: 1ee4e6dc4f Update SDL_REVISION
REVERT: be0531f0fc Added tests for SDL_HasIntersection; added negative parameter tests; refactored existing test code
REVERT: e36c0d8376 Added input parameter validation to some SDL_rect functions
REVERT: 6584aa6a03 Added tests to testrect suite. Simple logger improvements. Fixed int-range fuzzer.
REVERT: d9a9cf5a98 Fixed a compiler warning on Mac OS X.
REVERT: 96e8606bd5 Fixed a NSLog() format string.
REVERT: 981cef30eb Fixed another Apple typedef in SDL_opengl.h
REVERT: 33981bc8ba Patched to compile.
REVERT: a622e7c305 Called method on wrong object in Android exception handler.
REVERT: af022f47ed Removed unused variable.
REVERT: 6b4a7b19a4 Clean up any opened joysticks during SDL_JoystickQuit().
REVERT: 8f75030cce Backed out SDL_config.h overwrite that got committed by accident.
REVERT: d2587c649d Automated merge with https://bitbucket.org/Markusk/sdl-gsoc
REVERT: 1787c68923 Fixed missing audio on iOS.
REVERT: b47b88a0e9 Fixed an error in doxygen markup.
REVERT: 967992d4d3 Fixed a typo.
REVERT: 31ecfe3d3a Updated TODO.
REVERT: 1a84329937 Minor cleaning.
REVERT: f4870f3996 Added elementary fuzzer-randgen invocation count.
REVERT: ab1eaa672b Added TODO.
REVERT: 87e1417923 Test cases executed in their own process can now bail out if assertion fails.
REVERT: 103124ac9f Option --show-tests prints test description.
REVERT: 877c391020 Fixed timestamp issue.
REVERT: d2d3506958 Changed logging behavior. Runner uses stdout as default and file logging is enabled with --logfile [BASENAME] (or --logdir).
REVERT: f7a79ddf4c Refined install script to be more helpful.
REVERT: 45e6823e5f Created SetUp and TearDown functions for testrwops suite.
REVERT: 578cd935a0 * Support OpenGL ES 2 on Android
REVERT: 1808d892fe Don't warn about multichar characters on BeOS/Haiku.
REVERT: 62176df129 Added support for multitouch on Android.
REVERT: bc13816375 Fixed a whole slew of compiler warnings that -Wall exposed.
REVERT: cf1adee2e4 Make sure window->driverdata is set before we might need it.
REVERT: f2923fca25 Commit updated generated C code.
REVERT: cc8e8dea00 Fixed compiler warning for unused variable in generated C code.
REVERT: aac491ccac Fixed perl string escaping thing.
REVERT: ca3232dcd1 Enable -Wall by default.
REVERT: 6f0f508a4f * Fix many memory leaks in Android FS code * Set SDL error string with Java exception details when one occurs * Fix tabulation of SDLActivity::getContext
REVERT: 3d9a685099 Fix another Apple conflict in SDL_opengl.h
REVERT: 0daed19a0e Removed the MAC_OS_X_VERSION_10_x macros from the 1.3 branch.
REVERT: c3366d1756 Patched to compile on Windows.
REVERT: 1ea43749bd Cleaned out functions deprecated in Mac OS X 10.6 SDK.
REVERT: 51254fce6a Added more test programs to .hgignore
REVERT: 84d42b9a9f Fixed wrong datatype for shaders and programs.
REVERT: b6c26ffe71 Fixed static misnomers
REVERT: 4799ac2b6e Partially cleaned out code
REVERT: 491df9d730 Temporary mode-setting hack works
REVERT: 315893bf28 Split off SDL_uikitviewcontroller in its own module
REVERT: cfa202c1f5 Fixed another printf() compiler warning, this time in the 1.3 branch.
REVERT: 5df7568eec Further XAudio2 build test cleanups.
REVERT: 6412a3147e Removed SDL_xaudio2.h ... no real need for this to be separate.
REVERT: 023503370c Let XAudio2 target be removed from the build by removing it from SDL_config.h
REVERT: 3b667bacd5 Apple's C runtime has the non-const iconv(), too.
REVERT: 1f5750981e Fixed compiler warning on 64-bit builds.
REVERT: 747072f8a3 RLE: Don't trash alpha channel in copy_32().
REVERT: 08f49bd2d3 Apparently glXSwapIntervalEXT() _does_ return a value.
REVERT: b4c91cf7b3 Fixed -pedantic warning in SDL_assert.h.
REVERT: f9268ec876 Fix SDL_GL_ACCELERATED_VISUAL on Windows in the 1.3 branch.
REVERT: 98babc2004 Ported ALSA minimum-sample-count fix from 1.2 branch to 1.3.
REVERT: 40480fb3c4 Make sure XAudio2 is supported by the DirectX headers at compile time.
REVERT: afc8e3d312 Convert a few TABs into spaces
REVERT: d7bd0b0425 Fixed some problems with switching to/from fullscreen
REVERT: 8632b5f433 Fixed unit float and unit double generators.
REVERT: 7d8de2d4ba Renamed RandomInteger to RandomSint32 and RandomUnsignedInteger to RandomUint32.
REVERT: 38ba3e6433 Fixed an issue with nonexistant function.
REVERT: cdb6aa7fcf Fixes based on CR. Some tests in rwops suite broken up to smaller tests.
REVERT: 516b5e80a7 Fixed 'runner > mylog' problem. Runner will tell if verbose logging is switched on.
REVERT: d5a4d0b8bd Cleaning up render test suite.
REVERT: 531efe97f1 Patched to compile.
REVERT: 3cc0d7d6e4 Don't lose the icon surface if it's freed immediately after SDL_WM_SetIcon() This is a memory leak, but we don't have a good place to free the icon surface a the moment.
REVERT: a854e65d49 Removed some extra ppc scaffolding
REVERT: f22df77268 Fat build doesn't support PPC anymore.
REVERT: 2832493550 Renamed tests in dummy suite.
REVERT: 499e8b0f01 Clean up.
REVERT: 7ebdc0e829 Fixed the exec-key option.
REVERT: 6c319b5d2b Updating dummy test suite.
REVERT: 04b2c7e316 Cleaning up render test suite.
REVERT: e89d876fc6 Ported tests from "./tests/automated/render"
REVERT: 2df605db29 Added --include-dummy option.
REVERT: 23e3df144f Reduced SEGFAULT occurence on resize?
REVERT: 2080edeea3 Fixed the doxygen markup.
REVERT: 9ffc5e8ef0 Cleaned up the rwops test suite.
REVERT: 8e4d708560 Added random number generators for Uint8, Sint8, Uint16, Sint16, Uint64 and Sint64.
REVERT: 694dda2a12 Added missing doxygen markup to some fuzzer functions.
REVERT: 313edeffaa Fixing previous commit. Forgot to add a few files.
REVERT: b96fa6da9a Ported rwops test suite.
REVERT: 9c7ff0059f Refactored the fuzzer a bit.
REVERT: dc97e62cd6 Added boundary value generator functions for Sint8, Sint16, Sint32 and Sint64.
REVERT: eb58f97bd3 Fixed OpenGL library loading functions
REVERT: 49879f48fe Disabled an empty test.
REVERT: 04ff51483f Added test suites testevent and testkeyboard.
REVERT: c6bc7ef7af Added new test suites testvideo, testsyswm and testclipboard.
REVERT: 06dfd29b23 Some video fixes
REVERT: 68633ef568 Added test cases for SDL_GetNumRenderDrivers and SDL_CreateRenderer and removed stub test case
REVERT: 9f4544e660 Fixed execKey generation
REVERT: 2af247a29b Fixed typos.
REVERT: 7f2ecaa544 Little fix to help text in configure.ac
REVERT: 7ffad15a4a Trying to fix linux compatibility -> libSDLtest.* is now installed to /usr/local/lib.
REVERT: 2ea1a8a90c Added Makefile.am's to hg.
REVERT: 2253de34fe Fixed a bunch of compiler warnings.
REVERT: a3ce2b9778 Fixed 'make distclean'
REVERT: 116f983b85 Updated the boilerplate files such as INSTALL and README.
REVERT: ac5e095903 Created data directory for test data. Fixed platform test suite.
REVERT: a70c5c1f3d Runner is automatically installed to .
REVERT: 2f3c2a946c Reorganizing the project.
REVERT: 0463ea420b Patched to compile on Mac OS X.
REVERT: 1724358663 Updated configure for new changes in configure.in
REVERT: 7ab5cda6fc X11 touch handling fixed for one device (LPC32xx Touchscreen).
REVERT: 961d8e70e6 More patches to compile.
REVERT: 2c03d6f4e6 Patched to compile on Linux.
REVERT: 67740a37fa Patched to compile.
REVERT: 26ac384e0b Added doxygen markup for the boundary value functions.
REVERT: b7ea34ca55 Cleaned the dummy suite a bit.
REVERT: cdd56f176b Added empty test suite for render tests.
REVERT: 4ae611f924 Added empty test suite for testing rwops.
REVERT: 716a42e945 Added functions that generate random  boundary values for Uint16, Uint32 and Uint64 to the fuzzer.
REVERT: e42ca42e76 Removed some Windows endlines.
REVERT: e45c8d7526 Refining boundary value generator.
REVERT: 75b5258790 testmultiaudio.c needs to #include <stdio.h>.
REVERT: b2540abd8e Merged Mac OS X and iOS audio targets.
REVERT: 3c7c721663 Replaced window backbuffer with BBitmap
REVERT: 2dda407120 Fixed minor rendering issues.
REVERT: c2b70264ed Fixing execution key generation based on CR.
REVERT: 1633238f90 Fixed ScanForTestSuites function based on CR.
REVERT: 55a247608b Changed SetUpLogger based on CR.
REVERT: 77405acdd9 Fixed harness seed generation based on CR. Fixed a bug from SetUpLogger() function.
REVERT: 2f9415199b Framebuffer code moved to SDL_bframebuffer.*, OpenGL support began
REVERT: be0b32e441 Fixed type from usage info.
REVERT: 9de66a170d Fixed problem in ScanForTestSuites concerning hidden files. Plus other little fixes.
REVERT: 7b89865bd4 Fixed potential memory leak from test case loading.
REVERT: 43b873b89a Runner prints some info to user, including where to find the generated test report.
REVERT: e6997f706e Fixed an issue with fuzzing seeds.
REVERT: ed4e1582bf Made run seed more file name friendly.
REVERT: 41cbb17de7 Render thread partially corrected
REVERT: 9e514b68d3 Logger logs to file on default. Directory and file name can be changed by using options --logdir and --logfile. Option --log-stdout forces harness to log to stdout.
REVERT: b4a88b8bef Added randomly generated harness seed.
REVERT: e769714114 Added simple logging levels to logging system. Added new option: --verbose. Fixed help for option --version.
REVERT: bf4cf18905 Moved draw code to a separate thread
REVERT: cd8da3097b Removed no-op Deinitialize methods in audio drivers.
REVERT: b4cf784f88 Removed needless macros in various audio targets.
REVERT: 8e6153c36b Cleaned up audio device detection. Cleared out a lot of cut-and-paste.
REVERT: 46bb3d8770 Implemented XAudio2 target for Windows (and Xbox360, theoretically!).
REVERT: 8fa65eea5c Cleaned up CoInitialize() politics on Windows.
REVERT: 0dea877a78 Added some FIXMEs.
REVERT: 350e15ee9f Corrected keyboard input support
REVERT: 8771f4019a Fixed mouse move problem
REVERT: 7121f4e5ba Fixed seg fault on video quit
REVERT: 6132d65fa6 Changing the execution key generator. Fixed --iterations option.
REVERT: 20af8e0677 Variable name/debugging output changes
REVERT: 46f39ab285 Logger logs harness seed and test execution keys in hex representation.
REVERT: 279a841b64 Refining the fuzzer. Adding new functions and fixing the old ones.
REVERT: 96dd15dd3d Corrected framebuffer creation problem
REVERT: fc76a5fa6a Fixing the previous commit.
REVERT: afbf90dc78 Adding elementary support for fuzzing. New options: --seed [VALUE] --exec-key [EXEC-KEY] --iterations VALUE
REVERT: 26f05bd076 Took out some more bitfields in the audio subsystem.
REVERT: 6bd5c1b002 Reworked Windows waveOut code.
REVERT: ac93bd6e55 Reworked Windows DirectSound code.
REVERT: 55419dbf19 Removed /dev/dsp DMA audio target.
REVERT: 068586f3ee Removed VisualCE project files.
REVERT: 8eb5a67761 Mark some QSA audio driver functions as static.
REVERT: 77f25419aa Apple uses a void* for GLhandleARB, not an unsigned int.
REVERT: 247346d526 Allow Android platforms to read from .apk files via the RWOPS interface.
REVERT: 58faae483b Patched to compile (I hope).
REVERT: d8d485370c If we didn't create win32 window, restore its event procedure on destruction.
REVERT: ee8ee9d166 Corrected memory leak with rendering.
REVERT: 8932a116a0 Drawing code works, but it flashes
REVERT: f7d9b29115 Removed comment questioning the code's correctness (the answer: it's correct).
REVERT: a5d345e374 Don't use a bitfield for this.
REVERT: f1e162b811 Merged two heads.
REVERT: 04bcf13dc2 Added count of skipped tests to default xsl style.
REVERT: a2c9c4d217 Added test case for power management function; improved assertions in tests
REVERT: 4b70200bf8 Work on systems without sa_sigaction.
REVERT: 1ba2041d01 Fixed linking issue concerning test suites. Fixed linux build (it compiles and runs properly).
REVERT: a6ec7506e1 Framebuffer support in progress.
REVERT: 51d6f10f01 Fixing linking issues using shared object.
REVERT: 47fe168753 Using SDL timer to kill hung tests.
REVERT: 82d0a86964 Refined test skipping.
REVERT: 1a862ae6d3 Patched to compile on older GLX headers.
REVERT: 93d2b83299 Added support for GLX_EXT_swap_control, and cleaned up some other extensions.
REVERT: d05ada5235 The SwapInterval APIs should fail without a current OpenGL context.
REVERT: b77354e7d9 Record the new OpenGL context as current during SDL_GL_CreateContext().
REVERT: e16810661d Testing out implementation for skipping unsupported test automatically.
REVERT: 8190ae317e Refined the string escaping algorithm.
REVERT: 6ab0dd4945 Fixes to logging system.
REVERT: 6e2972bd81 Added --timeout VALUE command option.
REVERT: 00fc5d8daf Refactored a bit.
REVERT: 0bcc47f4b6 Harness warns about tests that request timeout when it's not available.
REVERT: 9db859c159 Fixed SDL_SetError() by making NULL fmt a no-op, update test automation
REVERT: 73bd015b16 Merging two heads.
REVERT: c9ca0a4609 Fixed logging noise coming from unimplemented optional test suite functions SetUp and TearDown.
REVERT: 97ae8a553d Expanded and updated testplatform suite.
REVERT: 254a81687d Fixed doxygen markup.
REVERT: 569fcd280c Should compile now (fixed typos(?))
REVERT: cc7000166f Added timeout for dummycase3 in libtestdummy.
REVERT: b6d8ee501e Fixed incorrect assertions in surface test suite.
REVERT: 66677c0ad1 Fixed AssertEquals.
REVERT: 7de8abe0c4 Harness kills hung tests (won't work with --in-proc option). Added result description to test logs (tells why test failed, such as exceeding its timeout).
REVERT: 63c52052ea Fixed video compile(?)
REVERT: 9a7e7f87f9 Renamed all .c files in src/video/bwindow to .cc files.
REVERT: 4790fd63e3 Plain logger logs the used command line options.
REVERT: 461d178134 Removed 1.2 files.
REVERT: 70ba5c8150 Rewrote most of Haiku video support to conform with 1.3 functionality.
REVERT: 022eceb59a Breaking tests in surface to several smaller tests.
REVERT: 6d3454e153 If any assert in SetUp function fails that test will be skipped.
REVERT: 3efe0fed79 Added SetUp/TearDown functions for test suites.
REVERT: 0eb354cef4 Fixes based on CR.
REVERT: 5ad396d180 Updated assert messages in surface test suite.
REVERT: 48bcede0dc Bunch of little fixes.
REVERT: d0e9372d99 Ported surface tests.
REVERT: 63d7c3faa6 Ported common directory from automated. It contains common helpers functions for some test suites.
REVERT: 756be93f60 Made the default XSL style less blocky.
REVERT: 0897dcc54e Fixed doxygen markup.
REVERT: c003533b11 Fixed the interface between tests suites and logger. Note: breaks the linux build.
REVERT: f51d137634 Added audio suite.
REVERT: 58b0cd86d7 Added a skeleton stylesheet that can be used as a base for developing a new stylesheet for XML test reports.
REVERT: 512c6cb102 Made the output of plain logger more readable.
REVERT: 891b80a6e0 Added command option --version
REVERT: ec1a464da6 Fixed './runner --xml --show-tests'.
REVERT: f2553543f6 Help usage missed ] which added.
REVERT: 27849ed07d Fixed white space issue in XSL stylesheet.
REVERT: ad423aceb3 Changed the usage help.
REVERT: bd37c13002 Fixed XML logger. EscapeString didn't from strings properly.
REVERT: db5086bfea Cleaned up the build system. 'make clean' now deletes the installed test suites (this should prevent old tests lingering around)
REVERT: 46b8ef7dad Fixed 'make install' errors by using a bash script.
REVERT: 84915157da Fixed a bunch of Makefile.am files.
REVERT: 4d41c6069a Fixed doxygen markup error.
REVERT: d7bab62d35 Added better function for escaping strings.
REVERT: 4fdb4d47e7 Redefined the usage of --xsl command option.
REVERT: 065297879a Separated test suite name from its directory path. Fixes usability issues concerning some command line options.
REVERT: 3055057249 Removed directory from test suite names.
REVERT: 5f77401c49 Added user-supplied XSL style sheets for XML-based test reports. Added new command line option: --xsl.
REVERT: cdc832d2b9 Cleaned the XSL style a bit.
REVERT: b525325759 Refined the XSL style.
REVERT: 41e47503a7 Added some interactivity to XSLT stylesheet using javascript.
REVERT: 7d6dcc9376 Fixed the calculation of total runtime for a suite.
REVERT: 8e4f7ad4e5 Added plain XLST file.
REVERT: e991b0266b Fixed a few mistakes from XML logger.
REVERT: c843c7e815 Fixes based on CR.
REVERT: 6cb39be4a6 Added documentation.
REVERT: 896b25911d Fixed test suite start time.
REVERT: 3185853496 Removed printf's from dummy test suite.
REVERT: 7494225e7b Plain logger refined.
REVERT: fd3b97e2ff Added time, date and total runtime information to the output by logging system.
REVERT: 7236f2ab89 Refining the output of XML logger.
REVERT: 2a486b279b Added identation to the output of XML logger.
REVERT: 2e8932b12e Logging system added to harness. Logging system doesn't yet utilize all the given parameters.
REVERT: 4f1212a24b Replaced private event functionality with event sending.
REVERT: e2799bbbb3 Added case insensitivity to XML elements.
REVERT: 7b600bf889 XML component no longer outputs the generated XML. Fixed a bunch of compiler warnings.
REVERT: eb1a182654 Fixed XML elements. Element's end tag is now properly formed.
REVERT: e6225c947b Added escaping special characters to their corresponding entities in XML output.
REVERT: 2dd346fae0 Changed XML-generator to use static buffer instead of dynamically allocated memory.
REVERT: a3b21d2e4b XML elements now support single attribute. Fixes here and there.
REVERT: 94c6ae4eab Various fixes and additions to logger system.
REVERT: ac07ad67d9 Creating flexible logging system which supports XML and plain text. Work under progress.
REVERT: afa5bfc8d0 SDL 1.3 patch 00 for GSoC: Haiku - Implemented pthread spinlock in src/atomic/spinlock.c (in both trylock and unlock).  Added appropriate checks in configure.in and include/SDL_configure.h.in.
REVERT: f578687b3d Refining XML-output module
REVERT: c7bdf3c748 Very early version of module that creates XML-based test reports.
REVERT: 5100317403 Ported platform tests, added AssertPass and AssertFail
REVERT: c2022fc6d9 Changed the title for README
REVERT: d39b9dd978 * Add missing file SDL_hints_c.h
REVERT: f7397f3579 Added new command line option: --show-tests
REVERT: 523fa1f6b7 Stub for generating doxygen main page from README.
REVERT: 481c64b262 Added timeout to TestCaseReference.
REVERT: 3c3953361f Compatibility fix. Apparently all system don't have d_namlen member in their DIR struct.
REVERT: 2f0bec3220 * SDL_IOS_IDLE_TIMER_DISABLED hint
REVERT: a36a856bf9 * SDL_IOS_ORIENTATIONS hint
REVERT: 94e1b6970f Make SDL_QuitRequested() return an SDL_bool
REVERT: b43aca329d Fixes a bug in SDL_UpdateTexture when using SDL_RENDERER_SOFTWARE and texture access is SDL_TEXTUREACCESS_STATIC
REVERT: 2fdcb7bdfc Fixed memory leak in SDL_DestroyRenderer.
REVERT: 0b3c783570 Cocoa: Update the current GL context when its window moves or resizes.
REVERT: 34edc62460 Turn SDL_GL_MakeCurrent() into a no-op if setting the same context twice.
REVERT: c4348f44f7 Linux: Search a smaller set of potential joystick axes.
REVERT: 1fc724be50 Properly set up default resolutions.
REVERT: dfe639930e Implemented pthread spinlocks.
REVERT: ef89823301 Fixed doxygen comments and usage help.
REVERT: c466d7043f Updated test case filter.
REVERT: b53f302e9c Added comments and did some cleaning.
REVERT: 821c7d9971 Added test and suite names to the output.
REVERT: 4f8639e449 Creating pipeline for test case selection. Work in progress.
REVERT: d3b50802bf Removed unnecessary function.
REVERT: ab42fe5afa Fix: memory allocated for test suite references is freed
REVERT: 4f5d867d8d Initial version of "scan tests/ for test suites" functionality.
REVERT: eb11cafec4 Add a comment.
REVERT: c3ab04563b Fixed gcc warnings for apps using SDL headers with -Wundef flag.
REVERT: 736c0e2a65 Minor refactorings.
REVERT: d9ce7a4a40 Converted libtest to a more proper dummy test suite (libtestdummy).
REVERT: 6346ed9ccb Fix: Use DEFINE instead of plain number.
REVERT: 5379420c8a Refactored a bit. Extracted the code which checks for test suite selection to a function.
REVERT: 16254c328a Small fixes to previous commit.
REVERT: d4b779a15d Possible to execute only selected tests or suites.
REVERT: 8b1cf3db98 Updated configure.in to be compatible with autoconf 2.67.
REVERT: 8e99f21e3f Runner can execute multiple test suites consecutively.
REVERT: 88d6f70285 Fixed old comments and added new ones.
REVERT: 1819321f75 Test case fails if it doesn't contain any asserts.
REVERT: 1b21c6547d Refactoring the TestCaseInit and TestCaseQuit functions to be caller from the Runner.
REVERT: 590a060f3b Assert code's stdio interface was reading from the wrong variable.
REVERT: 450610b7c7 Ported testrect from original automation code, updated AssertEquals, added AssertTrue
REVERT: 75691b7b9f Refactoring runner.c. Added --help/-h command line option.
REVERT: de0a31c8fc Fixes to doxygen comments. Changed some printf() to fprints(stderr).
REVERT: 7fff64a11b Moved tests/SDL_test.{c,h}
REVERT: 5b6be642ea Fixed doxygen warnings
REVERT: bc147958d8 Refactoring the code (runner.c). Adding support for executing tests in-proc.
REVERT: 73fa28c71c Added doxygen-compatible comments
REVERT: 7004e4ae6d Fixed global suite declaration segfault via external linkage declaration
REVERT: 86738f81ab Little fixes here and there.
REVERT: ff1e17dca4 Added TestCaseReference structure.
REVERT: d6d8dec05e Refactoring the massive main() to smaller functions.
REVERT: 4540a8a1b9 Some fixes for Linux compatibility.
REVERT: 2650f76826 Fixed an error from make target: install
REVERT: 122418566e New automake-based build process.
REVERT: 6a2c27c6eb Simplifying
REVERT: 58ff822335 Tiny changes to runner
REVERT: 850eb7ba82 Added assertEquals(Uint32, Uint32)  function
REVERT: 87553ecc6d Tiny Makefile.in fixes
REVERT: 37ea67786d Bootstrapping build process using proof-of-concept test runner.
REVERT: b62273437c Clarified SDL_GetWindowSurface() documentation
REVERT: 401e97ad0c Fixed so SDL_quit.h doesn't require SDL_compat.h
REVERT: f2b3dc5a5a Make assert dialog work on Cocoa target even if we haven't initialized video.
REVERT: 36d698513a Debug win 32 settings was wrongfully set to build the Release 32bit version.
REVERT: d4637e7a65 Added test of the assertion reporting system
REVERT: b94f23a46d Removed assertion list terminator (just do it like a normal linked list).
REVERT: 782b8b7d6e Fixed bug 1185 (VS 2010 project files do not support side-by-side 32-bit and 64-bit builds)
REVERT: e740162fb0 Fixed: Windows always fails with SDL_HapticOpenFromJoystick
REVERT: 1665c192e6 Minor missing parameter name
REVERT: 13cc0a3c3a Updated documentation to reflect new license
REVERT: 605263ee5f Removed buggy and LGPL MMX mixing routines.
REVERT: b0660ba5ff SDL 1.3 is now under the zlib license.
REVERT: c336f6f154 Fixed build error
REVERT: 5c77470fb0 Fixed bug 1177 (testsdl ios crash)
REVERT: 5e1ffb1cc3 Allow overriding the app delegate on iOS
REVERT: 0e83d1d4f3 Fixed setting programmatically setting the size of a window on X11 for non-resizable windows.
REVERT: 65b0f3090a Fixed bug 1173 (No mouse wheel event on linux/x11)
REVERT: b786ea8b06 Some more iOS orientation rotation fixes.
REVERT: 126bbbaa50 Added SDL_GetRenderer()
REVERT: b950cf4653 iOS: Correctly resize renderbuffers when rotating orientation.
REVERT: 932c46e9ca Move variable declaration position to stick with C standart.
REVERT: e17ed1c762 Fixed compile error.
REVERT: b705071877 Filter out SDL_WINDOWEVENT_SIZE_CHANGED events too
REVERT: 8e668b0606 Make sure the resize event gets through
REVERT: e0bb29f480 Backed out changeset ef550bdb8c1b
REVERT: 610c824670 If a test program window resizes, resize its viewport, too.
REVERT: ab0fcbfbd2 Added orientation rotation for iOS.
REVERT: 15b112e3a6 Make the iOS test projects target iPhone and iPad instead of just the phone.
REVERT: 8a8592e34c iOS: Report both landscape and portrait orientation as display modes.
REVERT: f731db9d8b NDS update
REVERT: ffe479aab8 Temporarily removing sprite and sprite2 at Frank's request
REVERT: 3b72fdeffe NDS update
REVERT: 85ad17e7d6 Added high resolution timing API: SDL_GetPerformanceCounter(), SDL_GetPerformanceFrequency()
REVERT: 98e5ddb37d Android defines linux, but doesn't have the gettid system call.
REVERT: 5c01c4797c SDL 1.3 requires a 64-bit type for the platform.
REVERT: da1479c45f Fixed typos in example code
REVERT: a38339ac08 Warn people not to run their applications as root!
REVERT: f0b1c9b859 The API sets the priority for the current thread, not an arbitrary thread.
REVERT: fb417a9de4 Don't be clever, just call it testthread
REVERT: 6141cf3aae Fixed permissions
REVERT: bca33709c6 Implemented SDL_SetThreadPriority()
REVERT: 0b1225e301 Fixed signed/unsigned warning.
REVERT: 7472736e2d Fixed related function documentation
REVERT: b547542f70 The scale mode is per texture, not per texture unit.
REVERT: 75dcb27882 Fixed bug: No right mouse button events during FullScreen Mac OS
REVERT: 6373d8954b Fixed compiler warning
REVERT: 791cca44b5 Split SDL_BlitScaled into SDL_UpperBlitScaled and SDL_LowerBlitScaled. Fixed issue when calling SDL_BlitScaled() directly with src or dst rectangles that were out of bounds.
REVERT: 6f505f9608 Make it possible to run "make dist" from a separate build directory.
REVERT: e6a027df65 Added quotes to the post-build copy commands
REVERT: 7bee4c671d Fixed dependencies for testcursor
REVERT: 1e83a51bfd Removed obsolete window positioning code.
REVERT: 4952e5686b Fixed accidental line deletion.
REVERT: 45e584dd37 Do not break application's signal handler installed with SA_SIGINFO
REVERT: 5f721ad51f Fixed error because intrin.h contains C++ code and can't be included in an extern "C" block.
REVERT: bbf8ed88c2 There's a function to do that... :)
REVERT: 441f60edb6 SDL will treat the functionality as unsupported if the functions aren't filled in.
REVERT: a8591ca87b DirectFB driver update
REVERT: dc564a22c8 Delegate should use application: didFinishLaunchingWithOptions:
REVERT: fb23223dc1 Fixed typo
REVERT: 5ddb72419d Fixed crash if the update rectangles are not pre-clipped.
REVERT: a19e258730 Added the SDL_HINT_RENDER_SCALE_QUALITY hint, which defaults to nearest pixel sampling.
REVERT: fbc49beee3 Removed unreferenced variable
REVERT: a9d41506c3 If we leave the default SDL_config.h in place, it'll override the one generated by configure when building from a different directory.  Argh...
REVERT: fc9ee0c10f Fixed so code will compile with SDL_config_minimal.h
REVERT: 2bfebc895c Fixed operator precedence
REVERT: 23b4b79a90 Fixed bug 1165 (SDL_GetMouseState() returns wrong location after switch to/from fullscreen)
REVERT: 0eb0a30eca Fixed bug 1167 (SDL_WINDOWPOS_CENTERED doesn't work if used right after fullscreen -> windowed switch)
REVERT: 06a33455ca Fixed bug 1166 (No mouse motion events while SDL_SetRelativeMouseMode() is active and holding the mouse button)
REVERT: 8fe03ca350 Copy icon.bmp for the testcursor build
REVERT: 0f3c139a87 We don't want to remove SDL_config.h since it's in source control now.
REVERT: 64db8ae2c6 Updated configure with newer autoconf
REVERT: 27db584f54 Added a function to create color cursors: SDL_CreateColorCursor()
REVERT: 3b5aaf8974 We can assume ARGB surface format when creating cursors (enforced by higher level API)
REVERT: 3b97514dce Added support for the Xcursor library for color cursors
REVERT: d8ce454e1e Implemented X11 cursor support.
REVERT: 3f39e2eae1 Fixing permissions
REVERT: c9e8ff608c Fixed permissions for C header files
REVERT: 45d991f20d Fixed permissions for C source files
REVERT: 7dd0385c57 Gamma support is back!
REVERT: 2f6aa755d6 Fixed bug 1162 (Error calling SDL_RenderReadPixels() with format=0)
REVERT: 903efd986f SDL_RenderReadPixels() is restricted to the viewport area.
REVERT: 768312f0a4 Added screenshot support for tests using the common framework.
REVERT: 4f4a283d1e Include an updated Version.rc in Visual Studio builds
REVERT: 95c839f471 Fixed bug 1163 (SDL_TEXTINPUT not being received on iPhoneOS)
REVERT: 608ec7da5f Removed newlines from log messages Slightly speeded up event history processing each frame
REVERT: 48ef3c9e2e Fixed touches for the !IPHONE_TOUCH_EFFICIENT_DANGEROUS case
REVERT: 63251bb510 Use SDL_Log() so the messages show up on iPhone and Android
REVERT: bf7ca0d601 Make the globals static so they're initialized to zero.
REVERT: ca4b8205c8 Fixed testgesture to work on the iPhone
REVERT: 5f55b90cbd Fixed linking x64 with Visual Studio 2010.
REVERT: 57a49884db Removed obsolete test program
REVERT: 78ea69628d Added missing test program
REVERT: e8705164b3 Fixed 64-bit compiling
REVERT: f1ca1a0190 The msimg library isn't needed anymore.
REVERT: a17d0eb586 The MMX and 3DNow! instructions can't be compiled by 64-bit Visual Studio.
REVERT: 4030919ec9 The msimg library isn't needed anymore.
REVERT: 5137fef264 Fixed the libraries linked with Visual Studio 2010, the msimg library isn't needed anymore.
REVERT: 8125f3670f Fixed compiler warning on Visual C++
REVERT: 150d58413e Fixed bug 1161 (Setting GL_ACCELERATED_VISUAL to 1 forces software rendering in Windows XP)
REVERT: 5b00b273ef Enabled multi-touch
REVERT: f33af0d17b Added gesture test program
REVERT: 43bb47452e Removed associated source files
REVERT: b1a4969b91 Removed associated resources
REVERT: e5f6375640 Removed old test
REVERT: 0469477aa9 Fixed compile error
REVERT: 1c83266beb Removed the NDS hack for ARGB1555 surfaces, since it's a general problem; added full color expansion for 16 bpp packed pixels.
REVERT: e43f8d8003 Fixed bitmap order interpretation; SDL defaults to MSB ordering so a bitstream corresponds to a pixel stream.
REVERT: 2bea0e636f We explicitly don't know how to handle 1 and 4 bpp pixel formats.
REVERT: 2d5640cc96 Fixed memory corruption with invalid pixel values.
REVERT: b2ad2a405c Fixed up structure to match header, added missing Aloss
REVERT: 4c1a08f150 Added padding for better aligned access to *shift/*loss members
REVERT: d8392622bb Better error reporting in allocating a pixel format.
REVERT: a1ac5f42e0 Fixed garbage trying to create a FourCC pixel format.
REVERT: 61b11f87da Fixed initializing pixel format for indexed formats
REVERT: d60c96a568 You need libfat for the filesystem code.
REVERT: 387ca6c6cb Only compile the NDS renderer if specified in the config file.
REVERT: f0d94b59fb A better way of setting the fullscreen flag for windows on Nintendo DS
REVERT: ac662b8421 Fixed compiler warning
REVERT: 924f55eebe Fixed compiler warnings
REVERT: 253835bdd2 Fixed compiler warning
REVERT: a1dfcdb79d Fixed compiler warning
REVERT: 6e05dee645 a Nintendo ds update
REVERT: 0a92449744 The Xext directory no longer exists
REVERT: 2368a3301a Added support for Windows cursors
REVERT: 4b86de315f Fixed warning on Windows
REVERT: 0f59f2fdbb Fixed memory leak freeing cursors
REVERT: 8457ab1e62 You can use SDL_ConvertSurfaceFormat() now Also, icon is guaranteed not to be NULL going into this function.
REVERT: 5b710cfee4 Oh yeah, we're using extern
REVERT: 10c875b184 Fullscreen doesn't automatically grab the cursor.
REVERT: 9053cfa4cc Removed extra NoStdio configuration
REVERT: ddb28aeb49 Removed duplicate assignment
REVERT: 9b04915913 If you pass in texture format 0, it'll use the first supported texture format.
REVERT: 05b0c40ffa Fixed setting draw color for clear
REVERT: 6053ae5234 OSF isn't supported anymore.
REVERT: 303287a180 IRIX is not supported anymore. :)
REVERT: 8706244c39 SDL_revision.h is always updated as part of the build process now.
REVERT: 73b501d88c Dynamically load the Xinerama and xf86vmode extensions This fixes a few bugs with different distributions: http://bugs.freedesktop.org/show_bug.cgi?id=17431 http://bugs.gentoo.org/show_bug.cgi?id=246177
REVERT: e32b25be9e Fixed compiling AltiVec blitters
REVERT: cde0d1bc03 Implemented mouse relative mode on Mac OS X.
REVERT: 9959455aee Added a cleaner way to set the default cursor. Added a way to cycle through the default cursor in testcursor.c
REVERT: 99de5726b1 Fixed minimizing fullscreen windows. Removed misleading hide/unhide Cocoa notifications. We have no way of knowing when a Cocoa window is maximized and then restored (right?) Disabled spamy mouse motion events by default.
REVERT: ade868c17f Use boolean value for input grab mode, like we do for fullscreen mode.
REVERT: ce2aa2ee1d Zero streaming textures at the driver level
REVERT: c506aacb3a Fix fullscreen origin on Mac OS X 10.4
REVERT: 3f465b7523 Fixed bug 1141 Rebuild the window with the new style on older versions of Mac OS X.
REVERT: 9c8d95eab0 Restore the window title when the title bar is re-added to the window.
REVERT: fbdf7429d5 Restore the windowed position and size when coming back from fullscreen. Also fixed problem where Cocoa would move the windows in response to the fullscreen mode change.
REVERT: 0dd9ad216f Hopefully fixed crashes when creating multiple streaming textures of different sizes.
REVERT: 82a00575e9 Tracking rectangles had some problems, it's easier to track things directly.  (fixes bug 1149, 1147, 1146)
REVERT: 1a2a914b33 Fixed bug 1145 (GL Context creation fails for OpenGL 3.2 + Alpha buffer with X11 BadMatch)
REVERT: 65af7584bf SDL 1.3 doesn't use nasm anymore. :)
REVERT: 2f682c9d08 Fixed compile error on some versions of Mac OS X.
REVERT: d79f7ed02d Fixed altivec.h include on Mac OS X
REVERT: e4a0db291e Re-added the 3DNow! and AltiVec instruction support.
REVERT: 92bf0fc2fd Update the cursor correctly when it enters and leaves the window.
REVERT: 1918f54080 Actually set the cursor! :)
REVERT: 642eea1ebc Simplified the X11 window creation
REVERT: f817468a0b The OpenGL test window shouldn't be visible.
REVERT: 36be715703 Don't automatically send minimized and maximized events, it's up to the windowing system to decide what to do with them.
REVERT: 252402726d Clear the hidden flag when shown and the shown flag when hidden.
REVERT: 0f6925189c Simplified Windows window creation.
REVERT: 9da77abd36 Fixed compiler warnings
REVERT: f8481050cd Simplified and unified the window creation process a little.
REVERT: 165076c9c3 We can defer window creation. Added documentation for why we need an SDLView
REVERT: f3564c3a8e Fixed compiler warning
REVERT: 24864a72cc Added disabled preferences menu option so it looks more like other application menus.
REVERT: 22779f35b2 Implemented cursor support and SDL_WarpMouseInWindow() on Mac OS X
REVERT: ada3863500 Implemented Cocoa_SetWindowIcon(), added SDL_ConvertSurfaceFormat()
REVERT: eb66b35c80 We still want the delegate functionality for windowShouldClose()
REVERT: 9619f0bccf Do error checking in SDL_GetDisplayForWindow()
REVERT: 5d5c23d421 SDL still supports older iPod Touch and first generation iPhones.
REVERT: 658997241d Fixed the responder chain for event handling, the listener fully handles mouse events - even in fullscreen mode. The only reason we need a custom view is to handle right mouse down.
REVERT: c379a10fa4 The valid mouse coordinates actually range from 0 to w-1 and h-1
REVERT: 84c86a8df1 Reverted the experiment, it didn't work.
REVERT: e4acc9ef07 Experiment to try to account for source clipping
REVERT: 04bd7cfffc Fixed bug 1105 (SDL_GetMouseState returns wrong location upon window re-activation)
REVERT: 7aadbd91ac Updated the template code
REVERT: 1c631c853c Fixed the fireworks demo
REVERT: 9ed73976a5 Fixed bug 1137, updated the keyboard demo with latest rendering API changes.
REVERT: 8e56849e83 Fixed testgles on iOS (bug 1136)
REVERT: f0c1972949 Fixed compiler warning
REVERT: b76f908f27 Fixed compiling on Mac OS X 10.4
REVERT: f2209fb448 Simple rumble API for haptic
REVERT: e7aaeec596 Added a revision number for easy compile-time tests.
REVERT: d5af47a5c7 Untested fix for bug 946 (SDL_HapticIndex returns 0 for all devices)
REVERT: dc7c1fa1df Reset the viewport since we're stretching to the entire window.
REVERT: 3c73e33be7 Linker and deployment target fixes for the test programs.
REVERT: ee61cc3170 Added OpenGL state caching for decent speed improvement.
REVERT: 8c64c50659 SDL works on older iPod Touch and first generation iPhones running iOS 3.1.3.
REVERT: 464cfffab9 Fixed linking the demos
REVERT: e2438fbcb2 Yes, it compiles now.
REVERT: 9b4905af3b Fixed warning on Mac OS X 10.4
REVERT: 662a1c6cbd Autogenerated full mask checks for pixel format match
REVERT: 009af96ce0 We have the correct window, we don't have to search for it, duh. :)
REVERT: 234bc0aa5d Added missing log debug function
REVERT: 91442746dc Add assertions to the default API set.
REVERT: 51b2e9f859 update-revision is still phony. :)
REVERT: e81d8928b6 Added a better way to include build rules in the Makefile Cleaned up dependencies on generating SDL_revision.h Fixed 'make install' if you are not building from a Mercurial repository
REVERT: 3afe890b1f Whoops, the format parameter was off the page.
REVERT: c237d6583f The file is actually SDL_config.h now.
REVERT: 92f76388ca Zero streaming textures to reduce confusion. (See mailing list message with subject "Streaming textures not properly initialized?")
REVERT: 0f3966f2b0 Don't remove the pseudo-generated headers because this command might be run from the repo directory and it confuses people, especially if they have no way of regenerating SDL_revision.h :)
REVERT: 5ab489f570 Fixed make install
REVERT: 4c83734b3f Fixed debug format
REVERT: 6ade085169 Removed the obsolete NoSTDIO configurations
REVERT: 3746025d7f Allow the application to explicitly request a software renderer.
REVERT: baf813b8c1 Our minimum Windows version is Windows 2000, so it's okay to directly call InitializeCriticalSectionAndSpinCount()..
REVERT: 58d7fc4732 Fixed bug 1128
REVERT: ea8037a625 Implemented OpenGL ES RenderClear()
REVERT: 7fda55f8d4 Fixed warnings about unused variables and so forth.
REVERT: 30d36c1c80 Fixed SDL_RenderClear() if the render driver doesn't implement it.
REVERT: b411d9fc24 Fixed crash when drawing non-textured primitives
REVERT: 765c7da302 Updated deployment target to iPhone/iPad 3.2, and added dependencies on SDL for the demos.
REVERT: 1cbbefce43 Fixed bug 1122 (spinlock fails to compile with -march=armv4t)
REVERT: d4a7019d95 There are bindings to Go at https://github.com/banthar/Go-SDL
REVERT: d4acca7166 Renamed SDL_keysym.h to SDL_keycode.h to avoid confusion.
REVERT: d2b922f555 Fixed bug #1090 (SDL_BlitCopyOverlap() assumes memcpy() operates in order)
REVERT: dc23c42ea9 The library target directly depends on SDL_revision.h
REVERT: 44d550e466 Updated to remove stdio redirect option
REVERT: 7755315b2d Fixed SDL_revision.h dependencies
REVERT: 9f536cb6f7 Source is not executable...
REVERT: f4dd9b9456 Allow you to override SDL's main override
REVERT: 0a5c049c24 The scripts to generate header files are no longer necessary.
REVERT: 911522c1fe Updated HG ignore file for Visual C++ files
REVERT: c2204a539c Fixed bug #1121 (More than one device through SDL_JOYSTICK_DEVICE)
REVERT: e6accab8ba Fixed bug #1085 (Jump to NULL function pointer on ALSA_OpenDevice)
REVERT: 86ccb87283 Fixed bug #1064 (configure still has --enable-stdio-redirect option)
REVERT: e17d29cd0e Setup the screensaver in the OpenGL case as well.
REVERT: 2266448814 Fixed bug #963 (Crash with OpenGL & window resizing)
REVERT: 1eebb75596 Building SDL_revision.h is a dependency of installing the headers. :)
REVERT: e0bf2dc643 Made it possible to build SDL from a fresh checkout without any additional steps.
REVERT: 20ae4187a4 Needed to allocate memory for the shadow surface if we needed to create one.
REVERT: 3c7c3d8d8b Okay, _now_ SDL_WM_ToggleFullScreen() works on all platforms. :)
REVERT: 1738e5f49d Hot damn, SDL_WM_ToggleFullScreen() works on all platforms now. :)
REVERT: d119c3824f Fixed resetting the Direc3D renderer on mode change
REVERT: 6c726ca475 Fixed a host of issues with Windows fullscreen modes.  Toggling fullscreen OpenGL works now in my test environment.
REVERT: d865e46b13 Allow centering on a different display
REVERT: 3e5d117b19 Fixed gcc -pedantic warning
REVERT: 99260d91a1 Implemented X11 fullscreen toggling with modern window managers
REVERT: 8abd1a0541 Patch to fix includes from Frank Zago
REVERT: c1b336b8ee Don't accidentally pick a YV12 format as the closest format.
REVERT: a6be4e7267 Don't reset the viewport unless you have to.
REVERT: 2a4134c20a Whoops, need to actually clip to the viewport in the software renderer.
REVERT: c804b92b9e Changed the concept of a render clip rect to a render viewport. The render viewport is automatically re-centered when the window changes size, so applications that don't care will not have to handle recalculating their rendering coordinates.
REVERT: 32d70d6f2b Software scaling support.  Not very fast, but it seems to work.
REVERT: 20b4d9f762 Patch from Ken Rogoway: Migrate all of the recent changes into the SDL VS2005 project file. Fix missing return value in SDL_pixels.c Fix compile error in testscale.c, variable was incorrectly named. Added VS2005 project file for testscale
REVERT: 72cdb910fb Center the old SDL 1.2 screen in the window if we can't get the size we wanted.
REVERT: 98f0920828 Fixed crash while resizing a window on Mac OS X.
REVERT: da8fc93d71 The format_version isn't used anymore.
REVERT: 19ffc209ef Fixed renderer variable scope.
REVERT: 1c7ff9df09 Removed renderer definition, removed extra -I statements since no other platform has them (files should be explicit in their include paths).
REVERT: f9a5f416fb Frank Zago to SDL
REVERT: 5095592ce5 A few fixes: Fixed creating render texture framebuffer. Removed the need for palette watch, added surface format caching. Added an SDL_DONTFREE flag so you can't free the window and 1.2 shadow surfaces.
REVERT: 13ba84bf0e Whoops, work in progress, didn't mean to commit.
REVERT: 978839d076 Updated the platform test for the new CPU feature functions.
REVERT: 5fe61f6aaa Needed to pass the renderer in.
REVERT: 38437fce7f Changed output directory of Universal libSDL.a for iOS to respect build configurations. Template generator was updated to reflect these changes as well.
REVERT: bfd339b994 merged
REVERT: 9a464ae798 merged
REVERT: 93ab733085 Fixed bug #1117
REVERT: fbfad97573 Fixed bug #1116
REVERT: 9526c9da70 changeset: 5278:b4b71ec2af73 tag: tip user: Martin Decky <martin@decky.cz> date: Sat Feb 12 22:27:14 2011 +0100 summary: fix typo (assigning height value into displayrect.w instead of displayrect.h)
REVERT: bb1d345990 This should match the header change.
REVERT: 52df6c6092 changeset: 5272:cb08ef104ac4 tag: tip user: Martin Decky <martin@decky.cz> date: Sat Feb 12 20:53:06 2011 +0100 summary: improve header files compatibility with SDL 1.2 applications (namely QEMU)
REVERT: e38cbfcc5a Removed the atomic file for the old API
REVERT: 96656bb924 Frank Zago to sdl
REVERT: 5fc9a80e24 The YV12 image isn't w*h*2, it's actually w*h + w*h/4 + w*h/4
REVERT: ba0ff6d7c8 Fixed a crash caused by the 1.2 code path getting a YV12 texture. :)
REVERT: e74e437b3c Only expose the OpenGL flag to SDL 1.2 if it was requested. The window flags mean the window is OpenGL capable.  The surface flag means that the surface is a stub surface representing a window that has an OpenGL context attached.
REVERT: 8443161ffd Removed private API use that was causing AppStore rejection
REVERT: 78a17dbc64 Ah there, that fixed it. :)
REVERT: 53654196fd Initial pass at shader YV12 support - doesn't quite work yet.
REVERT: 8ecd7110d2 Fixed SSE4 detection, and split it into SSE 4.1 and 4.2
REVERT: e5803d148c Happy 2011! :)
REVERT: 059ef6ad0d There is only one width and height for the window.  If those are changed during the course of a fullscreen mode change, then they'll stay that size when returning to windowed mode.
REVERT: d63ef6e2a4 itsnotabigtruck has given me permission to replace the license for his contribution.
REVERT: 0314fd4e0f Updated CPU detection code for SSE3 and SSE4 and removed obsolete 3DNow! and Altivec support.
REVERT: e8f3f1e948 More removal of leak code.
REVERT: fcc17ebcb2 Finished removing unused leak detection code.
REVERT: 5a0ad0fca0 Removed unused leak detection code.
REVERT: aef1c8834a Cleaned up the file a bit for tutorial viewing
REVERT: 5540f2dba3 Added a very simple example of texture streaming
REVERT: 8bee2482d7 Fixed creating the window on Mac OS X.
REVERT: 07f6bb6e16 Fixed error check
REVERT: bff537f964 Fixed compile in Xcode
REVERT: b26aaee0f2 Fixed compiling on Windows
REVERT: 9560b718a2 Mostly fixed fullscreen mode on Mac OS X, and you can toggle it on and off.
REVERT: e3b131e170 Fixed cocoa trying to shuffling windows when going fullscreen on the main display.
REVERT: 4187161566 Allow windows to be created on non-primary displays.
REVERT: 018af55e16 Window coordinates are in the global space and windows are not tied to a particular display. Also added Ctrl-Enter keybinding to the test code to toggle fullscreen mode for testing.
REVERT: 2c021d9b34 Fixed line endings - in Mercurial they're \n
REVERT: e9689c29d5 Be explicit about what display you're querying.  The default display is 0.
REVERT: e0f869b698 Removed gamma support since it wasn't widely used and not well supported.
REVERT: c4f308a1be Better window parameter checking
REVERT: b20054dfb4 Surfaces aren't in hardware memory anymore!
REVERT: 05ba63bd32 Added a scaling test program
REVERT: bc838ec7ba Updated Xcode project with OpenGL shader files
REVERT: 0f1080b558 Fixed compiling on Windows Added an untested shader for YV12 textures
REVERT: 85a93efaec Fixed crash when shaders aren't available.
REVERT: a429b886d4 Fixed crash when shaders are not supported
REVERT: 631784d9a2 Added a way to replace the default logging mechanism
REVERT: 8f92919310 Added the ability to turn on logging output to the test programs
REVERT: 9c86971ac9 Added a hint to control whether the OpenGL driver uses shaders.
REVERT: 752dd42dea Added a simple GLSL example using SDL
REVERT: 505dd64abe Made the shaders easier to debug when they don't compile
REVERT: 296fa03f71 Fixed the shaders (needed to use texture2DRect) - thanks Ryan!
REVERT: fd61299f87 Fixed setting the texture unit, still doesn't work.
REVERT: e66660c5f6 Beginning of a framework for OpenGL shaders
REVERT: e455951633 Reduce duplicated code in the texture update code paths
REVERT: 7133afac5f Made it possible to disable the rendering subsystem with configure --disable-render
REVERT: 8f205278b1 It's now possible to disable the fast atomic operations, at a huge performance penalty.
REVERT: 8253658837 Added function SDL_RenderSetClipRect()
REVERT: 42bac7a31e Fixed stack overflow on Windows
REVERT: 9127589299 Try to create an OpenGL ES 2.0 context on Android and successfully fall back to OpenGL ES 1.1 if that fails.
REVERT: f582f9e58e Added a simple log message API
REVERT: acee78a1c2 Renamed SDL_Key to SDL_Keycode to clarify terminology.
REVERT: cc52151bca Renamed SDLKey and SDLMod for consistency
REVERT: 76a24d278d Sheena pointed out that "scancode" and "keysym" are single words and shouldn't be camel-cased.
REVERT: f0fa63a506 Create an OpenGL 1.1 context by default, if available. This is easier for people to set up and work with, and is more conformant to the way desktop OpenGL works.
REVERT: 6fe14e1791 Updated testoverlay2 to use the SDL 2D rendering API
REVERT: 9b289f0b8d Removed obsolete file
REVERT: fb08cecb1d removed sail.bmp from Xcode project
REVERT: 6a6fb1c639 merged
REVERT: 87ca0acb3f You don't need to copy the pixels into the streaming texture's pixel data.  This behavior is defined specifically to optimize the UpdateTexture path.
REVERT: 1c8816f6fe OpenGL ES 2.0 rendering LIVES!
REVERT: 3fd1264194 Fixed compiling source shaders
REVERT: 4bb96bede2 Whoops, duplicate case
REVERT: 44d8b045b2 At least allow returning the values that were set.
REVERT: b1c0c48f03 Prefer the OpenGL ES 2.0 context when it's available, make it possible to create an OpenGL 2.0 context on iPhoneOS
REVERT: ccdb593a0b Updated the iPhone demos for the new API
REVERT: a83bca04d0 Since we changed the API entirely, just remove the old function names
REVERT: 55a04881d8 Fixed crash when binary shaders are not available.
REVERT: 3ea29eeb59 Updated Xcode project with moved and removed files
REVERT: 58e9ea986f Fixed building on Android, added SDL_opengles2.h, removed unnecessary SDL_glesfuncs.h
REVERT: cc1f36b7dc Minor consistency cleanup and documentation link update.
REVERT: 0e1d3a505d Removed extra unneeded pixel formats, added support for VSYNC on other platforms besides Zune HD.
REVERT: f2c40726b6 Added an OpenGL ES 2.0 renderer, contributed by itsnotabigtruck
REVERT: a51c332dfe Created a simpler version of SDL_SetHint() that doesn't need a priority.
REVERT: 8b3eb38df2 Updated the DirectFB support, from Couriersud
REVERT: d1f0fa4288 Updated Mac OS X and iOS projects
REVERT: 1086a1e4a4 Fixed compiling the automated test
REVERT: 90afe5e825 Updated projects
REVERT: f002356b91 Renamed files for consistency
REVERT: 991558a464 Fixed newlines
REVERT: a9d652d20e Updated Visual Studio 2010 project
REVERT: f8247546d6 Added the SDL_HINT_RENDER_DRIVER and SDL_HINT_RENDER_VSYNC hints.
REVERT: 37f40cdb19 Allow SDL_HINT_FRAMEBUFFER_ACCELERATION to specify the renderer to use.
REVERT: ce1ef46aeb Added a hint to determine whether framebuffer texture acceleration should be used, and added default behaviors for the various platforms.
REVERT: 7f7bf51bdb Added a hint system to allow configuration hints to be specified by the application.
REVERT: d3229ca45a Removed execute permissions on source files.
REVERT: 08c975d3ab Fixed permissions on the Android config header.
REVERT: f59b2ba3fb Updated the name of the Direct3D renderer.
REVERT: 12098369fe Allow resizing of testsprite
REVERT: 8209e2a9a9 Restored SDL_BLENDMODE_MOD for MAME
REVERT: 31f1dceb0c Removed a bunch of X11 support that we no longer need.
REVERT: 3bcc4afe75 Added the X11 framebuffer implementation.  Simple! :)
REVERT: e27077bfaf The format detection code works better with 555 and 565 pixel formats
REVERT: 065cf0f75a SDL_SetTextureBlendMode broken, caught by Kai Sterker - Thanks!
REVERT: dfade9a630 These aren't executable files. :)
REVERT: 5920369169 Fixed compiling on Windows CE
REVERT: 1667e9cf70 Removed missing file
REVERT: 1b6243d5dc Use the exact format of the window if possible, for speed.
REVERT: d9aa583921 Added the Windows framebuffer implementation. This actually ends up being faster than Direct3D with a dynamic texture. (???)
REVERT: f5569d20c7 Don't free the surface since the application might be still using it.
REVERT: 60296780e3 Standardized on using the managed texture pool. Also experimented with dynamic textures, but didn't get any speed increase with them.  More research and testing is needed.
REVERT: d8fd1e0861 Don't free the surface since the application might be still using it. Also experimented with texture rectangle updates, but I think at this point the full rect update gives the most consistent results.
REVERT: 1ed5bd8dd1 Removed unused variables
REVERT: 125e56851f Switched the SDL 1.2 compatibility to use the window surface, so it's fast even when there's no hardware acceleration available. This means that the YUV overlay now uses software, but that's okay since fast YUV code should be using the textures now anyway.
REVERT: 1fc2b68be2 Fixed recursion crash when setting SDL_VIDEO_RENDERER=software
REVERT: 4f0e222a0b Fixed crash if SDL_VideoDriverName() is passed a NULL namebuf
REVERT: 052351dbe2 Added a way to get a framebuffer interface for a window, and also a way to create a software renderer for an arbitrary surface. The software renderer has been re-routed to use the framebuffer interface, which makes it possible to have software rendering available even on simple ports.
REVERT: 657d4fd190 Extended SDL_SetWindowData() to allow arbitrary named values.
REVERT: ddfdd2c2b9 Added an intro to the features and goals of the 2D rendering API.
REVERT: c1295241c6 Making the API simpler, moved the surface drawing functions to the software renderer.
REVERT: 348ea88682 Updated for API changes
REVERT: 6ddcc36edf Fixed building for Android
REVERT: 5689d8ef80 Re-ordered platforms based on frequency
REVERT: 6950191fad Create the video texture based on the available texture formats, not the backbuffer format.
REVERT: fe2b0d9703 Simplified and improved the process of creating a texture from a surface.
REVERT: 31b3ad2414 Making the API simpler, removed the writepixels interface
REVERT: d2b54f7d24 Made it possible to create a texture of any format, even if not supported by the renderer. This allows me to reduce the set of formats supported by the renderers to the most optimal set, for a nice speed boost.
REVERT: 613d92a832 Fixed compiling on Windows
REVERT: 5897ef7d95 Moved the rendering code out to a separate directory in the hope that it can someday be completely decoupled from the rest of the library and be expanded to an awesome 2D on 3D library.
REVERT: 9623680313 Fixed compiling with the latest API changes
REVERT: 3b68836c8d Removing Visual Studio projects for testpalette
REVERT: 446ad38c37 SDL doesn't actually support the physical/logical palette split anymore.
REVERT: a47948aab0 Nobody is currently maintaining the QNX code, so removing it for now.
REVERT: 09a8558897 Making the API simpler, removed support for palettized video modes and textures.
REVERT: b4fff42fc6 The DrawRect API is implemented using lines
REVERT: df94d4c6a4 The rendering functions take a context so it's clear what window they're drawing to.  This also potentially opens to the door to multi-threaded rendering in the future.
REVERT: 52cf8a6451 Added functions to watch events as they go through the event queue.
REVERT: b231d0b93d Split the rendering API out into a separate header file.
REVERT: 6539ab9c74 The renderers always support texture modulation and blend modes.
REVERT: 32406a59c6 Renumbered the renderer flags
REVERT: d627939049 Making the API simpler, the renderer present semantics are always having a backbuffer and then discarding it.  This is best for hardware accelerated rendering.
REVERT: 1840f4d0bc merged: might need to check main.c in the iOS template to make sure no changes were abandoned.
REVERT: 4c06e58153 Making the API simpler, texture color and alpha modulation are supported by all renderers.
REVERT: 825e1da54d Making the API simpler, the blend modes are "none, blend, add" and are supported by all renderers.
REVERT: 372693d86f Removed more partially functional renderers
REVERT: df1f384c5b Making the API simpler, scaling is always defined as linear interpolation and should be supported as much as possible on all renderers.
REVERT: 9c12618379 Removed partially functional renderers
REVERT: 886e947679 Spacing for documentation tweaks
REVERT: 2cdadc64b5 Tweak for documentation
REVERT: 64ac326041 Fixed bug #1025 (iphone keyboard doesn't send 'return' and 'backspace' events)
REVERT: 3752cf5872 Fixed spacing, adding vim spacing hints
REVERT: 220fd4679a Added vim spacing hints
REVERT: c9c3d0381a Fixed spacing
REVERT: 3a83076de1 Fixed bug #1112 (retina display support)
REVERT: 6391828105 Fixed spacing
REVERT: d89219fa93 iOS Xcode project template fixes/changes. - Embedded headers - Embedded Universal Device/Simulator libSDL.a - Changed search paths. - Removed cruft from copy resources.
REVERT: dab1918039 New iOS Xcode target to build libSDL.a and lipo Simulator & Device binaries together. New iOS Xcode target to prepare an Xcode template using the Universal libSDL.a.
REVERT: b13cdc5d2c Fixed bug #1111
REVERT: 250faf507b Added Edgar's blog to the haptic documentation
REVERT: 48e11c3665 Updated main.c for API changes
REVERT: e64d0e8d85 Fixed bug #1056 (Frequent crashes in Touch events by simply touching the screen)
REVERT: c3daf0f0cd Removed completely non-portable event thread hack. Next I'll be working on generalizing the event sources and making the event queue lock-free. :)
REVERT: 95dbe47cf3 Fixed test
REVERT: 858c92ff35 Added CPU cache line size to the test output.
REVERT: b2ff9dc39f Added API function to get CPU cache line size.
REVERT: b0a2a8957e Fixed quotes around Mercurial revision text
REVERT: 7d33cf09be 0 isn't a valid Mercurial revision
REVERT: 7f1b3595cc Always copy the SDL_config_windows.h to SDL_config.h for VisualC 2005, 2008 and 2010 projects.
REVERT: 772009b691 Bump up the default cache line size.
REVERT: fb824f9a04 Added cache line size info in SDL_cpuinfo.h I also added an implementation to dynamically query it, but didn't expose it since most x86 CPUs have an L1 cache line size of 64 bytes.
REVERT: 1d518f0d73 Fixed compiling under Visual Studio
REVERT: e253e1d991 When the last window is closed and the SDL_WINDOWEVENT_CLOSE event is sent, send the SDL_QUIT event. Common.c now destroys the SDL_Window upon a SDL_WINDOWEVENT_CLOSE event to ensure that all windows get closed properly and the new code to handle the last window closes gets executed.
REVERT: be54c8a0d5 This patch fixes the issue of configure generating broken Makefile when .cc files are used due to bad sed substitution on multiple passes: $(objects)/SDL_BeApp.lo: $(objects)/SDL_BeApp.lo: ./src/main/beos/SDL_BeApp.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS)  -c $< -o $@c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS)  -c $< -o $@
REVERT: dd4f2c1339 Improved timer implementation
REVERT: 2fd57ffe61 Improved condition variable documentation
REVERT: 86e36cceab Scott Smith volunteered to maintain the Pandora port.
REVERT: 1bdfc84ec9 Fixed bug #1109
REVERT: e2a13f8922 Only document the public API, not the whole source tree.
REVERT: b58487d8bb  Colin Leroy      2011-01-26 04:24:20 PST
REVERT: 71a8858bd9 Added a list of platforms, for my own sanity. :)
REVERT: d06966d7f2 Nobody is maintaining RISC OS code, so I'm removing it for now.
REVERT: 9b3ce56bfd Since we're directly reading and writing 'active' from different threads, it needs to be flagged volatile.
REVERT: 9edcf9bc9b Ozkan Sezer to slouken
REVERT: b609519a5c Added a test to measure the impact of a separate thread periodically locking the queue entirely.
REVERT: bbc1ba223a Added a FIFO test to the atomic test suite. This is really useful because we might be able to use something like this for the SDL event queue.
REVERT: fc5dc0ddb2 More fixes for compilation on Visual Studio
REVERT: 81dee4358f Fixed compile error on Visual C++
REVERT: 29e0bf97e0 Improvements based on feedback from Anthony Williams
REVERT: c8cd5b9028 Added SDL_window.* to the project.
REVERT: 7327ef6bb9 Fixed cross-compiling for Windows
REVERT: ada074623f Fixed Android build
REVERT: f98d804282 Only include windows.h on Windows. :)
REVERT: b4497865bd Include windows.h in a single point in the source, so we can be consistent about the definition of UNICODE and have core utility functions for Windows that all modules can share.
REVERT: 1775cf40fd Fixed bug #1102
REVERT: 065e4e3f9d Fixed bug #1100
REVERT: d5b9e9676a Fixed bug #1103
REVERT: 10b8372bd3 Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008
REVERT: b33881a48e Fixed compile error
REVERT: c330005880 Fixed bug #1080
REVERT: a2f2302255 Renamed SDL_keysym to SDL_KeySym Renamed SDL_scancode to SDL_ScanCode Added #defines to SDL_compat.h
REVERT: 477689ac83 Fixed bug #1011
REVERT: f3716d8a4e Fixed size_t warnings on 64-bit build
REVERT: dcd48df016 Fixed bug in timer when the list of timers changed.
REVERT: c4bf458e47 Fixed bug #1097
REVERT: 14a0cb6fbc Whitespace change in a README.
REVERT: daecbfdc17 HAVE_GCC_ATOMICS covers the test and set
REVERT: b3e14d4341 Yeah, go iPhone!
REVERT: 2c31531800 Separated out the minimum functionality that we need from gcc for our spinlock fallback.
REVERT: 68afef61c9 Fixed atomic intrinsic test
REVERT: 075ff8e78f Fixed bug #859
REVERT: a03da6f07a Fixed bug #945
REVERT: a16a7de8d1 Fixed compile error on Mac OS X
REVERT: b5141783ba Fixed bug #929
REVERT: d257c63c2f You can't have an empty union in the structure...
REVERT: 9d25ba272a Fixed bug #925
REVERT: ee1f71dd63 Fixed mouse button index for additional mouse buttons
REVERT: 06050f8b15 Fixed mouse button index for additional mouse buttons
REVERT: 6a6cc495b4 Fix double mouse motion in OS X
REVERT: 6456acb47b Moved function for consistency
REVERT: e666b3b289 Fix mouse wheel events in fullscreen mode for OS X
REVERT: 5c9e54ea34 Added the ability to get the UIKit window through the SDL API. You can also do this through the native API: 	UIWindow *window = [[UIApplication sharedApplication] keyWindow];
REVERT: aed4e90c9a Disable .hgeol for now...it doesn't work well at the moment.
REVERT: e17ec2763f Added .hgeol to handle file EOL conversion.
REVERT: 62dddd624d Fixed bug #1026
REVERT: 92b3d10a29 Fixed bug #1028
REVERT: 7a1c6519f4 Fixed bug #1027
REVERT: 6642f38cf1 SDL doesn't depend on GLU, and overwhelming feedback from the mailing list is that people don't want it included in SDL_opengl.h
REVERT: 0595ce74e3 John Wilson      2010-08-17 17:09:16 PDT
REVERT: c4d74517e7 PS3 Linux is no more...
REVERT: 008911fd8a Nobody has stepped up to maintain an svgalib driver.  Bye bye! :)
REVERT: 75ed99ed6a Clearing the API changes for the 1.3.0 release
REVERT: 90a214c4e9 Nobody has stepped up to maintain a framebuffer console driver.  Bye bye! :)
REVERT: c14d8951f3 Removed debug print statements
REVERT: e34085307a Florian Forster to sdl
REVERT: 1e7f74dc1b Window move events have the same problem as size events on Windows
REVERT: f69bce6999 Fixed using the native iconv library
REVERT: 7c85ff217e Fixed test for libiconv
REVERT: de8bd33888 Use the debug C runtime for the debug configuration
REVERT: e18725689b Normalized line endings
REVERT: 7f8a24afe8 Raw input is no longer used.  Yay!
REVERT: a7486944ea The clipboard API was missing from the 2010 project
REVERT: 546a3a8d30 Added post build step to copy SDL and data files into the test projects
REVERT: 10d46c3beb Added testshape to the Debug configuration
REVERT: e73252548b Added post build step to copy SDL and data files into the test projects
REVERT: 2c7a66fb27 Removed extra space
REVERT: 1507fa272f Added XFlush() so changes happen immediately instead of waiting for the next event loop.
REVERT: 7c00f79cb1 Greg Jandl to SDL
REVERT: b3dd448c5c Greg Jandl to SDL
REVERT: 5601ecaeae Whoops, good catch from Greg Jandl
REVERT: 67334dadbb Fixed building with the latest iOS SDK (4.2)
REVERT: dd33ce32e7 Fixed building with the latest iOS SDK (4.2)
REVERT: 5467b02793 Fixed missing source files in static library target Fixed building SDL test programs
REVERT: 06aed12790 Not all MinGW compilers have intrin.h, so we'll only use this with Visual Studio. That's actually okay, since gcc has the builtin atomic intrinsics. :)
REVERT: c4fe663b76 Fixed building with the latest iOS SDK (4.2)
REVERT: 7083935583 Fixed building with the latest iOS SDK (4.2)
REVERT: c53fea3bcc Fixed build against 10.4 SDK
REVERT: d16468c1cb Fixed compiler error with the latest Xcode package
REVERT: e8d5bc7c67 Updated the snapshot script for Mercurial
REVERT: 42a3df6fd3 Michael gave permission to use his test code
REVERT: 0928bae0cd SDL_atomic.h is safe to include in the main header now.
REVERT: b04eaeedc5 Fixed compiler warnings using Windows intrinsics
REVERT: cdb1bda300 Use compiler intrinsics on Windows
REVERT: 6654cd07b3 Fixed compiler error
REVERT: f82346f528 Fixed compiler errors
REVERT: 2216518b9a Use compiler intrinsics, where available
REVERT: 68afae139d Use the portable intrinsic
REVERT: 2bd8b29550 Added testatomic test project
REVERT: 24cfae7d89 Minor documentation consistency cleanup
REVERT: ce2e619ac9 Fixed compiler warning
REVERT: 264e590e65 Fixed compiler warning about symbol redefinition
REVERT: d428d9d5a1 Include windows.h in SDL_atomic.h by default, but don't include the atomic API in SDL.h This allows all SDL code to take advantage of the atomic intrinsics on Windows, but doesn't cause applications just including SDL.h to pull in windows.h
REVERT: 57d90f79d3 Don't hose code that isn't expecting a windows include
REVERT: b0e0f61c7e Added native atomic operations for Windows, Mac OS X, and gcc compiler intrinsics. Changed the CAS return value to bool, so it's efficient with OSAtomicCompareAndSwap32Barrier() Added an atomic test adapted from code by Michael Davidsaver
REVERT: 1bc8fe69ce Updated the atomic API for better use cases
REVERT: 4084438113 Added some missing config for the iPhone
REVERT: cab4e0652a Added "mouse" support for the Android touch screen
REVERT: 70c916a415 Cleaned up internal accelerometer interface
REVERT: 0ce4324420 Make sure we shut down the app if SDL_main() returns instead of exiting.
REVERT: 9fa1d4876d The window is changed to reflect the actual screen dimensions, for now. Implemented SDL_SetWindowTitle(), which turned out to be fairly complex
REVERT: 82e985a8ba Removed code from GetPrimtiveArrayCritical() experiment
REVERT: 5b1882ee17 Fixed audio buffer lifecycle and implemented audio shutdown
REVERT: 4f9db82a4c Working audio implementation contributed by Joseph Lunderville
REVERT: a409f9858f Added missing header
REVERT: 738f971adb Implemented translation from Android keycodes to SDL scancodes
REVERT: 6e69fae33e Added an extra line for consistency
REVERT: 27dd18d80a Fixed video mode format for unknown surface format
REVERT: d6dc10e868 Improved error message for unsupported texture format
REVERT: 0fa1d9fe61 More Android cleanup: * Formalized the interface with Java methods in SDL_android.h * We don't need the feature system, at least right now * Fixed waiting for the SDLMain thread
REVERT: f9f37e83fe Whoops, need to pass that SDL format into native code
REVERT: 36207555fb Set blend mode for textures that were created from surfaces with a colorkey
REVERT: ce6f23bcc6 Renderer didn't advertise texture format SDL_PIXELFORMAT_ABGR8888
REVERT: aaa6a02fb0 Fixed blue-red channel swap in OpenGL ES 16-bit texture formats
REVERT: a4231ad5d8 Support the new 16-bit pixel formats in SDL_CreateTextureFromSurface()
REVERT: 067058ff3a Support the new 16-bit formats in SDL_MasksToPixelFormatEnum()
REVERT: fdea37a756 Added some missing pixel formats and SDL_GetPixelFormatName()
REVERT: 25101525df Fill in the video mode with the correct screen format
REVERT: a410db1ae6 A bit of cleanup in the Android driver
REVERT: 74b33811bd Added SDL errors to the Android log stream if DEBUG_ERROR is defined
REVERT: 835dde1a18 You can't change the resolution on some devices
REVERT: 9ec38356d0 Use a valid window when creating the default renderer
REVERT: 60c77bdc43 Added information about starting a command shell on the device
REVERT: 258951c86d Added information about doing a clean build
REVERT: 4d3709cdf6 Added info for building your code without optimizations on
REVERT: c73fad44ec Added information about decoding native stack traces
REVERT: 5152fac7f8 Fixed spacing in comments
REVERT: a8c8dc3e09 Updated headers to match wiki documentation
REVERT: baf0c99417 Include the Android Makefile in the distribution files
REVERT: 3693a452e6 Need to include SDL_main.h ... eh, just include everything. :)
REVERT: 21f3b33f9c Jcw87 to Sam
REVERT: 6000ffe2ec Added some more information on how the port works
REVERT: ca871fdc4b Fixed return value
REVERT: b674add868 Added the Android project and lots of info to README.android
REVERT: 606b0cda7f Build the SDL library as a shared object on Android, so it will work correctly with SDL_image and SDL_ttf.
REVERT: e92a0428c3 Fixed screen texture format on Android I think this also fixes some of the red/blue channel swap bugs reported on iPhone.
REVERT: 0d999f796c Backed down to NDK R4b
REVERT: 6736ca0525 Android has OpenGL ES too...
REVERT: 63925f3c8f Fixed 2D video on Android There was a dummy renderer left in there which was overriding the OpenGL ES renderer.
REVERT: fc43aba7be Don't continually print stub message for testgles
REVERT: 0eba82ea93 We don't need these scripts anymore
REVERT: bad45fc2b2 Need to set something valid for argc/argv
REVERT: 1218c81cec Fixed problem with trailing space
REVERT: ae53874bd2 Change from jlunder: Minor configuration changes to smooth the build process, make it work on mac.
REVERT: 3fe08d6eb5 Added the step to edit local properties
REVERT: 7a9c29baf3 Fixed prototype for SDL_main() FIXME: Still need to pass some arguments - can we get them from the Java class?
REVERT: 82f0d82581 Android needs the SDL_main() redirect as well
REVERT: a2954c5cc6 Fixes the following warning: uses variable-size enums yet the output is to use 32-bit enums
REVERT: 53eaef45fd Added the Android config include to the default config.h
REVERT: c7c6cb464a The source rectangle isn't modified in SDL_UpperBlit
REVERT: 0398104662 Fixed crash on Windows XP
REVERT: 794752a10c Fixed trying to create an XRender texture for YUV formats
REVERT: aac820df50 Missing math library for testgesture
REVERT: 3927b4a33c Final touches on renaming SDL_eventtouch to SDL_x11touch
REVERT: 124315bff4 I am using SDL 1.3 on FreeBSD. I found two problems.
REVERT: 18f2ccec34 Use a typedef instead of a #define, to handle syntax like: SDL_TextureID a, b
REVERT: 34b38d2798 Allow META-Enter to toggle fullscreen mode
REVERT: e082a3f57c Updated for NDK R5
REVERT: b369f1945a Android has atan() and atan2()
REVERT: 35a1f5fbe0 Fixed restoring the desktop resolution when toggling fullscreen mode
REVERT: 2ccdb31cb2 Fixed compiling on Android
REVERT: 56d603e6e1 Don't crash when resizing non-shaped windows
REVERT: b0b0c5e0e9 Don't overwrite SDL_revision.h with a bad revision if Mercurial isn't installed
REVERT: 0db1eb5652 Return an error code if Mercurial isn't installed
REVERT: 9854e3dd2d Fixed compiling X11 touch interface
REVERT: 85637106eb Hopefully fix X11 compile error
REVERT: cd31bd4a56 Removed carriage returns
REVERT: bd88a60533 Fixed SDL_VS2005.vcproj
REVERT: cb98f67b45 Reverted SDL_VS2005.vcproj to revision 4634.
REVERT: 35cc558917 Use the enumerated type for blend and scale mode instead of int Renamed SDL_TextureScaleMode to SDL_ScaleMode
REVERT: 0893ec9ce4 Fixed touch events on Mac OS X 10.6
REVERT: d3d39b950a Fixed the gcc include path when building on Mac OS X 10.5
REVERT: 091cd521e3 Removed support for 10.3.9 Fixed building on Mac OS X 10.5
REVERT: 7b8f9fe722 Allow the SDK path to be rebased Fixed bug compiling on Mac OS X 10.5
REVERT: 556d9a92c2 Renamed X11 touch files for consistency
REVERT: 14d78bb03f Don't conflict with glext.h if it's already been included
REVERT: dc22c27aad Fixed crash if the gesture coordinates go negative - FIXME: Should this protection be at a lower level?
REVERT: 3d9620ed0a Fixed massive stack memory usage in the gesture functions
REVERT: 56c7ba92fb First pass at Windows multi-touch gesture support
REVERT: f7fc00e75c Added a Visual Studio project for testgesture
REVERT: f8d3e248f2 Removed references to testwm
REVERT: 3dea87cdc7 Better horizontal candidate list rendering. Added horzcandspacing constant to add space between horizontal candidates.
REVERT: 4312d18cf7 Fix right mouse event handling in Cocoa
REVERT: 10fe7475a2 Code style updates.
REVERT: 423b30c5df Windows candidate list support. Candidate list should now be drawn and function normally. Tested in XP and 7.
REVERT: 86c3638a9b Add variables needed for win32 candidate list support.
REVERT: f896125696 Add ITfCandidateListUIElement to SDL_msctf.h for MinGW.
REVERT: ea576e6386 Fix and rename VS2010 project files, add tests to VS2010 solution, fix VS compiler warning
REVERT: 8cc72d1d79 Use SDL endian macros in libm. This fixes problems (specifically with SDL_floor) for systems where __BYTE_ORDER is not defined.
REVERT: 26288db841 Fix Xcode project to turns the SDL_gesture.h and SDL_touch.h into public includes (since they are included when using the SDL/SDL.h file)
REVERT: d1159d9a1b Fix incorrect shape include and add HAVE_ATAN and HAVE_ATAN2 for OSX builds.
REVERT: fa1e7172fc This fixes some keyboard defs for Haiku. From: François Revol <revol@free.fr> Checked By: Scott McCreary <scottmc2@gmail.com>
REVERT: 6340df79b2 This fixes SDL_renderer_gl so that it builds with c89. From: François Revol <revol@free.fr> Checked By: Scott McCreary <scottmc2@gmail.com>
REVERT: 2b7c14949b Removed debug output
REVERT: fdbac7e0ce Documentation clarification
REVERT: 3189c43f85 Make the union nameless to reduce the complexity of the API. (Are there any compilers still in use that don't support this?)
REVERT: 51b19abe02 Minor cleanup in patches from Coursoud
REVERT: 45e68f6c5c Merged the Windows custom window system hooks into the union used by X11. Added Cocoa custom window system hooks
REVERT: 8e2a972b50 attached is a patch to support DirectFB in include/SDL_syswm.h. It defines SDL_SYSWM_DIRECTFB as a subsystem. This allows developers to e.g. access DirectFB's video and picture providers.
REVERT: e2b5e8275b XDamageDestroy is called before use_damage is tested. This crashes on my setup. The patch calls XDamageDestroy only when use_damage is true.
REVERT: bbf3279972 SDL_DestroyWindow is setting window->magic to NULL too early. - window->magic is also checked in SDL_DestroyRenderer. All cleanup code like freeing the renderer and textures is not executed. The patch moves window_magic = NULL behind the SDL_DestroyRenderer call.
REVERT: 1af81c30b3 Code will never reach SDL_SetTexturePalette since SDL_SetDisplayPalette will fail if the display e.g. is RGB32 or RGB24. The patch will ignore errors in SDL_SetDislayPalette. This should also affect the opengl renderer on systems supporting paletted textures - mine does not (NVIDIA). With this patch the directfb drivers delivers the same results for test_palette like the software renderer.
REVERT: b6d190a459 Fixed documentation typo
REVERT: 44eb5de93d Fixed compiling with mingw32/64
REVERT: 12be16146b Fixed all MinGW problems (except libraries not added to build yet). Added SDL_msctf.h for MinGW. Added a few casts to fix warnings on MinGW.
REVERT: a55c55c319 Added imm.h include, will be needed on MinGW. Changed comment to c-style and removed some end-of-line whitespace.
REVERT: eaca51873a Fixed crash on systems that don't have StopTextInput
REVERT: 7fcd8b7560 Fixed crashing loading 48KHz audio, contributed by Terry Welsh
REVERT: 200c3c74ab Fixed grammar, thanks to Sheena's suggestion.
REVERT: f968057d82 Updated build for Visual Studio 2010
REVERT: 80c83499bf Remove superflous sample shapes (same BMPs)
REVERT: 1975b91fae - added directx include path to VS2008 solution - updated shape vcproj and add it to VS2008 solution - minor changes (i.e. typecasting) to get rid of compiler warnings in VS
REVERT: 458c6eda30 Fixed documentation
REVERT: d0de6340e8 Ensure compositions are committed when keyboard focus changes. There may be a better way to do this.
REVERT: 5b9ec3c812 Add missing imm32.lib from VS2010 project
REVERT: b7c57f809f Documentation consistency
REVERT: 5ba14426fa Documentation consistency
REVERT: 2ef894f75e Fixed typo in header
REVERT: 1877442eb2 Documentation clarification
REVERT: f56e6b9244 Suspending the screensaver defaults off.
REVERT: 515a3e58ab Compiling in atan()/atan2() implementation on Visual Studio 2008.
REVERT: d8303d3f7a Added atan implementation from uClibc
REVERT: 4d97d1a549 Whoops, return "" even if the window is invalid.
REVERT: b59ef043a6 The title is stored internally as NULL if it's empty, and returned as ""
REVERT: 21e184b0bb Added atan2 implementation from uClibc
REVERT: fa8d01e8ab Documentation clarification
REVERT: 7411f7531b Fixed compiling with Visual Studio 2008
REVERT: adc9598f1a While you can actually write to the error buffer, conceptually it's read-only.
REVERT: 09ad8038b8 Added a typedef for the thread function to simplify documentation
REVERT: dc0f95c447 Update VS2010 project to add new files; update new files so code builds on Win32/Win64
REVERT: 9412167e50 Fixed documentation typo
REVERT: 81d43b4e7f Fixed obsolete documentation
REVERT: 7c463932c2 Merged Eli's Google Summer of Code work from SDL-gsoc2010-shaped_windows
REVERT: cfd892d841 Merged no changes?
REVERT: 3ac7385c23 Removed Daniel's test code
REVERT: 1f8dacabd7 Merged Daniel's Google Summer of Code work from SDL-gsoc2010_IME
REVERT: 66d40ad333 Cleanup from the Android commit
REVERT: 7d245d0532 Removed spurious carriage returns
REVERT: a64fc29cfb Merged Paul's Google Summer of Code work from SDL-gsoc2010_android
REVERT: 238acbd53d Merged Jim's Google Summer of Code work from SDL-gsoc2010_gesture
REVERT: 6354bc898e Fixed some typos in the documentation
REVERT: c8de3db358 According to Jim, the touchTest directory is no longer necessary.
REVERT: 9b8ec5c66a Don't need to use strlen() to determine if there's text. Use the SDL safe strcpy() function
REVERT: d3998822f2 Fixed hgIgnore to ignore test/gesturetest
REVERT: f1b2b9f801 Updated README's
REVERT: 0d3fdb86c9 Removed obsolete test project
REVERT: fa5eb1d4f4 Updated the readme
REVERT: b72231e508 Create all shaped windows at -1000,-1000 and save the real coordinates.
REVERT: ab688d00e3 Cleanups.
REVERT: 18dce59eb7 Recoded Cocoa code that got erased by... failure to commit?  Merge?  Eh.
REVERT: c510c4d902 Moved the +1 to mostly eliminate the visual artifact.
REVERT: 781d130602 Raised binarization cutoff to eliminate alpha-blending of trollface.
REVERT: 9f396e2964 Condensed flag-setting code and put parantheses in the appropriate places.  It was that, in the end.
REVERT: 80d2377e78 Set flag bits *exactly* as Andreas showed me in his screenshot.  This shouldn't be different, but what do I know about C's order of operations?
REVERT: b109f61935 Removed useless debugging code.
REVERT: 61aae3b891 Added last test shape.  Because.
REVERT: affaf98f34 Added hiding-as-positioning trick and finally fixed flags.
REVERT: b3840496be Changed flags and positioning (for the fake-hiding) as Andreas recommended.
REVERT: 794c5cb3ee Added README.touch and README.gesture. Moved touchtest/gestureSDLTest to test/testgesture
REVERT: 6d46437524 Mostly seem to have fixed SDL_CalculateShapeTree.  Mostly.  There still seem to be some rendering artifacts, stepping effects, and such on Windows -- which indicates subtle logic errors in SDL_CalculateShapeTree().
REVERT: 4e4cb86ffe Finally got the Win32 API code for shaping to work!  Just need to fix SDL_CalculateShapeTree() now!
REVERT: beeccf04c7 Added initial README.android
REVERT: 68b3cfb42f Fixed bugs related to keyboard handling in gestureSDLTest. Fixed gesture code (dynamic memory allocation). Cleaned up gesture and test code.
REVERT: b2104a9057 Working on the sound system
REVERT: c26da073d3 Fixed so the origin of the touch events is the upper left.
REVERT: 0a86be6abb Added SDL_SetWindowPosition() call to SDL_SetWindowShape(), going to see what this does on Windows.
REVERT: 43cd4e54ac Fix for deleting the last uncommit character
REVERT: 819cc95139 Couriersud to Sam
REVERT: f0de16c63e Fixed documentation error
REVERT: dfd7489f5b Updated with the latest version of glext.h
REVERT: e9b801a764 Fixing variable naming style.
REVERT: 25775cdb23 Fixed a bug in X11 shaping that refused to use color-key mode.
REVERT: 5f2c8902e0 Fixing bugs introduced into X11 shaping implementation by merge.
REVERT: b6eeb0d250 Switched over to poly-polygon region building and shape-tree traversal for Win32.
REVERT: f294cf6a4c Fixed formatting of SDL_shape.c post-merge again.
REVERT: 4e4cf1cebe Merged branches again.
REVERT: f4b4b47ab1 Fixed overwriting of SDL_shape.c in merge.
REVERT: 1b9202537c Updated shapes folder.
REVERT: 56d94ad5b3 Merging branches.  Will begin correcting mistakes introduced by merging.
REVERT: 30693e9160 Reformatting code to match the rest of SDL.  Variable names seem OK; replaced tabs with 4 spaces each for indentation.
REVERT: 79c2953f54 Documentation and code safety updates. (x11 renderer)
REVERT: ef04c29fdd Removed some debug prints.
REVERT: 9e84eb9fa5 Fixed Dollar Recognition.
REVERT: cd2d456d46 Fixed lots of little bugs in Win32 shaping and in SDL_CalculateShapeTree().  Still not actually showing anything on Windows, though there's no crashes and everything compiles fine.  Bugger.
REVERT: 9e01a7bbb1 Fixed the off-by-one bug in SDL_RecursivelyCalculateShapeTree().
REVERT: f15f76c9ad Re-enabled dollar gesture
REVERT: 983d7b8fd6 Finally figured out how to use autorelease pools.
REVERT: c95526b7ce Improving Cocoa implementation and fixed a small bug in SDL_shape.c.
REVERT: 08c64cf886 Shaped windows for Cocoa build and testshape runs, but the actual shaping doesn't work.  Something, however, is definitely happening, because we get the backgrounds drawn in two different colors.
REVERT: 91e4d53502 Correcting minor bugs and adding assertions to help me track down a NULL pointer bug in Cocoa code.
REVERT: bcd4b4df6f Fixed gestureMulti. Disabled dollar gesture temporarily.
REVERT: d980c084c7 Updated to fit SDL style a little more.
REVERT: f77e383d26 Building under OS X with command-line tools now works.
REVERT: 6295237d5f Compiling for cocoa now works.  Does it run?  We'll see.
REVERT: 57c8f6a466 Implemented shaped windows for Cocoa.  Still need to see if they actually work.
REVERT: aa7b525b35 Large commit with initial reading string support, TSF UILess code, etc.
REVERT: 12881b428c Added SDL_wcslcpy and SDL_wcslcat.
REVERT: 2d2a93ff5d Removed superfluous VS2010 build files.
REVERT: 8f1459d90c Got basic, pre-actually-writing-anything Cocoa to build.
REVERT: c219144751 Minimized functionality of gestureSDLTest.
REVERT: 34bbabf02e Why wasn't this in the repository?
REVERT: c013c279ef Added SDL_cocoashape.h
REVERT: ad2351c699 Fixed the code to use the correct scaling transformation matrix with XRender.
REVERT: 6a85ea7b52 Merge.
REVERT: 0a0b18c761 Added and re-added VS2010 solution files.
REVERT: 4caaaf9b10 Added VS2010 build files.
REVERT: 0669fef25b Added some comments.
REVERT: 56ab3ca590 Worked on Windows implementation and the quad-trees.
REVERT: d96742b024 Fixed a huge bug with texture scaling.
REVERT: a4c4851398 Fixed some Gesture bugs
REVERT: c33852e995 Added VS2010 tests solution file.
REVERT: e44b848675 Added Windows build files for testshape.
REVERT: 7e4a59dccf Converted some project files to VS2010, adding new files.  Backups were made.
REVERT: 2c1ceff2c4 Changed the file name to its correct, required one.
REVERT: 6c23f8c602 Fixed a couple of bugs in the general and X11 shape code, and fixed a bug in testshape that was keeping it from recognizing surfaces without alpha.  Thanks to Andreas's bit-bashing tip, X11 shaped windows now work entirely, AFAICT.
REVERT: 2a8820a2a9 Fixed sending motion and finger up events
REVERT: b7caec8ae2 Fixed various type and print format issues
REVERT: 39ee818f98 Added SDL_TouchID, SDL_FingerID, SDL_GestureID types. Converted to integer cioordinates (<- not working).
REVERT: 0e0ad58e1f Added Andreas's VS2010 patch for testshape.
REVERT: 598471cf71 Added Iphone project. Iphone multi-touch is now functional.
REVERT: c9b9312be3 Upgraded touchId/fingerId to long. Changed position variables to floats.
REVERT: 4d435bce47 When querying the display size for a fullscreen window, the display size is the size of the fullscreen video mode.
REVERT: 7685a1892c Documentation updates
REVERT: d5e0ecb0f0 Added Andreas's patch to fix my silly C++-style errors.
REVERT: 980298285c Added the header to the repo.  Oops.
REVERT: 6ed8759bcc Added better logging
REVERT: a4a0897a1d Prevented SDL_SendDown from sending on nonexistent touch devices.
REVERT: 73db548db1 Fixed the code so we receive Cocoa touch events
REVERT: 4f5f86477a For consistency, swapped line order
REVERT: dc048bcb73 Added dynamic loading of XFixes and XDamage on Mac OS X
REVERT: 9a3f51f3c5 Wrote out the system for breaking shape-masks into quad-trees of rectangles, and added code to conglomerate those quad-trees of rectangles into regions for setting shapes under Win32.
REVERT: dd3e79b2df Oops!
REVERT: 09828c4620 Depend on XRender version 0.10 or above and XFixes version 2.0 or above. Moved these dependency checks into CheckXRender() and CheckXFixes().
REVERT: 1771e1fe4a Set the default XRender filter to "fast". testoverlay2 works now.
REVERT: a57835d4af Added missing pixel format
REVERT: 0a74c700e4 Fixed compiling without XRender enabled
REVERT: a8d497359f Moved brace to the beginning of the line for the beginning of functions
REVERT: d8e7cebd11 Merged Sunny's XRender changes from SDL-gsoc2010_xrender
REVERT: b277b530a1 Add some comments.
REVERT: 457eb7e007 Add support for texture modulation (both color and alpha). testsprite2 works now with --cyclealpha and --cyclecolor.
REVERT: 8d14ec12cc Andrey A.
REVERT: 9c7acc6623 More joystick stuff
REVERT: ef47472280 - Cleaned up a bunch of code - Added 'feature' enable/disable so we're not running accel/sound/whatever in Java when we don't need to be - More work on the sound system. But it still crashes pretty horribly, not sure why yet.
REVERT: 9ac4bd2a17 Added accelerometer 'joystick'
REVERT: dafed2a5ce Added cocoatouch.h
REVERT: 9aea3f99a7 Oops, I wasn't using pthreads. Fixed so we can have mutexes and stuff
REVERT: daaa0b0414 Updated test app to init the sound system
REVERT: 56e126ff14 Added stub android sound system
REVERT: e0c98826af OK, /actually/ fixed the nativeQuit() crash this time
REVERT: 088b758125 Added resize hander stub and initial screen size setter
REVERT: 27d80262c2 Shut down the C application properly on quit instead of crashing in the most horrible way possible
REVERT: d42b7d3970 - Modified build system - Initial support for touch and key events
REVERT: 3433f10279 Added shapes folder to hg.
REVERT: 807e0c5cca Working on Cocoa implementation.
REVERT: 926bfd4056 Finished (untested) OS X code.
REVERT: 01cddf42c7 OK, it appears that dramatic hacks are not necessary to make Cocoa work...
REVERT: 155833dd81 Rejiggering the way shaped windows are created as preparation for OS X implementation.  Fixed overdrive bug in test program that appears to have been introduced by someone other than myself.
REVERT: cae6f1376d Correctly draw cursor based on position. Had to add UTF-8 functions utf8_length, utf8_next, utf8_advance.
REVERT: 1d79a9b5d8 Changed markedText to have its own storage to resolve multiple bugs. Changed an odd strcpy to a more appropriate strcat.
REVERT: f2cbd1683a Added preliminary touch code to SDL_cocoakeyboard.m
REVERT: 4e19d730a1 Couriersud to Sam
REVERT: 6cc1b97fc5 More work on color-key mode.
REVERT: b0a24ac840 Daniel Wyatt to slouken
REVERT: abb4ad73c5 Added color-key mode and redid the code to work with it.
REVERT: fc86a602cf Fixed drawing rectangles. X is evil!
REVERT: d0ac065342 Code cleanup.
REVERT: 30e8d22c80 Remove debugging code.
REVERT: f517fdfa39 Advertise support for all supported texture formats.
REVERT: 106aea6ed1 Fixed memory corruption on AMD64
REVERT: 5d2b7ba68b Fixed key repeat detection on X11, and simplified the code for everyone else.
REVERT: c1e63cf801 Fixed x11 compile bugs.
REVERT: 5bb07d5c28 Advertise support for blending modes and scaling modes in the render driver.
REVERT: 4915ca0980 Make the SW renderer work properly by fixing support for textures with no alpha channels.
REVERT: 9684366030 Fix cleanup functions.
REVERT: 23d259b82e Fix X11_DisplayModeChanged.
REVERT: 6ec0ef31c7 Get SDL_BLENDMODE_MOD to work! Tested on nvidia only ATM.
REVERT: 6f5bba2745 Fixed multimedia keys
REVERT: b520d61908 Delete is indeed an unprintable character.
REVERT: 3a9c617ff8 Fixed remapping the Delete key and detecting the keypad Delete key.
REVERT: 0e59ffc802 Added support for keyboard repeat (only tested on Windows so far)
REVERT: f9048e7257 Reapplied Win32 make-it-build patch.  What's going on?  Still get rendering artifacts when testing on x11, have literally no idea why.
REVERT: 871f32561d Fixed X11 error when running under window managers that don't support the _NET_SUPPORTING_WM_CHECK protocol.
REVERT: cd1d53f11c Applied the same logic as the fix for bug 894.
REVERT: 658b2fec59 Fixed X error when showing debug info about a deleted property
REVERT: 69847c86ef Implement support for setting texture scale mode.
REVERT: a2983659fb Respect environment variables.
REVERT: 4ded0f623c Integrate XFixes and XDamage into the build system.
REVERT: 7739189255 Massive speed-up. Fixed the format that is set for the renderer. Included runtime checks for XDamage.
REVERT: 84a58d8f7c Use XDamage to optimise drawing operations.
REVERT: 2d0aeb3f2e Put the render loop back in its right place, but with delaying functionality to keep it down to roughly 60fps, not eating up all the X11 time.
REVERT: e2dcaac803 Boxed up the rendering loop and turned it into a redraw/update function.  This makes things way more responsive, usable again.
REVERT: 60b401aef8 Added code to make testshape switch shapes on keystrokes and exit on an ESC keystroke.
REVERT: 70ad6fd4e9 Minor bugfixes.  testshape now draws a shaped window with bizarre, pixellated gashes of transparency across it, and in doing so seems to hog a system resource and slow the rest of the video system down.
REVERT: 4922edee74 Added #define's for error codes returned from SDL shaped-window API.
REVERT: 68fccc096b Same place as before, but optimizing a bit to try to isolate the spot in the program that locks things up.
REVERT: 86f3a25266 Rewrote test program for shaped windows.  It definitely displays recognizable pictures now, but the resizing and shaping functionality isn't behaving correctly, possibly due to a miscalculation of alpha values.
REVERT: 7e104c5469 Updated testeyes.c.  It now shows some kind of gibberish Missingno-type picture somewhere on the screen and, possibly, hangs the window system.  On the upside, the Missingno is definitely a non-rectangular window.
REVERT: 72dcc2f873 Added SDL_win32shape.h to version control.  D'oh.
REVERT: e0676bd4c4 Fixed bug 1015
REVERT: 21760bc6b2 RedHat patch: SDL-1.2.14-byteorder.patch
REVERT: 5ae90a3bef Fixed bug 1006
REVERT: 83d6407648 Fixed bug 993
REVERT: b93cbf4cbb RedHat patch: SDL-1.2.14-audiodriver.patch
REVERT: aa3be46cf7 Merge with main repo (mainly for non-printable character fix)
REVERT: bbf7027004 Better fix for bug 936
REVERT: ce200fdf85 Debian patch: 215_kfreebsd_gnu.diff
REVERT: e3cf0eb042 Resync tip to default. Using named branches is a bad idea.
REVERT: cddeec5ffa Remove experimental cruft.
REVERT: c054518301 Major changes to drawing. Reverted back to core X11 functions due to regressions.
REVERT: 8c93eb3a9f Double-confirmed, that's not the pause scancode
REVERT: 9f37dd980a Added back in a little more debugging for the X11 keyboard code
REVERT: fb034577a1 Don't put a keysym in there!  Shame on you! :)
REVERT: 729b47789f Missed the numbering
REVERT: bebb57ad97 Logitech G15 on Ubuntu 10.04:
REVERT: 6a534a4046 Start experimental branch for client-side rasterization.
REVERT: 18e10d8c21 Added a couple missing keys on my Logitech G15 keyboard on a Mac Pro running Ubuntu 10.04.
REVERT: 19a8b0c2da Fixed typo in the documentation
REVERT: 0858d51e89 Merged changes
REVERT: fcc9a5d29a Fixed Warning related to SDL_GestureAddTouch
REVERT: 7c46b950ed Got testsprite2 to work reasonably.
REVERT: 528c05d5b9 Fixed bug 1014
REVERT: b72ceb7a95 Fixed bug 1022
REVERT: f927fc59ba Fixed a minor bug with texture blending.
REVERT: b8bbc91dbb Remove some redundant code.
REVERT: 3201f8427c Fixed so many things. See the changelog listed below.
REVERT: 6bfcf3301a Add necessary symbols to SDL_x11sym.h
REVERT: 1c2ea482ae Revision 3163 added the following formats for OpenGL ES: SDL_PIXELFORMAT_ABGR4444, SDL_PIXELFORMAT_ABGR1555, SDL_PIXELFORMAT_BGR565
REVERT: e194428b9f Merged changes
REVERT: 67ddc464bd Bug fixes, now using RWops instead of File pointers.
REVERT: 92be476e14 Started trying to build gesture code for iPhone
REVERT: 21d029da3b Added in Visual Studio patch.
REVERT: c1eb1e8f25 Added support for testing window manager icons
REVERT: 43503a8b99 Fixed bug #1000
REVERT: 4305137b7d  pelya      2010-07-12 03:53:48 PDT
REVERT: 80a6bed7ab Zero any fields not explicitly filled in.
REVERT: bce186d572 Implement blending modes for textures. Fix off-screen pixmaps to be ARGB rather than RGB to enable blending across frames. Clear the screen and off-screen pixmaps when the renderer is created.
REVERT: 7f0983054d Now that the fullscreen wm state works, enable the video modes.  Yay! :)
REVERT: 985f9df610 Fixed setting fullscreen and maximized states for windows that haven't been mapped yet.
REVERT: fdac60bd46 Let the window manager know we're a "normal" window
REVERT: b60cbd560d Much better debugging of property changes
REVERT: c62b2a5995 Turned off debug spew
REVERT: 983b11625f Lots of prep for the "real" way to support fullscreen mode on modern window managers.
REVERT: 51b5767091 Added test case for maximize code
REVERT: d38d6f197a Use a better switch for the clipboard property format
REVERT: 71fdaafe30 Fixed compile warnings
REVERT: c7f81eb3ca Fixed compile warning
REVERT: f4c7de6bd9 Fixed compile warning
REVERT: 708df4b867 Fixed compile warning.
REVERT: 20c4883dee Numerous bug fixes that keep testeyes from crashing and dying.
REVERT: 987edb15b3 Added alternative finger tracking method. Still prefer IPHONE_TOUCH_EFFICIENT_DANGEROUS.
REVERT: 34d5cdc704 Added SDL_utf8strlcpy to copy at UTF-8 character boundaries. Changed SDL_SendKeyboardText and SDL_SendEditingText to use SDL_utf8strlcpy.
REVERT: 8d6d1c0e56 Check configure-defined macro before doing _anything_ with XShape.
REVERT: 799e5c6cbe Add XShape test to configure scripts.
REVERT: e9eaf8d58d Removed compiled testeyes from revision control. Added it to ignore list.
REVERT: 7ae528ef48 Make sure we have XShape symbols before we allow a shaped window.
REVERT: 21dfc93ebd Add new X11 symbols that XShape support needs to the dynamic function list.
REVERT: a1e6d1c112 Daniel Wyatt      2010-03-26 14:52:53 PDT
REVERT: 22a37911dd Merged changes from the main SDL codebase
REVERT: 08bce778c8 Added Iphone support (untested)
REVERT: 7e8c791089 Changed Start/StopTextInput back to not take any parameters. We call SDL_GetKeyboardFocus internally now.
REVERT: 3d5a6d8597 Initial IMM implementation. IME input should now work fairly well.
REVERT: c792268d84 Implemented X11 system window manager info for SDL 1.3.  It's simple. Really.
REVERT: 18f003c169 Made it possible to switch the text format in one place
REVERT: 2e99ef1dfc Added X11 clipboard support. As far as I know there isn't any real way to tell when the clipboard contents have changed without polling them, so I didn't implement the clipboard update event on X11.
REVERT: 2d945be8fc Fixed compile warnings
REVERT: 0363b757a8 Fixed compile warnings
REVERT: 57180a1c7e Fixed compiler warning
REVERT: c1483580f5 Fixed a pair of syntax errors.
REVERT: 99ed0692e1 Added some files I had previosuly missed
REVERT: 2f1a5c4653 Changed StopTextInput to take an SDL_Window parameter.
REVERT: 559963b115 Put in a couple of fixes that I realized hadn't gotten done when I wrote out the SCRUM stuff in TODO.  Added SCRUM listings in TODO.
REVERT: 40daa46a40 Fix so many things that there is little place in this column to list them all but the result is that blending modes just work now for drawing primitives.
REVERT: 746dc79478 Moved $1 Gestures into the SDL Library
REVERT: ef598b2e7c Amazingly the Windows code is almost identical to the Mac OS X code. :)
REVERT: ff0ba0afa5 Added an event when the clipboard is updated, triggered after the window gains the keyboard focus.
REVERT: 7e0f1f1898 Ported over, to the best of my ability, the code for Win32 shaped windows and patched in the correct C syntax and coding conventions of SDL.
REVERT: 9520a46847 Made the new public headers public
REVERT: 78efa56da5 Updated Xcode project files for clipboard API Fixed generation of SDL_revision.h when hg is in the path set up in .bash_profile
REVERT: 3ff2d236cd Added Windows clipboard support
REVERT: a007a28624 Added Mac OS X implementation of clipboard support
REVERT: 3a942c6da3 I missed the Objective C files when updating the copyright date...
REVERT: b75fc9b1a1 Added simple clipboard test
REVERT: 316197f968 Need to add new headers to Makefile.in
REVERT: c2c15058b1 Simplified clipboard API for sanity's sake.
REVERT: b4ac7a2840 Whoops, updated the copyright date
REVERT: 988043daa2 First pass at clipboard API, still very much in progress
REVERT: 2beaeb4080 Changed StartTextInput to take an SDL_Window parameter.
REVERT: f9904e2bc9 Added SDL_FOURCC()
REVERT: 987085b1ee Turn on blending if we're converting from a surface with colorkey enabled
REVERT: 99b869fe2e Updated iPhone keyboard code (which builds and runs on the iPad and iPhone simulator now) Updated iPhone demos (which build and run again)
REVERT: e5592bfb4b Fixed up shape files as best I can.
REVERT: 874300f89c Moved Multi finger gesture recognition into the library.
REVERT: 2c5a878c4e The arguments to main() should be NULL terminated (SuS v3 compliant)
REVERT: 44280ae564 Re-implemented single mouse touches on the iPhone/iPad
REVERT: 9f24e9f619 Updated test code, updated win32 code a bit (still not complete, but hopefully tonight), and removed the last vestiges of ellipse and polygon drawing support.
REVERT: 52b4147239 Removed obsolete header file
REVERT: 9807496e30 Fixed fullscreen window position Fixed position calculation for centered windows
REVERT: 715dd0b4e8 Fixed fullscreen window position Fixed position calculation for centered windows
REVERT: d8e077adbb Added preliminary keyboard event support
REVERT: af9c689b21 Added multi-finger gestures
REVERT: 9fad608a86 Added missing line to make things compile.
REVERT: a9eb1670a1 Added empty text input functions for win32.
REVERT: 07e6c52137 Merge
REVERT: bfba97da7f Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
REVERT: 56aecc4828 Added mouse button click to toggle IMM.
REVERT: 8145b50223 Merged changes from default
REVERT: 320eb4600b Cleaned up the mouse window focus handling: you always pass in the relative window when sending a mouse event. Fixed a bug where only mouse wheel up was sent on Mac OS X Fixed a bug where mouse window focus was getting hosed by the fullscreen mouse code on Mac OS X
REVERT: 8cafde92ae Removed obsolete test program.  Ryan may resurrect it when the new multi-mouse code is implemented.
REVERT: baf073e263 Fixed usage message - it shouldn't have a printf format specifier
REVERT: d376b59257 Removed SDL.lib and SDLmain.lib from the projects since the dependencies are set up properly.
REVERT: 05acefbdd3 Added dependencies on SDL.lib and SDLmain.lib to the test programs
REVERT: cd68729bb4 Split out the Visual C++ 2005 and 2008 projects explicitly. Added the test programs to the Visual C++ 2008 project.
REVERT: e03c43c49b Fixed revision type for SDL 1.3
REVERT: 02dc648ea2 Added missing file to the automated test project
REVERT: feac47e6de Make sure SDL gets installed to the correct prefix for the new cross-compiler tools.
REVERT: 7ea6ef0d5a Fixed compile warning with latest mingw32 compiler
REVERT: 71f0192c59 Fixed window title (from GLTSF to GLIMM).
REVERT: 6d7e820588 Added Get_IMM method to Window. Added focus gain/loss events for IMM.
REVERT: a50bf48eac Added SDL_x11shape.h and removed unnecessary header includes from SDL_x11shape.c.  This should help Andreas and Sam to compile the new code.
REVERT: 911e4c49b8 Added SDL_x11shape.h.
REVERT: f0e9e6ac76 Fix blending modes for primitives.
REVERT: 825ef53157 Added GLIMM (using IMM instead of TSF) Uses small bit of TSF to fully disable cicero (TSF for non-TSF enabled apps)
REVERT: ea29eee83c Finished X11 shaped-window functionality and removed ellipse+polygon rendering.
REVERT: 26a7c00433 Code cleanup
REVERT: 482a87c499 - Restructured threads and application structure. - Moved to SurfaceView instead of GLSurfaceView - Moved to C++ for the android library
REVERT: 3ad2c1bdbf Last test version with GLSurface
REVERT: 5f38782163 Typo in documentation
REVERT: cbda698ad4 Added condition check macros to make the code clear and easier to debug. Updated code to use macros.
REVERT: b8d6bdfa5a Preliminary support for blending modes on drawing operations.
REVERT: 09f20dba54 Removed one more use of ()
REVERT: 95fbd50b15 Mostly cleaned up warnings with -Wmissing-prototypes
REVERT: d0033d15a1 Texture rendering mostly works now. Even SDL_TEXTUREACCESS_STREAMING is supported now with a little overhead. Scaling of textures happens using XRender. :D
REVERT: 2c8b1ce8f7 Added Andreas's fixes to the header and stub file for SDL_shape.
REVERT: 4b2cb56c12 Starting to implement ITextStoreACP. It's very incomplete and will probably change quite a bit but it's a start. ITextStoreACP is the minimum interface to be considered TSF-aware.
REVERT: 00e7bc8b93 Replaced the model of treating a window's shape as a render target with treating a window's shape as a surface passed into an SDL_SetWindowShape() function.  I'll send this off to Andreas and Sam and start coding.
REVERT: 06e66b928e Fixed bugs in input, cleaned up $1
REVERT: b46edfbdc6 Hello Sam.
REVERT: 8840de14d1 Fixed mouse focus window reporting
REVERT: 904e7b4511 Tweaks to the libsdl side
REVERT: d4cfca1cdb Added egl headers so we can use eglMakeCurrent()
REVERT: c67e5f7bcb Removed old video subsystem, along with (now-unncessary) egl files.
REVERT: 2adfec26ab Testing out pthread support in android. Appears to work.
REVERT: 5a619d67b2 Rotating pyramid!
REVERT: db5022f8c4 Added minimal test project
REVERT: 66e6be2acd Added $1 gesture recognition. Functional.
REVERT: 3782e9a0c5 SDL_Textures should work with XRender now provided that the texture format and screen format match. This is only a temporary limitation.
REVERT: f499e5e7e5 X11_RenderDrawLines and X11_RenderDrawPoints use XRender now.
REVERT: f4e36d6a9b Started adding vectorization of touch data.
REVERT: bc858ad7cd X11_RenderFillRects and X11_RenderDrawRects use a server side mask pixmap of 1 bit depth now. All drawing on these pixmaps is done by server side functions such as XDrawRectangles and XFillRectangles.
REVERT: 9610eb78b6 Just updated
REVERT: 9452f337e9 Added gesture test c file. Beginning of gesture recognition.
REVERT: 4ec949ec5b Added support for On_Resized event to App. Added OpenGL code to draw a rotating triangle. Rearranged main loop code.
REVERT: f5b3329281 Renamed Window::Update to Window::Handle_Events. Removed Window::Clear. Added Window::Show_Cursor/Hide_Cursor. Added On_Resized event.
REVERT: fca96b4c82 Added vs2008 project files for GLTSF (2008 is much faster on my old computer)
REVERT: 6cc179de3d Doxygen commenting is all finished up.
REVERT: 3389f25629 Stubbed out the new get/set parameter functions, added the start of the enum, union, and struct for those parameters themselves, and added doxygen comments throughout the SDL_shape.h header.
REVERT: a633daa196 Fixed #includes to fix naming conventions
REVERT: 84cd073e6f Renamed some files to fit naming conventions
REVERT: dc9ee5ef88 Added (partially implemented) android video backend and associated files needed to build
REVERT: cc8ad7be79 More fixes for windows. Disabled tablet code.
REVERT: 36437b89ca Added else to make things clear.
REVERT: 649b23090a Added On_Char method to Window_Listener for WM_CHAR messages. Removed a lot of TSF code because part of it was wrong and part was too complicated. Added Clear method to clear the window.
REVERT: 843724af72 X11_DrawRects now uses a very hacky way of drawing rectangles with XRender. This will be improved in some time.
REVERT: 52def78851 Change SDL to not use DefWindowProc as the window class' window procedure. For some reason, having lpfnWndProc=DefWindowProc during window class registration causes IME input to not work in windows. With this small change, IME input should now work in SDL windows but not in fullscreen mode.
REVERT: 82f6deccfd Fixed wording for consistency
REVERT: 350a2b464e Fixed names of driver-specific implementation files.
REVERT: 3b75623708 Removed and added back SDL_shape.{c,h} wholesale.  Will this get them tracked properly?
REVERT: 17e8b4796b Took away a line break to make SDL_shape.c new.  Why isn't hg tracking these two files properly?
REVERT: 58b84350ec Updated SDL_shape.h by adding a line break... somehow it's not being tracked correctly.`
REVERT: 94b3f88fb2 Addition of VC project for touchTest.c
REVERT: c8581d3a82 Fixed up new functions and files so that they build as part of SDL.
REVERT: af2813acd5 Stubbed out the new drawing, filling, and geometry functions for ellipses and polygons.
REVERT: 52ed282081 Added management and drawing functions for ellipses and polygons.
REVERT: 36b60b6ffd Fixed windo build errors. Should now be compilable.
REVERT: 2ab139c207 Fixed some windows compilation bugs - Still does not compile.
REVERT: 440a6894f5 It seems that the off-screen buffers (or pixmaps) only need to be cleared while initializing.
REVERT: 75d7bf45f9 Fix X11_FillRects to work with double buffering as well as triple buffering. This requires that the buffer pixmap be cleared after every render.
REVERT: c323705090 Fix the rendering color channels to be premultiplied with the alpha channel as thats what Xrender expects. Small fixes in X11_CreateTexture. Add some new functions in SDL_x11sym.h as well as support for Xrender.
REVERT: 4960f0aff9 Added include/touch.h Now reading in resolution of touch pad.
REVERT: caf743a102 Moved the SDL_Eyes test program for shaped windows into the Hg repository and got it building and linking as a test.
REVERT: 99aee647e0 X11_RenderPresent now uses XRender to blit back-buffers to the screen.
REVERT: 6f98c350da Xrender uses 16 bit color per channel. Fixed the color handling in X11_RenderFillRects to match this. Xrender just works now for filling rectangles :D .
REVERT: b4651b2a51 Modified configure.in to allow building with Xrender. Fixed all problems that prevented compilation. Builds fine now :)
REVERT: f75117cf0f Auto-detects Wacom touch devices.
REVERT: a1f1bc8952 Implementing base parts of TSF
REVERT: 9de49fce8f Add Xrender support to X11_FillRectangles.
REVERT: 3dcae4341c Added pressure support for touch events.
REVERT: 11b6823d3f Bug fixes. Basic touch events (finger up, finger down, finger move) supported.
REVERT: 722be21623 Fix typo.
REVERT: 66ba8d9f53 Fix initial value of the xrender_available boolean in X11_CreateTexture.
REVERT: 7373f666db Completed work on X11_CreateTexture. Added lots of safety features. These include support for drawing a texture using the core protocol while other textures are drawn using Xrender if Xrender does not support the color format of the said texture or any other fault with Xrender.
REVERT: 72c5a40b07 Added reading of event* for touch events.
REVERT: 301e0597a3 Adding some initial TSF code
REVERT: 608b696abd Added the standard headers and footers that make SDL_shape.h and SDL_shape.c integrate properly into the build.
REVERT: f806d39746 Added touch event definitions. Heavily modified events/SDL_touch*.
REVERT: aef216819f Correctly handle the availability of Xrender in X11_CreateRenderer and X11_DisplayModeChanged. Fixed the XRenderPictureAttributes value in X11_CreateRenderer with graphics_exposures = False.
REVERT: 27ad25a09d Added SDL_touch.c/SDL_touch_c.h as slightly modifeind SDL_mouse*. Made reads in touchSimp non-blocking.
REVERT: 249f46e706 Adding GLTSF (somewhat based on SFML, no actual TSF code yet)
REVERT: 52154ae7e4 SDL_KillThread() is no longer supported - it was always dangerous! :)
REVERT: 3e7fb6f4a8 Changed API for shaped windows to make it much, much simpler.  A shaped window's shape mask is now accessed as a render target, which means we can get at it with blit and draw functions, as well as (most likely) OpenGL.
REVERT: bc2e106a8b Added Test Directory. Touch input works in touchSimp for wacom bamboo fun on Ubuntu linux. Not yet integrated into library. Should support other touch devices and other linux distros, but not tested on anything else.
REVERT: dabea2387f Added a #define option for compile time Xrender support. Added some more attributes (specific to Xrender) to the X11 structs. Added some code for querying the Xrender extension.
REVERT: 125761a0a1 I'm actually going to have to alter this proposed API a fair bit, but it's coming along.  I want to keep it as orthogonal to the rest of SDL as possible.
REVERT: 6251bfb6a1 Added some android build stuff
REVERT: e3367d6ac7 Added some wrapper shell scripts to make android compiling easier
REVERT: 3634d8ffac Fix a compile error when SDL_JOYSTICK_DISABLED is set
REVERT: 26026fcdaa Fix compile errors under Android toolchain. Seems to have the same issue as the NDS.
REVERT: df6f09b78d Fixed comment style
REVERT: 1f57c052c4 Moved SDL_shape.h, and building out the API as needed by SDL_Eyes.
REVERT: c40fb5a65d Added stub files, working on sample program SDLeyes.
REVERT: 4ee62ed9e7 Adding a few #defines for Xrender support.
REVERT: 21099fe988 author	Eric Wing <ewing . public |-at-| gmail . com> 	Wed May 12 12:49:28 2010 -0700 (5 days ago)
REVERT: dece536bfc Initial commit, adding __ANDROID__ to the platform list
REVERT: 9919f22b4f Added the automated test plist file and modified .hgignore to be less aggressive.
REVERT: 338f95eb06 Removed multi-mouse / multi-keyboard support in anticipation of a real multi-mouse and multi-touch API.
REVERT: d12afdaedb Add a default revision string if we can't find hg
REVERT: 36bb08a19e Don't assume .bashrc exists. :)
REVERT: cc3f18a315 Tagging version before everything gets ripped out.
REVERT: 76cf0cd0c0 Make the compiler even happier
REVERT: 2a8171b8b7 Make sure events are current before flushing them.
REVERT: 906341c826 Added missing header
REVERT: 3bc34ef448 Removed unused variables
REVERT: 06d5867775 Fixed compiler warnings
REVERT: 74e352d011 Fixed variable use before initialize warnings
REVERT: 0c3e29cd9c Removed unused variables
REVERT: dc6629fa52 Fixed Eric's changes to allow building from the command line.
REVERT: 4a2cf3b976 Updated with the SDL 1.3 list of supported operating systems
REVERT: f7c1900153 Updated Mac Xcode project for refactored rwops automated test changes.
REVERT: 6c9da257a1 Refactored automated rwops tests so read and write directories can be more easily customized.
REVERT: 4d5a9e42ba Fixes to automated test target for iPhone Xcode project.
REVERT: 1a24b61487 Exempted writable modes from bundle check on OS X since bundle areas are typically read-only.
REVERT: a67b7bdcab Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
REVERT: 95cc075a21 Added automated test to Xcode project plus needed changes to SDL_RWFromFile to be OS X bundle aware.
REVERT: b6ef5b01d8 Much improved multi-display support for iPad.
REVERT: 953d5e65ea Test for system version in the Apple Recommended way.
REVERT: c236844aac Implemented SDL power APIs for iPhoneOS.
REVERT: 4f49f9e01e Implemented display mode functionality for UIKit.
REVERT: 33ffbdf29d Fixed bug 978
REVERT: cd734eee3a   esigra      2010-04-17 03:53:57 PDT
REVERT: 4a9fad4714 Fix a crash caused by empty keyboard focus ---  src/events/SDL_keyboard.c |    4 ++--  1 files changed, 2 insertions(+), 2 deletions(-)
REVERT: 5740f12d7b changeset: 4434:4e5dd7dc58cd tag: tip user: Jjgod Jiang <gzjjgod@gmail.com> date: Fri Apr 16 13:20:33 2010 +0800 summary: Fix window height calculation for text input rect
REVERT: fc440f959f Minor cleanup on Jiang's patch
REVERT: f9a8341561 changeset: 4433:25667ea797fa tag: tip user: Jiang Jiang <gzjjgod@gmail.com> date: Thu Apr 15 12:01:46 2010 +0800 summary: Add windowID to text editing event
REVERT: 6f34ceab02 Fixed bug 984
REVERT: 2f71858a7e Fixed bug 944
REVERT: 1fb2a69487 General improvements for user custom event registration
REVERT: e2adaf166a Fixed bug #968
REVERT: d2ca31944f Fixed bug #943
REVERT: 4637315411 Fixed bug #961
REVERT: 04a0f0f416 Removed reference to compatibility function
REVERT: 9aeb408fa2 Disable error checks for reset actuators and set autocenter.
REVERT: 565127b07c Changed the Subversion README to Mercurial.
REVERT: 07cc73d801 Changed revision details to be a string (an hg changeset) instead of an int.
REVERT: e8beace165 Made an .hgignore to mostly match old svn:ignore properties.
REVERT: 54d1d55fd4 update tags
REVERT: 103ca4c191 Removed reference to compatibility function
REVERT: d56347edfb Fixed typo in the comment
REVERT: 6989ef71d5 Adam Strzelecki to SDL
REVERT: 999d46db4a Make sure STRICT is defined so the window proc has the correct prototype
REVERT: 3db86820f6 Fixed compile error using Borland C++
REVERT: 2aa8294c06 Merged r5549:5550 from branches/SDL-1.2: ALSA 6-channel swizzle fix.
REVERT: 2570f36a05 Merged r5547:5548 from branches/SDL-1.2: FreeBSD joystick uninit'd var fix.
REVERT: b4ec792804 Migrated most of the TODO list to the SDL 1.3 Roadmap wiki
REVERT: db2e29b2d0 Fixed showing and hiding fullscreen windows
REVERT: 7bf66f3583 Fixed bug #743
REVERT: edb477343d Removed test for "driver is valid, but doesn't see any audio devices."
REVERT: 3ec28279e8 Fixed bug #928
REVERT: 4d3df8b3e3 Fixed bug #926
REVERT: 9d79206973 Fixed bug #935
REVERT: 73074be94a Added magic to detect already freed or otherwise invalid windows and textures.
REVERT: 80a88bc0d3 Fixed bug #916
REVERT: 51c2d1714d update window prev links
REVERT: 8bd993e9e1 Fixed infinite loop at shutdown - update texture prev links
REVERT: ca30a739a8 Documentation consistency
REVERT: 2bddc33611 Fixed compilation on iPhone
REVERT: 9467a700e8 Fixed crash when there was no mouse focus for some reason (iPhone bug?)
REVERT: 645cd1b2d0 Fixed Cocoa and OpenGL builds
REVERT: 5392fa233c Fixed compile warning on 64-bit Mac OS X
REVERT: 218618259e Fixed compile warning
REVERT: a0e019f786 Switched from SDL_WindowID and SDL_TextureID to SDL_Window* and SDL_Texture* for code simplicity and improved performance.
REVERT: d7496843fc Fixed compiler warnings on 32-bit Linux
REVERT: 37d1b35d66 From: Jjgod Jiang Date: Mon, 18 Jan 2010 17:46:35 +0800 Subject: [PATCH] Polish text input handling for Mac OS X
REVERT: 257e8decfd Added Xcode-iPhoneOS to make dist
REVERT: 7613e183a7 Removed obsolete checks for ipod Linux
REVERT: 1d8567b304 Fixed bug #920
REVERT: a448d86eb8 Updated Mac OS X projects with new assertion code
REVERT: e84dac760c Fixed bug #930
REVERT: de14fdf2e4 Fixed compiler warning
REVERT: 8b1ff7b169 Fixed compile error on Mac OS X 10.4
REVERT: 0fea52edf5 Fixed bug #932
REVERT: 112c27de5d Minor cleanups in PulseAudio code, to keep this 80-column-friendly.
REVERT: df371ce2d4 Attempt to clean up PulseAudio dynamic loading support.
REVERT: 83a5b57ac1 Merged r4210:5510 from branches/SDL-1.2/src/audio/pulse: PulseAudio updates.
REVERT: 91df94faa9 Fixed building under Visual Studio
REVERT: c9bab7f01e Clean up assertion API for public use.
REVERT: 281945aa84 Whoops, that should be vfprintf(), not fprintf().   :)
REVERT: 7ab6608457 Friendly warning comment.
REVERT: b01eaafa2f Fixed compiler warning.
REVERT: 9b5bcdbac7 Whitespace tweak.
REVERT: e63d0dd35c Fixed comment.
REVERT: 5c1ec528fa Handle assert init/quit better.
REVERT: c47e208c6b Moved the assertion tests to testplatform
REVERT: 6bb89ae342 Handle assertion failures when SDL_Init() isn't called.
REVERT: ca6027f7e7 Handle assertion failures during assertion handler.
REVERT: e484ea63b0 Fixed Mac OS X assertion code.
REVERT: 34cca2b9f2 Don't forget to install the new header. :)
REVERT: d663865d8c Quiet tests shouldn't prompt during assertions
REVERT: fcf7ea92c7 Leave fullscreen mode to pop an assertion dialog
REVERT: 126176c283 Assume _exit() is available.  It may be, even if unix isn't defined. If we really have to, we can add a configure check for it.
REVERT: 89f83fd92e Moved SDL_FUNCTION out so it's always available, and added SDL_FILE and SDL_LINE
REVERT: 803375d590 Allow configure to override assertion settings, but by default this comes from the build optimization level.
REVERT: 34ea846ca1 Automatically figure out the appropriate assertion level
REVERT: 34ddeb3501 Fixed release level assertions
REVERT: c5700af03a Fixed include ordering
REVERT: 85c65600ba Check for signal.h before using it, don't assume unix is available or required
REVERT: e50ab3b341 The config sets the default assertion level so people can override it for their own use in application code.
REVERT: 0dcf321953 Fixed build problems with gcc __attribute__.
REVERT: a8a1ac9acd First pass at Ryan's assertion code, minor tweaks to come.
REVERT: 7f6c455755 Added a few basic things to svn:ignore.
REVERT: 5826d5a76f Don't warn about unused variables - there's a ton of them. :)
REVERT: d643698017 Fixed compiler warning (missing prototype for SDL_Quit())
REVERT: 7676ffcf3f Fixed function prototype
REVERT: 819f28ff22 Fixed Mac OS X Xcode build
REVERT: e630ca29bf Fixed iPhone build
REVERT: e0624bc220 DirectFB driver compiles again - moved to new drawing api
REVERT: 370aa2835f Fix detection of directfb.h - AC_CHECK_HEADER wants CPPFLAGS
REVERT: b9cd3d04fb Removed incorrect SDL_GetAudioDeviceName() call from loopwave.c.
REVERT: 975ee45243 Since we're not using the CoreAudio HAL now, we don't need to use EnableIO.
REVERT: 25ed437154 Patched to compile.
REVERT: 896072b2b1 Call SDL_Init() before SDL_GetNumAudioDrivers().
REVERT: 9d95b50471 Merged r4874:4875 from branches/SDL-1.2: testwm keyboard debug output.
REVERT: 114e425581 Merged r3576:3577 from branches/SDL-1.2: X11 Xlibint.h include fixes.
REVERT: 02f381d65c Updated 1.2 revisions that need to be revisited
REVERT: d619ac0f8d Revert r5463: Alpha blend "correctness" patch.
REVERT: 33bfbef988 Merged r5194:5195 from branches/SDL-1.2: coldfire cpu arch support.
REVERT: b85e22a7e3 Merge r5179:5180 from branches/SDL-1.2: fatbuild.sh Xcode 3.2 fix.
REVERT: 59756ea1bf Merged r5070:5071 from branches/SDL-1.2: forcibly disable buggy MMX mixers.
REVERT: 0c006ba21c Merged r4991:5154 from branches/SDL-1.2/src/audio/alsa: many 1.2.14 ALSA fixes.
REVERT: a0dd23d394 Merged r5016:5017 from branches/SDL-1.2: PS2 DMA mapping fix.
REVERT: 3a00b48ce0 Merged r4992:4993 from branches/SDL-1.2: increased alpha blend accuracy.
REVERT: 44a9cf985c Merged r4866:4867 from branches/SDL-1.2: 64-bit Mac OS X 10.5 SDK fix.
REVERT: f30bac45d2 Reverted r5460 ... this was merged from 1.2, but was later reverted there.
REVERT: 065e14eb5d Merged r4784:4785 from branches/SDL-1.2: Mac OS X linker command line fixes.
REVERT: 80c18796d0 Made the comment more readable
REVERT: bb1d53459e The OS/2 support has been removed, so we don't need this now.
REVERT: ce3dc43435 Removed comment referring to previously-removed CD-ROM subsystem.
REVERT: 3876de9f47 Merged r4717:4718 from branches/SDL-1.2: minor OS/2 DECLSPEC/SDLCALL fixes.
REVERT: 8fbed4b846 Merged r4713:4714 from branches/SDL-1.2: CoreAudio 64-bit & Snow Leopard fixes.
REVERT: 40e8b69061 Merged r4710:4711 from branches/SDL-1.2: Mac OS X SDL_stdlib qsort build fixes.
REVERT: 4f75dd5505 Merged r4433:4434 from branches/SDL-1.2: fbcon fgets() return value test fix.
REVERT: 65a38589ba Merged r4412:4413 from branches/SDL-1.2: rwops documentation fix.
REVERT: 63e191d64d Removed the obsolete SDL 1.2 GAPI driver
REVERT: bdb0253ca9 I can't compile this, but it should be updated for the new rendering API now.
REVERT: 26e749b7df Merged r4121:4122 from branches/SDL-1.2: more double-free fixes.
REVERT: 3617a04d58 Merged r4121:4122 from branches/SDL-1.2: win32 joystick double-free fix.
REVERT: 4ab9267d2d Merged r3808:3809 from branches/SDL-1.2: install_name_tool fix for fatbuild.sh.
REVERT: 516aaa5d6c Merged r3787:3788 from branches/SDL-1.2: better failures for joystick opening.
REVERT: 9a2b0cfb61 Fixed GL_RenderWritePixels() - thanks Ryan!
REVERT: f643e8c798 Fixed bug #924
REVERT: f1255da8b2 We're using GNU recursive mutexes
REVERT: eca7769600 Fixed bug #915
REVERT: b9702243c7 Removed in the interest of actually finishing 1.3. :) They can be done later, either by me or by someone else.
REVERT: 4d3b6eafc8 Fixed buffer overflows in resamplers.
REVERT: 1411a41ebd Added missing include for stdio
REVERT: 3a87e3f645 Updated to include new files
REVERT: b393d088e8 Updated to compile on Windows
REVERT: 9c7cbdcbe5 Added rectangle test
REVERT: 87672bbcfa Fixed bug #912
REVERT: 6da163ab81 Added SDL_RenderClear() as a fast method of clearing the screen to the drawing color. Renamed SDL_RenderPoint() and SDL_RenderLine() to SDL_RenderDrawPoint() and SDL_RenderDrawLine(). Added API for rectangle drawing (as opposed to filling) Added placeholder API functions for circles and ellipses ... I'm not sure whether these will stay. Optimized software line drawing quite a bit. Added support for Wu's anti-aliased line drawing, currently disabled by default.
REVERT: d45158ea85 Make it possible to slim SDL down quite a bit for people who just want OpenGL
REVERT: 2b04928c0e Added SDL_DrawRect(), SDL_DrawRects(), SDL_BlendRect() and SDL_BlendRects() Fixed line drawing so when blending a sequence of lines there are no overlapping pixels drawn.
REVERT: e4c73114dc In the process of adding rectangle drawing
REVERT: c7fe958b6e Fixed compile error on Windows.
REVERT: 0833d1cda2 Updated test code to use SDL_setenv()
REVERT: a9012609d3 Fixed crash in joystick handling code.  Newer 2.6 kernels add an additional 'resolution' field to input_absinfo.  Note that we don't use that structure since we want to have enough space for the values even when building with an older kernel.
REVERT: b634dea37a Fixed bug #841
REVERT: 8df92cace1 Fixed bug #843
REVERT: 8c0b853255 Implemented 64-bit version of cpuid code
REVERT: 0624fd8333 Added support for querying the number of CPUs available on Linux.  This also happens to work on Mac OS X.
REVERT: 8b304825b5 Initial band-aids on SDL_GetMouseState() API breakage. More work to come.
REVERT: 691ee6f7c0 Fixed cpuid assembly to work on PIC code
REVERT: c825464c2f Allocate memory only if we're going to overwrite an environment variable
REVERT: 510c961476 Updated svn:ignore.
REVERT: 791f5dbce4 Implemented SDL_setenv(), moved SDL_putenv() to compat.
REVERT: 034bfdf70d Implemented Windows version of SDL_GetCPUCount()
REVERT: 29601c280b Added SDL_GetCPUCount() to see how many cores are available.
REVERT: 3f0f9188ed Fixed bug #741
REVERT: 83fbb6981f Fixed bug #736
REVERT: 777b877a72 Added testfill to test raw fill performance
REVERT: ad28ede924 Nuffin'
REVERT: 62991bd546 Fixed bug #685
REVERT: 21ee5c056f Fixed bug #666
REVERT: 1ca4e2cee3 Fixed bug #642
REVERT: 240b5fcaab Default to allow either accelerated or not
REVERT: fe2b42f86c OpenGL hardware acceleration defaults on
REVERT: abec9e44fa Fixed bug #815
REVERT: ddbeadf670 Fixed bug #818
REVERT: 820021226c Added a warning comment to SDL_putenv().
REVERT: 08bbf9ac95 Fixed bug #905
REVERT: fb16cf8cac Fixed bug #906
REVERT: 9f5a112e87 Add a dummy function if SDL doesn't have STDIO support
REVERT: db04a493f2 Added notes from e-mail on desktop window implementation
REVERT: e4877f62c1 Need to test the multi-draw APIs
REVERT: a7733bcb17 Added svn checkout install step
REVERT: 0158b925d3 The SDL 1.3 tests have been cleaned up not to include any 1.2 compatibility code.
REVERT: 1bd0c772d9 Implemented read/write pixels for the X11 renderer
REVERT: c2767e72dd Added a test to check the read/write pixels API
REVERT: 9ea9c7518d Added support for SDL_PIXELFORMAT_RGB24 and SDL_PIXELFORMAT_BGR24 to SDL_PixelFormatEnumToMasks()
REVERT: e8b8ea1e0a Added a BLENDMODE_MASK pixel shader so render tests succeed
REVERT: 21611bcf67 The SDL_PaletteWatch structure is really internal-only.
REVERT: e0e5f49b6a Name the audio callback for documentation clarity.
REVERT: 29aecb01bf Note that the WritePixels call is unsupported right now.
REVERT: 9b0681272d Fixed windows.h include
REVERT: c43ba5edd7 Fixed line drawing for D3D
REVERT: 4b9d4ff36a Minor documentation fix
REVERT: 15e7c4789c Finished implementing RenderReadPixels()
REVERT: d122df1db0 Removed the obsolete testcdrom target
REVERT: 3be3a8db09 Fixed building on iPhone
REVERT: 9888012562 Allow points to be outside the window bounds, stress testing the clipping code.
REVERT: 0e0b96d72f Added mouse position for button handling
REVERT: 279b20b6d6 minor notes to self
REVERT: 3e4cece769 Fixed X11 line implementation - clip lines that are going to go outside the window.
REVERT: 60b65d182a Make sure we fully clip the first point before starting to adjust the second point.
REVERT: 1ba0c1618e Added an automated test for rectangle routines, currently only testing line clipping. Use the Cohen-Sutherland algorithm for line clipping which uses integer math and preserves ordering of clipped points.
REVERT: 4672f074e0 Fixed constness in RenderRects() parameter
REVERT: 74c8c77e81 Fixed bug #896
REVERT: 021fe81f73 X11 driver compiles again, lines are not yet implemented
REVERT: d86e44de65 Switch to mixed case for consistency with other enumerations
REVERT: 8ee9720297 Added interfaces for batch drawing of points, lines and rects:     SDL_DrawPoints()     SDL_BlendPoints()     SDL_BlendLines()     SDL_DrawLines()     SDL_FillRects()     SDL_BlendRects()     SDL_RenderPoints()     SDL_RenderLines()     SDL_RenderRects() Renamed SDL_RenderFill() to SDL_RenderRect()
REVERT: 304a6bbb6c Hey, those automated tests are coming in handy!  Fixed GDI rendering semantics
REVERT: 5a45284f55 Implemented RenderReadPixels() and RenderWritePixels() for GDI renderer.
REVERT: 5d686e407c This fixes the OpenGL rendering test, at least with my ATI card...
REVERT: ea76da001c Fixed crash initializing the dummy driver
REVERT: ce410261ab On Windows the minimum window size may be larger than 80, so explicitly request the expected rectangle.
REVERT: 5c77d00a62 The window position is display relative, at least for now...
REVERT: 712ccbd13c Fixed crash
REVERT: 52f2433c29 Added an API function to query geometry of multiple monitors: 	SDL_GetDisplayBounds()
REVERT: 540357e23a Fixed to use the correct display adapter
REVERT: 656ee60af0 Fixed compiler warnings
REVERT: e2ff36e2a3 Fixed compilation on Mac OS X 10.4
REVERT: 21f0a00736 Allow overriding the number of build jobs
REVERT: e7a9fc5a82 Made the window flag comments more consistent
REVERT: 1f1d8b4e67 Added related functions
REVERT: a5eb078863 Don't add any renderers if you can't add any displays
REVERT: b6b1631cb5 Fixed calls to SDL_AddRenderDriver()
REVERT: 678d68d0f6 Fixed compiling the D3D renderer
REVERT: 5bb70a9b91 Added support for SDL 1.2 environment variables: 	SDL_VIDEO_FULLSCREEN_DISPLAY, SDL_VIDEO_FULLSCREEN_HEAD
REVERT: e12e0c04d3 Fixed mouse events for fullscreen windows on Mac OS X
REVERT: 013a718a1f Restore the video mode after shutting down the renderer, which fixes an error deleting the OpenGL context on Mac OS X.
REVERT: ca0eb1c533 Missing pop over a jump
REVERT: 3c1211c031 Added Ctrl-Z common key binding
REVERT: b5fc901837 Restore the desktop mode when requested
REVERT: ae0f3ac642 If we're fullscreen on a single-head system and lose focus, minimize
REVERT: e4f2557276 On multi-display systems it's perfectly reasonable to have focus on a window on another monitor while the application is fullscreen.
REVERT: 615000a3bd Don't need to hide the menu bar if we're not on the main display
REVERT: c1b86636fe Changed so that it's obvious that the two code blocks are related.
REVERT: 437235f9d4 Fixed mouse coordinates for fullscreen mode
REVERT: 15a731ac2a The window positions are relative to the origin of the windowing system (upper left of the primary display). Fixed the mouse positions for windowed mouse movement.
REVERT: 10bd98ffe5 Added support for placing windows on different displays
REVERT: eceb2d3dbe Ensure that the main display is picked up first
REVERT: df27e595ca Allow mirrored displays, but only the primary display in a mirrored set.
REVERT: eac4a9bf35 Explicitly clear fullscreen status rather than relying on the window focus behavior.
REVERT: b98089ee2a Whenever a window becomes fullscreen, shown, unminimized, and has input focus it will change the display to the corresponding fullscreen video mode. If it loses any of those properties the desktop mode will be restored.
REVERT: c77842705f Removed a little redundancy in the naming
REVERT: 1cd715e9db Work in progress on multi-display support: * Added display parameter to many internal functions so video modes can be set on displays that aren't the public current one. * The fullscreen mode is associated with fullscreen windows - not displays, so different windows more naturally have a mode associated with them based on their width and height.  It's no longer necessary to specify a fullscreen mode, a default one will be picked automatically for fullscreen windows.
REVERT: 3e860cdcf9 Reduced the push/pop sequence to a single pair, and ported this fix over to the other architectures.
REVERT: 604fbcb387 Fixed crash - need to save and restore rbx around cpuid, since the compiler may be assuming the stack pointer isn't being modified when filling in %0.
REVERT: a8a1831e74 Added support for 32-bit BMP files with an alpha channel
REVERT: 215689096f Joe 2009-11-23 21:31:10 PST
REVERT: 015d99c5d9 Adam Strzelecki to SDL
REVERT: 8a9c9fccbb Adam Strzelecki to SDL
REVERT: 88a5324d0d SDL_CreateWindowFrom() is actually going to be supported. :)
REVERT: 3dba28911a Clarified the windowID parameter
REVERT: f0b63f9249 Add error messages for failure cases
REVERT: 956b1a313e Added the automated test to the Visual Studio 2008 project
REVERT: feffe12108 Override renderer for OpenGL window, only in case if OpenGL or OpenGL ES renderers are enabled.
REVERT: e7553b2ddc Fixed bug #771
REVERT: 6524589fad Eric Wing to Sam, hfutrell
REVERT: 56425cc2d3 Fixed bug #891
REVERT: b7844cd95f Mason Wheeler to sdl
REVERT: 45a366faf7 Set the error so someone can get more information
REVERT: 263c9febad Made the comment actually mean something. :)
REVERT: 224c8b5bec More fixes to compile under Visual C++
REVERT: ccfc72055c Fixed include paths for Visual C++
REVERT: 7b31c3e830 The Direct3D Read/Write pixels interface is in progress.
REVERT: 636dc1e63e Whoops, actually set the SDL error, don't just print the error.
REVERT: 21ee95a08f Added support for QNX default font. Backspace and Return keys now handled.
REVERT: 02d897e864 We want to be strict on software renderer tests and opaque tests, but give a decent margin for blending inaccuracy for the blended tests.
REVERT: e957ccc22a Increased tolerance a little bit more for multiple blending passes accumulating error.
REVERT: e70cbce904 Added comment for pixel-perfect line workaround.
REVERT: 21fb49df82 Of COURSE that trick wouldn't work on all renderers.  Fall back to something for now, hopefully figure out a better way to do this later.
REVERT: 0c8bb39322 This is terrible, but the OpenGL standard says that lines are half open, which means that one endpoint is not covered so adjoining lines don't overlap.  It also doesn't define which end is open, and indeed Mac OS X and Linux differ.  Mac OS X seems to leave the second endpoint open, but Linux uses the right-most endpoint for x major lines and the bottom-most endpoint for y major lines.
REVERT: b10df318c7 Fixed the coordinates for pixel coverage in blits
REVERT: e3bfc7307d Use 45 degree lines for the diagonal test to avoid aliasing errors in line drawing.
REVERT: 3110c4d9fb It's not the last pixel, it's the rightmost pixel, or if they're both the same x coordinate, the bottommost pixel.
REVERT: 153a88e1ef RenderReadPixels and RenderWritePixels functions work with back buffer now and all asynchronous operations are flushed before reading or writing to backbuffer. Thanks Sam for clarification of this.
REVERT: 335b459777 My first OpenGL shader!  Momma will be so proud!
REVERT: 22c1e66180 pixels don't need to be dynamically allocated Added a dump_screen() function to assist with test failure diagnosis
REVERT: fc3f393af6 SDL_RenderReadPixels() needs to flush asynchronous operations before it reads. The semantics are that it reads the back buffer, and those pixels may not be available once SDL_RenderPresent() has happened.
REVERT: 474b543c63 Support for UTF-8 text input has been added.
REVERT: cb70cb42eb 1. SDL_RenderPresent() call has been added after each test to be sure, that all graphics output is flushed in case if it was asynchronous. 2. After each renderer test window recreation has been added.
REVERT: 4fd1d48088 Output last SDL error in case of test was failed.
REVERT: 3038604a81 RenderReadPixels and RenderWritePixels now work properly.
REVERT: 6e0c12e7f7 Deinitialization fixes, in case if QNXGF driver is not initialized properly.
REVERT: 413e9a6218 Added support for generic getopt() function instead of getopt_long(). Because not all platforms have getopt_long().
REVERT: 93f91c687b Support for RendererReadPixels and RendererWritePixels has been added to photon renderer.
REVERT: 0c1f40faf7 Mike Gorchak to Sam
REVERT: 0f770140c0 Found a way to implement mask semantics in OpenGL
REVERT: 92f130691a Allow some variation in the pixel values to account for blending accuracy differences.
REVERT: 556c82f866 Include the endpoint in the line we're drawing
REVERT: 78855cf981 Adjust the vertices to be over the texel center.
REVERT: ffed135358 Fixed a bunch of bugs in the blit blend mode tests
REVERT: ae9dabec32 Use SDL's string and memory functions instead of stdlib
REVERT: a6bfcda464 Implemented SDL_RenderReadPixels()/SDL_RenderWritePixels() for the dummy renderer. This is helpful to validate the automated test suite, since this renderer is super simple and should always pass tests.
REVERT: 6e102beb88 Don't add the OpenGL renderers for drivers that don't support OpenGL
REVERT: 50cac453d4 Fixes for the automated rendering test
REVERT: 9e98b7ad9e If we explicitly request a driver, try to initialize it.
REVERT: a192c6e6bc Fixed GL_RenderReadPixels() - thanks Ryan!
REVERT: 2d9880b962 First pass (untested) at RenderWritePixels()
REVERT: 7f4f3792ce Refactored to use render_loadTestFace()
REVERT: 86dbbd0dd3 Fixed endianness of the face image surface
REVERT: 87442cb483 Trying to figure out why the OpenGL tests are failing...
REVERT: 200856fb2b Compare against the correct image
REVERT: 508336f894 Debug info to help track down render test failures
REVERT: a3226cf7d3 Added missing return values
REVERT: c635254fa1 Fixed some bugs in the automated test suite, revealed by working SDL_RenderReadPixels()
REVERT: 82d400ccd4 Scott to slouken
REVERT: f62ed3cb3f Thank you automated tests (and bobbens!), fixed alpha blending for accuracy
REVERT: 209448b796 Fixed memory corruption in SW_RenderReadPixels()
REVERT: 0f620b7fe4 You can specify the format for pixel data in SDL_RenderReadPixels() and SDL_RenderWritePixels() This code still doesn't quite work yet. :)
REVERT: ea4fb3a1a4 Added a utility function to convert blocks of pixels
REVERT: 08aadfdc9f Hmm, this isn't going to work, is it?
REVERT: df2499a35c Work in progress: SDL_RenderReadPixels() should be implemented soon.
REVERT: 960459ec63 Work in progress on OpenGL ReadPixels/WritePixels interface
REVERT: 143563c826 Updated for the new pixel format structure
REVERT: 70f4c52c68 The docs directory doesn't exist anymore
REVERT: fbaee18c6d Fixed gcc warning
REVERT: 0e8fa16511 Work in progress on implementation of SDL_RenderReadPixels() and SDL_RenderWritePixels(), code untested.
REVERT: 15e287332f Fixed bug #878
REVERT: 27a44195ae Fixed compile warning
REVERT: 6c0d20ab8c Skip renderers that fail to initialize
REVERT: f9293220c1 Removed the separate static simulator target, all targets create libSDLiPhoneOS.a Removed generic thread files, they shouldn't have been in there.
REVERT: 8f71172aad Fixed bug #847
REVERT: 115c22f261 cpuid doesn't actually change the flags register
REVERT: a0fd7e1cba Fixed bug #734
REVERT: ef88f68a9d Cursor hotspot fixes.
REVERT: 1599f33522 Fixed compile error
REVERT: 6d92d75009 Automatically initialize the video system and create a renderer to simplify use.
REVERT: 47997f877c Adam Strzelecki to SDL
REVERT: 303b14025b Adam Strzelecki to SDL
REVERT: cf7ca27b19 Adam Strzelecki to SDL
REVERT: f9c1667f92 Adam Strzelecki to SDL
REVERT: 40aaaac9e1 Fixes in GLES configuration selection.
REVERT: ae491a8246 Fixes in GLES configuration selection. Support for an old QNX 6.3.2.
REVERT: 6a7f207cd7 Optimizations.
REVERT: c558493b24 Adam Strzelecki to SDL
REVERT: 78dec43e00 Support for GL initialization parameters has been added.
REVERT: 1cbfd5b6e0 Partial fix for bug #859
REVERT: 4483fc99e3 There's a bug with gcc 4.4.1 and -O2 where srcp doesn't get the correct value after the first scanline.  Ugh.
REVERT: 7df7cdde39 Merged improvements to SDL_SoftStretch() from SDL 1.2
REVERT: 410baa467e Fixed bug #853
REVERT: 0347900a7a Whoops, need &quot; inside quotes
REVERT: c331a14ce1 Fixed bug #852
REVERT: 6513f302fd iPhone/Xcode for 1.3
REVERT: f2ae715bf4 iPhone interruption patch / SDL 1.3
REVERT: f22214ce9b Working on fullscreen video modes support
REVERT: 78ffba1ff2 Fixed memory allocation size.
REVERT: b0a410eb46 Fixed handling of the initial window size.
REVERT: 0ce7835ad6 All 2D operations in Photon driver have been finished. The driver is ready to use. There fullscreen modes and YUV textures are rest only.
REVERT: c6540a326c Options --double --triple have been added to test double and triple buffering.
REVERT: 14343daa51 We don't need dlvsym() for ALSA anymore, yay!
REVERT: de6930e985 Fixed SDL_BLENDMODE_MASK for GL and GLES renderers, now blending works like in software renderer.
REVERT: e1e9af7e0e Only show the dynamic audio libraries if we'll be dynamically loading them Fixed DirectFB dynamic loading to use find_lib Converted tabs to spaces
REVERT: 7361b514e2 Simplify and improve dynamic library detection, taken from SDL_image
REVERT: b38f6c957a Debian patch: 050_altivec_detection.diff
REVERT: ebd6bbf4d0 Fixed OpenGL ES primitive alpha blending.
REVERT: 069b183a08 Missed converting PULSE to PULSEAUDIO
REVERT: f617baee05 Initial support for fullscreen application modes.
REVERT: d023c50f43 Photon SDL renderer almost finished, the double/tripple buffering is left only.
REVERT: 344d83f986 Joystick patch from FreeBSD ports system
REVERT: d54f916cc3 Continue working on 2D support in Photon.
REVERT: e2e843a389 Continue working on 2D support in Photon
REVERT: c1665b6a55 A better solution to making the default build optimization -O3 Cygwin32 autoconf complains about c.m4 ... of course. :)
REVERT: 88141c3407 Whoops, the ProjectDir is one level lower than the SolutionDir
REVERT: ad98374d82 stefanullinger to me
REVERT: c7ec745959 pkg-config replaced sdl-config in these cases.
REVERT: fd8af66fe2 Fixed bug #31
REVERT: 39b386f90a gcc can't generate dependencies for a file that doesn't exist, so first create SDL_revision.h
REVERT: 10a4894433 This is crazy.  In order to override the default optimization for GCC, we actually have to include the core autoconf C compiler macro suite.
REVERT: 5303617926 Continue working on 2D support for Photon/QNX.
REVERT: 345698f187  Matěj Týč      2009-10-05 14:09:03 PDT
REVERT: 5095178f48 Revert back. Sorry.
REVERT: 67242517ca Added phrender library linkage for QNX target.
REVERT: f050f1289b Call CommonQuit() at exit has been added.
REVERT: ae04b1afaf Created windows must be destroyed at CommonQuit().
REVERT: 5575687744 Debian patch: 218_joystick_memmove.diff
REVERT: 89229aae60 Fixed bug #833
REVERT: a1d457ae81 Whoops, FreeBSD 6.2 doesn't define __FreeBSD_kernel_version
REVERT: abf5cb8c2f Adapted from Debian patch: 215_kfreebsd_gnu.diff
REVERT: 7075c8391a Made typedef for SDL_bool the same as the other typedefs. If this causes problems on any compiler, please report a bug to http://bugzilla.libsdl.org/ and include the platform and version of compiler you're using.
REVERT: 9a25579e5f Support for the atomic operations for ARM, PPC, MIPS, SH, X86 platforms has been added.
REVERT: 7e6cba931b Fixed bug #627
REVERT: 885758b318 Merged r4990:4991 from branches/SDL-1.2: ALSA 1.0 API and dlvsym() removal.
REVERT: 2e3beaf83d typo
REVERT: fa8e2f2155 Use new 1.3 API for getting audio driver name.
REVERT: edf88f55b0 Added some debug output to loopwave.c
REVERT: e1d8dd9b8a Use test instead of [ because that's an m4 quote character
REVERT: 4b40e7c5a6 Fixed bug #830
REVERT: a6c38ff9a2 Fixed bug #830
REVERT: 280581a676 Merged r4974:4975 from branches/SDL-1.2: sdl.pc removal on make uninstall.
REVERT: 952edb3958 Fixed bug #828
REVERT: 7647b00bd8 Update config.guess and config.sub
REVERT: c110578902 The SDL 1.3 documentation will be primarily online wiki based: http://wiki.libsdl.org/
REVERT: 15b77c1e55 SuSE 11.1 installs directfb-config without directfb-devel, so check to make sure the development headers are actually available!
REVERT: e853355574 Reminder, add multiple icon sizes!
REVERT: d15deca4df Upgrading libtool didn't fix bug #499
REVERT: 1d0273bd6e Eric Wing to Sam
REVERT: 771e6a4d5e Eric Wing to Sam
REVERT: 9d74df9496 Updated libtool to version 2.2.6a
REVERT: 1932964202 Split out ltoptions.m4
REVERT: 92b0199110 Fixed make dist
REVERT: 323e84e652 Fixed make dist
REVERT: 79a1a3cee0 Split acinclude.m4 into its constituent parts for easy upgrading
REVERT: e66e17ea31 Fixed bug #826
REVERT: b8e0d8078e Fixed bug #522
REVERT: 3fcfb40e22 Eric Wing to Sam
REVERT: 00fcbc745d Fixed bug #817
REVERT: 4968cb27ac Fixed bug #814
REVERT: 4051f91f05 Fixed a bug where when the audio starts paused all the DirectSound buffers will end up getting locked and never unlocked and sound will never play.
REVERT: de0dbff224 Adam Strzelecki to SDL
REVERT: 361d31ae06 Use gcc's built-in dependency generation, thanks to Adam Strzelecki
REVERT: 7f26231261 [SDL] Bad math in SDL_RenderCopy
REVERT: b330607c4b You should check for the C compiler before you set CFLAGS. :)
REVERT: 7210963bc0 Eric Wing to Sam
REVERT: 64da4d2ac8 Getting ready for a new drop from Eric, hopefully the last time I have to wipe this.
REVERT: 9cf9fe1010 Added missing templates
REVERT: 68b5d835c3 Reminder to investigate upgrading libtool to fix bug #499
REVERT: ff4d85fc9e Better cross-platform macros for printing 32 and 64 bit values
REVERT: efc7893227 Temporary band-aid for bug #575
REVERT: 6e7a184bcf Ok, added long casts to get rid of compiler warnings.
REVERT: eb162e1725 -0.5 is causing trouble according to comments in bug #783
REVERT: 06e83a3640 Added renderer information for dynamic OpenGL test
REVERT: 8349cf0831 Fixed bug #716
REVERT: bb9b983417 Fixed 32-bit build
REVERT: bda0828ef8 Fixed bug #797
REVERT: a305eb8541 Fixed bug #777
REVERT: 1035ec66ff Fixed bug #766
REVERT: 0990e2250c Fixed bug #765
REVERT: ac573d8522 Fixed bug #764
REVERT: ba8fff9ab2 Fixed bug #761
REVERT: b42df3ec21 Fixed bug #734
REVERT: 55214000e1 Fixed bug #705
REVERT: b827e9297f Fixed bug #705
REVERT: 3a86a4e6b6 Fixed bug #704
REVERT: 940b0ede17 Fixed crash with right side up BMP files
REVERT: 910fc5ed91 Eric Wing to Sam
REVERT: 39fbfe62c6 fixed a spelling error in the documentation.
REVERT: 8f9b7ab9c7 Changed to include SDL_atomic.c in the windows version of SDL 1.3
REVERT: 6e96a9947b This version actaully should work on Windows.
REVERT: 9705e19c57 More TODO!
REVERT: 353fa3e13e Eric Wing to Sam
REVERT: e5ae941a74 Updated Xcode project from Eric Wing
REVERT: 4fc2b759c2 Getting ready for a new Xcode project from Eric Wing
REVERT: 8c7dddc113 Fixed bug #732
REVERT: 46669bc45a Possibly fixed bug #601, definitely fixed a potential issue with threads stopping and starting in rapid succession.
REVERT: eb32c5737d int testmmousetable.c the arguments to main() are not compatible with what is required in SDL_main.h Cleaned up testatomic.c to use the same syntax as every other test program.
REVERT: a78ed924f8 Whoops, this breaks building on Mac OS X 10.4
REVERT: ad397223a2 oops
REVERT: 9b197b5dd0 Should now compile on 32 bit linux and 64 bit linux
REVERT: 36ff6e0aff Whoops, need both the header and the library!
REVERT: 642078cce6 Fixed bug #714
REVERT: 59bb46e70d Fixed bug #674
REVERT: bfb982d926 Fixed bug #615
REVERT: 54ecbe7b60 Added reminder to look into 2D vblank synchronization
REVERT: ba55ec5f01 Oh yeah, we have GLX support too.
REVERT: d2a37d9894 Fixed bug #577
REVERT: 457c590993 Fixed bug #591
REVERT: be2cfc6afd Fixed bug #570
REVERT: d4c2904707 Fixed build on Mac OS X 10.4
REVERT: 0a027f75d0 Fall back to opaque sprite if no formats with alpha are supported.
REVERT: 4309e3326a Fixed compatibility with SDL 1.2 pixel format (24 bits per pixel of color data with 4 bytes per pixel == 32 bpp)
REVERT: 4b968e37fc Removed outdated Atari support
REVERT: 23bd7aa60c Oh yeah, need this option for PPC as well now.
REVERT: 1dc16d423f I'm gussing that this was never compiled where TTF support was missing. As a result a call to SDL_GetError and a call to TTF_GetError were swapped. I "fixed" it. That is it now compiles.
REVERT: d4f133c2bf Merged a cleaned up version of Jiang's code changes from Google Summer of Code 2009
REVERT: c03508fe86 I think this fixes the texture pixel alignment
REVERT: 04c0bdf8c2 This is waaaaay outdated. :)
REVERT: fdf151de94 This name inconsistency has been bugging me for a while...
REVERT: 948c701041 Removed outdated VGL support
REVERT: 5e78005b86 Removed outdated wscons support
REVERT: b02edf2009 Removed outdated Nano-X support
REVERT: 351e3d48d9 Removed outdated OS/2 support
REVERT: 232c747269 Removed outdated Dreamcast support
REVERT: 6ecdaa1fe3 Oh yeah, this file is gone
REVERT: 1b4fd86d4f NASM is no longer used in SDL 1.3
REVERT: 76d2bc3e7f Removed outdated OS/2 support
REVERT: 303667b4b7 Removed outdated iPodLinux support
REVERT: 207c39a9bc testsprite2 should be pixel correct on Direct3D now.
REVERT: a5b7ba39e6 More test coverage
REVERT: 117273ed79 Added more tests for the different primitive types
REVERT: 1d966b1f67 Fixed bug #783
REVERT: d58444879a Removing old CD-ROM header reference
REVERT: 3c3ba9eb95 Stefan Ullinger
REVERT: 11921a8b7d The new, cleaner, version of the atomic operations. The dummy code is what you should start working with to port atomic ops. The linux code appears to be complete and *should* be the base of all Unix and GCC based versions. The macosx and win32 versions are currently just copies of the dummy code. I will begin working on the windows version as soon as this check in is done. I need someone to work on the Mac OS X version.
REVERT: 5ca4f68163 Kenneth Bull to SDL
REVERT: 0b31b5070e Merged Edgar's code changes from Google Summer of Code 2009
REVERT: 3a95fba428 This doesn't actually build on other platforms, I'll have to check with Martin
REVERT: 700b3bb677 Merged Martin's code changes from Google Summer of Code 2009
REVERT: ed007a4d81 Fixed bug where minimized windows get zero width/height
REVERT: 56d28e32b9 Fixed compiling on 64-bit Windows
REVERT: 59d9335a2a Upgraded solution to Visual Studio 2008 and added 64-bit target
REVERT: d036689ab0 Fixed issues building 64-bit Windows binary
REVERT: d4dca0dbc5 Removed CD-ROM code from Visual C projects
REVERT: 5d5884ba5f Updated Xcode project for latest file changes
REVERT: ade846f1f1 Updated Xcode project for latest file changes
REVERT: b87e5f7ba7 Fix build on native 64-bit architecture
REVERT: 0ee5fbe25d Added 64-bit architectures to the fat build script
REVERT: 1bd5e5471f From: Jjgod Jiang <gzjjgod@gmail.com> Date: Sat, 5 Sep 2009 17:32:28 +0800
REVERT: 34458769f0 From: Jjgod Jiang <gzjjgod@gmail.com> Date: Sat, 5 Sep 2009 17:27:07 +0800
REVERT: b9d44209a4 Updated fatbuild.sh to build for 10.4u SDK
REVERT: 707116c0c0 Removed references to CD-ROM support from the README files
REVERT: 633d710201 CD-ROM support is so passé :)
REVERT: 8c260f6e84 Bye bye SoundManager, you are officially obsolete...
REVERT: 063b24f5a2 Fixed a few issues compiling with Mac OS X 10.6
REVERT: 824f06e60b Updated glext.h
REVERT: 502905163a Fix suggested by Bob
REVERT: 5f97d85c7e David Carre to Sam
REVERT: 96e3a0d5c7 Start of redesign, getting rid of 8 and 16 bit operations in .h and test files.
REVERT: 6f258c0f99 I forgot to copy the dummy version to macosx.
REVERT: 93ce786b11 David Carre to Sam
REVERT: f558ab804b Fixed bug #746
REVERT: b4a5bda1c1 Added request for SDL handling the desktop background window
REVERT: 4305fc3c0b Patch by Janosch Gräf <janosch.graef@gmx.net>
REVERT: 3d28b5de16 Add clipboard support to TODO list
REVERT: 118451c159 Fixed compiling SDL_fsaudio.c against fusionsound 1.0.0
REVERT: 5c172c5af8 Fixed type size for test_bit()
REVERT: 554dcb60df Added SDL_revision.h
REVERT: 5b2bf45c12 Clarified API documentation
REVERT: 45f06cc73d Added TODO for automated testing
REVERT: 87f6311a17 Removed arbitrary window size limitation
REVERT: ca4e2429aa Whoops, still need the iPhoneOS config file. :)
REVERT: 72f55d5d83 Added missing SDL_revision.h
REVERT: 0e665950e9 Added SDL_atomic.h, SDL_power.h, and SDL_revision.h to public API headers Added dummy atomic source files for now
REVERT: d942501bf9 Added SDL_atomic.h and SDL_power.h to public API headers Added atomic source files (which don't compile currently)
REVERT: 51273d8424 Better check which includes #define used in stdint.h
REVERT: 72e444bb08 Don't redefine types if HAVE_STDINT_H is defined
REVERT: 8a68fef797 Patch from David Carre:
REVERT: 01700524c1 Support for native and emulated atomic operations has been added.
REVERT: 66de021c3d volitile... duh, yeah the variable need to be labeled volitile
REVERT: 29167b5730 Documentation fix fix
REVERT: 5f0c128f01 Applied patch from bug id=762 provided by Pierre Phaneuf
REVERT: 5d3a5aa3bd Documentation fix.
REVERT: 46b21a2522 This is a cosmetic fix, I found a stupid typo
REVERT: 29a81c8167 Another documentation fix, Thanks to Mason Wheeler for finding these.
REVERT: 8625a0991d Documentation fix.
REVERT: 58ee3a8b76 Corrected documentation error for SDL_RenderFill.
REVERT: 77773a07a2 Added testpower to svn:ignore
REVERT: 6924cd9e8a Moved hardcoding of "/proc/apm" elsewhere.
REVERT: fc45904c3c Linux /proc/apm: handle hex and decimal (and octal!) values.
REVERT: 090a6d4f81 Linux /proc/acpi: check for ac_adapter states, other cleanup.
REVERT: 0fef127841 Removed stub for Linux /sys/power processing.
REVERT: 3bcb033219 Power: First shot at Linux /proc/acpi/battery support.
REVERT: dad8f05067 I've made so many changes I don't dare continue until I check the current stuff in.
REVERT: 9b4d5550f8 Disabling 64 bit atomics operations until I figure out why they do not link.
REVERT: bd15ea1fd5 First draft of atomic operations code for GCC and linux.
REVERT: 386dceedb4 This check in updates SDL_atomic.h to reflect the new set of atomic operations in 32 and 64 bit form. It also update configure.in to compile the linux version of the library. The three versions are all dummies implementations that do nothing. They are being checked in as place holders. Mostly, I just wanted to get place holders and the configure.in checked in.
REVERT: 3688382625 Added power API and test program to Visual C++ project files.
REVERT: dd86ee0d76 Alexei Tereschenko
REVERT: e2f3d399b5 Fixed some compile errors and warnings under Visual C++
REVERT: 75ffaf1d21 Mouse events now report the correct window id and window enter/leave events are now reported.
REVERT: fa620100d8 Proper window resize handling in GLES test application.
REVERT: 83ca32e544 Fixed problems with OpenGL ES window resizing.
REVERT: b099397c9c Note about hardware mouse cursor has been added.
REVERT: 17db454b5c Fixed bug #750 Since many different event structures include windowID it should be placed near the beginning of the structure (preferably right after type) so it's position is the same between different events.
REVERT: 8aa58621a6 Added missing files for OpenGL ES support
REVERT: 63be31556a Added missing header file for Pandora support
REVERT: 0ce493da65 Whoops, didn't mean to commit unfinished patch
REVERT: 388df73e0d indent is really bad at handling assembly
REVERT: d03a7700eb indent
REVERT: e74bc6f89f Continue working on QNX GF and Photon support.
REVERT: e51e3cfd1c SDL pixel format string is printed near mode number in form of SDL_PIXELFORMAT_XXXXX, when --info option is passed. It is usefull for debugging.
REVERT: 05b71a0fbd Support for 15/16/24/32 bpps of icon.bmp has been added, in case if not an original icon.bmp (8bpp with palette) is used for tests.
REVERT: 66dca33f37 Support for 24 bpp pixel formats has been added.
REVERT: 5424dfae24 OK, had to add some casts to get SDL_atomic.h to compile with C++. testatomic still compiles and runs.
REVERT: d813a7eac5 First commit for SDL atomic operations. On my linux box it compiles and installs correctly and testatomic runs without errors.
REVERT: d083f30b19 zeroing out the rest of the unititialize fields in mouse motion events.
REVERT: d499c5f023 1. SDL_CreateTextureFromSurface() now tries to find surface's pixel format. 2. SDL_CreateTextureFromSurface() now has best texture format search for non-alpha pixel formats. 3. Added comparision for pixels packed order to the video mode sorting callback to avoid mixing 1555/565/4444 pixel formats. 4. Added sorting call for current video mode list after each new video mode addition, because SDL_GetClosestDisplayMode() requires video modes to be sorted, and this is one place only where we can detect video modes addition.
REVERT: b280ab9e6c Fixed 4 bit-per-pixel definition.  Thanks Mike!
REVERT: 1148da112d make sure that mouse.z == 0 until it is used.
REVERT: 591381aed6 Fixed support for 4bpp video modes enumeration, otherwise mode with zero bpp appears in the list.
REVERT: 372f9b063f Fixed some typos and added a couple of includes. All were need to get SDL_power to compile on Linux.
REVERT: 2af9ddbafd BeOS support for power subsystem.
REVERT: 1099f4e405 Reverted bogus change to SDLTest xcode project.
REVERT: 127f4698a7 Added power subsystem to Xcode project.
REVERT: a5b5f691d9 Initial work on power subsystem for SDL 1.3.
REVERT: b3556c8f0d indent
REVERT: f64089822e Hi,
REVERT: 2011e3d29b Added a #ifndef SDL_NO_COMPAT around SDL_ActiveEvent and SDL_ResizeEvent so that code that has a #defien SDL_NO_COMPAT before the #include SDL.h with not be able to use these obsolete events.
REVERT: 3795d42a61 Best pixel formats with alpha search code has been added to function which converts surface to texture with enabled color keys. Now "testsprite2 --renderer opengl_es" works fine with all pixel formats with alpha. This affects other renderers too.
REVERT: 2ff2eb39e2 QNX quirk has been added, QNX OpenGL ES implementation is broken regarding support of textures with packed pixel formats.
REVERT: de866fcecb Added an ifdef so that if you
REVERT: f2f1af2732 Support for BGR565 pixel format has been added, mainly for OpenGL ES renderer. OpenGL ES renderer now have new texture formats.
REVERT: e526b61873 Von: Thomas Zimmermann Betreff: [SDL] [PATCH] Make static variables const Datum: Tue, 19 May 2009 19:45:37 +0200
REVERT: 3ef9fa9931 OpenPandora support added by David Carré
REVERT: 1decfd1ab0 error message typo fix
REVERT: 483f2ba3fb indent
REVERT: 3071101f22 Few new video modes have been added.
REVERT: ad8b9f8805 More checks for current GF state were added.
REVERT: 9c65a7a51c Set audio device handle to NULL in case of open was not successful.
REVERT: 3fa79ac60b OpenGL ES renderer state fixes. Now GL_TEXTURE_2D is not enabled by default.
REVERT: c03b673e2e Reminder to implement landscape mode for iPhone
REVERT: 5bae799b91 Temporary workaround for building on 64-bit Mac OS X
REVERT: 6c26794172 Fixed dynamic loading on Windows CE
REVERT: fed9a98f21 Added few OpenGL ES 1.0 defines, which are not present in OpenGL ES 1.1 and 2.0.
REVERT: 30a86a694d Added _OES suffix for GL_OES_vertex_buffer_object extension for OpenGL ES.
REVERT: 8c10b07962 Added support for single buffering, if double buffering is not available.
REVERT: c2566086e3 Added handler for all window events.
REVERT: 59e09f9044 GF header must be included before Photon header for QNX.
REVERT: 260b9a9f92 Added hiddi library linkage when GF target is available for QNX
REVERT: 820895189c New last cursor position must rely on the clamped coordinates.
REVERT: d01b767241 Default video mode has been changed from 320x200 to 640x480, since fullscreen 320x200 is often unavailable.
REVERT: cd61a12a39 Added OpenGL ES context creation for the each window which has been created (for --windows=N option).
REVERT: cf3c16b210 Support for HID devices (mice and keyboards only for now) has been added
REVERT: 79abe77b26 Continue working on QNX Photon with OpenGL ES support
REVERT: 173f682e1e Update README for QNX 6.x
REVERT: 24a17de88c Added a reminder for the jobs mailing list
REVERT: d7b72e290b Fixed bug #721
REVERT: ce21b3731c Fixed undefined references to joystick code
REVERT: 107632a278 Added SDL_GetColorKey()
REVERT: e62d2f485e Oops
REVERT: 29be1b210a Added credits for OpenGL 3.0 support
REVERT: ba096ad053 Date: Sun, 22 Mar 2009 12:52:29 +0000 From: Luke Benstead Subject: OpenGL 3.0 Context Creation
REVERT: fd618abec1 Date: Mon, 23 Mar 2009 09:17:24 +0200 From: "Mike Gorchak" Subject: New QNX patches
REVERT: 0543b444ac Date: Thu, 05 Feb 2009 17:27:54 +0100 From: Stefan Klug Subject: [SDL] SDL_SetVideoMode compatibility fix
REVERT: d2d2e1c376 Date: Thu, 05 Feb 2009 18:07:35 +0100 From: Stefan Klug Subject: [SDL] SDL 1.3 WinCE backend
REVERT: e403bb296f Date: Tue, 17 Feb 2009 14:00:25 +0100 From: Stefan Klug Subject: [SDL] Possible bug, paused audio playing garbage
REVERT: 2bacdee082 Date: Sat, 21 Mar 2009 19:41:52 -0700 (PDT) From: Mason Wheeler Subject: [SDL] Critical SDL 1.3 patch
REVERT: a01cdb4253 Fixed potential crash in testbitmap
REVERT: 7a8aae678e Fixed iPhone demos
REVERT: 4d78fdcef7 Date: Thu, 12 Mar 2009 15:14:38 +0200 From: "Mike Gorchak" Subject: New QNX patches
REVERT: 65fa34140f Fixed return value for SDL_CreateRenderer()
REVERT: 98c33d2db1 Fixed OpenGL library linking issue
REVERT: 17406a3e50 Fixed potential double-free crash
REVERT: 2bed25d87c Reverted dangerous change that could remove /bin/sh :)
REVERT: ba4c542eeb Date: Wed, 4 Mar 2009 15:38:22 +0200 From: "Mike Gorchak" Subject: Re: About QNX support in SDL 1.3
REVERT: 7c0777a910 Updated config.guess and config.sub
REVERT: dc650bdd28 Updated libtool from version 1.5.22 to 2.2.6a, so it works on current QNX
REVERT: 160fe5bc11 Mac OS X and iPhoneOS have the full math library
REVERT: e87963bb44 Date: Mon, 2 Mar 2009 16:27:42 +0200 From: "Mike Gorchak" Subject: About QNX support in SDL 1.3
REVERT: 89b23cc7ea Removed unicows dependency, at least for now...
REVERT: 9e37ac40e6 Missing API function
REVERT: 5f6b802b96 More verbosity and error checking.
REVERT: dd682a6489 Fixed haptic subsystem on linux 2.6.28 by lowering the EV_IsJoystick check (seems like some stuff was changed).  Shouldn't break anything with earlier versions.  Might need to be more robust if false positives show up.
REVERT: 755e92afcb indent
REVERT: fbfd97d958 Implemented X11 maximized state control
REVERT: 68e2c17401 Use the default arrow cursor until we implement the cursor API
REVERT: db32da3f78 Fixed bug using SDL_WINDOWPOS_CENTERED with SDL_SetWindowPosition()
REVERT: 609e3b3c91 Added missing files
REVERT: c50bab2ba9 NDS compiles again, but may not yet work.  Sprite support has been removed for the time being while it is re-worked.
REVERT: aad9f51bdf Fixed bug #684
REVERT: a0978cdf4d indent
REVERT: 90b4c6937f Fixed bug #681
REVERT: 605f1db186 Date: Thu, 27 Dec 2007 07:38:25 +0000 From: John Bartholomew Subject: [SDL] SDL Semaphore implementation broken on Windows? Hi,
REVERT: d9d69026ef Fixed bug #633
REVERT: d2e9f851e1 Fixed bug #537
REVERT: b9924167f7 Fixed destination of XCopyArea()
REVERT: 77c730b744 Added reminder for shaped windows
REVERT: 8f29eb8e3f Suggestion from the mailing list
REVERT: 31ee34541c Fixed off by one error in line drawing code
REVERT: 377464c39e We need to figure out whether we should handle events on foreign windows
REVERT: 0462c601c9 More of the same
REVERT: 1e44bc512b Implemented Win32 version of the native window test
REVERT: 408d9f3ed8 Whoops, missed a file
REVERT: be79fbf0ec Throw a FIXME in there, we'll need to take care of this later.
REVERT: 2aab251e38 Added test program for SDL_CreateWindowFrom() Make sure OpenGL library is loaded before working with OpenGL windows, even those created with SDL_CreateWindowFrom()
REVERT: 0f598a332f Oh, Polyline() uses a pen, not a brush.  Doh! :)
REVERT: a9ca68d613 indent
REVERT: 62dd3e61df Fixed alpha blending textures with the GDI renderer
REVERT: d67835c3de When creating a software texture, synchronize the surface with the texture. When creating a texture from a surface, synchronize the texture with the surface.
REVERT: d0b1ee8e2f indent
REVERT: 9bb60da027 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403514
REVERT: feb6aa80f8 Fixed Altivec blitters for PPC
REVERT: 9e7160c456 More Mac OS X 10.3.9 fixes
REVERT: 182eefe860 Fixed compilation on Mac OS X 10.3.9
REVERT: 897fcf93b0 Updated for older versions of subversion
REVERT: 62ab848372 Fix recommended by Eddy L O Jansson
REVERT: cf3db86918 Some more safety around the SDL_HelperWindow stuff to avoid double creations.
REVERT: ffe056fff1 Changes to hopefully handle the creation of a colormap for 8 bit PseudoColor visuals in X11
REVERT: 19e137cf11 Unfortunately, adding the file means that every commit marks this file as modified, even with the svn:ignore property set.  *sigh*
REVERT: 0d1b4261b2 Added a dummy revision to fix IDE builds
REVERT: a2c7f4e1b4 Fixed OpenGL state issue reported by Dmytro Bogovych
REVERT: 628262d3af indent
REVERT: 072760ebb7 Fix fullscreen crash with DirectFB <= 1.2.0
REVERT: c11962b08c Fixed MakeSubSurface compiling issue for DirectFB <= 1.2.0
REVERT: eeeee88591 Added DFB_VERSION_ATLEAST macro First attempt at replacing MakeSubSurface for pre 1.2.0 ==> Scaling not yet working
REVERT: 4907b7e608 Added
REVERT: bb8513855f Removed Rafal Bursig's MMX RLE code, at his request.
REVERT: 97baa9c439 Fixed NULL pointer dereference
REVERT: aa47998f53 Fix third party "-Wall -Werror" builds
REVERT: e43f6d619e Fixed Visual C++ build
REVERT: 9116448bf3 Don't complain when the GNOME screensaver isn't running (or available)
REVERT: 538276cc18 This is so wrong, it hurts. Instead of the GNOME screensaver respecting the MIT-SCREEN-SAVER extension and registering for the screensaver idle event, it uses a completely different control mechanism.  Our alternatives are to use dbus (very complicated) or this really painful hack.
REVERT: a097a4105f Re-enable the screensaver at exit, just in case it's needed...
REVERT: 92091bf9b8 Don't disable the screen saver by default for windows applications
REVERT: 3c5fca041a Fixed snapshot target
REVERT: 439443508b Reverted SDL_LoadICO_RW() addition, this should go in SDL_image
REVERT: 4ca3bd3da1 Added an API to enable/disable the screen saver. The screensaver is disabled by default when using SDL 1.2 compatibility. Use the new XScreenSaver extension, removed unused DPMS extension.
REVERT: 4bb83c1f39 Add SDL_LoadICO_RW to SDL. Loads best quality icon from *.ico file.
REVERT: 2cd9219893 DirectFB cleanups & simple window manager
REVERT: 3e968cec07 Fix a 64bit issue in linux/SDL_sysjoystick (int != long on 64bit)
REVERT: fea75bcab7 First shot at new audio resampling code.
REVERT: 8ca737d47a NULL-terminate the lists of autogenerated converters.
REVERT: ed652245d1 Allow builds that reduce or eliminate the converters/resamplers.
REVERT: 0e098f09da testresample.c: Write out correct size for resampled buffer.
REVERT: b2df168af0 Added testresample.c
REVERT: fefd30f7bf Added svn ignore property for SDL_revision.h
REVERT: 6350aaf230 Removed extra debug output
REVERT: 15c5312d9d Check for functions after including the libraries that they might be in.
REVERT: d123950aa3 Reverted Bob's indent checkin
REVERT: e32916c7f0 Fixed Visual C++ release build for Visual C++ 2005 * Some math functions become intrinsic in release mode, so we need to   convert all the math functions into SDL math functions, like we did   with the stdlib functions. * Constant initializers of 8-bit values become calls to memset() in   release mode, but memset() itself is an intrinsic when explicitly   called.  So we'll just explicitly call memset() in those cases.
REVERT: 44fa7675c8 I ran a global "make indent" it modified the following files.
REVERT: d088f9a9ca Modified and totally untested code to load the color tables for DirectColor and PseudoColor windows.
REVERT: 3f633e7313 Changed and hopefully fixed support for DirectColor with support for gammaramps.
REVERT: 742f9c70bf First shot at autogenerated audio resamplers.
REVERT: 867fb59f7c Date: Fri, 9 Jan 2009 19:18:23 +0600 Subject: SDL. macos build problem
REVERT: c08c1cf308 Implemented by Donny Viszneki
REVERT: 687b3cce98 Added Donny Viszneki to the credits for finding and fixing SDL 1.3 bugs
REVERT: 3171d3d0a7 Fixed lines intersecting the top corners of a rectangle
REVERT: d1033aea54 Fixed mouse events with --disable-video-x11-xinput
REVERT: b1aa228b9c define this value if it's not in the system headers
REVERT: 3209bc5b6d Fixed bug #669 Generate a full set of SDLKey mappings when setting up the keyboard layout
REVERT: fe0aae4a6f Whoops, missing files from Couriersud's update
REVERT: ed954cec36 Fixed missing include for SDL_INIT_EVENTTHREAD
REVERT: 7c0f19e5aa Date: Sun, 04 Jan 2009 20:53:30 +0100 From: Couriersud Subject: SDL1.3 DirectFB patches
REVERT: ba8f64f259 indent
REVERT: dade1f12e6 Added missing void
REVERT: 33fcc9cdfe Added more info for precise waiting in SDL_WaitEvent()
REVERT: 522eb2b9e1 Date: Sat, 3 Jan 2009 22:11:18 -0500 From: "Donny Viszneki" Subject: Re: [SDL] Want to help with SDL 1.3?
REVERT: 3ca7408da3 Technically more correct
REVERT: 1627124ff0 The core pointer is comprised of merging the inputs of all mice. If there are other mice, they should show up in the device list, and we want to report events from those devices instead of the core events. However, if XInput isn't supported or we can't find other mice in the device list, we'll add the core pointer and interpret normal mouse events.
REVERT: 4307faf9d4 Implemented svn revision support Added reminder about name -> scancode/keysym mapping
REVERT: 1b9b40835c indent
REVERT: ff8b5276a7 Make the SDL keysyms that represent unprintable ASCII values actually have those values, for more intuitive use and better compatibility with SDL 1.2.
REVERT: 17068c0bf6 Added keyrepeat to the TODO list
REVERT: c5cf02e99d Added the Google Summer of Code folks to the credits.
REVERT: 09a715e769 Updated the snapshot script for use on the website
REVERT: 6e89ce1c4a Fixed some dependency issues with SDL_revision.h
REVERT: dc7d3c42a8 Fixed some dependency issues with SDL_revision.h
REVERT: 9e30d8021b Fine tuned revision code, updated testver
REVERT: 0fde9f06da Make the current revision number available
REVERT: 1a8812eeb6 Good ideas, added to the TODO list
REVERT: cf5bc083ee Bug 653 bugfix
REVERT: 7ed73609cf Fixed crash on Windows
REVERT: f47511d4fb Added a few things to the TODO list. Unit testing is becoming more and more important the more features are added and the more combinations of factors there are to test.
REVERT: 0699da07a7 Icons with translucency are implemented Reminder to finish off multi-display support
REVERT: 7e2eb71ed7 Added bug reports to the credits
REVERT: e5796d2a53 Fixed bug #663 Fixed mouse wheel direction
REVERT: dd23674bb7 The mouse position is relative to the client window. Fixed setting the mouse focus when the mouse enters/leaves the window.
REVERT: 4a241fd21e Improved Direct3D YUV texture support
REVERT: b4dd1e1c1a Query available formats before advertising them.
REVERT: 01419057d7 Should we also set the icon in the task manager?
REVERT: 8e66442a4f Added support for translucent icons on Windows
REVERT: 1ba6e5602c Added support for saving 32-bit BMP with alpha channel (disabled by default)
REVERT: cd6f7dd74f Date: Fri, 02 Jan 2009 23:22:39 +0100 From: Couriersud Subject: SDL1.3 Win32 Resize bug
REVERT: fea6781d86 Implemented SDL_SetWindowIcon(), with translucent icon support under X11.
REVERT: 3c555c8843 There are still 8-bit applications that can take advantage of these (like Diablo 2)
REVERT: 0d7345eadb Maybe add a timeout for SDL_WaitEvent()
REVERT: 00a0a23f4a indent
REVERT: b84ae14eeb Don't use DirectColor visuals until we implement DirectColor colormap support
REVERT: 959558fe22 Hopefully fixed crash when there are no input devices
REVERT: 382a1fe6c7 The _NET_WM_ICON protocol doesn't require the icon to be set before the window is shown.
REVERT: 0fc4da0d04 It's probably not worth pushing palettized textures.  The memory optimization isn't worth the effort on modern hardware with the sorts of games that would be using the SDL 1.3 texture API.
REVERT: 5a4880543e Now that we don't have to worry about 8-bit displays, maybe we can add alpha to the palette entries?
REVERT: ce0bbf9237 Bye bye PseudoColor! :)
REVERT: 74d652da9a Ryan doesn't like hung programs to lock up his system.  Silly, huh?
REVERT: f62d6c171b Fixed off-by-one in audio converters, when growing a data type's size.
REVERT: b96a3090e0 Avoid unnecessary assignment in generated audio type converters.
REVERT: c16d0bb0ee Whoops, we need to actually fill the colormap on DirectColor visuals. Temporarily disable them for now.
REVERT: e7cc8150fd Added Couriersud to credits for finding bugs
REVERT: f2fc43acdc Date: Fri, 02 Jan 2009 00:54:48 +0100 From: Couriersud Subject: SDL1.3 Two small bugs ...
REVERT: 846fd2c0b9 Don't check in personal files
REVERT: 222a45cb45 Added target testdraw2 for running the test/testdraw2.c test.
REVERT: 6b02e2aeb6 Modified OpenGL ES render driver to support new SDL_RenderFill, SDL_RenderLine, and SDL_RenderPoint.
REVERT: bfa8620949 Re-enabled joystick support during compilation.
REVERT: 9e2744e7fa Date: Thu, 01 Jan 2009 21:32:12 +0100 From: Couriersud Subject: Fusionsound audio driver
REVERT: 9e1365dbe8 Kicking off the great SDL Bug Hunt for January 2009
REVERT: 2184f43b1c Fixed DirectColor visual window creation problem
REVERT: 1b7ca906c0 Windows line drawing support is implemented
REVERT: 6891f04606 Oh yeah, it's an XInput symbol
REVERT: 2191586507 indent
REVERT: 4bc10ea08f Added missing symbol
REVERT: 57fa80fc86 Fixed X11 mouse motion/button events - it's not actually safe to cast mouse events to device events. Fixed building SDL without XInput support Simplified the process of registering a mouse device
REVERT: 30768ab2aa Audio driver priority: favor PulseAudio and ALSA over OSS.
REVERT: 0e24b20c3b Adjusted default choice of audio driver.
REVERT: 6611747b8f Removed unused variable
REVERT: 599fb25b17 iPhone build compiles again (drawing routines need to be implemented)
REVERT: 42a2b85bc5 Added testdraw2 to Visual C++ tests
REVERT: 61268c787d Fixed logic problem with SDL_RestoreWindow()
REVERT: 32abe02338 indent
REVERT: 1b875a5a28 Implemented Direct3D line and point drawing
REVERT: bfbe8d8488 Date: Mon, 29 Dec 2008 23:29:52 +0100 From: Couriersud Subject: SDL1.3: Some X11 diffs
REVERT: 14ddac6468 Date: Mon, 29 Dec 2008 23:29:52 +0100 From: Couriersud
REVERT: f49c8bb557 indent
REVERT: a6a8062f6c Fixed missing return value
REVERT: 3fc02a176b SetDrawColor() and SetDrawBlendMode() are optional
REVERT: b876226c2f In theory this implements GDI rendering, but it doesn't work for some reason. Also removed blending support from the advertised interface, since it's not actually supported.
REVERT: 2b206b6e63 Swapped functions to match the other renderer files
REVERT: a3c4791761 Added project for testdraw2
REVERT: 8312eae257 Visual C++ 5 and 6 are no longer supported.  You can use Visual C++ Express Edition to build SDL.
REVERT: 63191e7a8b Significant performance boost with blend mode none
REVERT: 5ab1d77623 Don't forget OpenGL 3.0 support
REVERT: 08e0277512 indent
REVERT: c553683086 Fixed compiling Windows renderers.  Lines and points will be implemented later.
REVERT: c53a7c6ca2 Updated to build on Windows
REVERT: 30af8c9442 Updated project with new source files
REVERT: 6a3665cb25 Fixed pitch alignment problem causing MITSHM error on 16-bit displays
REVERT: 92f0abc075 Fixed CPU feature detection on x86_64 platform (registers were being corrupted, causing crashes)
REVERT: 4f65eb9602 Correct the test program
REVERT: f17910095b Don't unlock a surface we didn't lock
REVERT: 03955f8e47 Fixed clipping source rect to match destination rect clipping
REVERT: 2090241432 Need diagonal line clipping
REVERT: 8efff3ff96 Fixed argument order to the line clipping routine
REVERT: eb9f3bc6eb Added line clipping
REVERT: c2755172c2 Added clipping for render copy
REVERT: 01a9edc33a typo fix
REVERT: d62956121f /* FIXME FIXME FIXME  * Window creation fails in the colormap code on DirectColor visuals:  *      XA_RGB_BEST_MAP not found and could not be created  * I'm disabling this for now until Bob can look at it.  We don't need  * it until we implement the gamma fading using DirectColor RGB ramps  */
REVERT: 1ebf771a53 Fixed crash when resizing the window with the software renderer. This is similar to the crash fix in the OpenGL renderer in revision 4187
REVERT: 03f292e261 Fixed clip_rect when drawing points and lines with software renderer. Lock the minimal rect to minimize texture uploads
REVERT: 18b9f5b296 Working Bresenham line drawing algorithm. We can optimize later, if needed.
REVERT: 5a7c477ecc Fixed crash in testdraw2, added more points
REVERT: f055f6a189 Added RenderPiont() API Merged the drawing tests into a single test program
REVERT: 4f84ec9b5e Make it possible to switch algorithms in the future
REVERT: c37ad66b0a Added ARGB optimized case for Mac OS X
REVERT: d95e51d2ea Share code between fill and line drawing Added general RGB surface format fallbacks to drawing code Fixed issues with destination surface alpha channel
REVERT: 7b2e58c8c5 Added test program to verify fill functionality
REVERT: 7714f3b084 Date: Sat, 20 Dec 2008 23:25:19 +0100 From: Couriersud Subject: 32 & 16 bit versions of blendrect and blendline
REVERT: 8bf6fb5f47 indent
REVERT: 4058b718a5 Added missing return
REVERT: bb191f10ff Turn on line antialiasing (requires blending to be enabled)
REVERT: c24222cb7a Add a few test pattern lines
REVERT: 67946ae5db indent
REVERT: bab3f5e8a3 Placeholder for line drawing algorithm (current code doesn't work)
REVERT: 6efea2c6d6 Fixed crash in software line drawing
REVERT: af67559465 Added stubs for software implementations of blending fills and line drawing
REVERT: 34bffd20f5 Added a test program for line drawing
REVERT: d29d0c965f Minor corrections
REVERT: 2092365e5a indent
REVERT: 9ba7210778 Date: Fri, 19 Dec 2008 20:17:35 +0100 From: Couriersud Subject: Re: Aw: Experience using SDL1.3 in sdlmame/Proposal for api additions
REVERT: 60c39418a7 indent
REVERT: 03fa156604 Fixed crash when resizing YUV textures
REVERT: b18cb0012e More resampling fixes.
REVERT: 83de18855b Allocate SDL_AudioCVT::coeff before using it.
REVERT: 45ed26c3c2 Use SDL_zerop instead of SDL_memset.
REVERT: d7d4dc4b7e Zero out SDL_AudioCVT struct before using it, to ensure it's all initialized.
REVERT: 61fbcbc956 Reminder to implement icon support
REVERT: 67861b2241 indent
REVERT: c0775dd47f * Implemented X11 fullscreen input grab * Progress towards being able to toggle in and out of fullscreen mode
REVERT: 67426e7b9f indent
REVERT: a01b1f5aec Progress on fullscreen mode switching on X11
REVERT: 3bb3945daa Use the desktop format instead of an arbitrary one.
REVERT: 57ccddd982 Corrected case for TargetConditionals.h
REVERT: 8f9aba9215 The X11 window and all pixmaps and images share the same visual and depth.
REVERT: 9e64157aee Whoops, the X11 driver doesn't support fullscreen modes (yet)
REVERT: b2aebcc980 Fixed BadMatch error in X11 renderer
REVERT: 8e523bb721 Updated test for API changes
REVERT: 170521f21e Fixed SDL 1.2 compatibility problem.
REVERT: 0e5cb512e3 indent
REVERT: 8437f9f8d2 Updated TODO list
REVERT: f6dfd2babf Some error checking when destroying the HelperWindow.
REVERT: 1d49195b8c Added current_w and current_h to SDL_VideoInfo for SDL 1.2 compatibility
REVERT: 9719f4078b Updated TODO list
REVERT: 61a7bca88f Date: Sun, 07 Dec 2008 13:35:23 +0100 From: Couriersud Subject: SDL: Mouse last_x, last_y into SDL_Mouse
REVERT: 0c30a927ed Updated copyright date
REVERT: 6e7ef5d5b1 A little cleanup for SDL snapshot release
REVERT: 46a9b85814 Don't need multi-threaded X11 for SDL 1.3 Plus, this fixes lots of duplicate define warnings on Mac OS X
REVERT: d60660c1de Default SSE2 off on iX86, since gcc will use it for floating point operations even if -mfpmath=387 is set.  Grr...
REVERT: f9312a8957 Fixed palette sharing
REVERT: 6096d0f8e1 Fixed updating the video surface when the palette changes
REVERT: cc01f2a867 Fixed picking blit function when RLE fails
REVERT: b47ba57912 Better default format for Mac OS X
REVERT: 45899bac10 Fixed crash in testpalette and potential crash in SDL_LoadBMP_RW()
REVERT: a1b17450ce Whoops, fixed pitch bug after resizing a surface
REVERT: 3eec2c4dd4 There's no reason to add extra code to notify the mice of window size changes. Just query the window size when we care about it. :)
REVERT: 546fea4e11 Comment cleanup.
REVERT: 0096fd0e8d Don't hardcode RECT for fragment program texture targets.
REVERT: 8b4a508fb4 Slight optimization of the shader, no need to scale into 0..255
REVERT: 5908561ee3 Added official support for GL_APPLE_ycbcr_422 and GL_MESA_ycbcr_texture
REVERT: 0fa8c80ca0 The YCbCr texture extension works now that bytes_per_pixel() returns the correct value for YUV textures.  Yay!
REVERT: f03cab2b46 Fixed the shader fragment problems using 2 byte YUV data in a 4 byte RGB texture.  This is a total hack though.  Maybe we should be using a different texture format?
REVERT: 21f724582c Date: Sat, 06 Dec 2008 15:27:00 +0100 From: Couriersud Subject: SDL: Relative mouse movements
REVERT: d8d1c9d630 Date: Sat, 06 Dec 2008 14:54:10 +0100 From: Couriersud Subject: SDL: DirectFB mouse patch
REVERT: 700f822150 The previous checkin fixes the crash, so at least we're not overrunning the texture pixel data anymore...
REVERT: 2eb5631950 Progress, maybe. :)
REVERT: 535f3bf809 Fixed SDL_SetAlpha compatibility function to match the documentation
REVERT: ffbae1776d Fixed bug picking blitters
REVERT: d929dca890 Rebind the context to the window area and update matrices when the window size changes
REVERT: b59986d747 Initial pixel shader support for YUV textures in the GL renderer.
REVERT: d9bd99d552 minor bug
REVERT: b19daa445d Whoops, can't call glOrtho() repeatedly
REVERT: b1b8c20318 The matrices have already been set, so you don't have to re-set them. You always need to reset the viewport when activating the renderer in case the context had been set to a different window previously.
REVERT: c0257e7bea Fixed crashes when resizing video modes
REVERT: 49119e31d8 fixed formatting
REVERT: b8cbb6cd69 Allow resizing of SDL 1.2 compatibility video mode
REVERT: 4a86bb6ebf Added very slow software scaling to the X11 renderer
REVERT: a403d94807 If scaling isn't supported, do an unscaled copy instead of not showing anything.
REVERT: a547129012 Fixed crash on 64-bit systems
REVERT: a9f8def25b Date: Tue, 02 Dec 2008 23:38:26 +0100 From: Couriersud Subject: Re: SDL: Keyboard layout unknown
REVERT: 4a696cc335 Added slow but complete blit fallback Don't try to RLE encode surfaces that have alpha channel and alpha modulation Don't turn on blending when converting an RGB surface to RGBA format Do turn on blending when converting colorkey to alpha channel
REVERT: 7e7747ebec Added missing header
REVERT: 9648484187 Removed unused function
REVERT: 49bf0c5792 You can't use memset() on screen formats with an alpha channel
REVERT: bb3dd43be0 Make sure that we don't generate floating point code that would cause illegal instruction exceptions on older processors, unless someone passes --enable-ssemath to configure.
REVERT: 8160ae0787 Removed newline, to make sure revision control post-commit hook is working.
REVERT: d6c4d17adf Added a newline, to verify that revision control is functioning.
REVERT: 76d2dbd21b Save opaque alpha in the destination, fixes white spotlight in testalpha on Mac OS X.
REVERT: 8820fed841 Added *.dSYM to the ignore properties.
REVERT: 1709286e00 Date: Mon, 01 Dec 2008 00:57:15 +0100 From: Couriersud Subject: SDL : Diff for directfb driver
REVERT: 7356f7336e indent
REVERT: be3717c64e Removed the hacky stuff for YUV OpenGL textures, since Ryan's pixel shader code will be far superior. :)
REVERT: 02f6a8797c Finally got the right mojo for Apple's YUV texture format.
REVERT: 0f0dfe230b Fixed the list of supported YUV formats
REVERT: ace68e0a7c Implemented the X11 (non-OpenGL) renderer, no alpha or scaling available.
REVERT: 5632821dd0 Temporary fix for Mac OS X crash in textoverlay
REVERT: 8e1f968f50 Whoops, we need this for subrect updates (testsprite)
REVERT: fb253660b5 The SDL_RLEACCEL flag is respected in SDL_ConvertSurface(), per the docs. Fixed saving BMP files of surfaces with an alpha channel.
REVERT: 7a4a712978 Fixed testalpha screen clear for screen formats with an alpha channel
REVERT: b64cf8229c Preserve the desire for RLE acceleration
REVERT: c81d1708ba Fixed crash in glTexSubImage2D() with testoverlay on Mac OS X.
REVERT: f6ac2f5c20 Fixed the texture format for the software fallback
REVERT: 4dd90ea023 Fixed SW_SetTextureScaleMode() Use RLE acceleration for static textures in the software renderer.
REVERT: 966af920a2 Fixed copy blit detection
REVERT: 9c7eee3fc0 Added ARGB8888 destination format (used on Mac OS X)
REVERT: 79a929ff00 Again, map the color with the alpha channel filled in.
REVERT: 3446f888c5 Fixed crash in testalpha.  I think this was supposed to clear those bits. :)
REVERT: 843bc58619 Map to black, not necessarily 0
REVERT: 30d4fc124c Clear the screen to actual black based on the format of the screen.
REVERT: 8ae88d7987 Set the alpha mask fixing software rendering in OpenGL
REVERT: ad090cd0f8 Fixed mouse coordinate range on Mac OS X
REVERT: be449ce8ef RemDisabled some video drivers which are not converted to 1.3 yet
REVERT: cba90d1ff7 Show the grey background first before starting to blit sprites
REVERT: 84ebed84ce Date: Wed, 26 Nov 2008 19:50:31 +0100 From: Couriersud Subject: LPGL and closed-source license / Re: [Bug 607] Texture palette not up
REVERT: 4757b1339c Both testsprite and testsprite2 use a grey background
REVERT: 39969245f8 Fixed bug #605, per Martin's suggestion
REVERT: 22598bbc06 Updated with latest glext.h
REVERT: 228035d0f3 It turns out both the software and the OpenGL renderer had the same problem. According to the spec, when SDL_SRCALPHA is set, the colorkey is ignored, so we just need to convert the colorkey into the alpha channel.
REVERT: a733eee1b8 indent
REVERT: de690ebe5d Fixed bug with converting colorkey surface to texture
REVERT: f341bd32dd --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403245
REVERT: 32593c2bac Fixed Direct3D rendering
REVERT: 4123b08dad Added testsprite test projects for Visual Studio
REVERT: 4bab1880be Added software fallback for YUV overlay code when YUV textures aren't available.
REVERT: de5363f399 Disable spurious warning
REVERT: ad347d4a12 Fixed Bugzilla bug #205
REVERT: 35c71403d7 Preliminary support for YUV textures
REVERT: 6968453f53 Adding SDL 1.3 release checklist, so we start getting a list of must-have features and bug fixes for a 1.3 release
REVERT: eb0b9dc85d Sort by HID usage, which makes more sense and is more cross-platform
REVERT: 2b777b84e2 We'd never port SDL to Minix... would we? :)
REVERT: d038317146 Added dummy shared object files, fixing linker errors
REVERT: 718be08c8d --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403231
REVERT: bee883691b Added the SDL_haptic files to the project
REVERT: fcad6b2cef Disabled the Haptic API on iPhone, changed the order of the header to match the other config headers.
REVERT: 3f60e7f826 Fixed compilation on mingw32.
REVERT: 105093d7b7 Added missing math.h functionality for SDL_audiocvt.c
REVERT: a3c6362a20 Don't include <math.h> when HAVE_MATH_H isn't defined
REVERT: 55650e4354 This can be static
REVERT: 6aff304ce5 Fixed memory leak in raw mouse input processing. Corrected the mouse button indices.
REVERT: c6ac35a2bb Final merge of Google Summer of Code 2008 work...
REVERT: 338ff54f1e Add XInput support to Xcode project (untested!).
REVERT: c0f52b1262 Some cleanups on the new XInput code.
REVERT: 0d38b678ae Removed zap_ptr hack from Bugzilla #602...it was incorrect.
REVERT: 7792866ddb Almost got this compiling on Cygwin32, just needs DirectInput 7
REVERT: 809f6ba3b4 Updated Visual C++ build
REVERT: 588cd82706 more more!
REVERT: 547cc38d9a Yet more math...
REVERT: 2188a0fac6 Whoops, missed a file...
REVERT: 9a334b7a8d Expanded the libm support and put it into a separate directory.
REVERT: 193af03fca --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403211
REVERT: f2d42b08a5 Merged r4087:4088 from branches/SDL-1.2: missing semicolon.
REVERT: a9ba7ee031 indent
REVERT: 5f94466c7b http://sources.redhat.com/ml/newlib/2002/msg00230.html
REVERT: ccdbc38442 Merged r4082:4083 from branches/SDL-1.2: sparc64 crash fix.
REVERT: e5621bf196 Fixes to the NDS sprite2 test.  Illustrates partially working texture-as-sprite functionality.
REVERT: a2947b8889 Initial work for NDS haptic support.
REVERT: 2266a03856 Allow testing haptic devices by index.
REVERT: 1051156e2b Added SDL_GL_RETAINED_BACKING attribute to SDL_GLattr
REVERT: 435f8a3a56 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
REVERT: 6367fbe6e0 Added support for OpenGL ES renderer
REVERT: a2abb3b66b Ran GNU indent on file
REVERT: fcc9f44538 Rolling back changes to revision 4071 ... made some mistakes, will try merging work again.
REVERT: ef7cdd91d3 Added retained backing attribute, reference to UIKit renderer
REVERT: a4d2b48922 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
REVERT: 0bbde65231 Added OpenGL ES support
REVERT: 048e3adb1a These files are similar in purpose and structure as SDL_renderer_gl.c and SDL_renderer_gl.h, except they use OpenGL ES 1.1 for rendering.
REVERT: cd839b4bd3 Fixed a bunch of compile warnings on Mac OS X
REVERT: 771abd3620 Date: Sun, 31 Aug 2008 17:53:59 +0200 From: Couriersud Subject: Re: Updated DirectFB driver for SDL1.3
REVERT: 9be698fbe6 indent
REVERT: ede44c4b85 Final merge of Google Summer of Code 2008 work...
REVERT: e6faee6b2a Many mouse and tablet linux test file added
REVERT: 9b7084ebd4 Fix for mingw compilation by Alam.
REVERT: 7c530667ee Changed spaces to tabs.
REVERT: bd6d9f3ba2 svn:ignore files generated by xcode.
REVERT: ff035aa8e4 Update to xcode to include haptic subsystem stuff by Alam.
REVERT: 5001b4e35a Missing an include.
REVERT: 5e73fc7c16 Fixed Visual Studio compilation problems
REVERT: a4af7a72fe Fixed crash when tablet isn't detected properly
REVERT: a13b4b8736 Dynamically load wintab32.dll
REVERT: d9f99f5203 indent
REVERT: 3c232989ce Added Wacom API headers. FIXME: Dynamically load the Wacom API functions from wintab32.dll
REVERT: 4dd047e9c7 Couriersud fixed bug #603
REVERT: 4dd96455cc indent.  *sigh*
REVERT: 1127f31992 Date: Sun, 20 Jul 2008 22:34:37 +0200 From: Couriersud Subject: Updated DirectFB driver for SDL1.3
REVERT: a1b6c39a96 Fixed compile errors for audio resampling.  I'm not sure how this got missed...
REVERT: 2d697eb0ad Merged force_feedback_branch r4042: unbuildability of dummy haptic driver with some configurations.
REVERT: 96e1657806 Removed unneccesary code lines. Fixed mousename bug. Added lacking code in mousebutton
REVERT: f3a0aca8ff Merge of force feedback branch r4039.
REVERT: 0eeb8c92b6 Final merge of Google Summer of Code 2008 work...
REVERT: 09f8ad29e2 Merging another last minute fix from force feedback branch (r4036)
REVERT: b77fa81aa1 Merged last minute fixes from force feedback branch (r4031, r4033, r4034)
REVERT: 4fd9c25fe6 Final merge of Google Summer of Code 2008 work...
REVERT: 0aca811202 Fixed compile errors introduced during the merge refactoring
REVERT: 6b4db38d91 Added missing X1/X2 button support
REVERT: e7d72614c3 Final merge of Google Summer of Code 2008 work...
REVERT: 95134b6d3c Missing keysym defines
REVERT: 82e07e817d Testing Subversion commit RSS feed.
REVERT: 28506dbf31 Reverted Holmes' changes, they should be on the iphone branch
REVERT: 2e2db9e30b disabled compile time assertion ... no 64 bit primitive types available on iPhone (it appears)
REVERT: 8a9bcd6686 Added iPhone OS (__IPHONEOS__) as a platform
REVERT: 5ef7f8e2ea iPhone OS uses a custom main
REVERT: 4409fa47e1 Fixed compiler warning
REVERT: 1725937a2c Reverted revision 3416, fixing bug #589 http://bugzilla.libsdl.org/show_bug.cgi?id=589
REVERT: e8f122166c Date: Wed, 7 May 2008 21:48:10 +0200 From: Christian Walther Subject: SDL 1.3 Xcode projects
REVERT: 8ba098b0e2 Updated Xcode project from Eric Wing
REVERT: c2bba66f46 So we don't forget to do this...
REVERT: e27a71b3a7 ran make indent
REVERT: 71656d10c7 re: bug#563. checking in some commented out trace code and a fix so that the in testalpha.c the background only flashes when alpha == 255. The problem that is being fixed is caused by clearing SDL_COPY_RLE_COLORKEY without setting SDL_COPY_RLE_DESIRED in SDL_UnRELSurface.
REVERT: d8da8f7c27 In testdyngl.c the event type was being anded (&) with SDL_KEYDOWN and if the result was none zero the program was quiting. This is very weird because it was working earlier this week.
REVERT: 196aaf9bc6 oops, need to comment out some debug code.
REVERT: b7ecabf860 Next version of internationalized input for X11. On my machine (famous last words :-) with a US English keyboard and locale I can compose ` and e and get a text input event with the character è. You still get the keypress keyrelease events for the individual keys that go into composing the character.
REVERT: c19af725fa more valgrind errors fixed. Plus I ran make indent which changed a few files.
REVERT: b315d5379d Fixed many valgrind errors. But, I broke testdyngl.
REVERT: 011c8c6dc3 Fixing valgrind errors.
REVERT: e6d4abc63e SetupWindowData in SDL_X11window.c was realloc()ing the display window list and incrementing numwindows even though those are being updated in functions that call this function. The result is that it is possible to get the same window added to the list twice.
REVERT: b8101a644e Deleted a call to X__PumpEvents at the end of X11_GL_InitExtensions(). This function is being called from SDL_RecreateWindow at a point when the numwindows value in is incorrect. The result is that an illegal access is being made in X_PumpEvents when it tries to look up the windows ID of the source of an event. Taking out that call does not seem to have any effect on the testgl. But, I would be happy if someone else took a look at this problem and found a fix higher up the stack.
REVERT: ff06a9b069 Now the program will process all events and then terminate. :)
REVERT: ba6d728feb HandleEvent() returns done each time it is called. If done was set to 0 the program should quit, but because done is not checked until *all* events are handled a following event can reset done to 1 and prevent the program from terminating when told to. I fixed the while loop that handles events to check for the state of done after handling each event. That could leave some events unhandled when the program exits, but it ensures that the program will exit.
REVERT: 1af0c41561 Windows also remaps the numeric keypad... grrr
REVERT: f520bc7066 Checkout directly to the SDL 1.3 folder
REVERT: c4302ca808 Show integer scancode, since that's how it's defined in the header.
REVERT: d32c0108c0 Disable DirectFB by default, since it hasn't been updated for the 1.3 API yet.
REVERT: c9d5848a25 Added support for keypad enter
REVERT: 1f3deaa8b5 Updated Visual C++ project
REVERT: 1a34de2773 Friggin' Windows remaps alphabetic keys based on keyboard layout. We try to figure out what the actual layout independent values are.
REVERT: 69b676ff9d Undo keyboard layout based alphabetic key mapping.  Grr.... HACK HACK HACK...
REVERT: 9533cd16c5 Implemented text input event for Win32
REVERT: 4447e6cfab Untested Win32 keyboard scancode code.
REVERT: 1623092784 Fixed array overrun
REVERT: 0f15089eef Fixed compile errors
REVERT: 49f4428692 First pass of new SDL scancode concept for X11.
REVERT: 671a7085d9 Christian's comment: /* Actually returns a UInt32 containing two character codes (and two 'reserved' bytes), but we're only interested in the second (or only) one */
REVERT: 02f2e328bd First pass implementation of new SDL scancode concept, as discussed with Christian Walther.  Currently only implemented on Mac OS X for sanity checking purposes.
REVERT: 844280a6a9 Merged r3534:3535 from branches/SDL-1.2: Reset direction flag in SDL_revcpy().
REVERT: 227be0923a Merged fix for bug #542 from SDL 1.2
REVERT: 79041b0a87 Minimal implementation of textinput events for x11. It only works for latin-1.
REVERT: 05ad8bbf51 Enabled key board auto repeat in X11_InitKeyboard.c. Had to add a couple of new Xlib symbols.
REVERT: 4cf4bef5c7 one more time... I must be brain dead...
REVERT: 4ae83d01f2 More typos
REVERT: 40dcc0abff Fixed some typos in SDL_x11keyboard.c
REVERT: e558eee568 Checking in Christian Walther's patch for x11 keyboard input. Minor code tweaks by Bob.
REVERT: 6f2082d584 Updated config scripts
REVERT: b366c70511 Merged fix for bug #531 from SDL 1.2 revision 3511
REVERT: 60e54e65d4 Merged -fvisibility detection fix from SDL 1.2 revision 3500
REVERT: 35b98313ed Christian Walther fixed bug #529
REVERT: c3d60df45d Christian Walther fixed bug #530
REVERT: 619b44ee7f Merged fix for bug #508 from SDL 1.2 revision 3495
REVERT: 14ad7b457d Merged fix for bug #482 from SDL 1.2 revision 3492.
REVERT: 7261caf15b Fixed bug #478
REVERT: feb78335ca Merged fix for bug #503 from SDL 1.2 revision 3487
REVERT: 42495af337 Fixed bug #497 Check all joysticks instead of stopping if one has been removed.
REVERT: 1a95219d9e Fixed bug #464 Added X1/X2 button constants
REVERT: 722780a3c1 Merged revision 3472 from SDL 1.2, fixing bug #493
REVERT: 19682ed1d3 Fixed fatbuild.sh script for building on Mac OS X 10.5
REVERT: 5678f51d85 Date: Wed, 14 Nov 2007 22:20:27 -0500 From: Calvin Vette Subject: Fix to compile SDL-1.2 SVN on OS X Leopard
REVERT: a3e06251f2 Merged changeset 3463 from SDL 1.2, fixed compile error with Intel compiler.
REVERT: 1cb50341fd Merged revision 3458 from SDL 1.2, fixed Borland C alloca() prototype
REVERT: 49492c3e4c Merged revision 3455 from SDL 1.2, fixing documentation typo.
REVERT: 8fd44712e9 Added SDL_rect.h and SDL_surface.h to the initialization of HDRS in Makefile.in. Because they were missing those header files were not being installed and ./configure in the test directory was erroring off.
REVERT: a29f17021d Merged r3449:3450 from branches/SDL-1.2: SDL_config.h.in Linux joystick fix.
REVERT: 68d2b55278 Split out the SDL_rect and SDL_surface functions into their own headers. Removed unused count from the dirty rect list.
REVERT: fa9233eaca indent
REVERT: e14963d9aa Fixed bug #471
REVERT: 8e5b2416a4 Minor PulseAudio fixes: corrected OpenDevice return code, human-readable  error messages if connction to daemon fails.
REVERT: c09d2e0f0d Ported PulseAudio target from 1.2 to 1.3 interfaces, and added it to the trunk.
REVERT: 4c88330ae8 Date: Sun, 19 Aug 2007 18:29:28 +0200 From: Christian Walther Subject: Re: SDL 1.3 keyboard plan
REVERT: 33438525ea Whoops, missing file...
REVERT: f0da180be1 Date: Thu, 05 Jul 2007 14:02:33 -0700 From: Sam Lantinga Subject: SDL 1.3 keyboard plan
REVERT: cf548d0a6b Okay, still some bugs, but everything builds again...
REVERT: 2e91636dda More work in progress integrating SDL_Surface and the new SDL_Texture API
REVERT: 8379dac1e0 More work in progress...
REVERT: 4e6d65504c Enabled SSE2 intrinsics
REVERT: 94de1268d8 More work in progress, still doesn't compile...
REVERT: 422ec364ff Work in progress: merging new texture features into SDL blit system
REVERT: 3f37bb5466 Enabled 3DNow! intrinsic support
REVERT: 4d9ae37508 indent
REVERT: 8f8c80446d Date: Fri, 17 Aug 2007 01:12:31 +0200 From: Couriersud Subject: fix for audio dsp exit crash / various dfb issues
REVERT: 8acf15bdaa Date: Fri, 17 Aug 2007 01:12:31 +0200 From: Couriersud Subject: fix for audio dsp exit crash / various dfb issues
REVERT: 79f25b0b9e Moved the colorkey and per-surface alpha into the blit info, in preparation for support for general color channel modulation.
REVERT: 2c7b38b09e Getting ready to add slow blitters.  Everyone will love me. :)
REVERT: ef3932cc1b Use MMX intrinsics over GCC inline assembly
REVERT: 884eddbaa6 Oops, didn't want to rename those files...
REVERT: 5ac6d00012 Added notes on the next steps for SDL 1.3 Moved fill and copy routines to their own files.
REVERT: beba16ed23 Removed unnecessary header (SDL_blit.h has SDL_cpuinfo.h)
REVERT: 743406caf2 SSE and MMX intrinsics work with Visual Studio now...
REVERT: ae461fc306 Fixed a few compiler warnings. Added SDL_blit_copy.c to the Visual C++ project
REVERT: 5d8720fd18 Added SSE and MMX optimization for SDL_FillRect()
REVERT: d7134d38fd Okay, I figured out the intrinsics for SIMD memcpy
REVERT: 37fe3a93e6 Removed hermes since it's LGPL and not compatible with a commercial license.
REVERT: 92c5ea48ab Added code to enable multi-threaded OpenGL on Mac OS X, pending Ryan's PBO/VBO changes.
REVERT: e8458df2b4 Optimization suggested by Ryan: Don't set the same OpenGL context multiple times
REVERT: b480be4c28 indent
REVERT: 6113055717 Date: Wed, 15 Aug 2007 01:08:38 +0200 From: Couriersud Subject: Some SDL1.3 patches
REVERT: bb3b316228 Date: Wed, 15 Aug 2007 01:08:38 +0200 From: Couriersud Subject: Some SDL1.3 patches
REVERT: 8dd6b2373b Date: Wed, 15 Aug 2007 01:08:38 +0200 From: Couriersud Subject: Some SDL1.3 patches
REVERT: e00aa0f597 Fixed crash setting 0 bpp video mode.
REVERT: dc8a201235 Added SSE version of SDL_FillRect() for 32-bit ARGB surfaces
REVERT: 6d80d8fe14 Shark rules!  * Loop optimization for Mac OS X - should this generally be applied?
REVERT: 5fca3f7890 Advertise the most efficient format for the screen.  Of course SDL code needs to be fixed to handle framebuffers with alpha...
REVERT: 438f7083d8 This is byte order dependent.
REVERT: e7a82e9f88 indent
REVERT: b88bb33e97 Gained 5 FPS in testsprite because Mac OS X memset is highly optimized
REVERT: cbc3f4b4c4 Test using glTextureRangeAPPLE This actually ends up being quite a bit slower on my MacBook, but I'm checking it in to test on a PPC iMac.
REVERT: 1d36dcc958 indent
REVERT: 83bd10d135 Fixed compiling the Altivec blit code
REVERT: a2f5eab988 Optimized OpenGL renderer for Mac OS X. The SDL 1.2 API version of testsprite went from 120 FPS to 320 FPS. :)
REVERT: 6ca6ba5a6b Fixed crash if conversion fails.  Use ISO name for Latin-1
REVERT: 4b1e7aae98 Fixed compile warnings with Visual C++
REVERT: 7d034dcfb1 Exported the software renderer texture functions to make easier to create a renderer based on a framebuffer.
REVERT: 2de3ba209d Date: Sat, 11 Aug 2007 02:03:16 +0200 (CEST) From: couriersud arcor.de To: slouken@libsdl.org Subject: Directfb driver for SDL1.3
REVERT: fa64b7b113 Updated the credits for SDL 1.3
REVERT: 60cc07ddbf Whoops, it's not quite that easy - fixed bug in SDL_ClearDirtyRects()
REVERT: 1c3727d1db Optimized dirty rect code
REVERT: 6b348f07c7 Emphasized the separation between SDL_Surface and SDL_Texture  - SDL_Surface is a system memory representation of pixel data  - SDL_Texture is a video memory representation of pixel data
REVERT: c1a200fa1d indent
REVERT: 838787d358 Don't run indent on the Xcode templates
REVERT: 22170d41cd Figured out how to optimize the SDL_compat path and simplify writing framebuffer drivers
REVERT: fee28b42b4 1.3 video API design chat
REVERT: 74f6381b6c Some thoughts on 1.3 video written down
REVERT: c113a55054 changed to use SDL_realloc()
REVERT: a2ae281558 make indent
REVERT: bec234395c Added gamma table support to X11. Also now supports DirectColor visuals.
REVERT: 7d8af0a113 make indent
REVERT: 3c6eee13ae Switched afxres.h to winresrc.h
REVERT: b6d3eab4b2 Oops, meant PsuedoColor not TrueColor
REVERT: 87f2e5ee92 indent
REVERT: 8b728544ee Added support for the --depth command line option
REVERT: 9524d51857 Fixed bug #467
REVERT: 316a61731f Unpacked project archives to get individual file history in subversion
REVERT: 98ce0f8871 Better windres detection
REVERT: eba7e38433 Fixed bug #460
REVERT: 2094bfe8bf Added support for building version.rc in Windows build.
REVERT: b22dc76535 Fixed bug #428
REVERT: 304c4a50b8 Merged fix for bug #457 from SDL 1.2
REVERT: e2898c73af indent
REVERT: b98b6308d1 Merged r3292:3293 from branches/SDL-1.2: testjoystick verbose info.
REVERT: 6793a28d06 indent
REVERT: cfcb0787d2 Split acinclude.m4 into its component parts for easy updating
REVERT: 01b58163f3 Merged r3261:3262 from branches/SDL-1.2: MMX/YUV with __OPTIMIZE__.
REVERT: 280618d6f5 Reverted r3255:3256. Don't actually need it unless the build is broken.  :)
REVERT: 3a31a8b822 Merged r3257:3258 from branches/SDL-1.2: unused MMX variables.
REVERT: 73619c3660 Merged r3255:3256 from branches/SDL-1.2: stdlib problem with SDL_memcpy macro.
REVERT: f792ff238f Use correct function
REVERT: 67cbe3bb0d Missing variable declarations
REVERT: 5eb122882e Rename LockAudio,UnlockAudio to LockDevice,UnlockDevice. Also some small fixes
REVERT: 39a207a501 Delete old files
REVERT: 8947676265 Update GEM driver to new API, will have to fill the void later :)
REVERT: ff41113968 Disable video extensions atm
REVERT: d53ee909be Missing include file
REVERT: 864ad7581d Simplify setting window title
REVERT: abcafc2125 This code adds support for DirectColor visuals to SDL 1.3. The support uses part of the Xmu library. To ensure that the library is available and to keep people form having to install yet another library I have added the essential parts of Xmu in src/video/extensions/XmuStdCmap and an include file in src/video/extensions. The support makes use of standard X11 mechanisms to create color maps and make sure that an application uses the same color map for each window/visual combination. This should make it possible for gamma support to be implemented based on a single color map per application.
REVERT: 942236ea2a Merged Ryan's patch from revision 3238 in SDL 1.2
REVERT: fc3b506099 Whoops, needed to remove the other version of getlocale()
REVERT: fc4cf4c9fc Fixed bug #455
REVERT: 4a00054e18 Updated version to 1.3, added testgl2 test program
REVERT: a5ba7573a3 Yes, you need to set the pixel format before creating a context.
REVERT: a154c5dad2 Visual C++ compiler warning fixes
REVERT: a3245a4e7c Creating a context makes it current, per the documentation. Applied a variant of the multi-card OpenGL fix from SDL 1.2
REVERT: 463ba0e0a6 Added note about SDL_config.h - merged from revision 3227 on SDL 1.2 branch
REVERT: 9868189326 Fixed joystick name detection - merged from revision 3226 on SDL 1.2 branch
REVERT: 53fac91c80 Warn Visual C++ users if they have a stale configure generated SDL_config.h
REVERT: bc4e3e95e3 indent
REVERT: a65843c05a indent
REVERT: e6e24a41f2 Fixed compiling YUV code
REVERT: 20ec54e649 Fixed compiling the x11 driver
REVERT: b9e09cec0b Needed an autorelease pool around the NSText allocation
REVERT: f7ff123cf8 Added key composition support, courtesy of Kuon
REVERT: ffec21f2e4 Merged r3211:3213 from branches/SDL-1.2: YUV MMX inline asm for GCC.
REVERT: 3a0afdca57 indent doesn't know how to handle inline asm
REVERT: dd7106f6a8 Updated SVN checkout instructions
REVERT: 8b6833c4e2 Merged r3201:3204 from branches/SDL-1.2: win32 rwops tweaks.
REVERT: ff88381b73 Merged memory leak fix from SDL 1.2
REVERT: 7347a1dbeb NAS dynamic loading is going to be have to looked at... *sigh*
REVERT: 7d395c042a Added stubs for x11 gamma functions and enabled them in SDL_x11video.c
REVERT: e7c690e52e Oh yeah, they're boolean values...
REVERT: 1330dc92d3 Updated to use size_t instead of int for amounts of data.
REVERT: 8daaa10d40 Merged read-ahead support for Win32 file I/O from SDL 1.2 revision 3183
REVERT: f7d87960f4 Merged part of NetBSD pkgsrc patch-aj:
REVERT: 203416ced2 Fixed bug #451
REVERT: 71c8b26130 Fixed configure warning about datarootdir
REVERT: 1d89fd5fc7 Merged r3165:3166 from branches/SDL-1.2: gcc -Wall fix in arts audio target.
REVERT: 04c05620db fixed code for printing mousewheel events to match the new format of mousewheel events.
REVERT: 82e02091bc Reverted mousewheel support in 1.2, since it breaks binary compatibility.
REVERT: 43e5d2b938 Fixed bug #382
REVERT: e33ee1a0e2 Fixed bug #436
REVERT: b3a581c625 Fixed bug #77
REVERT: 31871b763d Fixed mode code under VMware running Windows 98
REVERT: ebb5b5a02b I'm not sure this is a good idea yet, since it adds a unicows.dll redistribution requirement on windows, but adding unicows allows SDL 1.3 to run on Windows 98.
REVERT: 1be5906ea3 Removed campatibility behavior for 1.3
REVERT: 18d893d82a Replaced a few memset/memcpy calls with SDL_memset/SDL_memcpy.
REVERT: 8f06683bc6 Merged r3140:3141 from branches/SDL-1.2: loopwave fix.
REVERT: 409c8b5862 Merged r3138:3139 from branches/SDL-1.2: Don't init audio callback buffer.
REVERT: 1066adb528 Fix for bug #447 merged from SDL 1.2
REVERT: 5d2577791f Fixed bug #349
REVERT: 957d8bf377 stupid indent
REVERT: 0247379cf4 Merged r3125:3126 from branches/SDL-1.2: yasm/nasm warning fix.
REVERT: e46d127288 Fixed assembly relocation problems, so we can check for NASM on Mac OS X.
REVERT: 8fd6fa846a Merged change from 1.2 to add X11 path for OpenGL detection
REVERT: 0bc6c747b8 Patched to compile (missing #endif from a mismerge). Thanks to Peter Mackay  for pointing it out.
REVERT: b27739c6c6 iconv() doesn't write to the data, just make compilers happy
REVERT: d3a9b053cd Merge iconv const changes from 1.2 I'm not entirely happy with them.  Maybe the right way to go is to leave SDL_iconv() taking a non-const inbuf?  How often are we converting const strings anyway?
REVERT: 39b87e26d3 Merged r3106:3107 from branches/SDL-1.2: Hermes PIC fixes.
REVERT: 29fe04615f Fixed previous VC6 patch.
REVERT: 04255e0015 Merged r3094:3095 from branches/SDL-1.2: Visual C++ 6.0 fixes.
REVERT: 5bb1d2ceb7 Added a WindowID to the user event and cleaned up a little bit of formating
REVERT: ed60e3a7d4 Fixes for compiling with Visual C++ 8.0 Express Edition
REVERT: 80dcd123dc Key repeat is handled by the OS, since text input is now decoupled from physical key events.
REVERT: 278c83218c Merged r3088:3089 from branches/SDL-1.2: yasm/nasm command line fix.
REVERT: 7fd33f2b2c Merged r3087:3089 from branches/SDL-1.2: WM_XBUTTON support.
REVERT: cbe1b1f5e0 Removed EPOC port from the 1.3 branch.
REVERT: 78f4e16e9b Merge r3079:3080 from branches/SDL-1.2: disable glX if no glu.h header.
REVERT: c8f4ff3195 Subversion should ignore sdl.pc ...
REVERT: dd54d0a607 Merged r3075:3076 from branches/SDL-1.2: Careful with __inline__ #define.
REVERT: d8e14b0c13 Don't install the extra SDL config headers or SDL_copying.h
REVERT: d097a3fa1b Reworked r3067:3068 from branches/SDL-1.2: arts unavailable hardware bug fix.
REVERT: 554147b6c7 make indent
REVERT: 25541b2329 Fixed running on Windows under VMware
REVERT: 1a14aab745 Merged r3062:3063 from branches/SDL-1.2: clear inaccurate x11dyn error strings.
REVERT: aed3413eb1 Merged r3059:3060 from branches/SDL-1.2: output key event's keysym.
REVERT: b2fe3dd63c Avoid switch to supervisor mode in SDL_GetTicks, by updating system counter from vbl interrupt
REVERT: 2118a88175 Set supervisor as volatile as it is modified from an interrupt
REVERT: 3c55fdf88e Merged r3047:3048 from branches/SDL-1.2: SDL_revcpy() off-by-one fix.
REVERT: bbea62b8b9 Merged r3044:3045 from branches/SDL-1.2: directfb reported screen size fix.
REVERT: 3ed9f2bf42 Merged r3042:3043 from branches/SDL-1.2: legacy yasm fix.
REVERT: 152b74331d Merged r3037:3038 from branches/SDL-1.2: Mac OS X memcpy/memset selection.
REVERT: 19f18657f6 Fixed build issues on Mac OS X
REVERT: 68348a9ff7 Merged r3029:3030 from branches/SDL-1.2: Mac OS X joystick axis fix.
REVERT: b9b86fb09d Allow creation of window bigger than visible size
REVERT: 653e2b0def Simply resize existing window
REVERT: daab75fdf5 GEM has a window manager, of course
REVERT: 58207d9ed7 Date: Wed, 23 May 2007 00:39:47 +0300 From: "Eyal Lotem" To: "SDL Mailing List" <sdl@lists.libsdl.org> Subject: [SDL] Bug in GL_SWAP_CONTROL extension name.
REVERT: 80b5574384 Mac OS X port always links with IOKit framework in SDL 1.3.
REVERT: 8c1ec8081f Merged r3009:3011 from branches/SDL-1.2: Skip subsystem on --disable-joysticks.
REVERT: dfd9387039 Merged r3007:3008 from branches/SDL-1.2: MapRGB/MapRGBA const correctness.
REVERT: 1ee63d6997 Merge r3005:3006 from branches/SDL-1.2: Alpha blending MMX/3DNow register bug.
REVERT: 88bc3dc483 Merged r3002:3003 from branches/SDL-1.2: libdir fix in sdl-config and SDL.spec
REVERT: 8823661b1f Merged r2999:3000 from branches/SDL-1.2: Visual Studio compilation fix.
REVERT: a71b4bf05d Merge of r2554:2995 from branches/SDL-1.2: AvailabilityMacros.h for Mac OS X.
REVERT: 49b9e97e79 Merged r2992:2993 from branches/SDL-1.2: Mac OS X multi-axis joystick support.
REVERT: 5233584282 Merge r2990:2991 from branches/SDL-1.2: try to avoid asm/page.h in fbcon.
REVERT: dd603b02a7 Added id of another buggy Microsoft SideWinder to the Linux joystick driver.
REVERT: e9d5ea6122 Merged r2985:2986 from branches/SDL-1.2: directfb yuv coop level fix.
REVERT: aa48694b67 Merged r2981:2982 from branches/SDL-1.2: fbcon getpagesize() compile fix.
REVERT: f9ed7eaeb3 Merged r2979:2980 from branches/SDL-1.2: unsigned char in ctype funcs.
REVERT: 5b011c88f0 Merged r2977:2978 from branches/SDL-1.2: BUGS file cutdown.
REVERT: c5dc59de78 Merged r2975:2976 from branches/SDL-1.2: Mac OS X F13-15 key support.
REVERT: 1564335175 Merged r2962:2963 from branches/SDL-1.2: wrong SDK path in fatbuild.sh.
REVERT: 296844957a Merged r2960:2961 from branches/SDL-1.2...free all cursors in test/testcursor.c
REVERT: d4e3fdd999 Merged r2956:2957 from branches/SDL-1.2: Digital Mars stdint.h usage.
REVERT: f80310b98b Merged r2954:2955 from branches/SDL-1.2: Altivec alpha blitter alignment fix.
REVERT: 3005ce1b38 make enable match name
REVERT: d624b40863 Merged Bugzilla #354 fix into trunk.
REVERT: 80ae544799 Updated svn repository
REVERT: afab79f8ea Alpha sort the test list, add missing ones, remove removed ones
REVERT: 2979ca03a6 Look for an exact match first when setting a video mode on BeOS.
REVERT: d029ec6ee5 Logic error in BeOS video mode selection ("width" where it should be "height").
REVERT: 391d73e37b From: Torsten Giebl Subject: ALLOCA Patch for SDL-1.2 Newsgroups: gmane.comp.lib.sdl Date: 2006-10-24 00:31:16 GMT
REVERT: c34806796a Apparently it's possible that MSVC will want to call a built-in function to  bitshift an Sint64, but it can't find this function since we don't use the  C runtime on Windows.
REVERT: 84c4a54d7a Merge r2918:2919 from 1.2 branch: alloca macro params in parentheses.
REVERT: 7f36032f22 Use SDL_strcmp(), not strcmp().   Thanks, Suzuki Masahiro.
REVERT: cf90d65b91 Logic error in SDL_video.c (used bitwise OR instead of logical OR).  Thanks, Suziki Masahiro.
REVERT: 65dbe42d4b Merged r2913:2914 from SDL-1.2 branch into trunk: alpha blit GCC MMX asm fix.
REVERT: 46da5465d6 Save/restore current video mode and palette
REVERT: d5cf1663de xbios: preliminary video mode init
REVERT: a39f5c21f2 Merged r2906:2907 from 1.2 branch to trunk: power of two channels in dsp backend.
REVERT: 2a14d5cdca Fixed building of Windows waveout audio.
REVERT: 797faa052f Merged r2903:2904 from SDL-1.2 branch to trunk: BeOS loadso updates.
REVERT: fb64b4e6a0 Merged r2901:2902 from SDL-1.2 branch to trunk: printf stupidity fixes.
REVERT: f99e5395bc Merged r2899:2900 from SDL-1.2 branch to trunk: testloadso program.
REVERT: 0966f84b76 Use dummy joystick backend if subsystem is enabled but no better driver was  found.
REVERT: 146180e7f7 @#$% indent
REVERT: a5dc4b0ce9 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402217
REVERT: c5557f3a53 Merged Ryan's fix, in case we need it later.
REVERT: 28c9fb92a1 Removed AmigaOS code for 1.3 branch.
REVERT: 2ec5b5b343 Win32 joystick fix, ported from 1.2 branch r2887:2888. (Thanks, Ondrej!)
REVERT: 05a29201de indent is evil
REVERT: 3d24370c4c Fixed mouse enter/leave events for a single window. You lose mouse focus in Cocoa when the window is no longer key.
REVERT: fa0d6bd068 Fixed focus comptability bug
REVERT: da664292cc Oh for crying out loud...
REVERT: 4e1aba0a8b Whoops, wrong variable name.
REVERT: eebc7e6c2a Fix potential memory leaks if CoreAudio initialization fails.
REVERT: 5927dc70b0 Patched to compile.
REVERT: 3c592629bd 1.3 branch version of revision 2878.
REVERT: ba64fd8340 Also save/restore fpu register in vbl interrupt
REVERT: 0c642e7e31 Whoops, need a pointer to an LPDIRECTSOUNDBUFFER and not the  LPDIRECTSOUNDBUFFER itself.
REVERT: 95b6efb631 Patched to compile again (thanks, Rasmus!).
REVERT: 0089ba6cbe Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
REVERT: c500a06379 Double Whoops.   :P
REVERT: e870669bee Whoops. :)
REVERT: ede653d2cc Replaced strncmp for SDL_VIDEODRIVER test with strcasecmp
REVERT: f9b43fac01 Replaced strncmp for SDL_AUDIODRIVER test with strcasecmp.  Fixes Bugzilla #334.
REVERT: 75efbfe5d7 Minor cleanup in the mint driver that was sitting on my laptop (sorry!).
REVERT: 4ecb44b166 Formatting update
REVERT: d0a80f6b53 Fixed bug #292
REVERT: a42c7f1452 Fixed bug #316 Looks like this is a long standing typo... is this code even used anymore?
REVERT: a0b47a8c35 Fixed bug #321 Hi, if "configure" is given an explicit --libdir, the sdl-config still contains the default "${exec_prefix}/lib" for runtime linker path.
REVERT: 14eec51821 Fixed bug #270 SDL_SetCursor returns void, not void*
REVERT: b43de77bf4 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402105
REVERT: c18cc10c08 Fixed bug #329 On tracing it turns out to fail from SDL_WM_SetCaption()
REVERT: b8493a11ee Pfiou, all of it to update, faster to rewrite from scratch?
REVERT: c55e1b3fb7 Started update for 1.3
REVERT: 31b71378d9 Oops, don't need to check that
REVERT: 07ee716e3a More work for 1.3
REVERT: 90e84f0556 Started work to update for 1.3 api
REVERT: 4c0cd25c3b Reenable mouse usage using xbios vectors under MiNT
REVERT: 2db3adb4f5 Forward keyboard reworking from 1.2
REVERT: b2c856d783 Add teamtap support
REVERT: f2bc03cabf Update for recent changes
REVERT: 0fee077381 Save/restore FPU registers in interrupt
REVERT: 5baf894ec9 Fixed typo in windib audio.
REVERT: 9d10b52e1c Allow grabing mouse by locking its position
REVERT: 130a5acc98 Reenable xbios usage to get relative mouse motion
REVERT: 41b2bb8004 Allow mouse to be locked when grabbed with GEM driver
REVERT: d32e462e3f Disable MiNT thread usage and use hw access for updating DMA audio pointers
REVERT: ac911fde85 Temporarily disabled framebuffer console support for SDL 1.3
REVERT: b2dfe29ef6 Forgot to reshow mouse cursor when exiting grab/hide mode
REVERT: 672a050e8c /me dumb, sizeof(keymap != number of elements
REVERT: 477dde8ea7 Use correct function to free allocated mem
REVERT: bf2a2d714d Fixed macosx audio initialization (passed wrong struct to CoreAudio).
REVERT: 0d6e6d5c9c Compile fixes.
REVERT: 2f00844dab Added a FIXME and macro to sun audio.
REVERT: 4ada9445af Replaced unions with calls to SDL_SwapFloat...
REVERT: b046008cbd Fixed S32 audio mixing, but I'm a bit nervous about the use of 64-bit  datatypes here...
REVERT: 648d2a839d Continuing my quest to replace all the bitwise operations on SDL_AudioFormats  with the new 1.3 macros...
REVERT: f3acf2d311 Fixed broken audio conversions between float and unsigned datatypes.
REVERT: 4a039aaede Whoops, wrong tokens for int32 support in ALSA driver (specified unsigned  where it should be signed!).
REVERT: 59f531f6dd ALSA was testing if (format) was set to zero as an error condition, but  SND_PCM_FORMAT_S8 is zero, so you could never open ALSA for AUDIO_S8 data  before.
REVERT: 176414e7a2 int32 support for windib and windx5 audio backends.
REVERT: aeb5fc04c0 QNX6 support for int32/float32 (isn't this just ALSA?!)
REVERT: 8a3081f3f3 Updated Tru64 audio to support int32.
REVERT: f7b2a985cc MiNT audio driver cleanups for clamping types and channels to supported  values. int32 support now available in one instance.
REVERT: 43bec8da2b Mac OS 9 support for int32/float32.
REVERT: 28f57c5b3a Mac OS X audio backend now supports int32/float32.
REVERT: 3e4e137122 Cleaned up IRIX audio driver, added float32 support and fallbacks when  a specific audiospec isn't supported or the hardware fails.
REVERT: bb7ad968f9 Actually, my silly logic bug was actually correct.  :/
REVERT: 3a09848855 Let SDL convert to valid Dreamcast audio formats instead of failing if the  hardware can't be opened in a specific format. Not that you'd want to swallow  the overhead on a Dreamcast, but hey, it's the SDL way.
REVERT: 1f63d96bcd Let OS/2 DART backend use SDL converters at a higher level (would fail if  DART didn't directly support AudioSpec before).
REVERT: 2bd800db0e Fixed silly logic thing.
REVERT: 558a5b6909 Added int32 and float32 support (and some others!) to BeOS audio backend.  Untested: No BeOS system here for compiling!
REVERT: 5324cc6d9c Added int32 support to Amiga audio driver and cleaned up some other details  in driver initialization. May need tweaking: I can't compile the amiga driver  here.
REVERT: da3564dedd ALSA backend can handle int32 and float32 data directly.
REVERT: fd613a1f43 Added int32 adn float32 support to SDL_LoadWAV_RW().
REVERT: bead079669 Reordered the favored audio format list a little.
REVERT: a1c6ec6c23 Take advantage of the existing SDL blitters for normal copy blits.
REVERT: 2bd62ed521 Clear the second texture stage explicitly
REVERT: 1b733db29c The dummy renderer can task advantage of the MASK optimization too, though performance probably doesn't matter here...
REVERT: 04b633b920 Optimized the copy blitters a little bit
REVERT: d11e6208f1 Figured out how texture stages work, thanks to this: http://www.toymaker.info/Games/html/texture_states.html Both color and alpha source modulation work now! :)
REVERT: 357dc8de4a Implemented color modulation in the D3D renderer. FIXME: Why doesn't alpha modulation appear to work?
REVERT: 2dc5a97f17 Cleanup for the last checkin
REVERT: fdafca64b3 Added source color and alpha modulation support. Added perl script to generate optimized render copy functions.
REVERT: aebbf8cb6e Added SDL_SwapFloat* function/macros. Reference Bugzilla #293.
REVERT: 3c0e34ea51 Forgot to check in updated SDL_audio.h ...
REVERT: c500e6c0b4 First shot at new audio data types (int32 and float32).
REVERT: 03794d9be1 The GGI driver hasn't been maintained in 8 years.  It's probably safe to remove. :)
REVERT: d5f1b58e5d Missed a Qtopia change.
REVERT: dbc4d303a8 MacOS Classic is no longer supported.
REVERT: d942ec3207 MacOS Classic is no longer supported.
REVERT: f63cb9f282 David Hedbor is no longer maintaining the Qtopia code.
REVERT: 3972b7795d Whoops, remove debug code
REVERT: 3e23ac57e2 Added resize support for GDI and Direct3D renderers
REVERT: e16c932a5c Added paletted OpenGL texture support.
REVERT: 1c97a53526 Fixed fullscreen modes with Cocoa video driver.
REVERT: 296ed89309 Fixed bug recreating OpenGL textures on window resize
REVERT: c018c14412 Added window resize support for the software renderer
REVERT: a1ced0d971 Allow the render context to do necessary work when the video mode changes.
REVERT: 461c8e2db4 Clarified the difference between render drivers and render contexts
REVERT: e36015a36c Updated header documentation
REVERT: a90680c736 In general, fill in pointers to structures, rather than return them.
REVERT: ade506e8d5 Removed old function
REVERT: bfe4f31c0e SDL constants are all uppercase.
REVERT: 7bc5cd5763 1.3 API proposals for audio subsystem. Nothing in here is guaranteed to  stay as-is! And none of it is implemented yet!
REVERT: 7b00c63ef6 Added SDL_GetCurrentVideoDisplay()
REVERT: 8cff7eb76a Hack to stop the beeping Fixed keyboard window focus.
REVERT: 3123b3cae3 Removed debug code. :)
REVERT: ef1639f220 Added numlock support
REVERT: f5ebc5ae8c Implemented Cocoa key event handling.
REVERT: 032809097b Added right/other drag code for Cocoa windows
REVERT: be01a86b9e Implemented Cocoa mouse wheel events
REVERT: c8d7322dc6 Simplified driver window creation code. Implemented several Cocoa window functions
REVERT: 7f0d36082f --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402001
REVERT: 89ab980b38 Don't unload the OpenGL library before the X display is closed.
REVERT: 529b4ad049 We're not querying the glX attributes anymore...
REVERT: 931e1c106d Implemented X11 OpenGL support. Added support for the SDL_VIDEO_OPENGL environment variable.
REVERT: cc0b655042 Initial work on X11 window code in.
REVERT: 3ec5d40b87 Started work on the new X11 driver.
REVERT: ed7da31472 Placate versions of ranlib which complain about empty files (Mac OS X 10.4)
REVERT: 532023bd76 Starting fresh with the X11 driver
REVERT: fe52e82bd9 Oh yeah, more DGA removal
REVERT: e6ecd3dea6 Added the dummy audio driver to instructions
REVERT: 126d32c582 PicoGUI is no longer maintained by the author.
REVERT: 81cdb586d2 The AAlib driver is fun, but not worth rewriting for SDL 1.3
REVERT: dc3126175d The old windows video drivers are superceded by the unified win32 driver.
REVERT: bd9931afdd Hopefully glSDL has been superceded by the OpenGL render driver.
REVERT: 7a4007d93d More DGA removal
REVERT: da98d71bff Removing DGA support for SDL 1.3 - it's still buggy years later, and now it's deprecated by the developers in favor of the render APIs.
REVERT: 695c12d655 SDL applications no longer need to link with Cocoa (unless they want to)
REVERT: c5da9eeff1 Actually use the function we took the trouble to get the pointer for.
REVERT: 7c4bd5839a Fixed Objective-C memory leaks Send an SDL quit event when Command-Q is pressed.
REVERT: 79452369ef Implemented OpenGL support on Mac OS X The OpenGL renderer works without changes, yay! :)
REVERT: 941ef5db91 Patch from 1.2 branch...fix compilation on Qtopia video target (reference  Bugzilla #285).
REVERT: 1474493514 Implemented Mac OS X video mode selection.
REVERT: 56c1ba8073 Implemented Cocoa window support
REVERT: 44f7f92b8a Whoops, that's a while loop. :)
REVERT: 6822a805b4 The Mac OS X Cocoa video driver is under construction... Note that SDLmain is no longer necessary on Mac OS X. :)
REVERT: d4e887aa04 Fixed compiler warnings Updated Visual C++ 2005 project
REVERT: 74b85ef7fe Added an environment variable to select which driver the software renderer will use.
REVERT: 1d8a5a2349 Fixed crash with multiple windows
REVERT: e06b514882 OpenGL renderer is feature complete! Dynamically load GL functions in the OpenGL renderer.
REVERT: c05ca3687f Added SDL_GL_ExtensionSupported() Use GL_ARB_texture_rectangle in the OpenGL renderer, if supported.
REVERT: f4ac9ed70c Query the maximum texture size for the D3D renderer.
REVERT: 75ff5f31f2 If the OpenGL renderer is selected for a non-OpenGL window, recreate the window with OpenGL enabled. Added OpenGL renderer error checking. Use fast-path texture formats in the OpenGL renderer.
REVERT: 68df2209ba Switch OpenGL contexts when switching render contexts. Query the maximum texture size and show the current render parameters.
REVERT: 5c1901a93d Fixed OpenGL blend modes, added power of 2 texture code
REVERT: 46ad1ad5d6 Bug fixes to the OpenGL renderer
REVERT: 2fe561616a Convert SDL_malloc to SDL_calloc if appropriate, slightly faster on operating systems which map the zero page for memory allocations. OpenGL renderer in progress
REVERT: 2b538200ba Fixed to compile while the OpenGL renderer is under construction
REVERT: 397be19fd2 Starting on the OpenGL renderer...
REVERT: cfe0a80302 Implemented scaling in the D3D renderer
REVERT: 9eea51e280 Implemented blend modes in the D3D renderer
REVERT: f2c829616b Implemented multi-window OpenGL program with test framework.
REVERT: 3b997f233d Added a test program framework for easy initialization. Started work on multi-window OpenGL demo
REVERT: e0a8c14a39 Implemented Windows OpenGL support Fixed slowdown enumerating display modes, which was hosing OpenGL as well... Removed SDL_ from the render driver prefixes
REVERT: 2eed452d04 Setting up the OpenGL support
REVERT: 89484fea07 Create a fake desktop mode for windowed mode apps
REVERT: 104c5abf24 Fixed building on Mac OS X without the Carbon and Cocoa video drivers
REVERT: 0bd0f1331b Look at environment variables in SDL_VideoInit() and SDL_AudioInit()
REVERT: a73c49024f Implemented fully featured dummy renderer
REVERT: d5d8761b60 Streamlined the API a bit and optimized the software renderer.
REVERT: dfe1ea2171 Changed the name of the dummy renderer
REVERT: 0212981bc2 Prefer the D3D renderer over GDI, at least for testing. Added support for the SDL_VIDEO_RENDERER environment variable to pick the desired render driver. Implemented WritePixels support for the D3D renderer.
REVERT: e920af3d1b Yay!  D3D renderer works!
REVERT: 5877021286 More of the Direct3D renderer is implemented, I'm not sure why it's not showing texture copies yet...
REVERT: 38e7a926a2 Updated Visual C++ 2005 project
REVERT: 9cbad57c92 Removed libc dependency on Windows again, to fix building with Visual C++ 2005 Express Edition. Fixed performance problem with testsprite2 on the D3D driver.
REVERT: ddce62b162 First stab at a D3D renderer, only 30FPS so far... ?
REVERT: 8b10359107 debug cleanup
REVERT: 4beaa4e63c Playing around, trying to find a fast path with GDI
REVERT: d1be2d9e1c Solved the performance problems by introducing the concept of a single-buffered display, which is a fast path used for the whole-surface SDL 1.2 API. Solved the flicker problems by implementing a backbuffer in the GDI renderer.
REVERT: 58d76aea10 Updated the snapshot build target to reflect the new source location
REVERT: 0f030a1802 SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
REVERT: 91a32b77a2 sdl.pc is in build directory, not source
REVERT: bcc7227e38 Include sdl.pc in the development RPM
REVERT: 650269aca5 Added 1.2.11 patch notes
REVERT: 862de2d82b Fixed libiconv detection
REVERT: 5b2feecb99 Fixed problem with nasm hidden visibility detection
REVERT: cb4f15a094 Almost added Mac OS X nasm support
REVERT: 554dd3b64b ------- Comment #5 From Marc Peter 2006-06-25 18:03 [reply] ------- Created an attachment (id=142) [edit] updated makefiles for 1.2.11 release
REVERT: 36aa150ca6 Updated version to SDL 1.2.1
REVERT: 8c7a772ffd Updated the version to 1.2.11
REVERT: 59b92bf98c --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401899
REVERT: 2c01718695 Fixed including stdint.h with gcc on Win32
REVERT: d856d38658 Fix for bug #240
REVERT: 642baf6edb Fixed bug #258
REVERT: 684d11f9fd Fixed bug #255
REVERT: 9f57178bfb Fixed bug #260
REVERT: ccd4d68be0 Default the X11 dynamically loading on if the OS loader loads libraries with their private symbols hidden.  If that isn't the case, and someone tries to enable it anyway, spit out a warning and don't let them do it.
REVERT: 90b3fbb429 Swizzle ALSA channels for 5.1 output to match DirectSound and CoreAudio.  Untested, but potentially fixes Bugzilla #110.
REVERT: d9c54aecc1 Fixed bug #69
REVERT: f955c92364 Fixed bug #147
REVERT: 1f8047fa4e Only allow dynamic X11 if gcc4 (-fvisibility=hidden) is used.  Fixes Bugzilla #242.
REVERT: 6ba30e1368 Minor bit of sanity-checking debug info in dynamic X11 code.
REVERT: 65be12979c Renamed, per Mike's comment on bug #157
REVERT: 06d61220cc Renamed, per Mike's comment on bug #157
REVERT: d94573621a Fixed bug #157 [patch tweaked to handle older nasm, which doesn't support :function syntax]
REVERT: 739db2c78e Fixed bug #256
REVERT: fdfcc79761 Date: Fri, 9 Jun 2006 11:35:23 +0300 From: "Janne Junnila" Subject: [SDL] SDL_SetGamma bug
REVERT: 772972e264 Date: Thu, 15 Jun 2006 14:19:47 +0200 (CEST) From: "Torsten Giebl" Subject: [SDL] Patch for Makefile.DC
REVERT: e64b9862f0 Fixed bug #251
REVERT: a4fb97b662 Bug #250, pkg-config support contributed by Mikael Eriksson
REVERT: a4191d397d Bug #250, pkg-config support contributed by Mikael Eriksson
REVERT: e3993a9c60 I think this fixes bug #244
REVERT: d565a14593 Fixed bug #241
REVERT: dd7009690f Test case for bug #240
REVERT: f9881b12fa Fixed bug #232
REVERT: 11452ed23e Fixed bug #232
REVERT: 165561408f Oops, reverted single/double buffer update
REVERT: 0475249450 Add program to test mouse cursor change
REVERT: 4e4aa03a8c Fix mouse cursor change
REVERT: 27e82c6f22 Date: Mon, 22 May 2006 01:16:47 -0400 From: Mike Frysinger Subject: [SDL] [patch] fix sed expression in sdl-config
REVERT: f2d67baf34 Moved DirectInput joystick code to 1.3 branch
REVERT: fe915b7a0a Closed bug #74
REVERT: 722e73af32 Removed unused variable with undefined type. Fixes Bugzilla #234.
REVERT: 1e7ce9a960 Try to keep SDL keysyms sane regardless of keyboard layout in windib target.  Fixes Bugzilla #164.
REVERT: f60db1758a Make sure sem_wait didn't return early with EINTR. Fixes Bugzilla #231.
REVERT: 90a334ec54 Fixed thread callback calling conventions, updated OS/2 DLL name to SDL12.dll
REVERT: dc00237efc Fixed uninitialized variable warnings
REVERT: 851c3b8fbb Clean out the tests before creating distribution archive
REVERT: c1d479762f Updated RPM spec file with License keyword
REVERT: 331b0087ee Whoops, clean files in the dist directory
REVERT: 823969fe45 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401806
REVERT: 3c5d934204 Removed support for Darwin, due to build problems on ps2linux
REVERT: 2b266d55f9 Needed unistd.h for unlink()
REVERT: 38fd0dc83a Patch from Ryan to fix compiler warnings
REVERT: 15bcc2d457 Use the correct parameter for GLX_VISUAL_CAVEAT_EXT
REVERT: 3470d1df70 Updated docs for SDL 1.2.10 release
REVERT: c77fbca391 Added information about gcc-fat.sh to README.MacOSX
REVERT: 2e54e83306 Fixed compiling GS YUV conversion code
REVERT: 467c8a81dd Date: Mon, 15 May 2006 17:18:34 +0300 From: Vassilis Virvilis Subject: Re: [SDL] SDL + fbcon = weird colors (resolved)
REVERT: 3e2af2ef39 DragonFly BSD has an older version of VGL which SDL doesn't support.
REVERT: 11c5892acb Fixed corrupt image
REVERT: 059fc960c8 OpenBSD doesn't ship with X11 library major version symlinks
REVERT: 1e00017e0a Added yet another variant of autoconf to the list
REVERT: 6b9e7a15fd Added yet another variant of autoconf to the list
REVERT: 690f472d02 Fix from Marc Peter: slightly fixed Watcom makefiles for 1.2.10 release
REVERT: de534a37e8 Add a reminder to fix current->w,current->h
REVERT: 84d5ff0f28 Fixed alloca declaration for MPW
REVERT: 69d1266caa Hey, whaddy know!  MacOS Classic has 64-bit types!
REVERT: dbdb927189 SDLmain compile fix
REVERT: 4b6420b8a4 Add missing include file
REVERT: cd492956f5 Use the right variables to set stuff for sdl-config script
REVERT: 8aa4c7fdb9 Fixed signed/unsigned issues
REVERT: 9e91188591 Whoops, need a space after dnl to make it meaningful. :)
REVERT: dc8db021be Should we always look in /usr/local when compiling natively? I'm guessing we probably should, but I don't remember why this was added in the first place.  I'm disabling it for now...
REVERT: 6eed3898de Date: Thu, 11 May 2006 19:08:05 -0400 From: Mike Frysinger Subject: [SDL] [patch] remove limits.h hack from linux joystick code
REVERT: 84a89b45e5 Date: Thu, 11 May 2006 17:09:17 -0400 From: Mike Frysinger Subject: [SDL] [patch] teach configure about uClinux
REVERT: 4fe83bb83c Forgot to declare volatile stuff also in c file
REVERT: b31509f7be Fixed some bugs in string handling Cleaned up error message code, UTF-8 is used instead of UCS2 Added detection for MPEG Layer 3 audio for more informative errors.
REVERT: 369b7e44a3 Saved a little space by not including the CodeWarrior 5 XML projects
REVERT: 3d8f01a1f4 Fixed bug #53
REVERT: 76685b8056 Fixed building with CodeWarrior on MacOS Classic
REVERT: f766db82dc Fixed MacOS Classic build
REVERT: 8ead6868f9 sdl-config doesn't include the OpenGL library in --libs
REVERT: 1c057bf3f6 Fixed bug #208
REVERT: 308d06a8ee Fixed bug #226
REVERT: 72d910b271 Fixed bug #225
REVERT: 877d8909d9 Date: Wed, 10 May 2006 17:43:21 -0700 From: Eric Wing Subject: Re: Updated tarball
REVERT: f557a45feb Only set Mac OS X default if both parameters are left default
REVERT: 5bb606e842 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401767
REVERT: dedf915e88 Added hardcoded /usr/X11R6 path so GLX detection works on Mac OS X.
REVERT: 9d85d36fbd Need to use __MACOSX__ for the Mac OS X platform.
REVERT: ee2930d6da Fixed bug #221
REVERT: 437e541b69 Fixed bug #222
REVERT: e4a7253ac3 Prevent both __MACOS__ and __MACOSX__ from being defined in Codewarrior
REVERT: a77c019cec Xcode has trouble compiling different files with the same name for two architectures
REVERT: 5701bcd6bd Removed unused variable
REVERT: fea6ccebe3 Fixed X11 support on Mac OS X Universal build
REVERT: 24dd26200f Date: Tue, 9 May 2006 23:01:49 -0400 From: Mike Frysinger Subject: [SDL] [patch] fall back to using MAP_PRIVATE with mmap() in fbcon dri
REVERT: 4ff931d2b7 Fat test programs! :)
REVERT: 3fc9b6a9da Fixed bug #218
REVERT: 6129de0d80 Fixed bug #220
REVERT: 3761c04c87 Fixed bug #137
REVERT: 782736f3f9 Date: Mon, 8 May 2006 14:19:30 -0700 From: Bob Ippolito Subject: SDL trunk (r2346) and Mac OS X
REVERT: 5843b19d25 More compile fixes for systems without the DPMS extension
REVERT: 1782676d24 Fixed build errors on systems without the DPMS extension
REVERT: 96f27c600c Date: Mon, 8 May 2006 14:19:30 -0700 From: Bob Ippolito Subject: SDL trunk (r2346) and Mac OS X
REVERT: c5debc81c7 Fixed bug #104
REVERT: f2e390e24c Fixed bug #144
REVERT: a065c557ed Fixed bug #201
REVERT: a93e2caf5c Fixed bug #106
REVERT: f210611d6f Fixed DGA mode sorting and eliminated doublescan and interlaced modes
REVERT: 52c114a331 Disable the screensaver in DGA mode, which is even more important than X11...
REVERT: 9cdedc648e Fixed bug #203
REVERT: b99279d95e --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401741
REVERT: c69a0ae2af Get updates to the shadow surface while switched away
REVERT: 4dadaeae5a Fixed bug #49
REVERT: 11037522c7 Made it easier to test some things on the framebuffer console
REVERT: 9cbe216d62 Fixed detection of current vt when not running as root.
REVERT: 064c583f72 Eliminate duplicate video modes
REVERT: c9fe6a7e45 SDL_strncpy doesn't exist
REVERT: e869c2f9b8 Date: Sun, 7 May 2006 19:22:33 -0400 From: Mike Frysinger Subject: [SDL] [patch] fix building with DirectFB-0.9.25.1
REVERT: 4b13c82ddc --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401733
REVERT: 0d310117ea --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401732
REVERT: 21a8ab74a3 Fixed bug #102
REVERT: 3a0d72c6e5 Fixed bug #217
REVERT: a74719991c Fixed bug #216
REVERT: b4ba6518d6 Fixed bug #215
REVERT: cab8a203a7 Fixed bug #80
REVERT: 572d530a66 Fixed bug #196
REVERT: 732fcc2ab0 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401725
REVERT: daab242a93 Fixed bug #45
REVERT: b8685c4495 The install target depends on the libraries being built
REVERT: e8d0a49694 Updated to include new languages and platform support
REVERT: 75263053fb Date: Thu, 4 May 2006 08:44:10 +0200 (CEST) From: Doodle Subject: Re: SDL OS/2 build updated?
REVERT: 92a1f4863c Fixed execv warning when libtool creates wrapper executables
REVERT: b74b770864 Patch from Dmitry Yakimov to fix building on WinCE
REVERT: 2c19f77a0f Added instructions for copying SDL_config.h
REVERT: 5a7107c1e0 Updated OS/2 project files
REVERT: 083bef0d9c Yeah, that's what I meant. :)
REVERT: 0526b1fc8a Using the SDL C runtime functions
REVERT: d8aace2ce7 Don't add NONE/bin to the path - inexplicably fixes building on mingw+msys, apparently
REVERT: 1a4e90b856 Date: Sun, 30 Apr 2006 14:20:05 +1000 From: Rob Subject: [SDL] SDL pre-release
REVERT: c3d59105d9 SDL_dummy_main.c:12: warning: ISO C does not allow extra â;â outside of a function
REVERT: 27fdaa8880 SDL_sysjoystick.c:983: warning: 'return' with a value, in function returning void
REVERT: 39b3be9d6b Declare volatile variables modified by interrupt routines
REVERT: d257f80e54 Removed redundant rm
REVERT: 46eecc57a6 We want to wrap HAVE_ALLOCA_H, not HAVE_ALLOCA. :)
REVERT: 85028a30ad  ------- Comment #1 From Max Horn  2006-04-17 03:08  [reply] -------
REVERT: 2efcd9c6dc --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401705
REVERT: 41c2e03aa4 Disable the XRandR extension by default, since KDE maximizes windows which are larger than the new resolution, and then doesn't restore their size and positition when the old resolution is restored. The extension can be enabled with the environment variable SDL_VIDEO_X11_XRANDR=1
REVERT: ff8de4f06a Only use -fvisibility=hidden if SDL will define some symbols as available. :)
REVERT: f573eff4b8 [From Sam] > BTW, when setting up parallel make, I usually use # cpus + 1, so a compile is > running while disk access is going for another.
REVERT: 7d07e3b48d Future proof C++ code
REVERT: 4422ede0bd Fixed bug #206, fatbuild.sh works flawlessly on Intel Macs
REVERT: 12d7c190c2 fatbuild fixes:
REVERT: 42d0cb5f28 Fixed bug #101 If we lose focus at all, unlock the mouse.
REVERT: 592d2604d0 Trying to fix fatbuild.sh on intel
REVERT: 5deaddd7c3 Fixed compile errors on Mac OS X
REVERT: 37adc6aae8 Implemented bug #5 Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration.
REVERT: b32d3f9c24 Implemented bug #2, 117:
REVERT: f1c75141ad Info on Subversion repository access.
REVERT: a0fa14aca9 subversion conversion complete!
REVERT: 6c75fac19f Whoops, you can't use Project Builder anymore...
REVERT: adbae20f5a Added info about fatbuild.sh
REVERT: d3375d8aba Mac OS X fat build works! :)
REVERT: 3f4bc2bbd7 Date: Thu, 20 Apr 2006 10:13:34 +0200 From: Julien Lecomte Subject: [SDL] sdl-config
REVERT: f893c5177e I think this is it...
REVERT: 99861e398e *** empty log message ***
REVERT: 0923d2b9fc Added a note so I remember what the heck I was doing later. :)
REVERT: 0416307588 More general fix for bug #189
REVERT: a4f336faee Fixed bug #189
REVERT: fccd61bcf4 Fixed bug #197
REVERT: 8a7b961a28 Use the MAKE variable when available
REVERT: 859b58d1d6 Whoops, need the actual flags here
REVERT: 4b9dfebabd Miscellaneous Mac OS X fixes
REVERT: ca1aba099a Date: Fri, 31 Mar 2006 18:28:55 -0500 From: Mike Frysinger Subject: [SDL] [patch] touchup configure --help output
REVERT: 1920fbcb79 A script to build a fat version of the SDL library... completely untested!
REVERT: 2072cdd857 Make sure code is only compiled if the appropriate subsystem is enabled
REVERT: a5e03023d5 Don't hardcode the output directory
REVERT: ee42a1018d From Anders F Bj�rklund: Updated the MPW makefiles ("SDL.make", "SDLtest.make") by adding the new "dummy" and "disk" directories/files.
REVERT: a56f361892 Don't check dlopen on Mac OS X, to retain 10.2 compatibility
REVERT: 50f2cfc3c2 Fixed MacOS X and Solaris detection
REVERT: 1f2f61915e Fixed compile error
REVERT: 9568645775 Fixed bug #55
REVERT: 7a15c646b5 Fixed bug #185
REVERT: 458c2abbc5 Fixed bug #179
REVERT: dfa643c31b Fixed bug #176 [I'm fixing this for the public headers, but I'm not going to bother for the SDL library code (yet)]
REVERT: 678ac92409 Fixed bug #193
REVERT: 2cfa74d7b8 Fixed bug #192
REVERT: 8e0aecf6fd Added a delay so the warning message isn't accidentally missed.
REVERT: ad57e2ae8c Fixed bug #191 [I opted to go for a warning, since I often tweak configure.in, but don't want to rebuild the entire project]
REVERT: be0f0ff107 Fixes bug #195: The proper name of Apple's operating system is "Mac OS X" not "MacOS X", as can bee seen in many places, for example http://www.apple.com/macosx/). This contrasts the naming of the old operating system, which was called "MacOS" and today is often refered to as "MacOS Classic".
REVERT: 8445eb17d1 From Anders F Bjorklund:
REVERT: 0478af81b2 From Anders F Bjorklund:
REVERT: f2c3b5141a *** empty log message ***
REVERT: 20e18895f0 Patch from Alex to fix reverted code
REVERT: a3f6fa51eb *** empty log message ***
REVERT: 9ccb05a0a6 Ugh, more 64-bit cleanup
REVERT: 403b4f89bd Date: Wed, 29 Mar 2006 17:26:55 +0200 CEST From: "Fran���is Revol" Subject: [SDL] BeOS port fix: PrintScreen key crashing
REVERT: 0756c83258 Fixed building DLL on Windows
REVERT: 26cb9c7c80 Fixed some ultra-pedantic gcc warnings
REVERT: 1237375c2d Fixed bug #177 The attached patch changes configure.in to use "-framework FOO" instead of "-Wl,-framework,FOO".
REVERT: fee3805600 SDL_X11_LoadSymbols() was reporting success when required symbols weren't  found!
REVERT: 092d48fc0f Fixed compiler warning.
REVERT: 764d343924 A less rude way of doing the same thing...
REVERT: 88dd069862 These files should be included from SDL_config.h (so they get SDL_platform.h)
REVERT: bd6b201457 ls shouldn't barf if it gets passed a path starting with - (e.g. -lesd)
REVERT: e847bdc465 Fixed bug #175 Removed obsolete .cvsignore files... whee!
REVERT: c9bbe9f6c2 *** empty log message ***
REVERT: c68ee88d7a Fixed bug #171 SDL_config.h is no longer in CVS.  Instead, configure will generate it for systems that use configure, and we always copy SDL_config.h.default to SDL_config.h before generating a snapshot or release archive.
REVERT: 3c6f272957 Fixed DirectFB detection
REVERT: 2f05889935 Hopefully fixed up DirectFB detection
REVERT: 73025412fa *sigh*
REVERT: 635e991de1 More dynamic X11 mangling...should fix NetBSD builds. And hopefully doesn't  break 6 other platforms.  :)
REVERT: 29098a80cb Need time.h for nanosleep too...
REVERT: 10d2937b45 Better wscons detection
REVERT: 2ac61483a9 *** empty log message ***
REVERT: 14da84d333 Only use the visibility attribute in gcc 4.0 or newer
REVERT: 5969b6854f Updated my email address.
REVERT: 19882a1bfb Consolidate all the X11 libraries, so you don't have to update 12 different  places in the source when adding a new one. Also handles build systems that  don't define a given library.
REVERT: f60cdaa43f Lines swapped to match ordering elsewhere
REVERT: 2c90fe6bf1 Close off warning about setAppleMenu on Mac OS X 10.4 SDK.
REVERT: 95e9bf51db Don't detect Altivec on MacOS X Intel
REVERT: be7a5193c8 Xrandr support in the X11 target.
REVERT: 164d170fcd Improved DirectFB install detection
REVERT: cb61dcc206 *** empty log message ***
REVERT: 09d17c7320 Patched to compile on 32-bit X11, I think.
REVERT: 2f58ef08ec Date: Tue, 4 Mar 2003 15:05:31 -0800 From: "Jim" Subject: [SDL] Frame Buffer patches...
REVERT: 864d889bce Fixed bug #61
REVERT: 2b370344b1 *** empty log message ***
REVERT: c065f08898 Fixed bug #50 Using ctrl-alt-fn for flipping instead of alt-fn may help a few games that actually use that key combination.
REVERT: b38448f70e Eric rocks. :)
REVERT: 16edbba009 I'm dumping the old Xcode support, since it's too hard to maintain, and SDL no longer builds on MacOS X 10.3 natively, as of the 7.0.4 QuickTime update.
REVERT: cbb0092716 The exports file is no longer used by the Xcode project
REVERT: f2465cd89e Reverted SDL_config.h from accidental checkin. (see Bugzilla #171).
REVERT: 9424eb4746 GLX_STEREO doesn't have a parameter
REVERT: b87e7b7670 Whoops, that shouldn't have snuck in there.
REVERT: 8487ec6692 Updated dynamic X11 code. See details in Bugzilla #170.
REVERT: e0c405fad1 Default to use the visibility attribute, on gcc (is this okay?)
REVERT: 0fc4f94726 Added support for gcc4's -fvisibility=hidden option.
REVERT: c21749e945 *** empty log message ***
REVERT: 1b970c313e Add /usr/local to the build paths by default
REVERT: a4ce75efb7 Updated to libtool-1.5.22
REVERT: d8557b0440 Fixed bug #167
REVERT: f7999b1055 *** empty log message ***
REVERT: f1b5352fed Good idea, renaming OpenBSD audio to BSD audio.
REVERT: b31a8872e5 Allow adding to the INCLUDE path Allow overriding the NASMFLAGS
REVERT: de8aa2291c Fixed bug #52
REVERT: 3d9db3824d Show an error message if autoconf isn't found
REVERT: 6f035998f4 Fall back to autogen259 if autogen isn't available
REVERT: 6d076cbf22 Fixed bug #18 Reordered the audio thread loop so there's no initial wait.
REVERT: c1d67a0d0c Try to fill the hardware audio buffer immediately.
REVERT: 8e0454b5e9 Keep mouse cursor state sane on focus change in Quartz driver.
REVERT: 625655e271  ------- Comment #8 From Sergey Svishchev  2006-03-19 12:35  [reply] -------
REVERT: 4c3dfbcfe8 Fixed bug #113:
REVERT: ed659a7d15 Fixed bug #90 The palette -> RGBA blit wasn't following the rule:  * RGB->RGBA:  *     SDL_SRCALPHA not set:  *      copy RGB, set destination alpha to source per-surface alpha value.
REVERT: ec2060c825 Fixed bug #84 Actually implemented banked update for SVGAlib
REVERT: ac4f328755 Fixed bug #89
REVERT: 877556f5ef Fixed bug #84
REVERT: d21bbd6c58 Left the debug code more explicit
REVERT: 5d285ff923 Fixed bug #79
REVERT: 9b2bff0381 Fixed bug #4 [Note: I'm applying this patch since it's a cleaner version of what's already implemented, and supports this controller on older kernels.  I'll ask to make sure this doesn't break on the new kernels where it's no longer necessary]
REVERT: 505a58469a Fixed bug #166
REVERT: 04df7fefc3 Implemented RISC OS and OS/2 desktop resolution code (thanks to Alan and Doodle)
REVERT: d6d98ddcc5 EXTRA_LDFLAGS are the linker flags and libraries needed to build SDL. SDL_LIBS are the linker flags and libraries needed to build SDL applications. SDL_STATIC_LIBS is set to SDL_LIBS by default.
REVERT: dbce258f24 I did not find in configure.in where SYSTEM_LIBS where set for other platforms, and why I did not have required extra libraries added in sdl-config, so I set it there
REVERT: aea5879b18 *** empty log message ***
REVERT: ab022a8987 Added current_w and current_h to the SDL_VideoInfo structure, which is set to the desktop resolution during video intialization, and then set to the current resolution when a video mode is set.
REVERT: 5ab1844363 Fixed bug #33
REVERT: 3f36d970a0 From: "Alex Volkov" Date: Thu, 10 Nov 2005 21:53:40 -0500 Subject: [SDL] BUG[?]: 32bpp RGBA->RGB colorkey blit, no SDL_SRCALPHA
REVERT: 3c69f94602 Fixed bug #15 SDL_blit_A.mmx-speed.patch.txt --         Speed improvements and a bugfix for the current GCC inline mmx         asm code:         - Changed some ops and removed some resulting useless ones.         - Added some instruction parallelism (some gain)         The resulting speed on my Xeon improved upto 35% depending on         the function (measured in fps).         - Fixed a bug where BlitRGBtoRGBSurfaceAlphaMMX() was         setting the alpha component on the destination surfaces (to         opaque-alpha) even when the surface had none.
REVERT: 1d4a0106b4 Quartz implementation for SDL_DisplayYUVOverlay() was returning non-zero on  error, instead of zero, contrary to documentation.
REVERT: c257b720b8 Added disk/dummy audio and dummy video to the Visual CE projects
REVERT: 1931f2f581 *** empty log message ***
REVERT: 0e4c01c332 *** empty log message ***
REVERT: 2b25e81b46 Corrected dummy audio callback firing to be realistic, cleaned up tabs.
REVERT: 48a79d3c30 WIN32 is no longer defined on Windows builds
REVERT: 25e9da92f3 Added disk and dummy drivers to the Visual C++ projects
REVERT: 8ebbad3462 *** empty log message ***
REVERT: 5e6d989ad4 By default all the real targets have dummy audio/video and disk audio.
REVERT: 66d3d81854 Implemented dummy audio driver.
REVERT: 2e50f15bed Fixed cut-and-paste error in DC audio target.
REVERT: cc03465b60 Updated CodeWarrior export list with SDL_iconv
REVERT: 94d103a051 Updated MacOS Classic and MacOS X exports list
REVERT: 3ad866a41f The check for UTF-* isn't needed anymore since UTF-8 has the same code range.
REVERT: a809f23289 Fixed bug #67 Re-enable OpenGL window resetting code for the windib driver
REVERT: 710a6bc22a Fixed bug #124 Print Screen key events weren't reported on Windows
REVERT: 38b0054e82 Fixed bug #38
REVERT: c8264f636a Fixed bug #46
REVERT: 482c7c9258 (patch tweaked a bit)
REVERT: e1c330b81f *** empty log message ***
REVERT: 7c958aee64 CFLAGS are separate from EXTRA_CFLAGS Fixed iconv.h detection on Cygwin32
REVERT: 5aa43a48d5 Add the NAS library directory, since X11 is dynamically loaded now... FIXME: See if we can dynamically load NAS
REVERT: 7056c5dc5c RFC 3629 restricted the range of characters encoded with UTF-8 to 0000-10FFFF (the UTF-16 accessible range)
REVERT: de88144cde Updated by Ryan Gordon
REVERT: 78d1c55577 *** empty log message ***
REVERT: 61549bf6a5 Updated MacOS Classic build
REVERT: 34d826583e The exports file isn't necessary on BeOS anymore
REVERT: b341d194bb Added SDL_iconv.c to the Embedded Visual C++ projects Added missing target configurations
REVERT: 134ae7ea08 *** empty log message ***
REVERT: 393b8049ba Added _strnicmp support
REVERT: 2dffc45236 Added SDL_iconv.c to MPW Makefile
REVERT: d99aa28246 Win32 fixes
REVERT: dda2653f17 Added SDL_iconv.c to the Dreamcast Makefile
REVERT: 85ce0ac487 The Win32 exports file isn't used by mingw anymore
REVERT: d066241b5d Fixed bug #112 Added SDL_GetKeyRepeat()
REVERT: 72dd8e4f2b Added SDL_iconv.c to the Visual C++ projects
REVERT: cf05f2fab8 Fixed bug #139 The text in SDL_WM_SetCaption() is in UTF-8 encoding.
REVERT: ffbb789969 *** empty log message ***
REVERT: 293e158d84 props yo
REVERT: fbc44f92d6 UTF-32 by definition can't handle characters higher than 0x10FFFF
REVERT: 3750cb6c4d Added UTF-8 <-> UTF-16 <-> UTF-32 <-> UCS-2 <-> UCS-4 conversion capability
REVERT: 5f71e5a774 Blah
REVERT: fa0e211021 Fixed bug #150 memory leak in SDL_thread.c
REVERT: ee03e10187 Fixed bug #149
REVERT: cd3a1db9db Fixes from Dmitry Yakimov:
REVERT: a5db090e59 *** empty log message ***
REVERT: 2a752c3732 Might have fixed 64-bit issues. :)
REVERT: c2a4bb7b9a Fixed make distclean
REVERT: 8feac6e16a Clean up temporary files.  I'm not sure how this got removed, but whatever...
REVERT: f8abad7e04 X11 support isn't installed by default
REVERT: ce798a8948 Don't crash if SDL_Flip() is called with an OpenGL mode set
REVERT: d12cf83d8f Dynamic OpenGL loading is the default now. :)
REVERT: 6b8ad54291 Prettified. :)
REVERT: 1e0fe602e4 Eric is setting up X11 support for the XCode project
REVERT: c0aec157c6 Cleaning up warnings on MacOS X
REVERT: 6ef737becd Re-added C runtime support for Visual C++ 5,6
REVERT: 670b863ec9 *** empty log message ***
REVERT: df3dfeb000 Added documentation on how to build a completely useless SDL library. :)
REVERT: baeb11507d *** empty log message ***
REVERT: b1c21cf233 QNX changes from Mike Gorchak
REVERT: 90cbe2c628 Yet more Win64 tweaks
REVERT: 261018216d More Win64 updates
REVERT: 309cc6b8e1 Updated MacOS X support
REVERT: 6ea7c0b0d1 Only use Altivec on PowerPC architecture
REVERT: c127861be3 Add missing asm source files
REVERT: df24fe8937 Date: Mon, 6 Mar 2006 19:00:45 +0100 From: Patrice Mandin Subject: [SDL] Can not install generated sdl-config
REVERT: ddf8eb57fc Get Microsoft's preprocessor symbols in there
REVERT: c27132b50d Maybe it's easier to collect the big-endian architectures. :)
REVERT: 97d70fea63 Whoops, built without libC support - doh!
REVERT: 302e86a4dc Fixed more Win64 portability issues
REVERT: 8039553413 Enabled libc support on Win32, so we don't break binary compatibility in 1.2
REVERT: 0917598732 Fixed declarations to match mingw includes
REVERT: c86537b7d4 Added ARM and SH4 detection for WinCE development environment
REVERT: fbd764a441 Don't put X_LIBS in the linker flags if we're dynamically loading X11
REVERT: 0e67f0fd20 Removed accidentally copied/pasted script for ALSA detection It's only a warning if dynamic loading code isn't possible.
REVERT: a401cf0a7a *** empty log message ***
REVERT: 7d970e27e2 Updated WinCE support by Dmitry (with some tweaks) Converted the disk audio driver to SDL_RWops for portability
REVERT: 2180b13d61 *** empty log message ***
REVERT: ba34e91b65 *** empty log message ***
REVERT: 2eeceefa55 *** empty log message ***
REVERT: b8ecf02fdf Updated for Dreamcast KOS June 2005 snapshot: http://cadcdev.sourceforge.net/svn/snapshots/ http://gamedev.allusion.net/softprj/kos/dcsetup.php
REVERT: 073a8d79d8 *** empty log message ***
REVERT: 57e208b928 Date: Wed, 01 Mar 2006 10:14:31 +0000 From: "alan buckley" Subject: Re: Updating SDL for RISC OS
REVERT: a4b20c800a Date: Wed, 1 Mar 2006 23:52:09 +0100 From: Sam Hocevar Subject: [SDL] [patch] aalib driver
REVERT: 95425a11d5 SetClassLongPtr isn't available in MinGW yet
REVERT: a9ee23bb9f Fixed a bunch of 64-bit compatibility problems
REVERT: e539f5ab85 Hah, standard stdio code crashed on the test case.
REVERT: 8d37d5c766 Whoops, missed one
REVERT: 680be24372 Date: Mon, 27 Feb 2006 17:01:43 +0100 From: "William Petiot [exoide]" Subject: Re: [SDL] cvs version: standard win32 SDL.DLL file test [patch]
REVERT: 03c1ccfae0 *** empty log message ***
REVERT: 1a9d2fdeb0 Argh, I forgot that zip merges files into the archive instead of recreating it.
REVERT: febb6d5248 Removing unused Makefile.am files
REVERT: 6413245265 Did I mention I'm anal? :)  Fixed spacing in SDL_rwops.h
REVERT: 422fa052d6 Build both the .tar.gz and .zip archives when creating a CVS snapshot.
REVERT: cbc10a962d Prefer the raw Win32 API over stdio for file RWops
REVERT: ec48a1ec62 Date: Mon, 27 Feb 2006 02:17:29 +0100 From: "William Petiot [exoide]" Subject: Re: [SDL] cvs version: questions regarding HAVE_STDIO_H in standard w
REVERT: 5e4bf29fa7 Need this or things might misbuild on G3 Mac OS, I think.
REVERT: e7188c1d7c Oops, missed the header
REVERT: 66a8f11c20 Fixed some OpenWatcom warnings
REVERT: 46f459a736 Updated OS/2 build, yay!
REVERT: e1f2aca17a Getting closer... :)
REVERT: 094df0007e Passing a NULL GL library does the right thing nowadays.
REVERT: 00cfc17565 Fixed warnings in -pedantic mode
REVERT: df36fe080a Date: Sun, 26 Feb 2006 11:25:09 +0900 From: Hayashi Naoyuki Subject: Re: [SDL] CVS stable again, please update SDL ports
REVERT: cbc63acdb0 Make sure the OpenGL library is loaded before setting up OpenGL
REVERT: 218d042d75 Use the right dynamic GL on MacOS Classic
REVERT: 2b14c4d56e Created a single makefile for all the tests
REVERT: d259f33c63 Added SDL_sysloadso.c to the Visual C++ project
REVERT: 883b235150 SDL_windows.h is no longer necessary
REVERT: 83090323ef *** empty log message ***
REVERT: 34802f061b Updated CodeWarrior projects (at least MacOS ones)
REVERT: 64d37bbe89 *** empty log message ***
REVERT: e6d661762f Date: Sat, 25 Feb 2006 14:26:19 +0100 (CET) From: "Torsten Giebl" Subject: [SDL] testpalette.diff
REVERT: bb11c757f7 Update for Visual C++ 6.0
REVERT: 90e0097344 Updated with MrC includes and function definitions
REVERT: b25211fd37 *** empty log message ***
REVERT: e0ad8e3603 Hmm, how am I going to keep from committing bad versions of this?
REVERT: 8e8a8d88df Updated MacOS Classic MPW build
REVERT: ef1df3f896 Updated for Visual Studio Express 2005
REVERT: 14c0a48114 Added pre-configured versions of SDL_config.h for various platforms
REVERT: 20ee4c7b98 testplatform replaces testtypes, testendian, and testcpuinfo
REVERT: e32e1fa965 Added preliminary support for MiNT /dev/mouse driver (disabled atm)
REVERT: 9deda87010 *** empty log message ***
REVERT: cd56901cd9 *** empty log message ***
REVERT: fb6b885718 *** empty log message ***
REVERT: 40c21d512e Fixed script on mingw
REVERT: eea555f262 *** empty log message ***
REVERT: e4fa71362e ranlib needs to be run after the library is installed...
REVERT: 7c6f290b55 FIXME: This code needs to be rewritten to reference the static data using relocatable addresses (e.g. http://www.gentoo.org/proj/en/hardened/pic-fix-guide.xml or http://nasm.sourceforge.net/doc/html/nasmdoc8.html#section-8.2) This code currently breaks on systems with readonly text segments (hardened Linux / Intel Mac)
REVERT: 8b957d575c Fixed include files
REVERT: a0dcf4a00d Fixed assembly alignment error on Intel Macs. Do we really need 16-bit alignment here?
REVERT: 550d557de5 *** empty log message ***
REVERT: 6d2f939f1b Fixed build warnings on Intel Mac
REVERT: 0487d9cfe1 Fixed some preprocessor mangling
REVERT: b2a121cbd9 Whoops, forgot to check in this fix
REVERT: d5f983162e *** empty log message ***
REVERT: 08177094b3 Added a test case
REVERT: 8cf9cbbdf5 *** empty log message ***
REVERT: 3759311c8b Catch the C++ and Objective C sources too...
REVERT: c36118165e Use consistent identifiers for the various platforms we support. Make sure every source file includes SDL_config.h, so the proper system headers are chosen.
REVERT: 14ec0fcc7b *** empty log message ***
REVERT: 4b8a782592 Date: Mon, 20 Feb 2006 19:54:51 -0500 From: Brian Barnes Subject: [SDL] Fix for FSAA OS X bug -- Please fix in CVS Code
REVERT: 54d2bd5309 *** empty log message ***
REVERT: 56ce8052a7 Whoops. :)
REVERT: 38c3764836 Added rules to build libSDLmain.a Reverted Patrice's mint changes - you should fix the source files, not add include paths to the build process.
REVERT: 51408185bd Add missing include directories
REVERT: e15dc2b37b Hum badly edited source
REVERT: 92b598f538 Set the install permissions correctly
REVERT: ecb484cb9c Pass LDFLAGS to the build system
REVERT: 662f4db5a7 *** empty log message ***
REVERT: ffe9fbfbdf Blargle-fnargle dependencies and build rules
REVERT: 3b3e0efc02 Added DESTDIR support
REVERT: e149d87d15 Fixed X11 library detection Allow passing CFLAGS for the build in the environment
REVERT: 5b3fcf92ea Fixed build dependencies... ugh
REVERT: 7e395220f0 Tests require SDL 1.2.10
REVERT: b76a6d8e08 Pick the right default GL library on IRIX
REVERT: 4ac8b6c0f8 Fixed defaults for 8 bpp visuals
REVERT: 1d7a040939 build fixes for IRIX 6.5 - dynamic X11 loading works! :)
REVERT: 5427ab0258 NetBSD support
REVERT: d702fdf4ad *** empty log message ***
REVERT: c7eed5263e On FreeBSD, alloca is defined in stdlib.h
REVERT: b51a5b98fc Completely removed dependency on automake
REVERT: 1da8cb0143 Use only safe string functions
REVERT: a81db3ea34 *** empty log message ***
REVERT: 4951efe545 *** empty log message ***
REVERT: 5ab979a334 I don't think we need aclocal anymore (comes from the automake package)
REVERT: db567afe4b sprintf should have been snprintf
REVERT: c879c8da61 QuickTime depends on Carbon and ApplicationServices
REVERT: 4d1cb0597e *** empty log message ***
REVERT: cb0e17c5df Whoops
REVERT: 6a3ca64d82 Added a reminder on where to put libSDL.so
REVERT: 2d72e5571b Detect the X11 library on Solaris x86
REVERT: 24eabad234 Doh!  Bitten by search and replace. :)
REVERT: 297e20fe1d More fixes for building on BeOS
REVERT: 0449d3bfca Fixes for BeOS and Solaris builds
REVERT: 24728c6813 spaces, not tabs. :)
REVERT: bf70d145b1 Add missing clause
REVERT: f80053e4e9 Fix typo
REVERT: e0db705f31 Fixed building with cygwin
REVERT: 252c558b60 *** empty log message ***
REVERT: d3805eef09 New configure-based build system.  Still work in progress, but much improved
REVERT: 1507846225 *** empty log message ***
REVERT: 963b18d7ec *** empty log message ***
REVERT: 684909fae2 More header massaging... works great on Windows. ;-)
REVERT: 7d878d138f Whoops, need this. :)
REVERT: 3732b0b8bd *** empty log message ***
REVERT: 5f8e63ee29 *** empty log message ***
REVERT: c882586f78 Fixed build problem with SDL_string.c Officially deprecated SDL_byteorder.h, SDL_getenv.h and SDL_types.h Moved endian-related SDL_rwops code into SDL_rwops.c
REVERT: 0e9a85e9de Started the process of improving configure support, and merging C types and library support into a single header.
REVERT: 43c632905d Disable freaking autoheader. :)
REVERT: 6c427bdf5c Changed X11 header order so it works on Solaris.
REVERT: 83e8409a41 Fixes for new SDL embedded libc stuff
REVERT: 4643293856 *** empty log message ***
REVERT: fc0f66b503 Date: Mon, 6 Feb 2006 11:41:04 -0500 From: "mystml@adinet.com.uy" Subject: [SDL] ALT-F4 using DirectX
REVERT: 30598fe2d3 Check for strtod
REVERT: 940b39882a Default to build SDL without MSVCRT
REVERT: 80444aefd9 Fixes for Visual C++ 6.0
REVERT: 3a030bf60f         G:\SDL-12-CVS\src\video\math_private.h(171) : error C4226: nonstandard extension used : 'huge' is an obsolete keyword
REVERT: 312ed38701 *** empty log message ***
REVERT: 6c005e80c2 Fixed it Hayashi Naoyuki's way. :)
REVERT: 78516b5663 Configure dynamically generates SDL_config.h I'm still wrestling with autoheader, but this should work for now... Fixed lots of build problems with C library support disabled
REVERT: dd8d77d906 Faster fades when changing to/from/between fullscreen modes on Mac OS X. Also,  it doesn't show the desktop between modes anymore.
REVERT: c5c8f9447a *** empty log message ***
REVERT: 09cd73f1b5 Removed uses of stdlib.h and string.h
REVERT: 098fe1b8e9 Don't touch code that we brought in from other sources
REVERT: 5d53175e4d Use SDL_ prefixed versions of C library functions. FIXME: Change #include <stdlib.h> to #include "SDL_stdlib.h" Change #include <string.h> to #include "SDL_string.h" Make sure nothing else broke because of this...
REVERT: 00f6d8e5e3 SDL_config.h will eventually be a general feature set test, which will be useful for any program built with SDL on a given platform.
REVERT: 8b467b1a53 Proper credit to uClibc :)
REVERT: 16adab89bf *** empty log message ***
REVERT: 8bc08d11c7 Update from Alan Buckley
REVERT: ed90299388 A few fixes to get this building on Linux again
REVERT: 6c3f928cd8 It's now possible to build SDL without any C runtime at all on Windows, using Visual C++ 2005
REVERT: 5372bfd326 Seek back to start on error
REVERT: 2e0199fd76 Date: Sat, 04 Feb 2006 19:47:23 +0900 From: Hayashi Naoyuki Subject: Re: [SDL] Character Composition problem on X
REVERT: 83dd6ffbdd Resolved bug #130 Use XFilterEvent() to handle dead-key composition under X11 Cleaned up the code in preparation for 1.3 API changes
REVERT: 2a89b508cf From: Hayashi Naoyuki
REVERT: a50283a155 Resolve bug #120 Use the real executable's name for the window class, if it's available.
REVERT: a7df9020de Favor using pthread_mutexattr_settype() on Linux.
REVERT: 17858398d5 Fixed compile warning
REVERT: f4ce91d5d6 Update for mintlib 0.57.6 (m68k-atari-mint libc)
REVERT: 69105bfa92 Date: Wed, 1 Feb 2006 18:20:33 -0800 From: Eric Wing Subject: SDL/Universal Binary updates
REVERT: 3ec23b39e1 AAlib driver was using C runtime string functions without including string.h.
REVERT: 1f6bc947a3 Logic bug in X11 Unicode input shutdown...was checking for == NULL  when it should be != NULL.
REVERT: 67ecc5318b Eliminate duplicate modes with different refresh rates
REVERT: a3a33b0acc Updated exports
REVERT: f96c07e0f4 *** empty log message ***
REVERT: 3a3a919df5 Merged useful fixes from 1.3 branch
REVERT: 4c392943ac Fixed dynamic X11 for now, I think.
REVERT: 2fb09900d2 *** empty log message ***
REVERT: eea4857268 Updated copyright information and removed rcs id lines (problematic in branch merges) I batch edited these files, so please let me know if I've accidentally removed anybody's credit here.
REVERT: 71bd9c65a3 *** empty log message ***
REVERT: 38fa054d3c Add flag to post mouse button events or not, and use defined function to post them
REVERT: 323d0d149d Bah, I don't know what I'm doing.
REVERT: 0fffaabf20 Quit building the frigging F77 libtool configuration!
REVERT: d1ff42252a We're no longer doing compile checks on the X11 extensions which we include. (Resolves bug #114)
REVERT: dc8dc16fd6 Changed references to XFree86 to Xext to match change in directory structure.
REVERT: 1310074b9a Reverted in favor of this one: https://bugzilla.libsdl.org/attachment.cgi?id=3
REVERT: 47251659fb XFree86 directory renamed to Xext
REVERT: f437ac4112 Date: Tue, 05 Jul 2005 21:43:26 +1000 From: Sean Childs Subject: [SDL] Compiling SDL 1.2.8 with the free Borland compiler
REVERT: dd7245a17c Date: Sat, 14 Jan 2006 15:16:01 -0500 From: Andrew Fuller Subject: [SDL] [PATCH] ML-8866 PS2->USB converter
REVERT: da27ab0763 Oops
REVERT: d56868ac0a Removed some old Mac OS X cruft.
REVERT: a8366ab97d Corrects dynamic X11 code on Tru64 systems.
REVERT: 1432f548f2 This library is now available under the LGPL 2.1, the major change of which is allowing linking with a shared object to be considered sufficient for complying with section 6 of the LGPL.
REVERT: 3030ebfad9 *** empty log message ***
REVERT: 4218be9275 Fixed crash: #include <SDL.h>
REVERT: 039ea90113 Date: Sun, 6 Mar 2005 17:06:20 +0100 From: Per Inge Mathisen Subject: [SDL] Fullscreen refresh on win32
REVERT: d2ded39e88 Date: Fri, 18 Feb 2005 20:49:35 +0200 (EET) From: ville Subject: [SDL] Changing, at least some, anonymous enums to named enums.
REVERT: ed6a111bc6 Added some useful command line arguments for testing
REVERT: 838b802349 Fixed palette bug on non-WinCE
REVERT: e051a43d15 Only save the window position if we're in windowed mode
REVERT: b8df286813 The event code was fine, and calculated the SDL_windowX/Y correctly. What we really needed to do was avoid doing client rect adjustment on zoomed windows. :)
REVERT: b49e57abdf Date: Fri, 18 Feb 2005 07:58:00 +0200 From: "Mike Gorchak" Subject: [SDL] [PATCH] QNX6 and not only QNX6 fixes
REVERT: f708868dbd Cleaned up the app registration stuff a bit
REVERT: 31d40ce879 Date: Tue, 15 Feb 2005 21:28:48 +0900 (JST) From: "Michael Leonhard" Subject: [SDL] resize bug on Win32 and patch
REVERT: 16857d624d Use the executable directory, not the current directory, for stdio output files
REVERT: baaae734d7 *** empty log message ***
REVERT: dd2c4cfcfd Report both absolute and relative motion
REVERT: c6c791fee6 Date: Fri, 14 Jan 2005 21:52:46 +0100 From: "SkunkGuru" Subject: [SDL] Repeated mousemotion event on notebook
REVERT: ee646e66c0 Date: Sat, 15 Jan 2005 02:01:51 +0000 (UTC) From: jimrandomh Subject: [SDL] Re: Modifier keys pressed during initialization stick
REVERT: c76025809e *** empty log message ***
REVERT: 82eea8b8fd Re-query the SDL_WINDOWID each time we initialize the video
REVERT: 737b3f5a1d *** empty log message ***
REVERT: 3441f3ea04 Avoid warnings in Visual C++ 2005
REVERT: dd364f45cd *** empty log message ***
REVERT: 4d80aa4864 Wacky! :)
REVERT: 33f5989f5a Fixed to match the docs
REVERT: 8cf42f6c8b Date: Mon, 23 Feb 2004 23:29:20 -0500 From: "Brian Kropf" Subject: [SDL] Windx5
REVERT: 7f32320065 Who'd have thought that Windows CE wouldn't have the environment APIs?
REVERT: 343205ba6d Compile fix for Window CE
REVERT: f9a0d22b6b Whoops!  (hope this compiles...)
REVERT: cf624c02db Updated config* from CVS http://cvs.savannah.gnu.org/viewcvs/config/?root=config
REVERT: fa1a025d07 Some explanation on why SDL_RWFromFP doesn't always work on Win32
REVERT: a17bf3f69d Use Win32 API for putenv/getenv to avoid C runtime conflicts
REVERT: 0a8520eb1f Correctly manage mouse relative motion
REVERT: 7109c9a265 SDL_GetVideoMode, part 3: pixel count compare was failing when only 1 video mode was present
REVERT: ca8ee26f87 Date: Mon, 22 Sep 2003 23:31:54 -0700 (PDT) From: Rob Neff Subject: [SDL] testgl.c minor bug fix for fullscreen mode
REVERT: 866ce3c387 Date: Sun, 21 Sep 2003 19:52:42 -0600 From: Tyler Montbriand <tsm@accesscomm.ca> Subject: Re: [SDL] Hardware buttons on pocket pc
REVERT: fbc7623f09 *** empty log message ***
REVERT: 3fb937938e Hopefully the X servers have been fixed (in 5 years) :)
REVERT: 3cc77ac934 Date: Thu, 04 Sep 2003 02:12:35 +0200 From: Ignacio Casta�o <castanyo@yahoo.es> Subject: [SDL] SDL_GL_GetAttribute( SDL_GL_MULTISAMPLESAMPLES ...
REVERT: 3506c143db Date: 10 Jun 2003 15:30:59 -0400 From: Mike Shal Subject: [SDL] Bug in SDL_wave.c?
REVERT: e0fbb3b543 te: Thu, 17 Apr 2003 11:25:26 -0700 From: "Jim" Subject: [SDL] Frame buffer patches...
REVERT: ba553ad7d1 Date: Thu, 19 Jan 2006 20:02:29 +0200 From: Vassilis Virvilis <vasvir@iit.demokritos.gr> Subject: [SDL] Request: Please reconsider adding tag in SDL_Event
REVERT: ecf79e4d56 [PATCH] SDL_GetVideoMode() does not find best mode, part 2
REVERT: cde83fe77a Rollback 1.28 change, but only for UpdateRects function this time
REVERT: 90d632bc18 Fixed MPW include file order
REVERT: d36b0d695c *** empty log message ***
REVERT: e63977fbad Implemented ToUnicode() support on Windows 95/98/ME/NT/2000/XP This is a collaborative effort between Alex Volkov and John Popplewell. Thanks guys!  (Fixes bug #39)
REVERT: d32b3a376f Added .cvsignore to the XME directory.
REVERT: f2d9ddec98 Updated Windows CE/PocketPC support...adds GAPI driver, landscape mode,  updated project files, VS2005 support, VGA mode, more device support, etc,  etc, etc.
REVERT: e691b06188 Fixed up build script to catch some of the newer files in a "make dist" run.
REVERT: c34047f576 *** empty log message ***
REVERT: 37f6992829 Catch X11 extension errors...since most of these are notifications that we  queried for a missing extension (such as the XiG vidmode one that most  people don't have), and default Xlib behaviour is to write notification to  stderr, this tends to generate incorrect bug reports.
REVERT: 0eb1d37f73 Don't trample SDL_LoadObject()'s error message in GL loader.
REVERT: a216fe3cc6 Make error message meaningful if dlopen() fails on libX11.
REVERT: 3eebcae2d9 Patched to compile with debugging enabled.
REVERT: 589c3c2241 More dynamic X11 work.
REVERT: 802fb9605f Patched to compile.
REVERT: c1c1b65a1e Add XME hooks to X11 driver instead of relying on libxme...libxme hasn't  changed in five years, and it's a small .c file that just calls into the X11  dependencies we already use elsewhere. Including it directly allows us to  make use of the dynamic X11 code.
REVERT: 474b79de1c Properly restore vidmode when switching back to SDL's virtual terminal with  the fbcon driver: Fixes Bugzilla #37.
REVERT: 958cb54ab3 From Bug #36:
REVERT: 63a2120830 Rollback
REVERT: 107e0fbfce Load default OpenGL library if needed at driver initialization
REVERT: 0022cb28fe Disable XBIOS driver for mouse and joystick under MiNT. Will write a driver for /dev/mouse later.
REVERT: ff0632ca53 Minor bit of debug output added to dynamic X11 code.
REVERT: 8f549cb8e9 Make some dynamic X11 symbols option. _XData32 and _XRead32 are only available  on 64-bit systems, and are chosen with macros in the X11 headers. So on  32-bit systems, it should fail to find these symbols and keep going anyhow.
REVERT: 68e2ab6505 For sanity's sake, removed the '&' when passing copy_row array to asm.
REVERT: 50b7b55c2c Patched to compile.
REVERT: 3283200097 Added optimized C 32bit RGB<->RGBA alpha masking blitter from Alex Volkov.  Fixes Bugzilla #11.
REVERT: 7341c5d504 testblitspeed.c improvements: cleaned up output, and allow user to set surface  alpha attributes.
REVERT: 9cff95c690 From Mike Frysinger and/or Gentoo:
REVERT: b1c0273cee Patch from Michael Bonfils to add CPUID support for x86 Solaris.
REVERT: 62c43568f9 From Mike Frysinger and/or Gentoo:
REVERT: f5f2890758 From Mike Frysinger and/or Gentoo:
REVERT: d28ecd1a1c More dynamic X11 fixes...catches some code in Xlib headers that caused  dependencies...
REVERT: 72c870cf14 Windows should use _beginthreadex() instead of CreateThread(), to avoid a  memory leak on each joined thread.
REVERT: 4b43b304ab Debug code should check right function names.
REVERT: 7481988a95 Removed some incorrect comments in the "dc" driver that survived the  initial cut-and-paste from the dummy video skeleton.
REVERT: 19bd837abc Bumped the version number for the next release
REVERT: 7fcbae510e Use a simple table for Unicode translation
REVERT: aaf8ca0d42 Quartz driver: Make sure we pass a pointer to the right type.
REVERT: ca9a638c42 Quartz driver: Correctly handle SDL_DOUBLEBUF|SDL_FULLSCREEN when the  resolution is too small and thus emulated by SDL.
REVERT: 22cfa5480b Quartz target: set x and y field of mode list to 0 in SDL_ListMode call.
REVERT: a4cb3b2164 Oops, actually use the timings in the modes db. :) FIXME: Add some way of specifying the refresh rate we want to select!
REVERT: a61ae6f326 *** empty log message ***
REVERT: a88b4dffd4 Added support for parsing /etc/fb.modes, based on Stephane Marchesin's patch
REVERT: 1c8744d7fb Toggle flip debugging in testsprite.c on the command line, not as a hardcoded  #define.
REVERT: b4270503ba Quartz target shouldn't crash if an event thread is used.
REVERT: 53c1e9d007 To: sdl@libsdl.org From: Christian Walther <cwalther@gmx.ch> Date: Thu, 15 Dec 2005 21:19:53 +0100 Subject: [SDL] More mouse enhancements for Mac OS X
REVERT: a499115a04 To: sdl@libsdl.org From: Christian Walther <cwalther@gmx.ch> Date: Wed, 28 Dec 2005 12:13:20 +0100 Subject: [SDL] Fix for opening documents on Mac OS X < 10.4
REVERT: 4b19712d42 Bumped windib's priority above DirectX, since both DirectDraw and DirectInput  seem to be giving people issues on newer Windows and DX revisions. We'll see  if this is just a temporary fix or not...  :/
REVERT: 8e86d24274 Added preliminary missingtranslation from Atari to Unicode charset
REVERT: 8d0272cef5 From: "alan buckley" <alan_baa@hotmail.com> Subject: Patch for RISC OS cursor palette handling in SDL Date: Mon, 07 Nov 2005 09:14:15 -0800
REVERT: b8d5b0fb36 To: sdl@libsdl.org From: Christian Walther <cwalther@gmx.ch> Date: Wed, 21 Dec 2005 13:39:39 +0100 Subject: [SDL] Another mouse bug patch for Mac OS X
REVERT: 871f4f92a2 Patched to compile on gcc 2.95.3.
REVERT: 4cbc5d4b64 Updated to the latest glext.h
REVERT: bdccb5d179 Date: Tue, 13 Dec 2005 13:33:50 +0000 From: "alan buckley" Subject: Patch to fix audio locking on RISC OS
REVERT: f57d6fbb0c Fixed configure script on latest Mac OS X developer tools (and hopefully  didn't break it everywhere else...grumble...)
REVERT: 54349c765c Matched SDL_AllowRW and SDL_FreeRW calls in SDL_rwops.c ...
REVERT: 53f29a2cb5 Date: Sat, 10 Dec 2005 18:29:41 +0100 From: Alberto Mardegan <mardy@users.sourceforge.net> To: sdl@libsdl.org Subject: [SDL] [PATCH] Touchscreen support to fbcon via tslib
REVERT: 529abd8105 Date: Sun, 11 Dec 2005 20:37:04 +0100 From: Olivier Boudeville <olivier.boudeville@online.fr> To: "A list for developers using the SDL library. \(includes SDL-announce\)" <sdl@libsdl.org> Subject: [SDL] NetBSD build patch
REVERT: ec5be28202 From: Mike Frysinger <vapier@gentoo.org> To: sdl@libsdl.org Date: Sun, 11 Dec 2005 22:57:37 -0500 Subject: [SDL] exec stack in libsdl update
REVERT: 8ce4fc3c4d Fixed gcc 4 warnings
REVERT: be38bc3621 Fixed compiling with gcc 4, patch applied from Gentoo Bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=87809
REVERT: 81b8c57ff2 Fixed compile warnings with gcc 4
REVERT: eb508c4b4b Fixed OpenGL usage in Quartz target when SDL_SetVideoMode() is called without  explicitly calling SDL_GL_LoadLibrary() first.
REVERT: 899552b941 Date: Sun, 04 Dec 2005 21:43:46 -0500 From: Jonathan Atkins <jcatki@jcatki.no-ip.org> Subject: SDL patch: DGA key events
REVERT: 11bce0a358 Don't need to link against libstdc++ on Mac OS X now.
REVERT: fff622da69 To: sdl@libsdl.org From: Christian Walther <cwalther@gmx.ch> Date: Fri, 18 Nov 2005 23:39:02 +0100 Subject: [SDL] Mouse position bugs on Mac OS X
REVERT: 3631611a1c Seperate glX from HAVE_OPENGL, for platforms that have both an X server and  a more official way to do OpenGL, explicitly check for glX on Mac OS X, and  use SDL_LoadObject for platforms that have glX but don't have dlopen().
REVERT: b08452cb40 OS/2 port!
REVERT: c154edb92f Moved Quartz SDL_GL_LoadLibrary() to SDL_loadso interface.
REVERT: 5e5e820c40 Added #include "SDL_loadso.h" to SDL.h.
REVERT: db57e4884f To: sdl@libsdl.org From: Staffan Ulfberg <staffan@ulfberg.se> Date: 19 Nov 2005 01:00:48 +0100 Subject: [SDL] New driver for OpenBSD/wscons
REVERT: b744b23500 Patched OpenBSD audio to compile on newer GCC versions.
REVERT: e94a4e9464 Apparently some bits of the BSD joystick code are x86 only...joystick.h  only exists at /usr/sys/arch/i386/include/joystick.h, for example.
REVERT: e65ddc53f0 Date: Tue, 22 Nov 2005 14:11:06 +0100 (MET) From: Mattias Karlsson <betasoft@acc.umu.se> To: sdl@libsdl.org Subject: [SDL] [PATCH] Fix (tiny) build problems on solaris (fwd)
REVERT: 95fae08400 Fixed bug reported here:
REVERT: f682111cbb X11 driver now chooses "libGL.so.1" as a default when a NULL is passed to  SDL_GL_LoadLibrary().
REVERT: 4893ceacfc Quartz driver OpenGL updates:
REVERT: 374ad1d764 From: Tyler Montbriand <tsm@accesscomm.ca> To: sdl@libsdl.org Date: Fri, 30 Sep 2005 02:24:50 -0600 Subject: [SDL] WinCE timers, continued
REVERT: 1e285f766b Don't use X11 unicode keys on anything but keypress events.
REVERT: d8cb11bbdd Real Unicode support for X11. Based on updated version of this patch:   http://lists.arabeyes.org/archives/developer/2004/June/msg00160.html
REVERT: f38c0e72d9 SDL_GL_LoadLibrary() was returning 1, and not 0, to signify "success" on the  Quartz target...fixed this to match the documented behaviour.
REVERT: d8c36bac77 Date: Mon, 17 Oct 2005 20:09:03 -0400 From: Mark Schreiber <mark7@alumni.cmu.edu> To: ryan@clutteredmind.org Subject: [PATCH]SDL mprotect() crash fix
REVERT: 3e4fa6b4d9 Fixed Altivec support on Mac OS X.
REVERT: ac4bc6a495 Enable dynamic X11 on Mac OS X.
REVERT: d8ec9e79c2 Split up src/SDL_loadso.c into platform directories.
REVERT: 3c37bc53e6 Don't crash if a NULL is passed for a "%s" parameter to SDL_SetError(),  instead replace it with the string "(null)", like glibc's printf() would do.
REVERT: 37c07bd99d Fixed crash when dynamic X11 fails to load system Xlib libraries at runtime.
REVERT: 0d1c5d91b8 Use the right libs in dynamic X11 loading.
REVERT: 5bbfac2e12 Date: Sun, 06 Nov 2005 18:23:03 +0900 From: Hayashi Naoyuki <titan@culzean.org> To: "A list for developers using the SDL library. \(includes SDL-announce\)" <sdl@libsdl.org> Subject: Re: [SDL] Dynamic X11...
REVERT: 0d4d13b23f Dynamically load X11 libraries like we currently do for alsa, esd, etc.  This allows you to run an SDL program on a system without Xlib, since it'll  just report the x11 target unavailable at runtime.
REVERT: 2f61404a42 Date: Sat, 05 Nov 2005 17:46:48 +0900 From: Hayashi Naoyuki Subject: SDL_numjoysticks: multiply defined
REVERT: 5a00c8d7c3 Date: Tue, 1 Nov 2005 20:25:10 +0100 From: Dirk Mueller Subject: [PATCH] build SDL with nonexecutable stack
REVERT: f66fc3163d Date: Tue, 1 Nov 2005 02:51:09 +0000 From: Mike Frysinger <vapier@gentoo.org> To: sdl@libsdl.org Subject: Re: [SDL] libsdl needs some tweaks for DirectFB 0.9.23
REVERT: 80fea81d48 Date: Mon, 31 Oct 2005 14:23:34 +0100 From: Thomas Omilian <paccy@arcor.de> To: sdl@libsdl.org Subject: [SDL] SDL_SoftStretch() fixed!
REVERT: 017da2d103 Prevent division-by-zero in WarpMouse if surface's pitch is zero (a GL surface?).
REVERT: 47107f28ba Enable altivec blitters on PowerPC Linux, and some fixes for recent  GCCs versions.
REVERT: dba88d23b2 Placate gcc's strict aliasing rules with an extra cast.  Casts to (char *) will disable strict aliasing when the compiler sees it.
REVERT: 91ccaf4d16 Closed a memory leak caused when quitting video subsystem on Quartz target.
REVERT: 4d7c808abf Valgrind fix.
REVERT: 071e2180f4 POSIX clock_gettime() isn't available on Linux before 2.6, and the symbol may  just be flat out missing from glibc, so force use of previous gettimeofday()  behaviour for now.
REVERT: 5f4821067f Date: Mon, 10 Oct 2005 13:09:32 +0300 From: Tommi Kyntola <tommi.kyntola@ray.fi> To: sdl@libsdl.org Subject: [SDL] [RFC] get_ticks broken on linux
REVERT: cdc4551284 Date: Tue, 11 Oct 2005 16:58:12 +0300 (EEST) From: =?ISO-8859-1?Q?Martin_Storsj=F6?= <martin@martin.st> To: sdl@libsdl.org Subject: [SDL] [PATCH] Use nanosleep on OS X
REVERT: 7ad062e148 Fixed some compiler warnings about "unreachable code" on Watcom C.
REVERT: 197396555b Fixed compiler warnings in Watcom C.
REVERT: a2c23b6984 SDL_CDROMInit() shouldn't be a stub in the dummy driver, since that's  implemented in the higher-level CD code.
REVERT: ba06fd388b Updates to PocketPC (WinCE) support, thanks to Dmitry Yakimov at  activekitten.com.
REVERT: 91121c3104 Removed atexit() from most of the test programs; atexit(SDL_Quit) isn't safe  if SDL is built with a non-cdecl calling convention, and it's just generally  bad practice anyhow.
REVERT: 004ec06058 Typo that broke Windows builds.
REVERT: 37c0610107 Same inline asm bug in S8 mixer, fixed last night, is also in the MSVC version.
REVERT: 89def2a9d1 Patched inline assembly to compile on gcc 4.0.1. Details are here:
REVERT: e140cfc98d From: "Alex Volkov" <avcp-sdlmail@usa.net> To: "'A list for developers using the SDL library. \(includesSDL-announce\)'" <sdl@libsdl.org> Date: Mon, 19 Sep 2005 18:59:43 -0400 Subject: [SDL] [patch] Volume multiplier bug in
REVERT: a4387baa5a Date: Sat, 17 Sep 2005 13:38:49 +0200 From: Jon Daniel <forcemaster@gmx.net> To: sdl@libsdl.org Subject: [SDL] SDL_SemWaitTimeout patch for BeOS
REVERT: 7791c73962 Patch from Martin Lange (mala-sdl at hotmail.com) to unregister SDL's win32  windowclass when shutting down the video subsystem...this allows you to  safely unload/reload the SDL shared library on Windows between  initializations.
REVERT: c8157c1d15 Date: Sun, 11 Sep 2005 14:41:07 +0300 (EEST) From: =?ISO-8859-1?Q?Martin_Storsj=F6?= <martin@martin.st> To: sdl@libsdl.org Subject: [SDL] [PATCH] Switching between fullscreen/windowed on OS X
REVERT: 7be238c6aa Replaced Mac OS X's C++ cdrom code with almost-direct translation to C. Sam  requested this effort on the mailing list, apparently because of binary  compatibility issues between 10.4 and earlier systems (or gcc4 and earlier  compilers?).
REVERT: cddfe242c6 Date: Fri, 2 Sep 2005 21:56:50 -0400 From: Mike Frysinger Subject: [SDL] [patch] make sure autotools worked
REVERT: 127b91199d If couldn't load a needed GL symbol in SDL_SetVideoMode(), report it more  specifically. Patch by Anders F Bj�rklund <afb@algonet.se>.
REVERT: ecbe9ec648 iPod Linux framebuffer support.
REVERT: 45d84e2337 Altivec blitter for 555 -> 8888 surface, written by me.
REVERT: 778e64dc78 Commercial-OSS-on-Solaris patch...
REVERT: 989dfdb02b Byte order detection fixes in SDL_endian.h ...
REVERT: 36330ae2c9 Fix dlvsym() detection in the configure script.
REVERT: e6ea19255d Mac Classic and CodeWarrior patches.
REVERT: 25edbb7066 Forgot to add this with the previous Carbon/Cocoa/X11 commit.
REVERT: 1d1a4b193f The MacOSX Carbon/Cocoa/X11 all in one library patch. Relevant emails:
REVERT: c705e88b5b *** empty log message ***
REVERT: 76768380b6 Merged the Visual C++ 6 and 7 projects so all Visual C++ users unpack the same set of projects to get started.
REVERT: 74c4cad539 Updated version number
REVERT: 098f961172 Updated the version number...
REVERT: ad320924b7 *** empty log message ***
REVERT: f408fa8196 Date: Mon, 22 Aug 2005 04:22:46 -0400 From: "Ryan C. Gordon" Subject: [Fwd: SDL patch: make usage of rpath optional]
REVERT: 3da700edc4 Fix for bug reported by Michael Benfield on the SDL mailing list:
REVERT: a3e073d82b Apparently MacOS X will sometimes pass command line arguments to a Cocoa  app as an openFile() message, so we have to make sure we were launched from  the Finder before accepting these as drag'n'drop documents, or they will just  duplicate what's already in argc/argv.
REVERT: 447103bbe0 *** empty log message ***
REVERT: 9608780d27 Date: Fri, 08 Jul 2005 22:43:48 +0200 (CEST) From: Jiri Svoboda Subject: [SDL] signal handling bug
REVERT: 3eacd1d2c1 From Patrice Mandin:
REVERT: 64eb7c00d7 Added support for Visual C++ 2005
REVERT: 351fcc956e Patch by me to fix crash described below.
REVERT: 70bdab5cb5 SDL_GetAppState() correction when toggling fullscreen on OSX.
REVERT: 4659196096 Date: Wed, 17 Aug 2005 11:23:40 -0400 From: Matt L <prometheus.uw@gmail.com> To: "Ryan C. Gordon" <icculus@clutteredmind.org> Subject: SDL Patch
REVERT: 17254837b9 From: Jim Paris <jim_jtan_com> To: sdl@libsdl.org Date: Sat, 9 Jul 2005 13:59:33 -0400 Subject: [PATCH] fix locking in src/timer/SYS_timer.c
REVERT: afa9f374aa Sleep a bit less in thread
REVERT: 4926389885 Fixed mismerged patch.
REVERT: 62cf7a756e Patches to make SDL compatible with Win95 again.
REVERT: d1c3cb7d61 In MacOSX, when drag'n'dropping a document on an SDL app, or double-clicking a  document associated with the app, the document(s) are passed to SDL_main()  as if they were command line arguments. Otherwise, the command line is always  empty and there is no way for the app to recover this information.
REVERT: 4410d5b4c7 Document recent audio updates
REVERT: df10913d3d Use MiNT thread to update DMA pointers instead of unusable MFP interrupt
REVERT: 6d7043d388 Revert back to 1.6 revision
REVERT: e145a38bfa And do not forget the correct test
REVERT: 1f4aca7607 Was checking wrong address for ACIA MIDI
REVERT: 0a4aca5234 Can use both clocks of FDI interface on Falcon, plus digital output
REVERT: 3bcb730b00 Disable XBIOS in interrupt also under Magic
REVERT: 467a069a72 Disable Centscreen screensaver
REVERT: 650743552c Tell user how many bytes are needed
REVERT: b298c8ca8f Tell SDL to notfree my video surfaces (Damn, no how-to write a SDL driver)
REVERT: d7493d7380 Revert back change between 1.29 and 1.30
REVERT: 01e4794725 Revert back screen centering when using c2p
REVERT: a8056c8f3a Checking external clock on DSP port was leaving audio crossbar in limbo state
REVERT: 82d3a5b357 Date: Fri, 15 Jul 2005 08:29:01 +0100 From: "alan buckley" Subject: SDL Improved semiphore implementation for RISC OS (version 2)
REVERT: 94e3341891 Set MFP interrupt at end of frame
REVERT: ab3f230797 Move GSXB callback to C source
REVERT: d078268df8 Reserve space in system buffer to call XBIOS from interrupt
REVERT: 329612713c XBIOS in interrupt not usable under MiNT
REVERT: 6ebd3d9b2f Set hardware palette to black in True Colour mode
REVERT: 196a420886 Save all registers on interrupt
REVERT: 757bc45918 Forgot variable declaration
REVERT: 04f98ae403 Correctly process top/bottom event messages
REVERT: 134ad2d722 Send window to the bottom
REVERT: c18a7c8a82 Don't use both mouse events for the same task
REVERT: 79cf651fd4 Don't generate multiple mouse focus events
REVERT: e8efe3264b Document IKBD hardware problem with mouse buttons and joystick fire buttons
REVERT: 5b2a59fb84 Cleanup C2P routine
REVERT: dcfed1dcf2 4bits screen also has hardware palette
REVERT: d2b5ec924e Was not using firstcolor parameter
REVERT: 7425c511cd Direct newbies to what to do
REVERT: 8197bd2138 Avoid generating multiple key press/release messages for the same key
REVERT: 17068ad433 Call old interrupt when receiving MIDI stuff
REVERT: 04378970a9 Remove debug code
REVERT: 79d45a93d5 Forgot enumeration value for Atari clones
REVERT: 3a608a4430 Patch from Antonio SJ Musumeci:
REVERT: a3c1fe415f The Darwin/MacOSX joystick code is largely copied from the HID Utilities  package...make the symbols defined by HID Utilities static inside SDL so that  an app can link against their own copy of this package without symbol clash.
REVERT: f1867eeb87 [PATCH] SDL_GetVideoMode() do not find the best video mode
REVERT: 7dc6f6ec45 Use wrong line length of menubar save buffer
REVERT: c939af3952 Save/restore system palette when application topped/untopped
REVERT: 5c3476bac3 Another forgotten variable declaration
REVERT: d1f0ebd372 Use correct system function to free memory
REVERT: 6368b80bbe SDL will center surface on screen for us
REVERT: 712b49b43d Forgot variable declaration
REVERT: 8b97e0145b Restore and save menu bar when entering and exiting fullscreen mode
REVERT: 19e3a0374d Can not grab mouse
REVERT: b2f12b0900 Better mouse lose/gain focus
REVERT: d950aa13c6 Resize window to fit asked video mode
REVERT: 324e30cda6 Enable/disable mouse focus
REVERT: bb02e3194a Add Centscreen extended modes support
REVERT: b9094f71eb Used wrong offset in joystick packet
REVERT: 4233943186 Date: Tue, 22 Mar 2005 23:50:20 +0100 From: Johannes Schmidt Subject: [PATCH] Re: [SDL] SDL 1.2.8 Prerelease
REVERT: 901bb54c0c Add Falcon Centscreen extension support
REVERT: 78aeed71c4 Support SDL_VIDEO_X11_NODIRECTCOLOR for OpenGL visuals
REVERT: 53aa2122f0 Date: Tue, 10 May 2005 22:15:25 +0100 From: Peter Naulls Subject: RISC OS SDL patch
REVERT: 16bce3b7ad Eh, more correct.
REVERT: 86cb73f365 Date: Mon, 02 May 2005 04:23:16 -0500 From: Jonathan Atkins Subject: Re: [PATCH] *CRITICAL* 8bit direct RGB palette not being created
REVERT: 00bc47ce3e *** empty log message ***
REVERT: 18ce83733a *** empty log message ***
REVERT: ff6867e4dd Add support for ARAnyM Atari emulator
REVERT: 1af9c2a12a Patched to compile again on x86 systems that use the assembly blitters.
REVERT: 8907a054cf Some work on using accelerated alpha blits with hardware surfaces.
REVERT: ec77fa9503 SDL_CDOpen() fails on Linux if data track on disc is mounted in the  filesystem. Removing O_EXCL from open() call fixes this.
REVERT: 901515a5d4 Holding down shift while moving the mouse's scrollwheel on MacOS X makes the  OS report these are "horizontal scrollwheel" events, which confuses gaming  apps in several legitimate conditions. Now all scrollwheel events are made  to look vertical when passed to the app.
REVERT: fa85ee1b48 Mixer: Visual C MMX asm code now aligns loops to 16 bytes.
REVERT: 3ef0f4eccd Fixed direction key input on WinCE devices, thanks to  cal-at-splitreflection-com.
REVERT: 48c21b291e Altivec-optimized blitters!
REVERT: 20dbe0d931 Added some parentheses for a little more macro safety. Recommended by Petri  Kero, here: http://www.devolution.com/pipermail/sdl/2005-March/067630.html
REVERT: dc6bb60504 Release CPU when waiting
REVERT: ea3ab2c3d9 Optimize also for 68020 and higher CPUs
REVERT: 1b3ddcd400 Disable debug code
REVERT: 5c6b522728 Dynamically create list of video modes, easier to add new ones
REVERT: ef3a6ed144 Was using width of surface instead of pitch to calculate length of surface width in words
REVERT: 9681f989b4 Preliminary support for Blowup and Screen Blaster 3 extensions on Atari Falcon 030
REVERT: 8556c7d396 Added testblitspeed to aid in profiling of SDL's blitters.
REVERT: 21243fbeb6 Ugly hack to make this work with gcc 2.x and 3.x Thanks to Stephane Marchesin for the dirty dirty work.
REVERT: b359512630 Date: Tue, 01 Feb 2005 17:53:07 -0800 From: Bill May Subject: [SDL] Diffs for dsp audio in case of failures.
REVERT: 999b432dc5 [SDL] [PATCH] fix FB_VideoQuit for ia64 Jesse Barnes Fri Jan 14 11:13:54 PST 2005
REVERT: a0f696ddfa Date: Wed, 26 Jan 2005 13:37:09 GMT From: Peter Naulls Subject: RISC OS SDL Patches
REVERT: 3a0261fdf5 clear convert.buf before filling it
REVERT: 87be6195cd The fix is going back in. :)
REVERT: b98f9d6fcf Date: Mon, 24 Jan 2005 21:37:56 +0800 From: Chris Taylor Subject: Patch to put back dynamic OpenGL loading for MPW
REVERT: b56b326a42 Date: Sun, 16 Jan 2005 19:20:15 +0100 From: Stephane Marchesin To: Kirill Ponomarew Subject: [SDL] Problem on x86_64 with latest CVS (Re: sdl12 with gcc-2.95)
REVERT: 0d9f27d255 Date: Sat, 15 Jan 2005 15:06:01 -0600 From: Tyler Montbriand Subject: [SDL] minor bugfix for test/testoverlay2.c
REVERT: df4b061868 Date: Mon, 17 Jan 2005 20:54:50 +0200 From: Ville [snip] Subject: [PATCH] SDL/DirectFB: remove Matrox CRTC2 flicker filter
REVERT: 37382b468c Fix various problems with the timer code. * SDL_timer_running wasn't always updated correctly. * Fixed occasional crash in SDL_SetTimer() when clearing threaded timers * It was possible to get both the timer thread and event thread running * Other misc. cleanup
REVERT: 74c5533520 Clarified the code in the pixel format allocation Added support for direct color 8-bpp modes.
REVERT: c73a9384e1 Select patches included from The NetBSD Package Collection (www.pkgsrc.org)
REVERT: 21ddee0a10 Avoid gcc parse errors on Win32.  This is fine in general because gcc uses the cdecl calling convention by default.
REVERT: 269c570dec Bumped the minor version number...
REVERT: 82fe1ff66f Fix potential use of freed memory in the threaded timer system
REVERT: bef6a4f3cc *** empty log message ***
REVERT: c731082579 Date: Sun, 2 Jan 2005 18:36:09 +0100 From: Jon Daniel Subject: [SDL] KeyRepeat fix
REVERT: 12f6de4fa3 Allow SDL to be loaded by Matlab
REVERT: 3fbec58eb2 Date: Fri, 31 Dec 2004 04:14:09 +0900 From: Hayashi Naoyuki Subject: SDL patch for Tru64 UNIX 4.0X
REVERT: caf8e783f3 Date: Fri, 24 Dec 2004 23:32:06 -0500 From: Mike Frysinger Subject: [SDL] minor fix for gcc-2.x building
REVERT: de09729488 *** empty log message ***
REVERT: d88108aff2 *** empty log message ***
REVERT: 8b9d89a5df *** empty log message ***
REVERT: 1f51aedca2 Added change log notes
REVERT: e91603ac55 Date: Tue, 14 Dec 2004 12:08:30 +0100 From: Marcin Konicki Subject: Re: [SDL] SDL 1.2.8 Prerelease
REVERT: 355eee2abd Date: Mon, 13 Dec 2004 21:28:18 -0500 From: Jonathan Atkins Subject: [SDL] SDL_SaveBMP width bugfix
REVERT: d1ea7480a9 *** empty log message ***
REVERT: 8ffb4063a6 Whoops. :)
REVERT: 9984f19106 No really, don't link with the ALSA library!
REVERT: c7d88ba1bb ALSA is loaded dynamically now, so it's safe to build into the library
REVERT: 3abf09fa34 Document new OpenGL feature
REVERT: 577126292d Updated SDL for MacOS X Xcode support
REVERT: 2c2d37b44b Some Atari OpenGL implementations draw upside down
REVERT: 983d7d81d8 Be sure to compile without OpenGL enabled
REVERT: c26aab972c Wrong RGB24 to RGB16 conversion
REVERT: 4fbd94805b Wrong pixel size for source buffer for old drivers
REVERT: 5fad184d33 *** empty log message ***
REVERT: 63a94a149e TinyGL only support RGB24 color buffer
REVERT: 268aaf600f Added a usage example for SDL_GetWMInfo()
REVERT: 365f99178e Date: Wed, 24 Nov 2004 01:25:48 +0100 From: Stephane Marchesin Subject: Re: [SDL] Problem compiling SDL 1.2.7
REVERT: ca383efa22 Date: Sat, 27 Nov 2004 13:35:43 +0100 From: "Martin Bickel" Subject: [SDL] Patch: fixing uninitilized palette
REVERT: ef0cced667 Forgot to change window title in the normal case
REVERT: 56313c0fd3 TinyGL does not have glFinish, only glFlush
REVERT: 1db79a98e8 Wrong size of parameters for SDL_Swap32 m68k assembly routine
REVERT: 75df506b59 Forgot to flush OpenGL buffer using glFinish
REVERT: 064aa65648 Keep current OpenGL context when possible
REVERT: a9ce9ef9a9 Final touches to OSMesa OpenGL support on Atari, using loadable libraries. Hope SDL 1.2.8 is out soon.
REVERT: 154c8f584c Restore everything when a function pointer is NULL
REVERT: 6927f1cbe4 Factorize OSMesa OpenGL code for Atari drivers
REVERT: 6eba7953d8 Remove ambiguous/useless code
REVERT: 984a5d0649 Do not use registers when not necessary
REVERT: df99fc99a5 Add conversion routines for unsupported screen formats
REVERT: 9e6a139081 Add m68k assembly routines for endianness conversion
REVERT: 42648118e4 Add OSMesa OpenGL support to the Atari GEM video driver
REVERT: e7815a7395 Date: Fri, 19 Nov 2004 06:23:53 -0800 (PST) From: Eric Wing Subject: OS X Mouse inversion problem fix (again)
REVERT: eaefe4f4f9 Add missing --add-missing
REVERT: 48ddfd55a3 sdl-config already provides needed libs for MiNT build
REVERT: 9e22a1bc13 OSMesa draws upside down
REVERT: 567d89f646 Grr, have to resort video modes one more time
REVERT: e9c344a4a4 Add support for OpenGL on Atari using OSMesa, the offscreen rendering driver from Mesa
REVERT: 74f380107e Updated for Visual C++ 6 build
REVERT: 1afbb8e21c Updated for Visual C++ 6 build
REVERT: bb12335155 *** empty log message ***
REVERT: f5b01b1d91 Restore the user specified window proc after shutdown
REVERT: 06423668fe Fedora Core 3 has libasound.so in /lib
REVERT: 484cfb0abb Sort video modes by width then height
REVERT: 18e4eb0c76 Date: Mon, 25 Oct 2004 17:30:06 +0200 From: Gautier Portet Subject: [SDL] Re: Centering a window
REVERT: bf7fdf595e Date: Tue, 19 Oct 2004 23:04:58 -0700 From: "Trevor Scroggins" Subject: [SDL] [PATCH] DirectX and SDL_WINDOWID Hack
REVERT: e443aa3402 Date: Wed, 13 Oct 2004 17:00:58 -0500 From: Jonathan Atkins Subject: [Fwd: Re: SDL_image on Solaris x86 help please]
REVERT: ea37fbe51d Date: Mon, 11 Oct 2004 15:17:27 +0300 (EEST) From: Hannu Savolainen Subject: Re: SDL uses obsolete OSS features
REVERT: 7e11bc40b3 Date: Tue, 5 Oct 2004 11:04:02 -0400 From: Bob Ippolito Subject: [SDL] PATCH: Fix for release count bug in SDL_QuartzWM
REVERT: 9dd9471dc3 Video modes are sorted width first, then height
REVERT: 4cf94e336e Fix from Alfred Perlstein
REVERT: 8a8ea6302a Prevent redraws till internal buffers are correctly setup
REVERT: 6b8a12329c No need to try to emulate analog axis when SDL support digital hats
REVERT: ca8f68a66e Forgot to disable debug messages
REVERT: e3656a6a17 Date: Fri, 29 Oct 2004 11:47:09 +0200 From: Patrice Mandin Subject: Reworked audio drivers for Atari platform
REVERT: 33aa9c5bba Date: Sat, 9 Oct 2004 02:46:18 +0300 (EEST) From: Hannu Savolainen Subject: SDL uses obsolete OSS features
REVERT: bc7b54eec8 No need to close the window when going to fullscreen mode
REVERT: 93685f61fb *** empty log message ***
REVERT: b88a981cb9 Date: Thu, 2 Sep 2004 19:35:51 +0200 From: Max Horn Subject: [Patch]: Improved menu code for SDLMain.m
REVERT: 48329dae36 Date: Mon, 30 Aug 2004 18:20:25 +0200 From: Joost Baas Subject: why call arts artsc?
REVERT: c52f363aaa Date: Fri, 25 Jun 2004 13:29:15 +0100 From: "alan buckley" Subject: Modification for RISC OS version of SDL
REVERT: a5a84be769 Date: Thu, 02 Sep 2004 01:06:23 +0200 From: Ivo Danihelka Subject: [SDL] [PATCH] Fixed XLocaleNotSupported in utf8 code
REVERT: 31f22de807 Backing out new changes, at Chris Nelson's request.
REVERT: 1139547218 Hum.
REVERT: d877425886 Date: Sun, 29 Aug 2004 20:55:54 +0200 From: Tomas Kovar Subject: [SDL] [PATCH] UTF-8 support for SDL_WM_SetCaption in OSX
REVERT: 24361cbefb Date: Tue, 24 Aug 2004 06:16:32 +0200 From: Christian Biere Subject: [SDL] YUV Overlay vs. XV_AUTOPAINT_COLORKEY
REVERT: be70ef48f0 I don't know how this got missed, but...
REVERT: bc515ab0b8 Don't fail if we don't have ALSA available
REVERT: 6be22e6739 Updated libtool support for libtool 1.5.8
REVERT: e68f366760 *** empty log message ***
REVERT: 08137364aa *** empty log message ***
REVERT: 639f022cf2 Date: Wed, 28 Jul 2004 14:56:57 +0800 From: Aaron Perez Subject: [SDL] Fwd: SDL not checking malloc returning NULL
REVERT: ddbdb49e06 Date: Sun, 18 Jul 2004 00:22:07 -0400 From: "Philippe Anctil" Subject: [SDL] odd mouse event generated on init
REVERT: 2c65409ade      Here are patches for SDL12 and  SDL_mixer  for  4  or  6  channel surround sound on Linux using the Alsa driver.  To use them, naturally you need a sound card that will do 4 or 6 channels and probably also a recent version of the Alsa drivers and library.   Since the  only  SDL output  driver  that  knows  about  surround sound is the Alsa driver, you���ll want to choose it, using:
REVERT: 87de03dc14 Date: Mon, 12 Jul 2004 14:17:47 -0500 From: Richard Smith Subject: Re: [SDL] Disableing color depth and mode searching
REVERT: cebd45ab2d Date: Sat, 10 Jul 2004 21:02:33 +0200 From: "Philippe Plantier (ayin)" Subject: [SDL] Problems allocating large surfaces
REVERT: b3fa599851 Date: Tue, 01 Jun 2004 15:27:44 +0300 From: Martin_Storsj Subject: Update for dynamic loading of ALSA
REVERT: 1d9ee0370f Hmm, this should work a little better. :)
REVERT: fa46eb0b7c Date: Tue, 27 Jul 2004 17:14:00 +0200 From: "Eckhard Stolberg" Subject: Controller names in SDL for Windows
REVERT: 0ac2cf1847 CoreAudio driver works on Mac OSX 10.1
REVERT: 35c8da7adb Audio improvements from Max Horn, including a new CoreAudio driver for MacOSX
REVERT: fddd0153c8 Date: Thu, 17 Jun 2004 11:38:51 -0700 (PDT) From: Eric Wing <ewing2121@yahoo.com> Subject: New OS X patch (was Re: [SDL] Bug with inverted mouse coordinates in
REVERT: 0ef2a5d6b7 Added an option to show the logo at the cursor position for debugging
REVERT: ce19d347ff Use the canonical glext.h on MacOS X as well (#define NO_SDL_GLEXT if you don't want this)
REVERT: 26528307dc *** empty log message ***
REVERT: 8feb4edf9e Date: Fri, 20 Aug 2004 08:31:20 +0200 From: "Markus F.X.J. Oberhumer" Subject: [SDL-CVS][patch] add missing SDLCALL to headers
REVERT: c05a3f257e Date: Mon, 05 Jul 2004 14:37:59 +0200 From: Yves Maurischat Subject: [SDL] Crashes when using aRts on Linux
REVERT: 7df9f8266a Forgot to initialize maximum position for mouse
REVERT: beeb39367a Wrong check for minimum mouse position
REVERT: aab65909fe Give mouse position relative to window position, and do not generate mouse button event if outside of the window
REVERT: 957b40a020 Do not destroy window on resize, so we can go back to original size from maximized size
REVERT: a5687fe059 Too much backslash-n at end of line
REVERT: a1135ef524 Correctly center window on creation
REVERT: d8a54a0f4a Correctly set window size if resized or maximized
REVERT: 745040d205 Use meaningful define instead of numeral value
REVERT: 39debe6a83 Use SDL_SetError instead of fprintf
REVERT: 899423b986 Absolute mouse position was given as relative movement to SDL
REVERT: 8c1f9b7977 Wrongly test if width multiple of 16
REVERT: b1493fe892 Lock the screen before doing its backup
REVERT: b9185e54c2 Date: Sun, 25 Jul 2004 23:10:03 +0800 From: Chris Taylor Subject: SDL for Macintosh Programmer's Workshop: removed dynamic loading
REVERT: ee92972637 You can't free locked surfaces!
REVERT: a69bbd4764 Date: Wed, 23 Jun 2004 17:05:33 -0400 From: Chris Nelson Subject: [SDL] [Patch] WiseGroup MP-8800 / MP-8866 (PS2 Joystick)
REVERT: 564da8e6d2 Date: Mon, 28 Jun 2004 23:15:55 +0200 From: Ivo Danihelka Subject: [SDL] [PATCH] SDL_WM_SetCaption with UTF-8
REVERT: dd48804e18 *** empty log message ***
REVERT: f70b972d49 Date: Mon, 3 May 2004 03:15:01 +0100 From: David Symmonds Subject: SDL Typedef Structs
REVERT: 1ac1efb053 Date: Sat, 26 Jun 2004 14:58:42 +0300 From: "Mike Gorchak" Subject: QNX 6.3 fixes for SDL
REVERT: 7a8d040a8c *** empty log message ***
REVERT: 2e7908c36f Date: Mon, 28 Jun 2004 19:58:08 +0900 From: Hayashi Naoyuki Subject: SDL_types.h - fix for Tru64 MME
REVERT: b84dba5751 Date: Mon, 21 Jun 2004 16:52:47 +0200 From: Marcin Konicki Subject: SDL 1.2.7 patch for BeOS (new input handling code)
REVERT: 3eaf8adb30 Date: Sat, 03 Jul 2004 02:23:48 +0200 From: Marcin Konicki Subject: [PATCH] Add missing functions and bring back OpenGL
REVERT: 249a5dcd55 Date: Wed, 7 Jul 2004 12:57:58 +0200 From: "Markus F.X.J. Oberhumer" Subject: [SDL-CVS] [patch] small fix for SDL_joystick.h
REVERT: fc16e92976 Date: Fri, 16 Jul 2004 17:25:45 +0200 From: "A. Umbach" Subject: Patch for bug in SDL cdrom resume handling
REVERT: c496d3e3b8 Date: Sun, 18 Jul 2004 16:46:44 +0200 From: Georg Schwarz Subject: Compiling SDL on IRIX 5.3
REVERT: d2ee3368ef Forgot to initialize video mode list
REVERT: a43c7bf823 Date: Thu, 24 Jun 2004 15:13:40 +0300 (EEST) From: Martin_Storsj� Subject: Small patches for SDL/win32
REVERT: b8d2b6a0c5 *** empty log message ***
REVERT: c1fba56529 The tenth time is the charm...
REVERT: e442725177 *** empty log message ***
REVERT: 17d60ba5d4 Date: Tue, 11 May 2004 22:05:32 -0400 From: Bob Ippolito Subject: [SDL] SDL_QuartzWM patches
REVERT: 77e3c78bf3 Date: Tue, 16 Mar 2004 12:40:33 +0000 From: Alan Swanson Subject: [SDL] [PATCH] Linux joystick evdev axis count fix
REVERT: 4893c025e6 *** empty log message ***
REVERT: f410c37f35 Don't crash if the stretch routines are used on hardware surfaces
REVERT: fd0bae8ce1 Fixed crash on exit
REVERT: 01baa89827 Date: Sun, 18 Apr 2004 16:09:53 -0400 (EDT) From: David MacCormack Subject: [SDL] Linux joystick patch
REVERT: 19f49cc2b0 *** empty log message ***
REVERT: 867534f752 Date: Sat, 10 Apr 2004 10:05:46 +0200 From: Christian Walther Subject: [SDL] OpenGL Accumulation Buffer on Mac OS X
REVERT: f17f1c0175 ate: Fri, 09 Apr 2004 20:07:10 +0200 From: Hibernatus Subject: [SDL] BUG: changing video mode in opengl + windows
REVERT: 2156b93394 Date: Sun, 28 Mar 2004 16:38:32 +1200 From: Paul Eggleton Subject: [SDL] Possible memory leak in SDL 1.2.7
REVERT: 7fe0dc0b01 Date: Mon, 10 May 2004 10:17:46 -0400 From: Mike Frysinger Subject: Re: [SDL] gcc-3.4.0 / PIC fix
REVERT: edba2cc827 Date: Sat, 24 Apr 2004 15:13:32 +0300 From: "Mike Gorchak" Subject: SDL updates for the QNX6
REVERT: 2ca2c6c186 Date: Wed, 28 Apr 2004 16:52:41 -0400 From: "Damien A" Subject: testdyngl fix
REVERT: e930e4a0da Increment version...
REVERT: c1cea1b5c8 Date: Sat, 10 Apr 2004 02:25:33 -0400 From: Glenn Maynard To: sdl@libsdl.org Subject: [SDL] SDL_SetVideoMode() failing and not setting an error (patch)
REVERT: d666ee03ff Date: Sun, 11 Apr 2004 13:09:44 +0200 From: Stephane Marchesin Subject: [SDL] [Patch] inlining memcpy functions
REVERT: b310759c40 Date: Tue, 30 Mar 2004 18:18:13 -0600 From: Tyler Montbriand Subject: [SDL] Detecting Opteron CPU features
REVERT: b078fb1950 Date: Tue, 30 Mar 2004 21:26:47 -0600 From: Tyler Montbriand Subject: [SDL] Opteron MMX patches for SDL_blit.c and SDL_blit_A.c
REVERT: 4007c1de67 Date: Wed, 31 Mar 2004 09:15:57 -0600 From: Tyler Montbriand Subject: [SDL] Opteron MMX patches for SDL_RLEaccel.c
REVERT: 44bfff7d49 Argh...
REVERT: 9656af262c Yack... finally fixed the MacOS X development package ... I hope!
REVERT: 71a0f25aed (Said Max Horn on the SDL mailing list...)
REVERT: b3902a6ec3 Fixed the postinstall script
REVERT: f44e815b36 Date: Thu, 11 Mar 2004 18:45:17 +0900 From: Hayashi Naoyuki Subject: Re: Tru64 cdrom and pthread option fix
REVERT: d97c090d07 Date: Sun, 07 Mar 2004 22:54:11 +0900 From: Hayashi Naoyuki Subject: Tru64 cdrom and pthread option fix
REVERT: 561b81add3 Date: Fri, 05 Mar 2004 16:08:01 +0000 From: Alan Swanson Subject: Re: [SDL] Fatal signal when initiaize with USB joystick on 2.6.2 kern
REVERT: ea8c53b7fe Avoid FPE with Linux 2.6
REVERT: 7023285617 Date: Wed, 3 Mar 2004 12:44:21 +0200 From: "Mike Gorchak" Subject: Misc fixes again
REVERT: 2209d19e4d Instructive comments from Max Horn
REVERT: 815d80fc5a sed, it's two, two commands in one!
REVERT: b82c0bc1e9 Force recreation of X11 window if going to or from a SDL_NOFRAME vidmode.
REVERT: 7a82cd6547 Date: Tue, 2 Mar 2004 11:34:54 +0100 From: Bartosz Fenski aka fEnIo Subject: outdated entry in INSTALL file
REVERT: 710da3b0ba Date: Sun, 29 Feb 2004 15:14:22 +0200 From: Martin_Storsj Subject: Dynamic loading of ALSA
REVERT: a58dea0f76 Date: Sun, 29 Feb 2004 20:28:27 +0200 From: Martin_Storsj Subject: Slight bug in ESD and aRts
REVERT: 64e0d7256e Date: Tue, 2 Mar 2004 08:52:20 +0200 From: "Mike Gorchak" Subject: Just a misc. fixes
REVERT: b8e0de8f67 IRIX doesn't have a GL library versioning system
REVERT: 2de7499a4e Oops, ignore SIGALRM, not 0
REVERT: a967e79e6b Create a 2D window and then manually focus a different window on your desktop, call SDL_PumpEvents() so the X11 driver sets its this->hidden->switch_waiting, then set a fullscreen OpenGL window (which makes the X11 driver tear down and create a new window instead of just resizing the existing one), poll for events, and the newly-created window will think it needs to pop back to a window. Fixed by resetting switch_waiting to zero if X11_CreateWindow() had to tear down a previous window.
REVERT: 90b89f2616 This works on MacOS X too. :)
REVERT: 005ace8382 Date: Wed, 25 Feb 2004 06:41:17 -0500 From: "Ryan C. Gordon" Subject: Re: MacOS X bugs...
REVERT: 46397620bd Attempt to get FSAA compiling on all versions of MacOS X.
REVERT: ab5e55b081 Date: Mon, 23 Feb 2004 19:00:23 +0100 From: "Juergen \"George\" Sawinski" Subject: Problems compiling libsdl with gcc 3.3
REVERT: 6c967b9343 I noticed MacOSX SDL sets up working directory to parent of executable. On BeOS is should setup it the same way, but it only does when Tracker wasn't restarted.
REVERT: eeed686a58 *** empty log message ***
REVERT: fa3a55a9bc Don't allow video modes larger than the maximum size
REVERT: fb965d4ea0 Quartz fix:
REVERT: 0a10de8a22 Doh!
REVERT: eb69a6e95a Added an endian detection and byte swapping test program
REVERT: 17216decbc Added inline byte swapping code for other architectures
REVERT: 35fe23a353 Avoid using kernel internal headers
REVERT: a79d5610c6 *** empty log message ***
REVERT: 28f51bd31d *** empty log message ***
REVERT: 54478fc8ca Fixed a bug in detecting surface mapping changes
REVERT: 5de765a423 *** empty log message ***
REVERT: dcd900dacb Updated SDL_opengl.h to include the latest version of glext.h
REVERT: 67f01941f2 Load the correct library on Windows
REVERT: dfd199308f *** empty log message ***
REVERT: 493c4dacec *** empty log message ***
REVERT: 6e5735ed77 Added a test program for dynamically loading OpenGL
REVERT: 0160ec6888 *** empty log message ***
REVERT: 294fd41950 *** empty log message ***
REVERT: 6c5308c03c *** empty log message ***
REVERT: fe9af2df98 *** empty log message ***
REVERT: 487d8e7852 *** empty log message ***
REVERT: db9869de70 Added support for SDL_VIDEO_WINDOW_POS and SDL_VIDEO_CENTERED on Windows
REVERT: 09ce89d547 Date: Mon, 16 Feb 2004 19:21:51 +0100 From: Max Horn Subject: Re: Fix for OSX bug
REVERT: 23d5c0d19f Remove automake junk before generating a snapshot
REVERT: 167c79c05f *** empty log message ***
REVERT: 461cccf912 Fixed mouse focus events after resetting video mode on Windows
REVERT: 1d18f35f0b Lots of people have contributed cash. :)
REVERT: e7ba4dda09 *** empty log message ***
REVERT: e846c76112 Showed how to toggle fullscreen mode if the API isn't supported
REVERT: 5204847367 *** empty log message ***
REVERT: 4114dc9f1a -lgem must appear after -lldg
REVERT: 1cafb7e2d4 *** empty log message ***
REVERT: 1ebb410fc7 Programs should really be handling SIGPIPE themselves
REVERT: d3c3bef835 Date: Sat, 14 Feb 2004 14:52:40 +0200 From: "Mike Gorchak" Subject: Batch of the QNX6 fixes for the SDL
REVERT: bdc7c65e1a Important crash fix: system vectors for mouse/joystick were not restored
REVERT: 0776f6fd31 Update the version on the SDL shared library.  Use SDL stub library for tests.
REVERT: 79e4af5a53 Fixed typo in DirectFB driver (thanks Frank!)
REVERT: 79e9658546 *** empty log message ***
REVERT: c5311cee75 Date: Fri, 13 Feb 2004 17:03:16 +0100 From: Max Horn Subject: Modifier key fix
REVERT: 70fe60bc54 *** empty log message ***
REVERT: 12fa222cec Use sigaction instead of signal to preserve handler flags (thanks Matthew!)
REVERT: b2cf21a244 Added support for remote XVideo (thanks Frederic!)
REVERT: 4434a0e564 *** empty log message ***
REVERT: 20f0f2997d Don't use hardware overlay by default (seems much faster this way)
REVERT: 7158e313c2 *** empty log message ***
REVERT: 6858c59ad0 Date: Tue, 13 Jan 2004 19:25:37 +0300 From: Dmitry Yakimov Subject: [SDL] [PATCH] SDL bug patch
REVERT: 317cf8a35b Simplify code and clean up Valgrind warning
REVERT: cd10cd4c74 Fixed static linking on MacOS X (thanks Max!)
REVERT: f183cb88cf Updated projects with cpuinfo API
REVERT: a423b0ba59 Date: Wed, 04 Feb 2004 13:51:56 +0100 From: Jens Leuschner Subject: Small patch for libSDL
REVERT: f199a5d964 *** empty log message ***
REVERT: fbce506d5a Updated SDL HTML documentation
REVERT: 83ca4b6cb1 *** empty log message ***
REVERT: 242d72da84 Video modes must be sorted by Y size, for SDL_GetVideoMode() to operate properly
REVERT: 1eb2c47509 When commiting code, cleanup before doing it
REVERT: 4bbc2ed998 Bugfixes: some info about current framebuffer overwritten by some default values, and screen width must be multiple of 16 pixels to work correctly
REVERT: 7877fcc87d *** empty log message ***
REVERT: 11632a8558 Milan and Hades Atari clones do not have an Atari video chip
REVERT: 28e5ce27fc *** empty log message ***
REVERT: fdf58b5852 Check for altivec assembly support before trying to use it. :)
REVERT: ac5cdde4c1 Updated for the latest version of automake
REVERT: 19cdbdcc6b Altivec detection on non-MacOS X systems
REVERT: 5bc0572376 Added an exports target so I can make the exports all at once. :)
REVERT: 9ba01100ec *** empty log message ***
REVERT: 07754d3f95 Date: Wed, 28 Jan 2004 20:25:54 +0100 From: Thomas Jarosch Subject: Re: [SDL] DSPF_RBG15 in src/video/directfb/SDL_DirectFB_video.c
REVERT: 3949843e34 Date: Wed, 28 Jan 2004 02:37:04 +0100 From: Max Horn Subject: Small libtool patch (framework related)
REVERT: 12dff8fe0a Updated Project Builder projects
REVERT: 3ea2a3ddaa Date: Sat, 24 Jan 2004 14:49:58 +0100 From: Stephane Marchesin Subject: Re: [SDL] 3DNow! detection on a P4 system
REVERT: f423ef91dd *** empty log message ***
REVERT: faea93909a Fixed bugs in CPU feature detection and added extended feature detection
REVERT: 64e04065e4 *** empty log message ***
REVERT: 2767c4d681 *** empty log message ***
REVERT: 573ea99423 *** empty log message ***
REVERT: 846597a040 *** empty log message ***
REVERT: 1c5d8853a5 Add  to temporary includes path to find src/video/windx5/directx.h if we build SDL in a different directory
REVERT: 90a429e435 Date: Tue, 6 Jan 2004 21:54:02 +0100 From: Max Horn Subject: Auto hide mouse & other changes
REVERT: 522cd2a8c4 Date: Tue, 6 Jan 2004 12:42:19 +0100 From: Max Horn Subject: SDL_HasAltiVec; BUGS file
REVERT: 33e18fa7f9 *** empty log message ***
REVERT: 5c66c75895 Added support for /dev/joy* on Free/Net/OpenBSD (thanks Christian!)
REVERT: 956f6b50f8 Fixed playback problems with MacOSX 10.1
REVERT: e95a3dbbbe Date: Mon, 5 Jan 2004 00:09:36 +0100 From: Anders_F_Bj?rklund Subject: [SDL] Dynamic OpenGL lib support for Mac
REVERT: 2918fb4cec Date: Sun, 4 Jan 2004 23:48:19 +0100 From: Max Horn Subject: Re: Again Audio CD patch
REVERT: d6676a0e83 Fix buffer underrun problems on slow iBooks
REVERT: 5cce205c2f Fixed track detection on MacOS X 10.1
REVERT: da699f5e65 *** empty log message ***
REVERT: cb9c2efd17 Updated copyright information for 2004 (Happy New Year!)
REVERT: f4df35b9ff Max has been reworking this code so it works on MacOS X 10.1
REVERT: 86ec98038a Date: Mon, 17 Nov 2003 21:59:24 -0800 From: Pete Shinners Subject: [SDL] directfb cursor patch
REVERT: 60d9c91d8c Date: Wed, 26 Nov 2003 01:52:02 +0800 From: "Andy Pfiffer" Subject: [SDL] patch: PocketPC 2000 diffs for release_1_2_6
REVERT: 7ad9d80037 Editors Note: The original patch was modified to use SDL_Delay() instead of               nanosleep because nanosleep may not be portable to all systems               using SDL with the ALSA backend.  This may be a moot point with               the switch to blocking writes anyway...
REVERT: 028eb83878 Added function to create RWops from const memory: SDL_RWFromConstMem()
REVERT: 9c03bae4f8 Updated for new APIs
REVERT: 788fa8d896 *** empty log message ***
REVERT: 88fc887859 Date: Wed, 31 Dec 2003 21:55:30 +0100 From: Max Horn Subject: SDL: video/quartz cleanup
REVERT: 88753d4f2e Oops, we only want to fail creation if the display surface is an OpenGL surface.
REVERT: d2d5573ee4 From: Thomas Jarosch To: Ryan C. Gordon Subject: SDL: DirectFB videodriver segfault Date: Sun, 21 Dec 2003 20:40:14 +0100
REVERT: 5e87c6c251 Date: Wed, 17 Dec 2003 18:07:29 -0800 PST From: "Andrew Bachmann" Subject: recent build changes
REVERT: 86f8e696c9 Date: Sun, 14 Dec 2003 15:16:12 +0100 From: Stephane Marchesin Subject: Re: [SDL] compile problem with sdl <-> alsa
REVERT: 0954d09c62 te: Mon, 15 Dec 2003 08:25:14 -0800 PST From: "Andrew Bachmann" Subject: libSDL patches for beos video
REVERT: e3821f686a Date: Fri, 12 Dec 2003 11:51:21 +0900 From: Hayashi Naoyuki Subject: Tru64 audio(mme) fix
REVERT: c1d69dc26c Fixed "dist" make target for newer versions of automake
REVERT: d182a96b90 Date: Thu, 4 Dec 2003 07:48:40 +0200 From: "Mike Gorchak" Subject: SDL/QNX6 new patch
REVERT: 1e6f6032b2 *** empty log message ***
REVERT: 2f418548e3 *** empty log message ***
REVERT: ba97e9b788 Date: Mon, 24 Nov 2003 20:11:31 +0000 From: John Drinkwater <john@nextraweb.com> Subject: SDL configure.in patch
REVERT: a12ff59652 Updated Visual C++ support
REVERT: 17c9e1dd06 *** empty log message ***
REVERT: 6587e3fd91 Check for CPUID before checking for 3DNow!
REVERT: 15fabb637b Greatly simplified the SDL CPU info code
REVERT: fb25886c0e Greatly simplified the SDL CPU info code
REVERT: c1da62cb39 Switched data files to binary format
REVERT: 823e283731 *** empty log message ***
REVERT: 6a7dcb961e Fixed building cpuinfo under mingw32
REVERT: 22ddc1ded0 Date: Mon, 17 Nov 2003 23:12:59 +0100 From: Max Horn Subject: SDL building "the unix way" on OS X
REVERT: 9a9e553e1d Actually hook the cpuinfo module into the library. :)
REVERT: 9842d74f34 Added SDL_HasMMX(), SDL_Has3DNow(), SDL_HasSSE() in SDL_cpuinfo.h
REVERT: ccba9fd074 Date: Mon, 10 Nov 2003 19:57:56 +0100 From: Stephane Marchesin <stephane.marchesin@wanadoo.fr> Subject: [SDL] SDL and gcc >= 3.3.1 fix
REVERT: 8f12b9c2cf Small fix for iconification
REVERT: 058af532f5 Use new C2P routine + corrections for iconification window
REVERT: b0055272da Use new C2P routine
REVERT: f31a195b12 New C2P conversion routine
REVERT: 4c968411d5 Date: Mon, 13 Oct 2003 13:37:18 +0100 From: "alan buckley" Subject: Modification for RISC OS SDL port (SDL_riscosevents.c)
REVERT: b2c08f9a17 Date: Wed, 5 Nov 2003 21:27:47 +0100 From: Thomas Jarosch <xxx> To: Ryan C. Gordon <xxx> Subject: MGA CRTC2 update
REVERT: 850993a956 *** empty log message ***
REVERT: df7110eda7 Use a unique base address for each DLL. Fixed ltmain.sh for MSYS development environment.
REVERT: 1e1fe1f905 Updated libtool support so Mingw32 builds work.
REVERT: c379649477 MGA CRTC2 support for DirectFB target contributed by Thomas Jarosch.
REVERT: 343e317a59 Update MiNT CD-ROM driver
REVERT: 096219e44c SDL12: Disable screensaver in windib driver.
REVERT: e78adbc226 *** empty log message ***
REVERT: da78b90b14 Atari CD-ROM support
REVERT: 002129c506 Files now copied to build directory instead of source directory while configuring
REVERT: 4e0cc6a03f *** empty log message ***
REVERT: 773e8e18c4 Date: Thu, 18 Sep 2003 14:24:35 -0400 From: Scott Watson Subject: [SDL] Improper Windows message routine calling
REVERT: 2aa25e175e    N  Sep 17  8791  Sam Lantinga           Re: tks source released Date: Sun, 07 Sep 2003 02:51:58 +0200 From: Stephane Marchesin Subject: [SDL] Two little patches
REVERT: addc0b023e Date: Fri, 12 Sep 2003 18:04:19 -0400 From: Matthew Danish Subject: patch for k*bsd support
REVERT: bf7b6262f6 Date: Sat, 13 Sep 2003 15:50:43 +0300 From: "Mike Gorchak" Subject: QNX fixes
REVERT: 794bba8fca Date: Sun, 14 Sep 2003 17:04:55 -0400 From: Philip D.S. Thoren <pthoren@cs.uml.edu> Reply-To: "sdl@libsdl.org" <sdl@libsdl.org> To: "sdl@libsdl.org" <sdl@libsdl.org> Subject: [SDL] BUG in src/video/windx5/SDL_dx5events.c
REVERT: f41ebcb461 SDL_JoystickInit: If malloc() fails, pretend no joysticks were detected.
REVERT: 94c8f99de6 Date: Mon, 01 Sep 2003 15:37:52 +0900 From: SUGIMOTO Sadahiro Subject: [SDL] [PATCH] bsd joystick
REVERT: 7bc88e01fd Update SDL version
REVERT: cbe781b5ab Fixed X11 mode line crash with only one video mode (thanks Alan!)
REVERT: 238f53877d Finally bugfixed: the simpler the better
REVERT: cd8a3765f3 Severe bugfix: format->BitsPerPixel not checked in ListModes function
REVERT: c471a7f7a5 Added SDL_loadso.c to the CodeWarrior project
REVERT: 7ebea70af5 Added SDL_loadso.c to the project
REVERT: 56ded773bc Fixed building SDL_loadso.c on MacOS Classic
REVERT: 8c49a5a054 *** empty log message ***
REVERT: be1086b89f *** empty log message ***
REVERT: 4f229b8729 *** empty log message ***
REVERT: f9ec60725d Small bugfixes
REVERT: d5e201c8ba *** empty log message ***
REVERT: 2f2fa60b4d QNX is now officially supported!  Thanks to Mike Gorchak!
REVERT: dbd1cb0c1c Date: Sat, 30 Aug 2003 16:28:10 +0300 From: "Mike Gorchak" Subject: Re: SDL 1.2.6
REVERT: 22bedf99bb *** empty log message ***
REVERT: 33c3ee82b0 Fixed some bugs in the Nano-X video driver
REVERT: 72cad5a32c *** empty log message ***
REVERT: e4cfefacc1 *** empty log message ***
REVERT: e54b45f194 Hopefully this will fix the last of the problems with OBJ depend mode.
REVERT: f32aece36b Whitespace
REVERT: 06f748ead5 *** empty log message ***
REVERT: 7bd086772b Date: Sat, 16 Aug 2003 16:22:56 +0300 From: "Mike Gorchak" Subject: Package building for QNX6
REVERT: b0204f4006 Date: Fri, 15 Aug 2003 09:13:59 +0300 From: "Mike Gorchak" Subject: Patches for tests and QNX6
REVERT: 0cc5681acd Date: Fri, 15 Aug 2003 09:13:59 +0300 From: "Mike Gorchak" Subject: Patches for tests and QNX6
REVERT: dc54e92e13 Fixed use of SDL with XInitThreads()
REVERT: 3095e05ea7 Date: Tue, 19 Aug 2003 17:57:00 +0200 From: Stephane Marchesin Subject: Re: [SDL] [patch] MMX alpha blit patches with MMX detection
REVERT: d8ae01f168 Date: Tue, 12 Aug 2003 14:26:19 +0200 (MEST) From: "Mattias Engdeg?rd" Subject: bug in SDL_GetRGB/GetRGBA
REVERT: 05e09aeff0 Date: Mon, 11 Aug 2003 22:49:06 +0100 From: Peter Naulls Subject: RISC OS patches
REVERT: 1ced8d4d9d *** empty log message ***
REVERT: 27823b679a Date: Sun, 10 Aug 2003 13:24:45 -0400 From: Darrell Walisser Subject: Re: Updated projects?
REVERT: 42325ef76b The cdrom code doesn't build on MacOS X 10.1, disabled for now...
REVERT: f6e2eb2782 Date: Sat, 9 Aug 2003 20:14:06 -0400 From: Darrell Walisser Subject: Re: Updated projects?
REVERT: 518fbbf676 *sigh*
REVERT: a3ef2001c6 More grumble grumble...
REVERT: 0fb6db7e40 Grumble grumble
REVERT: b45f0da9bf *** empty log message ***
REVERT: 2ab542aaeb Turn dynamic loading of esd and arts on by default Hmm, what to do about Objective C dependencies....
REVERT: 546785c564 *** empty log message ***
REVERT: 24256576f0 *** empty log message ***
REVERT: 9f9fd0ac25 Fixed automake warnings about Objective C support
REVERT: 90de09eccf Fix compilation on MacOS 10.1
REVERT: ceab9dc950 *** empty log message ***
REVERT: 4135dda11f Date: Mon, 28 Jul 2003 18:30:50 +0300 From: "Mike Gorchak" Subject: New test for overlays
REVERT: 273d5357a9 *** empty log message ***
REVERT: c1355d9504 *** empty log message ***
REVERT: ffc870503e *** empty log message ***
REVERT: 85807b7e5b *** empty log message ***
REVERT: 1a96ab99b5 *** empty log message ***
REVERT: b4f8fd7747 ate: Mon, 4 Aug 2003 19:10:14 +0300 From: "Mike Gorchak" Subject: SDL/QNX forgotten fixes
REVERT: 034ce6d1bf *** empty log message ***
REVERT: 78825f8fb4 Date: Sun, 3 Aug 2003 22:07:57 +0200 From: Max Horn Subject: SDL OSX fullscreen FIX
REVERT: 9b315c4c85 Date: Sat, 2 Aug 2003 16:22:51 +0300 From: "Mike Gorchak" Subject: New patches for QNX6
REVERT: 21c236f431 Date: Sun, 27 Jul 2003 22:37:59 +0200 From: Max Horn Subject: SDL whitespace patch
REVERT: b15dbed475 *** empty log message ***
REVERT: 9945332708 You can't create a YUV overlay in OpenGL mode
REVERT: 4be1dcdd13 *** empty log message ***
REVERT: d28eb3b308 Use SDL's internal x, y for mouse button events - fixes relative motion bug.
REVERT: c12bab2db5 Date: Thu, 24 Jul 2003 01:40:17 +0200 From: Andrew Straw Subject: Patch: Mac OS X window position environment variable
REVERT: 52e1d76995 Merged in Ryan's multisample code for MacOS, and changed the constants to match.
REVERT: 800e2d5ebd Date: Thu, 24 Apr 2003 15:13:47 -0400 From: Shawn Kirst Subject: SDL-1.2.5 patch to add ARB_multisample support
REVERT: 311d6a8f61 Added audio and CD-ROM support for OSF/Tru64 (thanks Hayashi!)
REVERT: 4c8805d5ab *** empty log message ***
REVERT: d5cf4cf6ee *** empty log message ***
REVERT: 3cbf70a6d1 pmandin: Added Atari LDG shared object loader
REVERT: fe168ed146 We need to lookup the address of glGetString before calling GL_MakeCurrent(),  since the X11 target needs to query for extensions in there...hopefully this  other platforms don't need to have a current context before symbol lookup  works or something strange like that... --ryan.
REVERT: a542b3f4ce Added some notes from the benefit of my experience. :)
REVERT: 52cb5fc147 Exposed SDL_LoadObject(), SDL_LoadFunction(), and SDL_UnloadObject() APIs
REVERT: e3a333deb4 Added RISCOS Makefiles to the configure process
REVERT: 2abc16fc04 Fixed incorrect prototype for glXQueryExtensionsString()
REVERT: c15617d050 Atari MiNT: remove useless files
REVERT: e1695a4b13 Atari MiNT: added more audio drivers
REVERT: ae6427430d Removed direct dependency on OpenGL (call current_video->glGetString() instead  of glGetString() directly)...otherwise we'd have to explicitly link to a  libGL.  --ryan.
REVERT: d7637536ba *** empty log message ***
REVERT: 3f73ea75d2 Date: 28 Jun 2003 22:42:52 +0100 From: Alan Swanson Subject: Re: [SDL] New XFree 4.3 Video Mode Patch
REVERT: 01983c1d04 Bugfix: some Makefiles in subdirectories created before their upper-level ones
REVERT: 2f767bd51c I'm American, does it show? ;-)
REVERT: 44a5555c34 Date: Sun, 11 May 2003 19:59:06 +0300 From: Pasi K?rkk?inen Subject: [PATCH] fix SDL OpenGL segfault with DRI/Mesa drivers and Glew
REVERT: 31731b66ce te: 27 Jun 2003 21:16:01 +0100 From: Alan Swanson Subject: [SDL] New XFree 4.3 Video Mode Patch
REVERT: 1b6ff6d1c7 *** empty log message ***
REVERT: 7aedcf24ca *** empty log message ***
REVERT: 716b011e9c Date: Thu, 05 Jun 2003 09:36:40 +0100 From: "alan buckley" <alan_baa@hotmail.com> Subject: Modification for RISC OS SDL port
REVERT: f1d4f57390 Add m68k assembly mixing routines
REVERT: e83605f1b4 Date: Sun, 1 Jun 2003 15:38:45 -0700 (PDT) From: Jeff Brown <jabrown@caida.org> Subject: [patch] SDL-1.2.5 + FreeBSD joystick axes, hat fixes
REVERT: 4fc311ff37 Date: Mon, 5 May 2003 00:08:51 -0400 From: Darrell Walisser Subject: SDL Active Events Patch
REVERT: e8ce0bc197 Added initial support for RISC OS (thanks Peter Naulls!)
REVERT: 35f9bbcbd6 *** empty log message ***
REVERT: 7705734fbc *** empty log message ***
REVERT: 29f7b2314b Fixed compile problem in SDL_stretch.c with gcc 3.3
REVERT: f1d97fe2fe *** empty log message ***
REVERT: 4676ca9d3f The compiler option that makes enums having the size of an int must be enabled.
REVERT: 4b04f093fd More-than-three mouse button support for Quartz target.
REVERT: 06d4bfc1da God, this is the never-ending patch. Another USB joystick detection fix for  MacOSX/Darwin.  --ryan.
REVERT: a72d475286 Attempt #3: Fixed boolean logic bug that caused all HID joysticks to be rejected on MacOSX/Darwin. Works now. No, really this time.  --ryan.
REVERT: 15a4f84834 Whoops...typo prevented compiling. Fixed.
REVERT: ae7a1484b4 Find just joysticks and gamepads (as opposed to, say, USB Audio devices), in  the MacOSX/Darwin joystick initialization code.
REVERT: e52f9bb94e Disable MacOS X screensaver for duration of application run by triggering a "UsrActivity" alert every five seconds in the Quartz PumpEvents implementation.
REVERT: e25d3d0c78 *** empty log message ***
REVERT: 313819cc86 MacOS X joystick fix
REVERT: e2b0c74800 Oops...
REVERT: b28b2bb4c4 Date: Thu, 17 Apr 2003 23:27:34 -0400 From: Darrell Walisser Subject: Yet another OS X cursor bug
REVERT: bedc128ac0 Date: Wed, 9 Apr 2003 18:21:33 -0230 From: Stephen Anthony <stephena@roadrunner.nf.net> Subject: [SDL] First patch concerning  4.3 and refresh rates
REVERT: c8ea4a77eb Added MacOS X CD-ROM audio support (thanks Max and Darrell)
REVERT: e44379a4b6 Fixed video intitialization problem on Qtopia (thanks David!)
REVERT: 1d8cdd5504 Date: Wed, 9 Apr 2003 01:03:25 -0400 (EDT) From: "Matthew N. Dodd" Subject: SDL patch: FreeBSD joystick support.
REVERT: 108052b020 Date: Mon, 14 Apr 2003 22:08:27 +0100 From: Patrice Mandin Subject: [SDL][PATCH] 2 patches for sdl
REVERT: b76da3f35f *** empty log message ***
REVERT: c605928016 *** empty log message ***
REVERT: 429aea3075 Date: Sat, 1 Mar 2003 16:13:57 -0500 From: Wilbern Cobb Subject: OpenBSD/sparc64 video init fix
REVERT: 88d4df37f2 Date: Fri, 28 Feb 2003 22:47:56 +0100 From: Denis Oliver Kropp Subject: Makefile.am fix
REVERT: 205a296adf IRIX patches from Andrea Suatoni
REVERT: bb0214c5a3 Date: Mon, 24 Feb 2003 16:31:25 -0500 From: Ragnvald "Despair" Maartmann-Moe IV Subject: SDL x11 video mode selection bug
REVERT: 53598ce435 From: Jonathan Atkins Subject: testoverlay...
REVERT: 0f60451463 *** empty log message ***
REVERT: c1364be120 Updated Visual C++ projects
REVERT: 9757a96a3c *** empty log message ***
REVERT: 0595869199 Fixed building thread code under BSD/OS (thanks Steven!)
REVERT: 93db5107c9 *** empty log message ***
REVERT: 68c795de40 *** empty log message ***
REVERT: f813db750f CVS should ignore files automatically generated by building on MacOS X
REVERT: b1b661bc3f Don't warp the mouse when a video mode hasn't been set
REVERT: 582b9152ff Added support for HID sliders wheels and dials on MacOS X
REVERT: 5fbc9a0e44 Date: Fri, 31 Jan 2003 15:17:30 +0100 From: Patrice Mandin Subject: [SDL] Small patches for SDL
REVERT: 9c821f6677 Fixed crash in SDL_SetIcon() under Quartz (thanks Darrell!)
REVERT: 602b6f286b Allow icons of any size
REVERT: a31d3a0a31 Fixed a problem with dlltool when building under MSYS on Windows
REVERT: 94474c2e62 Removed obsolete Linux joystick code
REVERT: b489d8c975 Darrell added support for emulated SDL_DOUBLEBUF on MacOSX
REVERT: cfe943448d Added code to testsprite to detect tearing when flipping
REVERT: c52f887171 Missing has been re-added
REVERT: b2f587c20c Working around broken objective C support - Take 2
REVERT: 07bb3fe79a *** empty log message ***
REVERT: e77a90c53e Doh, this doesn't work on all automake versions.
REVERT: 9e73732b18 Worked around objective C brokenness in Cygwin's automake
REVERT: 957ff24457 *** empty log message ***
REVERT: dc74b15514 If a double-buffered surface was requested, and a plain hardware surface was returned, we should create a shadow surface.
REVERT: a720fc3e74 Added some language bindings to the README
REVERT: d41712f689 *** empty log message ***
REVERT: d24761f2db Fixed header docs for the joystick hat position
REVERT: 9e546b8295 Fixed QZ_ToggleFullScreen() return value (thanks Max!)
REVERT: a9a711e9f8 Applied Corona688's patch for output redirection on Windows CE
REVERT: a6b0410071 Cth converted the MMX audio mixing routines to VC++ syntax
REVERT: 888dba9db7 Fixed build error on BeOS
REVERT: 7670ddcd79 Mike Nordell _really_ fixed Win32 windib shift state handling this time. :)
REVERT: 97c8173820 Date: Thu, 16 Jan 2003 13:48:31 +0200 From: "Mike Gorchak" Subject: All QNX patches
REVERT: b38a873c3a ate: Thu, 16 Jan 2003 13:48:31 +0200 From: "Mike Gorchak"
REVERT: 43155b2e60 Date: Thu, 16 Jan 2003 13:48:31 +0200 From: "Mike Gorchak"
REVERT: 42057d5d2d Date: Thu, 16 Jan 2003 13:48:31 +0200 From: "Mike Gorchak"
REVERT: cfca6d1cc7 From: David Hedbor Subject: Qtopia patches (input grabbing and iconify)
REVERT: 879224b6c7 Enable the glXGetProcAddressARB code (fixes problems with NVidia drivers)
REVERT: f8edfec204 David MacCormack fixed a bug in window sizing with Windows menus
REVERT: 7ae540f3cc Test of the CVS mailing list
REVERT: f39381e3e9 Massive Quartz input enhancements from Darrell Walisser. His email:
REVERT: 273586bdfa Added some code to toggle fullscreen and input grab for testing... --ryan.
REVERT: 8e0540e5cf Date: Sat, 14 Dec 2002 13:33:05 -0500 From: Darrell Walisser Subject: Re: crash in SDL / OSX
REVERT: e2cbed54eb Moved some cleanup stuff to QZ_VideoQuit() from QZ_UnsetVideoMode()...fixes  cursor hiding, etc when calling SDL_SetVideoMode() multiple times. Fixed by  Darrell Walisser.
REVERT: a31f0acba3 Fixed invalid memory access in DGA video driver (thanks ldb!)
REVERT: faab4adb3a Fixed left/right shift detection on Windows (thanks Mike!)
REVERT: cdde594dbc Updated Atari port for new system headers (thanks Patrice!)
REVERT: 1a5622ba5c Fixed compile error if there is no X11 shared memory support.
REVERT: e1ecdaaad4 From: Darrell Walisser Subject: Re: [SDL] OS X and power save
REVERT: 241cf39101 Linux joystick cleanups from Alan Swanson
REVERT: 72f052bbbc There's a bug in the VC7 optimizer relating to the duff loop optimization
REVERT: 180f7d626c *** empty log message ***
REVERT: 2cd7450f7b Doh!  Compile error if there was no X11 shared image support
REVERT: dc970b9478 *** empty log message ***
REVERT: 8a1e3bca3a *** empty log message ***
REVERT: ef58fed6a9 Open ALSA devices in non-blocking mode (thanks Aleksey!)
REVERT: f741db3f7d Open the ALSA devices in non-blocking mode (thanks Aleksey!)
REVERT: 57f5a82852 Updated for DirectDB 0.9.15 (thanks Denis!)
REVERT: 83cb8c4ace Save the full pathname for stdout.txt and stderr.txt
REVERT: 9f15e5f2c2 Fixed bsd joystick detection ... again (thanks Wilbern)
REVERT: 5c63a69080 *** empty log message ***
REVERT: 87040b3a85 *** empty log message ***
REVERT: 4135293105 Support 1-bit alpha on surfaces passed to SDL_WM_SetIcon() (thanks Glenn!)
REVERT: bb1c6662b5 Greatly improved X11 DGA video speed (thanks Cezary!)
REVERT: 994f095e2e Added MMX audio mixing code for gcc (thanks Stephane!)
REVERT: ef6f54e336 Added support for testing video flipping with graywin.c
REVERT: 7af0922b86 *** empty log message ***
REVERT: 6083c21174 Fixed potential dropped events under DirectInput
REVERT: c78b556d00 Fixed alpha blending bug (thanks Glenn!)
REVERT: c3d2c29754 Turn on enums always ints for CodeWarrior (thanks Darrell!)
REVERT: f3560dea28 *** empty log message ***
REVERT: 9e98e499b1 Return an error with color fills on less than 8 bpp surfaces.
REVERT: d0b835b8ee Fixed joystick detection problem on Windows XP (thanks Maciej!)
REVERT: 5560538aa2 Added check for AMD x86-64 ("Hammer") architecture in byte order determination.
REVERT: 60c83fadc7 *** empty log message ***
REVERT: 9735064647 Removed unused function declarations
REVERT: fef7027b52 Fixed mouse warp position bug with offset video modes
REVERT: b749b25a06 Fixed a crash blitting RLE surfaces to RLE surfaces
REVERT: a4123bfdb2 Removed an unnecessary header
REVERT: 8d2185bb73 *** empty log message ***
REVERT: e97f13eb3b Fixed windows event handling for ActiveX controls (thanks Huib-Jan!)
REVERT: 798b601874 Updated the Project Builder stationary with SDLMain.*
REVERT: e47641dfce Added Visual C++ 7 (.NET) projects (thanks James!)
REVERT: 74ca2deff5 Bumped version to 1.2.6 in CVS
REVERT: e9ed754e4c *** empty log message ***
REVERT: 3e7d6e349a Fixed compiler warning
REVERT: 9a5eea0cf3 Fixed building timer code on Windows CE
REVERT: 02a61aecae Doh!  Forgot to set the Win32 DLL version to 1.2.5
REVERT: 9c4b179504 *** empty log message ***
REVERT: b34dca4014 *** empty log message ***
REVERT: c7ef26ba7a *** empty log message ***
REVERT: 5211cca5df *** empty log message ***
REVERT: 7200c21d78 Added an environment variable SDL_HAS3BUTTONMOUSE for Quartz
REVERT: 71adf2617f *** empty log message ***
REVERT: 3ee2de057f Added initial support for Dreamcast (thanks HERO!)
REVERT: 148a1a64f4 Fixed gamma correction in Atari video drivers (thanks Patrice!)
REVERT: 291e8f9bf5 Atari joystick fixes contributed by Patrice Mandin
REVERT: 1af95cab8a Fixed cursor resource leak in Windows (thanks Huib-Jan Imbens!)
REVERT: 3d1ff0f23e *** empty log message ***
REVERT: 605e7e0057 Fixed SDL_main.c on Windows CE with applications containing spaces in their names.
REVERT: f4d9f8e59f Fixed memory overwrite in BSD joystick driver (thanks SUGIMOTO Sadahiro!)
REVERT: 0a5479f0c8 Fixed mouse wheel events on MacOS X
REVERT: 7b88c89815 Lots of cleanups by Darrell, added the ability to resize Cocoa windows.
REVERT: 2ac6973950 Fixed YUV overlay code for Quicktime 6
REVERT: e001f91de4 Added an aborted try at making fullscreen work on Xinerama screen != 0
REVERT: 9489d57f28 Fixed window update problems on MacOS X 10.2 (thanks Darrell!)
REVERT: b191a1af95 Cleaned up the SDL_VIDEO_WINDOW_POS variable support
REVERT: 6bbd447643 Don't be fooled by unclutter - the mouse isn't really leaving our window
REVERT: 34a52528ff Date: Thu, 12 Sep 2002 20:35:51 -0400 From: Darrell Walisser Subject: Jag joystick fix (take 2)
REVERT: d81041f4bb *** empty log message ***
REVERT: 24ad689c20 Fixed a crash bug in checkkeys.c (thanks John!)
REVERT: ae337cc4b4 *** empty log message ***
REVERT: 40bb8b5aab Applied John Popplewell's fix for left-handed mice under Windows.
REVERT: 92d0c77b4e The portable way of including SDL is #include "SDL.h"
REVERT: cb29ccb60d Fixed path problem with sdl.m4 macro file
REVERT: f580d052f7 Fixed missing cursor after shadow buffer flip (thanks Jan!)
REVERT: aee272f0a5 Fixed trashing the framebuffer console on broken video drivers
REVERT: 32e1f1bc86 Fixed a typo in a previous patch
REVERT: 82ab8e4d2d Date: Sun, 1 Sep 2002 21:27:54 -0400 (EDT) From: "Ryan C. Gordon" Subject: [SDL] Minor X11 hack:
REVERT: f11307eab0 Updated MacOS projects with "enums as int" build option
REVERT: 3177220732 *** empty log message ***
REVERT: c221c1ae7d *** empty log message ***
REVERT: 513d7b333c Date: Sat, 31 Aug 2002 15:42:45 +0200 From: Alexandre Courbot Subject: [SDL] Qtopia port fixes/improvments
REVERT: 9e8960992e Fixed some bugs and added some features to the -benchmark facility
REVERT: 5b393a92a4 Added a -benchmark flag for testing the speeds of various video modes
REVERT: cf7d4082e0 Date: Tue, 27 Aug 2002 19:07:38 +0200 From: Denis Oliver Kropp Subject: YUV support
REVERT: 4a1ab27d1f Date: Tue, 27 Aug 2002 16:14:11 +0200 From: Denis Oliver Kropp Subject: Palette support and 8bit color keying fix
REVERT: b653266009 Tell the dock about command-line launched applications
REVERT: 9f74acc70f Darrell's Jag joystick fix
REVERT: e9f15ec055 Doh!  Patch by Joel Ray Holveck
REVERT: ed9545a566 Added a -fullscreen flag
REVERT: 4a75eb146a Date: Sun, 25 Aug 2002 09:46:54 -0400 From: Darrell Walisser Subject: [SDL] Updated Project Builder Support
REVERT: 169fcbaa21 Date: Sat, 24 Aug 2002 22:20:01 -0600 From: "Greg Haerr" Subject: Announce: sdl-nanox-patch
REVERT: b08389d348 Updated the credits
REVERT: 76728d8561 Removed unused function
REVERT: 314bd78b53 Fixed 2048 pixel limitation in DirectX blit code
REVERT: 2dcc945051 *** empty log message ***
REVERT: dd508169ee *** empty log message ***
REVERT: 4da3baa78d Updated the Borland C++ projects (thanks Dominique!)
REVERT: 8a2b5b9e0c Date: Fri, 23 Aug 2002 11:48:56 +0200 From: Denis Oliver Kropp Subject: Another patch
REVERT: 9691009892 Added compile-time checking for the size of enums to SDL_types.h
REVERT: 5310d6d97f Fixed offset bug in hardware accelerated fills and blits
REVERT: fae7d836a8 Date: Thu, 18 Jul 2002 23:51:40 +0200 (MEST) From: Krister Walfridsson Subject: [SDL] src/joystick/bsd/SDL_sysjoystick.c patch
REVERT: 8b7ced1708 Reset mouse state when changing video modes
REVERT: d79f2837b1 Fixed bug where video mode wasn't restored after ALT-tab in with DirectX
REVERT: 96f1a7b806 *** empty log message ***
REVERT: 81a23f5e99 *** empty log message ***
REVERT: 9e7b2297be Fixed crash with invalid bpp in SDL_SetVideoMode()
REVERT: f786844714 *** empty log message ***
REVERT: 76afd78776 Fixed mouse motion on MacOS X (recently broken)
REVERT: a3897183c7 Updated for embedded Visual C++ 4.0
REVERT: a12335985b Help with cross-compiling
REVERT: aa3ff02a85 Added SDL_BUTTON_WHEELUP (4) and SDL_BUTTON_WHEELDOWN (5)
REVERT: a05e8ec098 Added SDL_GL_STEREO for stereoscopic OpenGL contexts
REVERT: 79fc29317c Added an environment variable SDL_VIDEO_X11_WMCLASS
REVERT: 12ceb2a088 Fullscreen windows are always topmost under Windows
REVERT: 09288d7f56 Fixed mouse grab going fullscreen to windowed in Windows
REVERT: 49c515a291 *** empty log message ***
REVERT: 4fe2e406a5 Fixed video crash on older XFree86 servers
REVERT: fe1b097b38 Only modifier key state is noted when X11 window opens
REVERT: ebfc431b9f Added temporarily disabled code for hardware acceleration in windowed mode.
REVERT: da6273a8f0 Flush message queue when shutting down video mode on Windows
REVERT: 16a3c5faef Zeroed out SDL_Surface::unused1 so glSDL will work on stock SDL
REVERT: c077c03867 Removed DDFLIP_WAIT flag from DirectX flip for improved performance
REVERT: 0d4764446e *** empty log message ***
REVERT: e8d4a664cc Added a way to get the Windows OpenGL context in SDL_syswm.h
REVERT: 44bb9d26b0 Fixed building Windows DLL with latest native Cygwin tools
REVERT: 3432c00326 Updated configure.in for automake 1.6.2
REVERT: fb88925960 Darrell's fix for Quartz mouse motion
REVERT: 932fe2acb5 Commented double-free buggy code. Will examine more closely later.
REVERT: 9bdbd6c797 Added initial support for PicoGUI (thanks Micah!)
REVERT: bf356316d1 *** empty log message ***
REVERT: a9c0bef803 Fixed SDL_DisplayFormatAlpha() on RGB surfaces with alpha
REVERT: 8613885333 Make sure width and height passed to SDL_GetVideoMode() are sane.
REVERT: 8a705f2fb5 Memory leak fixes by Bill May.
REVERT: 3c98f85785 Date: Fri, 12 Jul 2002 11:25:32 GMT+1 From: Patrice Mandin <pmandin@caramail.com> Subject: [SDL][PATCH] Audio for Atari, and XFree86 compilation
REVERT: 7a17d3a08b Date: Mon, 29 Jul 2002 15:07:22 +1000 From: screwtape@froup.com
REVERT: fd6a9a929b Fix for USB HID API. Fixes build on NetBSD and FreeBSD, but maybe causes  trouble on OpenBSD?
REVERT: 70d7936adc Fixed (?) semaphore support on HPUX 11.x ...
REVERT: 981df5b527 *** empty log message ***
REVERT: 7aab656e69 More correct error reported when calling SDL_GL_LoadLibrary() without prior call to SDL_Init().
REVERT: 69c56b9025 Memory leak fix for DirectX software surfaces
REVERT: 38cfc74872 Bugfix from Corona688: don't reference a string before we've initialized it.  Fixes crashbug on WinCE (PocketPC).
REVERT: 316a36b859 *** empty log message ***
REVERT: c247a99d09 Allow building from another top level directory
REVERT: e146cd9a8f Updated the QNX audio code for QNX 6.2 (thanks Travis!)
REVERT: 2da1f62f1d *** empty log message ***
REVERT: addb2599d4 *** empty log message ***
REVERT: 9d7dc6149a Fixed building with pthreads and the pth library
REVERT: 151ff4a5c6 *** empty log message ***
REVERT: 86b3752691 Hmm
REVERT: 153d8a053c Fix uninitialized variable warning
REVERT: 4587a893f5 Fix another memory leak
REVERT: 83fabf445d *** empty log message ***
REVERT: aa78343900 Fixed memory leaks in YUV code
REVERT: 76555d8bed *** empty log message ***
REVERT: f794e9e37c API changes on OpenBSD and FreeBSD...
REVERT: 7825ae2b6d Added some more joysticks on Linux
REVERT: c37f7658ad *** empty log message ***
REVERT: 3ae1a7a53a *** empty log message ***
REVERT: 05049da4bb *** empty log message ***
REVERT: 2d3904c3e4 *** empty log message ***
REVERT: f3f6cd3540 *** empty log message ***
REVERT: 954076bfef *** empty log message ***
REVERT: 6bfa9cc348 Unified the thread detection code for UNIX platforms
REVERT: 35d6bbe910 Added Atari audio support (thanks Patrice!)
REVERT: dee1deebe1 Pth threading bug fix
REVERT: 60236871ea Added check for ENOMEDIUM to the Linux CDROM code
REVERT: d0fda064a6 Date: Wed, 5 Jun 2002 12:57:56 +0200 From: Denis Oliver Kropp <dok@directfb.org> Subject: [PATCH] DirectFB 0.9.11 released
REVERT: ff198fcda7 *** empty log message ***
REVERT: 239a05e033 *** empty log message ***
REVERT: 6833d2fae9 *** empty log message ***
REVERT: 7cb593091a *** empty log message ***
REVERT: aba4b443c9 Date: Sat, 1 Jun 2002 17:56:45 -0500 From: Darrell Walisser <dwaliss1@purdue.edu> Subject: mac patch
REVERT: 455d014f8a *** empty log message ***
REVERT: f1cd55c173 *** empty log message ***
REVERT: 69059cfb94 Fixed shared library building on MacOS X (thanks Max!)
REVERT: fdc2447e2f Added a README for Qtopia
REVERT: d40f5894de *** empty log message ***
REVERT: 341008254c Almost... :)
REVERT: 02505be52b SDL_PushEvent() now returns values as documented.
REVERT: 89f4584aa2 Date: Wed, 29 May 2002 17:37:19 +0200 From: Denis Oliver Kropp <dok@directfb.org> Subject: DirectFB 0.9.11
REVERT: 922e3fe2c4 Wilbern Cobb submitted a fix for building BSD joystick support that should work on all BSD flavors.
REVERT: 26d1c3e548 Date: Wed, 22 May 2002 22:30:58 +0300 From: "Mike Gorchak" <mike@malva.com.ua> Subject: One more QNX patch
REVERT: 5e5d89d853 Date: Fri, 24 May 2002 10:32:00 -0700 From: David Hedbor <david@hedbor.org> Subject: more patches
REVERT: f90540a233 *** empty log message ***
REVERT: a1b67e349e *** empty log message ***
REVERT: 692ffcaba2 *** empty log message ***
REVERT: ec61970a65 Use secondary audio buffers to avoid problems on various soundcards
REVERT: 85149547fe *** empty log message ***
REVERT: e88f31655f Fixed setting OpenGL mode multiple times on Windows
REVERT: e9af416564 *** empty log message ***
REVERT: 965965962a Added David Hedbor's Qtopia patches
REVERT: 4c4f326af1 Date: Sat, 18 May 2002 17:40:53 +0300 From: Mike Gorchak <mike@malva.ua> Subject: New QNX patches
REVERT: 725baca38c *** empty log message ***
REVERT: 53f3d582de *** empty log message ***
REVERT: 14138cbebf The Win32 information has been moved to the FAQ.
REVERT: 37e65f4754 Avoid a conflict in the definition of int32
REVERT: 7d917ae15d *** empty log message ***
REVERT: a4c946dd96 Fixed MacOS X installation for SDL 1.2.4 release (thanks Darrell)
REVERT: c2fa8f306f Date: Thu, 18 Apr 2002 13:50:53 -0700 From: Joseph Carter <knghtbrd@bluecherry.net> Subject: [SDL] A critical bugfix!
REVERT: 67fb83d790 *** empty log message ***
REVERT: 98d633cb9b From: Wilbern Cobb <vedge@csoft.org> Subject: Re: SDL 1.2.4 on FreeBSD (fwd) X-Mailer: My Mailer 1.5  <slouken@devolution.com>
REVERT: 93d5fae904 Configure fixes from Wilbern Cobb for FreeBSD joystick support.
REVERT: 7db7d624e3 Fixed crash in QZ_SetCaption() (thanks Darrell)
REVERT: 9295a9bec1 Wilbern Cobb fixed joystick code on FreeBSD
REVERT: b02d1f6451 *** empty log message ***
REVERT: 1539d367af *** empty log message ***
REVERT: 6d09aa21d3 Don't build RPM archives that have ALSA dependencies
REVERT: df971a5e84 Updated ALSA audio support for ALSA 0.9
REVERT: 33c6476aad The documented error return value for SDL_WaitEvent() is 0.
REVERT: cf126866a9 Fixed SDL_PollEvent() so it only returns a boolean value (not -1)
REVERT: be790734fd Fixed failed make when running "make distclean"
REVERT: f53b99badc Bump the version, so that it isn't forotten later. :)
REVERT: 9a090b897c *** empty log message ***
REVERT: 3629d251f2 Re-added MacOS X audio locking
REVERT: 5b4fdd0de0 Fixed build warning
REVERT: 4bf624786e Fixed precompiled headers on MacOS X
REVERT: 1eca7853fd *** empty log message ***
REVERT: 8ef049cc3e *** empty log message ***
REVERT: 210990f330 *** empty log message ***
REVERT: f047060a73 *** empty log message ***
REVERT: 3682ce6756 *** empty log message ***
REVERT: d0e3b8a886 Fixed a minor memory leak in the SDL thread subsystem
REVERT: bb5882bafe Fixed spurious keypress at startup on BeOS
REVERT: fff616907d Fixed gamma ramps in DirectX windowed and OpenGL modes
REVERT: 808d714de4 Explicitly specify the SDL API calling convention (C by default)
REVERT: 16d7ff7c9c BeOS compile fix for shared object loading code
REVERT: 5eb3e3c1c5 *** empty log message ***
REVERT: e55b81e2f1 Fixed DirectX fullscreen gamma control (thanks John!)
REVERT: 32452bff12 Fixed a crash bug in the WM_ACTIVATE code (thanks John!)
REVERT: ea22556441 Mouse wheel fix patch.
REVERT: 0db42ad87a Date: Thu, 04 Apr 2002 13:27:36 GMT+1 From: Patrice Mandin <pmandin@caramail.com> Subject: [SDL][PATCH] Atari mouse patch
REVERT: 7bf77c9df1 Date: 03 Apr 2002 15:28:09 +0200 From: Alexander Pipelka <pipelka@bms-austria.com> Subject: SDL patches
REVERT: e3affe9e81 Patrice's fixes for GNU Pthread support
REVERT: 471f52e3e4 RPM dependency fix courtesy of Edward Rudd
REVERT: 7e4d8b2b62 *** empty log message ***
REVERT: 3fa7d61105 Disabled QueryPerformanceCounter(), due to problems on Win2K
REVERT: b2f4430889 Fixed the bug where mouse cursor and SDL mouse coordinates didn't match in Windows OpenGL mode.
REVERT: ff3fb0db16 *** empty log message ***
REVERT: b954823429 The audio lock and unlock functions are now a part of the driver. The MacOS audio locking has been implemented, courtesy of Ryan Gordon
REVERT: a55059b4d3 The audio lock and unlock functions are now a part of the driver. The MacOS audio locking has been implemented, courtesy of Ryan Gordon
REVERT: 2341158b2a Fixes for GNU pthreads from Patrice
REVERT: 9ddae6eab1 Date: Thu, 28 Mar 2002 09:20:03 +0200 From: "Mike Gorchak" <mike@malva.ua> Subject: New QNX patch.
REVERT: a437e285ca *** empty log message ***
REVERT: 75baede7db *** empty log message ***
REVERT: fc756544a4 *** empty log message ***
REVERT: fa7913f21d Added UNIX RDTSC code by Lompak (disabled by default)
REVERT: b553c23e28 Date: Sat, 23 Mar 2002 13:53:37 +0200 From: "Mike Gorchak" <mike@malva.ua> Subject: Big QNX patch again.
REVERT: 42e7ceb763 *** empty log message ***
REVERT: 74c1e3caa4 *** empty log message ***
REVERT: 7bee0caef8 Used the glext.h from the SGI sample implementation
REVERT: 324818b56e Date: Fri, 15 Mar 2002 18:24:59 GMT+1 From: Patrice Mandin <pmandin@caramail.com> Subject: [SDL] [PATCH] Atari port, bug in xbios driver driver
REVERT: d551e642d0 Blit bug fix from John Popplewell
REVERT: 2c07cb4d5d *** empty log message ***
REVERT: d6eaf8e9f8 *** empty log message ***
REVERT: d45cd06f89 This properly scales axes, and adds support for sliders/wheels
REVERT: fab7d1c35c Only put surfaces in video memory if there are accelerated blits
REVERT: 8de550f702 Atari port cleanups from Patrice
REVERT: 94746b8b48 *** empty log message ***
REVERT: 1e744f8805 *** empty log message ***
REVERT: ee411baee8 Added Atari joystick support (thanks Patrice!)
REVERT: 43cf31d9c0 Fixed dynamic arts support.
REVERT: f1c04cfe5e Fixed dynamic arts support. Turned on dynamic audio load by default in RPM build.
REVERT: f6e37ac8de *** empty log message ***
REVERT: a906c94db7 *** empty log message ***
REVERT: ea5d630479 Updated copyright information for 2002
REVERT: 6ece4d1c0e Removed the API changes to preserve SDL 1.2 stability
REVERT: 40435096bc *** empty log message ***
REVERT: b7e54037ed Added a new header file: SDL_loadso.h It contains the following functions: 	SDL_LoadObject(), SDL_LoadFunction(), SDL_UnloadObject() The UNIX esd and arts audio code use these to dynamically load their respective audio libraries.
REVERT: 89f7ace3fc *** empty log message ***
REVERT: a1db24829f  Added SDL_LockRect() and SDL_UnlockRect()  Incorporated XFree86 extension libraries into the source
REVERT: 84075e735c Date: Thu, 21 Feb 2002 09:18:24 +0200 From: "Mike Gorchak" <mike@malva.ua> Subject: Re: Patches for QNX RtP again.
REVERT: f6aa684abc *** empty log message ***
REVERT: a31cbafd14 Fixed "short jump out of range" error in MMX code
REVERT: bae3b1e1e1 Updated for Watcom C++ and LCC compilers
REVERT: 89c31763c4 From: Patrice Mandin <pmandin@caramail.com> Subject: [SDL] [PATCH] Little cleanups for Atari port
REVERT: 36c39dd53e Updated for DirectFB 0.9.9
REVERT: ef35514608 *** empty log message ***
REVERT: 07540b7601 *** empty log message ***
REVERT: b961568eee Date: Mon, 18 Feb 2002 16:46:59 +1200 From: Julian Kinraid <jkinraid@clear.net.nz> Subject: Patches for photon port of SDL
REVERT: b6348eb051 Fixed SDL_OPENGLBLIT with OpenGL API newer than 1.2
REVERT: ea01f53e50 Added initial support for Atari (thanks Patrice!)
REVERT: 3b2774da46 *** empty log message ***
REVERT: e7866b627d Mike Gorchak added some QNX tweaks, including OpenGL support
REVERT: 7dffe66c0f Added support for joysticks on *BSD (thanks Wilbern!)
REVERT: 96ca0441f4 Added a YUV overlay test program (thanks Jon!)
REVERT: 5462cb89e0 Updated the documentation for the SDL_PushEvent() call.
REVERT: 528959fcb2 Added support for the pause key under DirectX
REVERT: fb441e589b David Snopek added Borland compiler support
REVERT: 631d757813 *** empty log message ***
REVERT: 06db61e1a0 Date: Sat, 19 Jan 2002 17:24:32 -0500 (EST) From: Darrell Walisser <dwaliss1@purdue.edu> Subject: SDL Quartz video update
REVERT: d8881664ba Now works "out of the box" on BSDI
REVERT: a3b1aa2dde From: "Mattias Engdeg�rd" <f91-men@nada.kth.se> To: slouken@devolution.com Subject: Re: [SDL] Question about SDL_FillRect()
REVERT: 84a8810315 Added Quartz version of SDL_SetIcon() for MacOS X (thanks Bob)
REVERT: f7244502f5 *** empty log message ***
REVERT: 09dd22f134 *** empty log message ***
REVERT: 3a8a4d7b07 Added QNX cleanups by Mike Gorchak (thanks!)
REVERT: 86a83938b6 *** empty log message ***
REVERT: d79384a241 *** empty log message ***
REVERT: fbed922ce2 Fixed building with Cygwin (thanks Michael)
REVERT: a7215581c7 Don't allow multiple audio opens to succeed (until SDL 1.3)
REVERT: 551057f96e *** empty log message ***
REVERT: c776101fdc *** empty log message ***
REVERT: 69fa9c0a31 *** empty log message ***
REVERT: a006441198 *** empty log message ***
REVERT: 57700a56ab *** empty log message ***
REVERT: eaa38ae341 *** empty log message ***
REVERT: 896c76ea65 Updated Amiga port by Gabriele Greco
REVERT: 601be8cfe2 *** empty log message ***
REVERT: ff5f125cb1 Updated mailing list information
REVERT: 3ceea60069 Updated the source with the correct e-mail address
REVERT: c565735afa Updated the headers with the correct e-mail address
REVERT: 11298a53e9 Added support for building SDL for EPOC/SymbianOS 6.0 (thanks Hannu!)
REVERT: f9233dd860 *** empty log message ***
REVERT: b3136f3c32 Reset the device before closing it - fixes a hang with some audio drivers
REVERT: 0d4c3555ab Fix crash with Linux supermount fstab entries (thanks Erno!)
REVERT: 0ed6cab836 From: "Mattias Engdeg�rd" <f91-men@nada.kth.se> Subject: X11 icon byte order bug
REVERT: 90a40eae2b *** empty log message ***
REVERT: ff06c785b0 Fixed timeout in Linux condition variable implementation
REVERT: c374bc5b9f Fixed testgl so that SDL_GL_Enter2DMode() allows alpha blending
REVERT: ea3595e3fb Added support for Xi Graphics XME fullscreen extension
REVERT: c5e643229a Bump the version number on the library
REVERT: 73c182c165 Include the README files with the source distribution
REVERT: 0974e3da3b Added a couple minor tweaks
REVERT: 5f11ce2df3 *** empty log message ***
REVERT: bed066cd0c Oops, forgot a directory here...
REVERT: 8d7130f818 Fixed X11 icon color allocation (thanks Mattias!)
REVERT: 2a641b7882 Removed a warning
REVERT: 8254d92a49 Modified the logo texture load to accept any width/height image
REVERT: e19a77c7c5 SDL_OPENGLBLIT is deprecated, show the "right way" of doing things
REVERT: 383e24e32d Don't generate a spurious error on SDL_InitVideo()
REVERT: ee89db99de Updated to include SDL_opengl.h
REVERT: a18f9fc0f8 Greatly improved Xinerama video mode support
REVERT: 3555e0f4c7 Fix a crash if an OpenGL video mode can't be set.
REVERT: 7db054c78e Give more info about the current video mode
REVERT: c05194de44 Added X11 Xinerama support - fullscreen starts on screen 0
REVERT: ad2cc0a6ae Disabled virtual terminal check for SVGAlib video
REVERT: 12c2075fb5 Fixed building hermes objects with automake 1.5 (thanks winterlion)
REVERT: 396cf0590a *** empty log message ***
REVERT: 8105c7de87 Fixed key repeat interactions with event filters (thanks Elmar!)
REVERT: ad1ac00522 *** empty log message ***
REVERT: e79ad74ac3 *** empty log message ***
REVERT: c0d645637d *** empty log message ***
REVERT: 46f0e7c9bd Updated SDL DirectFB backend for DirectFB version 0.9.7
REVERT: 9dbf9e7151 Hack workaround to fix MacOS X install problems
REVERT: 008e9d4257 Use the sticky focus flag so audio isn't muted when application is switched.
REVERT: 12fbaa83cf Fail if setting a video mode when requesting GL and can't get it.
REVERT: 67ec8430fa Fix shared library creation on QNX
REVERT: 3deb725c6a Added platform independent OpenGL header - SDL_opengl.h
REVERT: 0a5dc12bd0 *** empty log message ***
REVERT: 9fe1390918 *** empty log message ***
REVERT: 75c71e3f4b If we're looking at the /dev/input event devices, and we found at least one, then we don't want to look at the input joystick devices, since they're built on top of devices that we've already seen, so we're done.
REVERT: 1fc7708dc0 *** empty log message ***
REVERT: fb0a891f27 *** empty log message ***
REVERT: 81aa5fb298 *** empty log message ***
REVERT: af84bb466f Added Darrell Walisser's updated project-builder projects
REVERT: ff44030b80 Fixed flashing the screen when creating a window on BeOS
REVERT: 9fa42d19f6 Added double-buffering support for SVGAlib (thanks Kutak!)
REVERT: c9c04a2750 Added photon fixes submitted by Luca Barbato
REVERT: 5c8d9f8fbf *** empty log message ***
REVERT: db4a562585 Fixed crash when using double-buffering with DGA
REVERT: 7d2934e1ef Fixed last track time calculation (thanks Tchi Southivong)
REVERT: f488fc9424 MacOS X fix
REVERT: d94a1797fa *** empty log message ***
REVERT: 22120eac88 *** empty log message ***
REVERT: 2473d7c237 *** empty log message ***
REVERT: d7dcae3d87 *** empty log message ***
REVERT: d521252694 *** empty log message ***
REVERT: 1e5a9f6ffa Oops, back out that SDL_main -> SDLMain conversion
REVERT: 6abb357c70 *** empty log message ***
REVERT: 547cbe9d23 Fixed resuming a paused CD on Win2K (thanks Aragorn)
REVERT: 5fb411a341 Changed SDLMain to SDL_main for MacOS X stuff
REVERT: 01d34a0683 *** empty log message ***
REVERT: e21a23a6a8 Date: Thu, 13 Sep 2001 14:14:42 -0400 From: "David Chait" <davebytes@hotmail.com> Subject: sdlmods.zip -- Message: 502   --  Next: 503 N --------------------------------------------
REVERT: 9223cd5dd9 *** empty log message ***
REVERT: 9ad41a58f3 *** empty log message ***
REVERT: 5bd1183b9e *** empty log message ***
REVERT: 628bc977b6 Added support for the GNU Pth thread lib (thanks Mandin!)
REVERT: 3ed3b9a257 Added the Undo key for the Atari keyboard
REVERT: a3748febb8 *** empty log message ***
REVERT: 6a538b9b8d Fix XVideo on GeForce by using last available adaptor
REVERT: 8dd601989f Updated from the SDL Documentation Project
REVERT: 627578c0d5 Do proper typecasting so this compiles on IRIX
REVERT: 4ec27550d2 *** empty log message ***
REVERT: 24580b1583 Added CD-ROM support for BSD/OS (thanks Steven!)
REVERT: b2c4a2a191 Added library version information to the Windows DLL
REVERT: 933ea8f573 *** empty log message ***
REVERT: 73237979d7 Fix for "make dist"
REVERT: 89cc3ab1c0 *** empty log message ***
REVERT: ce3a1900be Added initial support for EPOC/Symbian OS (thanks Hannu!)
REVERT: bea3cb1da4 Date: Sat, 8 Sep 2001 04:42:23 +0200 From: Max Horn <max@quendi.de> Subject: SDL/OSX: Joystick; Better key handling
REVERT: 2d9275e49a Handle the case where the WAVE magic number was already read in a non-seekable stream.  I don't know if the code works with non-seekable streams anyway, but ...
REVERT: 9eab0ea201 *** empty log message ***
REVERT: fce24d4fb3 Allow building SDL on Windows without audio support
REVERT: 23d3cf9854 Added Max's patches for building MacOS X apps on command line
REVERT: 9e8567129b Added support for DirectFB video on Linux (thanks Denis!)
REVERT: ee5429fd3e Fixed Solaris nitpicks (thanks Mattias!)
REVERT: b29480bdb9 Joystick initialization fix submitted by Vitaliy Mikitchenko
REVERT: 38014ea6ce *** empty log message ***
REVERT: 283933d21d Removed SDL_blit_A.h (obsolete)
REVERT: 6909ecfbe0 Fixed mouse wheel motion position on Windows
REVERT: 2090ef6327 An expose event is now sent when using XVideo output.
REVERT: 7567d402af Fix title bar setting bug
REVERT: 54be57078a Time to recognize everyone again. :)
REVERT: 75ab0e7ade Date: Tue, 21 Aug 2001 03:50:01 +0200 From: Max Horn <max@quendi.de> Subject: New patch for OS X
REVERT: 6dbdba950a Removed fullscreen menu entry - fixed warning on application startup
REVERT: de28d673ff Is this right??
REVERT: 7ec55a39c3 Date: Thu, 16 Aug 2001 21:50:51 -0500 (EST) From: Darrell Walisser <dwaliss1@purdue.edu> Subject: Patch for video bugs + Max's additions
REVERT: 54e5a5fe78 *** empty log message ***
REVERT: a2d4d4bcb7 Fixed IDE and SCSI CD-ROM detection on BeOS (thanks Caz!)
REVERT: 2f77d42d3a *** empty log message ***
REVERT: 8ead741049 Fix compiler warnings
REVERT: 4e338deb4f *** empty log message ***
REVERT: 8e41c23177 Fixed compile errors and added call to SDL_SetModuleHandle() in WinMain()
REVERT: 2aca7272f2 Audio subsystem no longer assumes sun audio API on UNIX systems
REVERT: f2de3a7f9b *** empty log message ***
REVERT: 4c74d7983a Added SDL_expose.c to the VC++ project
REVERT: 5af50961be Applied David MacCormack's patch to fix SDL_WINDOWID on Windows, and added a function to cache the application handle so DirectInput still works properly.
REVERT: dac38725b6 Fixed VGL detection on FreeBSD (thanks David!)
REVERT: 86765b7947 Updated ltconfig for OpenBSD (thanks Peter!)
REVERT: 2c0f0f93f3 From: Max Horn <max@quendi.de>
REVERT: 3e36b078e3 Include MacOS X in the distribution
REVERT: a87c386058 Fixed compiling on Windows CE
REVERT: 8fd4e7fc4e Fixed potential buffer overflow in Linux CD code (thanks Ryan!)
REVERT: 848f5a9b72 Applied Paul Jenner's patches to fix "make distcheck" and "make rpm"
REVERT: 4819049e1e Fixed building the static library (still needs to run ranlib afterwards)
REVERT: 3d9ea4a0ee Added hardware stretching code to scale 640x480 to TV resolution There's a bug of some kind in the 16bpp code. ??
REVERT: 76c9127515 Added initial support for TV output modes
REVERT: 95e1f2d5eb Fix compile riva fb problem on older kernels
REVERT: a97788ad8e Added support for hardware accelerated NVidia driver on framebuffer console Still missing colorkey and alpha blit support
REVERT: 9b77d2cd86 Added button-up with mouse-wheel on framebuffer console
REVERT: 3f722efa22 Fixed audio format selection for OpenBSD (thanks Peter!)
REVERT: 6bb44f76a9 The rectangle argument to SDL_SetClipRect is really const
REVERT: fa21275ab8 Applied Maxim's patch for VGL detection on FreeBSD
REVERT: 5641408419 Avoid a compiler warning when configured with --disable-threads
REVERT: 5554c9e570 Oops, that wasn't right...
REVERT: 6a0f52a7ca Bump version to 1.2.3
REVERT: ea547cf165 Fix build when GL_CLIENT_PIXEL_STORE_BIT is not defined
REVERT: b4ff64c1fc Updated version to 1.2.2
REVERT: 8a6dd452d0 Fixed the project builder project archive Added a rule to generate the archive from loose directories too. :)
REVERT: 15e2f09e61 Don't worry about a minimum repeat rate - let the user hang themselves...
REVERT: 1412a1724e Name changed from OBSD to OPENBSD_AUDIO
REVERT: d687fcb09b Re-adding SDLMain.nib.tar.gz, so people don't have to use stationary.
REVERT: a6313548d2 *** empty log message ***
REVERT: c41d612838 Fix noise when starting audio under DX5 (thanks Jesse!)
REVERT: 77331bf064 Fixed fullscreen mouse events on MacOS X Fixed crash when quitting fullscreen mode on MacOS X
REVERT: 962eabb3ef Changed the CVS root to point to libsdl.org
REVERT: 432e70c604 Removed debug info accidentally comitted
REVERT: 841a877674 Now returns an error if unable to open audio on BeOS Fixed bugs in fullscreen/windowed mode changes, removed duplicated code.
REVERT: 890d033735 Fixed crash if mouse is outside of the screen bounds for some reason
REVERT: 37aa008a3e Incorporated slightly modified version of Rainer's WinCE patch
REVERT: b444cb0240 Now gets correct keyboard state when starting up on X11
REVERT: 8b57da4c5c SDL GL dynamic loading fix for OpenBSD
REVERT: 75213d1709 Fixed switching away from the SDL at the framebuffer console
REVERT: f18a8a4b4f *** empty log message ***
REVERT: 34da4efe0d Fixed crash in testsprite when using the -fast option (nobody caught this?)
REVERT: a079e29715 Merged DGA video surface handling improvements, unified locking code. Fixed matrox blit bug where src Y less than dst Y Fixed hardware surface init when no resolution change
REVERT: 7ddaf6cf9a Some minor name changes to clean up
REVERT: f4969ff561 Detect more types of IMPS/2 mouse
REVERT: f9c31c72f1 *** empty log message ***
REVERT: c3aaf60a7d Don't crash if freeing a hardware surface after the video mode has been reset.  Fortunately we keep track of the video memory internally.
REVERT: 76b5d94d9d DGA video driver is now thread-safe Improved DGA hardware acceleration code
REVERT: a169a6c32e Fixed using the video mode extension on older servers
REVERT: 49aa27fdd4 Oops, I committed debug code...
REVERT: d8a033f83d Fixed some problems with the fullscreen code.  Wooo. :)
REVERT: 0d895fa8a8 Revert to old non-blocking writes (if it ain't broke, don't fix it)
REVERT: c8f2e030dc Fixed blocking open bug when using blocking audio writes
REVERT: 503838661e Updated list of improvements
REVERT: acab15a3bd Cleaned up the OpenBSD port, thanks to Peter Valchev
REVERT: ea5f242f09 Applied Hannu's fix and switched to blocking writes .. seems to work?
REVERT: e70ae1ccbc Fixed the DMA driver not to reset the audio descriptor (not needed, and it breaks things on some drivers)
REVERT: 6369aeaaa5 From: "Markus F.X.J. Oberhumer" Subject: SDL CVS patches
REVERT: b4001bd1ff Fix to allow SDL compiled under XFree v4 to work with XFree v3 xservers. Contributed by Jarek Sobieszek
REVERT: ec76bd6aef Added Holger Schemel's fix for SDL_GetTicks() on W2K This adds QueryPerformanceCounter() support, which is probably a good thing.
REVERT: 96c6144609 Hopefully fixed the fullscreen mode code for KDE
REVERT: 4e0366dc1d Added -width and -height command line options
REVERT: b28f12dc1c Dummy audio and video drivers are enabled (thanks Ryan!)
REVERT: 32bf9a536b Added support for Visual C++ inline keyword
REVERT: 3b694d2065 Add a symlink to SDL 1.2 for SDL 1.1
REVERT: cd8cd98f62 Oops, don't include debug code
REVERT: 2311157d38 When the mouse is grabbed, send the application the motion associated with the enter/leave notify events.
REVERT: 143a1a0938 Added the SDL_VIDEO_YUV_DIRECT hack for better performance when the requested video mode is 16 bpp but the real video mode is 32 bpp.
REVERT: 3fe72f0ebb Oops, reversed the logic of the variable
REVERT: b84fc3f7b6 Allow the user to override the relative mouse mode. They almost never want to do this, as it seriously affects applications that rely on continuous relative mouse motion.
REVERT: b51058100e Added the environment variable SDL_MOUSE_NORELATIVE to completely disable relative mouse motion if the application desires it.  UNDOCUMENTED!!
REVERT: 4cb38efa33 Don't crash if freeing a cursor after quit...
REVERT: 4b930af7e9 Bumped the library version
REVERT: 31059713d1 Added patches from FreeBSD ports
REVERT: 8840f4dbf5 *** empty log message ***
REVERT: a348f4bd42 Oops, forgot the Quartz video directory
REVERT: 85b3f6b287 Fixed the PS2 GS detection
REVERT: 25998f01dd *** empty log message ***
REVERT: c0384c9cf7 Added Linux PlayStation 2 Graphics Synthesizer support
REVERT: 1b535a719a Added /dev/usbmouse to the list of mice to check
REVERT: 98233844c7 Added an audio driver that writes to disk (thanks Ryan!)
REVERT: 9a765af003 Support for SVGALib 2.0, thanks to Benjamin Joel Stover
REVERT: 09e27c082f Re-added files in binary form
REVERT: f63a3b3742 *** empty log message ***
REVERT: f7e2a7f0d4 Re-added in binary form
REVERT: c85a3759fb *** empty log message ***
REVERT: a1e71c90ff Updated projects
REVERT: f64498bc04 Mouse wheel sends mouse button (4/5) events on Windows
REVERT: 79c2803acf *** empty log message ***
REVERT: 24b54aa981 Ryan's IMPS/2 mouse fix
REVERT: 254c4d997c * Removed fullscreen menu option from the "Window" menu * Updated the BUGS file * Fixed command line parameters when launched from Finder * Implemented setting the icon window caption * Implemented frameless style windows * Added note about SDL_RESIZABLE implementation to SDL_QuartzVideo.m * Window close requests now go through the event filtering system
REVERT: 982c4718af *** empty log message ***
REVERT: addd2dc543 Date: Sun, 10 Jun 2001 17:33:44 -0500 From: Darrell Walisser <dwaliss1@purdue.edu> Subject: Re: [SDL] Mac OS X Goodies For You
REVERT: 028b0ae934 Added new docs for SDL 1.2.1
REVERT: 16ce3048d6 *** empty log message ***
REVERT: c7f970e39d Added MacOS X Project Builder projects
REVERT: 7efd8f7283 MacOS X additions from Darrell
REVERT: b21d935de1 Disabled /dev/event joystick interface by default
REVERT: a4fc83d5fc Oops, back it out...
REVERT: e82590fade Fixed bug in joystick motion, thanks to Alexandre Duret-Lutz
REVERT: 4c41ee7dc2 Mattias' patch
REVERT: 72f7279bf8 Added initial support for Quartz video (thanks Darrell!)
REVERT: d9a2eb5ef1 *** empty log message ***
REVERT: 16d06770f8 Fix palette creation in windowed mode at 8 bpp
REVERT: 6cae9e66ce *** empty log message ***
REVERT: a08e92da41 I found the pthread package for NetBSD
REVERT: bed5e954db *** empty log message ***
REVERT: 56c5f79a63 *** empty log message ***
REVERT: c8367275cb NetBSD linker fix
REVERT: 5cc1dd1c23 Minor fixes for NetBSD
REVERT: 4baaa1ec99 Oops, typo fix
REVERT: 6a24b323f5 Added native OpenBSD audio driver (thanks vedge!)
REVERT: a95fb10027 Windows CE patches contributed by Rainer Loritz
REVERT: 09112109c3 Added detection of Open Sound System on Solaris x86
REVERT: 0445aeab47 Minor crash bugfix
REVERT: 7e81fd927f Silly bug fix from Billy Biggs
REVERT: 2358ce3d03 Reverted ENABLE_X11 patch - FIXME, this needs a better solution in the future.
REVERT: 961e147309 Catch up to Cygwin for the location of the Windows API libraries
REVERT: 367f76c103 Added initial support for Nano-X (thanks Hsieh-Fu!)
REVERT: 6216069aa3 Oops, the OpenBSD fix didn't.
REVERT: 4e0d49d31c Updated config.guess and config.sub
REVERT: 001d739fb1 The keyboard modifiers are not set to the correct state on X11 startup.
REVERT: 874c49509f Date: Wed, 9 May 2001 18:03:20 -0600 From: Peter Valchev <pvalchev@openbsd.org> Subject: openbsd patches
REVERT: 2d8d773bd0 Date: Wed, 9 May 2001 18:03:20 -0600 From: Peter Valchev <pvalchev@openbsd.org> Subject: openbsd patches
REVERT: c0b3f77096 Fixed endian detection on IA64 architectures (thanks Bill!)
REVERT: 6eafdeac22 *** empty log message ***
REVERT: 48f77300a1 Fixed to work on Solaris x86
REVERT: df7866c435 Updated the Amiga OS port of SDL (thanks Gabriele)
REVERT: ac645d34ed Remove spurious warning
REVERT: 62b02c639e Date: Thu, 19 Apr 2001 08:36:54 +0300 From: "Mike Gorchak" <mike@malva.com.ua> Subject: Patches for QNX RtP
REVERT: 22f0ac25d6 Added pthread.h - necessary on some configurations
REVERT: 24bdaa544e Fixed crash in GGI detection
REVERT: dbbb4480a7 Added --disable-dga configure option to disable DGA entirely
REVERT: 8de23bec51 Don't try to register the app if video code is disabled
REVERT: ea1961a548 Fixed stuck keys when changing the video mode
REVERT: 0329e5fda5 Fixed double-mouse event bug on Windows using OpenGL
REVERT: a42b4fe1dc Fix key repeat detection on newer X servers
REVERT: 0d41d5350e *** empty log message ***
REVERT: f772d5c196 Fixed left arrow on iBook keyboard under MacOS X
REVERT: 079731edb3 Fixed memory leak in software YUV stretch code
REVERT: 5d94e3b158 Fixed relative motion checking after restore under X11
REVERT: 0f69788202 *** empty log message ***
REVERT: 5f9b498872 Fixed 320x200 video mode on framebuffer console
REVERT: bc2a95882b Improved robustness for the ELO touchpad (thanks Alex!)
REVERT: 9855645ef8 Date: Thu, 26 Apr 2001 10:46:23 +0200 From: Alexander Pipelka <pipelka@bms-austria.com> Subject: SDL ELO driver bugfix
REVERT: 20e1366014 Use correct repository when generating CVS snapshots
REVERT: c905d2c53d *** empty log message ***
REVERT: 9b6cc5a90d Changes since SDL 1.2.0 release
REVERT: 2f110628a7 Initial revision
REVERT: a9a0cf95ec Fixed crash if the OpenGL library hasn't been loaded yet
REVERT: 9483e21015 Align pointer in SDL_memset before doing Uint32 loop
REVERT: ed89f98f5b Changed C++ style comments.
REVERT: 8cc5275bde Fixed typo in header comment.
REVERT: 423d8d1a17 Changed C++ style comments to fix pedantic warnings.
REVERT: d2d918c6b2 Removed unused standard library includes from gesture source.
REVERT: 2f461036d4 Fixes #2541, build failure with Wayland enabled, OpenGL ES disabled
REVERT: 506e9977d2 Added a binding for the NVIDIA Shield controller
REVERT: bb480c2b0a Updated coding style to match the rest of SDL
REVERT: cba5857731 Fixed typo in header comment.
REVERT: 7268632f00 WinRT: fixed the max-button count for WinPhone 8.1 message boxes
REVERT: 15e4e3c1bd Added limited message-box support for Windows Phone 8.1
REVERT: 12f4e7625f Improve handling of focus behaviour on Android. Patch by Alexey Petruchik
REVERT: 7c6e66dad9 Include gl2platform.h in SDL_opengles2.h so we play nice with GLEW.
REVERT: efffa3a0c4 Fixes #2512, handle configuration change messages sent by Wayland. Patch by Bryan Cain.
REVERT: 461ff8bf35 Updated iOS deployment target to iOS 5.1
REVERT: cdc0dfa61c Fixes #2529, guard SDL_d3math.* with the proper defines
REVERT: d00ea7e64b Fixes #2519, clear error if using the default library path for EGL succeeds.
REVERT: 04d8bb1069 A few more ANDROID for __ANDROID__ replacements
REVERT: 873297a269 __ANDROID__ is the correct macro to check for an android system.ANDROID is only defined in NDK build system (.mk) and not in the standalone NDK.
REVERT: 006006c460 Export android jni functions even when build with -fvisibility=hidden flag
REVERT: 989d978ef4 Show  android video or android audio if detected in autotools summary.
REVERT: 2e37831d3e Temporary fix for bug 2494 - Crashes due to the non thread-safe SDL_malloc/SDL_free on Windows
REVERT: c577e9a890 WinRT: display-information code cleanups
REVERT: 7f1b8e0bab Fixed bug: touch input on WinPhone 8.0 was wrong, in some cases
REVERT: 7246fba47d Fixed rendering-alignment issues on WinPhone 8.1, when the device was rotated
REVERT: 7e55d07616 WinRT: made Win[Phone] 8.1 projects be structured like their 8.0 counterparts
REVERT: 6f1ab7fb74 eglGetProcAddress fails the same way on MIR as ANDROID does on arm. Thanks Sylvain Becker for the patch!
REVERT: 812a2678c3 Update the machine-generated configure code.
REVERT: a8ab12a0d6 Fix build on Windows targets without dxgi.h, like MingW32.
REVERT: 2bc8e344cb Remove code that found its way back into the diff
REVERT: 22cdf6eb98 Fix software rendering in the mir backend. The window assumed hardware buffer, which caused testdrawchessboard to fail to mmap a buffer.
REVERT: a7d24ca3a3 WinRT: suppressed an unused param warning when building for Windows Phone 8.1
REVERT: 843e7cd909 WinRT: preliminary support for building against the Windows Phone 8.1 SDK
REVERT: 49f78c6fae Fixed a linker error when building SDL/WinRT
REVERT: 5ef1b9726f WinRT: added project files for Windows 8.1 + MSVC 2013
REVERT: f2f5660c94 Removed comma at end of enum in a public header, to make -Wpedantic happy.
REVERT: 770fb6a160 Set the tag type in libtool invocations
REVERT: 0590857aeb Fixed bug 2508 - don't redefine WIN32_LEAN_AND_MEAN
REVERT: 16cdcde614 Fixed the inertia effect in the test program
REVERT: d8ad9f2506 Better compiler for Windows XP systems
REVERT: 655e28fd65 Mac OS X: Look for joystick hotplug in its own CFRunLoop.
REVERT: 6b6c2c6f27 Mac: Correct the y-axis position after 94af945dbb57
REVERT: d610e30086 Fixed cygwin build
REVERT: da52ef4cdc Fixed detecting output on second adapter
REVERT: 3e8203e712 Don't crash in WIN_GL_InitExtensions() if the OpenGL library couldn't be loaded
REVERT: 123a84cfb0 Fixed compiler warning
REVERT: d164a7fcaf Don't try to load d3dcompiler_46.dll on Windows XP
REVERT: 94a774f2f8 Removed possible implicit memset()
REVERT: 2b16b7f620 Revert MIR_CFLAGS to SDL_CFLAGS. Use forward declaration for the real fix. (We shouldn't expose mir headers!)
REVERT: e7fe0afaaa Mac: SDL_SetWindowPosition is now relative to the menubar.
REVERT: 431aca234b Render: Allow empty cliprect.
REVERT: 7dd1a22acc Fixed missing j
REVERT: 0042b6dee8 Cleaned up and rearranged WinRT project file structure.
REVERT: b3dcc0988c Removed global variable from test program.
REVERT: 3f42488a24 Mir 14.04 headers available that allow scroll + touch events.
REVERT: 2f4bc4e5c3 Turn off Wayland support for Raspberry Pi on the buildbot.
REVERT: bb1d40fa1d Fixed some issues reported on new Ubuntu 14.04 buildbots.
REVERT: cfe7cf1256 Fixed logic error loading DXGI
REVERT: 92e29fd71f SDL_DXGIGetOutputInfo() checks input parameters and returns a boolean value whether or not it succeeded.
REVERT: f9029796d5 Mac: Don't prompt to reopen windows after crash.
REVERT: d1263a074d Fixed bug 2475 - Incorrect SDL_Log() format specifiers in test/testgesture.c
REVERT: fbe8cee457 Fixed bug 2489 - SDL2.framework references __Block_copy in /usr/lib/libSystem.B.dylib, but this symbol cannot be found on OSX-10.5
REVERT: 0e0eccbb61 Enable building of Android libraries using a standalone NDK
REVERT: 399e1ddba7 Fixed bug 2496 - mouse left button double click event issue
REVERT: bfd5629d47 Wayland: Resize windows with 0x0 requested size to screen size
REVERT: f1181dfd91 Fixed bug 2485 - [PATCH] Wayland: cursor disappears permanently after window loses mouse focus
REVERT: 6c41ecc55e Fixed bug 2482 - Wayland_CreateSystemCursor trying to load nonexistent "wait" cursor
REVERT: 52a55bfbac Fixed bug 2477 - [PATCH] Joysticks do not work on RHEL6/CentOS6 systems
REVERT: 3c0f97fd64 Fixed window losing the SDL_WINDOW_FOREIGN flag if something tries to recreate it.
REVERT: 0d240d219e Fixed bug 2086 - valgrind memory not released
REVERT: 02e2f45a96 Fixed bug 2502 - Memory leak inside SDL_x11events.c -> X11_DispatchEvent(_THIS)
REVERT: 6ed15e04e5 Fixed bug 2503 - Loop indexing and event union errors in SDL_gesture.c
REVERT: 7f986f36f2 Updated configure with Brandon Schaefer's changes
REVERT: c8df715775 Add DIRECTFB_CFLAGS to SDL_CFLAGS so its cflags will get added to the sdl2.pc
REVERT: 5355c554b2 Add MIR_CFLAGS to SDL_CFLAGS so these cflags are added to the sdl2.pc file.
REVERT: 96c1989ddb WinRT: keyboard VirtualKey translation improvements from Sylvain Becker
REVERT: 73340e35e6 Comment out eglWaitGL from Android_GLES_SwapWindow
REVERT: 184e944eee Minor change to a README to test Mercurial server.
REVERT: d13884bf35 Added a README file regarding WinRT support

git-subtree-dir: Source/ThirdParty/SDL
git-subtree-split: 2a597e9bc0fefae9698b5d446c174c6cc1084321
2019-09-14 14:58:20 +08:00
Eugene Kozlov
c2caa4f6a1 Cleanup Math code. 2019-09-08 15:43:28 +03:00
SirNate0
0032538519 Fixed console styling to account for the addition of LOG_TRACE
LOG_TRACE offset the log levels by 1 but the console styling did not add a
trace styling, so warnings were printed with error styling, etc.
2019-09-08 12:38:38 +08:00
Vitalii Minnakhmetov
06fa2a728d Make doxygen catch global enums 2019-08-28 22:44:26 +08:00
Arnis Lielturks
94d4594948 contributors list updated 2019-08-25 16:08:41 +03:00
codexhound
f19fc528ad Additional Custom Geometry (#2476) 2019-08-25 00:00:42 +03:00
Sandu Liviu Catalin
f312ef8bb0 Create a Base directory for non-Container code.
Avoid a situation where all code is thrown in the Container directory simply because there is no other place for it.
Separate code into speciffic headers to make headers more intuitive.
2019-08-24 22:44:26 +08:00
Sandu Liviu Catalin
ffff630a55 Update Urho3DConfig.h
Convert tabs to spaces to conform with coding standards.
Update a couple macros to be the way they were intended.
2019-08-24 22:44:26 +08:00
Sandu Liviu Catalin
8ba1516277 Update Urho3DConfig.h 2019-08-24 22:44:26 +08:00
Sandu Liviu Catalin
91e8728200 Make iterators constexpr.
Allows the user of iterators in a constexpr context. Also moves them into their dedicated header so you don't have to include VectorBase.h to get access to them which may not be that intuitive.
2019-08-24 22:44:26 +08:00
Sandu Liviu Catalin
d58f104919 Create a common feature detection header.
Help identify compiler and platform features and provide extracted information through a set of common macros.
2019-08-24 22:44:26 +08:00
urho3d-travis-ci
5f30cdf861 Travis CI: API documentation update at 2019-08-24 06:46:00 UTC.
[ci package]

Commit: 63ef7312bf

Message: Moved Disabled Image Offset from Button to BorderImage

CheckBox disabled offset behavior
2019-08-24 06:46:00 +00:00
MistMage
63ef7312bf
Moved Disabled Image Offset from Button to BorderImage
CheckBox disabled offset behavior
2019-08-24 14:25:01 +08:00
SirNate0
637d84d32b Fixed the depth test behavior of debug renderer sphere sectors.
Also added more details to the documentation for that function.
2019-08-21 21:06:21 +08:00
1vanK
5f52f9433f Fix invisible character in lua version of example 50 2019-08-18 04:44:12 +08:00
1vanK
9a61d48076 Fix example 50 invisible traps https://github.com/urho3d/Urho3D/issues/2390 2019-08-18 04:44:12 +08:00
1vanK
9a6e9dfcd5 Fix IK typo: https://github.com/urho3d/Urho3D/issues/2475 2019-08-18 04:44:12 +08:00
urho3d-travis-ci
cc95e22e2c Travis CI: API documentation update at 2019-08-12 06:30:16 UTC.
[ci package]

Commit: 5e257e578c

Message: contributors list updated
2019-08-12 06:30:16 +00:00
Arnis Lielturks
5e257e578c contributors list updated 2019-08-12 08:59:08 +03:00
Mikus
f740da699a added missing 'Apply' function for animation state (#2473) 2019-08-12 08:55:14 +03:00
Romain Tartière
d2965bcbfe Fix build using FreeBSD clang version 6.0.1 (#2459)
[ 19%] Building CXX object Source/ThirdParty/SLikeNet/CMakeFiles/SLikeNet.dir/Source/src/BitStream.cpp.o
In file included from /home/romain/Projects/Urho3D/Source/ThirdParty/SLikeNet/Source/src/BitStream.cpp:48:
/home/romain/Projects/Urho3D/Source/ThirdParty/SLikeNet/Source/include/slikenet/linux_adapter.h:17:10: fatal error: 'winsock2.h' file not found
#include "winsock2.h"
         ^~~~~~~~~~~~
1 error generated.
2019-08-09 12:06:35 +03:00
urho3d-travis-ci
78c449655a Travis CI: API documentation update at 2019-08-02 17:02:34 UTC.
[ci package]

Commit: 6a17259fa0

Message: contributors list updated
2019-08-02 17:02:34 +00:00
Arnis Lielturks
6a17259fa0 contributors list updated 2019-08-02 17:25:00 +03:00
MystMagus
7a3b1b4995 Added optional fallbacks to JSONValue GetType methods (#2463)
* Added optional fallbacks to JSONValue GetType methods

* fallback -> defaultValue

* Fixed compile error

* Minor fix
2019-08-02 17:20:51 +03:00