Apoorv Upreti
a41facd41d
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.
2013-11-14 22:19:07 +05:30
Sam Lantinga
b139a615ac
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)
2013-11-10 11:51:06 -08:00
Ryan C. Gordon
8abeff7fbb
Added Apoorv Upreti's GSoC2013 work: visual test suite.
...
See visualtest/README.txt for details.
2013-11-10 00:32:23 -05:00
Sam Lantinga
15eb72a46b
Fixed project conflict during commit
2013-10-14 09:14:09 -07:00
Sam Lantinga
99cbc21aa6
Adding static lib to SDL builds on Windows.
...
CR: SamL
2013-10-14 08:56:45 -07:00
Ryan C. Gordon
8fe1cf47f2
Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module.
2013-08-20 19:57:11 -04:00
Andreas Schiffler
7582a71d05
Fix bug 2034: replace printf by SDL_Log in tests; update loopwave VS solution: copy missing dependency
2013-08-14 23:30:10 -07:00
Ryan C. Gordon
68d2df2a8c
SDL_*Parachute() are no-ops, remove them.
2013-08-07 11:12:11 -07:00
Sam Lantinga
bbb0519eee
Fix building the tests with Visual Studio 2012 (thanks Isaac!)
2013-08-07 09:20:41 -07:00
Sam Lantinga
976949bd01
Finished updating testoverlay2 for the new API and added it to the Visual Studio 2010 projects
2013-07-23 12:46:22 -07:00
Andreas Schiffler
ea5874859c
Fix bug 1494: add missing test projects to VS2010/VS2010 solution
2013-07-22 06:00:41 -07:00
Sam Lantinga
9c0dea8e15
Implemented an API for thread-local storage: SDL_TLSCreate(), SDL_TLSSet(), SDL_TLSGet()
2013-07-10 02:32:04 -07:00
Ryan C. Gordon
910e8a8155
Backout hg changset 898992405fa7; lots of things still use SDL_types.h. :/
...
Will remove this again at some point in the future, though.
2013-07-09 11:57:32 -04:00
Ryan C. Gordon
173b1e9280
Removed deprecated SDL_types.h header.
...
Fixes Bugzilla #1945 .
2013-07-08 23:37:00 -04:00
Sam Lantinga
c70478c904
Added testgamecontroller to the Visual Studio 2012 solution.
2013-06-28 22:42:10 -07:00
Andreas Schiffler
94cfaee9d3
Add VS Express Edition sln files (drop the unsupported solution folders for tests); update VisualC documentation
2013-06-23 14:05:27 -07:00
Sam Lantinga
66367e81c9
Removed obsolete NoStdio configurations.
2013-06-05 22:35:13 -07:00
Sam Lantinga
b35eab818b
Added testautomation to the Visual Studio 2008 project.
2013-06-05 22:33:10 -07:00
Andreas Schiffler
d87052e8fd
Add missing VS2012 test projects; update VS2010 and VS2012 solutions; update keybord suite for VS compiler warnings
2013-06-03 19:24:18 -07:00
Andreas Schiffler
0d134ebbc0
Remove deprecated/deleted VS test projects
2013-06-03 07:28:55 -07: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
Sam Lantinga
e3041182ff
Fixed Windows build
2013-05-24 03:29:31 -07:00
Andreas Schiffler
196baae63c
Deprecate test/automated and test/test-automation (replaced by test/testautomation*.*)
2013-05-18 23:32:53 -07:00
Sam Lantinga
5b2f60eaf9
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.
2013-05-06 13:39:17 -07:00
Andreas Schiffler
13ea116dc5
Add pixels test suite; add a test to pixel suite; minor updates to test code to make VisualStudio happy
2013-05-01 22:14:29 -07:00
Andreas Schiffler
1c0ee42f39
Reformat SDL_VS2010.sln so WindowsExplorer VS type detection works again
2013-03-13 09:14:45 -07:00
Sam Lantinga
25650692c6
Fied bug 1719 - Remove unnecessary PrecompiledHeaderOutputFile.
...
Hiroyuki Iwatsuki
Patch for removing unnecessary PrecompiledHeaderOutputFile.
2013-03-03 22:08:00 -08:00
Sam Lantinga
ca94467587
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
CR: Bruce Dawson
2013-02-27 11:39:38 -08:00
Sam Lantinga
69e2715258
Removed SDL_input.h from various projects
2013-02-19 05:46:51 -08:00
Jørgen P. Tjernø
75626eac76
New SDL_MSBIndex, updated VS projects, cleanup gamecontroller.
...
- Updated Visual Studio 2010 project with SDL 2.0 library names
- Don't use a 256 byte LUT, but rather <32 bytes of data on the stack.
- Cleanups in SDL_gamecontroller.h
2013-02-13 17:19:21 -08:00
Jørgen P. Tjernø
4276473f79
Fix linker error for Win32 tests.
...
This adds the new testautomation_main.c to the VisualC projects.
2013-02-12 12:29:08 -08:00
Jørgen P. Tjernø
e8a48ee6c0
Don't clobber refcounting in SDL_Init.
...
- Fixes bug 1712 by not overwriting SDL_SubsystemRefCount in SDL_Init.
- Removes the SDL_initialized variable, and makes SDL_SubsystemRefCount
the canonical source of truth for whether or not a subsystem has been
initialized.
- Refactors SDL_InitSubSystem and SDL_QuitSubSystem to use helper
functions to manage refcount.
- Adds automated tests for SDL_Init/Quit*.
- Adds SDL_bits.h which contains SDL_MostSignificantBitIndex.
2013-02-12 11:47:31 -08:00
Andreas Schiffler
5bda818e44
Add SDL_test test suite; add fuzzer test cases; fix fuzzer bug; fix compiler warnings
2013-02-08 07:14:50 -08:00
Andreas Schiffler
ef298de2c7
Added timer test suite
2013-01-14 08:14:53 -08:00
Andreas Schiffler
d58a914fe2
Add new test suite (mouse) with a few new tests
2013-01-06 18:19:30 -08:00
Andreas Schiffler
9da98d7dbf
Add new test suites (events, keyboard, syswm, video) with a few new tests each
2013-01-06 15:17:59 -08:00
Andreas Schiffler
3415cc1b9f
Fix VS buildbot builds
2012-12-31 19:22:05 -08:00
Andreas Schiffler
4d372b8539
Fix VS2010 and VS2012 solutions.
2012-12-31 19:11:14 -08:00
Sam Lantinga
c31c469ff6
Fixed building tests with Visual Studio 2008
2012-12-31 13:49:06 -08:00
Andreas Schiffler
85fc169e0b
Add missing VS project dependencies to fix buildbot build; fix surface suite; minor update to rwops suite
2012-12-30 10:58:18 -08:00
Andreas Schiffler
09e774a39b
Add testautomation to VS project; remove automated from VS project; minor update to platform suite
2012-12-30 09:58:03 -08:00
Andreas Schiffler
add645da12
Test lib updates: updated harness to support filtering, added surface comparer, updated interface to test images; added Render test suite from GSOC project
2012-12-22 16:06:55 -08:00
Andreas Schiffler
ead556e41f
Add image data definitions (for render tests) to test lib
2012-12-20 08:50:36 -08:00
Andreas Schiffler
e1c75c0fc9
Added existing common.c/.h functions to test lib; minor assert refactoring
2012-12-09 17:56:19 -08:00
Andreas Schiffler
3745d35b62
Update VS2012 solution - add missing files; fix some static analysis warnings
2012-12-01 23:30:53 -08:00
Andreas Schiffler
ca03267939
Update assert API in test lib; add to and harness; add test lib to VS2010 and VS2012 solution; fix VS2012 solution; fix compiler warning
2012-12-01 14:48:30 -08:00
Sam Lantinga
3fff75f8ba
Fixed Visual Studio 2008 build
2012-11-26 23:56:24 -08:00
Andreas Schiffler
b8a9bd3784
Revert incorrect change to automated_VS2010
2012-11-26 18:51:17 -08:00
Sam Lantinga
23950f0183
Added hotplug joystick support and simplified game controller API, courtesy of Alfred Reynolds
2012-11-26 16:37:54 -08:00
Andreas Schiffler
84047df68c
Fix VS2012 solution; remove accidentally submitted .patch file
2012-11-25 21:57:13 -08:00
Andreas Schiffler
f70416e545
Added VS2012 project files
2012-11-08 21:53:57 -08:00
Sam Lantinga
4d5b6cd8b7
Updated the Visual Studio 2010 project with the new message box functionality.
2012-10-30 19:21:42 -07:00
Sam Lantinga
913254a6e8
Added Windows message box implementation, but it needs a little work on layout.
2012-10-30 18:59:56 -07:00
Sam Lantinga
b53cdc758a
Whoops, that's a header!
2012-10-01 00:02:07 -07:00
Sam Lantinga
af274bb9f5
Added SDL_dropevents.c to the Visual C projects
2012-09-30 23:08:46 -07:00
Ryan C. Gordon
0a26fda2e1
Patched to compile on Windows with VS2008 and VS2010.
2012-07-11 20:56:15 -04:00
Sam Lantinga
ffabd91859
Added SDL_system.h to the various projects
2012-06-23 06:46:06 -04:00
Sam Lantinga
e3179ba01b
Fixed compiling with Visual Studio
2012-06-19 13:50:14 -04:00
Sam Lantinga
7fda375925
Updated VS2010 project for the new version.rc location - thanks to Rainer Deyke
2012-02-04 10:42:12 -05:00
Sam Lantinga
254cf2c53c
Removed old compat files from Visual Studio and Xcode projects
2012-01-22 22:09:29 -05:00
Sam Lantinga
c484f884c5
Updated to SDL 2.0, and SDL 2.0 can now be installed coexisting with SDL 1.2
2012-01-22 17:21:00 -05:00
Sam Lantinga
a2c8422c6c
Added testscale and testrendertarget projects
2012-01-21 21:50:28 -05:00
Sam Lantinga
27f336ae6e
Added the correct version.rc to the Visual Studio build.
2012-01-21 12:10:14 -05:00
Sam Lantinga
ce42b7c89d
Added spaces for the include path
2012-01-16 20:40:10 -05:00
Sam Lantinga
094db18796
Don't hardcode output paths, Visual Studio does the right thing.
2012-01-09 04:53:58 -05:00
Sam Lantinga
91c26c9eb7
Removing test projects for Visual Studio 2005
2012-01-09 04:39:55 -05:00
Sam Lantinga
cc8501bdc4
I can't test Visual Studio 2005 configurations anymore, and I don't think anyone is using it for production games.
2012-01-09 04:38:34 -05:00
Sam Lantinga
5972cfa610
Fixed bug 1287 - VS2010 project doesn't include the SDL_syscond.c file
...
Liam 2011-08-23 09:09:18 PDT
Hiya!
Seems like there's no implementation of condition variables included when
building with VS2010, adding the generic SDL_syscond.c file to the project
seems to fix it right up.
2012-01-08 01:15:20 -05:00
Sam Lantinga
e256711bb9
Happy New Year!
2011-12-31 09:28:07 -05:00
Andreas Schiffler
7d44cb1995
Updated VS2010 project files
2011-12-04 21:45:34 -08:00
Ryan C. Gordon
3bd23ad70f
Removed SDL_xaudio2.h ... no real need for this to be separate.
2011-08-22 14:37:45 -04:00
Ryan C. Gordon
854a2e9098
Implemented XAudio2 target for Windows (and Xbox360, theoretically!).
2011-08-04 01:07:09 -04:00
Ryan C. Gordon
7de8cc401e
Reworked Windows waveOut code.
...
Implemented multi-device support, changed name to "winmm".
2011-08-04 01:24:22 -04:00
Ryan C. Gordon
26705b7afc
Reworked Windows DirectSound code.
...
Now supports multiple devices, and uses DirectSound 8 instead of 5. Changed
name to "directsound" and renamed source directory.
2011-08-04 01:26:12 -04:00
Tim Angus
e4de79558c
* SDL_IOS_IDLE_TIMER_DISABLED hint
2011-06-10 14:23:36 +01:00
Dennis Cappendijk
61b88719cb
Debug win 32 settings was wrongfully set to build the Release 32bit version.
2011-04-20 11:25:01 +02:00
Sam Lantinga
4b0ddc8d7c
Fixed bug 1185 (VS 2010 project files do not support side-by-side 32-bit and 64-bit builds)
...
Ed Kiser 2011-04-19 09:28:53 PDT
The Visual Studio 2010 project files have hard-coded relative paths which
prevent them from doing side-by-side 32-bit and 64-bit builds.
I have attached a patch that appears to fix this problem.
2011-04-19 09:53:01 -07:00
Sam Lantinga
117146456c
Removed buggy and LGPL MMX mixing routines.
2011-04-08 13:16:33 -07:00
Sam Lantinga
f45b146128
Fixed permissions
2011-03-25 10:54:13 -07:00
Sam Lantinga
6af452ca77
Added quotes to the post-build copy commands
2011-03-15 22:42:26 -07:00
Sam Lantinga
de7e7ed3e2
Fixed dependencies for testcursor
2011-03-15 22:41:14 -07:00
Sam Lantinga
9ad3d2ebf8
Copy icon.bmp for the testcursor build
2011-03-11 14:30:00 -08:00
Sam Lantinga
069fbf4861
Gamma support is back!
...
New API functions:
SDL_SetWindowBrightness()
SDL_GetWindowBrightness()
SDL_SetWindowGammaRamp()
SDL_GetWindowGammaRamp()
SDL_CalculateGammaRamp()
2011-03-11 08:49:20 -08:00
Sam Lantinga
b206d7290d
Include an updated Version.rc in Visual Studio builds
2011-03-09 18:26:35 -08:00
Sam Lantinga
cd962003a0
Fixed 64-bit compiling
2011-03-07 23:27:51 -08:00
Sam Lantinga
6b919539d3
The msimg library isn't needed anymore.
2011-03-07 22:06:12 -08:00
Sam Lantinga
89d7238dbf
Fixed the libraries linked with Visual Studio 2010, the msimg library isn't needed anymore.
2011-03-07 22:03:11 -08:00
Sam Lantinga
572abba9b9
Added support for Windows cursors
2011-02-28 23:50:32 -08:00
Sam Lantinga
a3bb35d039
Removed extra NoStdio configuration
2011-02-28 20:16:12 -08:00
Sam Lantinga
7fa84f6a78
Re-added the 3DNow! and AltiVec instruction support.
2011-02-22 21:44:36 -08:00
Sam Lantinga
c2092ce469
Fixed debug format
2011-02-17 18:53:46 -08:00
Sam Lantinga
579f2fc55e
Removed the obsolete NoSTDIO configurations
2011-02-17 12:16:01 -08:00
Sam Lantinga
dbb0a44739
Renamed SDL_keysym.h to SDL_keycode.h to avoid confusion.
2011-02-16 15:46:12 -08:00
Sam Lantinga
307a90d292
Made it possible to build SDL from a fresh checkout without any additional steps.
...
The trick is that if you're using configure and you don't want to have SDL_config.h and SDL_revision.h to show up as modified, you need to configure and build from a separate directory.
You also need to include SDL_revision.h directly if you want to use the SDL_REVISION constant, as a side effect of these changes.
2011-02-16 02:37:09 -08:00
Sam Lantinga
e66826bbdf
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
2011-02-14 00:45:16 -08:00
Sam Lantinga
76489b5e9e
Removed unused leak detection code.
2011-02-11 14:23:22 -08:00
Sam Lantinga
7e3a76e238
Fixed compiling on Windows
2011-02-11 10:13:30 -08:00
Sam Lantinga
efc19178c7
Fixed compiling on Windows
...
Added an untested shader for YV12 textures
2011-02-09 10:31:12 -08:00
Sam Lantinga
47818cfba9
Added a simple log message API
2011-02-07 16:45:40 -08:00
Sam Lantinga
8d99feca16
Updated projects
2011-02-05 12:01:36 -08:00