Sam Lantinga
de0c5b4bb5
Hopefully fixed mingw32 build
2013-06-02 08:48:52 -07:00
Philipp Wiesemann
d6dbb779f0
Changed documentation in header because LocalReferenceHolder not public API.
2013-06-02 14:27:54 +02:00
Philipp Wiesemann
0fa5e74ce1
Changed haptic test program to use announced effect type.
2013-06-02 14:18:26 +02:00
Philipp Wiesemann
aa1e431779
Fixed implicit function declaration for SDL_AndroidGetInternalStoragePath().
2013-06-02 14:13:21 +02:00
Philipp Wiesemann
922efe43d8
Fixed implicit function declaration and warning for SDL_Log().
2013-06-02 14:11:04 +02:00
Sam Lantinga
b03876dbb8
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.
2013-06-02 01:35:38 -07:00
Sam Lantinga
35b9ffa392
Fixed bug 1881 - SDL will not compile with "SDL_THREADS" disabled.
...
MakoEnergy02
I am attempting to compile SDL on WindowsXP 32-bit, using MinGW. The problem I am having is when I attempt to compile, when it gets to "SDL_systhread.c" it errors:
C:\Repos\Mezzanine\Mezzanine\libincludes\common\sdlsrc\SDL\src\thread\generic\SDL_systhread.c|29|error: conflicting types for 'SDL_SYS_CreateThread'
C:\Repos\Mezzanine\Mezzanine\libincludes\common\sdlsrc\SDL\src\thread\generic\..\SDL_systhread.h|35|note: previous declaration of 'SDL_SYS_CreateThread' was here
I do have SDL_THREADS disabled in my cmake configuration as I do not want or need SDL making threads for me, I have another thread provider. It seems the generic "dummy" implementation does not account for the two extra parameters needed for the "SDL_SYS_CreateThread" method when "SDL_PASSED_BEGINTHREAD_ENDTHREAD" is defined.
2013-06-02 01:12:29 -07:00
Sam Lantinga
b0b6b803fc
Fixed bug 1882 - SDL_GetKeyboardState should return const.
...
Yuri K. Schlesner
The array returned by SDL_GetKeyboardState is also used internally by SDL to keep track of pressed/released keys and must not be modified, lest weird behaviour occurs. Because of this I believe it's return type should be changed to return a const pointer, which will provide a code indication of that fact.
2013-06-02 01:09:12 -07:00
Sam Lantinga
e576d9c370
Fixed testnative on Mac OS X, which no longer ships X11 by default.
2013-06-02 01:08:14 -07:00
Sam Lantinga
ce7c921a5d
Merged changes
2013-06-01 12:53:32 -07:00
Sam Lantinga
c6349e124a
The standard fat gcc scripts work well with SDL 2.0
2013-06-01 12:53:06 -07:00
Philipp Wiesemann
f79e338091
Fixed implicit function declarations and their warnings.
...
For the SDL_SetMouseFocus() and SDL_SetKeyboardFocus().
2013-06-01 21:17:43 +02:00
Philipp Wiesemann
6c6a5ba2e2
Removed debug output.
2013-06-01 21:11:52 +02:00
Philipp Wiesemann
f2bce67fb9
Corrected indentation of license.
2013-06-01 21:09:36 +02:00
Sam Lantinga
a036d6e64d
Default the minimum required version to 2.0.0
2013-06-01 08:57:17 -07:00
Yuri K. Schlesner
ce7e01dd7b
Re-apply texture filter when resetting direct3d renderer.
2013-05-29 06:31:48 -05:00
Andreas Schiffler
4835250790
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
2013-05-30 20:03:56 -07:00
Edward Rudd
231d1325c1
Add trigger value adjustment code to the SDL_GameControllerGetAxis code as well.
...
- fixes Trigger values when polling instead of using event driven
2013-05-30 22:14:24 -04:00
Edward Rudd
d2ab989566
add in Controller configs for Logitech F510 for OS X / Linux
2013-05-30 10:42:52 -04:00
Philipp Wiesemann
36e6e25ae1
Moved prototype for static function out of header file to prevent warnings.
2013-05-30 23:25:03 +02:00
Philipp Wiesemann
0156bfbfcc
Changed line comments in header file.
2013-05-30 23:08:35 +02:00
Edward Rudd
852882d81d
Add an OS X Shared library target
2013-05-30 10:02:26 -04:00
Edward Rudd
e4d34f3219
Fixups to the main Xcode project due to renamed README files and long since removed test files.
2013-05-28 16:26:44 -04:00
Philipp Wiesemann
0122ce66f8
Added deactivated loading of SDL2_net to Java file.
2013-05-30 12:23:36 +02:00
Philipp Wiesemann
1130091307
Fixed recently deleted Ms in READMEs.
2013-05-30 12:15:00 +02:00
Sam Lantinga
028c19b92b
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.
Added common test command line parameters --logical WxH and --scale N to test the render logical size and scaling APIs.
2013-05-29 03:22:19 -07:00
Sam Lantinga
23f33cb76c
Fixed bug 1622 - SDL_RenderSetViewport with empty SDL_Rect raises wrong error for OpenGL rendering backend
...
It's now legal to set an empty viewport rect - it will prevent any rendering.
Also added an API to query the output size: SDL_GetRendererOutputSize()
2013-05-29 03:07:55 -07:00
Sam Lantinga
f8c9841da0
Credits were truncated in a previous commit.
2013-05-27 21:44:16 -07:00
Sam Lantinga
3b298df3d8
Updated supported platforms
2013-05-27 20:53:19 -07:00
Sam Lantinga
9c6d6e4423
Fixed crash with movaps instruction in SDL_memcpy(), due to unaligned Uint32* cast and -O3 vectorization optimizations with gcc 4.9.0
2013-05-27 16:18:11 -07:00
Sam Lantinga
34b782c94c
Better mingw32-x64 linker flag fix, which doesn't require libtool patch
2013-05-26 22:16:42 -07:00
Sam Lantinga
dd1dfc7c6e
Removed dependency on libgcc_s_sjlj-1.dll when building with mingw64
2013-05-26 16:29:57 -07:00
Sam Lantinga
85f91bdb30
Added a comment to say why C runtime is off by default
2013-05-26 16:08:15 -07:00
Sam Lantinga
9bbe4b2a44
Need to generate aclocal.m4 when rebuilding configure, but we don't need to check it in.
2013-05-26 16:01:40 -07:00
Sam Lantinga
c5701fe360
Don't use the C runtime library on Windows, to avoid C runtime dependencies and manifest issues.
2013-05-26 15:50:20 -07:00
Sam Lantinga
d20e17f345
Fixed Visual Studio build
2013-05-26 14:37:41 -07:00
Sam Lantinga
a2cfccc408
Updated VisualC.html for SDL 2.0
2013-05-26 13:06:54 -07:00
Sam Lantinga
2effff4c7d
Renamed WhatsNew so it can be easily read on Windows
2013-05-26 12:43:03 -07:00
Sam Lantinga
8ea72b2f62
Updated the installation instructions to cover all supported platforms
2013-05-26 12:42:46 -07:00
Sam Lantinga
767c1395d9
Fixed compiling XAudio2 code with mingw64
2013-05-26 12:20:23 -07:00
Sam Lantinga
6642f27c10
Fixed compiler warning
2013-05-26 11:44:03 -07:00
Sam Lantinga
1e9722a016
Don't assume the XAudio2 APIs will never be available
2013-05-26 11:39:19 -07:00
Sam Lantinga
3c3e87d79f
Fixed compile errors building with mingw64
2013-05-26 11:34:04 -07:00
Sam Lantinga
96db5f7b81
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.
2013-05-26 11:06:17 -07:00
Philipp Wiesemann
d06a0935e6
Corrected documentation errors in header file.
2013-05-26 12:30:52 +02:00
Philipp Wiesemann
4edf9290cc
Fixed wrong documentation for haptic implementation.
2013-05-26 12:15:15 +02:00
Philipp Wiesemann
5e4c1f280e
Fixed test description in test suite for standard library.
2013-05-26 12:12:52 +02:00
Philipp Wiesemann
41b30114d5
Changed three similar error messages to contain more context.
2013-05-26 11:54:17 +02:00
Sam Lantinga
e3041182ff
Fixed Windows build
2013-05-24 03:29:31 -07:00
Sam Lantinga
9ab99a4157
Added the beginning of automated tests for the standard C library routines.
...
Implemented more SDL_snprintf format specifiers.
2013-05-24 03:23:21 -07:00