Commit graph

72 commits

Author SHA1 Message Date
Andreas Schiffler
16a40598f6 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
Sam Lantinga
2e821930a3 Fix building the tests with Visual Studio 2012 (thanks Isaac!) 2013-08-07 09:20:41 -07:00
Sam Lantinga
6f83bd0e2a 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
a74537a5a9 Fix bug 1494: add missing test projects to VS2010/VS2010 solution 2013-07-22 06:00:41 -07:00
Sam Lantinga
324a14d847 Added testgamecontroller to the Visual Studio 2012 solution. 2013-06-28 22:42:10 -07:00
Sam Lantinga
b42b0c3e91 Added testautomation to the Visual Studio 2008 project. 2013-06-05 22:33:10 -07:00
Andreas Schiffler
5a7d3757f5 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
3426ac11ad Remove deprecated/deleted VS test projects 2013-06-03 07:28:55 -07: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
Sam Lantinga
f423813732 Fixed Windows build 2013-05-24 03:29:31 -07:00
Andreas Schiffler
750f6fb9d9 Deprecate test/automated and test/test-automation (replaced by test/testautomation*.*) 2013-05-18 23:32:53 -07:00
Andreas Schiffler
985951f70e 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
Sam Lantinga
2c077061e0 Fied bug 1719 - Remove unnecessary PrecompiledHeaderOutputFile.
Hiroyuki Iwatsuki
Patch for removing unnecessary PrecompiledHeaderOutputFile.
2013-03-03 22:08:00 -08:00
Jørgen P. Tjernø
6fee8913ec 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

--HG--
extra : amend_source : e7d1b224d1356c5be7a89df7b82a7f5e1141c167
2013-02-13 17:19:21 -08:00
Jørgen P. Tjernø
2d5dc3c4ed 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
Andreas Schiffler
da76be8927 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
a971c6b291 Added timer test suite 2013-01-14 08:14:53 -08:00
Andreas Schiffler
5220df817b Add new test suite (mouse) with a few new tests 2013-01-06 18:19:30 -08:00
Andreas Schiffler
687ba034f6 Add new test suites (events, keyboard, syswm, video) with a few new tests each 2013-01-06 15:17:59 -08:00
Andreas Schiffler
c412071894 Fix VS buildbot builds 2012-12-31 19:22:05 -08:00
Andreas Schiffler
e225eb7390 Fix VS2010 and VS2012 solutions. 2012-12-31 19:11:14 -08:00
Sam Lantinga
49bf362b10 Fixed building tests with Visual Studio 2008 2012-12-31 13:49:06 -08:00
Andreas Schiffler
1ab1039416 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
40c14b85a8 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
ebdb9d4f98 Revert incorrect change to automated_VS2010 2012-11-26 18:51:17 -08:00
Sam Lantinga
34b88dfaae Added hotplug joystick support and simplified game controller API, courtesy of Alfred Reynolds 2012-11-26 16:37:54 -08:00
Andreas Schiffler
b1d3c334c6 Fix VS2012 solution; remove accidentally submitted .patch file 2012-11-25 21:57:13 -08:00
Andreas Schiffler
9144abbf82 Added VS2012 project files 2012-11-08 21:53:57 -08:00
Sam Lantinga
d71e0546a9 Updated to SDL 2.0, and SDL 2.0 can now be installed coexisting with SDL 1.2
--HG--
rename : sdl-config.in => sdl2-config.in
rename : sdl.m4 => sdl2.m4
rename : sdl.pc.in => sdl2.pc.in
2012-01-22 17:21:00 -05:00
Sam Lantinga
7eefd495d2 Added testscale and testrendertarget projects 2012-01-21 21:50:28 -05:00
Sam Lantinga
5d1613d59e Don't hardcode output paths, Visual Studio does the right thing. 2012-01-09 04:53:58 -05:00
Sam Lantinga
93b05747f5 Removing test projects for Visual Studio 2005 2012-01-09 04:39:55 -05:00
Andreas Schiffler
4d6a742cd1 Updated VS2010 project files 2011-12-04 21:45:34 -08:00
Sam Lantinga
782b8b7d6e 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
e6a027df65 Added quotes to the post-build copy commands 2011-03-15 22:42:26 -07:00
Sam Lantinga
8fe03ca350 Copy icon.bmp for the testcursor build 2011-03-11 14:30:00 -08:00
Sam Lantinga
7dd0385c57 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
2368a3301a Added support for Windows cursors 2011-02-28 23:50:32 -08:00
Sam Lantinga
4c83734b3f Fixed debug format 2011-02-17 18:53:46 -08:00
Sam Lantinga
20b4d9f762 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
3b68836c8d Removing Visual Studio projects for testpalette 2011-02-01 21:51:54 -08:00
Sam Lantinga
de8bd33888 Use the debug C runtime for the debug configuration 2011-01-19 13:50:53 -08:00
Sam Lantinga
546a3a8d30 Added post build step to copy SDL and data files into the test projects 2011-01-19 13:07:25 -08:00
Sam Lantinga
e73252548b Added post build step to copy SDL and data files into the test projects 2011-01-19 11:35:54 -08:00
Sam Lantinga
2bd8b29550 Added testatomic test project 2011-01-17 13:42:24 -08:00
Sam Lantinga
f7fc00e75c Added a Visual Studio project for testgesture 2010-11-30 12:38:46 -08:00
Sam Lantinga
f8d3e248f2 Removed references to testwm 2010-11-30 12:04:01 -08:00
Andreas Schiffler
ea576e6386 Fix and rename VS2010 project files, add tests to VS2010 solution, fix VS compiler warning
--HG--
rename : VisualC/tests/automated/automated.vcxproj => VisualC/tests/automated/automated_VS2010.vcxproj
rename : VisualC/tests/checkkeys/checkkeys.vcxproj => VisualC/tests/checkkeys/checkkeys_VS2010.vcxproj
rename : VisualC/tests/graywin/graywin.vcxproj => VisualC/tests/graywin/graywin_VS2010.vcxproj
rename : VisualC/tests/loopwave/loopwave.vcxproj => VisualC/tests/loopwave/loopwave_VS2010.vcxproj
rename : VisualC/tests/testalpha/testalpha.vcxproj => VisualC/tests/testalpha/testalpha_VS2010.vcxproj
rename : VisualC/tests/testdraw2/testdraw2.vcxproj => VisualC/tests/testdraw2/testdraw2_VS2010.vcxproj
rename : VisualC/tests/testfile/testfile.vcxproj => VisualC/tests/testfile/testfile_VS2010.vcxproj
rename : VisualC/tests/testgamma/testgamma.vcxproj => VisualC/tests/testgamma/testgamma_VS2010.vcxproj
rename : VisualC/tests/testgl/testgl.vcxproj => VisualC/tests/testgl/testgl_VS2010.vcxproj
rename : VisualC/tests/testgl2/testgl2.vcxproj => VisualC/tests/testgl2/testgl2_VS2010.vcxproj
rename : VisualC/tests/testjoystick/testjoystick.vcxproj => VisualC/tests/testjoystick/testjoystick_VS2010.vcxproj
rename : VisualC/tests/testoverlay/testoverlay.vcxproj => VisualC/tests/testoverlay/testoverlay_VS2010.vcxproj
rename : VisualC/tests/testoverlay2/testoverlay2.vcxproj => VisualC/tests/testoverlay2/testoverlay2_VS2010.vcxproj
rename : VisualC/tests/testpalette/testpalette.vcxproj => VisualC/tests/testpalette/testpalette_VS2010.vcxproj
rename : VisualC/tests/testplatform/testplatform.vcxproj => VisualC/tests/testplatform/testplatform_VS2010.vcxproj
rename : VisualC/tests/testpower/testpower.vcxproj => VisualC/tests/testpower/testpower_VS2010.vcxproj
rename : VisualC/tests/testshape/testshape.vcproj => VisualC/tests/testshape/testshape_VS2008.vcproj
rename : VisualC/tests/testshape/testshape.vcxproj => VisualC/tests/testshape/testshape_VS2010.vcxproj
rename : VisualC/tests/testsprite/testsprite.vcxproj => VisualC/tests/testsprite/testsprite_VS2010.vcxproj
rename : VisualC/tests/testsprite2/testsprite2.vcxproj => VisualC/tests/testsprite2/testsprite2_VS2010.vcxproj
rename : VisualC/tests/testvidinfo/testvidinfo.vcxproj => VisualC/tests/testvidinfo/testvidinfo_VS2010.vcxproj
rename : VisualC/tests/testwin/testwin.vcxproj => VisualC/tests/testwin/testwin_VS2010.vcxproj
rename : VisualC/tests/testwm/testwm.vcxproj => VisualC/tests/testwm/testwm_VS2010.vcxproj
2010-11-19 21:51:33 -08:00
Sam Lantinga
f968057d82 Updated build for Visual Studio 2010 2010-09-17 09:08:47 -07:00
Andreas Schiffler
1975b91fae - added directx include path to VS2008 solution
- updated shape vcproj and add it to VS2008 solution
- minor changes (i.e. typecasting) to get rid of compiler warnings in VS
2010-09-15 22:15:47 -07:00