extlz4 0.2.4.2 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +5 -5
  2. data/HISTORY.ja.md +25 -0
  3. data/README.md +49 -41
  4. data/bin/extlz4 +1 -1
  5. data/contrib/lz4/INSTALL +1 -0
  6. data/contrib/lz4/Makefile.inc +87 -0
  7. data/contrib/lz4/NEWS +89 -0
  8. data/contrib/lz4/README.md +42 -36
  9. data/contrib/lz4/build/README.md +55 -0
  10. data/contrib/lz4/build/VS2010/datagen/datagen.vcxproj +169 -0
  11. data/contrib/lz4/build/VS2010/frametest/frametest.vcxproj +176 -0
  12. data/contrib/lz4/build/VS2010/fullbench-dll/fullbench-dll.vcxproj +180 -0
  13. data/contrib/lz4/build/VS2010/fullbench/fullbench.vcxproj +176 -0
  14. data/contrib/lz4/build/VS2010/fuzzer/fuzzer.vcxproj +173 -0
  15. data/contrib/lz4/build/VS2010/liblz4-dll/liblz4-dll.rc +51 -0
  16. data/contrib/lz4/build/VS2010/liblz4-dll/liblz4-dll.vcxproj +179 -0
  17. data/contrib/lz4/build/VS2010/liblz4/liblz4.vcxproj +175 -0
  18. data/contrib/lz4/build/VS2010/lz4.sln +98 -0
  19. data/contrib/lz4/build/VS2010/lz4/lz4.rc +51 -0
  20. data/contrib/lz4/build/VS2010/lz4/lz4.vcxproj +189 -0
  21. data/contrib/lz4/build/VS2017/datagen/datagen.vcxproj +173 -0
  22. data/contrib/lz4/build/VS2017/frametest/frametest.vcxproj +180 -0
  23. data/contrib/lz4/build/VS2017/fullbench-dll/fullbench-dll.vcxproj +184 -0
  24. data/contrib/lz4/build/VS2017/fullbench/fullbench.vcxproj +180 -0
  25. data/contrib/lz4/build/VS2017/fuzzer/fuzzer.vcxproj +177 -0
  26. data/contrib/lz4/build/VS2017/liblz4-dll/liblz4-dll.rc +51 -0
  27. data/contrib/lz4/build/VS2017/liblz4-dll/liblz4-dll.vcxproj +183 -0
  28. data/contrib/lz4/build/VS2017/liblz4/liblz4.vcxproj +179 -0
  29. data/contrib/lz4/build/VS2017/lz4.sln +103 -0
  30. data/contrib/lz4/build/VS2017/lz4/lz4.rc +51 -0
  31. data/contrib/lz4/build/VS2017/lz4/lz4.vcxproj +164 -0
  32. data/contrib/lz4/build/cmake/CMakeLists.txt +235 -0
  33. data/contrib/lz4/lib/README.md +98 -34
  34. data/contrib/lz4/lib/liblz4-dll.rc.in +35 -0
  35. data/contrib/lz4/lib/lz4.c +1698 -681
  36. data/contrib/lz4/lib/lz4.h +546 -235
  37. data/contrib/lz4/lib/lz4frame.c +608 -378
  38. data/contrib/lz4/lib/lz4frame.h +315 -83
  39. data/contrib/lz4/lib/lz4frame_static.h +4 -100
  40. data/contrib/lz4/lib/lz4hc.c +1090 -282
  41. data/contrib/lz4/lib/lz4hc.h +276 -141
  42. data/contrib/lz4/lib/xxhash.c +371 -235
  43. data/contrib/lz4/lib/xxhash.h +128 -93
  44. data/contrib/lz4/ossfuzz/Makefile +78 -0
  45. data/contrib/lz4/ossfuzz/compress_frame_fuzzer.c +48 -0
  46. data/contrib/lz4/ossfuzz/compress_fuzzer.c +58 -0
  47. data/contrib/lz4/ossfuzz/compress_hc_fuzzer.c +64 -0
  48. data/contrib/lz4/ossfuzz/decompress_frame_fuzzer.c +75 -0
  49. data/contrib/lz4/ossfuzz/decompress_fuzzer.c +62 -0
  50. data/contrib/lz4/ossfuzz/fuzz.h +48 -0
  51. data/contrib/lz4/ossfuzz/fuzz_data_producer.c +77 -0
  52. data/contrib/lz4/ossfuzz/fuzz_data_producer.h +36 -0
  53. data/contrib/lz4/ossfuzz/fuzz_helpers.h +94 -0
  54. data/contrib/lz4/ossfuzz/lz4_helpers.c +51 -0
  55. data/contrib/lz4/ossfuzz/lz4_helpers.h +13 -0
  56. data/contrib/lz4/ossfuzz/ossfuzz.sh +23 -0
  57. data/contrib/lz4/ossfuzz/round_trip_frame_fuzzer.c +43 -0
  58. data/contrib/lz4/ossfuzz/round_trip_fuzzer.c +57 -0
  59. data/contrib/lz4/ossfuzz/round_trip_hc_fuzzer.c +44 -0
  60. data/contrib/lz4/ossfuzz/round_trip_stream_fuzzer.c +302 -0
  61. data/contrib/lz4/ossfuzz/standaloneengine.c +74 -0
  62. data/contrib/lz4/ossfuzz/travisoss.sh +26 -0
  63. data/contrib/lz4/tmp +0 -0
  64. data/contrib/lz4/tmpsparse +0 -0
  65. data/ext/blockapi.c +5 -5
  66. data/ext/extlz4.c +2 -0
  67. data/ext/extlz4.h +5 -0
  68. data/ext/frameapi.c +1 -1
  69. data/ext/hashargs.c +2 -2
  70. data/ext/hashargs.h +1 -1
  71. data/ext/lz4_amalgam.c +0 -23
  72. data/gemstub.rb +5 -16
  73. data/lib/extlz4.rb +51 -3
  74. data/lib/extlz4/oldstream.rb +1 -1
  75. data/test/common.rb +2 -2
  76. metadata +73 -16
  77. data/contrib/lz4/circle.yml +0 -39
  78. data/contrib/lz4/lib/lz4opt.h +0 -366
  79. data/lib/extlz4/version.rb +0 -3
@@ -0,0 +1,180 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup Label="ProjectConfigurations">
4
+ <ProjectConfiguration Include="Debug|Win32">
5
+ <Configuration>Debug</Configuration>
6
+ <Platform>Win32</Platform>
7
+ </ProjectConfiguration>
8
+ <ProjectConfiguration Include="Debug|x64">
9
+ <Configuration>Debug</Configuration>
10
+ <Platform>x64</Platform>
11
+ </ProjectConfiguration>
12
+ <ProjectConfiguration Include="Release|Win32">
13
+ <Configuration>Release</Configuration>
14
+ <Platform>Win32</Platform>
15
+ </ProjectConfiguration>
16
+ <ProjectConfiguration Include="Release|x64">
17
+ <Configuration>Release</Configuration>
18
+ <Platform>x64</Platform>
19
+ </ProjectConfiguration>
20
+ </ItemGroup>
21
+ <PropertyGroup Label="Globals">
22
+ <ProjectGuid>{6A4DF4EF-C77F-43C6-8901-DDCD20879E4E}</ProjectGuid>
23
+ <Keyword>Win32Proj</Keyword>
24
+ <RootNamespace>fullbench</RootNamespace>
25
+ <OutDir>$(SolutionDir)bin\$(Platform)_$(Configuration)\</OutDir>
26
+ <IntDir>$(SolutionDir)bin\obj\$(RootNamespace)_$(Platform)_$(Configuration)\</IntDir>
27
+ </PropertyGroup>
28
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
29
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
30
+ <ConfigurationType>Application</ConfigurationType>
31
+ <UseDebugLibraries>true</UseDebugLibraries>
32
+ <CharacterSet>Unicode</CharacterSet>
33
+ <PlatformToolset>v141</PlatformToolset>
34
+ </PropertyGroup>
35
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
36
+ <ConfigurationType>Application</ConfigurationType>
37
+ <UseDebugLibraries>true</UseDebugLibraries>
38
+ <CharacterSet>Unicode</CharacterSet>
39
+ <PlatformToolset>v141</PlatformToolset>
40
+ </PropertyGroup>
41
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
42
+ <ConfigurationType>Application</ConfigurationType>
43
+ <UseDebugLibraries>false</UseDebugLibraries>
44
+ <CharacterSet>Unicode</CharacterSet>
45
+ <WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
46
+ <PlatformToolset>v141</PlatformToolset>
47
+ </PropertyGroup>
48
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
49
+ <ConfigurationType>Application</ConfigurationType>
50
+ <UseDebugLibraries>false</UseDebugLibraries>
51
+ <CharacterSet>Unicode</CharacterSet>
52
+ <WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
53
+ <PlatformToolset>v141</PlatformToolset>
54
+ </PropertyGroup>
55
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
56
+ <ImportGroup Label="ExtensionSettings">
57
+ </ImportGroup>
58
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
59
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60
+ </ImportGroup>
61
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
62
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
63
+ </ImportGroup>
64
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
65
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
66
+ </ImportGroup>
67
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
68
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
69
+ </ImportGroup>
70
+ <PropertyGroup Label="UserMacros" />
71
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
72
+ <LinkIncremental>true</LinkIncremental>
73
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
74
+ </PropertyGroup>
75
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
76
+ <LinkIncremental>true</LinkIncremental>
77
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
78
+ <RunCodeAnalysis>true</RunCodeAnalysis>
79
+ </PropertyGroup>
80
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
81
+ <LinkIncremental>false</LinkIncremental>
82
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
83
+ </PropertyGroup>
84
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
85
+ <LinkIncremental>false</LinkIncremental>
86
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
87
+ <RunCodeAnalysis>true</RunCodeAnalysis>
88
+ </PropertyGroup>
89
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
90
+ <ClCompile>
91
+ <PrecompiledHeader>
92
+ </PrecompiledHeader>
93
+ <WarningLevel>Level4</WarningLevel>
94
+ <Optimization>Disabled</Optimization>
95
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
96
+ <TreatWarningAsError>true</TreatWarningAsError>
97
+ <EnablePREfast>false</EnablePREfast>
98
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreadedDebug</RuntimeLibrary>
99
+ </ClCompile>
100
+ <Link>
101
+ <SubSystem>Console</SubSystem>
102
+ <GenerateDebugInformation>true</GenerateDebugInformation>
103
+ </Link>
104
+ </ItemDefinitionGroup>
105
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
106
+ <ClCompile>
107
+ <PrecompiledHeader>
108
+ </PrecompiledHeader>
109
+ <WarningLevel>Level4</WarningLevel>
110
+ <Optimization>Disabled</Optimization>
111
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
112
+ <TreatWarningAsError>true</TreatWarningAsError>
113
+ <EnablePREfast>true</EnablePREfast>
114
+ <AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
115
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreadedDebug</RuntimeLibrary>
116
+ </ClCompile>
117
+ <Link>
118
+ <SubSystem>Console</SubSystem>
119
+ <GenerateDebugInformation>true</GenerateDebugInformation>
120
+ </Link>
121
+ </ItemDefinitionGroup>
122
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
123
+ <ClCompile>
124
+ <WarningLevel>Level4</WarningLevel>
125
+ <PrecompiledHeader>
126
+ </PrecompiledHeader>
127
+ <Optimization>MaxSpeed</Optimization>
128
+ <FunctionLevelLinking>true</FunctionLevelLinking>
129
+ <IntrinsicFunctions>true</IntrinsicFunctions>
130
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
131
+ <TreatWarningAsError>false</TreatWarningAsError>
132
+ <EnablePREfast>false</EnablePREfast>
133
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreaded</RuntimeLibrary>
134
+ </ClCompile>
135
+ <Link>
136
+ <SubSystem>Console</SubSystem>
137
+ <GenerateDebugInformation>true</GenerateDebugInformation>
138
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
139
+ <OptimizeReferences>true</OptimizeReferences>
140
+ </Link>
141
+ </ItemDefinitionGroup>
142
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
143
+ <ClCompile>
144
+ <WarningLevel>Level4</WarningLevel>
145
+ <PrecompiledHeader>
146
+ </PrecompiledHeader>
147
+ <Optimization>MaxSpeed</Optimization>
148
+ <FunctionLevelLinking>true</FunctionLevelLinking>
149
+ <IntrinsicFunctions>true</IntrinsicFunctions>
150
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
151
+ <TreatWarningAsError>false</TreatWarningAsError>
152
+ <EnablePREfast>true</EnablePREfast>
153
+ <AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
154
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreaded</RuntimeLibrary>
155
+ </ClCompile>
156
+ <Link>
157
+ <SubSystem>Console</SubSystem>
158
+ <GenerateDebugInformation>true</GenerateDebugInformation>
159
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
160
+ <OptimizeReferences>true</OptimizeReferences>
161
+ </Link>
162
+ </ItemDefinitionGroup>
163
+ <ItemGroup>
164
+ <ClCompile Include="..\..\..\lib\lz4.c" />
165
+ <ClCompile Include="..\..\..\lib\lz4frame.c" />
166
+ <ClCompile Include="..\..\..\lib\lz4hc.c" />
167
+ <ClCompile Include="..\..\..\lib\xxhash.c" />
168
+ <ClCompile Include="..\..\..\tests\fullbench.c" />
169
+ </ItemGroup>
170
+ <ItemGroup>
171
+ <ClInclude Include="..\..\..\lib\lz4.h" />
172
+ <ClInclude Include="..\..\..\lib\lz4frame.h" />
173
+ <ClInclude Include="..\..\..\lib\lz4frame_static.h" />
174
+ <ClInclude Include="..\..\..\lib\lz4hc.h" />
175
+ <ClInclude Include="..\..\..\lib\xxhash.h" />
176
+ </ItemGroup>
177
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
178
+ <ImportGroup Label="ExtensionTargets">
179
+ </ImportGroup>
180
+ </Project>
@@ -0,0 +1,177 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup Label="ProjectConfigurations">
4
+ <ProjectConfiguration Include="Debug|Win32">
5
+ <Configuration>Debug</Configuration>
6
+ <Platform>Win32</Platform>
7
+ </ProjectConfiguration>
8
+ <ProjectConfiguration Include="Debug|x64">
9
+ <Configuration>Debug</Configuration>
10
+ <Platform>x64</Platform>
11
+ </ProjectConfiguration>
12
+ <ProjectConfiguration Include="Release|Win32">
13
+ <Configuration>Release</Configuration>
14
+ <Platform>Win32</Platform>
15
+ </ProjectConfiguration>
16
+ <ProjectConfiguration Include="Release|x64">
17
+ <Configuration>Release</Configuration>
18
+ <Platform>x64</Platform>
19
+ </ProjectConfiguration>
20
+ </ItemGroup>
21
+ <PropertyGroup Label="Globals">
22
+ <ProjectGuid>{18B9F1A7-9C66-4352-898B-30804DADE0FD}</ProjectGuid>
23
+ <Keyword>Win32Proj</Keyword>
24
+ <RootNamespace>fuzzer</RootNamespace>
25
+ <OutDir>$(SolutionDir)bin\$(Platform)_$(Configuration)\</OutDir>
26
+ <IntDir>$(SolutionDir)bin\obj\$(RootNamespace)_$(Platform)_$(Configuration)\</IntDir>
27
+ </PropertyGroup>
28
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
29
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
30
+ <ConfigurationType>Application</ConfigurationType>
31
+ <UseDebugLibraries>true</UseDebugLibraries>
32
+ <CharacterSet>Unicode</CharacterSet>
33
+ <PlatformToolset>v141</PlatformToolset>
34
+ </PropertyGroup>
35
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
36
+ <ConfigurationType>Application</ConfigurationType>
37
+ <UseDebugLibraries>true</UseDebugLibraries>
38
+ <CharacterSet>Unicode</CharacterSet>
39
+ <PlatformToolset>v141</PlatformToolset>
40
+ </PropertyGroup>
41
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
42
+ <ConfigurationType>Application</ConfigurationType>
43
+ <UseDebugLibraries>false</UseDebugLibraries>
44
+ <CharacterSet>Unicode</CharacterSet>
45
+ <WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
46
+ <PlatformToolset>v141</PlatformToolset>
47
+ </PropertyGroup>
48
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
49
+ <ConfigurationType>Application</ConfigurationType>
50
+ <UseDebugLibraries>false</UseDebugLibraries>
51
+ <CharacterSet>Unicode</CharacterSet>
52
+ <WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
53
+ <PlatformToolset>v141</PlatformToolset>
54
+ </PropertyGroup>
55
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
56
+ <ImportGroup Label="ExtensionSettings">
57
+ </ImportGroup>
58
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
59
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60
+ </ImportGroup>
61
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
62
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
63
+ </ImportGroup>
64
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
65
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
66
+ </ImportGroup>
67
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
68
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
69
+ </ImportGroup>
70
+ <PropertyGroup Label="UserMacros" />
71
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
72
+ <LinkIncremental>true</LinkIncremental>
73
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
74
+ </PropertyGroup>
75
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
76
+ <LinkIncremental>true</LinkIncremental>
77
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
78
+ <RunCodeAnalysis>true</RunCodeAnalysis>
79
+ </PropertyGroup>
80
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
81
+ <LinkIncremental>false</LinkIncremental>
82
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
83
+ </PropertyGroup>
84
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
85
+ <LinkIncremental>false</LinkIncremental>
86
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
87
+ <RunCodeAnalysis>true</RunCodeAnalysis>
88
+ </PropertyGroup>
89
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
90
+ <ClCompile>
91
+ <PrecompiledHeader>
92
+ </PrecompiledHeader>
93
+ <WarningLevel>Level4</WarningLevel>
94
+ <Optimization>Disabled</Optimization>
95
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
96
+ <TreatWarningAsError>true</TreatWarningAsError>
97
+ <EnablePREfast>false</EnablePREfast>
98
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreadedDebug</RuntimeLibrary>
99
+ </ClCompile>
100
+ <Link>
101
+ <SubSystem>Console</SubSystem>
102
+ <GenerateDebugInformation>true</GenerateDebugInformation>
103
+ </Link>
104
+ </ItemDefinitionGroup>
105
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
106
+ <ClCompile>
107
+ <PrecompiledHeader>
108
+ </PrecompiledHeader>
109
+ <WarningLevel>Level4</WarningLevel>
110
+ <Optimization>Disabled</Optimization>
111
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
112
+ <TreatWarningAsError>true</TreatWarningAsError>
113
+ <EnablePREfast>true</EnablePREfast>
114
+ <AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
115
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreadedDebug</RuntimeLibrary>
116
+ </ClCompile>
117
+ <Link>
118
+ <SubSystem>Console</SubSystem>
119
+ <GenerateDebugInformation>true</GenerateDebugInformation>
120
+ </Link>
121
+ </ItemDefinitionGroup>
122
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
123
+ <ClCompile>
124
+ <WarningLevel>Level4</WarningLevel>
125
+ <PrecompiledHeader>
126
+ </PrecompiledHeader>
127
+ <Optimization>MaxSpeed</Optimization>
128
+ <FunctionLevelLinking>true</FunctionLevelLinking>
129
+ <IntrinsicFunctions>true</IntrinsicFunctions>
130
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
131
+ <TreatWarningAsError>false</TreatWarningAsError>
132
+ <EnablePREfast>false</EnablePREfast>
133
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreaded</RuntimeLibrary>
134
+ </ClCompile>
135
+ <Link>
136
+ <SubSystem>Console</SubSystem>
137
+ <GenerateDebugInformation>true</GenerateDebugInformation>
138
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
139
+ <OptimizeReferences>true</OptimizeReferences>
140
+ </Link>
141
+ </ItemDefinitionGroup>
142
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
143
+ <ClCompile>
144
+ <WarningLevel>Level4</WarningLevel>
145
+ <PrecompiledHeader>
146
+ </PrecompiledHeader>
147
+ <Optimization>MaxSpeed</Optimization>
148
+ <FunctionLevelLinking>true</FunctionLevelLinking>
149
+ <IntrinsicFunctions>true</IntrinsicFunctions>
150
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
151
+ <TreatWarningAsError>false</TreatWarningAsError>
152
+ <EnablePREfast>true</EnablePREfast>
153
+ <AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
154
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreaded</RuntimeLibrary>
155
+ </ClCompile>
156
+ <Link>
157
+ <SubSystem>Console</SubSystem>
158
+ <GenerateDebugInformation>true</GenerateDebugInformation>
159
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
160
+ <OptimizeReferences>true</OptimizeReferences>
161
+ </Link>
162
+ </ItemDefinitionGroup>
163
+ <ItemGroup>
164
+ <ClCompile Include="..\..\..\lib\lz4.c" />
165
+ <ClCompile Include="..\..\..\lib\lz4hc.c" />
166
+ <ClCompile Include="..\..\..\lib\xxhash.c" />
167
+ <ClCompile Include="..\..\..\tests\fuzzer.c" />
168
+ </ItemGroup>
169
+ <ItemGroup>
170
+ <ClInclude Include="..\..\..\lib\lz4.h" />
171
+ <ClInclude Include="..\..\..\lib\lz4hc.h" />
172
+ <ClInclude Include="..\..\..\lib\xxhash.h" />
173
+ </ItemGroup>
174
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
175
+ <ImportGroup Label="ExtensionTargets">
176
+ </ImportGroup>
177
+ </Project>
@@ -0,0 +1,51 @@
1
+ // Microsoft Visual C++ generated resource script.
2
+ //
3
+
4
+ #include "lz4.h" /* LZ4_VERSION_STRING */
5
+ #define APSTUDIO_READONLY_SYMBOLS
6
+ #include "verrsrc.h"
7
+ #undef APSTUDIO_READONLY_SYMBOLS
8
+
9
+
10
+ #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
11
+ LANGUAGE 9, 1
12
+
13
+ /////////////////////////////////////////////////////////////////////////////
14
+ //
15
+ // Version
16
+ //
17
+
18
+ VS_VERSION_INFO VERSIONINFO
19
+ FILEVERSION LZ4_VERSION_MAJOR,LZ4_VERSION_MINOR,LZ4_VERSION_RELEASE,0
20
+ PRODUCTVERSION LZ4_VERSION_MAJOR,LZ4_VERSION_MINOR,LZ4_VERSION_RELEASE,0
21
+ FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
22
+ #ifdef _DEBUG
23
+ FILEFLAGS VS_FF_DEBUG
24
+ #else
25
+ FILEFLAGS 0x0L
26
+ #endif
27
+ FILEOS VOS_NT_WINDOWS32
28
+ FILETYPE VFT_DLL
29
+ FILESUBTYPE VFT2_UNKNOWN
30
+ BEGIN
31
+ BLOCK "StringFileInfo"
32
+ BEGIN
33
+ BLOCK "040904B0"
34
+ BEGIN
35
+ VALUE "CompanyName", "Yann Collet"
36
+ VALUE "FileDescription", "Extremely fast compression"
37
+ VALUE "FileVersion", LZ4_VERSION_STRING
38
+ VALUE "InternalName", "lz4.dll"
39
+ VALUE "LegalCopyright", "Copyright (C) 2013-2016, Yann Collet"
40
+ VALUE "OriginalFilename", "lz4.dll"
41
+ VALUE "ProductName", "LZ4"
42
+ VALUE "ProductVersion", LZ4_VERSION_STRING
43
+ END
44
+ END
45
+ BLOCK "VarFileInfo"
46
+ BEGIN
47
+ VALUE "Translation", 0x0409, 1200
48
+ END
49
+ END
50
+
51
+ #endif
@@ -0,0 +1,183 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup Label="ProjectConfigurations">
4
+ <ProjectConfiguration Include="Debug|Win32">
5
+ <Configuration>Debug</Configuration>
6
+ <Platform>Win32</Platform>
7
+ </ProjectConfiguration>
8
+ <ProjectConfiguration Include="Debug|x64">
9
+ <Configuration>Debug</Configuration>
10
+ <Platform>x64</Platform>
11
+ </ProjectConfiguration>
12
+ <ProjectConfiguration Include="Release|Win32">
13
+ <Configuration>Release</Configuration>
14
+ <Platform>Win32</Platform>
15
+ </ProjectConfiguration>
16
+ <ProjectConfiguration Include="Release|x64">
17
+ <Configuration>Release</Configuration>
18
+ <Platform>x64</Platform>
19
+ </ProjectConfiguration>
20
+ </ItemGroup>
21
+ <PropertyGroup Label="Globals">
22
+ <ProjectGuid>{9800039D-4AAA-43A4-BB78-FEF6F4836927}</ProjectGuid>
23
+ <Keyword>Win32Proj</Keyword>
24
+ <RootNamespace>liblz4-dll</RootNamespace>
25
+ <OutDir>$(SolutionDir)bin\$(Platform)_$(Configuration)\</OutDir>
26
+ <IntDir>$(SolutionDir)bin\obj\$(RootNamespace)_$(Platform)_$(Configuration)\</IntDir>
27
+ <ProjectName>liblz4-dll</ProjectName>
28
+ </PropertyGroup>
29
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
30
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
31
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
32
+ <UseDebugLibraries>true</UseDebugLibraries>
33
+ <CharacterSet>Unicode</CharacterSet>
34
+ <PlatformToolset>v141</PlatformToolset>
35
+ </PropertyGroup>
36
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
37
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
38
+ <UseDebugLibraries>true</UseDebugLibraries>
39
+ <CharacterSet>Unicode</CharacterSet>
40
+ <PlatformToolset>v141</PlatformToolset>
41
+ </PropertyGroup>
42
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
43
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
44
+ <UseDebugLibraries>false</UseDebugLibraries>
45
+ <CharacterSet>Unicode</CharacterSet>
46
+ <WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
47
+ <PlatformToolset>v141</PlatformToolset>
48
+ </PropertyGroup>
49
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
50
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
51
+ <UseDebugLibraries>false</UseDebugLibraries>
52
+ <CharacterSet>Unicode</CharacterSet>
53
+ <WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
54
+ <PlatformToolset>v141</PlatformToolset>
55
+ </PropertyGroup>
56
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
57
+ <ImportGroup Label="ExtensionSettings">
58
+ </ImportGroup>
59
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
60
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
61
+ </ImportGroup>
62
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
63
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
64
+ </ImportGroup>
65
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
66
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
67
+ </ImportGroup>
68
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
69
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
70
+ </ImportGroup>
71
+ <PropertyGroup Label="UserMacros" />
72
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
73
+ <LinkIncremental>true</LinkIncremental>
74
+ <TargetName>liblz4</TargetName>
75
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
76
+ </PropertyGroup>
77
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
78
+ <LinkIncremental>true</LinkIncremental>
79
+ <TargetName>liblz4</TargetName>
80
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
81
+ <RunCodeAnalysis>true</RunCodeAnalysis>
82
+ </PropertyGroup>
83
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
84
+ <LinkIncremental>false</LinkIncremental>
85
+ <TargetName>liblz4</TargetName>
86
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
87
+ </PropertyGroup>
88
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
89
+ <LinkIncremental>false</LinkIncremental>
90
+ <TargetName>liblz4</TargetName>
91
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
92
+ <RunCodeAnalysis>true</RunCodeAnalysis>
93
+ </PropertyGroup>
94
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
95
+ <ClCompile>
96
+ <PrecompiledHeader>
97
+ </PrecompiledHeader>
98
+ <WarningLevel>Level4</WarningLevel>
99
+ <Optimization>Disabled</Optimization>
100
+ <PreprocessorDefinitions>WIN32;_DEBUG;LZ4_DLL_EXPORT=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
101
+ <TreatWarningAsError>true</TreatWarningAsError>
102
+ <EnablePREfast>false</EnablePREfast>
103
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreadedDebug</RuntimeLibrary>
104
+ </ClCompile>
105
+ <Link>
106
+ <GenerateDebugInformation>true</GenerateDebugInformation>
107
+ </Link>
108
+ </ItemDefinitionGroup>
109
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
110
+ <ClCompile>
111
+ <PrecompiledHeader>
112
+ </PrecompiledHeader>
113
+ <WarningLevel>Level4</WarningLevel>
114
+ <Optimization>Disabled</Optimization>
115
+ <PreprocessorDefinitions>WIN32;_DEBUG;LZ4_DLL_EXPORT=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
116
+ <TreatWarningAsError>true</TreatWarningAsError>
117
+ <EnablePREfast>true</EnablePREfast>
118
+ <AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
119
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreadedDebug</RuntimeLibrary>
120
+ </ClCompile>
121
+ <Link>
122
+ <GenerateDebugInformation>true</GenerateDebugInformation>
123
+ </Link>
124
+ </ItemDefinitionGroup>
125
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
126
+ <ClCompile>
127
+ <WarningLevel>Level4</WarningLevel>
128
+ <PrecompiledHeader>
129
+ </PrecompiledHeader>
130
+ <Optimization>MaxSpeed</Optimization>
131
+ <FunctionLevelLinking>true</FunctionLevelLinking>
132
+ <IntrinsicFunctions>true</IntrinsicFunctions>
133
+ <PreprocessorDefinitions>WIN32;NDEBUG;LZ4_DLL_EXPORT=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
134
+ <TreatWarningAsError>false</TreatWarningAsError>
135
+ <EnablePREfast>false</EnablePREfast>
136
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreaded</RuntimeLibrary>
137
+ </ClCompile>
138
+ <Link>
139
+ <GenerateDebugInformation>true</GenerateDebugInformation>
140
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
141
+ <OptimizeReferences>true</OptimizeReferences>
142
+ </Link>
143
+ </ItemDefinitionGroup>
144
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
145
+ <ClCompile>
146
+ <WarningLevel>Level4</WarningLevel>
147
+ <PrecompiledHeader>
148
+ </PrecompiledHeader>
149
+ <Optimization>MaxSpeed</Optimization>
150
+ <FunctionLevelLinking>true</FunctionLevelLinking>
151
+ <IntrinsicFunctions>true</IntrinsicFunctions>
152
+ <PreprocessorDefinitions>WIN32;NDEBUG;LZ4_DLL_EXPORT=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
153
+ <TreatWarningAsError>false</TreatWarningAsError>
154
+ <EnablePREfast>true</EnablePREfast>
155
+ <AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
156
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreaded</RuntimeLibrary>
157
+ </ClCompile>
158
+ <Link>
159
+ <GenerateDebugInformation>true</GenerateDebugInformation>
160
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
161
+ <OptimizeReferences>true</OptimizeReferences>
162
+ </Link>
163
+ </ItemDefinitionGroup>
164
+ <ItemGroup>
165
+ <ClInclude Include="..\..\..\lib\lz4.h" />
166
+ <ClInclude Include="..\..\..\lib\lz4frame.h" />
167
+ <ClInclude Include="..\..\..\lib\lz4frame_static.h" />
168
+ <ClInclude Include="..\..\..\lib\lz4hc.h" />
169
+ <ClInclude Include="..\..\..\lib\xxhash.h" />
170
+ </ItemGroup>
171
+ <ItemGroup>
172
+ <ClCompile Include="..\..\..\lib\lz4.c" />
173
+ <ClCompile Include="..\..\..\lib\lz4frame.c" />
174
+ <ClCompile Include="..\..\..\lib\lz4hc.c" />
175
+ <ClCompile Include="..\..\..\lib\xxhash.c" />
176
+ </ItemGroup>
177
+ <ItemGroup>
178
+ <ResourceCompile Include="liblz4-dll.rc" />
179
+ </ItemGroup>
180
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
181
+ <ImportGroup Label="ExtensionTargets">
182
+ </ImportGroup>
183
+ </Project>