From 0a58c5c2f73e5047b36f12b5f12b12d6f2a9f69d Mon Sep 17 00:00:00 2001 From: Narayan Kamath Date: Fri, 1 Mar 2013 10:03:55 +0000 Subject: Import open-vcdiff 0.8.3 This is an unmodified copy of the source code tar at: https://open-vcdiff.googlecode.com/files/open-vcdiff-0.8.3.tar.gz Change-Id: I3f7afa389e773a18adba3a83c6e0ea9ba7f0763b --- vsprojects/addrcache_test/addrcache_test.vcproj | 209 ++++++++++ vsprojects/blockhash_test/blockhash_test.vcproj | 209 ++++++++++ vsprojects/codetable_test/codetable_test.vcproj | 209 ++++++++++ vsprojects/config.h | 86 ++++ .../decodetable_test/decodetable_test.vcproj | 209 ++++++++++ .../encodetable_test/encodetable_test.vcproj | 209 ++++++++++ vsprojects/gtest/gtest.vcproj | 277 +++++++++++++ .../headerparser_test/headerparser_test.vcproj | 209 ++++++++++ .../instruction_map_test.vcproj | 207 ++++++++++ vsprojects/jsonwriter_test/jsonwriter_test.vcproj | 209 ++++++++++ vsprojects/open-vcdiff.sln | 276 +++++++++++++ .../output_string_test/output_string_test.vcproj | 213 ++++++++++ .../rolling_hash_test/rolling_hash_test.vcproj | 209 ++++++++++ vsprojects/stdint.h | 30 ++ .../varint_bigendian_test.vcproj | 209 ++++++++++ vsprojects/vcdcom/vcdcom.vcproj | 231 +++++++++++ vsprojects/vcddec/vcddec.vcproj | 200 +++++++++ vsprojects/vcdecoder1_test/vcdecoder1_test.vcproj | 211 ++++++++++ vsprojects/vcdecoder2_test/vcdecoder2_test.vcproj | 211 ++++++++++ vsprojects/vcdecoder3_test/vcdecoder3_test.vcproj | 211 ++++++++++ vsprojects/vcdecoder4_test/vcdecoder4_test.vcproj | 211 ++++++++++ vsprojects/vcdecoder5_test/vcdecoder5_test.vcproj | 211 ++++++++++ .../vcdecoder_test_common.vcproj | 175 ++++++++ vsprojects/vcdenc/vcdenc.vcproj | 235 +++++++++++ vsprojects/vcdiff/vcdiff.vcproj | 263 ++++++++++++ vsprojects/vcdiff_test.bat | 459 +++++++++++++++++++++ vsprojects/vcdiff_test/vcdiff_test.vcproj | 135 ++++++ .../vcdiffengine_test/vcdiffengine_test.vcproj | 209 ++++++++++ vsprojects/vcencoder_test/vcencoder_test.vcproj | 211 ++++++++++ 29 files changed, 6143 insertions(+) create mode 100644 vsprojects/addrcache_test/addrcache_test.vcproj create mode 100644 vsprojects/blockhash_test/blockhash_test.vcproj create mode 100644 vsprojects/codetable_test/codetable_test.vcproj create mode 100644 vsprojects/config.h create mode 100644 vsprojects/decodetable_test/decodetable_test.vcproj create mode 100644 vsprojects/encodetable_test/encodetable_test.vcproj create mode 100644 vsprojects/gtest/gtest.vcproj create mode 100644 vsprojects/headerparser_test/headerparser_test.vcproj create mode 100644 vsprojects/instruction_map_test/instruction_map_test.vcproj create mode 100644 vsprojects/jsonwriter_test/jsonwriter_test.vcproj create mode 100644 vsprojects/open-vcdiff.sln create mode 100644 vsprojects/output_string_test/output_string_test.vcproj create mode 100644 vsprojects/rolling_hash_test/rolling_hash_test.vcproj create mode 100644 vsprojects/stdint.h create mode 100644 vsprojects/varint_bigendian_test/varint_bigendian_test.vcproj create mode 100644 vsprojects/vcdcom/vcdcom.vcproj create mode 100644 vsprojects/vcddec/vcddec.vcproj create mode 100644 vsprojects/vcdecoder1_test/vcdecoder1_test.vcproj create mode 100644 vsprojects/vcdecoder2_test/vcdecoder2_test.vcproj create mode 100644 vsprojects/vcdecoder3_test/vcdecoder3_test.vcproj create mode 100644 vsprojects/vcdecoder4_test/vcdecoder4_test.vcproj create mode 100644 vsprojects/vcdecoder5_test/vcdecoder5_test.vcproj create mode 100644 vsprojects/vcdecoder_test_common/vcdecoder_test_common.vcproj create mode 100644 vsprojects/vcdenc/vcdenc.vcproj create mode 100644 vsprojects/vcdiff/vcdiff.vcproj create mode 100755 vsprojects/vcdiff_test.bat create mode 100644 vsprojects/vcdiff_test/vcdiff_test.vcproj create mode 100644 vsprojects/vcdiffengine_test/vcdiffengine_test.vcproj create mode 100644 vsprojects/vcencoder_test/vcencoder_test.vcproj (limited to 'vsprojects') diff --git a/vsprojects/addrcache_test/addrcache_test.vcproj b/vsprojects/addrcache_test/addrcache_test.vcproj new file mode 100644 index 0000000..2d06d72 --- /dev/null +++ b/vsprojects/addrcache_test/addrcache_test.vcproj @@ -0,0 +1,209 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/blockhash_test/blockhash_test.vcproj b/vsprojects/blockhash_test/blockhash_test.vcproj new file mode 100644 index 0000000..dc60d8d --- /dev/null +++ b/vsprojects/blockhash_test/blockhash_test.vcproj @@ -0,0 +1,209 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/codetable_test/codetable_test.vcproj b/vsprojects/codetable_test/codetable_test.vcproj new file mode 100644 index 0000000..feb79c5 --- /dev/null +++ b/vsprojects/codetable_test/codetable_test.vcproj @@ -0,0 +1,209 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/config.h b/vsprojects/config.h new file mode 100644 index 0000000..5aacfac --- /dev/null +++ b/vsprojects/config.h @@ -0,0 +1,86 @@ +// Copyright 2008 Google Inc. +// Author: Lincoln Smith +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// A config.h to be used for MS Visual Studio projects, when the configure +// script cannot be used to automatically determine the capabilities of +// the environment. + +#ifndef OPEN_VCDIFF_VSPROJECTS_CONFIG_H_ +#define OPEN_VCDIFF_VSPROJECTS_CONFIG_H_ + +// The gflags sources are compiled and linked directly into the vcdiff +// executable. They should not be exported by open-vcdiff. +#define GFLAGS_DLL_DECL + +/* Namespace for Google classes */ +#define GOOGLE_NAMESPACE ::google + +/* define if the compiler implements namespaces */ +#define HAVE_NAMESPACES 1 + +/* Define to 1 if you have the `QueryPerformanceCounter' function. */ +#define HAVE_QUERYPERFORMANCECOUNTER 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_WINDOWS_H 1 + +/* Name of package */ +#define PACKAGE "open-vcdiff" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "opensource@google.com" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "open-vcdiff" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "open-vcdiff 0.8.3" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "open-vcdiff" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "0.8.3" + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* the namespace where STL code like vector<> is defined */ +#define STL_NAMESPACE std + +/* Version number of package */ +#define VERSION "0.8.3" + +/* Stops putting the code inside the Google namespace */ +#define _END_GOOGLE_NAMESPACE_ } + +/* Puts following code inside the Google namespace */ +#define _START_GOOGLE_NAMESPACE_ namespace google { + +// These functions have different names, but the same behavior, +// for Visual Studio. +#define strcasecmp _stricmp +#define snprintf _snprintf + +#endif // OPEN_VCDIFF_VSPROJECTS_CONFIG_H_ diff --git a/vsprojects/decodetable_test/decodetable_test.vcproj b/vsprojects/decodetable_test/decodetable_test.vcproj new file mode 100644 index 0000000..ffc682b --- /dev/null +++ b/vsprojects/decodetable_test/decodetable_test.vcproj @@ -0,0 +1,209 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/encodetable_test/encodetable_test.vcproj b/vsprojects/encodetable_test/encodetable_test.vcproj new file mode 100644 index 0000000..5a66aa4 --- /dev/null +++ b/vsprojects/encodetable_test/encodetable_test.vcproj @@ -0,0 +1,209 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/gtest/gtest.vcproj b/vsprojects/gtest/gtest.vcproj new file mode 100644 index 0000000..78f0f93 --- /dev/null +++ b/vsprojects/gtest/gtest.vcproj @@ -0,0 +1,277 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/headerparser_test/headerparser_test.vcproj b/vsprojects/headerparser_test/headerparser_test.vcproj new file mode 100644 index 0000000..0e8585e --- /dev/null +++ b/vsprojects/headerparser_test/headerparser_test.vcproj @@ -0,0 +1,209 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/instruction_map_test/instruction_map_test.vcproj b/vsprojects/instruction_map_test/instruction_map_test.vcproj new file mode 100644 index 0000000..997df33 --- /dev/null +++ b/vsprojects/instruction_map_test/instruction_map_test.vcproj @@ -0,0 +1,207 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/jsonwriter_test/jsonwriter_test.vcproj b/vsprojects/jsonwriter_test/jsonwriter_test.vcproj new file mode 100644 index 0000000..e4b7147 --- /dev/null +++ b/vsprojects/jsonwriter_test/jsonwriter_test.vcproj @@ -0,0 +1,209 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/open-vcdiff.sln b/vsprojects/open-vcdiff.sln new file mode 100644 index 0000000..c8a0374 --- /dev/null +++ b/vsprojects/open-vcdiff.sln @@ -0,0 +1,276 @@ + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vcdcom", "vcdcom\vcdcom.vcproj", "{A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vcddec", "vcddec\vcddec.vcproj", "{1066F2E6-3F29-4D3D-9BBA-FD1D360099DD}" + ProjectSection(ProjectDependencies) = postProject + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} = {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vcdenc", "vcdenc\vcdenc.vcproj", "{C498DA26-B014-44BD-A387-EB6C3CE16FCF}" + ProjectSection(ProjectDependencies) = postProject + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} = {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vcdiff", "vcdiff\vcdiff.vcproj", "{D11A04C5-0B05-4E08-AAB2-8BC64DE56A84}" + ProjectSection(ProjectDependencies) = postProject + {C498DA26-B014-44BD-A387-EB6C3CE16FCF} = {C498DA26-B014-44BD-A387-EB6C3CE16FCF} + {1066F2E6-3F29-4D3D-9BBA-FD1D360099DD} = {1066F2E6-3F29-4D3D-9BBA-FD1D360099DD} + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} = {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "addrcache_test", "addrcache_test\addrcache_test.vcproj", "{23DDE803-E417-41CE-9D24-B823A990D0FC}" + ProjectSection(ProjectDependencies) = postProject + {429392EB-55A9-4344-913C-DEE5F02B538D} = {429392EB-55A9-4344-913C-DEE5F02B538D} + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} = {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "headerparser_test", "headerparser_test\headerparser_test.vcproj", "{B1995AAE-F24B-4079-8F6B-8333ED6B13A6}" + ProjectSection(ProjectDependencies) = postProject + {1066F2E6-3F29-4D3D-9BBA-FD1D360099DD} = {1066F2E6-3F29-4D3D-9BBA-FD1D360099DD} + {429392EB-55A9-4344-913C-DEE5F02B538D} = {429392EB-55A9-4344-913C-DEE5F02B538D} + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} = {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vcencoder_test", "vcencoder_test\vcencoder_test.vcproj", "{CB30C697-D33C-4410-94DE-D7CC481A5284}" + ProjectSection(ProjectDependencies) = postProject + {C498DA26-B014-44BD-A387-EB6C3CE16FCF} = {C498DA26-B014-44BD-A387-EB6C3CE16FCF} + {1066F2E6-3F29-4D3D-9BBA-FD1D360099DD} = {1066F2E6-3F29-4D3D-9BBA-FD1D360099DD} + {429392EB-55A9-4344-913C-DEE5F02B538D} = {429392EB-55A9-4344-913C-DEE5F02B538D} + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} = {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "output_string_test", "output_string_test\output_string_test.vcproj", "{3E9B97B7-7C57-44EB-BBBC-2C3B56595F0E}" + ProjectSection(ProjectDependencies) = postProject + {429392EB-55A9-4344-913C-DEE5F02B538D} = {429392EB-55A9-4344-913C-DEE5F02B538D} + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} = {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "blockhash_test", "blockhash_test\blockhash_test.vcproj", "{11C53677-B705-42C2-B50F-87F5E599ABF1}" + ProjectSection(ProjectDependencies) = postProject + {C498DA26-B014-44BD-A387-EB6C3CE16FCF} = {C498DA26-B014-44BD-A387-EB6C3CE16FCF} + {429392EB-55A9-4344-913C-DEE5F02B538D} = {429392EB-55A9-4344-913C-DEE5F02B538D} + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} = {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "codetable_test", "codetable_test\codetable_test.vcproj", "{43DD2BA4-493D-49B7-825E-10279C89F0F9}" + ProjectSection(ProjectDependencies) = postProject + {429392EB-55A9-4344-913C-DEE5F02B538D} = {429392EB-55A9-4344-913C-DEE5F02B538D} + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} = {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "decodetable_test", "decodetable_test\decodetable_test.vcproj", "{CCA8B377-0D14-4AD3-B5D8-7DD935A2D6D8}" + ProjectSection(ProjectDependencies) = postProject + {1066F2E6-3F29-4D3D-9BBA-FD1D360099DD} = {1066F2E6-3F29-4D3D-9BBA-FD1D360099DD} + {429392EB-55A9-4344-913C-DEE5F02B538D} = {429392EB-55A9-4344-913C-DEE5F02B538D} + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} = {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "encodetable_test", "encodetable_test\encodetable_test.vcproj", "{893DCA29-2740-4C49-993F-42A9B1EF365B}" + ProjectSection(ProjectDependencies) = postProject + {C498DA26-B014-44BD-A387-EB6C3CE16FCF} = {C498DA26-B014-44BD-A387-EB6C3CE16FCF} + {429392EB-55A9-4344-913C-DEE5F02B538D} = {429392EB-55A9-4344-913C-DEE5F02B538D} + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} = {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rolling_hash_test", "rolling_hash_test\rolling_hash_test.vcproj", "{A9879052-0DD1-413D-B631-A82044BFCF1A}" + ProjectSection(ProjectDependencies) = postProject + {C498DA26-B014-44BD-A387-EB6C3CE16FCF} = {C498DA26-B014-44BD-A387-EB6C3CE16FCF} + {429392EB-55A9-4344-913C-DEE5F02B538D} = {429392EB-55A9-4344-913C-DEE5F02B538D} + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} = {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "varint_bigendian_test", "varint_bigendian_test\varint_bigendian_test.vcproj", "{9A887AB5-E053-4ED6-870B-3330A1F4ED83}" + ProjectSection(ProjectDependencies) = postProject + {429392EB-55A9-4344-913C-DEE5F02B538D} = {429392EB-55A9-4344-913C-DEE5F02B538D} + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} = {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vcdiffengine_test", "vcdiffengine_test\vcdiffengine_test.vcproj", "{890398AC-020D-48C7-A054-6E03B1403AC7}" + ProjectSection(ProjectDependencies) = postProject + {C498DA26-B014-44BD-A387-EB6C3CE16FCF} = {C498DA26-B014-44BD-A387-EB6C3CE16FCF} + {429392EB-55A9-4344-913C-DEE5F02B538D} = {429392EB-55A9-4344-913C-DEE5F02B538D} + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} = {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtest", "gtest\gtest.vcproj", "{429392EB-55A9-4344-913C-DEE5F02B538D}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "instruction_map_test", "instruction_map_test\instruction_map_test.vcproj", "{ABFF6897-3B7F-41FB-BB70-15E47AC81856}" + ProjectSection(ProjectDependencies) = postProject + {C498DA26-B014-44BD-A387-EB6C3CE16FCF} = {C498DA26-B014-44BD-A387-EB6C3CE16FCF} + {429392EB-55A9-4344-913C-DEE5F02B538D} = {429392EB-55A9-4344-913C-DEE5F02B538D} + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} = {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vcdiff_test", "vcdiff_test\vcdiff_test.vcproj", "{EDC1569F-95B3-4536-9674-6AD9A0ADAAF4}" + ProjectSection(ProjectDependencies) = postProject + {D11A04C5-0B05-4E08-AAB2-8BC64DE56A84} = {D11A04C5-0B05-4E08-AAB2-8BC64DE56A84} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vcdecoder1_test", "vcdecoder1_test\vcdecoder1_test.vcproj", "{BA30F970-A2B3-4D04-81D5-B5C73794BEDE}" + ProjectSection(ProjectDependencies) = postProject + {30B18111-3E93-4EA5-BEA9-17B08BC8E49D} = {30B18111-3E93-4EA5-BEA9-17B08BC8E49D} + {1066F2E6-3F29-4D3D-9BBA-FD1D360099DD} = {1066F2E6-3F29-4D3D-9BBA-FD1D360099DD} + {429392EB-55A9-4344-913C-DEE5F02B538D} = {429392EB-55A9-4344-913C-DEE5F02B538D} + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} = {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vcdecoder2_test", "vcdecoder2_test\vcdecoder2_test.vcproj", "{DD8527B2-44B9-46A8-9E65-3A83A10418C9}" + ProjectSection(ProjectDependencies) = postProject + {30B18111-3E93-4EA5-BEA9-17B08BC8E49D} = {30B18111-3E93-4EA5-BEA9-17B08BC8E49D} + {1066F2E6-3F29-4D3D-9BBA-FD1D360099DD} = {1066F2E6-3F29-4D3D-9BBA-FD1D360099DD} + {429392EB-55A9-4344-913C-DEE5F02B538D} = {429392EB-55A9-4344-913C-DEE5F02B538D} + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} = {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vcdecoder3_test", "vcdecoder3_test\vcdecoder3_test.vcproj", "{6927AEDE-A96D-42FD-9431-2007EAB11CB4}" + ProjectSection(ProjectDependencies) = postProject + {30B18111-3E93-4EA5-BEA9-17B08BC8E49D} = {30B18111-3E93-4EA5-BEA9-17B08BC8E49D} + {1066F2E6-3F29-4D3D-9BBA-FD1D360099DD} = {1066F2E6-3F29-4D3D-9BBA-FD1D360099DD} + {429392EB-55A9-4344-913C-DEE5F02B538D} = {429392EB-55A9-4344-913C-DEE5F02B538D} + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} = {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vcdecoder4_test", "vcdecoder4_test\vcdecoder4_test.vcproj", "{02A1361F-ED8F-4280-8475-E79C8605D5A2}" + ProjectSection(ProjectDependencies) = postProject + {30B18111-3E93-4EA5-BEA9-17B08BC8E49D} = {30B18111-3E93-4EA5-BEA9-17B08BC8E49D} + {1066F2E6-3F29-4D3D-9BBA-FD1D360099DD} = {1066F2E6-3F29-4D3D-9BBA-FD1D360099DD} + {429392EB-55A9-4344-913C-DEE5F02B538D} = {429392EB-55A9-4344-913C-DEE5F02B538D} + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} = {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vcdecoder5_test", "vcdecoder5_test\vcdecoder5_test.vcproj", "{033F203E-3AB6-4444-874A-F0EEE6938FEC}" + ProjectSection(ProjectDependencies) = postProject + {30B18111-3E93-4EA5-BEA9-17B08BC8E49D} = {30B18111-3E93-4EA5-BEA9-17B08BC8E49D} + {1066F2E6-3F29-4D3D-9BBA-FD1D360099DD} = {1066F2E6-3F29-4D3D-9BBA-FD1D360099DD} + {429392EB-55A9-4344-913C-DEE5F02B538D} = {429392EB-55A9-4344-913C-DEE5F02B538D} + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} = {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vcdecoder_test_common", "vcdecoder_test_common\vcdecoder_test_common.vcproj", "{30B18111-3E93-4EA5-BEA9-17B08BC8E49D}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0007F1C7-C5B6-4049-A123-84481D0D7349}" + ProjectSection(SolutionItems) = preProject + LocalTestRun.testrunconfig = LocalTestRun.testrunconfig + open-vcdiff.vsmdi = open-vcdiff.vsmdi + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "jsonwriter_test", "jsonwriter_test\jsonwriter_test.vcproj", "{5747CC62-C867-46B5-B6E2-2232F5DCEF82}" + ProjectSection(ProjectDependencies) = postProject + {C498DA26-B014-44BD-A387-EB6C3CE16FCF} = {C498DA26-B014-44BD-A387-EB6C3CE16FCF} + {429392EB-55A9-4344-913C-DEE5F02B538D} = {429392EB-55A9-4344-913C-DEE5F02B538D} + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} = {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246} + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246}.Debug|Win32.ActiveCfg = Debug|Win32 + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246}.Debug|Win32.Build.0 = Debug|Win32 + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246}.Release|Win32.ActiveCfg = Release|Win32 + {A49D16EE-E69E-4B5D-9CB7-ABEF79BB4246}.Release|Win32.Build.0 = Release|Win32 + {1066F2E6-3F29-4D3D-9BBA-FD1D360099DD}.Debug|Win32.ActiveCfg = Debug|Win32 + {1066F2E6-3F29-4D3D-9BBA-FD1D360099DD}.Debug|Win32.Build.0 = Debug|Win32 + {1066F2E6-3F29-4D3D-9BBA-FD1D360099DD}.Release|Win32.ActiveCfg = Release|Win32 + {1066F2E6-3F29-4D3D-9BBA-FD1D360099DD}.Release|Win32.Build.0 = Release|Win32 + {C498DA26-B014-44BD-A387-EB6C3CE16FCF}.Debug|Win32.ActiveCfg = Debug|Win32 + {C498DA26-B014-44BD-A387-EB6C3CE16FCF}.Debug|Win32.Build.0 = Debug|Win32 + {C498DA26-B014-44BD-A387-EB6C3CE16FCF}.Release|Win32.ActiveCfg = Release|Win32 + {C498DA26-B014-44BD-A387-EB6C3CE16FCF}.Release|Win32.Build.0 = Release|Win32 + {D11A04C5-0B05-4E08-AAB2-8BC64DE56A84}.Debug|Win32.ActiveCfg = Debug|Win32 + {D11A04C5-0B05-4E08-AAB2-8BC64DE56A84}.Debug|Win32.Build.0 = Debug|Win32 + {D11A04C5-0B05-4E08-AAB2-8BC64DE56A84}.Release|Win32.ActiveCfg = Release|Win32 + {D11A04C5-0B05-4E08-AAB2-8BC64DE56A84}.Release|Win32.Build.0 = Release|Win32 + {23DDE803-E417-41CE-9D24-B823A990D0FC}.Debug|Win32.ActiveCfg = Debug|Win32 + {23DDE803-E417-41CE-9D24-B823A990D0FC}.Debug|Win32.Build.0 = Debug|Win32 + {23DDE803-E417-41CE-9D24-B823A990D0FC}.Release|Win32.ActiveCfg = Release|Win32 + {23DDE803-E417-41CE-9D24-B823A990D0FC}.Release|Win32.Build.0 = Release|Win32 + {B1995AAE-F24B-4079-8F6B-8333ED6B13A6}.Debug|Win32.ActiveCfg = Debug|Win32 + {B1995AAE-F24B-4079-8F6B-8333ED6B13A6}.Debug|Win32.Build.0 = Debug|Win32 + {B1995AAE-F24B-4079-8F6B-8333ED6B13A6}.Release|Win32.ActiveCfg = Release|Win32 + {B1995AAE-F24B-4079-8F6B-8333ED6B13A6}.Release|Win32.Build.0 = Release|Win32 + {CB30C697-D33C-4410-94DE-D7CC481A5284}.Debug|Win32.ActiveCfg = Debug|Win32 + {CB30C697-D33C-4410-94DE-D7CC481A5284}.Debug|Win32.Build.0 = Debug|Win32 + {CB30C697-D33C-4410-94DE-D7CC481A5284}.Release|Win32.ActiveCfg = Release|Win32 + {CB30C697-D33C-4410-94DE-D7CC481A5284}.Release|Win32.Build.0 = Release|Win32 + {3E9B97B7-7C57-44EB-BBBC-2C3B56595F0E}.Debug|Win32.ActiveCfg = Debug|Win32 + {3E9B97B7-7C57-44EB-BBBC-2C3B56595F0E}.Debug|Win32.Build.0 = Debug|Win32 + {3E9B97B7-7C57-44EB-BBBC-2C3B56595F0E}.Release|Win32.ActiveCfg = Release|Win32 + {3E9B97B7-7C57-44EB-BBBC-2C3B56595F0E}.Release|Win32.Build.0 = Release|Win32 + {11C53677-B705-42C2-B50F-87F5E599ABF1}.Debug|Win32.ActiveCfg = Debug|Win32 + {11C53677-B705-42C2-B50F-87F5E599ABF1}.Debug|Win32.Build.0 = Debug|Win32 + {11C53677-B705-42C2-B50F-87F5E599ABF1}.Release|Win32.ActiveCfg = Release|Win32 + {11C53677-B705-42C2-B50F-87F5E599ABF1}.Release|Win32.Build.0 = Release|Win32 + {43DD2BA4-493D-49B7-825E-10279C89F0F9}.Debug|Win32.ActiveCfg = Debug|Win32 + {43DD2BA4-493D-49B7-825E-10279C89F0F9}.Debug|Win32.Build.0 = Debug|Win32 + {43DD2BA4-493D-49B7-825E-10279C89F0F9}.Release|Win32.ActiveCfg = Release|Win32 + {43DD2BA4-493D-49B7-825E-10279C89F0F9}.Release|Win32.Build.0 = Release|Win32 + {CCA8B377-0D14-4AD3-B5D8-7DD935A2D6D8}.Debug|Win32.ActiveCfg = Debug|Win32 + {CCA8B377-0D14-4AD3-B5D8-7DD935A2D6D8}.Debug|Win32.Build.0 = Debug|Win32 + {CCA8B377-0D14-4AD3-B5D8-7DD935A2D6D8}.Release|Win32.ActiveCfg = Release|Win32 + {CCA8B377-0D14-4AD3-B5D8-7DD935A2D6D8}.Release|Win32.Build.0 = Release|Win32 + {893DCA29-2740-4C49-993F-42A9B1EF365B}.Debug|Win32.ActiveCfg = Debug|Win32 + {893DCA29-2740-4C49-993F-42A9B1EF365B}.Debug|Win32.Build.0 = Debug|Win32 + {893DCA29-2740-4C49-993F-42A9B1EF365B}.Release|Win32.ActiveCfg = Release|Win32 + {893DCA29-2740-4C49-993F-42A9B1EF365B}.Release|Win32.Build.0 = Release|Win32 + {A9879052-0DD1-413D-B631-A82044BFCF1A}.Debug|Win32.ActiveCfg = Debug|Win32 + {A9879052-0DD1-413D-B631-A82044BFCF1A}.Debug|Win32.Build.0 = Debug|Win32 + {A9879052-0DD1-413D-B631-A82044BFCF1A}.Release|Win32.ActiveCfg = Release|Win32 + {A9879052-0DD1-413D-B631-A82044BFCF1A}.Release|Win32.Build.0 = Release|Win32 + {9A887AB5-E053-4ED6-870B-3330A1F4ED83}.Debug|Win32.ActiveCfg = Debug|Win32 + {9A887AB5-E053-4ED6-870B-3330A1F4ED83}.Debug|Win32.Build.0 = Debug|Win32 + {9A887AB5-E053-4ED6-870B-3330A1F4ED83}.Release|Win32.ActiveCfg = Release|Win32 + {9A887AB5-E053-4ED6-870B-3330A1F4ED83}.Release|Win32.Build.0 = Release|Win32 + {890398AC-020D-48C7-A054-6E03B1403AC7}.Debug|Win32.ActiveCfg = Debug|Win32 + {890398AC-020D-48C7-A054-6E03B1403AC7}.Debug|Win32.Build.0 = Debug|Win32 + {890398AC-020D-48C7-A054-6E03B1403AC7}.Release|Win32.ActiveCfg = Release|Win32 + {890398AC-020D-48C7-A054-6E03B1403AC7}.Release|Win32.Build.0 = Release|Win32 + {429392EB-55A9-4344-913C-DEE5F02B538D}.Debug|Win32.ActiveCfg = Debug|Win32 + {429392EB-55A9-4344-913C-DEE5F02B538D}.Debug|Win32.Build.0 = Debug|Win32 + {429392EB-55A9-4344-913C-DEE5F02B538D}.Release|Win32.ActiveCfg = Release|Win32 + {429392EB-55A9-4344-913C-DEE5F02B538D}.Release|Win32.Build.0 = Release|Win32 + {ABFF6897-3B7F-41FB-BB70-15E47AC81856}.Debug|Win32.ActiveCfg = Debug|Win32 + {ABFF6897-3B7F-41FB-BB70-15E47AC81856}.Debug|Win32.Build.0 = Debug|Win32 + {ABFF6897-3B7F-41FB-BB70-15E47AC81856}.Release|Win32.ActiveCfg = Release|Win32 + {ABFF6897-3B7F-41FB-BB70-15E47AC81856}.Release|Win32.Build.0 = Release|Win32 + {EDC1569F-95B3-4536-9674-6AD9A0ADAAF4}.Debug|Win32.ActiveCfg = Debug|Win32 + {EDC1569F-95B3-4536-9674-6AD9A0ADAAF4}.Debug|Win32.Build.0 = Debug|Win32 + {EDC1569F-95B3-4536-9674-6AD9A0ADAAF4}.Release|Win32.ActiveCfg = Release|Win32 + {EDC1569F-95B3-4536-9674-6AD9A0ADAAF4}.Release|Win32.Build.0 = Release|Win32 + {BA30F970-A2B3-4D04-81D5-B5C73794BEDE}.Debug|Win32.ActiveCfg = Debug|Win32 + {BA30F970-A2B3-4D04-81D5-B5C73794BEDE}.Debug|Win32.Build.0 = Debug|Win32 + {BA30F970-A2B3-4D04-81D5-B5C73794BEDE}.Release|Win32.ActiveCfg = Release|Win32 + {BA30F970-A2B3-4D04-81D5-B5C73794BEDE}.Release|Win32.Build.0 = Release|Win32 + {DD8527B2-44B9-46A8-9E65-3A83A10418C9}.Debug|Win32.ActiveCfg = Debug|Win32 + {DD8527B2-44B9-46A8-9E65-3A83A10418C9}.Debug|Win32.Build.0 = Debug|Win32 + {DD8527B2-44B9-46A8-9E65-3A83A10418C9}.Release|Win32.ActiveCfg = Release|Win32 + {DD8527B2-44B9-46A8-9E65-3A83A10418C9}.Release|Win32.Build.0 = Release|Win32 + {6927AEDE-A96D-42FD-9431-2007EAB11CB4}.Debug|Win32.ActiveCfg = Debug|Win32 + {6927AEDE-A96D-42FD-9431-2007EAB11CB4}.Debug|Win32.Build.0 = Debug|Win32 + {6927AEDE-A96D-42FD-9431-2007EAB11CB4}.Release|Win32.ActiveCfg = Release|Win32 + {6927AEDE-A96D-42FD-9431-2007EAB11CB4}.Release|Win32.Build.0 = Release|Win32 + {02A1361F-ED8F-4280-8475-E79C8605D5A2}.Debug|Win32.ActiveCfg = Debug|Win32 + {02A1361F-ED8F-4280-8475-E79C8605D5A2}.Debug|Win32.Build.0 = Debug|Win32 + {02A1361F-ED8F-4280-8475-E79C8605D5A2}.Release|Win32.ActiveCfg = Release|Win32 + {02A1361F-ED8F-4280-8475-E79C8605D5A2}.Release|Win32.Build.0 = Release|Win32 + {033F203E-3AB6-4444-874A-F0EEE6938FEC}.Debug|Win32.ActiveCfg = Debug|Win32 + {033F203E-3AB6-4444-874A-F0EEE6938FEC}.Debug|Win32.Build.0 = Debug|Win32 + {033F203E-3AB6-4444-874A-F0EEE6938FEC}.Release|Win32.ActiveCfg = Release|Win32 + {033F203E-3AB6-4444-874A-F0EEE6938FEC}.Release|Win32.Build.0 = Release|Win32 + {30B18111-3E93-4EA5-BEA9-17B08BC8E49D}.Debug|Win32.ActiveCfg = Debug|Win32 + {30B18111-3E93-4EA5-BEA9-17B08BC8E49D}.Debug|Win32.Build.0 = Debug|Win32 + {30B18111-3E93-4EA5-BEA9-17B08BC8E49D}.Release|Win32.ActiveCfg = Release|Win32 + {30B18111-3E93-4EA5-BEA9-17B08BC8E49D}.Release|Win32.Build.0 = Release|Win32 + {5747CC62-C867-46B5-B6E2-2232F5DCEF82}.Debug|Win32.ActiveCfg = Debug|Win32 + {5747CC62-C867-46B5-B6E2-2232F5DCEF82}.Debug|Win32.Build.0 = Debug|Win32 + {5747CC62-C867-46B5-B6E2-2232F5DCEF82}.Release|Win32.ActiveCfg = Release|Win32 + {5747CC62-C867-46B5-B6E2-2232F5DCEF82}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/vsprojects/output_string_test/output_string_test.vcproj b/vsprojects/output_string_test/output_string_test.vcproj new file mode 100644 index 0000000..162db1c --- /dev/null +++ b/vsprojects/output_string_test/output_string_test.vcproj @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/rolling_hash_test/rolling_hash_test.vcproj b/vsprojects/rolling_hash_test/rolling_hash_test.vcproj new file mode 100644 index 0000000..118a05c --- /dev/null +++ b/vsprojects/rolling_hash_test/rolling_hash_test.vcproj @@ -0,0 +1,209 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/stdint.h b/vsprojects/stdint.h new file mode 100644 index 0000000..d1db4a4 --- /dev/null +++ b/vsprojects/stdint.h @@ -0,0 +1,30 @@ +// Copyright 2008 Google Inc. +// Author: Lincoln Smith +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Replacement for the standard , to be used only when the +// package is compiled using MS Visual Studio. + +#ifndef OPEN_VCDIFF_STDINT_H_ +#define OPEN_VCDIFF_STDINT_H_ + +typedef __int16 int16_t; +typedef __int32 int32_t; +typedef __int64 int64_t; + +typedef unsigned __int16 uint16_t; +typedef unsigned __int32 uint32_t; +typedef unsigned __int64 uint64_t; + +#endif // OPEN_VCDIFF_STDINT_H_ diff --git a/vsprojects/varint_bigendian_test/varint_bigendian_test.vcproj b/vsprojects/varint_bigendian_test/varint_bigendian_test.vcproj new file mode 100644 index 0000000..fcec7a7 --- /dev/null +++ b/vsprojects/varint_bigendian_test/varint_bigendian_test.vcproj @@ -0,0 +1,209 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/vcdcom/vcdcom.vcproj b/vsprojects/vcdcom/vcdcom.vcproj new file mode 100644 index 0000000..8c3637b --- /dev/null +++ b/vsprojects/vcdcom/vcdcom.vcproj @@ -0,0 +1,231 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/vcddec/vcddec.vcproj b/vsprojects/vcddec/vcddec.vcproj new file mode 100644 index 0000000..22b93f5 --- /dev/null +++ b/vsprojects/vcddec/vcddec.vcproj @@ -0,0 +1,200 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/vcdecoder1_test/vcdecoder1_test.vcproj b/vsprojects/vcdecoder1_test/vcdecoder1_test.vcproj new file mode 100644 index 0000000..f3fc011 --- /dev/null +++ b/vsprojects/vcdecoder1_test/vcdecoder1_test.vcproj @@ -0,0 +1,211 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/vcdecoder2_test/vcdecoder2_test.vcproj b/vsprojects/vcdecoder2_test/vcdecoder2_test.vcproj new file mode 100644 index 0000000..80d970f --- /dev/null +++ b/vsprojects/vcdecoder2_test/vcdecoder2_test.vcproj @@ -0,0 +1,211 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/vcdecoder3_test/vcdecoder3_test.vcproj b/vsprojects/vcdecoder3_test/vcdecoder3_test.vcproj new file mode 100644 index 0000000..03791b4 --- /dev/null +++ b/vsprojects/vcdecoder3_test/vcdecoder3_test.vcproj @@ -0,0 +1,211 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/vcdecoder4_test/vcdecoder4_test.vcproj b/vsprojects/vcdecoder4_test/vcdecoder4_test.vcproj new file mode 100644 index 0000000..bab250e --- /dev/null +++ b/vsprojects/vcdecoder4_test/vcdecoder4_test.vcproj @@ -0,0 +1,211 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/vcdecoder5_test/vcdecoder5_test.vcproj b/vsprojects/vcdecoder5_test/vcdecoder5_test.vcproj new file mode 100644 index 0000000..6fa93f7 --- /dev/null +++ b/vsprojects/vcdecoder5_test/vcdecoder5_test.vcproj @@ -0,0 +1,211 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/vcdecoder_test_common/vcdecoder_test_common.vcproj b/vsprojects/vcdecoder_test_common/vcdecoder_test_common.vcproj new file mode 100644 index 0000000..55d41be --- /dev/null +++ b/vsprojects/vcdecoder_test_common/vcdecoder_test_common.vcproj @@ -0,0 +1,175 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/vcdenc/vcdenc.vcproj b/vsprojects/vcdenc/vcdenc.vcproj new file mode 100644 index 0000000..368200d --- /dev/null +++ b/vsprojects/vcdenc/vcdenc.vcproj @@ -0,0 +1,235 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/vcdiff/vcdiff.vcproj b/vsprojects/vcdiff/vcdiff.vcproj new file mode 100644 index 0000000..99a24fb --- /dev/null +++ b/vsprojects/vcdiff/vcdiff.vcproj @@ -0,0 +1,263 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/vcdiff_test.bat b/vsprojects/vcdiff_test.bat new file mode 100755 index 0000000..bcc9b90 --- /dev/null +++ b/vsprojects/vcdiff_test.bat @@ -0,0 +1,459 @@ +@echo off +rem Copyright 2008 Google Inc. +rem Author: Lincoln Smith +rem +rem Licensed under the Apache License, Version 2.0 (the "License"); +rem you may not use this file except in compliance with the License. +rem You may obtain a copy of the License at +rem +rem http:#www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. +rem +rem This script tests the correctness of the vcdiff.exe command-line +rem executable. It is the Windows equivalent of the src/vcdiff_test.sh +rem shell script for Unix systems, though some of the tests from that +rem script are not included here. +rem +rem If you add a new test here, please add the same test to +rem src/vcdiff_test.sh. + +rem The script should be passed one argument which is the location of the +rem vcdiff.exe executable. +if not exist %1 ^ + ( echo Must pass location of vcdiff.exe as script argument ^ + &&exit /b 1 ) +set VCDIFF=%1 + +rem These options are only needed for the encoder; +rem the decoder will recognize the interleaved and checksum formats +rem without needing to specify any options. +set TESTDATA_DIR=..\..\testdata +set VCD_OPTIONS=-interleaved -checksum +set DICTIONARY_FILE=%TESTDATA_DIR%\configure.ac.v0.1 +set TARGET_FILE=%TESTDATA_DIR%\configure.ac.v0.2 +set DELTA_FILE=%TEMP%\configure.ac.vcdiff +set OUTPUT_TARGET_FILE=%TEMP%\configure.ac.output +set MALICIOUS_ENCODING=%TESTDATA_DIR%\allocates_4gb.vcdiff +set EMPTY_FILE=%TESTDATA_DIR%\empty_file.txt + +rem vcdiff with no arguments shows usage information & error result +%VCDIFF% ^ + && ( echo vcdiff with no arguments should fail, but succeeded ^ + &&exit /b 1 ) +echo Test 1 ok + +rem vcdiff with three arguments but without "encode" or "decode" +rem shows usage information & error result +%VCDIFF% %VCD_OPTIONS% ^ + -dictionary %DICTIONARY_FILE% -target %TARGET_FILE% -delta %DELTA_FILE% ^ + && ( echo vcdiff without operation argument should fail, but succeeded ^ + &&exit /b 1 ) +echo Test 2 ok + +rem vcdiff with all three arguments. Verify that output file matches target file +%VCDIFF% %VCD_OPTIONS% ^ + encode -dictionary %DICTIONARY_FILE% ^ + -target %TARGET_FILE% ^ + -delta %DELTA_FILE% ^ + || ( echo Encode with three arguments failed ^ + &&exit /b 1 ) +%VCDIFF% decode -dictionary %DICTIONARY_FILE% ^ + -delta %DELTA_FILE% ^ + -target %OUTPUT_TARGET_FILE% ^ + || ( echo Decode with three arguments failed ^ + &&exit /b 1 ) +fc /b %TARGET_FILE% %OUTPUT_TARGET_FILE% ^ + || ( echo Decoded target does not match original ^ + &&exit /b 1 ) +echo Test 3 ok + +del %DELTA_FILE% +del %OUTPUT_TARGET_FILE% + +rem open-vcdiff Issue 7 +rem (http://code.google.com/p/open-vcdiff/issues/detail?id=7) +rem vcdiff using stdin/stdout. Verify that output file matches target file +%VCDIFF% %VCD_OPTIONS% ^ + encode -dictionary %DICTIONARY_FILE% ^ + < %TARGET_FILE% ^ + > %DELTA_FILE% ^ + || ( echo Encode using stdin/stdout failed ^ + &&exit /b 1 ) +%VCDIFF% decode -dictionary %DICTIONARY_FILE% ^ + < %DELTA_FILE% ^ + > %OUTPUT_TARGET_FILE% ^ + || ( echo Decode using stdin/stdout failed ^ + &&exit /b 1 ) +fc /b %TARGET_FILE% %OUTPUT_TARGET_FILE% ^ + || ( echo Decoded target does not match original ^ + &&exit /b 1 ) +echo Test 4 ok + +del %DELTA_FILE% +del %OUTPUT_TARGET_FILE% + +rem vcdiff with mixed stdin/stdout. +%VCDIFF% %VCD_OPTIONS% ^ + encode -dictionary %DICTIONARY_FILE% ^ + -target %TARGET_FILE% ^ + > %DELTA_FILE% ^ + || ( echo Encode with mixed arguments failed ^ + &&exit /b 1 ) +%VCDIFF% decode -dictionary %DICTIONARY_FILE% ^ + -delta %DELTA_FILE% ^ + > %OUTPUT_TARGET_FILE% ^ + || ( echo Decode with mixed arguments failed ^ + &&exit /b 1 ) +fc /b %TARGET_FILE% %OUTPUT_TARGET_FILE% ^ + || ( echo Decoded target does not match original ^ + &&exit /b 1 ) +echo Test 5 ok + +del %DELTA_FILE% +del %OUTPUT_TARGET_FILE% + +%VCDIFF% %VCD_OPTIONS% ^ + encode -dictionary %DICTIONARY_FILE% ^ + < %TARGET_FILE% ^ + -delta %DELTA_FILE% ^ + || ( echo Encode with mixed arguments failed ^ + &&exit /b 1 ) +%VCDIFF% decode -dictionary %DICTIONARY_FILE% ^ + < %DELTA_FILE% ^ + -target %OUTPUT_TARGET_FILE% ^ + || ( echo Decode with mixed arguments failed ^ + &&exit /b 1 ) +fc /b %TARGET_FILE% %OUTPUT_TARGET_FILE% ^ + || ( echo Decoded target does not match original ^ + &&exit /b 1 ) +echo Test 6 ok + +del %OUTPUT_TARGET_FILE% +rem Don't remove %DELTA_FILE%; use it for the next test + +rem If using the wrong dictionary, and dictionary is smaller than the original +rem dictionary, vcdiff will spot the mistake and return an error. (It can't +rem detect the case where the wrong dictionary is larger than the right one.) +%VCDIFF% decode -dictionary %TARGET_FILE% ^ + -delta %DELTA_FILE% ^ + -target %OUTPUT_TARGET_FILE% ^ + && ( echo Decode using larger dictionary should fail, but succeeded ^ + &&exit /b 1 ) +echo Test 7 ok + +del %DELTA_FILE% +del %OUTPUT_TARGET_FILE% + +rem "vcdiff test" with all three arguments. +%VCDIFF% %VCD_OPTIONS% ^ + test -dictionary %DICTIONARY_FILE% ^ + -target %TARGET_FILE% ^ + -delta %DELTA_FILE% ^ + || ( echo vcdiff test with three arguments failed ^ + &&exit /b 1 ) +echo Test 8 ok + +del %DELTA_FILE% + +rem Dictionary file not found. +%VCDIFF% %VCD_OPTIONS% ^ + encode -dictionary %TEMP%\nonexistent_file ^ + -target %TARGET_FILE% ^ + -delta %DELTA_FILE% ^ + && ( echo vcdiff with missing dictionary file should fail, but succeeded ^ + &&exit /b 1 ) +echo Test 9 ok + +rem Target file not found. +%VCDIFF% %VCD_OPTIONS% ^ + encode -dictionary %DICTIONARY_FILE% ^ + -target %TEMP%\nonexistent_file ^ + -delta %DELTA_FILE% ^ + && ( echo vcdiff with missing target file should fail, but succeeded ^ + &&exit /b 1 ) +echo Test 10 ok + +rem Delta file not found. +%VCDIFF% decode -dictionary %DICTIONARY_FILE% ^ + -delta %TEMP%\nonexistent_file ^ + -target %OUTPUT_TARGET_FILE% ^ + && ( echo vcdiff with missing delta file should fail, but succeeded ^ + &&exit /b 1 ) +echo Test 11 ok + +rem Test using -stats flag +%VCDIFF% %VCD_OPTIONS% ^ + encode -dictionary %DICTIONARY_FILE% ^ + -target %TARGET_FILE% ^ + -delta %DELTA_FILE% ^ + -stats ^ + || ( echo Encode with -stats failed ^ + &&exit /b 1 ) +%VCDIFF% -stats ^ + decode -dictionary %DICTIONARY_FILE% ^ + -delta %DELTA_FILE% ^ + -target %OUTPUT_TARGET_FILE% ^ + || ( echo Decode with -stats failed ^ + &&exit /b 1 ) +fc /b %TARGET_FILE% %OUTPUT_TARGET_FILE% ^ + || ( echo Decoded target does not match original ^ + &&exit /b 1 ) +echo Test 13 ok + +del %DELTA_FILE% +del %OUTPUT_TARGET_FILE% + +rem open-vcdiff Issue 6 +rem (http://code.google.com/p/open-vcdiff/issues/detail?id=6) +rem Using empty file as dictionary should work, but (because dictionary is empty) +rem it will not produce a small delta file. +%VCDIFF% %VCD_OPTIONS% ^ + test -dictionary %EMPTY_FILE% ^ + -target %TARGET_FILE% ^ + -delta %DELTA_FILE% ^ + -stats ^ + || ( echo vcdiff test with empty file as dictionary failed ^ + &&exit /b 1 ) +echo Test 14 ok + +del %DELTA_FILE% + +rem Decode using something that isn't a delta file +%VCDIFF% decode -dictionary %DICTIONARY_FILE% ^ + -delta %DICTIONARY_FILE% ^ + -target %OUTPUT_TARGET_FILE% ^ + && ( echo vcdiff with invalid delta file should fail, but succeeded ^ + &&exit /b 1 ) +echo Test 17 ok + +%VCDIFF% %VCD_OPTIONS% ^ + encode -target %TARGET_FILE% ^ + -delta %DELTA_FILE% ^ + -dictionary ^ + && ( echo -dictionary option with no file name should fail, but succeeded ^ + &&exit /b 1 ) +echo Test 18 ok + +%VCDIFF% %VCD_OPTIONS% ^ + encode -dictionary %DICTIONARY_FILE% ^ + -delta %DELTA_FILE% ^ + -target ^ + && ( echo -target option with no file name should fail, but succeeded ^ + &&exit /b 1 ) +echo Test 19 ok + +%VCDIFF% %VCD_OPTIONS% ^ + encode -dictionary %DICTIONARY_FILE% ^ + -target %TARGET_FILE% ^ + -delta ^ + && ( echo -delta option with no file name should fail, but succeeded ^ + &&exit /b 1 ) +echo Test 20 ok + +%VCDIFF% %VCD_OPTIONS% ^ + encode -dictionary %DICTIONARY_FILE% ^ + -target %TARGET_FILE% ^ + -delta %DELTA_FILE% ^ + -buffersize ^ + && ( echo -buffersize option with no argument should fail, but succeeded ^ + &&exit /b 1 ) +echo Test 21 ok + +rem Using -buffersize=1 should still work. +%VCDIFF% %VCD_OPTIONS% ^ + test -dictionary %DICTIONARY_FILE% ^ + -target %TARGET_FILE% ^ + -delta %DELTA_FILE% ^ + -buffersize 1 ^ + -stats ^ + || ( echo vcdiff test with -buffersize=1 failed ^ + &&exit /b 1 ) +echo Test 22 ok + +del %DELTA_FILE% + +rem Using -buffersize=1 with stdin/stdout means that vcdiff +rem will create a separate target window for each byte read. +%VCDIFF% encode -dictionary %DICTIONARY_FILE% ^ + -buffersize 1 ^ + -stats ^ + < %TARGET_FILE% ^ + > %DELTA_FILE% ^ + || ( echo Encode using stdin/stdout with -buffersize=1 failed ^ + &&exit /b 1 ) +%VCDIFF% decode -dictionary %DICTIONARY_FILE% ^ + -buffersize 1 ^ + -stats ^ + < %DELTA_FILE% ^ + > %OUTPUT_TARGET_FILE% ^ + || ( echo Decode using stdin/stdout with -buffersize=1 failed ^ + &&exit /b 1 ) +fc /b %TARGET_FILE% %OUTPUT_TARGET_FILE% ^ + || ( echo Decoded target does not match original with -buffersize=1 ^ + &&exit /b 1 ) +echo Test 23 ok + +del %DELTA_FILE% +del %OUTPUT_TARGET_FILE% + +rem Using -buffersize=0 should fail. +%VCDIFF% %VCD_OPTIONS% ^ + test -dictionary %DICTIONARY_FILE% ^ + -target %TARGET_FILE% ^ + -delta %DELTA_FILE% ^ + -buffersize 0 ^ + && ( echo vcdiff test with -buffersize=0 should fail, but succeeded ^ + &&exit /b 1 ) +echo Test 24 ok + +del %DELTA_FILE% + +rem Using -buffersize=128M (larger than default maximum) should still work. +%VCDIFF% %VCD_OPTIONS% ^ + test -dictionary %DICTIONARY_FILE% ^ + -target %TARGET_FILE% ^ + -delta %DELTA_FILE% ^ + -buffersize 134217728 ^ + -stats ^ + || ( echo vcdiff test with -buffersize=128M failed ^ + &&exit /b 1 ) +echo Test 25 ok + +del %DELTA_FILE% + +%VCDIFF% %VCD_OPTIONS% ^ + test -dictionary %DICTIONARY_FILE% ^ + -target %TARGET_FILE% ^ + -delta %DELTA_FILE% ^ + -froobish ^ + && ( echo vdiff test with unrecognized option should fail, but succeeded ^ + &&exit /b 1 ) +echo Test 26 ok + +%VCDIFF% %VCD_OPTIONS% ^ + encode -target %TARGET_FILE% ^ + -delta %DELTA_FILE% ^ + && ( echo encode with no dictionary option should fail, but succeeded ^ + &&exit /b 1 ) +echo Test 27 ok + +%VCDIFF% decode -target %TARGET_FILE% ^ + -delta %DELTA_FILE% ^ + && ( echo decode with no dictionary option should fail, but succeeded ^ + &&exit /b 1 ) +echo Test 28 ok + +rem Remove -interleaved and -checksum options +%VCDIFF% encode -dictionary %DICTIONARY_FILE% ^ + < %TARGET_FILE% ^ + > %DELTA_FILE% ^ + || ( echo Encode without -interleaved and -checksum options failed ^ + &&exit /b 1 ) +%VCDIFF% decode -dictionary %DICTIONARY_FILE% ^ + < %DELTA_FILE% ^ + > %OUTPUT_TARGET_FILE% ^ + || ( echo Decode non-interleaved output failed ^ + &&exit /b 1 ) +fc /b %TARGET_FILE% %OUTPUT_TARGET_FILE% ^ + || ( echo Decoded target does not match original with -interleaved ^ + &&exit /b 1 ) +echo Test 29 ok + +rem -target_matches option +%VCDIFF% encode -dictionary %DICTIONARY_FILE% ^ + -target_matches ^ + -stats ^ + < %TARGET_FILE% ^ + > %DELTA_FILE% ^ + || ( echo Encode with -target_matches option failed ^ + &&exit /b 1 ) +rem The decode operation ignores the -target_matches option. +%VCDIFF% decode -dictionary %DICTIONARY_FILE% ^ + < %DELTA_FILE% ^ + > %OUTPUT_TARGET_FILE% ^ + || ( echo Decode output failed with -target_matches ^ + &&exit /b 1 ) +fc /b %TARGET_FILE% %OUTPUT_TARGET_FILE% ^ + || ( echo Decoded target does not match original with -target_matches ^ + &&exit /b 1 ) +echo Test 30 ok + +del %DELTA_FILE% +del %OUTPUT_TARGET_FILE% + +%VCDIFF% %VCD_OPTIONS% ^ + dencode -dictionary %DICTIONARY_FILE% ^ + -target %TARGET_FILE% ^ + -delta %DELTA_FILE% ^ + && ( echo vdiff with unrecognized action should fail, but succeeded ^ + &&exit /b 1 ) +echo Test 31 ok + +%VCDIFF% %VCD_OPTIONS% ^ + test -dictionary %DICTIONARY_FILE% ^ + -target %TARGET_FILE% ^ + && ( echo vdiff test without delta option should fail, but succeeded ^ + &&exit /b 1 ) +echo Test 32 ok + +%VCDIFF% %VCD_OPTIONS% ^ + test -dictionary %DICTIONARY_FILE% ^ + -delta %DELTA_FILE% ^ + && ( echo vdiff test without target option should fail, but succeeded ^ + &&exit /b 1 ) +echo Test 33 ok + +rem open-vcdiff Issue 8 +rem (http://code.google.com/p/open-vcdiff/issues/detail?id=8) +rem A malicious encoding that tries to produce a 4GB target file made up of 64 +rem windows, each window having a size of 64MB. +%VCDIFF% %VCD_OPTIONS% ^ + decode -dictionary %DICTIONARY_FILE% ^ + -delta %MALICIOUS_ENCODING% ^ + -target %OUTPUT_TARGET_FILE% ^ + -max_target_file_size=65536 ^ + && ( echo Decoding malicious file should fail, but succeeded ^ + &&exit /b 1 ) +echo Test 34 ok + +del %OUTPUT_TARGET_FILE% + +%VCDIFF% %VCD_OPTIONS% ^ + decode -dictionary %DICTIONARY_FILE% ^ + -delta %MALICIOUS_ENCODING% ^ + -target %OUTPUT_TARGET_FILE% ^ + -max_target_window_size=65536 ^ + && ( echo Decoding malicious file should fail, but succeeded ^ + &&exit /b 1 ) +echo Test 35 ok + +del %OUTPUT_TARGET_FILE% + +rem Decoding a small target with the -max_target_file_size option should succeed. +%VCDIFF% %VCD_OPTIONS% ^ + test -dictionary %DICTIONARY_FILE% ^ + -target %TARGET_FILE% ^ + -delta %DELTA_FILE% ^ + -max_target_file_size=65536 ^ + || ( echo vcdiff test with -max_target_file_size failed ^ + &&exit /b 1 ) +echo Test 36 ok + +rem Decoding a small target with -max_target_window_size option should succeed. +%VCDIFF% %VCD_OPTIONS% ^ + test -dictionary %DICTIONARY_FILE% ^ + -target %TARGET_FILE% ^ + -delta %DELTA_FILE% ^ + -max_target_window_size=65536 ^ + || ( echo vcdiff test with -max_target_window_size failed ^ + &&exit /b 1 ) +echo Test 37 ok + +del %DELTA_FILE% + +echo PASS diff --git a/vsprojects/vcdiff_test/vcdiff_test.vcproj b/vsprojects/vcdiff_test/vcdiff_test.vcproj new file mode 100644 index 0000000..ad05e47 --- /dev/null +++ b/vsprojects/vcdiff_test/vcdiff_test.vcproj @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/vcdiffengine_test/vcdiffengine_test.vcproj b/vsprojects/vcdiffengine_test/vcdiffengine_test.vcproj new file mode 100644 index 0000000..5bba010 --- /dev/null +++ b/vsprojects/vcdiffengine_test/vcdiffengine_test.vcproj @@ -0,0 +1,209 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsprojects/vcencoder_test/vcencoder_test.vcproj b/vsprojects/vcencoder_test/vcencoder_test.vcproj new file mode 100644 index 0000000..a38f729 --- /dev/null +++ b/vsprojects/vcencoder_test/vcencoder_test.vcproj @@ -0,0 +1,211 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3