Commit Graph

208 Commits

Author SHA1 Message Date
Sam Lantinga
9285ade794 Turned on OmitDefaultLibName for SDL, SDLmain and SDLtest 2014-07-27 19:56:53 -07:00
Sam Lantinga
6dd1e2f2f6 Split the XInput and DirectInput code so Windows RT can use the existing XInput support. 2014-07-03 15:39:55 -07:00
Sam Lantinga
19b12daed1 Added names for some theme related windows messages 2014-06-23 10:09:13 -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
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
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
e54f9ce675 Added testrumble to the Visual Studio 2013 solution 2014-03-29 12:27:02 -07:00
Andreas Schiffler
353b516a34 Add input validation to SDL_getenv/SDL_setenv; update Stdlib testsuite; add Hints testsuite 2014-03-19 21:39:55 -07:00
Sam Lantinga
757405f2e2 Fixed D3D9 initialization on Windows 8, which doesn't have D3DX 2014-03-10 17:19:19 -07:00
Sam Lantinga
7b235114e7 testoverlay2 depends on SDL2, SDL2main, and SDL2test 2014-03-10 05:37:25 -07:00
Sam Lantinga
eb9c43ac2c Added testoverlay2 to the Visual Studio 2013 solution 2014-03-10 03:59:47 -07:00
Sam Lantinga
6b5a5ea12a Converted David Ludwig's D3D11 renderer to C and optimized it.
The D3D11 renderer is now slightly faster than D3D9 on my Windows 8 machine (testsprite2 runs at 3400 FPS vs 3100 FPS)
This will need tweaking to fix the Windows RT build.
2014-03-10 01:51:03 -07:00
Sam Lantinga
f9a8f3dd9c Visual Studio 2013 project updates 2014-03-09 10:37:45 -07:00
Gabriel Jacobo
e739e95fd9 Fixes #2408, VS2013: several projects of release build are not built
Patch by Hiroyuki Iwatsuki
2014-02-20 17:03:55 -03:00
Gabriel Jacobo
770dd95100 Fixes #2403, add SDL2 dependency to testgles2 (thanks Hiroyuki Iwatsuki) 2014-02-19 11:03:03 -03:00
Ryan C. Gordon
3dfc14ade2 Implemented the Dynamic API magic. 2013-12-09 16:03:18 -05:00
Gabriel Jacobo
3fcc35f5bb OpenGL ES support for Windows 2013-11-22 13:24:53 -03:00
Sam Lantinga
9cb01a5423 Fixed bug 2232 - Version Mismatch in VS2013 Solution File
Joe LeVeque

Line 3 of SDL_VS2013.sln file reads "# Visual Studio 2012" instead of "# Visual Studio 2013" which causes Windows to associate the file with Visual Studio 2012, if installed, instead of Visual Studio 2013.
2013-11-16 12:11:19 -08:00
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