Sam Lantinga
a54ea6ce9f
Fixed testnative on Mac OS X, which no longer ships X11 by default.
2013-06-02 01:08:14 -07:00
Sam Lantinga
658c25666a
Merged changes
2013-06-01 12:53:32 -07:00
Sam Lantinga
226679f4bb
The standard fat gcc scripts work well with SDL 2.0
2013-06-01 12:53:06 -07:00
Philipp Wiesemann
3472d792a9
Fixed implicit function declarations and their warnings.
...
For the SDL_SetMouseFocus() and SDL_SetKeyboardFocus().
2013-06-01 21:17:43 +02:00
Philipp Wiesemann
6096e60a4b
Removed debug output.
2013-06-01 21:11:52 +02:00
Philipp Wiesemann
17fab0296b
Corrected indentation of license.
2013-06-01 21:09:36 +02:00
Sam Lantinga
8792a8d88a
Default the minimum required version to 2.0.0
2013-06-01 08:57:17 -07:00
Yuri K. Schlesner
5480cdd85c
Re-apply texture filter when resetting direct3d renderer.
2013-05-29 06:31:48 -05:00
Andreas Schiffler
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
2013-05-30 20:03:56 -07:00
Edward Rudd
acb14cfc03
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
3d874237bc
add in Controller configs for Logitech F510 for OS X / Linux
...
--HG--
extra : rebase_source : 68a7469d9e85d5f090d0299abed42f8ed577499a
2013-05-30 10:42:52 -04:00
Philipp Wiesemann
9afcdd0a14
Moved prototype for static function out of header file to prevent warnings.
2013-05-30 23:25:03 +02:00
Philipp Wiesemann
f2763e240d
Changed line comments in header file.
2013-05-30 23:08:35 +02:00
Edward Rudd
c30228737b
Add an OS X Shared library target
...
--HG--
extra : rebase_source : 766ce377779ecfb4ab2717ffeb803932d7c905e5
2013-05-30 10:02:26 -04:00
Edward Rudd
89b36c9f21
Fixups to the main Xcode project due to renamed README files and long since removed test files.
...
--HG--
extra : rebase_source : d8aa77e63cfe38bdcb228587db612f5d4696e13c
2013-05-28 16:26:44 -04:00
Philipp Wiesemann
8fc42c451c
Added deactivated loading of SDL2_net to Java file.
2013-05-30 12:23:36 +02:00
Philipp Wiesemann
689a31a050
Fixed recently deleted Ms in READMEs.
2013-05-30 12:15:00 +02:00
Sam Lantinga
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.
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
c55f53aa40
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
b337b40e33
Credits were truncated in a previous commit.
2013-05-27 21:44:16 -07:00
Sam Lantinga
78b22c119d
Updated supported platforms
2013-05-27 20:53:19 -07:00
Sam Lantinga
b3ec1b660b
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
21512a77b7
Better mingw32-x64 linker flag fix, which doesn't require libtool patch
2013-05-26 22:16:42 -07:00
Sam Lantinga
1990b00614
Removed dependency on libgcc_s_sjlj-1.dll when building with mingw64
2013-05-26 16:29:57 -07:00
Sam Lantinga
d944115cb1
Added a comment to say why C runtime is off by default
2013-05-26 16:08:15 -07:00
Sam Lantinga
10fbebcc51
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
b3d555764f
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
fbef22a01a
Fixed Visual Studio build
2013-05-26 14:37:41 -07:00
Sam Lantinga
3cde28eb67
Updated VisualC.html for SDL 2.0
2013-05-26 13:06:54 -07:00
Sam Lantinga
2f9f779e70
Renamed WhatsNew so it can be easily read on Windows
...
--HG--
rename : WhatsNew => WhatsNew.txt
2013-05-26 12:43:03 -07:00
Sam Lantinga
b70d031fba
Updated the installation instructions to cover all supported platforms
2013-05-26 12:42:46 -07:00
Sam Lantinga
9ce206cdc0
Fixed compiling XAudio2 code with mingw64
2013-05-26 12:20:23 -07:00
Sam Lantinga
07424fd0ca
Fixed compiler warning
2013-05-26 11:44:03 -07:00
Sam Lantinga
6ff3478440
Don't assume the XAudio2 APIs will never be available
2013-05-26 11:39:19 -07:00
Sam Lantinga
8408ce85ee
Fixed compile errors building with mingw64
2013-05-26 11:34:04 -07:00
Sam Lantinga
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.
--HG--
rename : BUGS => BUGS.txt
rename : COPYING => COPYING.txt
rename : CREDITS => CREDITS.txt
rename : INSTALL => INSTALL.txt
rename : README.android => README-android.txt
rename : README.cmake => README-cmake.txt
rename : README.DirectFB => README-directfb.txt
rename : README.gesture => README-gesture.txt
rename : README.HG => README-hg.txt
rename : README.iOS => README-ios.txt
rename : README.MacOSX => README-macosx.txt
rename : README.pandora => README-pandora.txt
rename : README.Platforms => README-platforms.txt
rename : README.Porting => README-porting.txt
rename : README.psp => README-psp.txt
rename : README.touch => README-touch.txt
rename : README.WinCE => README-wince.txt
rename : README => README.txt
rename : TODO => TODO.txt
2013-05-26 11:06:17 -07:00
Philipp Wiesemann
27d4a625ba
Corrected documentation errors in header file.
2013-05-26 12:30:52 +02:00
Philipp Wiesemann
c1b6e05455
Fixed wrong documentation for haptic implementation.
2013-05-26 12:15:15 +02:00
Philipp Wiesemann
c30845f58b
Fixed test description in test suite for standard library.
2013-05-26 12:12:52 +02:00
Philipp Wiesemann
a5ba9c22a7
Changed three similar error messages to contain more context.
2013-05-26 11:54:17 +02:00
Sam Lantinga
f423813732
Fixed Windows build
2013-05-24 03:29:31 -07:00
Sam Lantinga
03210bff7e
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
Sam Lantinga
00abdbbc2a
Added a newline to OutputDebugString(), fixes output on Visual Studio 2008
2013-05-23 23:27:48 -07:00
Edward Rudd
0ce4bb89d8
Only free EventData if it's successfully retrieved.
...
- straight from http://who-t.blogspot.com/2009/07/xi2-and-xlib-cookies.html
- hopefully fixes random crash on some systems
2013-05-23 18:45:14 -04:00
Sam Lantinga
9e842c74c1
Fixed Haiku build issue with missing extension support.
...
The visibility attribute warnings in Haiku gl.h can be fixed by editing gl.h and changing the line:
#elif defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
to
#elif (defined(__GNUC__) && __GNUC__ >= 4) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
as described in: http://dev.haiku-os.org/ticket/8882
2013-05-21 22:48:50 -07:00
Ryan C. Gordon
a106589b14
Patched to compile with older glext.h that don't have GL_NUM_EXTENSIONS.
...
--HG--
extra : rebase_source : e2ece9401f8f324875930d35c61514920732087b
2013-05-22 01:36:37 -04:00
Sam Lantinga
e2039118c2
The Haiku install location fix needs to get into configure
2013-05-21 22:35:13 -07:00
Ryan C. Gordon
077cd8d398
Use glGetStringi() for extension lookup on OpenGL contexts >= version 3.0.
...
Fixes Bugzilla #1620 .
--HG--
extra : rebase_source : 5fa86e8591bfea85e1adf8a495a7b32c3d5dacd5
2013-05-22 01:31:04 -04:00
Sam Lantinga
a1b0f0566b
Fixed macro line endings after whitespace was fixed
2013-05-21 22:04:14 -07:00
Sam Lantinga
e2929bcb73
Fixed bug 1534 - SIGSEGV in SDL_ConvertSurface() for certain formats in SDL2
...
Don't assume that 8 bit formats are indexed.
Thanks to Gabriel Jacobo for research and potential patches.
2013-05-21 22:01:18 -07:00