Sam Lantinga [Sun, 13 Oct 2013 19:59:40 -0700] rev 7813
Fixed accumulating mouse wheel motion for the Microsoft Wireless Mouse 5000
Sam Lantinga [Sun, 13 Oct 2013 19:51:58 -0700] rev 7812
Fixed function feature test for Visual Studio 2012
norfanin
Fixes the version check for some functions that are only present with the MSVC 2013 CRT libraries.
I did my testing wrong and failed to see that 2012 doesn't have these functions. Microsoft implemented them in their upcoming 2013 version, though. The attached patch changes it to the check for the next version.
I also removed the HAVE_ITOA because that would require linking with oldnames.lib and it's easier to just let the SDL implementation take over.
Sam Lantinga [Sun, 13 Oct 2013 19:49:45 -0700] rev 7811
Fixed bug 2149 - Don't search for libusbhid except on BSD
Joseph Carter
There's a whole set of configure tests for BSD's libusbhid, and they only matter on BSD. However, if you have the library on Linux, it gets pulled in as library bloat. And it's bloat of the highest order since not a single function call to the library is ever made unless you're on a *BSD.
Sam Lantinga [Sun, 13 Oct 2013 19:48:45 -0700] rev 7810
Added an assert to catch init/quit call mismatch that might bite people.
Gabriel Jacobo [Sun, 13 Oct 2013 17:15:43 -0300] rev 7809
Prevent keystrokes from leaking through to the console when using evdev.
This uses the same method Weston and X use. Sadly, to be fully effective when
launching remotely, this needs root permissions.
Gabriel Jacobo [Sat, 12 Oct 2013 16:29:34 -0300] rev 7808
Fixes X11 video backend compilation when no GL is available
For example, in our Raspberry Pi sysroot.
Edward Rudd [Sat, 12 Oct 2013 11:21:40 -0400] rev 7807
added simple Drag & drop test
Gabriel Jacobo [Sat, 12 Oct 2013 11:35:47 -0300] rev 7806
Updates the Raspberry Pi README
Ryan C. Gordon [Fri, 11 Oct 2013 10:58:05 -0400] rev 7805
Do a full sysroot for the Raspberry Pi buildbot.
This gets us ALSA and X11, etc.
Sam Lantinga [Thu, 10 Oct 2013 21:51:39 -0700] rev 7804
Fixed bug 2146 - Enable static linking of libSDL on Android
Denis Bernard
This patch to Android.mk adds support for static linking of libSDL for Android applications. A patched readme with static build instructions is also provided.
It does not break existing build environments setup according to the README-android.txt since the static library version will not be built in not required.
The static build uses the Android NDK module system (see docs/IMPORT-MODULE.html in the NDK folder and step 5 in the instructions below).
Instructions:
1. Copy the android-project directory wherever you want to keep your projects
and rename it to the name of your project.
2. Create a symlink to SDL/src/main/android/SDL_android_main.c as
<project>/jni/src/SDL_android_main.c
3. Rename <project>/jni/src/Android_static.mk to <project>/jni/src/Android.mk
(overwrite the existing one)
4. Edit <project>/jni/src/Android.mk to include your source files
5. create and export an environment variable named NDK_MODULE_PATH that points
to the parent directory of this SDL directory. e.g.:
export NDK_MODULE_PATH="$PWD"/..
6. Edit <project>/src/org/libsdl/app/SDLActivity.java and remove the call to
System.loadLibrary("SDL2") line 42.
7. Run 'ndk-build' (a script provided by the NDK). This compiles the C source
Although this requires an environment variable to be setup, it can be added once and for all to the main Android.mk of the project.