Commit graph

240 commits

Author SHA1 Message Date
Apoorv Upreti
728572a414 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
c04efa65dc 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
694010e6e4 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
4abff3bd75 Fixed project conflict during commit 2013-10-14 09:14:09 -07:00
Sam Lantinga
dca068eb06 Adding static lib to SDL builds on Windows.
CR: SamL
2013-10-14 08:56:45 -07:00
Ryan C. Gordon
2b9a2802b2 Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module.
--HG--
extra : rebase_source : c1fac232063443a2880e64f1abda85e0bdb2e710
2013-08-20 19:57:11 -04:00
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
Ryan C. Gordon
d99a4adff9 SDL_*Parachute() are no-ops, remove them. 2013-08-07 11:12:11 -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
bfcb08d569 Implemented an API for thread-local storage: SDL_TLSCreate(), SDL_TLSSet(), SDL_TLSGet() 2013-07-10 02:32:04 -07:00
Ryan C. Gordon
2740a12ae3 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
7afed3e5ae Removed deprecated SDL_types.h header.
Fixes Bugzilla #1945.
2013-07-08 23:37:00 -04:00
Sam Lantinga
324a14d847 Added testgamecontroller to the Visual Studio 2012 solution. 2013-06-28 22:42:10 -07:00
Andreas Schiffler
319984251f 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
199bed4801 Removed obsolete NoStdio configurations. 2013-06-05 22:35:13 -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
Sam Lantinga
914c1c4469 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
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
Andreas Schiffler
d1c430023f Reformat SDL_VS2010.sln so WindowsExplorer VS type detection works again 2013-03-13 09:14:45 -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
Sam Lantinga
ee24414406 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
aa427c702d Removed SDL_input.h from various projects 2013-02-19 05:46:51 -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
Jørgen P. Tjernø
f85aeb98c7 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
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
81eb615d45 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
f5af517cd2 Add image data definitions (for render tests) to test lib 2012-12-20 08:50:36 -08:00
Andreas Schiffler
84aaf1fed9 Added existing common.c/.h functions to test lib; minor assert refactoring 2012-12-09 17:56:19 -08:00
Andreas Schiffler
fb3b70940c Update VS2012 solution - add missing files; fix some static analysis warnings 2012-12-01 23:30:53 -08:00
Andreas Schiffler
d4bfe07a4f 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
57259c85de Fixed Visual Studio 2008 build 2012-11-26 23:56:24 -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