react-native-update 10.34.2 → 10.34.4
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.
- package/.gitmodules +4 -4
- package/harmony/pushy/src/main/cpp/HDiffPatch/CHANGELOG.md +153 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/LICENSE +48 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/Makefile +157 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/README.md +307 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/_atosize.h +83 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/_clock_for_demo.h +47 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/_dir_ignore.h +191 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/Android.mk +37 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/Application.mk +7 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs.bat +1 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs.sh +1 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch.c +18 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch.h +20 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch_jni.c +28 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/java/com/github/sisong/HPatch.java +8 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/codeblocks/HDiffPatch.workspace +8 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/codeblocks/HDiffZ.cbp +219 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/codeblocks/HPatchZ.cbp +156 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/codeblocks/unitTest.cbp +65 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HDiffPatch.sln +105 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HDiffZ.vcxproj +237 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HDiffZ.vcxproj.user +3 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HPatchZ.vcxproj +318 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HPatchZ.vcxproj.user +3 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/unitTest.vcxproj +182 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/unitTest.vcxproj.user +3 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/HDiffPatch.xcworkspace/contents.xcworkspacedata +30 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/HDiffPatch.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/bestParams.xcodeproj/project.pbxproj +408 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/hdiffz.xcodeproj/project.pbxproj +573 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/hpatchz.xcodeproj/project.pbxproj +396 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/lz4.xcodeproj/project.pbxproj +268 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/lzma.xcodeproj/project.pbxproj +361 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/testHashClash.xcodeproj/project.pbxproj +301 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/unitTest.xcodeproj/project.pbxproj +411 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/zstd.xcodeproj/project.pbxproj +504 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/checksum_plugin_demo.h +344 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/compress_parallel.cpp +166 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/compress_parallel.h +59 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/compress_plugin_demo.h +1152 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/decompress_plugin_demo.h +995 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff.cpp +797 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff.h +65 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff_tools.cpp +200 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff_tools.h +178 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_manifest.cpp +357 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_manifest.h +87 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/file_for_dirDiff.h +151 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch.c +770 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch.h +236 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_private.h +47 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_tools.c +112 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_tools.h +53 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_types.h +61 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_dir_output.c +331 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_dir_output.h +144 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_stream.c +176 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_stream.h +84 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/ref_stream.c +146 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/ref_stream.h +61 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/res_handle_limit.c +152 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/res_handle_limit.h +76 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/file_for_patch.c +524 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/file_for_patch.h +259 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/hdiffz.cpp +1570 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/hpatch_dir_listener.h +290 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/hpatchz.c +1221 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff.cpp +1025 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff.h +116 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff_types.h +72 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/bytes_rle.cpp +213 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/bytes_rle.h +63 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/compress_detect.cpp +170 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/compress_detect.h +86 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/config.h +89 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.c +13 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.c.inc.h +398 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.h +194 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort64.c +13 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort64.h +204 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort_private.h +207 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/sssort.c.inc.h +815 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/trsort.c.inc.h +586 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/utils.c.inc.h +381 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/adler_roll.c +352 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/adler_roll.h +137 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/bloom_filter.h +137 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/covers.h +70 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/digest_matcher.cpp +628 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/digest_matcher.h +87 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.cpp +363 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.h +139 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/mem_buf.h +68 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/pack_uint.h +115 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/suffix_string.cpp +342 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/suffix_string.h +94 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/checksum_plugin.h +52 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch.c +2292 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch.h +215 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch_private.h +165 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch_types.h +251 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_channel.cpp +174 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_channel.h +73 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_import.cpp +367 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_import.h +92 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/_private_searchBestParams.cpp +301 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/hpatchz_test.cpp +292 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/testHashClash.cpp +436 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/unit_test.cpp +417 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/arm/7zCrcOpt.asm +100 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/7zAsm.asm +147 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/7zCrcOpt.asm +147 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/AesOpt.asm +237 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/LzmaDecOpt.asm +1258 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/XzCrc64Opt.asm +205 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7z.h +202 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zAlloc.c +80 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zAlloc.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zArcIn.c +1771 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zBuf.c +36 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zBuf.h +35 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zBuf2.c +52 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zCrc.c +128 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zCrc.h +25 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zCrcOpt.c +115 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zDec.c +591 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zFile.c +286 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zFile.h +83 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zStream.c +176 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zTypes.h +375 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zVersion.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zVersion.rc +55 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Aes.c +306 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Aes.h +38 -0
- package/harmony/pushy/src/main/cpp/lzma/C/AesOpt.c +184 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Alloc.c +455 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Alloc.h +51 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bcj2.c +257 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bcj2.h +146 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bcj2Enc.c +311 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bra.c +230 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bra.h +64 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bra86.c +82 -0
- package/harmony/pushy/src/main/cpp/lzma/C/BraIA64.c +53 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Compiler.h +33 -0
- package/harmony/pushy/src/main/cpp/lzma/C/CpuArch.c +218 -0
- package/harmony/pushy/src/main/cpp/lzma/C/CpuArch.h +336 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Delta.c +64 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Delta.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/C/DllSecur.c +108 -0
- package/harmony/pushy/src/main/cpp/lzma/C/DllSecur.h +20 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzFind.c +1127 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzFind.h +121 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzFindMt.c +853 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzFindMt.h +101 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzHash.h +57 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Dec.c +488 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Dec.h +120 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2DecMt.c +1082 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2DecMt.h +79 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Enc.c +803 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Enc.h +55 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma86.h +111 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma86Dec.c +54 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma86Enc.c +106 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaDec.c +1185 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaDec.h +234 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaEnc.c +2976 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaEnc.h +76 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaLib.c +40 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaLib.h +131 -0
- package/harmony/pushy/src/main/cpp/lzma/C/MtCoder.c +601 -0
- package/harmony/pushy/src/main/cpp/lzma/C/MtCoder.h +141 -0
- package/harmony/pushy/src/main/cpp/lzma/C/MtDec.c +1138 -0
- package/harmony/pushy/src/main/cpp/lzma/C/MtDec.h +201 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd.h +85 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7.c +712 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7.h +142 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7Dec.c +191 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7Enc.c +187 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Precomp.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/C/RotateDefs.h +30 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Sha256.c +248 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Sha256.h +26 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Sort.c +141 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Sort.h +18 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Threads.c +95 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Threads.h +70 -0
- package/harmony/pushy/src/main/cpp/lzma/C/ThreadsP.c +396 -0
- package/harmony/pushy/src/main/cpp/lzma/C/ThreadsP.h +31 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/7z.dsp +241 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/7z.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/7zMain.c +686 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/Precomp.c +4 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/Precomp.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/makefile +40 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/makefile.gcc +75 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.c +258 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.dsp +168 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/makefile +28 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/makefile.gcc +44 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.def +4 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.dsp +178 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLibExports.c +14 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/makefile +34 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/resource.rc +3 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/Precomp.c +4 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/Precomp.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.c +640 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.dsp +231 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/makefile +37 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/makefile_con +38 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/resource.rc +5 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/setup.ico +0 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Xz.c +90 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Xz.h +460 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzCrc64.c +86 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzCrc64.h +26 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzCrc64Opt.c +69 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzDec.c +2766 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzEnc.c +1329 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzEnc.h +60 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzIn.c +319 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/7zip.mak +240 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Aes.mak +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zCompressionMode.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zCompressionMode.h +76 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zDecode.cpp +569 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zDecode.h +70 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zEncode.cpp +678 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zEncode.h +92 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zExtract.cpp +423 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zFolderInStream.cpp +139 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zFolderInStream.h +61 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandler.cpp +763 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandler.h +181 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandlerOut.cpp +942 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHeader.cpp +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHeader.h +148 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zIn.cpp +1666 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zIn.h +445 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zItem.h +202 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zOut.cpp +901 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zOut.h +335 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zProperties.cpp +174 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zProperties.h +22 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zRegister.cpp +21 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zSpecStream.cpp +22 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zSpecStream.h +35 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zUpdate.cpp +2500 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zUpdate.h +139 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Archive.def +12 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Archive2.def +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/ArchiveExports.cpp +151 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/CoderMixer2.cpp +1125 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/CoderMixer2.h +447 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/DummyOutStream.cpp +17 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/DummyOutStream.h +25 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/HandlerOut.cpp +232 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/HandlerOut.h +110 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/InStreamWithCRC.cpp +46 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/InStreamWithCRC.h +67 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ItemNameUtils.cpp +88 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ItemNameUtils.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/MultiStream.cpp +191 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/MultiStream.h +89 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.cpp +18 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.h +37 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ParseProperties.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ParseProperties.h +6 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/DllExports2.cpp +122 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/IArchive.h +608 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Icons/7z.ico +0 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/LzmaHandler.cpp +629 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/SplitHandler.cpp +359 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/XzHandler.cpp +1308 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/XzHandler.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Asm.mak +9 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/Alone.dsp +1910 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/Alone.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/makefile +154 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/resource.rc +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/makefile +96 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/resource.rc +5 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/makefile +116 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/resource.rc +5 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaAlone.cpp +799 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaCon.dsp +477 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaCon.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/makefile +59 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/makefile.gcc +195 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/resource.rc +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaSpec/LzmaSpec.cpp +715 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/7z.ico +0 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SFXCon.dsp +912 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SFXCon.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SfxCon.cpp +482 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/makefile +134 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/resource.rc +5 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractCallbackSfx.cpp +246 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractCallbackSfx.h +86 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractEngine.cpp +137 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractEngine.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SFXSetup.dsp +803 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SFXSetup.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SfxSetup.cpp +364 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/StdAfx.h +13 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/makefile +117 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/resource.h +6 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/resource.rc +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/setup.ico +0 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/7z.ico +0 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SFXWin.dsp +988 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SFXWin.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SfxWin.cpp +241 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/StdAfx.h +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/makefile +153 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/resource.h +1 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/resource.rc +50 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CWrappers.cpp +250 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CWrappers.h +120 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CreateCoder.cpp +536 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CreateCoder.h +192 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilePathAutoRename.cpp +46 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilePathAutoRename.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FileStreams.cpp +475 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FileStreams.h +166 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilterCoder.cpp +435 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilterCoder.h +205 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InBuffer.cpp +163 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InBuffer.h +92 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InOutTempBuffer.cpp +127 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InOutTempBuffer.h +48 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LimitedStreams.cpp +367 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LimitedStreams.h +252 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LockedStream.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LockedStream.h +6 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodId.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodId.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodProps.cpp +509 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodProps.h +264 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OffsetStream.cpp +39 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OffsetStream.h +26 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OutBuffer.cpp +111 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OutBuffer.h +66 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/ProgressUtils.cpp +51 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/ProgressUtils.h +35 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/PropId.cpp +108 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/RegisterArc.h +78 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/RegisterCodec.h +106 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamBinder.cpp +156 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamBinder.h +60 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamObjects.cpp +285 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamObjects.h +157 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamUtils.cpp +56 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamUtils.h +13 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/UniqBlocks.cpp +57 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/UniqBlocks.h +26 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/VirtThread.cpp +48 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/VirtThread.h +24 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Coder.cpp +666 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Coder.h +120 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Register.cpp +24 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BcjCoder.cpp +24 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BcjCoder.h +31 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BcjRegister.cpp +17 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BranchMisc.cpp +23 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BranchMisc.h +35 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BranchRegister.cpp +41 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/ByteSwap.cpp +92 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CodecExports.cpp +344 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CopyCoder.cpp +120 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CopyCoder.h +49 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CopyRegister.cpp +15 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/DeltaFilter.cpp +128 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Decoder.cpp +265 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Decoder.h +96 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Encoder.cpp +122 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Encoder.h +42 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Register.cpp +22 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaDecoder.cpp +343 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaDecoder.h +113 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaEncoder.cpp +182 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaEncoder.h +46 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaRegister.cpp +22 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdDecoder.cpp +170 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdDecoder.h +86 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdEncoder.cpp +152 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdEncoder.h +58 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdRegister.cpp +22 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzDecoder.cpp +150 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzDecoder.h +92 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzEncoder.cpp +245 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzEncoder.h +46 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crc.mak +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crc64.mak +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/7zAes.cpp +280 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/7zAes.h +118 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/7zAesRegister.cpp +17 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/MyAes.cpp +112 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/MyAes.h +57 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/MyAesReg.cpp +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/RandGen.cpp +233 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/RandGen.h +40 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/GuiCommon.rc +84 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Guid.txt +220 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/ICoder.h +399 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IDecl.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IPassword.h +23 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IProgress.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IStream.h +127 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/LzmaDec.mak +5 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/MyVersion.h +2 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/MyVersionInfo.rc +2 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/PropID.h +127 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/SubBuild.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.cpp +993 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.dsp +235 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/makefile +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/resource.rc +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveCommandLine.cpp +1295 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveCommandLine.h +136 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp +1715 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveExtractCallback.h +403 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveName.cpp +155 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveName.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveOpenCallback.cpp +161 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveOpenCallback.h +112 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Bench.cpp +3618 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Bench.h +77 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/DefaultName.cpp +37 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/DefaultName.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/DirItem.h +190 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/EnumDirItems.cpp +1096 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/EnumDirItems.h +42 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExitCode.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Extract.cpp +482 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Extract.h +94 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractMode.h +34 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractingFilePath.cpp +280 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractingFilePath.h +31 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/HashCalc.cpp +347 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/HashCalc.h +110 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/IFileExtractCallback.h +114 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/LoadCodecs.cpp +1074 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/LoadCodecs.h +424 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/OpenArchive.cpp +3553 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/OpenArchive.h +436 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/PropIDUtils.cpp +668 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/PropIDUtils.h +18 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Property.h +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SetProperties.cpp +80 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SetProperties.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SortUtils.cpp +25 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SortUtils.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/TempFiles.cpp +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/TempFiles.h +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Update.cpp +1704 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Update.h +200 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateAction.cpp +64 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateAction.h +66 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateCallback.cpp +771 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateCallback.h +162 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdatePair.cpp +233 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdatePair.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateProduce.cpp +70 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateProduce.h +55 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/WorkDir.cpp +94 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/WorkDir.h +26 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ZipRegistry.h +130 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/BenchCon.cpp +41 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/BenchCon.h +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/Console.mak +43 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/Console.manifest +13 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ConsoleClose.cpp +69 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ConsoleClose.h +33 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp +825 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ExtractCallbackConsole.h +164 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/HashCon.cpp +367 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/HashCon.h +48 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/List.cpp +1359 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/List.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/Main.cpp +1154 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/MainAr.cpp +175 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/OpenCallbackConsole.cpp +115 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/OpenCallbackConsole.h +66 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/PercentPrinter.cpp +183 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/PercentPrinter.h +62 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp +702 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UpdateCallbackConsole.h +124 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UserInputUtils.cpp +110 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UserInputUtils.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/makefile +64 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/resource.rc +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Explorer/MyMessages.cpp +37 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Explorer/MyMessages.h +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialog.cpp +1025 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialog.h +21 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialogRes.h +9 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialog.cpp +64 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialog.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialogRes.h +4 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/DialogSize.h +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ExtractCallback.cpp +1037 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ExtractCallback.h +328 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/FormatUtils.cpp +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/FormatUtils.h +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/LangUtils.h +40 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/MyWindowsNew.h +76 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.cpp +122 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.h +69 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.rc +91 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialogRes.h +17 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.cpp +58 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.rc +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialogRes.h +5 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.cpp +196 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.h +170 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.rc +12 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.cpp +1337 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.h +351 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.rc +40 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2Res.h +48 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2a.rc +80 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialogRes.h +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyName.cpp +23 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyName.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyNameRes.h +95 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/SysIconUtils.cpp +255 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/SysIconUtils.h +62 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/resource.h +177 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/resourceGui.h +15 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/Extract.rc +59 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.cpp +418 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.h +113 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.rc +98 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialogRes.h +24 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractGUI.cpp +280 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractGUI.h +38 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractRes.h +51 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/HashGUI.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/resource2.h +2 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Build.mak +156 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/AutoPtr.h +35 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CRC.cpp +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/C_FileIO.cpp +92 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/C_FileIO.h +53 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/ComTry.h +21 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CommandLineParser.cpp +197 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CommandLineParser.h +63 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Common.h +43 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CrcReg.cpp +98 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Defs.h +15 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/DynamicBuffer.h +64 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/IntToString.cpp +193 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/IntToString.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Lang.h +23 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/ListFileUtils.cpp +132 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/ListFileUtils.h +18 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyBuffer.h +259 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyBuffer2.h +100 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyCom.h +277 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyException.h +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyGuidDef.h +54 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyInitGuid.h +45 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyLinux.h +42 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyString.cpp +1659 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyString.h +868 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyTypes.h +35 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyUnknown.h +17 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyVector.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyVector.h +634 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyWindows.cpp +145 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyWindows.h +231 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/NewHandler.cpp +163 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/NewHandler.h +88 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Sha256Reg.cpp +40 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdInStream.cpp +89 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdInStream.h +38 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdOutStream.cpp +163 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdOutStream.h +71 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringConvert.cpp +319 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringConvert.h +88 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringToInt.cpp +144 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringToInt.h +21 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/TextConfig.cpp +124 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/TextConfig.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/UTFConvert.cpp +288 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/UTFConvert.h +12 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Wildcard.cpp +676 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Wildcard.h +149 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/XzCrc64Init.cpp +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/XzCrc64Reg.cpp +42 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/COM.h +70 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/CommonDialog.cpp +185 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/CommonDialog.h +23 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ComboBox.cpp +66 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ComboBox.h +65 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/CommandBar.h +52 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Dialog.cpp +251 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Dialog.h +170 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Edit.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ImageList.cpp +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ImageList.h +87 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ListView.cpp +155 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ListView.h +146 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ProgressBar.h +35 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/PropertyPage.cpp +143 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/PropertyPage.h +50 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ReBar.h +34 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Static.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/StatusBar.h +42 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ToolBar.h +43 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Trackbar.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Window2.cpp +200 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Window2.h +51 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/DLL.cpp +109 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/DLL.h +58 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Defs.h +17 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ErrorMsg.cpp +66 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ErrorMsg.h +15 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileDir.cpp +714 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileDir.h +117 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileFind.cpp +749 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileFind.h +161 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileIO.cpp +432 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileIO.h +212 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileLink.cpp +440 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileMapping.cpp +12 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileMapping.h +66 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileName.cpp +839 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileName.h +115 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileSystem.cpp +131 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileSystem.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Handle.h +37 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/MemoryLock.cpp +112 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/MemoryLock.h +40 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/NtCheck.h +46 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariant.cpp +347 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariant.h +114 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariantConv.cpp +138 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariantConv.h +37 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Registry.cpp +390 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Registry.h +84 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ResourceString.cpp +103 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ResourceString.h +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/SecurityUtils.cpp +181 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/SecurityUtils.h +167 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Shell.cpp +358 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Shell.h +94 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Synchronization.cpp +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Synchronization.h +164 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/System.cpp +142 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/System.h +40 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Thread.h +38 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/TimeUtils.cpp +213 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/TimeUtils.h +32 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Window.cpp +179 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Window.h +284 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Common/CRC.cs +55 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Common/CommandLineParser.cs +274 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Common/InBuffer.cs +72 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Common/OutBuffer.cs +47 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZ/IMatchFinder.cs +24 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzBinTree.cs +367 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzInWindow.cs +132 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzOutWindow.cs +110 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaBase.cs +76 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaDecoder.cs +398 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaEncoder.cs +1480 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.cs +364 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.csproj +90 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.sln +20 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaBench.cs +340 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/AssemblyInfo.cs +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/Resources.cs +70 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/Settings.cs +42 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoder.cs +234 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoderBit.cs +117 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoderBitTree.cs +157 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/ICoder.cs +157 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/7zC.txt +187 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/7zFormat.txt +469 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/Methods.txt +173 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/installer.txt +166 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma-history.txt +446 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma-sdk.txt +357 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma-specification.txt +1176 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma.txt +328 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/CRC.java +52 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/BinTree.java +382 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/InWindow.java +131 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/OutWindow.java +85 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Base.java +88 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Decoder.java +329 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Encoder.java +1416 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/BitTreeDecoder.java +55 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/BitTreeEncoder.java +99 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/Decoder.java +88 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/Encoder.java +151 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/ICodeProgress.java +6 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/LzmaAlone.java +253 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/LzmaBench.java +392 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/7zS2.sfx +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/7zS2con.sfx +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/7zSD.sfx +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/7zdec.exe +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/7zr.exe +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/installer/config.txt +5 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/installer/cr.bat +5 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/lzma.exe +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/x64/7zr.exe +0 -0
- package/package.json +1 -1
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
// CodecExports.cpp
|
|
2
|
+
|
|
3
|
+
#include "StdAfx.h"
|
|
4
|
+
|
|
5
|
+
#include "../../../C/CpuArch.h"
|
|
6
|
+
|
|
7
|
+
#include "../../Common/ComTry.h"
|
|
8
|
+
#include "../../Common/MyCom.h"
|
|
9
|
+
|
|
10
|
+
#include "../../Windows/Defs.h"
|
|
11
|
+
|
|
12
|
+
#include "../ICoder.h"
|
|
13
|
+
|
|
14
|
+
#include "../Common/RegisterCodec.h"
|
|
15
|
+
|
|
16
|
+
extern unsigned g_NumCodecs;
|
|
17
|
+
extern const CCodecInfo *g_Codecs[];
|
|
18
|
+
|
|
19
|
+
extern unsigned g_NumHashers;
|
|
20
|
+
extern const CHasherInfo *g_Hashers[];
|
|
21
|
+
|
|
22
|
+
static void SetPropFromAscii(const char *s, PROPVARIANT *prop) throw()
|
|
23
|
+
{
|
|
24
|
+
UINT len = (UINT)strlen(s);
|
|
25
|
+
BSTR dest = ::SysAllocStringLen(NULL, len);
|
|
26
|
+
if (dest)
|
|
27
|
+
{
|
|
28
|
+
for (UINT i = 0; i <= len; i++)
|
|
29
|
+
dest[i] = (Byte)s[i];
|
|
30
|
+
prop->bstrVal = dest;
|
|
31
|
+
prop->vt = VT_BSTR;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static inline HRESULT SetPropGUID(const GUID &guid, PROPVARIANT *value) throw()
|
|
36
|
+
{
|
|
37
|
+
if ((value->bstrVal = ::SysAllocStringByteLen((const char *)&guid, sizeof(guid))) != NULL)
|
|
38
|
+
value->vt = VT_BSTR;
|
|
39
|
+
return S_OK;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
static HRESULT MethodToClassID(UInt16 typeId, CMethodId id, PROPVARIANT *value) throw()
|
|
43
|
+
{
|
|
44
|
+
GUID clsId;
|
|
45
|
+
clsId.Data1 = k_7zip_GUID_Data1;
|
|
46
|
+
clsId.Data2 = k_7zip_GUID_Data2;
|
|
47
|
+
clsId.Data3 = typeId;
|
|
48
|
+
SetUi64(clsId.Data4, id);
|
|
49
|
+
return SetPropGUID(clsId, value);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
static HRESULT FindCodecClassId(const GUID *clsid, bool isCoder2, bool isFilter, bool &encode, int &index) throw()
|
|
53
|
+
{
|
|
54
|
+
index = -1;
|
|
55
|
+
if (clsid->Data1 != k_7zip_GUID_Data1 ||
|
|
56
|
+
clsid->Data2 != k_7zip_GUID_Data2)
|
|
57
|
+
return S_OK;
|
|
58
|
+
|
|
59
|
+
encode = true;
|
|
60
|
+
|
|
61
|
+
if (clsid->Data3 == k_7zip_GUID_Data3_Decoder) encode = false;
|
|
62
|
+
else if (clsid->Data3 != k_7zip_GUID_Data3_Encoder) return S_OK;
|
|
63
|
+
|
|
64
|
+
UInt64 id = GetUi64(clsid->Data4);
|
|
65
|
+
|
|
66
|
+
for (unsigned i = 0; i < g_NumCodecs; i++)
|
|
67
|
+
{
|
|
68
|
+
const CCodecInfo &codec = *g_Codecs[i];
|
|
69
|
+
|
|
70
|
+
if (id != codec.Id
|
|
71
|
+
|| (encode ? !codec.CreateEncoder : !codec.CreateDecoder)
|
|
72
|
+
|| (isFilter ? !codec.IsFilter : codec.IsFilter))
|
|
73
|
+
continue;
|
|
74
|
+
|
|
75
|
+
if (codec.NumStreams == 1 ? isCoder2 : !isCoder2)
|
|
76
|
+
return E_NOINTERFACE;
|
|
77
|
+
|
|
78
|
+
index = i;
|
|
79
|
+
return S_OK;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
return S_OK;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
static HRESULT CreateCoderMain(unsigned index, bool encode, void **coder)
|
|
86
|
+
{
|
|
87
|
+
COM_TRY_BEGIN
|
|
88
|
+
|
|
89
|
+
const CCodecInfo &codec = *g_Codecs[index];
|
|
90
|
+
|
|
91
|
+
void *c;
|
|
92
|
+
if (encode)
|
|
93
|
+
c = codec.CreateEncoder();
|
|
94
|
+
else
|
|
95
|
+
c = codec.CreateDecoder();
|
|
96
|
+
|
|
97
|
+
if (c)
|
|
98
|
+
{
|
|
99
|
+
IUnknown *unk;
|
|
100
|
+
if (codec.IsFilter)
|
|
101
|
+
unk = (IUnknown *)(ICompressFilter *)c;
|
|
102
|
+
else if (codec.NumStreams != 1)
|
|
103
|
+
unk = (IUnknown *)(ICompressCoder2 *)c;
|
|
104
|
+
else
|
|
105
|
+
unk = (IUnknown *)(ICompressCoder *)c;
|
|
106
|
+
unk->AddRef();
|
|
107
|
+
*coder = c;
|
|
108
|
+
}
|
|
109
|
+
return S_OK;
|
|
110
|
+
|
|
111
|
+
COM_TRY_END
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
static HRESULT CreateCoder2(bool encode, UInt32 index, const GUID *iid, void **outObject)
|
|
115
|
+
{
|
|
116
|
+
*outObject = NULL;
|
|
117
|
+
|
|
118
|
+
const CCodecInfo &codec = *g_Codecs[index];
|
|
119
|
+
|
|
120
|
+
if (encode ? !codec.CreateEncoder : !codec.CreateDecoder)
|
|
121
|
+
return CLASS_E_CLASSNOTAVAILABLE;
|
|
122
|
+
|
|
123
|
+
if (codec.IsFilter)
|
|
124
|
+
{
|
|
125
|
+
if (*iid != IID_ICompressFilter) return E_NOINTERFACE;
|
|
126
|
+
}
|
|
127
|
+
else if (codec.NumStreams != 1)
|
|
128
|
+
{
|
|
129
|
+
if (*iid != IID_ICompressCoder2) return E_NOINTERFACE;
|
|
130
|
+
}
|
|
131
|
+
else
|
|
132
|
+
{
|
|
133
|
+
if (*iid != IID_ICompressCoder) return E_NOINTERFACE;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
return CreateCoderMain(index, encode, outObject);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
STDAPI CreateDecoder(UInt32 index, const GUID *iid, void **outObject)
|
|
140
|
+
{
|
|
141
|
+
return CreateCoder2(false, index, iid, outObject);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
STDAPI CreateEncoder(UInt32 index, const GUID *iid, void **outObject)
|
|
145
|
+
{
|
|
146
|
+
return CreateCoder2(true, index, iid, outObject);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
STDAPI CreateCoder(const GUID *clsid, const GUID *iid, void **outObject)
|
|
150
|
+
{
|
|
151
|
+
*outObject = NULL;
|
|
152
|
+
|
|
153
|
+
bool isFilter = false;
|
|
154
|
+
bool isCoder2 = false;
|
|
155
|
+
bool isCoder = (*iid == IID_ICompressCoder) != 0;
|
|
156
|
+
if (!isCoder)
|
|
157
|
+
{
|
|
158
|
+
isFilter = (*iid == IID_ICompressFilter) != 0;
|
|
159
|
+
if (!isFilter)
|
|
160
|
+
{
|
|
161
|
+
isCoder2 = (*iid == IID_ICompressCoder2) != 0;
|
|
162
|
+
if (!isCoder2)
|
|
163
|
+
return E_NOINTERFACE;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
bool encode;
|
|
168
|
+
int codecIndex;
|
|
169
|
+
HRESULT res = FindCodecClassId(clsid, isCoder2, isFilter, encode, codecIndex);
|
|
170
|
+
if (res != S_OK)
|
|
171
|
+
return res;
|
|
172
|
+
if (codecIndex < 0)
|
|
173
|
+
return CLASS_E_CLASSNOTAVAILABLE;
|
|
174
|
+
|
|
175
|
+
return CreateCoderMain(codecIndex, encode, outObject);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
STDAPI GetMethodProperty(UInt32 codecIndex, PROPID propID, PROPVARIANT *value)
|
|
179
|
+
{
|
|
180
|
+
::VariantClear((VARIANTARG *)value);
|
|
181
|
+
const CCodecInfo &codec = *g_Codecs[codecIndex];
|
|
182
|
+
switch (propID)
|
|
183
|
+
{
|
|
184
|
+
case NMethodPropID::kID:
|
|
185
|
+
value->uhVal.QuadPart = (UInt64)codec.Id;
|
|
186
|
+
value->vt = VT_UI8;
|
|
187
|
+
break;
|
|
188
|
+
case NMethodPropID::kName:
|
|
189
|
+
SetPropFromAscii(codec.Name, value);
|
|
190
|
+
break;
|
|
191
|
+
case NMethodPropID::kDecoder:
|
|
192
|
+
if (codec.CreateDecoder)
|
|
193
|
+
return MethodToClassID(k_7zip_GUID_Data3_Decoder, codec.Id, value);
|
|
194
|
+
break;
|
|
195
|
+
case NMethodPropID::kEncoder:
|
|
196
|
+
if (codec.CreateEncoder)
|
|
197
|
+
return MethodToClassID(k_7zip_GUID_Data3_Encoder, codec.Id, value);
|
|
198
|
+
break;
|
|
199
|
+
case NMethodPropID::kDecoderIsAssigned:
|
|
200
|
+
value->vt = VT_BOOL;
|
|
201
|
+
value->boolVal = BoolToVARIANT_BOOL(codec.CreateDecoder != NULL);
|
|
202
|
+
break;
|
|
203
|
+
case NMethodPropID::kEncoderIsAssigned:
|
|
204
|
+
value->vt = VT_BOOL;
|
|
205
|
+
value->boolVal = BoolToVARIANT_BOOL(codec.CreateEncoder != NULL);
|
|
206
|
+
break;
|
|
207
|
+
case NMethodPropID::kPackStreams:
|
|
208
|
+
if (codec.NumStreams != 1)
|
|
209
|
+
{
|
|
210
|
+
value->vt = VT_UI4;
|
|
211
|
+
value->ulVal = (ULONG)codec.NumStreams;
|
|
212
|
+
}
|
|
213
|
+
break;
|
|
214
|
+
/*
|
|
215
|
+
case NMethodPropID::kIsFilter:
|
|
216
|
+
// if (codec.IsFilter)
|
|
217
|
+
{
|
|
218
|
+
value->vt = VT_BOOL;
|
|
219
|
+
value->boolVal = BoolToVARIANT_BOOL(codec.IsFilter);
|
|
220
|
+
}
|
|
221
|
+
break;
|
|
222
|
+
*/
|
|
223
|
+
/*
|
|
224
|
+
case NMethodPropID::kDecoderFlags:
|
|
225
|
+
{
|
|
226
|
+
value->vt = VT_UI4;
|
|
227
|
+
value->ulVal = (ULONG)codec.DecoderFlags;
|
|
228
|
+
}
|
|
229
|
+
break;
|
|
230
|
+
case NMethodPropID::kEncoderFlags:
|
|
231
|
+
{
|
|
232
|
+
value->vt = VT_UI4;
|
|
233
|
+
value->ulVal = (ULONG)codec.EncoderFlags;
|
|
234
|
+
}
|
|
235
|
+
break;
|
|
236
|
+
*/
|
|
237
|
+
}
|
|
238
|
+
return S_OK;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
STDAPI GetNumberOfMethods(UINT32 *numCodecs)
|
|
242
|
+
{
|
|
243
|
+
*numCodecs = g_NumCodecs;
|
|
244
|
+
return S_OK;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
// ---------- Hashers ----------
|
|
249
|
+
|
|
250
|
+
static int FindHasherClassId(const GUID *clsid) throw()
|
|
251
|
+
{
|
|
252
|
+
if (clsid->Data1 != k_7zip_GUID_Data1 ||
|
|
253
|
+
clsid->Data2 != k_7zip_GUID_Data2 ||
|
|
254
|
+
clsid->Data3 != k_7zip_GUID_Data3_Hasher)
|
|
255
|
+
return -1;
|
|
256
|
+
UInt64 id = GetUi64(clsid->Data4);
|
|
257
|
+
for (unsigned i = 0; i < g_NumCodecs; i++)
|
|
258
|
+
if (id == g_Hashers[i]->Id)
|
|
259
|
+
return i;
|
|
260
|
+
return -1;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
static HRESULT CreateHasher2(UInt32 index, IHasher **hasher)
|
|
264
|
+
{
|
|
265
|
+
COM_TRY_BEGIN
|
|
266
|
+
*hasher = g_Hashers[index]->CreateHasher();
|
|
267
|
+
if (*hasher)
|
|
268
|
+
(*hasher)->AddRef();
|
|
269
|
+
return S_OK;
|
|
270
|
+
COM_TRY_END
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
STDAPI CreateHasher(const GUID *clsid, IHasher **outObject)
|
|
274
|
+
{
|
|
275
|
+
COM_TRY_BEGIN
|
|
276
|
+
*outObject = 0;
|
|
277
|
+
int index = FindHasherClassId(clsid);
|
|
278
|
+
if (index < 0)
|
|
279
|
+
return CLASS_E_CLASSNOTAVAILABLE;
|
|
280
|
+
return CreateHasher2(index, outObject);
|
|
281
|
+
COM_TRY_END
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
STDAPI GetHasherProp(UInt32 codecIndex, PROPID propID, PROPVARIANT *value)
|
|
285
|
+
{
|
|
286
|
+
::VariantClear((VARIANTARG *)value);
|
|
287
|
+
const CHasherInfo &codec = *g_Hashers[codecIndex];
|
|
288
|
+
switch (propID)
|
|
289
|
+
{
|
|
290
|
+
case NMethodPropID::kID:
|
|
291
|
+
value->uhVal.QuadPart = (UInt64)codec.Id;
|
|
292
|
+
value->vt = VT_UI8;
|
|
293
|
+
break;
|
|
294
|
+
case NMethodPropID::kName:
|
|
295
|
+
SetPropFromAscii(codec.Name, value);
|
|
296
|
+
break;
|
|
297
|
+
case NMethodPropID::kEncoder:
|
|
298
|
+
if (codec.CreateHasher)
|
|
299
|
+
return MethodToClassID(k_7zip_GUID_Data3_Hasher, codec.Id, value);
|
|
300
|
+
break;
|
|
301
|
+
case NMethodPropID::kDigestSize:
|
|
302
|
+
value->ulVal = (ULONG)codec.DigestSize;
|
|
303
|
+
value->vt = VT_UI4;
|
|
304
|
+
break;
|
|
305
|
+
}
|
|
306
|
+
return S_OK;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
class CHashers:
|
|
310
|
+
public IHashers,
|
|
311
|
+
public CMyUnknownImp
|
|
312
|
+
{
|
|
313
|
+
public:
|
|
314
|
+
MY_UNKNOWN_IMP1(IHashers)
|
|
315
|
+
|
|
316
|
+
STDMETHOD_(UInt32, GetNumHashers)();
|
|
317
|
+
STDMETHOD(GetHasherProp)(UInt32 index, PROPID propID, PROPVARIANT *value);
|
|
318
|
+
STDMETHOD(CreateHasher)(UInt32 index, IHasher **hasher);
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
STDAPI GetHashers(IHashers **hashers)
|
|
322
|
+
{
|
|
323
|
+
COM_TRY_BEGIN
|
|
324
|
+
*hashers = new CHashers;
|
|
325
|
+
if (*hashers)
|
|
326
|
+
(*hashers)->AddRef();
|
|
327
|
+
return S_OK;
|
|
328
|
+
COM_TRY_END
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
STDMETHODIMP_(UInt32) CHashers::GetNumHashers()
|
|
332
|
+
{
|
|
333
|
+
return g_NumHashers;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
STDMETHODIMP CHashers::GetHasherProp(UInt32 index, PROPID propID, PROPVARIANT *value)
|
|
337
|
+
{
|
|
338
|
+
return ::GetHasherProp(index, propID, value);
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
STDMETHODIMP CHashers::CreateHasher(UInt32 index, IHasher **hasher)
|
|
342
|
+
{
|
|
343
|
+
return ::CreateHasher2(index, hasher);
|
|
344
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
// Compress/CopyCoder.cpp
|
|
2
|
+
|
|
3
|
+
#include "StdAfx.h"
|
|
4
|
+
|
|
5
|
+
#include "../../../C/Alloc.h"
|
|
6
|
+
|
|
7
|
+
#include "CopyCoder.h"
|
|
8
|
+
|
|
9
|
+
namespace NCompress {
|
|
10
|
+
|
|
11
|
+
static const UInt32 kBufSize = 1 << 17;
|
|
12
|
+
|
|
13
|
+
CCopyCoder::~CCopyCoder()
|
|
14
|
+
{
|
|
15
|
+
::MidFree(_buf);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
STDMETHODIMP CCopyCoder::SetFinishMode(UInt32 /* finishMode */)
|
|
19
|
+
{
|
|
20
|
+
return S_OK;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
STDMETHODIMP CCopyCoder::Code(ISequentialInStream *inStream,
|
|
24
|
+
ISequentialOutStream *outStream,
|
|
25
|
+
const UInt64 * /* inSize */, const UInt64 *outSize,
|
|
26
|
+
ICompressProgressInfo *progress)
|
|
27
|
+
{
|
|
28
|
+
if (!_buf)
|
|
29
|
+
{
|
|
30
|
+
_buf = (Byte *)::MidAlloc(kBufSize);
|
|
31
|
+
if (!_buf)
|
|
32
|
+
return E_OUTOFMEMORY;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
TotalSize = 0;
|
|
36
|
+
|
|
37
|
+
for (;;)
|
|
38
|
+
{
|
|
39
|
+
UInt32 size = kBufSize;
|
|
40
|
+
if (outSize && size > *outSize - TotalSize)
|
|
41
|
+
size = (UInt32)(*outSize - TotalSize);
|
|
42
|
+
if (size == 0)
|
|
43
|
+
return S_OK;
|
|
44
|
+
|
|
45
|
+
HRESULT readRes = inStream->Read(_buf, size, &size);
|
|
46
|
+
|
|
47
|
+
if (size == 0)
|
|
48
|
+
return readRes;
|
|
49
|
+
|
|
50
|
+
if (outStream)
|
|
51
|
+
{
|
|
52
|
+
UInt32 pos = 0;
|
|
53
|
+
do
|
|
54
|
+
{
|
|
55
|
+
UInt32 curSize = size - pos;
|
|
56
|
+
HRESULT res = outStream->Write(_buf + pos, curSize, &curSize);
|
|
57
|
+
pos += curSize;
|
|
58
|
+
TotalSize += curSize;
|
|
59
|
+
RINOK(res);
|
|
60
|
+
if (curSize == 0)
|
|
61
|
+
return E_FAIL;
|
|
62
|
+
}
|
|
63
|
+
while (pos < size);
|
|
64
|
+
}
|
|
65
|
+
else
|
|
66
|
+
TotalSize += size;
|
|
67
|
+
|
|
68
|
+
RINOK(readRes);
|
|
69
|
+
|
|
70
|
+
if (progress)
|
|
71
|
+
{
|
|
72
|
+
RINOK(progress->SetRatioInfo(&TotalSize, &TotalSize));
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
STDMETHODIMP CCopyCoder::SetInStream(ISequentialInStream *inStream)
|
|
78
|
+
{
|
|
79
|
+
_inStream = inStream;
|
|
80
|
+
TotalSize = 0;
|
|
81
|
+
return S_OK;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
STDMETHODIMP CCopyCoder::ReleaseInStream()
|
|
85
|
+
{
|
|
86
|
+
_inStream.Release();
|
|
87
|
+
return S_OK;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
STDMETHODIMP CCopyCoder::Read(void *data, UInt32 size, UInt32 *processedSize)
|
|
91
|
+
{
|
|
92
|
+
UInt32 realProcessedSize = 0;
|
|
93
|
+
HRESULT res = _inStream->Read(data, size, &realProcessedSize);
|
|
94
|
+
TotalSize += realProcessedSize;
|
|
95
|
+
if (processedSize)
|
|
96
|
+
*processedSize = realProcessedSize;
|
|
97
|
+
return res;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
STDMETHODIMP CCopyCoder::GetInStreamProcessedSize(UInt64 *value)
|
|
101
|
+
{
|
|
102
|
+
*value = TotalSize;
|
|
103
|
+
return S_OK;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
HRESULT CopyStream(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgressInfo *progress)
|
|
107
|
+
{
|
|
108
|
+
CMyComPtr<ICompressCoder> copyCoder = new CCopyCoder;
|
|
109
|
+
return copyCoder->Code(inStream, outStream, NULL, NULL, progress);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
HRESULT CopyStream_ExactSize(ISequentialInStream *inStream, ISequentialOutStream *outStream, UInt64 size, ICompressProgressInfo *progress)
|
|
113
|
+
{
|
|
114
|
+
NCompress::CCopyCoder *copyCoderSpec = new NCompress::CCopyCoder;
|
|
115
|
+
CMyComPtr<ICompressCoder> copyCoder = copyCoderSpec;
|
|
116
|
+
RINOK(copyCoder->Code(inStream, outStream, NULL, &size, progress));
|
|
117
|
+
return copyCoderSpec->TotalSize == size ? S_OK : E_FAIL;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// Compress/CopyCoder.h
|
|
2
|
+
|
|
3
|
+
#ifndef __COMPRESS_COPY_CODER_H
|
|
4
|
+
#define __COMPRESS_COPY_CODER_H
|
|
5
|
+
|
|
6
|
+
#include "../../Common/MyCom.h"
|
|
7
|
+
|
|
8
|
+
#include "../ICoder.h"
|
|
9
|
+
|
|
10
|
+
namespace NCompress {
|
|
11
|
+
|
|
12
|
+
class CCopyCoder:
|
|
13
|
+
public ICompressCoder,
|
|
14
|
+
public ICompressSetInStream,
|
|
15
|
+
public ISequentialInStream,
|
|
16
|
+
public ICompressSetFinishMode,
|
|
17
|
+
public ICompressGetInStreamProcessedSize,
|
|
18
|
+
public CMyUnknownImp
|
|
19
|
+
{
|
|
20
|
+
Byte *_buf;
|
|
21
|
+
CMyComPtr<ISequentialInStream> _inStream;
|
|
22
|
+
public:
|
|
23
|
+
UInt64 TotalSize;
|
|
24
|
+
|
|
25
|
+
CCopyCoder(): _buf(0), TotalSize(0) {};
|
|
26
|
+
~CCopyCoder();
|
|
27
|
+
|
|
28
|
+
MY_UNKNOWN_IMP5(
|
|
29
|
+
ICompressCoder,
|
|
30
|
+
ICompressSetInStream,
|
|
31
|
+
ISequentialInStream,
|
|
32
|
+
ICompressSetFinishMode,
|
|
33
|
+
ICompressGetInStreamProcessedSize)
|
|
34
|
+
|
|
35
|
+
STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream,
|
|
36
|
+
const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress);
|
|
37
|
+
STDMETHOD(SetInStream)(ISequentialInStream *inStream);
|
|
38
|
+
STDMETHOD(ReleaseInStream)();
|
|
39
|
+
STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
|
|
40
|
+
STDMETHOD(SetFinishMode)(UInt32 finishMode);
|
|
41
|
+
STDMETHOD(GetInStreamProcessedSize)(UInt64 *value);
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
HRESULT CopyStream(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgressInfo *progress);
|
|
45
|
+
HRESULT CopyStream_ExactSize(ISequentialInStream *inStream, ISequentialOutStream *outStream, UInt64 size, ICompressProgressInfo *progress);
|
|
46
|
+
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
#endif
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// CopyRegister.cpp
|
|
2
|
+
|
|
3
|
+
#include "StdAfx.h"
|
|
4
|
+
|
|
5
|
+
#include "../Common/RegisterCodec.h"
|
|
6
|
+
|
|
7
|
+
#include "CopyCoder.h"
|
|
8
|
+
|
|
9
|
+
namespace NCompress {
|
|
10
|
+
|
|
11
|
+
REGISTER_CODEC_CREATE(CreateCodec, CCopyCoder())
|
|
12
|
+
|
|
13
|
+
REGISTER_CODEC_2(Copy, CreateCodec, CreateCodec, 0, "Copy")
|
|
14
|
+
|
|
15
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
// DeltaFilter.cpp
|
|
2
|
+
|
|
3
|
+
#include "StdAfx.h"
|
|
4
|
+
|
|
5
|
+
#include "../../../C/Delta.h"
|
|
6
|
+
|
|
7
|
+
#include "../../Common/MyCom.h"
|
|
8
|
+
|
|
9
|
+
#include "../ICoder.h"
|
|
10
|
+
|
|
11
|
+
#include "../Common/RegisterCodec.h"
|
|
12
|
+
|
|
13
|
+
namespace NCompress {
|
|
14
|
+
namespace NDelta {
|
|
15
|
+
|
|
16
|
+
struct CDelta
|
|
17
|
+
{
|
|
18
|
+
unsigned _delta;
|
|
19
|
+
Byte _state[DELTA_STATE_SIZE];
|
|
20
|
+
|
|
21
|
+
CDelta(): _delta(1) {}
|
|
22
|
+
void DeltaInit() { Delta_Init(_state); }
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
#ifndef EXTRACT_ONLY
|
|
27
|
+
|
|
28
|
+
class CEncoder:
|
|
29
|
+
public ICompressFilter,
|
|
30
|
+
public ICompressSetCoderProperties,
|
|
31
|
+
public ICompressWriteCoderProperties,
|
|
32
|
+
CDelta,
|
|
33
|
+
public CMyUnknownImp
|
|
34
|
+
{
|
|
35
|
+
public:
|
|
36
|
+
MY_UNKNOWN_IMP3(ICompressFilter, ICompressSetCoderProperties, ICompressWriteCoderProperties)
|
|
37
|
+
INTERFACE_ICompressFilter(;)
|
|
38
|
+
STDMETHOD(SetCoderProperties)(const PROPID *propIDs, const PROPVARIANT *props, UInt32 numProps);
|
|
39
|
+
STDMETHOD(WriteCoderProperties)(ISequentialOutStream *outStream);
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
STDMETHODIMP CEncoder::Init()
|
|
43
|
+
{
|
|
44
|
+
DeltaInit();
|
|
45
|
+
return S_OK;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
STDMETHODIMP_(UInt32) CEncoder::Filter(Byte *data, UInt32 size)
|
|
49
|
+
{
|
|
50
|
+
Delta_Encode(_state, _delta, data, size);
|
|
51
|
+
return size;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
STDMETHODIMP CEncoder::SetCoderProperties(const PROPID *propIDs, const PROPVARIANT *props, UInt32 numProps)
|
|
55
|
+
{
|
|
56
|
+
UInt32 delta = _delta;
|
|
57
|
+
for (UInt32 i = 0; i < numProps; i++)
|
|
58
|
+
{
|
|
59
|
+
const PROPVARIANT &prop = props[i];
|
|
60
|
+
PROPID propID = propIDs[i];
|
|
61
|
+
if (propID >= NCoderPropID::kReduceSize)
|
|
62
|
+
continue;
|
|
63
|
+
if (prop.vt != VT_UI4)
|
|
64
|
+
return E_INVALIDARG;
|
|
65
|
+
switch (propID)
|
|
66
|
+
{
|
|
67
|
+
case NCoderPropID::kDefaultProp:
|
|
68
|
+
delta = (UInt32)prop.ulVal;
|
|
69
|
+
if (delta < 1 || delta > 256)
|
|
70
|
+
return E_INVALIDARG;
|
|
71
|
+
break;
|
|
72
|
+
case NCoderPropID::kNumThreads: break;
|
|
73
|
+
case NCoderPropID::kLevel: break;
|
|
74
|
+
default: return E_INVALIDARG;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
_delta = delta;
|
|
78
|
+
return S_OK;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
STDMETHODIMP CEncoder::WriteCoderProperties(ISequentialOutStream *outStream)
|
|
82
|
+
{
|
|
83
|
+
Byte prop = (Byte)(_delta - 1);
|
|
84
|
+
return outStream->Write(&prop, 1, NULL);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
#endif
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
class CDecoder:
|
|
91
|
+
public ICompressFilter,
|
|
92
|
+
public ICompressSetDecoderProperties2,
|
|
93
|
+
CDelta,
|
|
94
|
+
public CMyUnknownImp
|
|
95
|
+
{
|
|
96
|
+
public:
|
|
97
|
+
MY_UNKNOWN_IMP2(ICompressFilter, ICompressSetDecoderProperties2)
|
|
98
|
+
INTERFACE_ICompressFilter(;)
|
|
99
|
+
STDMETHOD(SetDecoderProperties2)(const Byte *data, UInt32 size);
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
STDMETHODIMP CDecoder::Init()
|
|
103
|
+
{
|
|
104
|
+
DeltaInit();
|
|
105
|
+
return S_OK;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
STDMETHODIMP_(UInt32) CDecoder::Filter(Byte *data, UInt32 size)
|
|
109
|
+
{
|
|
110
|
+
Delta_Decode(_state, _delta, data, size);
|
|
111
|
+
return size;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
STDMETHODIMP CDecoder::SetDecoderProperties2(const Byte *props, UInt32 size)
|
|
115
|
+
{
|
|
116
|
+
if (size != 1)
|
|
117
|
+
return E_INVALIDARG;
|
|
118
|
+
_delta = (unsigned)props[0] + 1;
|
|
119
|
+
return S_OK;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
REGISTER_FILTER_E(Delta,
|
|
124
|
+
CDecoder(),
|
|
125
|
+
CEncoder(),
|
|
126
|
+
3, "Delta")
|
|
127
|
+
|
|
128
|
+
}}
|