extlz4 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -14
  3. data/bin/extlz4 +1 -1
  4. data/contrib/lz4/NEWS +36 -0
  5. data/contrib/lz4/README.md +11 -12
  6. data/contrib/lz4/build/README.md +55 -0
  7. data/contrib/lz4/build/VS2010/datagen/datagen.vcxproj +169 -0
  8. data/contrib/lz4/build/VS2010/frametest/frametest.vcxproj +176 -0
  9. data/contrib/lz4/build/VS2010/fullbench/fullbench.vcxproj +176 -0
  10. data/contrib/lz4/build/VS2010/fullbench-dll/fullbench-dll.vcxproj +180 -0
  11. data/contrib/lz4/build/VS2010/fuzzer/fuzzer.vcxproj +173 -0
  12. data/contrib/lz4/build/VS2010/liblz4/liblz4.vcxproj +175 -0
  13. data/contrib/lz4/build/VS2010/liblz4-dll/liblz4-dll.rc +51 -0
  14. data/contrib/lz4/build/VS2010/liblz4-dll/liblz4-dll.vcxproj +179 -0
  15. data/contrib/lz4/build/VS2010/lz4/lz4.rc +51 -0
  16. data/contrib/lz4/build/VS2010/lz4/lz4.vcxproj +189 -0
  17. data/contrib/lz4/build/VS2010/lz4.sln +98 -0
  18. data/contrib/lz4/build/VS2017/datagen/datagen.vcxproj +173 -0
  19. data/contrib/lz4/build/VS2017/frametest/frametest.vcxproj +180 -0
  20. data/contrib/lz4/build/VS2017/fullbench/fullbench.vcxproj +180 -0
  21. data/contrib/lz4/build/VS2017/fullbench-dll/fullbench-dll.vcxproj +184 -0
  22. data/contrib/lz4/build/VS2017/fuzzer/fuzzer.vcxproj +177 -0
  23. data/contrib/lz4/build/VS2017/liblz4/liblz4.vcxproj +179 -0
  24. data/contrib/lz4/build/VS2017/liblz4-dll/liblz4-dll.rc +51 -0
  25. data/contrib/lz4/build/VS2017/liblz4-dll/liblz4-dll.vcxproj +183 -0
  26. data/contrib/lz4/build/VS2017/lz4/lz4.rc +51 -0
  27. data/contrib/lz4/build/VS2017/lz4/lz4.vcxproj +164 -0
  28. data/contrib/lz4/build/VS2017/lz4.sln +103 -0
  29. data/contrib/lz4/build/cmake/CMakeLists.txt +235 -0
  30. data/contrib/lz4/lib/README.md +27 -10
  31. data/contrib/lz4/lib/lz4.c +327 -230
  32. data/contrib/lz4/lib/lz4.h +80 -70
  33. data/contrib/lz4/lib/lz4frame.c +93 -54
  34. data/contrib/lz4/lib/lz4frame.h +22 -14
  35. data/contrib/lz4/lib/lz4hc.c +192 -115
  36. data/contrib/lz4/lib/lz4hc.h +15 -40
  37. data/contrib/lz4/ossfuzz/Makefile +12 -8
  38. data/contrib/lz4/ossfuzz/compress_frame_fuzzer.c +11 -5
  39. data/contrib/lz4/ossfuzz/compress_fuzzer.c +9 -2
  40. data/contrib/lz4/ossfuzz/compress_hc_fuzzer.c +10 -3
  41. data/contrib/lz4/ossfuzz/decompress_frame_fuzzer.c +11 -3
  42. data/contrib/lz4/ossfuzz/decompress_fuzzer.c +6 -2
  43. data/contrib/lz4/ossfuzz/fuzz_data_producer.c +77 -0
  44. data/contrib/lz4/ossfuzz/fuzz_data_producer.h +36 -0
  45. data/contrib/lz4/ossfuzz/round_trip_frame_fuzzer.c +8 -4
  46. data/contrib/lz4/ossfuzz/round_trip_fuzzer.c +9 -2
  47. data/contrib/lz4/ossfuzz/round_trip_hc_fuzzer.c +7 -2
  48. data/contrib/lz4/ossfuzz/travisoss.sh +6 -1
  49. data/contrib/lz4/tmp +0 -0
  50. data/contrib/lz4/tmpsparse +0 -0
  51. data/ext/blockapi.c +0 -35
  52. data/ext/extlz4.c +2 -0
  53. data/ext/extlz4.h +5 -0
  54. data/ext/frameapi.c +0 -11
  55. data/ext/hashargs.c +1 -1
  56. data/ext/hashargs.h +1 -1
  57. data/gemstub.rb +3 -14
  58. data/lib/extlz4/oldstream.rb +1 -1
  59. data/lib/extlz4.rb +0 -2
  60. metadata +40 -25
  61. data/lib/extlz4/version.rb +0 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47cf5cc7a6110b9745b7c8fb44241bb63cec270c72a71de4d5d874f5bb054823
4
- data.tar.gz: f2a7d26bc96f2df6ffe99db799d1c199bceb75f5e5ad01f959bca5ce48ef19ed
3
+ metadata.gz: 826b3cefef1cfe6adf9a63fe90eaf61d93d33a2889727eff519fe6dc58a1c76e
4
+ data.tar.gz: 9973dfeb967f847eace7c50e47e546e2148ae1e54ea9677285ec42a556f0012f
5
5
  SHA512:
6
- metadata.gz: 3e906586be02470ae4b18fe625e15af59d958c05b71e74eb74eb5f9f767279cc04a1411bc134743c2d572d2dea4c99f7c44bfbda0618208c79c6fc3c3e2eeb64
7
- data.tar.gz: 17962b5b4e648ef9aa4f1629c8673197ee1f9d2222ef0ddf90ce0e9513b4b5f135cc1452b36cd1d734b3dff8efc5b2318b795bb88fc0d73f05c14d75affdd508
6
+ metadata.gz: '058521efb2e6a1940702f6ba4121e936f8fce02e6073f58ce32610330202e5afa9c0d427e6cabd9fa2be28434231b2bf2f1ab2c75a464ea2aea7067bae343493'
7
+ data.tar.gz: e3242ed13ea347b8a992fdb865640ba83b4a3accb1925bb4f1ec05caa59898e3a6113acb75d115bd9ecc2c1f3e36b94e279fdeb61bcc7189f9104672a8250157
data/README.md CHANGED
@@ -59,16 +59,6 @@ extlz4-0.1.1 でその不具合の修正を行いました。
59
59
  修復できるのはあくまで extlz4-0.1 のこの不具合に起因するファイルのみとなります。
60
60
 
61
61
 
62
- ## ABOUT TAINT STATE AND SECURITY (汚染状態とセキュリティについて)
63
-
64
- extlz4 はオブジェクト間での汚染状態を一方向伝播します。
65
-
66
- オブジェクトの汚染伝播については『入力 -> 出力』となり、
67
- ストリーム処理の場合は『入力 -> 圧縮器・伸張器 -> 出力』というようになります。
68
-
69
- セキュリティレベルによる処理の拒否は行いません。
70
-
71
-
72
62
  ## EXAMPLES (用例)
73
63
 
74
64
  First, load extlz4. (最初に extlz4 を読み込んでください)
@@ -179,6 +169,11 @@ p src2 == data # => true
179
169
  ```
180
170
 
181
171
 
172
+ ## Support `Ractor` with Ruby3
173
+
174
+ Ruby3 で追加された `Ractor` に対応しています。
175
+
176
+
182
177
  ## BONUS (おまけ)
183
178
 
184
179
  コマンドラインプログラムとして ``extlz4`` が追加されます。
@@ -191,16 +186,16 @@ p src2 == data # => true
191
186
  ## SPECIFICATION (仕様)
192
187
 
193
188
  - package name: extlz4
194
- - author: dearblue (mailto:dearblue@users.noreply.github.com)
189
+ - author: dearblue (mailto:dearblue@users.osdn.me)
195
190
  - project page: <https://github.com/dearblue/ruby-extlz4>
196
191
  - how to install: `gem install extlz4`
197
- - version: 0.3.1
192
+ - version: 0.3.3
198
193
  - product quality: technical preview
199
194
  - licensing: [2 clause BSD License](LICENSE)
200
195
  - dependency gems: none
201
196
  - dependency external c libraries: none
202
197
  - bundled external c libraries (git submodules):
203
198
  - [lz4](https://github.com/lz4/lz4)
204
- [version 1.9.2](https://github.com/lz4/lz4/tree/v1.9.2)
205
- under [2 clause BSD license](https://github.com/lz4/lz4/blob/v1.9.2/LICENSE)
199
+ [version 1.9.3](https://github.com/lz4/lz4/tree/v1.9.3)
200
+ under [2 clause BSD license](https://github.com/lz4/lz4/blob/v1.9.3/LICENSE)
206
201
  by [Yann Collet](https://github.com/Cyan4973)
data/bin/extlz4 CHANGED
@@ -1,7 +1,7 @@
1
1
  #!ruby
2
2
  #vim: set fileencoding:utf-8
3
3
 
4
- # AUTHOR: dearblue <dearblue@users.noreply.github.com>
4
+ # AUTHOR: dearblue <dearblue@users.osdn.me>
5
5
  # Only this program is usable as public domain software.
6
6
 
7
7
  require "extlz4"
data/contrib/lz4/NEWS CHANGED
@@ -1,3 +1,39 @@
1
+ v1.9.3
2
+ perf: highly improved speed in kernel space, by @terrelln
3
+ perf: faster speed with Visual Studio, thanks to @wolfpld and @remittor
4
+ perf: improved dictionary compression speed, by @felixhandte
5
+ perf: fixed LZ4_compress_HC_destSize() ratio, detected by @hsiangkao
6
+ perf: reduced stack usage in high compression mode, by @Yanpas
7
+ api : LZ4_decompress_safe_partial() supports unknown compressed size, requested by @jfkthame
8
+ api : improved LZ4F_compressBound() with automatic flushing, by Christopher Harvie
9
+ api : can (de)compress to/from NULL without UBs
10
+ api : fix alignment test on 32-bit systems (state initialization)
11
+ api : fix LZ4_saveDictHC() in corner case scenario, detected by @IgorKorkin
12
+ cli : `-l` legacy format is now compatible with `-m` multiple files, by Filipe Calasans
13
+ cli : benchmark mode supports dictionary, by @rkoradi
14
+ cli : fix --fast with large argument, detected by @picoHz
15
+ build: link to user-defined memory functions with LZ4_USER_MEMORY_FUNCTIONS, suggested by Yuriy Levchenko
16
+ build: contrib/cmake_unofficial/ moved to build/cmake/
17
+ build: visual/* moved to build/
18
+ build: updated meson script, by @neheb
19
+ build: tinycc support, by Anton Kochkov
20
+ install: Haiku support, by Jerome Duval
21
+ doc : updated LZ4 frame format, clarify EndMark
22
+
23
+ v1.9.2
24
+ fix : out-of-bound read in exceptional circumstances when using decompress_partial(), by @terrelln
25
+ fix : slim opportunity for out-of-bound write with compress_fast() with a large enough input and when providing an output smaller than recommended (< LZ4_compressBound(inputSize)), by @terrelln
26
+ fix : rare data corruption bug with LZ4_compress_destSize(), by @terrelln
27
+ fix : data corruption bug when Streaming with an Attached Dict in HC Mode, by @felixhandte
28
+ perf: enable LZ4_FAST_DEC_LOOP on aarch64/GCC by default, by @prekageo
29
+ perf: improved lz4frame streaming API speed, by @dreambottle
30
+ perf: speed up lz4hc on slow patterns when using external dictionary, by @terrelln
31
+ api: better in-place decompression and compression support
32
+ cli : --list supports multi-frames files, by @gstedman
33
+ cli: --version outputs to stdout
34
+ cli : add option --best as an alias of -12 , by @Low-power
35
+ misc: Integration into oss-fuzz by @cmeister2, expanded list of scenarios by @terrelln
36
+
1
37
  v1.9.1
2
38
  fix : decompression functions were reading a few bytes beyond input size (introduced in v1.9.0, reported by @ppodolsky and @danlark1)
3
39
  api : fix : lz4frame initializers compatibility with c++, reported by @degski
@@ -26,25 +26,13 @@ LZ4 library is provided as open-source software using BSD 2-Clause license.
26
26
 
27
27
  |Branch |Status |
28
28
  |------------|---------|
29
- |master | [![Build Status][travisMasterBadge]][travisLink] [![Build status][AppveyorMasterBadge]][AppveyorLink] [![coverity][coverBadge]][coverlink] |
30
29
  |dev | [![Build Status][travisDevBadge]][travisLink] [![Build status][AppveyorDevBadge]][AppveyorLink] |
31
30
 
32
- [travisMasterBadge]: https://travis-ci.org/lz4/lz4.svg?branch=master "Continuous Integration test suite"
33
31
  [travisDevBadge]: https://travis-ci.org/lz4/lz4.svg?branch=dev "Continuous Integration test suite"
34
32
  [travisLink]: https://travis-ci.org/lz4/lz4
35
- [AppveyorMasterBadge]: https://ci.appveyor.com/api/projects/status/github/lz4/lz4?branch=master&svg=true "Windows test suite"
36
33
  [AppveyorDevBadge]: https://ci.appveyor.com/api/projects/status/github/lz4/lz4?branch=dev&svg=true "Windows test suite"
37
34
  [AppveyorLink]: https://ci.appveyor.com/project/YannCollet/lz4-1lndh
38
- [coverBadge]: https://scan.coverity.com/projects/4735/badge.svg "Static code analysis of Master branch"
39
- [coverlink]: https://scan.coverity.com/projects/4735
40
35
 
41
- > **Branch Policy:**
42
- > - The "master" branch is considered stable, at all times.
43
- > - The "dev" branch is the one where all contributions must be merged
44
- before being promoted to master.
45
- > + If you plan to propose a patch, please commit into the "dev" branch,
46
- or its own feature branch.
47
- Direct commit to "master" are not permitted.
48
36
 
49
37
  Benchmarks
50
38
  -------------------------
@@ -95,6 +83,17 @@ It is compatible with parallel builds (`-j#`).
95
83
  [redirection]: https://www.gnu.org/prep/standards/html_node/Directory-Variables.html
96
84
  [command redefinition]: https://www.gnu.org/prep/standards/html_node/Utilities-in-Makefiles.html
97
85
 
86
+ Building LZ4 - Using vcpkg
87
+
88
+ You can download and install LZ4 using the [vcpkg](https://github.com/Microsoft/vcpkg) dependency manager:
89
+
90
+ git clone https://github.com/Microsoft/vcpkg.git
91
+ cd vcpkg
92
+ ./bootstrap-vcpkg.sh
93
+ ./vcpkg integrate install
94
+ vcpkg install lz4
95
+
96
+ The LZ4 port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository.
98
97
 
99
98
  Documentation
100
99
  -------------------------
@@ -0,0 +1,55 @@
1
+ Projects for various integrated development environments (IDE)
2
+ ==============================================================
3
+
4
+ #### Included projects
5
+
6
+ The following projects are included with the lz4 distribution:
7
+ - `cmake` - CMake project
8
+ - `VS2010` - Visual Studio 2010 project (which also works well with Visual Studio 2012, 2013, 2015)
9
+ - `VS2017` - Visual Studio 2017 project
10
+
11
+
12
+ #### How to compile lz4 with Visual Studio
13
+
14
+ 1. Install Visual Studio e.g. VS 2015 Community Edition (it's free).
15
+ 2. Download the latest version of lz4 from https://github.com/lz4/lz4/releases
16
+ 3. Decompress ZIP archive.
17
+ 4. Go to decompressed directory then to `build` then `VS2010` and open `lz4.sln`
18
+ 5. Visual Studio will ask about converting VS2010 project to VS2015 and you should agree.
19
+ 6. Change `Debug` to `Release` and if you have 64-bit Windows change also `Win32` to `x64`.
20
+ 7. Press F7 on keyboard or select `BUILD` from the menu bar and choose `Build Solution`.
21
+ 8. If compilation will be fine a compiled executable will be in `build\VS2010\bin\x64_Release\lz4.exe`
22
+
23
+
24
+ #### Projects available within lz4.sln
25
+
26
+ The Visual Studio solution file `lz4.sln` contains many projects that will be compiled to the
27
+ `build\VS2010\bin\$(Platform)_$(Configuration)` directory. For example `lz4` set to `x64` and
28
+ `Release` will be compiled to `build\VS2010\bin\x64_Release\lz4.exe`. The solution file contains the
29
+ following projects:
30
+
31
+ - `lz4` : Command Line Utility, supporting gzip-like arguments
32
+ - `datagen` : Synthetic and parametrable data generator, for tests
33
+ - `frametest` : Test tool that checks lz4frame integrity on target platform
34
+ - `fullbench` : Precisely measure speed for each lz4 inner functions
35
+ - `fuzzer` : Test tool, to check lz4 integrity on target platform
36
+ - `liblz4` : A static LZ4 library compiled to `liblz4_static.lib`
37
+ - `liblz4-dll` : A dynamic LZ4 library (DLL) compiled to `liblz4.dll` with the import library `liblz4.lib`
38
+ - `fullbench-dll` : The fullbench program compiled with the import library; the executable requires LZ4 DLL
39
+
40
+
41
+ #### Using LZ4 DLL with Microsoft Visual C++ project
42
+
43
+ The header files `lib\lz4.h`, `lib\lz4hc.h`, `lib\lz4frame.h` and the import library
44
+ `build\VS2010\bin\$(Platform)_$(Configuration)\liblz4.lib` are required to
45
+ compile a project using Visual C++.
46
+
47
+ 1. The path to header files should be added to `Additional Include Directories` that can
48
+ be found in Project Properties of Visual Studio IDE in the `C/C++` Property Pages on the `General` page.
49
+ 2. The import library has to be added to `Additional Dependencies` that can
50
+ be found in Project Properties in the `Linker` Property Pages on the `Input` page.
51
+ If one will provide only the name `liblz4.lib` without a full path to the library
52
+ then the directory has to be added to `Linker\General\Additional Library Directories`.
53
+
54
+ The compiled executable will require LZ4 DLL which is available at
55
+ `build\VS2010\bin\$(Platform)_$(Configuration)\liblz4.dll`.
@@ -0,0 +1,169 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="4.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>{D745AE2F-596A-403A-9B91-81A8C6779243}</ProjectGuid>
23
+ <Keyword>Win32Proj</Keyword>
24
+ <RootNamespace>datagen</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
+ </PropertyGroup>
34
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
35
+ <ConfigurationType>Application</ConfigurationType>
36
+ <UseDebugLibraries>true</UseDebugLibraries>
37
+ <CharacterSet>Unicode</CharacterSet>
38
+ </PropertyGroup>
39
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
40
+ <ConfigurationType>Application</ConfigurationType>
41
+ <UseDebugLibraries>false</UseDebugLibraries>
42
+ <CharacterSet>Unicode</CharacterSet>
43
+ <WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
44
+ </PropertyGroup>
45
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
46
+ <ConfigurationType>Application</ConfigurationType>
47
+ <UseDebugLibraries>false</UseDebugLibraries>
48
+ <CharacterSet>Unicode</CharacterSet>
49
+ <WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
50
+ </PropertyGroup>
51
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
52
+ <ImportGroup Label="ExtensionSettings">
53
+ </ImportGroup>
54
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
55
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
56
+ </ImportGroup>
57
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
58
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
59
+ </ImportGroup>
60
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
61
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
62
+ </ImportGroup>
63
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
64
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
65
+ </ImportGroup>
66
+ <PropertyGroup Label="UserMacros" />
67
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
68
+ <LinkIncremental>true</LinkIncremental>
69
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\programs;$(SolutionDir)..\..\lib;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
70
+ </PropertyGroup>
71
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
72
+ <LinkIncremental>true</LinkIncremental>
73
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\programs;$(SolutionDir)..\..\lib;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
74
+ <RunCodeAnalysis>true</RunCodeAnalysis>
75
+ </PropertyGroup>
76
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
77
+ <LinkIncremental>false</LinkIncremental>
78
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\programs;$(SolutionDir)..\..\lib;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
79
+ </PropertyGroup>
80
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
81
+ <LinkIncremental>false</LinkIncremental>
82
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\programs;$(SolutionDir)..\..\lib;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
83
+ <RunCodeAnalysis>true</RunCodeAnalysis>
84
+ </PropertyGroup>
85
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
86
+ <ClCompile>
87
+ <PrecompiledHeader>
88
+ </PrecompiledHeader>
89
+ <WarningLevel>Level4</WarningLevel>
90
+ <Optimization>Disabled</Optimization>
91
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
92
+ <TreatWarningAsError>true</TreatWarningAsError>
93
+ <EnablePREfast>false</EnablePREfast>
94
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreadedDebug</RuntimeLibrary>
95
+ </ClCompile>
96
+ <Link>
97
+ <SubSystem>Console</SubSystem>
98
+ <GenerateDebugInformation>true</GenerateDebugInformation>
99
+ </Link>
100
+ </ItemDefinitionGroup>
101
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
102
+ <ClCompile>
103
+ <PrecompiledHeader>
104
+ </PrecompiledHeader>
105
+ <WarningLevel>Level4</WarningLevel>
106
+ <Optimization>Disabled</Optimization>
107
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
108
+ <TreatWarningAsError>true</TreatWarningAsError>
109
+ <EnablePREfast>true</EnablePREfast>
110
+ <AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
111
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreadedDebug</RuntimeLibrary>
112
+ </ClCompile>
113
+ <Link>
114
+ <SubSystem>Console</SubSystem>
115
+ <GenerateDebugInformation>true</GenerateDebugInformation>
116
+ </Link>
117
+ </ItemDefinitionGroup>
118
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
119
+ <ClCompile>
120
+ <WarningLevel>Level4</WarningLevel>
121
+ <PrecompiledHeader>
122
+ </PrecompiledHeader>
123
+ <Optimization>MaxSpeed</Optimization>
124
+ <FunctionLevelLinking>true</FunctionLevelLinking>
125
+ <IntrinsicFunctions>true</IntrinsicFunctions>
126
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
127
+ <TreatWarningAsError>false</TreatWarningAsError>
128
+ <EnablePREfast>false</EnablePREfast>
129
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreaded</RuntimeLibrary>
130
+ </ClCompile>
131
+ <Link>
132
+ <SubSystem>Console</SubSystem>
133
+ <GenerateDebugInformation>true</GenerateDebugInformation>
134
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
135
+ <OptimizeReferences>true</OptimizeReferences>
136
+ </Link>
137
+ </ItemDefinitionGroup>
138
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
139
+ <ClCompile>
140
+ <WarningLevel>Level4</WarningLevel>
141
+ <PrecompiledHeader>
142
+ </PrecompiledHeader>
143
+ <Optimization>MaxSpeed</Optimization>
144
+ <FunctionLevelLinking>true</FunctionLevelLinking>
145
+ <IntrinsicFunctions>true</IntrinsicFunctions>
146
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
147
+ <TreatWarningAsError>false</TreatWarningAsError>
148
+ <EnablePREfast>true</EnablePREfast>
149
+ <AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
150
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreaded</RuntimeLibrary>
151
+ </ClCompile>
152
+ <Link>
153
+ <SubSystem>Console</SubSystem>
154
+ <GenerateDebugInformation>true</GenerateDebugInformation>
155
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
156
+ <OptimizeReferences>true</OptimizeReferences>
157
+ </Link>
158
+ </ItemDefinitionGroup>
159
+ <ItemGroup>
160
+ <ClCompile Include="..\..\..\programs\datagen.c" />
161
+ <ClCompile Include="..\..\..\tests\datagencli.c" />
162
+ </ItemGroup>
163
+ <ItemGroup>
164
+ <ClInclude Include="..\..\..\programs\datagen.h" />
165
+ </ItemGroup>
166
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
167
+ <ImportGroup Label="ExtensionTargets">
168
+ </ImportGroup>
169
+ </Project>
@@ -0,0 +1,176 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="4.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>{39AD6ECC-8BAD-4368-95E4-A1AA2F077BB7}</ProjectGuid>
23
+ <Keyword>Win32Proj</Keyword>
24
+ <RootNamespace>frametest</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
+ </PropertyGroup>
34
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
35
+ <ConfigurationType>Application</ConfigurationType>
36
+ <UseDebugLibraries>true</UseDebugLibraries>
37
+ <CharacterSet>Unicode</CharacterSet>
38
+ </PropertyGroup>
39
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
40
+ <ConfigurationType>Application</ConfigurationType>
41
+ <UseDebugLibraries>false</UseDebugLibraries>
42
+ <CharacterSet>Unicode</CharacterSet>
43
+ <WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
44
+ </PropertyGroup>
45
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
46
+ <ConfigurationType>Application</ConfigurationType>
47
+ <UseDebugLibraries>false</UseDebugLibraries>
48
+ <CharacterSet>Unicode</CharacterSet>
49
+ <WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
50
+ </PropertyGroup>
51
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
52
+ <ImportGroup Label="ExtensionSettings">
53
+ </ImportGroup>
54
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
55
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
56
+ </ImportGroup>
57
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
58
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
59
+ </ImportGroup>
60
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
61
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
62
+ </ImportGroup>
63
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
64
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
65
+ </ImportGroup>
66
+ <PropertyGroup Label="UserMacros" />
67
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
68
+ <LinkIncremental>true</LinkIncremental>
69
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
70
+ </PropertyGroup>
71
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
72
+ <LinkIncremental>true</LinkIncremental>
73
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
74
+ <RunCodeAnalysis>true</RunCodeAnalysis>
75
+ </PropertyGroup>
76
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
77
+ <LinkIncremental>false</LinkIncremental>
78
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
79
+ </PropertyGroup>
80
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
81
+ <LinkIncremental>false</LinkIncremental>
82
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
83
+ <RunCodeAnalysis>true</RunCodeAnalysis>
84
+ </PropertyGroup>
85
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
86
+ <ClCompile>
87
+ <PrecompiledHeader>
88
+ </PrecompiledHeader>
89
+ <WarningLevel>Level4</WarningLevel>
90
+ <Optimization>Disabled</Optimization>
91
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
92
+ <TreatWarningAsError>true</TreatWarningAsError>
93
+ <EnablePREfast>false</EnablePREfast>
94
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreadedDebug</RuntimeLibrary>
95
+ </ClCompile>
96
+ <Link>
97
+ <SubSystem>Console</SubSystem>
98
+ <GenerateDebugInformation>true</GenerateDebugInformation>
99
+ </Link>
100
+ </ItemDefinitionGroup>
101
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
102
+ <ClCompile>
103
+ <PrecompiledHeader>
104
+ </PrecompiledHeader>
105
+ <WarningLevel>Level4</WarningLevel>
106
+ <Optimization>Disabled</Optimization>
107
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
108
+ <TreatWarningAsError>true</TreatWarningAsError>
109
+ <EnablePREfast>true</EnablePREfast>
110
+ <AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
111
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreadedDebug</RuntimeLibrary>
112
+ </ClCompile>
113
+ <Link>
114
+ <SubSystem>Console</SubSystem>
115
+ <GenerateDebugInformation>true</GenerateDebugInformation>
116
+ </Link>
117
+ </ItemDefinitionGroup>
118
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
119
+ <ClCompile>
120
+ <WarningLevel>Level4</WarningLevel>
121
+ <PrecompiledHeader>
122
+ </PrecompiledHeader>
123
+ <Optimization>MaxSpeed</Optimization>
124
+ <FunctionLevelLinking>true</FunctionLevelLinking>
125
+ <IntrinsicFunctions>true</IntrinsicFunctions>
126
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
127
+ <TreatWarningAsError>false</TreatWarningAsError>
128
+ <EnablePREfast>false</EnablePREfast>
129
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreaded</RuntimeLibrary>
130
+ </ClCompile>
131
+ <Link>
132
+ <SubSystem>Console</SubSystem>
133
+ <GenerateDebugInformation>true</GenerateDebugInformation>
134
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
135
+ <OptimizeReferences>true</OptimizeReferences>
136
+ </Link>
137
+ </ItemDefinitionGroup>
138
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
139
+ <ClCompile>
140
+ <WarningLevel>Level4</WarningLevel>
141
+ <PrecompiledHeader>
142
+ </PrecompiledHeader>
143
+ <Optimization>MaxSpeed</Optimization>
144
+ <FunctionLevelLinking>true</FunctionLevelLinking>
145
+ <IntrinsicFunctions>true</IntrinsicFunctions>
146
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
147
+ <TreatWarningAsError>false</TreatWarningAsError>
148
+ <EnablePREfast>true</EnablePREfast>
149
+ <AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
150
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreaded</RuntimeLibrary>
151
+ </ClCompile>
152
+ <Link>
153
+ <SubSystem>Console</SubSystem>
154
+ <GenerateDebugInformation>true</GenerateDebugInformation>
155
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
156
+ <OptimizeReferences>true</OptimizeReferences>
157
+ </Link>
158
+ </ItemDefinitionGroup>
159
+ <ItemGroup>
160
+ <ClCompile Include="..\..\..\lib\lz4.c" />
161
+ <ClCompile Include="..\..\..\lib\lz4frame.c" />
162
+ <ClCompile Include="..\..\..\lib\lz4hc.c" />
163
+ <ClCompile Include="..\..\..\lib\xxhash.c" />
164
+ <ClCompile Include="..\..\..\tests\frametest.c" />
165
+ </ItemGroup>
166
+ <ItemGroup>
167
+ <ClInclude Include="..\..\..\lib\lz4.h" />
168
+ <ClInclude Include="..\..\..\lib\lz4frame.h" />
169
+ <ClInclude Include="..\..\..\lib\lz4frame_static.h" />
170
+ <ClInclude Include="..\..\..\lib\lz4hc.h" />
171
+ <ClInclude Include="..\..\..\lib\xxhash.h" />
172
+ </ItemGroup>
173
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
174
+ <ImportGroup Label="ExtensionTargets">
175
+ </ImportGroup>
176
+ </Project>