47 Commits
Author SHA1 Message Date
XhmikosR 81252fd78d Make VS2017 the default compiler. 2017-07-22 20:00:54 +03:00
Kacper Michajłow 0bca363728 Build: Add support for VS2017. 2017-07-22 18:18:13 +02:00
Underground78 b1d9c80d86 Save all solutions and project files with Visual Studio 2015. 2016-04-11 23:58:57 +02:00
Underground78 8e892a430d Remove support for Visual Studio 2013. 2016-04-11 23:58:57 +02:00
Kacper Michajłow 1ba1dbfe01 Remove unneeded conditional properties in project files. 2015-11-16 02:19:12 +01:00
Underground78 4bd179d4c4 Add support for Visual Studio 2015. 2015-11-15 23:32:22 +01:00
XhmikosR 3717ff0a4e Manifests: Add Windows 10 ID. 2014-10-30 22:33:05 +01:00
XhmikosR d1d700c179 Remove empty CString variables initialization. 2014-10-20 08:04:48 +03:00
XhmikosR 2a0054b97c Initializer list order fixes.
Found with cppcheck (inconclusive enabled).
2014-10-20 08:04:48 +03:00
Underground78 d0914c7845 Update the solution for Visual Studio update 3. 2014-08-31 18:19:33 +02:00
XhmikosR 1b9521602c MPCTestAPIDlg.cpp: Check return value and add a cast to shut up /analyze. 2014-08-25 00:00:06 +03:00
kasper93 6080a14497 Save the solution files with Visual Studio. 2014-07-10 09:45:44 +02:00
Underground78 925960684d Save the solution files with Visual Studio 2013. 2014-01-12 22:59:39 +01:00
XhmikosR 09e927d57d Remove VS2012 support.
From the next LAV Filters update, VS2013 is required to build.

Closes PR #122.
2013-12-21 17:12:34 +02:00
Alex Marsev 099c6fe2a2 Shaders: massive redesign 2013-12-04 00:03:32 +03:00
XhmikosR 225c5e6d77 Add VS2013 support. 2013-10-31 19:28:16 +02:00
XhmikosR c0755efa70 Add missing file in MPCTestAPI.vcxproj.filters. 2013-10-19 18:43:09 +02:00
XhmikosR 9aa2c005c6 Remove the obsolete "_ProjectFileVersion" property from the project files. 2013-09-29 18:19:08 +03:00
XhmikosR ab29f11a82 Revert "revert r5403"
This reverts commit 0199ac6f96.

Conflicts:
	src/MPCTestAPI/MPCTestAPI.vcxproj
	src/filters/transform/VSFilter/VSFilter.vcxproj
	src/mpc-hc/res/mplayerc.rc2

Embed the manifests via the project files. The issue we had with mt.exe is fixed in VS2012.
2013-09-29 18:19:08 +03:00
XhmikosR 80c34c0e0a Remove stdafx_common*.h. 2013-09-29 18:19:07 +03:00
XhmikosR 56cc28fb55 Remove VS2010 support.
Also remove the MFC hacks we used for VS2010 to reduce the executable's size.
2013-09-29 18:19:07 +03:00
XhmikosR 7ac9e3a159 Use an empty line after #pragma once directives. 2013-09-14 07:51:36 +03:00
XhmikosR aad12eedc8 Add Windows 8.1 ID in the manifest files. 2013-07-14 16:16:00 +03:00
XhmikosR e24ab62e1c Replace memset with ZeroMemory.
The ZeroMemory macro makes clear what it does compared to `memset(foo, 0, bar)`.
2013-06-23 16:27:42 +03:00
Underground78 c5fb9c73b7 Replace remaining NULL by nullptr when possible. 2013-06-18 22:18:19 +02:00
XhmikosR 0a2bb0c07e Reindent files. 2013-05-28 19:25:51 +03:00
Underground78 3cdba48eba MPC-HC API: Fix some warnings when handling HWND handles on x64.
64-bit versions of Windows use 32-bit handles for interoperability so we can just truncate/sign-extend them.
2013-05-24 21:57:48 +02:00
XhmikosR f890700b91 MPCTestAPIDlg.cpp: fix leaking process information handles.
(/analyze warning C6335)
2013-05-24 20:03:44 +03:00
Underground78 2acb3c5749 Use nullptr instead of NULL whenever possible.
Microsoft recommends to avoid using NULL or zero (0) as a null pointer constant since nullptr is less vulnerable to misuse and works better in most situations.

Also fix some cases where NULL was used instead of 0 or FALSE.
2013-05-09 14:57:30 +02:00
XhmikosR 4791580798 MPCTestAPI.rc: bump copyright year and use periods in the version strings 2013-03-02 10:39:33 +02:00
XhmikosR b4ea553dd1 resource files: switch to constants for the VersionInfo.
Inspired by http://code.google.com/p/tortoisegit/source/detail?r=b3b1d4f5614f1777f6457db77474fefdf0b49ef5
2013-03-02 10:39:31 +02:00
XhmikosR 4dfbb3bd18 use PlatformToolsetVersion instead of VisualStudioVersion 2013-01-08 12:38:16 +02:00
XhmikosR acad0a8518 Add VS2012 support.
* We use the same project files as VS2010 which makes things easier to maintain.
* We don't use any MFC hack to reduce the binaries' size. We use the _AFX_NO_MFC_CONTROLS_IN_DIALOGS define for the standalone filters which has the same effect and it's cleaner. MPC-HC itself is a little bigger uncompressed, but its compressed size is the same.
2013-01-08 12:38:15 +02:00
XhmikosR d8789c795b cosmetics: use the xml end tag where possible 2013-01-03 20:27:54 +02:00
XhmikosR 3c13fdbcf3 MPCTestAPI.exe.manifest: save it as UTF8 2012-12-16 19:07:07 +02:00
XhmikosR 04538aab53 cosmetics 2012-12-01 17:52:10 +02:00
XhmikosR 1fc6549ac9 add Windows 8 Id in the manifest files 2012-09-03 00:25:52 +03:00
XhmikosR 4684ac3f76 MPCTestAPI/MPCTestAPIDlg.cpp: initialize variable in the constructor 2012-08-22 22:39:10 +03:00
xhmikosr 43a55b7aed remove the svn keyword Id 2012-07-25 18:46:20 +03:00
XhmikosR 0199ac6f96 revert r5403
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5404 10f7b99b-c216-0410-bff0-8a66a9350fd8
2012-07-07 22:28:56 +00:00
XhmikosR 96568c1c99 embed the manifests via the project files; the warning shown is a bug in mt.exe, the manifest is properly embedded
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5403 10f7b99b-c216-0410-bff0-8a66a9350fd8
2012-07-07 17:25:05 +00:00
XhmikosR d0be066783 cosmetics
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5160 10f7b99b-c216-0410-bff0-8a66a9350fd8
2012-06-17 09:42:42 +00:00
XhmikosR 05ae14b677 keep one line statements, various indentation cosmetics
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5155 10f7b99b-c216-0410-bff0-8a66a9350fd8
2012-06-17 09:19:29 +00:00
XhmikosR d72c77c61e converted tabs to spaces for most files in our repo
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5111 10f7b99b-c216-0410-bff0-8a66a9350fd8
2012-06-13 09:33:54 +00:00
XhmikosR 0b9ec9a361 apply the new astyle command; use 4 spaces for indentation and k&r style
Note: if you have any local patches just run astyle.bat

git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5110 10f7b99b-c216-0410-bff0-8a66a9350fd8
2012-06-13 09:05:30 +00:00
XhmikosR d1b171c487 fix MPCTestAPI after r4789
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4792 10f7b99b-c216-0410-bff0-8a66a9350fd8
2012-05-18 16:44:17 +00:00
XhmikosR 66c1047db0 move apps/MPCTestAPI and apps/mplayerc one dir up
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4789 10f7b99b-c216-0410-bff0-8a66a9350fd8
2012-05-18 15:40:28 +00:00