Sam Lantinga
b48805f971
Fixed Android error on static lib build, if relative NDK_MODULE_PATH used
...
Stefan Pöschel
if the variable NDK_MODULE_PATH is set to a relative path (like "../"),
compiling of a static SDL lib fails with an error similar to this:
make: *** No rule to make target
`..//android_libs/SDL/..//android_libs/SDL/src/main/android/SDL_android_main.c',
needed by
`obj/local/armeabi/objs/SDL2_static/__//android_libs/SDL/src/main/android/SDL_android_main.o'.
Stop.
Regarding the shared lib, this is already prevented by a "subst" command
in the /Android.mk, which removes all occurences of "$(LOCAL_PATH)/".
The attached patch does the same with the additional
"SDL_android_main.c", which is included for build the static SDL lib.
2014-06-15 13:01:10 -07:00
Sam Lantinga
fe4c10af90
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
2014-06-15 10:42:28 -07:00
Ryan C. Gordon
0789522a05
Mac: Fixed crash when returning from a fullscreen Space on shutdown.
2014-06-15 11:59:16 -04:00
Ryan C. Gordon
11f6b3d0db
Add coreaudio to the configure script's summary output.
2014-06-15 01:19:01 -04:00
Ryan C. Gordon
8f8eddd27f
Removed SDL_SYS_JoystickNeedsPolling().
...
It was simpler to just have the polling (actually: hotplug detection)
functions return immediately if it's not an appropriate time to poll.
Note that previously, if any joystick/controller was opened, we would poll
every time anyhow, skipping this function.
2014-06-14 23:31:23 -04:00
Ryan C. Gordon
5fb350ef13
Mac: Run the CFRunLoop in joystick mode during SDL_SYS_JoystickNeedsPolling().
...
This fixes hotplugging failing to detect devices.
2014-06-13 14:52:26 -04:00
Alfred Reynolds
d99ebaf853
- 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 ).
2014-06-13 10:50:24 -07:00
Ryan C. Gordon
5f429376c1
Implemented Cocoa GetAbsoluteMouseState().
2014-06-11 00:40:19 -04:00
Ryan C. Gordon
d546f6af45
Implement Windows GetAbsoluteMouseState().
2014-06-11 00:12:19 -04:00
Ryan C. Gordon
611306fae5
This should probably query async button state.
2014-06-11 00:12:06 -04:00
Ryan C. Gordon
3ec7158980
Regenerated SDL_audiotypecvt.c with updated perl script.
2014-06-10 19:39:33 -04:00
Ryan C. Gordon
0fbe5dcc9d
Fix audio resampling in some cases.
...
Fixes Bugzilla #2389 .
2014-06-10 19:37:59 -04:00
Philipp Wiesemann
7be553535a
Fixed nesting of HTML elements in documentation.
...
The code element may only contain inline but the pre element is block.
2014-06-09 17:37:59 +02:00
Philipp Wiesemann
0f7811dd01
Fixed typos in documentation.
2014-06-09 17:28:08 +02:00
Philipp Wiesemann
2bee37f5eb
Fixed format string faults in audio tests.
...
They were found by the recent code annotations.
2014-06-09 17:25:03 +02:00
Gabriel Jacobo
c28144979a
Forgot a piece of README-nacl.txt
2014-06-08 18:50:40 -03:00
Gabriel Jacobo
adce68ed69
Fixes audio for Native Client, and other fixes...
...
- SDL_NaClMount, SDL_NaClUmount
- Default mounting of https at / in SDL's main function
- More documentation in README-nacl.txt
2014-06-08 18:18:13 -03:00
Sam Lantinga
85e4bbb06b
The NaCL mount/unmount functions need to be in SDL_system.h and specific to NaCL
2014-06-08 12:05:17 -07:00
Sam Lantinga
1c9da07515
Visual Studio 2013 Express Edition can load the standard solution, so we don't need special Express Edition solutions.
2014-06-08 12:00:29 -07:00
Sam Lantinga
1e4b9b0d19
Ignore Visual Studio test data files
2014-06-08 11:59:36 -07:00
Philipp Wiesemann
3674fe380b
Changed two Java nested classes into static nested classes.
...
Both do not need an implicitly created reference to enclosing class.
2014-06-08 13:14:20 +02:00
Philipp Wiesemann
065d2d726b
Fixed typo in log message.
2014-06-08 13:03:45 +02:00
Philipp Wiesemann
7a56b7d768
Fixed doxygen comment in header.
2014-06-08 13:01:04 +02:00
Philipp Wiesemann
38942661e7
Fixed typo in source comment.
2014-06-08 12:51:02 +02:00
Sam Lantinga
74cee7033b
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
2014-06-07 21:58:18 -07:00
Sam Lantinga
aa5e287631
Fixed building on command line Mac OS X
2014-06-07 20:43:12 -07:00
Sam Lantinga
78ac74b7b6
Fixed compile warnings
2014-06-07 18:20:25 -07:00
Sam Lantinga
e1683fad67
Added SDL_sqrtf(), SDL_tan(), SDL_tanf()
2014-06-07 18:20:01 -07:00
Sam Lantinga
edfa425a67
Fixed crash with SDL_SetError(NULL)
2014-06-07 17:31:50 -07:00
Sam Lantinga
5f09dd3a75
Fixed initializing test event queue
2014-06-07 17:25:56 -07:00
Sam Lantinga
21743a2a53
Fixed another loopwave crash with no command line arguments
2014-06-07 17:25:35 -07:00
Sam Lantinga
f5dbc4eebe
Fixed loopwave crash with no command line arguments
2014-06-07 17:09:32 -07:00
Sam Lantinga
53a7b70c1d
dront78 implemented YUV texture support for OpenGL ES 2.0
2014-06-07 11:36:08 -07:00
Gabriel Jacobo
c9de793322
Adds missing Makefile for NACL test and a couple of smaller fixes
2014-06-06 18:33:17 -03:00
Gabriel Jacobo
01a18871e3
Chrome's Native Client backend implementation
2014-06-06 15:45:59 -03:00
Brandon Schaefer
e6bd634e07
Turns out visualstudio does not like PRIu64, soo lets just cast it to llu.
2014-06-05 15:37:33 -07:00
Brandon Schaefer
aa844a18c6
Fix warnings, only major one being an SDL_SetError not providing enough arguments.
2014-06-05 15:29:23 -07:00
Sam Lantinga
e1f626d3ff
Code analysis annotations found a legitimate bug!
2014-06-05 09:49:45 -07:00
Sam Lantinga
35478fd39a
Added missing headers that should be installed.
2014-06-05 09:27:06 -07:00
Ryan C. Gordon
b9e14b41e7
Don't link directly against OpenGL.framework on Mac OS X.
...
We dlopen() it as appropriate already.
2014-06-05 11:04:07 -04:00
Ryan C. Gordon
8d156c2306
Added SDL_opengl_glext.h to the list of headers to install.
2014-06-05 10:28:08 -04:00
Ryan C. Gordon
e3266bf38e
Corrected package list for Wayland/Mir support (was missing libxkbcommon-dev).
2014-06-05 01:55:52 -04:00
Ryan C. Gordon
17f449cc55
Wired up Windows resize hit testing.
2014-06-05 00:54:43 -04:00
Ryan C. Gordon
e3a707d94e
Minor tweaks to testhittesting.
2014-06-05 00:49:25 -04:00
Ionut Leonte
686a5dabf5
Added SDL_HITTEST_RESIZE_*, and implemented for X11.
2014-06-05 00:45:16 -04:00
Ryan C. Gordon
1c00a0fc42
Implemented SDL_GetAbsoluteMouseState().
...
X11 only for now, but this should be doable on every platform, I think.
2014-06-05 00:03:33 -04:00
Ryan C. Gordon
a46c5fea53
Added some (harmlessly) missing braces.
2014-06-05 00:02:42 -04:00
Sam Lantinga
4f273fe6fb
Fixed Mac OS X build
2014-06-04 16:35:07 -07:00
Brandon Schaefer
c1c51aab6e
Assume all motion events are mouse events unless tool_type states otherwise.
2014-06-04 12:55:18 -07:00
Sam Lantinga
2adb8c82d2
Setting the window size changes the fullscreen display mode, unless a window display mode has been set.
...
Testing:
* Ran testsprite2 --fullscreen, used Ctrl+ and Ctrl- to change window sizes, verified that the display mode changed as well.
2014-06-04 10:57:52 -07:00