OpenToonz - An open-source full-featured 2D animation creation software
C
Support Visual Studio 2015 (#544)
Shinya Kitaokafd19c4eedfc4
diff --git a/.gitattributes b/.gitattributesnew file mode 100644index 000000000..f3c14f13d--- /dev/null+++ b/.gitattributes@@ -0,0 +1,2 @@+*.lib filter=lfs diff=lfs merge=lfs -text+*.dll filter=lfs diff=lfs merge=lfs -textdiff --git a/doc/how_to_build_win.md b/doc/how_to_build_win.mdindex bf513bd9b..158acaaae 100644--- a/doc/how_to_build_win.md+++ b/doc/how_to_build_win.md@@ -59,6 +59,13 @@ Rename the following files:- `$opentoonz/thirdparty/tiff-4.0.3/libtiff/tiffconf.vc.h` → `$opentoonz/thirdparty/tiff-4.0.3/libtiff/tiffconf.h`- `$opentoonz/thirdparty/libpng-1.6.21/scripts/pnglibconf.h.prebuilt` → `$opentoonz/thirdparty/libpng-1.6.21/pnglibconf.h`+Add a guard for snprintf at tif_config.h(50):+```++#if _MSC_VER < 1900+#define snprintf _snprintf++#endif+```+## Building1. Open `$opentoonz/toonz/build/OpenToonz.sln` and change to `Release`2. The output will be in `$opentoonz/toonz/build/Release`diff --git a/doc/how_to_build_win_ja.md b/doc/how_to_build_win_ja.mdindex cb63fb38e..eaf4a8f3e 100644--- a/doc/how_to_build_win_ja.md+++ b/doc/how_to_build_win_ja.md@@ -56,6 +56,13 @@ Visual Studio 2013とQt 5.6でビルドできることを確認しています- `$opentoonz/thirdparty/tiff-4.0.3/libtiff/tiffconf.vc.h` → `$opentoonz/thirdparty/tiff-4.0.3/libtiff/tiffconf.h`- `$opentoonz/thirdparty/libpng-1.6.21/scripts/pnglibconf.h.prebuilt` → `$opentoonz/thirdparty/libpng-1.6.21/pnglibconf.h`+`tif_config.h` の 50 行目あたりに下記の修正を加えます:+```++#if _MSC_VER < 1900+#define snprintf _snprintf++#endif+```+## ビルド1. `$opentoonz/toonz/build/OpenToonz.sln`を開いてRelease構成を選択してビルドします2. `$opentoonz/toonz/build/Release`にファイルが生成されますdiff --git a/thirdparty/LibJPEG/jpeg-9/lib/LibJPEG-9.lib b/thirdparty/LibJPEG/jpeg-9/lib/LibJPEG-9.libdeleted file mode 100644index 6befc6223..000000000Binary files a/thirdparty/LibJPEG/jpeg-9/lib/LibJPEG-9.lib and /dev/null differdiff --git a/thirdparty/LibJPEG/jpeg-9/lib/LibJPEG-9_2013.lib b/thirdparty/LibJPEG/jpeg-9/lib/LibJPEG-9_2013.libnew file mode 100644index 000000000..2d900993f--- /dev/null+++ b/thirdparty/LibJPEG/jpeg-9/lib/LibJPEG-9_2013.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:98a2e2d1ebb2656551cfa940f0c6c7370b2dab3660ba9d305c0d2ac2b21638f5+size 2493752diff --git a/thirdparty/LibJPEG/jpeg-9/lib/LibJPEG-9_2013_64.lib b/thirdparty/LibJPEG/jpeg-9/lib/LibJPEG-9_2013_64.libnew file mode 100644index 000000000..7c26200c1--- /dev/null+++ b/thirdparty/LibJPEG/jpeg-9/lib/LibJPEG-9_2013_64.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:dd1f0ee4a952b127fa96390e88d693415aa8da621270557d039b07e0fc2738b1+size 2516870diff --git a/thirdparty/LibJPEG/jpeg-9/lib/LibJPEG-9_2015.lib b/thirdparty/LibJPEG/jpeg-9/lib/LibJPEG-9_2015.libnew file mode 100644index 000000000..fb815b11c--- /dev/null+++ b/thirdparty/LibJPEG/jpeg-9/lib/LibJPEG-9_2015.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:2e3ee5c4fe4c1f33f7cac77363db8c69ec7dfdea1cf6d656ea0f46860b244cd2+size 6654474diff --git a/thirdparty/LibJPEG/jpeg-9/lib/LibJPEG-9_2015_64.lib b/thirdparty/LibJPEG/jpeg-9/lib/LibJPEG-9_2015_64.libnew file mode 100644index 000000000..b2493e216--- /dev/null+++ b/thirdparty/LibJPEG/jpeg-9/lib/LibJPEG-9_2015_64.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:53fde671ed29e2cf712642120dc23e1ae9ba2e9106ef2dcf73a523690c475a0d+size 6687860diff --git a/thirdparty/LibJPEG/jpeg-9/lib/LibJPEG-9_64.lib b/thirdparty/LibJPEG/jpeg-9/lib/LibJPEG-9_64.libdeleted file mode 100644index 6a8c67b6b..000000000Binary files a/thirdparty/LibJPEG/jpeg-9/lib/LibJPEG-9_64.lib and /dev/null differdiff --git a/thirdparty/LibJPEG/jpeg-9/prj/LibJPEG/LibJPEG.vcxproj b/thirdparty/LibJPEG/jpeg-9/prj/LibJPEG/LibJPEG.vcxprojindex 70ba9d2cd..c8edfcfd9 100644--- a/thirdparty/LibJPEG/jpeg-9/prj/LibJPEG/LibJPEG.vcxproj+++ b/thirdparty/LibJPEG/jpeg-9/prj/LibJPEG/LibJPEG.vcxproj@@ -1,5 +1,5 @@<?xml version="1.0" encoding="utf-8"?>-<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">+<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"><ItemGroup Label="ProjectConfigurations"><ProjectConfiguration Include="Debug|Win32"><Configuration>Debug</Configuration>@@ -27,27 +27,27 @@<ConfigurationType>StaticLibrary</ConfigurationType><UseDebugLibraries>true</UseDebugLibraries><CharacterSet>MultiByte</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"><ConfigurationType>StaticLibrary</ConfigurationType><UseDebugLibraries>true</UseDebugLibraries><CharacterSet>MultiByte</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"><ConfigurationType>StaticLibrary</ConfigurationType><UseDebugLibraries>false</UseDebugLibraries><WholeProgramOptimization>true</WholeProgramOptimization><CharacterSet>MultiByte</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"><ConfigurationType>StaticLibrary</ConfigurationType><UseDebugLibraries>false</UseDebugLibraries><WholeProgramOptimization>true</WholeProgramOptimization><CharacterSet>MultiByte</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /><ImportGroup Label="ExtensionSettings">diff --git a/thirdparty/Lz4/Lz4_131/lz4_32.lib b/thirdparty/Lz4/Lz4_131/lz4_32.libindex b84990b45..87aaeb8d7 100644Binary files a/thirdparty/Lz4/Lz4_131/lz4_32.lib and b/thirdparty/Lz4/Lz4_131/lz4_32.lib differdiff --git a/thirdparty/Lz4/Lz4_131/lz4_64.lib b/thirdparty/Lz4/Lz4_131/lz4_64.libindex 6fb261c68..4b46d9c8b 100644Binary files a/thirdparty/Lz4/Lz4_131/lz4_64.lib and b/thirdparty/Lz4/Lz4_131/lz4_64.lib differdiff --git a/thirdparty/glew/glew-1.9.0/bin/32bit/glew32.dll b/thirdparty/glew/glew-1.9.0/bin/32bit/glew32.dllindex 53c041dbd..291feb410 100644Binary files a/thirdparty/glew/glew-1.9.0/bin/32bit/glew32.dll and b/thirdparty/glew/glew-1.9.0/bin/32bit/glew32.dll differdiff --git a/thirdparty/glew/glew-1.9.0/bin/32bit/glew32mx.dll b/thirdparty/glew/glew-1.9.0/bin/32bit/glew32mx.dllindex ddd865f29..a7ae72847 100644Binary files a/thirdparty/glew/glew-1.9.0/bin/32bit/glew32mx.dll and b/thirdparty/glew/glew-1.9.0/bin/32bit/glew32mx.dll differdiff --git a/thirdparty/glew/glew-1.9.0/bin/64bit/glew32.dll b/thirdparty/glew/glew-1.9.0/bin/64bit/glew32.dllindex 3a21d798e..eafcdbd1a 100644Binary files a/thirdparty/glew/glew-1.9.0/bin/64bit/glew32.dll and b/thirdparty/glew/glew-1.9.0/bin/64bit/glew32.dll differdiff --git a/thirdparty/glew/glew-1.9.0/bin/64bit/glew32mx.dll b/thirdparty/glew/glew-1.9.0/bin/64bit/glew32mx.dllindex a010d0eff..f7664f678 100644Binary files a/thirdparty/glew/glew-1.9.0/bin/64bit/glew32mx.dll and b/thirdparty/glew/glew-1.9.0/bin/64bit/glew32mx.dll differdiff --git a/thirdparty/glew/glew-1.9.0/lib/glew32.lib b/thirdparty/glew/glew-1.9.0/lib/glew32.libindex 301a234df..973187009 100644Binary files a/thirdparty/glew/glew-1.9.0/lib/glew32.lib and b/thirdparty/glew/glew-1.9.0/lib/glew32.lib differdiff --git a/thirdparty/glew/glew-1.9.0/lib/glew32mx.lib b/thirdparty/glew/glew-1.9.0/lib/glew32mx.libindex 2f609f6b9..14ecb3f27 100644Binary files a/thirdparty/glew/glew-1.9.0/lib/glew32mx.lib and b/thirdparty/glew/glew-1.9.0/lib/glew32mx.lib differdiff --git a/thirdparty/glew/glew-1.9.0/lib/glew32mxs.lib b/thirdparty/glew/glew-1.9.0/lib/glew32mxs.libindex b6b31b64c..f10728fbb 100644Binary files a/thirdparty/glew/glew-1.9.0/lib/glew32mxs.lib and b/thirdparty/glew/glew-1.9.0/lib/glew32mxs.lib differdiff --git a/thirdparty/glew/glew-1.9.0/lib/glew32s.lib b/thirdparty/glew/glew-1.9.0/lib/glew32s.libindex 589a5bb91..4fc2243ce 100644Binary files a/thirdparty/glew/glew-1.9.0/lib/glew32s.lib and b/thirdparty/glew/glew-1.9.0/lib/glew32s.lib differdiff --git a/thirdparty/glew/glew-1.9.0/lib/glew64.lib b/thirdparty/glew/glew-1.9.0/lib/glew64.libindex 1982f98da..53e7fb725 100644Binary files a/thirdparty/glew/glew-1.9.0/lib/glew64.lib and b/thirdparty/glew/glew-1.9.0/lib/glew64.lib differdiff --git a/thirdparty/glew/glew-1.9.0/lib/glew64mx.lib b/thirdparty/glew/glew-1.9.0/lib/glew64mx.libindex 53e03b28c..cbd6963c8 100644Binary files a/thirdparty/glew/glew-1.9.0/lib/glew64mx.lib and b/thirdparty/glew/glew-1.9.0/lib/glew64mx.lib differdiff --git a/thirdparty/glew/glew-1.9.0/lib/glew64mxs.lib b/thirdparty/glew/glew-1.9.0/lib/glew64mxs.libindex 6e731b2dd..144bbbdd9 100644Binary files a/thirdparty/glew/glew-1.9.0/lib/glew64mxs.lib and b/thirdparty/glew/glew-1.9.0/lib/glew64mxs.lib differdiff --git a/thirdparty/glew/glew-1.9.0/lib/glew64s.lib b/thirdparty/glew/glew-1.9.0/lib/glew64s.libindex 4316171d4..47a5dce05 100644Binary files a/thirdparty/glew/glew-1.9.0/lib/glew64s.lib and b/thirdparty/glew/glew-1.9.0/lib/glew64s.lib differdiff --git a/thirdparty/glut/3.7.6/lib/glut32.dll b/thirdparty/glut/3.7.6/lib/glut32.dllindex a0c08b2ca..d11264990 100644Binary files a/thirdparty/glut/3.7.6/lib/glut32.dll and b/thirdparty/glut/3.7.6/lib/glut32.dll differdiff --git a/thirdparty/glut/3.7.6/lib/glut32.lib b/thirdparty/glut/3.7.6/lib/glut32.libindex b93eff8e1..b9f02914a 100644Binary files a/thirdparty/glut/3.7.6/lib/glut32.lib and b/thirdparty/glut/3.7.6/lib/glut32.lib differdiff --git a/thirdparty/glut/3.7.6/lib/glut64.dll b/thirdparty/glut/3.7.6/lib/glut64.dllindex 5df6d9885..b253b4118 100644Binary files a/thirdparty/glut/3.7.6/lib/glut64.dll and b/thirdparty/glut/3.7.6/lib/glut64.dll differdiff --git a/thirdparty/glut/3.7.6/lib/glut64.lib b/thirdparty/glut/3.7.6/lib/glut64.libindex d5f244d2d..ba5a93c65 100644Binary files a/thirdparty/glut/3.7.6/lib/glut64.lib and b/thirdparty/glut/3.7.6/lib/glut64.lib differdiff --git a/thirdparty/libpng-1.6.21/lib/libpng16.lib b/thirdparty/libpng-1.6.21/lib/libpng16.libdeleted file mode 100644index 80935af4d..000000000Binary files a/thirdparty/libpng-1.6.21/lib/libpng16.lib and /dev/null differdiff --git a/thirdparty/libpng-1.6.21/lib/libpng16_2013.lib b/thirdparty/libpng-1.6.21/lib/libpng16_2013.libnew file mode 100644index 000000000..b093a1a5d--- /dev/null+++ b/thirdparty/libpng-1.6.21/lib/libpng16_2013.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:d524d8a30a7f4db740cacf0df6e30094038a8d4fc0fe31c173f263dc1eab80c6+size 1664856diff --git a/thirdparty/libpng-1.6.21/lib/libpng16_2013_64.lib b/thirdparty/libpng-1.6.21/lib/libpng16_2013_64.libnew file mode 100644index 000000000..0fb210e3b--- /dev/null+++ b/thirdparty/libpng-1.6.21/lib/libpng16_2013_64.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:7633fee94be82dd5b4306087d48fb3355da5e31f65dc65e524c906101ede8aa9+size 1685508diff --git a/thirdparty/libpng-1.6.21/lib/libpng16_2013_64d.lib b/thirdparty/libpng-1.6.21/lib/libpng16_2013_64d.libnew file mode 100644index 000000000..3f7fa81ad--- /dev/null+++ b/thirdparty/libpng-1.6.21/lib/libpng16_2013_64d.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:80f9061022636468b0210c4593e5068ca5effaf31f9f773588c07f8bfd06ce3a+size 1338884diff --git a/thirdparty/libpng-1.6.21/lib/libpng16_2013d.lib b/thirdparty/libpng-1.6.21/lib/libpng16_2013d.libnew file mode 100644index 000000000..c8b5a4081--- /dev/null+++ b/thirdparty/libpng-1.6.21/lib/libpng16_2013d.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:9f14eb2031a8deb31b42f10b41b0f88bdde539f7e604ad7c9c77ca07fdeadd99+size 1152430diff --git a/thirdparty/libpng-1.6.21/lib/libpng16_2015.lib b/thirdparty/libpng-1.6.21/lib/libpng16_2015.libnew file mode 100644index 000000000..ca4827f96--- /dev/null+++ b/thirdparty/libpng-1.6.21/lib/libpng16_2015.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:1d6be973caafd36b6dcf9b8fcb2d030ad2e0c3c523527fad7bbf7da9f9ba5b6e+size 56118diff --git a/thirdparty/libpng-1.6.21/lib/libpng16_2015_64.lib b/thirdparty/libpng-1.6.21/lib/libpng16_2015_64.libnew file mode 100644index 000000000..a10d49426--- /dev/null+++ b/thirdparty/libpng-1.6.21/lib/libpng16_2015_64.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:b4bdc9d683bea03f63d1b1f5f7f5c35669a959b59f9a9a0ef265bbf088241846+size 1712226diff --git a/thirdparty/libpng-1.6.21/lib/libpng16_2015_64d.lib b/thirdparty/libpng-1.6.21/lib/libpng16_2015_64d.libnew file mode 100644index 000000000..c52ca83ac--- /dev/null+++ b/thirdparty/libpng-1.6.21/lib/libpng16_2015_64d.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:a7853ab6972d0f56a0562d05ce1e3532f0dc4dec75359137f1ae9b7e0b19899b+size 1328584diff --git a/thirdparty/libpng-1.6.21/lib/libpng16_2015d.lib b/thirdparty/libpng-1.6.21/lib/libpng16_2015d.libnew file mode 100644index 000000000..a94d49244--- /dev/null+++ b/thirdparty/libpng-1.6.21/lib/libpng16_2015d.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:be7784d0f86cf87b9dd965a32707e1a999b059d57fbeddb4066a033200e0fbc9+size 56118diff --git a/thirdparty/libpng-1.6.21/lib/libpng16_64.lib b/thirdparty/libpng-1.6.21/lib/libpng16_64.libdeleted file mode 100644index 9eec31941..000000000Binary files a/thirdparty/libpng-1.6.21/lib/libpng16_64.lib and /dev/null differdiff --git a/thirdparty/libpng-1.6.21/lib/libpng16_64d.lib b/thirdparty/libpng-1.6.21/lib/libpng16_64d.libdeleted file mode 100644index 72efb87b8..000000000Binary files a/thirdparty/libpng-1.6.21/lib/libpng16_64d.lib and /dev/null differdiff --git a/thirdparty/libpng-1.6.21/lib/libpng16d.lib b/thirdparty/libpng-1.6.21/lib/libpng16d.libdeleted file mode 100644index d245f1454..000000000Binary files a/thirdparty/libpng-1.6.21/lib/libpng16d.lib and /dev/null differdiff --git a/thirdparty/libpng-1.6.21/projects/vstudio/libpng/libpng.vcxproj b/thirdparty/libpng-1.6.21/projects/vstudio/libpng/libpng.vcxprojindex 6820cf38d..c1ab30f8e 100644--- a/thirdparty/libpng-1.6.21/projects/vstudio/libpng/libpng.vcxproj+++ b/thirdparty/libpng-1.6.21/projects/vstudio/libpng/libpng.vcxproj@@ -1,5 +1,5 @@<?xml version="1.0" encoding="utf-8"?>-<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">+<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"><ItemGroup Label="ProjectConfigurations"><ProjectConfiguration Include="Debug Library|Win32"><Configuration>Debug Library</Configuration>@@ -45,45 +45,45 @@<ConfigurationType>DynamicLibrary</ConfigurationType><CharacterSet>MultiByte</CharacterSet><WholeProgramOptimization>true</WholeProgramOptimization>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"><ConfigurationType>DynamicLibrary</ConfigurationType><CharacterSet>MultiByte</CharacterSet><WholeProgramOptimization>true</WholeProgramOptimization>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Library|Win32'" Label="Configuration"><ConfigurationType>StaticLibrary</ConfigurationType><CharacterSet>MultiByte</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Library|x64'" Label="Configuration"><ConfigurationType>StaticLibrary</ConfigurationType><CharacterSet>MultiByte</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"><ConfigurationType>DynamicLibrary</ConfigurationType><WholeProgramOptimization>true</WholeProgramOptimization><CharacterSet>MultiByte</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"><ConfigurationType>DynamicLibrary</ConfigurationType><WholeProgramOptimization>true</WholeProgramOptimization><CharacterSet>MultiByte</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Library|Win32'" Label="Configuration"><ConfigurationType>StaticLibrary</ConfigurationType><CharacterSet>MultiByte</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Library|x64'" Label="Configuration"><ConfigurationType>StaticLibrary</ConfigurationType><CharacterSet>MultiByte</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /><ImportGroup Label="ExtensionSettings">diff --git a/thirdparty/libpng-1.6.21/projects/vstudio/pnglibconf/pnglibconf.vcxproj b/thirdparty/libpng-1.6.21/projects/vstudio/pnglibconf/pnglibconf.vcxprojindex 47ad8607a..e24174920 100644--- a/thirdparty/libpng-1.6.21/projects/vstudio/pnglibconf/pnglibconf.vcxproj+++ b/thirdparty/libpng-1.6.21/projects/vstudio/pnglibconf/pnglibconf.vcxproj@@ -1,5 +1,5 @@<?xml version="1.0" encoding="utf-8"?>-<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">+<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"><ItemGroup Label="ProjectConfigurations"><ProjectConfiguration Include="Release|Win32"><Configuration>Release</Configuration>@@ -20,14 +20,14 @@<UseDebugLibraries>false</UseDebugLibraries><WholeProgramOptimization>true</WholeProgramOptimization><CharacterSet>MultiByte</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><UseDebugLibraries>false</UseDebugLibraries><WholeProgramOptimization>true</WholeProgramOptimization><CharacterSet>MultiByte</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><Import Project="$(SolutionDir)\zlib.props" /><Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />diff --git a/thirdparty/libpng-1.6.21/projects/vstudio/pngstest/pngstest.vcxproj b/thirdparty/libpng-1.6.21/projects/vstudio/pngstest/pngstest.vcxprojindex 4eb7a219a..45c836873 100644--- a/thirdparty/libpng-1.6.21/projects/vstudio/pngstest/pngstest.vcxproj+++ b/thirdparty/libpng-1.6.21/projects/vstudio/pngstest/pngstest.vcxproj@@ -1,5 +1,5 @@<?xml version="1.0" encoding="utf-8"?>-<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">+<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"><ItemGroup Label="ProjectConfigurations"><ProjectConfiguration Include="Debug Library|Win32"><Configuration>Debug Library</Configuration>@@ -44,42 +44,42 @@<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Library|Win32'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Library|x64'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Library|Win32'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Library|x64'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /><ImportGroup Label="ExtensionSettings">diff --git a/thirdparty/libpng-1.6.21/projects/vstudio/pngtest/pngtest.vcxproj b/thirdparty/libpng-1.6.21/projects/vstudio/pngtest/pngtest.vcxprojindex 510f3274e..dcbbb4cc0 100644--- a/thirdparty/libpng-1.6.21/projects/vstudio/pngtest/pngtest.vcxproj+++ b/thirdparty/libpng-1.6.21/projects/vstudio/pngtest/pngtest.vcxproj@@ -1,5 +1,5 @@<?xml version="1.0" encoding="utf-8"?>-<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">+<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"><ItemGroup Label="ProjectConfigurations"><ProjectConfiguration Include="Debug Library|Win32"><Configuration>Debug Library</Configuration>@@ -44,42 +44,42 @@<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Library|Win32'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Library|x64'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Library|Win32'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Library|x64'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /><ImportGroup Label="ExtensionSettings">diff --git a/thirdparty/libpng-1.6.21/projects/vstudio/pngunknown/pngunknown.vcxproj b/thirdparty/libpng-1.6.21/projects/vstudio/pngunknown/pngunknown.vcxprojindex 783e87fb9..c5b9da662 100644--- a/thirdparty/libpng-1.6.21/projects/vstudio/pngunknown/pngunknown.vcxproj+++ b/thirdparty/libpng-1.6.21/projects/vstudio/pngunknown/pngunknown.vcxproj@@ -1,5 +1,5 @@<?xml version="1.0" encoding="utf-8"?>-<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">+<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"><ItemGroup Label="ProjectConfigurations"><ProjectConfiguration Include="Debug Library|Win32"><Configuration>Debug Library</Configuration>@@ -44,42 +44,42 @@<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Library|Win32'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Library|x64'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Library|Win32'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Library|x64'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /><ImportGroup Label="ExtensionSettings">diff --git a/thirdparty/libpng-1.6.21/projects/vstudio/pngvalid/pngvalid.vcxproj b/thirdparty/libpng-1.6.21/projects/vstudio/pngvalid/pngvalid.vcxprojindex 5495e91d2..2ab56b26a 100644--- a/thirdparty/libpng-1.6.21/projects/vstudio/pngvalid/pngvalid.vcxproj+++ b/thirdparty/libpng-1.6.21/projects/vstudio/pngvalid/pngvalid.vcxproj@@ -1,5 +1,5 @@<?xml version="1.0" encoding="utf-8"?>-<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">+<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"><ItemGroup Label="ProjectConfigurations"><ProjectConfiguration Include="Debug Library|Win32"><Configuration>Debug Library</Configuration>@@ -44,42 +44,42 @@<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Library|Win32'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Library|x64'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Library|Win32'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Library|x64'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /><ImportGroup Label="ExtensionSettings">diff --git a/thirdparty/libpng-1.6.21/projects/vstudio/zlib/zlib.vcxproj b/thirdparty/libpng-1.6.21/projects/vstudio/zlib/zlib.vcxprojindex 04fc82c0d..973cb471a 100644--- a/thirdparty/libpng-1.6.21/projects/vstudio/zlib/zlib.vcxproj+++ b/thirdparty/libpng-1.6.21/projects/vstudio/zlib/zlib.vcxproj@@ -1,5 +1,5 @@<?xml version="1.0" encoding="utf-8"?>-<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">+<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"><ItemGroup Label="ProjectConfigurations"><ProjectConfiguration Include="Debug Library|Win32"><Configuration>Debug Library</Configuration>@@ -56,27 +56,27 @@<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Library|Win32'" Label="Configuration"><ConfigurationType>StaticLibrary</ConfigurationType>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Library|x64'" Label="Configuration"><ConfigurationType>StaticLibrary</ConfigurationType>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"><ConfigurationType>StaticLibrary</ConfigurationType>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"><ConfigurationType>StaticLibrary</ConfigurationType>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Library|Win32'" Label="Configuration"><ConfigurationType>StaticLibrary</ConfigurationType>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Library|x64'" Label="Configuration"><ConfigurationType>StaticLibrary</ConfigurationType>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"><ConfigurationType>StaticLibrary</ConfigurationType>@@ -86,11 +86,11 @@</PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"><ConfigurationType>StaticLibrary</ConfigurationType>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"><ConfigurationType>StaticLibrary</ConfigurationType>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /><ImportGroup Label="ExtensionSettings">diff --git a/thirdparty/lzo/2.03/LZO_lib/lzo2.lib b/thirdparty/lzo/2.03/LZO_lib/lzo2.libindex caf95ccd9..9bdb7ee86 100644Binary files a/thirdparty/lzo/2.03/LZO_lib/lzo2.lib and b/thirdparty/lzo/2.03/LZO_lib/lzo2.lib differdiff --git a/thirdparty/lzo/2.03/LZO_lib/lzo2_64.lib b/thirdparty/lzo/2.03/LZO_lib/lzo2_64.libindex 383ec9c34..ece8c4145 100644Binary files a/thirdparty/lzo/2.03/LZO_lib/lzo2_64.lib and b/thirdparty/lzo/2.03/LZO_lib/lzo2_64.lib differdiff --git a/thirdparty/lzo/2.03/lzo2.dll b/thirdparty/lzo/2.03/lzo2.dllindex eefedbd35..657ba97e7 100644Binary files a/thirdparty/lzo/2.03/lzo2.dll and b/thirdparty/lzo/2.03/lzo2.dll differdiff --git a/thirdparty/lzo/2.03/lzo2.lib b/thirdparty/lzo/2.03/lzo2.libindex 383ec9c34..ece8c4145 100644Binary files a/thirdparty/lzo/2.03/lzo2.lib and b/thirdparty/lzo/2.03/lzo2.lib differdiff --git a/thirdparty/openblas/libopenblas_32.lib b/thirdparty/openblas/libopenblas_32.libindex d4ddb41b8..6e7f8efed 100644Binary files a/thirdparty/openblas/libopenblas_32.lib and b/thirdparty/openblas/libopenblas_32.lib differdiff --git a/thirdparty/openblas/libopenblas_64.lib b/thirdparty/openblas/libopenblas_64.libindex c88c35032..e2081dc69 100644Binary files a/thirdparty/openblas/libopenblas_64.lib and b/thirdparty/openblas/libopenblas_64.lib differdiff --git a/thirdparty/superlu/SuperLU_2013_32.d.lib b/thirdparty/superlu/SuperLU_2013_32.d.libnew file mode 100644index 000000000..dcfe7a449--- /dev/null+++ b/thirdparty/superlu/SuperLU_2013_32.d.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:cba5a4786d3ebc023574dfc96d805b2abd8ac530ed8eb4f4d5a1c38f86686a7d+size 2045134diff --git a/thirdparty/superlu/SuperLU_2013_32.lib b/thirdparty/superlu/SuperLU_2013_32.libnew file mode 100644index 000000000..0ab007ae2--- /dev/null+++ b/thirdparty/superlu/SuperLU_2013_32.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:85f6c472a61cd56b8ff924b7432f35c5527bf09bcbcdd9f789ebd1d4afe93847+size 3007274diff --git a/thirdparty/superlu/SuperLU_2013_64.d.lib b/thirdparty/superlu/SuperLU_2013_64.d.libnew file mode 100644index 000000000..31dcb8539--- /dev/null+++ b/thirdparty/superlu/SuperLU_2013_64.d.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:8a821bebd460291f2900194c56ba26f118ba18d261eaac022a15f6ad96248b7d+size 2313496diff --git a/thirdparty/superlu/SuperLU_2013_64.lib b/thirdparty/superlu/SuperLU_2013_64.libnew file mode 100644index 000000000..1498bcc9b--- /dev/null+++ b/thirdparty/superlu/SuperLU_2013_64.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:0424b4c170b2013021c33eb4661baf5a54333c2af8bb7ac7fa9a56057f05493d+size 3053094diff --git a/thirdparty/superlu/SuperLU_2015_32.d.lib b/thirdparty/superlu/SuperLU_2015_32.d.libnew file mode 100644index 000000000..84a9e1226--- /dev/null+++ b/thirdparty/superlu/SuperLU_2015_32.d.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:13127d7d806edabd46ab5f5cda7153bb5dab371ea99d963116814fe13cdfaf95+size 2051218diff --git a/thirdparty/superlu/SuperLU_2015_32.lib b/thirdparty/superlu/SuperLU_2015_32.libnew file mode 100644index 000000000..5b2bd42b3--- /dev/null+++ b/thirdparty/superlu/SuperLU_2015_32.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:f178f968d07b3c946507c5efec4bca34e2b970a2437b158dd19c675972cffa04+size 15460614diff --git a/thirdparty/superlu/SuperLU_2015_64.d.lib b/thirdparty/superlu/SuperLU_2015_64.d.libnew file mode 100644index 000000000..892b07c75--- /dev/null+++ b/thirdparty/superlu/SuperLU_2015_64.d.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:61d3062ef35e057607a4c47ee97003f284721183bf7a375eb05bddaa2c95cdcf+size 2405788diff --git a/thirdparty/superlu/SuperLU_2015_64.lib b/thirdparty/superlu/SuperLU_2015_64.libnew file mode 100644index 000000000..9f0321c5e--- /dev/null+++ b/thirdparty/superlu/SuperLU_2015_64.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:003b983d6fcc9ab5b86f115ecda0d69529121e69fd987990f14c7f4353343807+size 15006298diff --git a/thirdparty/superlu/SuperLU_32.d.lib b/thirdparty/superlu/SuperLU_32.d.libdeleted file mode 100644index e5637a3c5..000000000Binary files a/thirdparty/superlu/SuperLU_32.d.lib and /dev/null differdiff --git a/thirdparty/superlu/SuperLU_32.lib b/thirdparty/superlu/SuperLU_32.libdeleted file mode 100644index 328b9c2a9..000000000Binary files a/thirdparty/superlu/SuperLU_32.lib and /dev/null differdiff --git a/thirdparty/superlu/SuperLU_4.1/lib/libsuperlu_4.0.lib b/thirdparty/superlu/SuperLU_4.1/lib/libsuperlu_4.0.libindex 8033b8b07..9f0321c5e 100644Binary files a/thirdparty/superlu/SuperLU_4.1/lib/libsuperlu_4.0.lib and b/thirdparty/superlu/SuperLU_4.1/lib/libsuperlu_4.0.lib differdiff --git a/thirdparty/superlu/SuperLU_4.1/prj/SuperLU/SuperLU.sln b/thirdparty/superlu/SuperLU_4.1/prj/SuperLU/SuperLU.slnindex d446da998..2de7bfb63 100644--- a/thirdparty/superlu/SuperLU_4.1/prj/SuperLU/SuperLU.sln+++ b/thirdparty/superlu/SuperLU_4.1/prj/SuperLU/SuperLU.sln@@ -1,7 +1,9 @@-Microsoft Visual Studio Solution File, Format Version 10.00-# Visual Studio 2008-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SuperLU", "SuperLU.vcproj", "{CE6D481F-D1A9-45D9-B1BC-31723CC03F82}"+Microsoft Visual Studio Solution File, Format Version 12.00+# Visual Studio Express 14 for Windows Desktop+VisualStudioVersion = 14.0.25123.0+MinimumVisualStudioVersion = 10.0.40219.1+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SuperLU", "SuperLU.vcxproj", "{CE6D481F-D1A9-45D9-B1BC-31723CC03F82}"EndProjectGlobalGlobalSection(SolutionConfigurationPlatforms) = preSolutiondiff --git a/thirdparty/superlu/SuperLU_64.d.lib b/thirdparty/superlu/SuperLU_64.d.libdeleted file mode 100644index 7afc65d61..000000000Binary files a/thirdparty/superlu/SuperLU_64.d.lib and /dev/null differdiff --git a/thirdparty/superlu/SuperLU_64.lib b/thirdparty/superlu/SuperLU_64.libdeleted file mode 100644index d2d2d60d2..000000000Binary files a/thirdparty/superlu/SuperLU_64.lib and /dev/null differdiff --git a/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3.lib b/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3.libdeleted file mode 100644index 9ee0669f8..000000000Binary files a/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3.lib and /dev/null differdiff --git a/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2013.lib b/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2013.libnew file mode 100644index 000000000..c1dc461bc--- /dev/null+++ b/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2013.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:89c01765c3108dfd6e3ebf793250a3da123193c7a1c256ed785a42a72157fcd4+size 3293724diff --git a/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2013_64.lib b/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2013_64.libnew file mode 100644index 000000000..325a44803--- /dev/null+++ b/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2013_64.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:65fc3676ea3f1716639cd80a50921134fc148227bb27448fa195fef30219053e+size 3307736diff --git a/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2013_64d.lib b/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2013_64d.libnew file mode 100644index 000000000..4cce5590d--- /dev/null+++ b/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2013_64d.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:04fbb1f045853101f78076eac6773718237dfb89dabf712217528f5bf018a88f+size 1730990diff --git a/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2013d.lib b/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2013d.libnew file mode 100644index 000000000..50e7964be--- /dev/null+++ b/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2013d.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:79ec3503f8654a7bd7feabe7f62617be2b5eca7a03820630ecab6c99b890ffc7+size 1963882diff --git a/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2015.lib b/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2015.libnew file mode 100644index 000000000..cc151bc88--- /dev/null+++ b/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2015.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:3a7941d8d8a8278ea62ead65f63af9bce7801614ee2e5f629ca107a14fc60594+size 6199378diff --git a/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2015_64.lib b/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2015_64.libnew file mode 100644index 000000000..44cb16cef--- /dev/null+++ b/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2015_64.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:931554a80f424a46e248c3f7f95ac3ee039b3f54e0f379ef1aab04462e715f86+size 6227900diff --git a/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2015_64d.lib b/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2015_64d.libnew file mode 100644index 000000000..3c547a825--- /dev/null+++ b/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2015_64d.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:10f1b5baecb1e850ca8994e4f6f4347f9426ddb77b841178ee734fb609c0370f+size 2094704diff --git a/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2015d.lib b/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2015d.libnew file mode 100644index 000000000..dd0588539--- /dev/null+++ b/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_2015d.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:c4dfbbc0a9446626227bd6ea2a930b5b3dc83d2295c08459bc3b6f6920e288d7+size 1859564diff --git a/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_64.lib b/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_64.libdeleted file mode 100644index 0f55555cf..000000000Binary files a/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_64.lib and /dev/null differdiff --git a/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_64d.lib b/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_64d.libdeleted file mode 100644index e89ded062..000000000Binary files a/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3_64d.lib and /dev/null differdiff --git a/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3d.lib b/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3d.libdeleted file mode 100644index f93f9c415..000000000Binary files a/thirdparty/tiff-4.0.3/lib/LibTIFF-4.0.3d.lib and /dev/null differdiff --git a/thirdparty/tiff-4.0.3/prj/LibTIFF/LibTIFF.vcxproj b/thirdparty/tiff-4.0.3/prj/LibTIFF/LibTIFF.vcxprojindex 1ee322ad7..b241a674c 100644--- a/thirdparty/tiff-4.0.3/prj/LibTIFF/LibTIFF.vcxproj+++ b/thirdparty/tiff-4.0.3/prj/LibTIFF/LibTIFF.vcxproj@@ -1,5 +1,5 @@<?xml version="1.0" encoding="utf-8"?>-<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">+<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"><ItemGroup Label="ProjectConfigurations"><ProjectConfiguration Include="Debug|Win32"><Configuration>Debug</Configuration>@@ -85,27 +85,27 @@<ConfigurationType>StaticLibrary</ConfigurationType><UseDebugLibraries>true</UseDebugLibraries><CharacterSet>MultiByte</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"><ConfigurationType>StaticLibrary</ConfigurationType><UseDebugLibraries>true</UseDebugLibraries><CharacterSet>MultiByte</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"><ConfigurationType>StaticLibrary</ConfigurationType><UseDebugLibraries>false</UseDebugLibraries><WholeProgramOptimization>true</WholeProgramOptimization><CharacterSet>MultiByte</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"><ConfigurationType>StaticLibrary</ConfigurationType><UseDebugLibraries>false</UseDebugLibraries><WholeProgramOptimization>true</WholeProgramOptimization><CharacterSet>MultiByte</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /><ImportGroup Label="ExtensionSettings">diff --git a/thirdparty/zlib-1.2.8/lib/zlib-1.2.8.lib b/thirdparty/zlib-1.2.8/lib/zlib-1.2.8.libdeleted file mode 100644index f4400b262..000000000Binary files a/thirdparty/zlib-1.2.8/lib/zlib-1.2.8.lib and /dev/null differdiff --git a/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2013.lib b/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2013.libnew file mode 100644index 000000000..8fff065df--- /dev/null+++ b/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2013.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:891a625fd0bc015e65d7005c8445b0ff74befb8d028bef303fb9cc63a15445af+size 449120diff --git a/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2013_64.lib b/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2013_64.libnew file mode 100644index 000000000..fad0ff858--- /dev/null+++ b/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2013_64.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:d60bb202e3a94885014d0edb100b76f9e421afe12693693b0a316a31ea1b9274+size 458468diff --git a/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2013_64d.lib b/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2013_64d.libnew file mode 100644index 000000000..bc3242db2--- /dev/null+++ b/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2013_64d.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:60bd0552d5c852c5877e589856aae72a5619e5485ff457a7665a6c1243ea34fe+size 278548diff --git a/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2013d.lib b/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2013d.libnew file mode 100644index 000000000..39805e9f8--- /dev/null+++ b/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2013d.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:9a971e5b0d7dbef04506b7d17330f658721f6c41b96935986cf07bc727f10a26+size 305120diff --git a/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2015.lib b/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2015.libnew file mode 100644index 000000000..d0a83edfe--- /dev/null+++ b/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2015.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:2eda63665387de539ce96b136b1dd0f9699ec093f1c91b846e0374b1ed9f1c2f+size 809418diff --git a/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2015_64.lib b/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2015_64.libnew file mode 100644index 000000000..2e9bf88ac--- /dev/null+++ b/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2015_64.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:8015f2fdddc5b470d589e49dccb8acb561fb63cb05284e5ff9cbb479a7c3c25d+size 817990diff --git a/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2015_64d.lib b/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2015_64d.libnew file mode 100644index 000000000..c38f12409--- /dev/null+++ b/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2015_64d.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:ed006dc3e4e5c415743af576ebe4967d883f88b0f9765fffe65555e2e426e123+size 351702diff --git a/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2015d.lib b/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2015d.libnew file mode 100644index 000000000..14ba6539c--- /dev/null+++ b/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_2015d.lib@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:9c0b237f20384c74575569fd0a299b103b3e2596443604eb336d5a03af86d2f7+size 308484diff --git a/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_64.lib b/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_64.libdeleted file mode 100644index f85e2becf..000000000Binary files a/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_64.lib and /dev/null differdiff --git a/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_64d.lib b/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_64d.libdeleted file mode 100644index 7f6cf4d12..000000000Binary files a/thirdparty/zlib-1.2.8/lib/zlib-1.2.8_64d.lib and /dev/null differdiff --git a/thirdparty/zlib-1.2.8/lib/zlib-1.2.8d.lib b/thirdparty/zlib-1.2.8/lib/zlib-1.2.8d.libdeleted file mode 100644index a2cdb5eb8..000000000Binary files a/thirdparty/zlib-1.2.8/lib/zlib-1.2.8d.lib and /dev/null differdiff --git a/thirdparty/zlib-1.2.8/prj/zlib/zlib.vcxproj b/thirdparty/zlib-1.2.8/prj/zlib/zlib.vcxprojindex 352d2f5c8..9b356c7da 100644--- a/thirdparty/zlib-1.2.8/prj/zlib/zlib.vcxproj+++ b/thirdparty/zlib-1.2.8/prj/zlib/zlib.vcxproj@@ -1,5 +1,5 @@<?xml version="1.0" encoding="utf-8"?>-<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">+<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"><ItemGroup Label="ProjectConfigurations"><ProjectConfiguration Include="Debug|Win32"><Configuration>Debug</Configuration>@@ -27,27 +27,27 @@<ConfigurationType>StaticLibrary</ConfigurationType><UseDebugLibraries>true</UseDebugLibraries><CharacterSet>MultiByte</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"><ConfigurationType>StaticLibrary</ConfigurationType><UseDebugLibraries>true</UseDebugLibraries><CharacterSet>MultiByte</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"><ConfigurationType>StaticLibrary</ConfigurationType><UseDebugLibraries>false</UseDebugLibraries><WholeProgramOptimization>true</WholeProgramOptimization><CharacterSet>MultiByte</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"><ConfigurationType>StaticLibrary</ConfigurationType><UseDebugLibraries>false</UseDebugLibraries><WholeProgramOptimization>true</WholeProgramOptimization><CharacterSet>MultiByte</CharacterSet>- <PlatformToolset>v120</PlatformToolset>+ <PlatformToolset>v140</PlatformToolset></PropertyGroup><Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /><ImportGroup Label="ExtensionSettings">diff --git a/thirdparty/zlib-1.2.8/prj/zlib/zlib.vcxproj.filters b/thirdparty/zlib-1.2.8/prj/zlib/zlib.vcxproj.filtersindex 57cbbe489..600167c83 100644--- a/thirdparty/zlib-1.2.8/prj/zlib/zlib.vcxproj.filters+++ b/thirdparty/zlib-1.2.8/prj/zlib/zlib.vcxproj.filters@@ -15,84 +15,84 @@</Filter></ItemGroup><ItemGroup>- <ClInclude Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\crc32.h">+ <ClInclude Include="..\..\crc32.h"><Filter>Header Files</Filter></ClInclude>- <ClInclude Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\deflate.h">+ <ClInclude Include="..\..\deflate.h"><Filter>Header Files</Filter></ClInclude>- <ClInclude Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\gzguts.h">+ <ClInclude Include="..\..\gzguts.h"><Filter>Header Files</Filter></ClInclude>- <ClInclude Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\inffast.h">+ <ClInclude Include="..\..\inffast.h"><Filter>Header Files</Filter></ClInclude>- <ClInclude Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\inffixed.h">+ <ClInclude Include="..\..\inffixed.h"><Filter>Header Files</Filter></ClInclude>- <ClInclude Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\inflate.h">+ <ClInclude Include="..\..\inflate.h"><Filter>Header Files</Filter></ClInclude>- <ClInclude Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\inftrees.h">+ <ClInclude Include="..\..\inftrees.h"><Filter>Header Files</Filter></ClInclude>- <ClInclude Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\trees.h">+ <ClInclude Include="..\..\trees.h"><Filter>Header Files</Filter></ClInclude>- <ClInclude Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\zconf.h">+ <ClInclude Include="..\..\zconf.h"><Filter>Header Files</Filter></ClInclude>- <ClInclude Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\zlib.h">+ <ClInclude Include="..\..\zlib.h"><Filter>Header Files</Filter></ClInclude>- <ClInclude Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\zutil.h">+ <ClInclude Include="..\..\zutil.h"><Filter>Header Files</Filter></ClInclude></ItemGroup><ItemGroup>- <ClCompile Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\adler32.c">+ <ClCompile Include="..\..\adler32.c"><Filter>Source Files</Filter></ClCompile>- <ClCompile Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\compress.c">+ <ClCompile Include="..\..\compress.c"><Filter>Source Files</Filter></ClCompile>- <ClCompile Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\crc32.c">+ <ClCompile Include="..\..\crc32.c"><Filter>Source Files</Filter></ClCompile>- <ClCompile Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\deflate.c">+ <ClCompile Include="..\..\deflate.c"><Filter>Source Files</Filter></ClCompile>- <ClCompile Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\gzclose.c">+ <ClCompile Include="..\..\gzclose.c"><Filter>Source Files</Filter></ClCompile>- <ClCompile Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\gzlib.c">+ <ClCompile Include="..\..\gzlib.c"><Filter>Source Files</Filter></ClCompile>- <ClCompile Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\gzread.c">+ <ClCompile Include="..\..\gzread.c"><Filter>Source Files</Filter></ClCompile>- <ClCompile Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\gzwrite.c">+ <ClCompile Include="..\..\gzwrite.c"><Filter>Source Files</Filter></ClCompile>- <ClCompile Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\infback.c">+ <ClCompile Include="..\..\infback.c"><Filter>Source Files</Filter></ClCompile>- <ClCompile Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\inffast.c">+ <ClCompile Include="..\..\inffast.c"><Filter>Source Files</Filter></ClCompile>- <ClCompile Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\inflate.c">+ <ClCompile Include="..\..\inflate.c"><Filter>Source Files</Filter></ClCompile>- <ClCompile Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\inftrees.c">+ <ClCompile Include="..\..\inftrees.c"><Filter>Source Files</Filter></ClCompile>- <ClCompile Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\trees.c">+ <ClCompile Include="..\..\trees.c"><Filter>Source Files</Filter></ClCompile>- <ClCompile Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\uncompr.c">+ <ClCompile Include="..\..\uncompr.c"><Filter>Source Files</Filter></ClCompile>- <ClCompile Include="..\..\..\..\..\..\depot\sdk\zlib\zlib-1.2.7\zutil.c">+ <ClCompile Include="..\..\zutil.c"><Filter>Source Files</Filter></ClCompile></ItemGroup>diff --git a/toonz/sources/CMakeLists.txt b/toonz/sources/CMakeLists.txtindex 92964dd4f..28fd634e8 100644--- a/toonz/sources/CMakeLists.txt+++ b/toonz/sources/CMakeLists.txt@@ -14,10 +14,18 @@ message("Thirdpary Library Search path:" ${THIRDPARTY_LIBS_HINTS})if(WIN32)message("Windows System")- if(CMAKE_SIZEOF_VOID_P EQUAL 4)- set(QT_PATH "C:/Qt/Qt5.6.0_32/5.6/msvc2013" CACHE PATH "Qt instlattion directory")+ if(MSVC_VERSION GREATER 1800)+ if(CMAKE_SIZEOF_VOID_P EQUAL 4)+ set(QT_PATH "C:/Qt/5.6/msvc2015" CACHE PATH "Qt instlattion directory")+ else()+ set(QT_PATH "C:/Qt/5.6/msvc2015_64" CACHE PATH "Qt instlattion directory")+ endif()else()- set(QT_PATH "C:/Qt/Qt5.6.0/5.6/msvc2013_64" CACHE PATH "Qt instlattion directory")+ if(CMAKE_SIZEOF_VOID_P EQUAL 4)+ set(QT_PATH "C:/Qt/Qt5.6.0_32/5.6/msvc2013" CACHE PATH "Qt instlattion directory")+ else()+ set(QT_PATH "C:/Qt/Qt5.6.0/5.6/msvc2013_64" CACHE PATH "Qt instlattion directory")+ endif()endif()if(NOT EXISTS ${QT_PATH})message("Specify QT_PATH properly")@@ -155,22 +163,28 @@ if(WIN32)set(PLATFORM2 _64)endif()+ if(MSVC_VERSION GREATER 1800)+ set(MSVC_LIB_VERSION 2015)+ else()+ set(MSVC_LIB_VERSION 2013)+ endif()+set(GLUT_LIB ${SDKROOT}/glut/3.7.6/lib/glut${PLATFORM}.lib)set(GL_LIB opengl32.lib)set(Z_LIB- optimized ${SDKROOT}/zlib-1.2.8/lib/zlib-1.2.8${PLATFORM2}.lib- debug ${SDKROOT}/zlib-1.2.8/lib/zlib-1.2.8${PLATFORM2}d.lib)- set(JPEG_LIB ${SDKROOT}/LibJPEG/jpeg-9/lib/LibJPEG-9${PLATFORM2}.lib)+ optimized ${SDKROOT}/zlib-1.2.8/lib/zlib-1.2.8_${MSVC_LIB_VERSION}${PLATFORM2}.lib+ debug ${SDKROOT}/zlib-1.2.8/lib/zlib-1.2.8_${MSVC_LIB_VERSION}${PLATFORM2}d.lib)+ set(JPEG_LIB ${SDKROOT}/LibJPEG/jpeg-9/lib/LibJPEG-9_${MSVC_LIB_VERSION}${PLATFORM2}.lib)set(TIFF_INCLUDE_DIR ${SDKROOT}/tiff-4.0.3/libtiff)set(TIFF_LIB- optimized ${SDKROOT}/tiff-4.0.3/lib/LibTIFF-4.0.3${PLATFORM2}.lib- debug ${SDKROOT}/tiff-4.0.3/lib/LibTIFF-4.0.3${PLATFORM2}d.lib)+ optimized ${SDKROOT}/tiff-4.0.3/lib/LibTIFF-4.0.3_${MSVC_LIB_VERSION}${PLATFORM2}.lib+ debug ${SDKROOT}/tiff-4.0.3/lib/LibTIFF-4.0.3_${MSVC_LIB_VERSION}${PLATFORM2}d.lib)set(PNG_LIB- optimized ${SDKROOT}/libpng-1.6.21/lib/libpng16${PLATFORM2}.lib- debug ${SDKROOT}/libpng-1.6.21/lib/libpng16${PLATFORM2}d.lib)+ optimized ${SDKROOT}/libpng-1.6.21/lib/libpng16_${MSVC_LIB_VERSION}${PLATFORM2}.lib+ debug ${SDKROOT}/libpng-1.6.21/lib/libpng16_${MSVC_LIB_VERSION}${PLATFORM2}d.lib)set(GLEW_LIB ${SDKROOT}/glew/glew-1.9.0/lib/glew${PLATFORM}.lib)set(LZ4_LIB ${SDKROOT}/Lz4/Lz4_131/lz4_${PLATFORM}.lib)- set(SUPERLU_LIB ${SDKROOT}/superlu/SuperLU_${PLATFORM}.lib)+ set(SUPERLU_LIB ${SDKROOT}/superlu/SuperLU_${MSVC_LIB_VERSION}_${PLATFORM}.lib)set(OPENBLAS_LIB ${SDKROOT}/openblas/libopenblas_${PLATFORM}.lib)set(USB_LIB) # unusedif(PLATFORM EQUAL 32)diff --git a/toonz/sources/common/tiio/movsettings.cpp b/toonz/sources/common/tiio/movsettings.cppindex 9fe24f8c1..c0107bf4d 100644--- a/toonz/sources/common/tiio/movsettings.cpp+++ b/toonz/sources/common/tiio/movsettings.cpp@@ -18,13 +18,14 @@#pragma warning(disable : 4996)#endif-#define list List-#define map Map-#define iterator Iterator-#define float_t Float_t-#define int_fast8_t QT_int_fast8_t-#define int_fast16_t QT_int_fast16_t-#define uint_fast16_t QT_uint_fast16_t+#define list QuickTime_list+#define map QuickTime_map+#define iterator QuickTime_iterator+#define float_t QuickTime_float_t+#define GetProcessInformation QuickTime_GetProcessInformation+#define int_fast8_t QuickTime_int_fast8_t+#define int_fast16_t QuickTime_int_fast16_t+#define uint_fast16_t QuickTime_uint_fast16_t#include "QTML.h"#include "Movies.h"@@ -39,9 +40,10 @@#undef map#undef iterator#undef float_t-#undef QT_int_fast8_t-#undef QT_int_fast16_t-#undef QT_uint_fast16_t+#undef GetProcessInformation+#undef int_fast8_t+#undef int_fast16_t+#undef uint_fast16_t#elsediff --git a/toonz/sources/common/tsound/tsound_sdl.cpp b/toonz/sources/common/tsound/tsound_sdl.cppindex 80ffaad70..898c21897 100644--- a/toonz/sources/common/tsound/tsound_sdl.cpp+++ b/toonz/sources/common/tsound/tsound_sdl.cpp@@ -284,7 +284,7 @@ void TSoundOutputDeviceImp::play(const TSoundTrackP &st, TINT32 s0, TINT32 s1,#endif// myData->maxPacketSize = fileASBD.mFramesPerPacket *- //fileASBD.mBytesPerFrame;+ // fileASBD.mBytesPerFrame;{// TThread::ScopedLock sl(MutexOut);m_isPlaying = true;diff --git a/toonz/sources/common/tsound/tsound_x.cpp b/toonz/sources/common/tsound/tsound_x.cppindex 38cc8dbf2..120acca64 100644--- a/toonz/sources/common/tsound/tsound_x.cpp+++ b/toonz/sources/common/tsound/tsound_x.cpp@@ -58,44 +58,44 @@ public:bool verifyRate();};- if (!isInterfaceSupported(AL_DEFAULT_OUTPUT, AL_SPEAKER_IF_TYPE))- return false; // throw TException("Speakers are not supported");-- int dev = alGetResourceByName(AL_SYSTEM, (char *)"Headphone/Speaker",- AL_DEVICE_TYPE);- if (!dev) return false; // throw TException("invalid device speakers");-- pvbuf[0].param = AL_DEFAULT_OUTPUT;- pvbuf[0].value.i = dev;- alSetParams(AL_SYSTEM, pvbuf, 1);-- ALfixed buf[2] = {alDoubleToFixed(0), alDoubleToFixed(0)};-- config = alNewConfig();- // qui devo metterci gli altoparlanti e poi setto i valori per il default- // output- pvbuf[0].param = AL_RATE;- pvbuf[0].value.ll = alDoubleToFixed((double)format.m_sampleRate);- pvbuf[1].param = AL_GAIN;- pvbuf[1].value.ptr = buf;- pvbuf[1].sizeIn = 8;- pvbuf[2].param = AL_INTERFACE;- pvbuf[2].value.i = AL_SPEAKER_IF_TYPE;-- if (alSetParams(AL_DEFAULT_OUTPUT, pvbuf, 3) < 0) return false;- // throw TException("Unable to set params for output device");-- if (alSetChannels(config, format.m_channelCount) == -1)- return false; // throw TException("Error to setting audio hardware.");-- int bytePerSample = format.m_bitPerSample >> 3;- switch (bytePerSample) {- case 3:- bytePerSample++;- break;- default:- break;- }+if (!isInterfaceSupported(AL_DEFAULT_OUTPUT, AL_SPEAKER_IF_TYPE))+ return false; // throw TException("Speakers are not supported");++int dev =+ alGetResourceByName(AL_SYSTEM, (char *)"Headphone/Speaker", AL_DEVICE_TYPE);+if (!dev) return false; // throw TException("invalid device speakers");++pvbuf[0].param = AL_DEFAULT_OUTPUT;+pvbuf[0].value.i = dev;+alSetParams(AL_SYSTEM, pvbuf, 1);++ALfixed buf[2] = {alDoubleToFixed(0), alDoubleToFixed(0)};++config = alNewConfig();+// qui devo metterci gli altoparlanti e poi setto i valori per il default+// output+pvbuf[0].param = AL_RATE;+pvbuf[0].value.ll = alDoubleToFixed((double)format.m_sampleRate);+pvbuf[1].param = AL_GAIN;+pvbuf[1].value.ptr = buf;+pvbuf[1].sizeIn = 8;+pvbuf[2].param = AL_INTERFACE;+pvbuf[2].value.i = AL_SPEAKER_IF_TYPE;++if (alSetParams(AL_DEFAULT_OUTPUT, pvbuf, 3) < 0) return false;+// throw TException("Unable to set params for output device");++if (alSetChannels(config, format.m_channelCount) == -1)+ return false; // throw TException("Error to setting audio hardware.");++int bytePerSample = format.m_bitPerSample >> 3;+switch (bytePerSample) {+case 3:+ bytePerSample++;+ break;+default:+ break;+}bool TSoundOutputDeviceImp::doOpenDevice(const TSoundTrackFormat &format) {#ifdef __sgidiff --git a/toonz/sources/common/twain/ttwain_stateW.c b/toonz/sources/common/twain/ttwain_stateW.cindex 282efac63..95d8f4c49 100644--- a/toonz/sources/common/twain/ttwain_stateW.c+++ b/toonz/sources/common/twain/ttwain_stateW.c@@ -26,7 +26,8 @@ int TTWAIN_LoadSourceManagerPD(void) {GetWindowsDirectory(winDir, _MAX_PATH);if (!winDir[0]) return FALSE;- strcat(winDir, "\\");+ strcat(winDir, "\\system32\\");+ // strcat(winDir, "\\");strcat(winDir, DSM_FILENAME);hDSMLib = LoadLibrary(winDir);@@ -51,8 +52,10 @@ return FALSE;FreeLibrary(hDSMLib);hDSMLib = NULL;}- } else+ } else {+ DWORD err = GetLastError();TTwainData.DSM_Entry = 0;+ }return (TTWAIN_GetState() >= TWAIN_SM_LOADED);}/*---------------------------------------------------------------------------*/diff --git a/toonz/sources/common/twain/twain.h b/toonz/sources/common/twain/twain.hindex 4e6695bd9..4ffd8048d 100644--- a/toonz/sources/common/twain/twain.h+++ b/toonz/sources/common/twain/twain.h@@ -1434,14 +1434,10 @@ typedef struct {*/#define DF_DSM2 0x10000000L /* added to the identity by the DSM */#define DF_APP2 \- 0x20000000L /* Set by the App to indicate it would \ \ \ \ \- prefer to use DSM2 */+ 0x20000000L /* Set by the App to indicate it would prefer to use DSM2 */#define DF_DS2 \- 0x40000000L /* Set by the DS to indicate it would \ \ \ \ \- prefer to use DSM2 */-#define DG_MASK \- 0xFFFFL /* all Data Groups limited to 16 bit. Added for 2.1 \ \ \ \- */+ 0x40000000L /* Set by the DS to indicate it would prefer to use DSM2 */+#define DG_MASK 0xFFFFL /* all Data Groups limited to 16 bit. Added for 2.1 *//***************************************************************************** *@@ -1488,19 +1484,16 @@ typedef struct {/* misplaced */#define DAT_ICCPROFILE \- 0x0401 /* TW_MEMORY Added 1.91 This Data Argument is misplaced but \ \- \ \- \ \ \+ 0x0401 /* TW_MEMORY Added 1.91 This Data Argument is misplaced but \ \ \belongs to the DG_IMAGE Data Group */#define DAT_IMAGEMEMFILEXFER \- 0x0402 /* TW_IMAGEMEMXFER Added 1.91 This Data Argument is misplaced but \ \+ 0x0402 /* TW_IMAGEMEMXFER Added 1.91 This Data Argument is misplaced but \\ \\ \ \belongs to the DG_IMAGE Data Group */#define DAT_ENTRYPOINT \0x0403 /* TW_ENTRYPOINT Added 2.0 This Data Argument is misplaced but \ \\ \- \ \ \belongs to the DG_CONTROL Data Group *//****************************************************************************@@ -1845,54 +1838,60 @@ typedef struct {#define TWRC_INFONOTSUPPORTED 8#define TWRC_DATANOTAVAILABLE 9-/* Condition Codes: Application gets these by doing DG_CONTROL DAT_STATUS- * MSG_GET. */+// Condition Codes: Application gets these+// by doing DG_CONTROL DAT_STATUS MSG_GET.#define TWCC_CUSTOMBASE 0x8000-#define TWCC_SUCCESS 0 /* It worked! */-#define TWCC_BUMMER 1 /* Failure due to unknown causes */-#define TWCC_LOWMEMORY 2 /* Not enough memory to perform operation */-#define TWCC_NODS 3 /* No Data Source */-#define TWCC_MAXCONNECTIONS \- 4 /* DS is connected to max possible applications */-#define TWCC_OPERATIONERROR \- 5 /* DS or DSM reported error, application shouldn't */-#define TWCC_BADCAP 6 /* Unknown capability */-#define TWCC_BADPROTOCOL 9 /* Unrecognized MSG DG DAT combination */-#define TWCC_BADVALUE 10 /* Data parameter out of range */-#define TWCC_SEQERROR 11 /* DG DAT MSG out of expected sequence */-#define TWCC_BADDEST \- 12 /* Unknown destination Application/Source in DSM_Entry */-#define TWCC_CAPUNSUPPORTED \- 13 /* Capability not supported by source */-#define TWCC_CAPBADOPERATION \- 14 /* Operation not supported by capability */-#define TWCC_CAPSEQERROR \- 15 /* Capability has dependancy on other capability \ \ \ \- */-#define TWCC_DENIED \- 16 /* File System operation is denied (file is protected) Added 1.8 */-#define TWCC_FILEEXISTS \- 17 /* Operation failed because file already exists. Added 1.8 */-#define TWCC_FILENOTFOUND \- 18 /* File not found Added 1.8 */-#define TWCC_NOTEMPTY \- 19 /* Operation failed because directory is not empty Added 1.8 */-#define TWCC_PAPERJAM \- 20 /* The feeder is jammed Added 1.8 */-#define TWCC_PAPERDOUBLEFEED \- 21 /* The feeder detected multiple pages Added 1.8 */-#define TWCC_FILEWRITEERROR \- 22 /* Error writing the file (meant for things like disk full \ \ \ \- conditions)Added 1.8 */-#define TWCC_CHECKDEVICEONLINE \- 23 /* The device went offline prior to or during this operation Added 1.8 */-#define TWCC_INTERLOCK 24 /* Added 2.0 */-#define TWCC_DAMAGEDCORNER 25 /* Added 2.0 */-#define TWCC_FOCUSERROR 26 /* Added 2.0 */-#define TWCC_DOCTOOLIGHT 27 /* Added 2.0 */-#define TWCC_DOCTOODARK 28 /* Added 2.0 */-#define TWCC_NOMEDIA 29 /* Added 2.1 */+// It worked!+#define TWCC_SUCCESS 0+// Failure due to unknown causes+#define TWCC_BUMMER 1+// Not enough memory to perform operation+#define TWCC_LOWMEMORY 2+// No Data Source+#define TWCC_NODS 3+// DS is connected to max possible applications+#define TWCC_MAXCONNECTIONS 4+// DS or DSM reported error, application shouldn't+#define TWCC_OPERATIONERROR 5+// Unknown capability+#define TWCC_BADCAP 6+// Unrecognized MSG DG DAT combination+#define TWCC_BADPROTOCOL 9+// Data parameter out of range+#define TWCC_BADVALUE 10+// DG DAT MSG out of expected sequence+#define TWCC_SEQERROR 11+// Unknown destination Application/Source in DSM_Entry+#define TWCC_BADDEST 12+// Capability not supported by source+#define TWCC_CAPUNSUPPORTED 13+// Operation not supported by capability+#define TWCC_CAPBADOPERATION 14+// Capability has dependancy on other capability+#define TWCC_CAPSEQERROR 15+// File System operation is denied (file is protected)+#define TWCC_DENIED 16 /* Added 1.8 */+// Operation failed because file already exists.+#define TWCC_FILEEXISTS 17 /* Added 1.8 */+// File not found+#define TWCC_FILENOTFOUND 18 /* Added 1.8 */+// Operation failed because directory is not empty+#define TWCC_NOTEMPTY 19 /* Added 1.8 */+// The feeder is jammed+#define TWCC_PAPERJAM 20 /* Added 1.8 */+// The feeder detected multiple pages+#define TWCC_PAPERDOUBLEFEED 21 /* Added 1.8 */+// Error writing the file (meant for things like disk full conditions)+#define TWCC_FILEWRITEERROR 22 /* Added 1.8 */+// The device went offline prior to or during this operation+#define TWCC_CHECKDEVICEONLINE 23 /* Added 1.8 */+#define TWCC_INTERLOCK 24 /* Added 2.0 */+#define TWCC_DAMAGEDCORNER 25 /* Added 2.0 */+#define TWCC_FOCUSERROR 26 /* Added 2.0 */+#define TWCC_DOCTOOLIGHT 27 /* Added 2.0 */+#define TWCC_DOCTOODARK 28 /* Added 2.0 */+#define TWCC_NOMEDIA 29 /* Added 2.1 *//* bit patterns: for query the operation that are supported by the data source* on a capability */@@ -1929,28 +1928,26 @@ typedef wchar_t TW_UNI512[512], FAR *pTW_UNI512;#define TWFF_JPN 12 /* 1.91 */-#define DAT_TWUNKIDENTITY \- 0x000b /* Additional message required for thunker to request the special \ \ \- \ \- identity information. */-#define DAT_SETUPFILEXFER2 \- 0x0301 /* Data transfer via a file. deprecated - use DAT_SETUPFILEXFER \ \ \ \- instead*/+// Additional message required for thunker to request the special identity+// information.+#define DAT_TWUNKIDENTITY 0x000b+// Data transfer via a file. deprecated - use DAT_SETUPFILEXFER instead+#define DAT_SETUPFILEXFER2 0x0301#define CAP_SUPPORTEDCAPSEXT 0x100c#define CAP_FILESYSTEM // 0x????#define CAP_PAGEMULTIPLEACQUIRE 0x1023 /* Added 1.8 */#define CAP_PAPERBINDING 0x102f /* Added 1.8 */#define CAP_PASSTHRU 0x1031 /* Added 1.8 */-#define CAP_POWERDOWNTIME \- 0x1034 /* Added 1.8 */ // 0x1034 is reused by CAP_CAMERASIDE+// 0x1034 is reused by CAP_CAMERASIDE+#define CAP_POWERDOWNTIME 0x1034 /* Added 1.8 */#define ACAP_AUDIOFILEFORMAT 0x1201 /* Added 1.8 */-#define MSG_CHECKSTATUS \- 0x0201 /* Get status information - use MSG_GET instead */+// Get status information - use MSG_GET instead+#define MSG_CHECKSTATUS 0x0201-#define MSG_INVOKE_CALLBACK \- 0x0903 /* Mac Only, deprecated - use DAT_NULL and MSG_xxx instead */+// Mac Only, deprecated - use DAT_NULL and MSG_xxx instead+#define MSG_INVOKE_CALLBACK 0x0903#define TWSX_FILE2 3diff --git a/toonz/sources/image/mov/tiio_mov.h b/toonz/sources/image/mov/tiio_mov.hindex 1793ec468..2e58cd88c 100644--- a/toonz/sources/image/mov/tiio_mov.h+++ b/toonz/sources/image/mov/tiio_mov.h@@ -12,13 +12,14 @@// QuickTime includesnamespace QuickTime {-#define list List-#define map Map-#define iterator Iterator-#define float_t Float_t-#define int_fast8_t QT_int_fast8_t-#define int_fast16_t QT_int_fast16_t-#define uint_fast16_t QT_uint_fast16_t+#define list QuickTime_list+#define map QuickTime_map+#define iterator QuickTime_iterator+#define float_t QuickTime_float_t+#define GetProcessInformation QuickTime_GetProcessInformation+#define int_fast8_t QuickTime_int_fast8_t+#define int_fast16_t QuickTime_int_fast16_t+#define uint_fast16_t QuickTime_uint_fast16_t#include "QTML.h"#include "Movies.h"@@ -27,15 +28,16 @@ namespace QuickTime {#include "Sound.h"#include "QuickTimeComponents.h"-#include "tquicktime.h"-#undef list#undef map#undef iterator#undef float_t-#undef QT_int_fast8_t-#undef QT_int_fast16_t-#undef QT_uint_fast16_t+#undef GetProcessInformation+#undef int_fast8_t+#undef int_fast16_t+#undef uint_fast16_t++#include "tquicktime.h"} // namespace QuickTime// Toonz includesdiff --git a/toonz/sources/image/pli/pli_io.cpp b/toonz/sources/image/pli/pli_io.cppindex 14dbcea93..e7c786740 100644--- a/toonz/sources/image/pli/pli_io.cpp+++ b/toonz/sources/image/pli/pli_io.cpp@@ -280,18 +280,7 @@ UINT TStyleParam::getSize() {/*=====================================================================*/-#ifdef _WIN32#define CHECK_FOR_READ_ERROR(filePath)-#else-#define CHECK_FOR_READ_ERROR(filePath) \- { \- /*if (m_iChan.flags()&(ios::failbit|ios::eofbit)) \ \ \ \ \- { \ \ \ \ \- m_lastError = PREMATURE_EOF; \ \ \ \ \- throw TImageException( filePath, "Error on reading file"); \ \ \ \ \- }*/ \- }-#endif#define CHECK_FOR_WRITE_ERROR(filePath) \{ \diff --git a/toonz/sources/image/tiio.cpp b/toonz/sources/image/tiio.cppindex 336e6b041..047b93611 100644--- a/toonz/sources/image/tiio.cpp+++ b/toonz/sources/image/tiio.cpp@@ -22,14 +22,26 @@#ifndef x64-#define float_t Float_t-#define GetProcessInformation GetProcessInformation_+#define list QuickTime_list+#define map QuickTime_map+#define iterator QuickTime_iterator+#define float_t QuickTime_float_t+#define GetProcessInformation QuickTime_GetProcessInformation+#define int_fast8_t QuickTime_int_fast8_t+#define int_fast16_t QuickTime_int_fast16_t+#define uint_fast16_t QuickTime_uint_fast16_t#include "QuickTimeComponents.h"#include "tquicktime.h"+#undef list+#undef map+#undef iterator#undef float_t#undef GetProcessInformation+#undef int_fast8_t+#undef int_fast16_t+#undef uint_fast16_t#endifdiff --git a/toonz/sources/include/movsettings.h b/toonz/sources/include/movsettings.hindex 37c468781..591d53834 100644--- a/toonz/sources/include/movsettings.h+++ b/toonz/sources/include/movsettings.h@@ -17,14 +17,14 @@#ifdef _WIN32-#define list List-#define map Map-#define iterator Iterator-#define float_t Float_t-#define GetProcessInformation GetProcessInformation_-#define int_fast8_t QT_int_fast8_t-#define int_fast16_t QT_int_fast16_t-#define uint_fast16_t QT_uint_fast16_t+#define list QuickTime_list+#define map QuickTime_map+#define iterator QuickTime_iterator+#define float_t QuickTime_float_t+#define GetProcessInformation QuickTime_GetProcessInformation+#define int_fast8_t QuickTime_int_fast8_t+#define int_fast16_t QuickTime_int_fast16_t+#define uint_fast16_t QuickTime_uint_fast16_t#include "QTML.h"#include "Movies.h"@@ -40,9 +40,9 @@#undef iterator#undef float_t#undef GetProcessInformation-#undef QT_int_fast8_t-#undef QT_int_fast16_t-#undef QT_uint_fast16_t+#undef int_fast8_t+#undef int_fast16_t+#undef uint_fast16_t#include "texception.h"#include "tpropertytype.h"diff --git a/toonz/sources/include/toonz4.6/raster.h b/toonz/sources/include/toonz4.6/raster.hindex 65905c2af..bba0854d5 100644--- a/toonz/sources/include/toonz4.6/raster.h+++ b/toonz/sources/include/toonz4.6/raster.h@@ -31,28 +31,31 @@ typedef enum {} RAS_TYPE;#ifdef VECCHIO-' typedef enum { RAS_NONE, RAS_BW, /* 1 bit, B=0, W=1, first pixel in bit 7 */ RAS_WB, /* " , W=0, B=1, " */ RAS_GR8, /* grey tones, 8 bits */ RAS_CM8, /* color-mapped, 8 bits */- RAS_GR16, /* grey tones, 16 bits */- RAS_RGB16, /* RGB 5+6+5 bits, red most significant */- RAS_RLEBW, /* 1 bit compressed(quick casm format) */- RAS_RGB, /* 1 byte per color channel */- RAS_RGB_, /* LPIXEL, matte channel ignored, for display */- RAS_RGBM, /* LPIXEL, matte channel considered */- RAS_RGBM64, /* SPIXEL, matte channel considered */- RAS_RGB_64, /* SPIXEL, matte channel ignored */- RAS_MBW16, /* 16 images of 1 bit per pixel, B=0, W=1 */- RAS_CM8S4, /* cmapped, 8 bits, standard SGI 16-color colormap */- RAS_CM8S8, /* cmapped, 8 bits, standard SGI 256-color colormap */- RAS_CM16S4, /* cmapped, 16 bits, standard SGI 16-color colormap */- RAS_CM16S8, /* cmapped, 16 bits, standard SGI 256-color colormap */- RAS_CM16S12, /* cmapped, 16 bits, standard SGI+Toonz 4096-color colormap */- // RAS_CM24, /* cmapped, 8+8+8 bits (ink, paint, ramp), +8 bits extra- // (MSB) */- RAS_CM16, /* color-mapped, 16 bits */- RAS_CM32, /* cmapped, 12+12+8 bits (ink, paint, ramp) */- RAS_HOW_MANY-}-RAS_TYPE;+typedef enum {+ RAS_NONE,+ RAS_BW, // 1 bit, B=0, W=1, first pixel in bit 7+ RAS_WB, // " , W=0, B=1, "+ RAS_GR8, // grey tones, 8 bits+ RAS_CM8, // color-mapped, 8 bits+ RAS_GR16, // grey tones, 16 bits+ RAS_RGB16, // RGB 5+6+5 bits, red most significant+ RAS_RLEBW, // 1 bit compressed(quick casm format)+ RAS_RGB, // 1 byte per color channel/+ RAS_RGB_, // LPIXEL, matte channel ignored, for display+ RAS_RGBM, // LPIXEL, matte channel considered+ RAS_RGBM64, // SPIXEL, matte channel considered+ RAS_RGB_64, // SPIXEL, matte channel ignored+ RAS_MBW16, // 16 images of 1 bit per pixel, B=0, W=1+ RAS_CM8S4, // cmapped, 8 bits, standard SGI 16-color colormap+ RAS_CM8S8, // cmapped, 8 bits, standard SGI 256-color colormap+ RAS_CM16S4, // cmapped, 16 bits, standard SGI 16-color colormap+ RAS_CM16S8, // cmapped, 16 bits, standard SGI 256-color colormap+ RAS_CM16S12, // cmapped, 16 bits, standard SGI+Toonz 4096-color colormap+ // RAS_CM24, // cmapped, 8+8+8 bits (ink, paint, ramp), +8 bits extra (MSB)+ RAS_CM16, // color-mapped, 16 bits+ RAS_CM32, // cmapped, 12+12+8 bits (ink, paint, ramp)+ RAS_HOW_MANY+} RAS_TYPE;#endiftypedef struct {diff --git a/toonz/sources/include/toonzqt/updatechecker.h b/toonz/sources/include/toonzqt/updatechecker.hindex 71f8d3683..32b42576a 100644--- a/toonz/sources/include/toonzqt/updatechecker.h+++ b/toonz/sources/include/toonzqt/updatechecker.h@@ -10,6 +10,7 @@#include <QNetworkAccessManager>#include <QUrl>#include <QString>+#include <QSharedPointer>#undef DVAPI#undef DVVARdiff --git a/toonz/sources/tnzbase/tscanner/tscanner.cpp b/toonz/sources/tnzbase/tscanner/tscanner.cppindex 280343629..2a3aeb8a9 100644--- a/toonz/sources/tnzbase/tscanner/tscanner.cpp+++ b/toonz/sources/tnzbase/tscanner/tscanner.cpp@@ -377,7 +377,7 @@ TScanner *TScanner::instance() {if (!instanceEpson) instanceEpson = new TScannerEpson();}- return (m_isTwain) ? instanceTwain : instanceEpson;+ return (m_isTwain ? instanceTwain : instanceEpson);#endif}diff --git a/toonz/sources/tnzext/tlin/tlin_cblas_wrap.cpp b/toonz/sources/tnzext/tlin/tlin_cblas_wrap.cppindex 3187888bd..8e104f8e0 100644--- a/toonz/sources/tnzext/tlin/tlin_cblas_wrap.cpp+++ b/toonz/sources/tnzext/tlin/tlin_cblas_wrap.cpp@@ -5,6 +5,14 @@#include <memory>#include <cstring>+#if defined(_MSC_VER) && (_MSC_VER >= 1900)+// dummy definition for linker+#include <conio.h>+extern "C" {+void __imp__cprintf(char const *const _Format) { _cprintf(_Format); }+}+#endif+// blasint may either be common 4 bytes or extended 8 (long)...// Replace this and REBUILD the CBLAS with extended int if needed.typedef int blasint;@@ -60,7 +68,6 @@ incx and incy are the increments in array access - ie x[incx * i] and y[incy *j] values only areconsidered (=> we'll use 1).*/-double *_x = const_cast<double *>(x);cblas_daxpy(n, 1.0, _x, 1, y, 1);diff --git a/toonz/sources/toonz/cleanuppopup.cpp b/toonz/sources/toonz/cleanuppopup.cppindex 371396576..252443d27 100644--- a/toonz/sources/toonz/cleanuppopup.cpp+++ b/toonz/sources/toonz/cleanuppopup.cpp@@ -676,7 +676,9 @@ bool CleanupPopup::analyzeCleanupList() {clt->m_frames.erase(std::remove_if(clt->m_frames.begin(), clt->m_frames.end(),- boost::bind(&TLevel::Table::count, table, _1)),+ [table](TLevel::Table::key_type const &key) {+ return table->count(key);+ }),clt->m_frames.end());}}diff --git a/toonz/sources/toonz/cleanupsettingspopup.cpp b/toonz/sources/toonz/cleanupsettingspopup.cppindex 593f4af79..505bb6500 100644--- a/toonz/sources/toonz/cleanupsettingspopup.cpp+++ b/toonz/sources/toonz/cleanupsettingspopup.cpp@@ -847,22 +847,18 @@ public://**********************************************************************// Open Popup Command//**********************************************************************--/*-class CleanupSettingsFactory final : public TPanelFactory-{+#if 0+class CleanupSettingsFactory final : public TPanelFactory {public:-CleanupSettingsFactory() : TPanelFactory("CleanupSettings") {}- void initialize(TPanel* panel)- {- CleanupSettings* cleanupSettings = new CleanupSettings(panel);+ void initialize(TPanel *panel) {+ CleanupSettings *cleanupSettings = new CleanupSettings(panel);panel->setWidget(cleanupSettings);- bool ret = QObject::connect(- cleanupSettings, SIGNAL(windowTitleChanged(const QString&)),- panel, SLOT(setWindowTitle(const QString&)));+ bool ret = QObject::connect(cleanupSettings,+ SIGNAL(windowTitleChanged(const QString &)),+ panel, SLOT(setWindowTitle(const QString &)));assert(ret);panel->setMinimumSize(320, 150);@@ -870,7 +866,7 @@ public:}} cleanupSettingsFactory;-*/+#endifOpenFloatingPanel cleanupSettingsCommand(MI_CleanupSettings, "CleanupSettings",QObject::tr("Cleanup Settings"));diff --git a/toonz/sources/toonz/psdsettingspopup.cpp b/toonz/sources/toonz/psdsettingspopup.cppindex c30000a86..d73ccf53a 100644--- a/toonz/sources/toonz/psdsettingspopup.cpp+++ b/toonz/sources/toonz/psdsettingspopup.cpp@@ -127,9 +127,9 @@ PsdSettingsPopup::PsdSettingsPopup()m_parentDir = new QLabel(tr(""));m_parentDir->setAlignment(Qt::AlignLeft | Qt::AlignVCenter);m_parentDir->setFixedHeight(WidgetHeight);- QLabel *nmLbl = new QLabel(tr("Name:"));+ QLabel *nmLbl = new QLabel(tr("Name:"));nmLbl->setObjectName("TitleTxtLabel");- QLabel *ptLbl = new QLabel(tr("Path:"));+ QLabel *ptLbl = new QLabel(tr("Path:"));ptLbl->setObjectName("TitleTxtLabel");QGridLayout *grid = new QGridLayout();grid->setColumnMinimumWidth(0, 65);diff --git a/toonz/sources/toonzlib/autopos.cpp b/toonz/sources/toonzlib/autopos.cppindex 68219ba49..b596d640c 100644--- a/toonz/sources/toonzlib/autopos.cpp+++ b/toonz/sources/toonzlib/autopos.cpp@@ -230,177 +230,11 @@ found:/*---------------------------------------------------------------------------*/-// static void make_bitcount (int b[256], int count_zeros)-//{-// int i, j, xorValue;--// xorValue = count_zeros ? 0xff : 0;-// for (i = 0; i < 256; i++)-// {-// b[i] = 0;-// for (j = i ^ xorValue; j; j &= j - 1)-// b[i]++;-// }-//}--/*---------------------------------------------------------------------------*/--// static int autoalign_bw (UCHAR *buffer_bw, bool isWB /*true se WB, false se-// BW*/,-// int wrap, int lx, int ly, int pix_origin,-// int dpix_dx, int dpix_dy, int strip_width)-//{-/* SOLTANTO PER MAIN SCAN VERTICALE */-/* LA PARTE DOPO found FUNZIONA SOLO PER ly MULTIPLO DI 8 */-/* LA PARTE PRIMA BUTTA VIA I BYTE FRAZIONARI */-/*-int first_x[2], dx_dcol[2], target[2];-int i, x, y, cols;-int col_value, threshold;-int consec_black_cols, consec_white_cols, black_strip_edge;-UCHAR *byte, *origin, white;-int delta_x, delta_bytes;-int ly_bytes, dbytes_dx, dbytes_dybytes;-int bitcount[256];--make_bitcount (bitcount, isWB);--ly_bytes = ly / 8;-dbytes_dx = dpix_dx / 8;-dbytes_dybytes = dpix_dy;--if (dpix_dy > 0 && (pix_origin & 7) != 0)- pix_origin = (pix_origin | 7) + 1;-if (dpix_dy < 0 && (pix_origin & 7) != 7)- pix_origin = (pix_origin & ~7) - 1;--origin = buffer_bw + (pix_origin + 7) / 8;--first_x[0] = 0; dx_dcol[0] = 1; target[0] = strip_width / 2;-first_x[1] = lx - 1; dx_dcol[1] = -1; target[1] = lx - 1 - strip_width / 2;--threshold = ly / 2;--for (i = 0; i < 2; i++)- {- consec_black_cols = 0;- consec_white_cols = 0;- black_strip_edge = 0;- for (x = first_x[i], cols = 0; cols < strip_width; x += dx_dcol[i], cols++)- {- col_value = 0;- byte = origin + x * dbytes_dx;- for (y = 0; y < ly_bytes; y++)- {- col_value += bitcount[*byte];- byte += dbytes_dybytes;- }- if (col_value < threshold)- {- consec_white_cols = 0;- consec_black_cols++;- if (consec_black_cols >= AUTOAL_BLACK_COLS)- black_strip_edge = x;- }- else- {- consec_black_cols = 0;- consec_white_cols++;- if (consec_white_cols >= AUTOAL_WHITE_COLS && black_strip_edge)- goto found;- }- }- }-return FALSE;--found:--white = isWB ? 0 : 255;-for (x = first_x[i], cols = 0; cols < strip_width; x += dx_dcol[i], cols++)- {- byte = origin + x * dbytes_dx;- for (y = 0; y < ly_bytes; y++)- {- *byte = white;- byte += dbytes_dybytes;- }- }-delta_x = target[i] - black_strip_edge;-delta_bytes = delta_x * dbytes_dx;-if (delta_x > 0)- {- for (x = lx - 1 - delta_x; x >= 0; x--)- {- byte = origin + x * dbytes_dx;- for (y = 0; y < ly_bytes; y++)- {- *(byte + delta_bytes) = *byte;- byte += dbytes_dybytes;- }- }- for (x = lx - delta_x; x < lx; x++)- {- byte = origin + x * dbytes_dx;- for (y = 0; y < ly_bytes; y++)- {- *byte = white;- byte += dbytes_dybytes;- }- }- }-else if (delta_x < 0)- {- for (x = -delta_x; x < lx; x++)- {- byte = origin + x * dbytes_dx;- for (y = 0; y < ly_bytes; y++)- {- *(byte + delta_bytes) = *byte;- byte += dbytes_dybytes;- }- }- for (x = 0; x < -delta_x; x++)- {- byte = origin + x * dbytes_dx;- for (y = 0; y < ly_bytes; y++)- {- *byte = white;- byte += dbytes_dybytes;- }- }- }-return TRUE;-}-*/--/*---------------------------------------------------------------------------*/-int do_autoalign(const TRasterImageP &image) {int wrap, lx, ly, mx, my;int pix_origin, dpix_dx, dpix_dy;int strip_width;- /*-Non viene presa in considerazione una eventuale savebox-*/- /*-Per adesso non scrivo l'algo per wb con primary scan orizzontale, quindi:--assert (image->orientation == TOR_LEFTBOT ||- image->orientation == TOR_RIGHTBOT ||- image->orientation == TOR_LEFTTOP ||- image->orientation == TOR_RIGHTTOP );-*/- /* DAFARE-if ( image->orientation != TOR_LEFTBOT &&- image->orientation != TOR_RIGHTBOT &&- image->orientation != TOR_LEFTTOP &&- image->orientation != TOR_RIGHTTOP )-{-tmsg_error(" autoalign error: bad image orientation");-return FALSE;-}-*/// assumo che sia sempre orientata nel modo correttoTRasterP ras = image->getRaster();diff --git a/toonz/sources/toonzlib/cleanupparameters.cpp b/toonz/sources/toonzlib/cleanupparameters.cppindex 80a186e39..548b99326 100644--- a/toonz/sources/toonzlib/cleanupparameters.cpp+++ b/toonz/sources/toonzlib/cleanupparameters.cpp@@ -122,8 +122,6 @@ void FdgManager::loadFieldGuideInfo() {else if (STR_EQ(label, "HOLE")) {sscanf(arg, "%d", &cnt);if (cnt >= (int)fdg_info.dots.size()) {- // tmsg_error("load field guide info error: bad hole number");- // return FALSE;fdg_info.dots.push_back(CleanupTypes::DOT());}} else if (STR_EQ(label, "X0"))diff --git a/toonz/sources/toonzqt/docklayout.cpp b/toonz/sources/toonzqt/docklayout.cppindex c8de5f4c0..0e6b94b77 100644--- a/toonz/sources/toonzqt/docklayout.cpp+++ b/toonz/sources/toonzqt/docklayout.cpp@@ -682,8 +682,7 @@ Region *DockLayout::dockItem(DockWidget *item, Region *r, int idx) {// which may slow down a bit - should be done only after a redistribute() and a// repaint() on// real-time docking.-Region *DockLayout::dockItemPrivate(DockWidget *item, Region *r,- int idx) {+Region *DockLayout::dockItemPrivate(DockWidget *item, Region *r, int idx) {// hide minimize button in FlipboolPanelitem->onDock(true);@@ -864,10 +863,8 @@ bool DockLayout::undockItem(DockWidget *item) {//! Search for the \b nearest n-ple from a \b target one, under conditions://!\b 1) nearest elements belong to \b fixed \b intervals; \b 2) their \b sum is//!\b fixed too.-void calculateNearest(std::vector<double> target,- std::vector<double> &nearest,- std::vector<std::pair<int, int>> intervals,- double sum) {+void calculateNearest(std::vector<double> target, std::vector<double> &nearest,+ std::vector<std::pair<int, int>> intervals, double sum) {// Solving a small Lagrange multipliers problem to find solution on constraint// (2)assert(target.size() == intervals.size());@@ -1208,8 +1205,7 @@ bool Region::subItemSize(DockWidget *item) {//! Checks insertion validity of \b item inside \b parentRegion at position \b//! insertionIdx.-bool DockLayout::isPossibleInsertion(DockWidget *item,- Region *parentRegion,+bool DockLayout::isPossibleInsertion(DockWidget *item, Region *parentRegion,int insertionIdx) {const int inf = 1000000;@@ -1266,8 +1262,7 @@ bool DockLayout::isPossibleInsertion(DockWidget *item,//! Checks insertion validity of \b item inside \b parentRegion at position \b//! insertionIdx.-bool DockLayout::isPossibleRemoval(DockWidget *item,- Region *parentRegion,+bool DockLayout::isPossibleRemoval(DockWidget *item, Region *parentRegion,int removalIdx) {// NOTE: parentRegion is necessarily !=0 or there's no need to check anythingif (!parentRegion) return true;@@ -1597,9 +1592,8 @@ DockSeparator *DockDecoAllocator::newSeparator(DockLayout *owner,//! When inheriting a DockLayout class, new custom placeholders gets allocated//! by this method.-DockPlaceholder *DockDecoAllocator::newPlaceholder(DockWidget *owner,- Region *r, int idx,- int attributes) {+DockPlaceholder *DockDecoAllocator::newPlaceholder(DockWidget *owner, Region *r,+ int idx, int attributes) {return new DockPlaceholder(owner, r, idx, attributes);}@@ -1608,9 +1602,8 @@ DockPlaceholder *DockDecoAllocator::newPlaceholder(DockWidget *owner,// BuildGeometry() method should not be called inside the base contructor -// because it's a virtual method.// So we provide this little inline...-DockPlaceholder *DockDecoAllocator::newPlaceBuilt(DockWidget *owner,- Region *r, int idx,- int attributes) {+DockPlaceholder *DockDecoAllocator::newPlaceBuilt(DockWidget *owner, Region *r,+ int idx, int attributes) {DockPlaceholder *res = newPlaceholder(owner, r, idx, attributes);res->buildGeometry();return res;diff --git a/toonz/sources/toonzqt/infoviewer.cpp b/toonz/sources/toonzqt/infoviewer.cppindex ec5a34789..1bc0eef3b 100644--- a/toonz/sources/toonzqt/infoviewer.cpp+++ b/toonz/sources/toonzqt/infoviewer.cpp@@ -171,9 +171,7 @@ void InfoViewerImp::onSliderChanged() {//----------------------------------------------------------------namespace {-void setLabelStyle(QLabel *l) {- l->setObjectName("TitleTxtLabel");-}+void setLabelStyle(QLabel *l) { l->setObjectName("TitleTxtLabel"); }}//----------------------------------------------------------------diff --git a/toonz/sources/toonzqt/tonecurvefield.cpp b/toonz/sources/toonzqt/tonecurvefield.cppindex 5ea3f421e..86bdada34 100644--- a/toonz/sources/toonzqt/tonecurvefield.cpp+++ b/toonz/sources/toonzqt/tonecurvefield.cpp@@ -353,8 +353,7 @@ void ChennelCurveEditor::moveCentralControlPoint(int index,double precDistance = (p.x() + d.x()) - precP.x();// Caso particolare: Punto di controllo corrente == primo visibile,- // Punto di controllo- //successivo+ // Punto di controllo successivo//==// l'ultimo// visibile@@ -366,8 +365,7 @@ void ChennelCurveEditor::moveCentralControlPoint(int index,if (nextDistance < 0) d = QPointF(nextP.x() - p.x(), d.y());}// Caso particolare: Punto di controllo corrente == ultimo visibile,- // Punto di controllo- //precedente+ // Punto di controllo precedente//==// primo// visibile@@ -406,107 +404,6 @@ void ChennelCurveEditor::moveCentralControlPoint(int index,//------------------------------------------------------------------------------/* Se due punti di controllo sono troppo vicini uno dei due viene eliminato.- Ritorna vero se un punto viene eliminato.--Prima di richiamare il metodo nel move andava fatto questo controllo!!!-//Se il punto di controllo successivo, o precente, e' l'utlimo, o il primo,-blocco il-// movimento altrimenti elimino il punto di controllo successivo e richiamo il-move.-int nextPX = m_points.at(index+3).x();-if(nextPX>m_margin && nextPX<=w && newX>nextPX)-{- if(index+3 == pointCount-4) d = QPointF(0, d.y());- else- {- moveCentralControlPoint(index, d);- return;- }-}-int precPX = m_points.at(index-3).x();-if(precPX>=m_margin && precPX<=w && newX<precPX)-{- if(index-3 == 3) d = QPointF(0, d.y());- else- {- moveCentralControlPoint(index, d);- return;- }-}--bool ChennelCurveEditor::eraseControlPointWhileMove(int index, const QPointF-delta)-{- int pointCount = m_points.size();- QPointF p = m_points.at(index);- QPointF nextP = m_points.at(index+3);- QPointF precP = m_points.at(index-3);- double nextDistance = abs((p.x()+delta.x())-nextP.x());- double precDistance = abs((p.x()+delta.x())-precP.x());-- if(nextDistance>16 && precDistance>16) return false;-- //Se vado troppo vicino al punto di controllo precedente, o successivo,-lo elimino.- if(nextDistance<=16)- {- //Caso particolare: il successivo e' l'ultimo visibile; non-posso eliminare l'ultimo punto di controllo visibile.- if(index+3 == pointCount-4)- {- //Se il punto di controllo in index e' il primo visibile-sto gestendo il- // primo e l'ultimo punto, entrambi non possono essere-eliminati.- if(index == 3)- {- setPoint(index+1,nextP);- setPoint(index+2,p+delta);- return false;- }- else //Altrimenti elimino il penultimo.- {- removeControlPoint(index);- m_currentControlPointIndex += 3;- return true;- }- }- removeControlPoint(index+3);- return true;- }- if(precDistance<=16)- {- //Caso particolare: il precedente e' il primo visibile; non-posso eliminare il primo punto di controllo visibile.- if(index-3 == 3)- {- //Se il punto di controllo in index e' l'ultimo visibile-sto gestendo il- // primo e l'ultimo punto, entrambi non possono essere-eliminati.- if(index == pointCount-4)- {- setPoint(index-1,precP);- setPoint(index-2,p+delta);- return false;- }- else //Altrimenti elimino il secondo.- {- removeControlPoint(index);- return true;- }- }- removeControlPoint(index-3);- m_currentControlPointIndex += 3;- return true;- }- return false;-}-*/--//------------------------------------------------------------------------------void ChennelCurveEditor::addControlPoint(double percent) {QPainterPath path = getPainterPath();QPointF p = path.pointAtPercent(percent);