react-native-update 10.34.7 → 10.34.8
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 +0 -6
- package/harmony/pushy/src/main/cpp/CMakeLists.txt +4 -2
- package/package.json +1 -1
- package/harmony/pushy/src/main/cpp/HDiffPatch/CHANGELOG.md +0 -153
- package/harmony/pushy/src/main/cpp/HDiffPatch/LICENSE +0 -48
- package/harmony/pushy/src/main/cpp/HDiffPatch/Makefile +0 -157
- package/harmony/pushy/src/main/cpp/HDiffPatch/README.md +0 -307
- package/harmony/pushy/src/main/cpp/HDiffPatch/_atosize.h +0 -83
- package/harmony/pushy/src/main/cpp/HDiffPatch/_clock_for_demo.h +0 -47
- package/harmony/pushy/src/main/cpp/HDiffPatch/_dir_ignore.h +0 -191
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/Android.mk +0 -37
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/Application.mk +0 -7
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs.bat +0 -1
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs.sh +0 -1
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch.c +0 -18
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch.h +0 -20
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch_jni.c +0 -28
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/java/com/github/sisong/HPatch.java +0 -8
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/codeblocks/HDiffPatch.workspace +0 -8
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/codeblocks/HDiffZ.cbp +0 -219
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/codeblocks/HPatchZ.cbp +0 -156
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/codeblocks/unitTest.cbp +0 -65
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HDiffPatch.sln +0 -105
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HDiffZ.vcxproj +0 -237
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HDiffZ.vcxproj.user +0 -3
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HPatchZ.vcxproj +0 -318
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HPatchZ.vcxproj.user +0 -3
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/unitTest.vcxproj +0 -182
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/unitTest.vcxproj.user +0 -3
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/HDiffPatch.xcworkspace/contents.xcworkspacedata +0 -30
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/HDiffPatch.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/bestParams.xcodeproj/project.pbxproj +0 -408
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/hdiffz.xcodeproj/project.pbxproj +0 -573
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/hpatchz.xcodeproj/project.pbxproj +0 -396
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/lz4.xcodeproj/project.pbxproj +0 -268
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/lzma.xcodeproj/project.pbxproj +0 -361
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/testHashClash.xcodeproj/project.pbxproj +0 -301
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/unitTest.xcodeproj/project.pbxproj +0 -411
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/zstd.xcodeproj/project.pbxproj +0 -504
- package/harmony/pushy/src/main/cpp/HDiffPatch/checksum_plugin_demo.h +0 -344
- package/harmony/pushy/src/main/cpp/HDiffPatch/compress_parallel.cpp +0 -166
- package/harmony/pushy/src/main/cpp/HDiffPatch/compress_parallel.h +0 -59
- package/harmony/pushy/src/main/cpp/HDiffPatch/compress_plugin_demo.h +0 -1152
- package/harmony/pushy/src/main/cpp/HDiffPatch/decompress_plugin_demo.h +0 -995
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff.cpp +0 -797
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff.h +0 -65
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff_tools.cpp +0 -200
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff_tools.h +0 -178
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_manifest.cpp +0 -357
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_manifest.h +0 -87
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/file_for_dirDiff.h +0 -151
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch.c +0 -770
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch.h +0 -236
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_private.h +0 -47
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_tools.c +0 -112
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_tools.h +0 -53
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_types.h +0 -61
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_dir_output.c +0 -331
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_dir_output.h +0 -144
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_stream.c +0 -176
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_stream.h +0 -84
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/ref_stream.c +0 -146
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/ref_stream.h +0 -61
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/res_handle_limit.c +0 -152
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/res_handle_limit.h +0 -76
- package/harmony/pushy/src/main/cpp/HDiffPatch/file_for_patch.c +0 -524
- package/harmony/pushy/src/main/cpp/HDiffPatch/file_for_patch.h +0 -259
- package/harmony/pushy/src/main/cpp/HDiffPatch/hdiffz.cpp +0 -1570
- package/harmony/pushy/src/main/cpp/HDiffPatch/hpatch_dir_listener.h +0 -290
- package/harmony/pushy/src/main/cpp/HDiffPatch/hpatchz.c +0 -1221
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff.cpp +0 -1025
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff.h +0 -116
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff_types.h +0 -72
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/bytes_rle.cpp +0 -213
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/bytes_rle.h +0 -63
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/compress_detect.cpp +0 -170
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/compress_detect.h +0 -86
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/config.h +0 -89
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.c +0 -13
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.c.inc.h +0 -398
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.h +0 -194
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort64.c +0 -13
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort64.h +0 -204
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort_private.h +0 -207
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/sssort.c.inc.h +0 -815
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/trsort.c.inc.h +0 -586
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/utils.c.inc.h +0 -381
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/adler_roll.c +0 -352
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/adler_roll.h +0 -137
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/bloom_filter.h +0 -137
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/covers.h +0 -70
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/digest_matcher.cpp +0 -628
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/digest_matcher.h +0 -87
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.cpp +0 -363
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.h +0 -139
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/mem_buf.h +0 -68
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/pack_uint.h +0 -115
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/suffix_string.cpp +0 -342
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/suffix_string.h +0 -94
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/checksum_plugin.h +0 -52
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch.c +0 -2292
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch.h +0 -215
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch_private.h +0 -165
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch_types.h +0 -251
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_channel.cpp +0 -174
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_channel.h +0 -73
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_import.cpp +0 -367
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_import.h +0 -92
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/_private_searchBestParams.cpp +0 -301
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/hpatchz_test.cpp +0 -292
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/testHashClash.cpp +0 -436
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/unit_test.cpp +0 -417
- package/harmony/pushy/src/main/cpp/lzma/Asm/arm/7zCrcOpt.asm +0 -100
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/7zAsm.asm +0 -147
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/7zCrcOpt.asm +0 -147
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/AesOpt.asm +0 -237
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/LzmaDecOpt.asm +0 -1258
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/XzCrc64Opt.asm +0 -205
- package/harmony/pushy/src/main/cpp/lzma/C/7z.h +0 -202
- package/harmony/pushy/src/main/cpp/lzma/C/7zAlloc.c +0 -80
- package/harmony/pushy/src/main/cpp/lzma/C/7zAlloc.h +0 -19
- package/harmony/pushy/src/main/cpp/lzma/C/7zArcIn.c +0 -1771
- package/harmony/pushy/src/main/cpp/lzma/C/7zBuf.c +0 -36
- package/harmony/pushy/src/main/cpp/lzma/C/7zBuf.h +0 -35
- package/harmony/pushy/src/main/cpp/lzma/C/7zBuf2.c +0 -52
- package/harmony/pushy/src/main/cpp/lzma/C/7zCrc.c +0 -128
- package/harmony/pushy/src/main/cpp/lzma/C/7zCrc.h +0 -25
- package/harmony/pushy/src/main/cpp/lzma/C/7zCrcOpt.c +0 -115
- package/harmony/pushy/src/main/cpp/lzma/C/7zDec.c +0 -591
- package/harmony/pushy/src/main/cpp/lzma/C/7zFile.c +0 -286
- package/harmony/pushy/src/main/cpp/lzma/C/7zFile.h +0 -83
- package/harmony/pushy/src/main/cpp/lzma/C/7zStream.c +0 -176
- package/harmony/pushy/src/main/cpp/lzma/C/7zTypes.h +0 -375
- package/harmony/pushy/src/main/cpp/lzma/C/7zVersion.h +0 -27
- package/harmony/pushy/src/main/cpp/lzma/C/7zVersion.rc +0 -55
- package/harmony/pushy/src/main/cpp/lzma/C/Aes.c +0 -306
- package/harmony/pushy/src/main/cpp/lzma/C/Aes.h +0 -38
- package/harmony/pushy/src/main/cpp/lzma/C/AesOpt.c +0 -184
- package/harmony/pushy/src/main/cpp/lzma/C/Alloc.c +0 -455
- package/harmony/pushy/src/main/cpp/lzma/C/Alloc.h +0 -51
- package/harmony/pushy/src/main/cpp/lzma/C/Bcj2.c +0 -257
- package/harmony/pushy/src/main/cpp/lzma/C/Bcj2.h +0 -146
- package/harmony/pushy/src/main/cpp/lzma/C/Bcj2Enc.c +0 -311
- package/harmony/pushy/src/main/cpp/lzma/C/Bra.c +0 -230
- package/harmony/pushy/src/main/cpp/lzma/C/Bra.h +0 -64
- package/harmony/pushy/src/main/cpp/lzma/C/Bra86.c +0 -82
- package/harmony/pushy/src/main/cpp/lzma/C/BraIA64.c +0 -53
- package/harmony/pushy/src/main/cpp/lzma/C/Compiler.h +0 -33
- package/harmony/pushy/src/main/cpp/lzma/C/CpuArch.c +0 -218
- package/harmony/pushy/src/main/cpp/lzma/C/CpuArch.h +0 -336
- package/harmony/pushy/src/main/cpp/lzma/C/Delta.c +0 -64
- package/harmony/pushy/src/main/cpp/lzma/C/Delta.h +0 -19
- package/harmony/pushy/src/main/cpp/lzma/C/DllSecur.c +0 -108
- package/harmony/pushy/src/main/cpp/lzma/C/DllSecur.h +0 -20
- package/harmony/pushy/src/main/cpp/lzma/C/LzFind.c +0 -1127
- package/harmony/pushy/src/main/cpp/lzma/C/LzFind.h +0 -121
- package/harmony/pushy/src/main/cpp/lzma/C/LzFindMt.c +0 -853
- package/harmony/pushy/src/main/cpp/lzma/C/LzFindMt.h +0 -101
- package/harmony/pushy/src/main/cpp/lzma/C/LzHash.h +0 -57
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Dec.c +0 -488
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Dec.h +0 -120
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2DecMt.c +0 -1082
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2DecMt.h +0 -79
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Enc.c +0 -803
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Enc.h +0 -55
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma86.h +0 -111
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma86Dec.c +0 -54
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma86Enc.c +0 -106
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaDec.c +0 -1185
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaDec.h +0 -234
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaEnc.c +0 -2976
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaEnc.h +0 -76
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaLib.c +0 -40
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaLib.h +0 -131
- package/harmony/pushy/src/main/cpp/lzma/C/MtCoder.c +0 -601
- package/harmony/pushy/src/main/cpp/lzma/C/MtCoder.h +0 -141
- package/harmony/pushy/src/main/cpp/lzma/C/MtDec.c +0 -1138
- package/harmony/pushy/src/main/cpp/lzma/C/MtDec.h +0 -201
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd.h +0 -85
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7.c +0 -712
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7.h +0 -142
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7Dec.c +0 -191
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7Enc.c +0 -187
- package/harmony/pushy/src/main/cpp/lzma/C/Precomp.h +0 -10
- package/harmony/pushy/src/main/cpp/lzma/C/RotateDefs.h +0 -30
- package/harmony/pushy/src/main/cpp/lzma/C/Sha256.c +0 -248
- package/harmony/pushy/src/main/cpp/lzma/C/Sha256.h +0 -26
- package/harmony/pushy/src/main/cpp/lzma/C/Sort.c +0 -141
- package/harmony/pushy/src/main/cpp/lzma/C/Sort.h +0 -18
- package/harmony/pushy/src/main/cpp/lzma/C/Threads.c +0 -95
- package/harmony/pushy/src/main/cpp/lzma/C/Threads.h +0 -70
- package/harmony/pushy/src/main/cpp/lzma/C/ThreadsP.c +0 -396
- package/harmony/pushy/src/main/cpp/lzma/C/ThreadsP.h +0 -31
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/7z.dsp +0 -241
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/7z.dsw +0 -29
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/7zMain.c +0 -686
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/Precomp.c +0 -4
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/Precomp.h +0 -10
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/makefile +0 -40
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/makefile.gcc +0 -75
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.c +0 -258
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.dsp +0 -168
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.dsw +0 -29
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/makefile +0 -28
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/makefile.gcc +0 -44
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.def +0 -4
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.dsp +0 -178
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.dsw +0 -29
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLibExports.c +0 -14
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/makefile +0 -34
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/resource.rc +0 -3
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/Precomp.c +0 -4
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/Precomp.h +0 -10
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.c +0 -640
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.dsp +0 -231
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.dsw +0 -29
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/makefile +0 -37
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/makefile_con +0 -38
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/resource.rc +0 -5
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/setup.ico +0 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Xz.c +0 -90
- package/harmony/pushy/src/main/cpp/lzma/C/Xz.h +0 -460
- package/harmony/pushy/src/main/cpp/lzma/C/XzCrc64.c +0 -86
- package/harmony/pushy/src/main/cpp/lzma/C/XzCrc64.h +0 -26
- package/harmony/pushy/src/main/cpp/lzma/C/XzCrc64Opt.c +0 -69
- package/harmony/pushy/src/main/cpp/lzma/C/XzDec.c +0 -2766
- package/harmony/pushy/src/main/cpp/lzma/C/XzEnc.c +0 -1329
- package/harmony/pushy/src/main/cpp/lzma/C/XzEnc.h +0 -60
- package/harmony/pushy/src/main/cpp/lzma/C/XzIn.c +0 -319
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/7zip.mak +0 -240
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Aes.mak +0 -7
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zCompressionMode.cpp +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zCompressionMode.h +0 -76
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zDecode.cpp +0 -569
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zDecode.h +0 -70
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zEncode.cpp +0 -678
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zEncode.h +0 -92
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zExtract.cpp +0 -423
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zFolderInStream.cpp +0 -139
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zFolderInStream.h +0 -61
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandler.cpp +0 -763
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandler.h +0 -181
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandlerOut.cpp +0 -942
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHeader.cpp +0 -19
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHeader.h +0 -148
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zIn.cpp +0 -1666
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zIn.h +0 -445
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zItem.h +0 -202
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zOut.cpp +0 -901
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zOut.h +0 -335
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zProperties.cpp +0 -174
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zProperties.h +0 -22
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zRegister.cpp +0 -21
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zSpecStream.cpp +0 -22
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zSpecStream.h +0 -35
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zUpdate.cpp +0 -2500
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zUpdate.h +0 -139
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/StdAfx.cpp +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/StdAfx.h +0 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Archive.def +0 -12
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Archive2.def +0 -19
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/ArchiveExports.cpp +0 -151
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/CoderMixer2.cpp +0 -1125
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/CoderMixer2.h +0 -447
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/DummyOutStream.cpp +0 -17
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/DummyOutStream.h +0 -25
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/HandlerOut.cpp +0 -232
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/HandlerOut.h +0 -110
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/InStreamWithCRC.cpp +0 -46
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/InStreamWithCRC.h +0 -67
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ItemNameUtils.cpp +0 -88
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ItemNameUtils.h +0 -28
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/MultiStream.cpp +0 -191
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/MultiStream.h +0 -89
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.cpp +0 -18
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.h +0 -37
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ParseProperties.cpp +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ParseProperties.h +0 -6
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/StdAfx.h +0 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/DllExports2.cpp +0 -122
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/IArchive.h +0 -608
- 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 +0 -629
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/SplitHandler.cpp +0 -359
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/StdAfx.h +0 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/XzHandler.cpp +0 -1308
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/XzHandler.h +0 -11
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Asm.mak +0 -9
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/Alone.dsp +0 -1910
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/Alone.dsw +0 -29
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/StdAfx.cpp +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/StdAfx.h +0 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/makefile +0 -154
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/resource.rc +0 -7
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/StdAfx.cpp +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/StdAfx.h +0 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/makefile +0 -96
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/resource.rc +0 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/StdAfx.cpp +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/StdAfx.h +0 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/makefile +0 -116
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/resource.rc +0 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaAlone.cpp +0 -799
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaCon.dsp +0 -477
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaCon.dsw +0 -29
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/StdAfx.cpp +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/StdAfx.h +0 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/makefile +0 -59
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/makefile.gcc +0 -195
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/resource.rc +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaSpec/LzmaSpec.cpp +0 -715
- 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 +0 -912
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SFXCon.dsw +0 -29
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SfxCon.cpp +0 -482
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/StdAfx.cpp +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/StdAfx.h +0 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/makefile +0 -134
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/resource.rc +0 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractCallbackSfx.cpp +0 -246
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractCallbackSfx.h +0 -86
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractEngine.cpp +0 -137
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractEngine.h +0 -11
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SFXSetup.dsp +0 -803
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SFXSetup.dsw +0 -29
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SfxSetup.cpp +0 -364
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/StdAfx.cpp +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/StdAfx.h +0 -13
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/makefile +0 -117
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/resource.h +0 -6
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/resource.rc +0 -16
- 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 +0 -988
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SFXWin.dsw +0 -29
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SfxWin.cpp +0 -241
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/StdAfx.cpp +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/StdAfx.h +0 -14
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/makefile +0 -153
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/resource.h +0 -1
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/resource.rc +0 -50
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CWrappers.cpp +0 -250
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CWrappers.h +0 -120
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CreateCoder.cpp +0 -536
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CreateCoder.h +0 -192
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilePathAutoRename.cpp +0 -46
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilePathAutoRename.h +0 -10
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FileStreams.cpp +0 -475
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FileStreams.h +0 -166
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilterCoder.cpp +0 -435
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilterCoder.h +0 -205
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InBuffer.cpp +0 -163
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InBuffer.h +0 -92
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InOutTempBuffer.cpp +0 -127
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InOutTempBuffer.h +0 -48
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LimitedStreams.cpp +0 -367
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LimitedStreams.h +0 -252
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LockedStream.cpp +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LockedStream.h +0 -6
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodId.cpp +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodId.h +0 -10
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodProps.cpp +0 -509
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodProps.h +0 -264
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OffsetStream.cpp +0 -39
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OffsetStream.h +0 -26
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OutBuffer.cpp +0 -111
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OutBuffer.h +0 -66
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/ProgressUtils.cpp +0 -51
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/ProgressUtils.h +0 -35
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/PropId.cpp +0 -108
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/RegisterArc.h +0 -78
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/RegisterCodec.h +0 -106
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StdAfx.h +0 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamBinder.cpp +0 -156
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamBinder.h +0 -60
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamObjects.cpp +0 -285
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamObjects.h +0 -157
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamUtils.cpp +0 -56
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamUtils.h +0 -13
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/UniqBlocks.cpp +0 -57
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/UniqBlocks.h +0 -26
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/VirtThread.cpp +0 -48
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/VirtThread.h +0 -24
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Coder.cpp +0 -666
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Coder.h +0 -120
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Register.cpp +0 -24
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BcjCoder.cpp +0 -24
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BcjCoder.h +0 -31
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BcjRegister.cpp +0 -17
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BranchMisc.cpp +0 -23
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BranchMisc.h +0 -35
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BranchRegister.cpp +0 -41
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/ByteSwap.cpp +0 -92
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CodecExports.cpp +0 -344
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CopyCoder.cpp +0 -120
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CopyCoder.h +0 -49
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CopyRegister.cpp +0 -15
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/DeltaFilter.cpp +0 -128
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Decoder.cpp +0 -265
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Decoder.h +0 -96
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Encoder.cpp +0 -122
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Encoder.h +0 -42
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Register.cpp +0 -22
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaDecoder.cpp +0 -343
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaDecoder.h +0 -113
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaEncoder.cpp +0 -182
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaEncoder.h +0 -46
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaRegister.cpp +0 -22
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdDecoder.cpp +0 -170
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdDecoder.h +0 -86
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdEncoder.cpp +0 -152
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdEncoder.h +0 -58
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdRegister.cpp +0 -22
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/StdAfx.h +0 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzDecoder.cpp +0 -150
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzDecoder.h +0 -92
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzEncoder.cpp +0 -245
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzEncoder.h +0 -46
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crc.mak +0 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crc64.mak +0 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/7zAes.cpp +0 -280
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/7zAes.h +0 -118
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/7zAesRegister.cpp +0 -17
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/MyAes.cpp +0 -112
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/MyAes.h +0 -57
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/MyAesReg.cpp +0 -16
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/RandGen.cpp +0 -233
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/RandGen.h +0 -40
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/StdAfx.h +0 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/GuiCommon.rc +0 -84
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Guid.txt +0 -220
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/ICoder.h +0 -399
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IDecl.h +0 -28
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IPassword.h +0 -23
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IProgress.h +0 -19
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IStream.h +0 -127
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/LzmaDec.mak +0 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/MyVersion.h +0 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/MyVersionInfo.rc +0 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/PropID.h +0 -127
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/SubBuild.mak +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.cpp +0 -993
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.dsp +0 -235
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.dsw +0 -29
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/StdAfx.cpp +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/StdAfx.h +0 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/makefile +0 -28
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/resource.rc +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveCommandLine.cpp +0 -1295
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveCommandLine.h +0 -136
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp +0 -1715
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveExtractCallback.h +0 -403
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveName.cpp +0 -155
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveName.h +0 -10
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveOpenCallback.cpp +0 -161
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveOpenCallback.h +0 -112
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Bench.cpp +0 -3618
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Bench.h +0 -77
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/DefaultName.cpp +0 -37
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/DefaultName.h +0 -11
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/DirItem.h +0 -190
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/EnumDirItems.cpp +0 -1096
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/EnumDirItems.h +0 -42
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExitCode.h +0 -27
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Extract.cpp +0 -482
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Extract.h +0 -94
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractMode.h +0 -34
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractingFilePath.cpp +0 -280
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractingFilePath.h +0 -31
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/HashCalc.cpp +0 -347
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/HashCalc.h +0 -110
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/IFileExtractCallback.h +0 -114
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/LoadCodecs.cpp +0 -1074
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/LoadCodecs.h +0 -424
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/OpenArchive.cpp +0 -3553
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/OpenArchive.h +0 -436
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/PropIDUtils.cpp +0 -668
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/PropIDUtils.h +0 -18
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Property.h +0 -14
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SetProperties.cpp +0 -80
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SetProperties.h +0 -10
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SortUtils.cpp +0 -25
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SortUtils.h +0 -10
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/StdAfx.h +0 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/TempFiles.cpp +0 -19
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/TempFiles.h +0 -16
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Update.cpp +0 -1704
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Update.h +0 -200
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateAction.cpp +0 -64
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateAction.h +0 -66
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateCallback.cpp +0 -771
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateCallback.h +0 -162
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdatePair.cpp +0 -233
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdatePair.h +0 -27
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateProduce.cpp +0 -70
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateProduce.h +0 -55
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/WorkDir.cpp +0 -94
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/WorkDir.h +0 -26
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ZipRegistry.h +0 -130
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/BenchCon.cpp +0 -41
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/BenchCon.h +0 -14
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/Console.mak +0 -43
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/Console.manifest +0 -13
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ConsoleClose.cpp +0 -69
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ConsoleClose.h +0 -33
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp +0 -825
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ExtractCallbackConsole.h +0 -164
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/HashCon.cpp +0 -367
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/HashCon.h +0 -48
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/List.cpp +0 -1359
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/List.h +0 -27
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/Main.cpp +0 -1154
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/MainAr.cpp +0 -175
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/OpenCallbackConsole.cpp +0 -115
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/OpenCallbackConsole.h +0 -66
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/PercentPrinter.cpp +0 -183
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/PercentPrinter.h +0 -62
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/StdAfx.cpp +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/StdAfx.h +0 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp +0 -702
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UpdateCallbackConsole.h +0 -124
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UserInputUtils.cpp +0 -110
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UserInputUtils.h +0 -27
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/makefile +0 -64
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/resource.rc +0 -7
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Explorer/MyMessages.cpp +0 -37
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Explorer/MyMessages.h +0 -16
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialog.cpp +0 -1025
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialog.h +0 -21
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialogRes.h +0 -9
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialog.cpp +0 -64
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialog.h +0 -28
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialogRes.h +0 -4
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/DialogSize.h +0 -16
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ExtractCallback.cpp +0 -1037
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ExtractCallback.h +0 -328
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/FormatUtils.cpp +0 -28
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/FormatUtils.h +0 -14
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/LangUtils.h +0 -40
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/MyWindowsNew.h +0 -76
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.cpp +0 -122
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.h +0 -69
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.rc +0 -91
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialogRes.h +0 -17
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.cpp +0 -58
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.h +0 -28
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.rc +0 -14
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialogRes.h +0 -5
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.cpp +0 -196
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.h +0 -170
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.rc +0 -12
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.cpp +0 -1337
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.h +0 -351
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.rc +0 -40
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2Res.h +0 -48
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2a.rc +0 -80
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialogRes.h +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyName.cpp +0 -23
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyName.h +0 -10
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyNameRes.h +0 -95
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/SysIconUtils.cpp +0 -255
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/SysIconUtils.h +0 -62
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/resource.h +0 -177
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/resourceGui.h +0 -15
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/Extract.rc +0 -59
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.cpp +0 -418
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.h +0 -113
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.rc +0 -98
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialogRes.h +0 -24
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractGUI.cpp +0 -280
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractGUI.h +0 -38
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractRes.h +0 -51
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/HashGUI.h +0 -27
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/resource2.h +0 -2
- package/harmony/pushy/src/main/cpp/lzma/CPP/Build.mak +0 -156
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/AutoPtr.h +0 -35
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CRC.cpp +0 -7
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/C_FileIO.cpp +0 -92
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/C_FileIO.h +0 -53
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/ComTry.h +0 -21
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CommandLineParser.cpp +0 -197
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CommandLineParser.h +0 -63
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Common.h +0 -43
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CrcReg.cpp +0 -98
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Defs.h +0 -15
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/DynamicBuffer.h +0 -64
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/IntToString.cpp +0 -193
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/IntToString.h +0 -28
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Lang.h +0 -23
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/ListFileUtils.cpp +0 -132
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/ListFileUtils.h +0 -18
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyBuffer.h +0 -259
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyBuffer2.h +0 -100
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyCom.h +0 -277
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyException.h +0 -14
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyGuidDef.h +0 -54
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyInitGuid.h +0 -45
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyLinux.h +0 -42
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyString.cpp +0 -1659
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyString.h +0 -868
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyTypes.h +0 -35
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyUnknown.h +0 -17
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyVector.cpp +0 -3
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyVector.h +0 -634
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyWindows.cpp +0 -145
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyWindows.h +0 -231
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/NewHandler.cpp +0 -163
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/NewHandler.h +0 -88
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Sha256Reg.cpp +0 -40
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdAfx.h +0 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdInStream.cpp +0 -89
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdInStream.h +0 -38
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdOutStream.cpp +0 -163
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdOutStream.h +0 -71
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringConvert.cpp +0 -319
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringConvert.h +0 -88
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringToInt.cpp +0 -144
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringToInt.h +0 -21
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/TextConfig.cpp +0 -124
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/TextConfig.h +0 -19
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/UTFConvert.cpp +0 -288
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/UTFConvert.h +0 -12
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Wildcard.cpp +0 -676
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Wildcard.h +0 -149
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/XzCrc64Init.cpp +0 -7
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/XzCrc64Reg.cpp +0 -42
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/COM.h +0 -70
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/CommonDialog.cpp +0 -185
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/CommonDialog.h +0 -23
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ComboBox.cpp +0 -66
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ComboBox.h +0 -65
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/CommandBar.h +0 -52
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Dialog.cpp +0 -251
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Dialog.h +0 -170
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Edit.h +0 -19
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ImageList.cpp +0 -10
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ImageList.h +0 -87
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ListView.cpp +0 -155
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ListView.h +0 -146
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ProgressBar.h +0 -35
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/PropertyPage.cpp +0 -143
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/PropertyPage.h +0 -50
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ReBar.h +0 -34
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Static.h +0 -28
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/StatusBar.h +0 -42
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/StdAfx.h +0 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ToolBar.h +0 -43
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Trackbar.h +0 -27
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Window2.cpp +0 -200
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Window2.h +0 -51
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/DLL.cpp +0 -109
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/DLL.h +0 -58
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Defs.h +0 -17
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ErrorMsg.cpp +0 -66
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ErrorMsg.h +0 -15
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileDir.cpp +0 -714
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileDir.h +0 -117
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileFind.cpp +0 -749
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileFind.h +0 -161
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileIO.cpp +0 -432
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileIO.h +0 -212
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileLink.cpp +0 -440
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileMapping.cpp +0 -12
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileMapping.h +0 -66
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileName.cpp +0 -839
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileName.h +0 -115
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileSystem.cpp +0 -131
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileSystem.h +0 -27
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Handle.h +0 -37
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/MemoryLock.cpp +0 -112
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/MemoryLock.h +0 -40
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/NtCheck.h +0 -46
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariant.cpp +0 -347
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariant.h +0 -114
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariantConv.cpp +0 -138
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariantConv.h +0 -37
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Registry.cpp +0 -390
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Registry.h +0 -84
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ResourceString.cpp +0 -103
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ResourceString.h +0 -16
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/SecurityUtils.cpp +0 -181
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/SecurityUtils.h +0 -167
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Shell.cpp +0 -358
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Shell.h +0 -94
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/StdAfx.h +0 -8
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Synchronization.cpp +0 -10
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Synchronization.h +0 -164
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/System.cpp +0 -142
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/System.h +0 -40
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Thread.h +0 -38
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/TimeUtils.cpp +0 -213
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/TimeUtils.h +0 -32
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Window.cpp +0 -179
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Window.h +0 -284
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Common/CRC.cs +0 -55
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Common/CommandLineParser.cs +0 -274
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Common/InBuffer.cs +0 -72
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Common/OutBuffer.cs +0 -47
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZ/IMatchFinder.cs +0 -24
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzBinTree.cs +0 -367
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzInWindow.cs +0 -132
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzOutWindow.cs +0 -110
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaBase.cs +0 -76
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaDecoder.cs +0 -398
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaEncoder.cs +0 -1480
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.cs +0 -364
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.csproj +0 -90
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.sln +0 -20
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaBench.cs +0 -340
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/AssemblyInfo.cs +0 -29
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/Resources.cs +0 -70
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/Settings.cs +0 -42
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoder.cs +0 -234
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoderBit.cs +0 -117
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoderBitTree.cs +0 -157
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/ICoder.cs +0 -157
- package/harmony/pushy/src/main/cpp/lzma/DOC/7zC.txt +0 -187
- package/harmony/pushy/src/main/cpp/lzma/DOC/7zFormat.txt +0 -469
- package/harmony/pushy/src/main/cpp/lzma/DOC/Methods.txt +0 -173
- package/harmony/pushy/src/main/cpp/lzma/DOC/installer.txt +0 -166
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma-history.txt +0 -446
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma-sdk.txt +0 -357
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma-specification.txt +0 -1176
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma.txt +0 -328
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/CRC.java +0 -52
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/BinTree.java +0 -382
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/InWindow.java +0 -131
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/OutWindow.java +0 -85
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Base.java +0 -88
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Decoder.java +0 -329
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Encoder.java +0 -1416
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/BitTreeDecoder.java +0 -55
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/BitTreeEncoder.java +0 -99
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/Decoder.java +0 -88
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/Encoder.java +0 -151
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/ICodeProgress.java +0 -6
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/LzmaAlone.java +0 -253
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/LzmaBench.java +0 -392
- 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 +0 -5
- package/harmony/pushy/src/main/cpp/lzma/bin/installer/cr.bat +0 -5
- 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
|
@@ -1,797 +0,0 @@
|
|
|
1
|
-
// dir_diff.cpp
|
|
2
|
-
// hdiffz dir diff
|
|
3
|
-
//
|
|
4
|
-
/*
|
|
5
|
-
The MIT License (MIT)
|
|
6
|
-
Copyright (c) 2018-2019 HouSisong
|
|
7
|
-
|
|
8
|
-
Permission is hereby granted, free of charge, to any person
|
|
9
|
-
obtaining a copy of this software and associated documentation
|
|
10
|
-
files (the "Software"), to deal in the Software without
|
|
11
|
-
restriction, including without limitation the rights to use,
|
|
12
|
-
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
13
|
-
copies of the Software, and to permit persons to whom the
|
|
14
|
-
Software is furnished to do so, subject to the following
|
|
15
|
-
conditions:
|
|
16
|
-
|
|
17
|
-
The above copyright notice and this permission notice shall be
|
|
18
|
-
included in all copies of the Software.
|
|
19
|
-
|
|
20
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
21
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
22
|
-
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
23
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
24
|
-
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
25
|
-
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
26
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
27
|
-
OTHER DEALINGS IN THE SOFTWARE.
|
|
28
|
-
*/
|
|
29
|
-
#include "dir_diff.h"
|
|
30
|
-
#if (_IS_NEED_DIR_DIFF_PATCH)
|
|
31
|
-
#include <map>
|
|
32
|
-
#include <set>
|
|
33
|
-
#include "../../libHDiffPatch/HDiff/private_diff/limit_mem_diff/adler_roll.h"
|
|
34
|
-
#include "../../libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.h"
|
|
35
|
-
#include "../../libHDiffPatch/HDiff/diff.h"
|
|
36
|
-
#include "../dir_patch/dir_patch.h"
|
|
37
|
-
#include "../dir_patch/dir_patch_private.h"
|
|
38
|
-
#include "dir_diff_tools.h"
|
|
39
|
-
using namespace hdiff_private;
|
|
40
|
-
|
|
41
|
-
static const char* kDirDiffVersionType= "HDIFF19";
|
|
42
|
-
|
|
43
|
-
static std::string cmp_hash_type = "fadler64";
|
|
44
|
-
#define cmp_hash_value_t uint64_t
|
|
45
|
-
#define cmp_hash_begin(ph) { (*(ph))=ADLER_INITIAL; }
|
|
46
|
-
#define cmp_hash_append(ph,pvalues,n) { (*(ph))=fast_adler64_append(*(ph),pvalues,n); }
|
|
47
|
-
#define cmp_hash_end(ph) {}
|
|
48
|
-
#define cmp_hash_combine(ph,rightHash,rightLen) { (*(ph))=fast_adler64_by_combine(*(ph),rightHash,rightLen); }
|
|
49
|
-
|
|
50
|
-
static cmp_hash_value_t getStreamHash(const hpatch_TStreamInput* stream,const std::string& errorTag){
|
|
51
|
-
TAutoMem mem(hpatch_kFileIOBufBetterSize);
|
|
52
|
-
cmp_hash_value_t result;
|
|
53
|
-
cmp_hash_begin(&result);
|
|
54
|
-
for (hpatch_StreamPos_t pos=0; pos<stream->streamSize;) {
|
|
55
|
-
size_t readLen=hpatch_kFileIOBufBetterSize;
|
|
56
|
-
if (pos+readLen>stream->streamSize)
|
|
57
|
-
readLen=(size_t)(stream->streamSize-pos);
|
|
58
|
-
check(stream->read(stream,pos,mem.data(),mem.data()+readLen),
|
|
59
|
-
"read \""+errorTag+"\" error!");
|
|
60
|
-
cmp_hash_append(&result,mem.data(),readLen);
|
|
61
|
-
pos+=readLen;
|
|
62
|
-
}
|
|
63
|
-
cmp_hash_end(&result);
|
|
64
|
-
return result;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
static cmp_hash_value_t getFileHash(const std::string& fileName,hpatch_StreamPos_t* out_fileSize){
|
|
68
|
-
CFileStreamInput f(fileName);
|
|
69
|
-
*out_fileSize=f.base.streamSize;
|
|
70
|
-
return getStreamHash(&f.base,fileName);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
static bool fileData_isSame(const std::string& file_x,const std::string& file_y,
|
|
75
|
-
hpatch_ICopyDataListener* copyListener=0){
|
|
76
|
-
CFileStreamInput f_x(file_x);
|
|
77
|
-
CFileStreamInput f_y(file_y);
|
|
78
|
-
if (f_x.base.streamSize!=f_y.base.streamSize)
|
|
79
|
-
return false;
|
|
80
|
-
TAutoMem mem(hpatch_kFileIOBufBetterSize*2);
|
|
81
|
-
for (hpatch_StreamPos_t pos=0; pos<f_x.base.streamSize;) {
|
|
82
|
-
size_t readLen=hpatch_kFileIOBufBetterSize;
|
|
83
|
-
if (pos+readLen>f_x.base.streamSize)
|
|
84
|
-
readLen=(size_t)(f_x.base.streamSize-pos);
|
|
85
|
-
check(f_x.base.read(&f_x.base,pos,mem.data(),mem.data()+readLen),
|
|
86
|
-
"read file \""+file_x+"\" error!");
|
|
87
|
-
check(f_y.base.read(&f_y.base,pos,mem.data()+readLen,mem.data()+readLen*2),
|
|
88
|
-
"read file \""+file_y+"\" error!");
|
|
89
|
-
if (0!=memcmp(mem.data(),mem.data()+readLen,readLen))
|
|
90
|
-
return false;
|
|
91
|
-
if (copyListener)
|
|
92
|
-
copyListener->copyedData(copyListener,mem.data(),mem.data()+readLen);
|
|
93
|
-
pos+=readLen;
|
|
94
|
-
}
|
|
95
|
-
return true;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
static void packSamePairList(std::vector<TByte>& out_data,const std::vector<hpatch_TSameFilePair>& pairs){
|
|
99
|
-
size_t backPairNew=~(size_t)0;
|
|
100
|
-
size_t backPairOld=~(size_t)0;
|
|
101
|
-
for (size_t i=0;i<pairs.size();++i){
|
|
102
|
-
size_t curNewValue=pairs[i].newIndex;
|
|
103
|
-
assert(curNewValue>=(size_t)(backPairNew+1));
|
|
104
|
-
packUInt(out_data,(size_t)(curNewValue-(size_t)(backPairNew+1)));
|
|
105
|
-
backPairNew=curNewValue;
|
|
106
|
-
|
|
107
|
-
size_t curOldValue=pairs[i].oldIndex;
|
|
108
|
-
if (curOldValue>=(size_t)(backPairOld+1))
|
|
109
|
-
packUIntWithTag(out_data,(size_t)(curOldValue-(size_t)(backPairOld+1)),0,1);
|
|
110
|
-
else
|
|
111
|
-
packUIntWithTag(out_data,(size_t)((size_t)(backPairOld+1)-curOldValue),1,1);
|
|
112
|
-
backPairOld=curOldValue;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
struct _TCmp_byHit {
|
|
117
|
-
inline _TCmp_byHit(const char* _newPath,const std::vector<std::string>& _oldList,
|
|
118
|
-
size_t _oldRootPathSize,const std::vector<size_t>& _oldHitList)
|
|
119
|
-
:newPath(_newPath),oldList(_oldList),oldRootPathSize(_oldRootPathSize),oldHitList(_oldHitList){}
|
|
120
|
-
inline bool operator()(size_t ix,size_t iy)const{
|
|
121
|
-
size_t vx=ToValue(ix);
|
|
122
|
-
size_t vy=ToValue(iy);
|
|
123
|
-
return vx>vy;
|
|
124
|
-
}
|
|
125
|
-
size_t ToValue(size_t index)const{
|
|
126
|
-
const std::string& oldName=oldList[index];
|
|
127
|
-
bool isEqPath=(0==strcmp(newPath,oldName.c_str()+oldRootPathSize));
|
|
128
|
-
size_t hitCount=oldHitList[index];
|
|
129
|
-
|
|
130
|
-
const size_t kMaxValue=~(size_t)0;
|
|
131
|
-
if (hitCount==0){
|
|
132
|
-
if (isEqPath) return kMaxValue;
|
|
133
|
-
else return kMaxValue-1;
|
|
134
|
-
}else{
|
|
135
|
-
if (isEqPath) return kMaxValue-2;
|
|
136
|
-
else return hitCount;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
const char* newPath;
|
|
140
|
-
const std::vector<std::string>& oldList;
|
|
141
|
-
const size_t oldRootPathSize;
|
|
142
|
-
const std::vector<size_t>& oldHitList;
|
|
143
|
-
};
|
|
144
|
-
|
|
145
|
-
static void getRefList(const std::string& oldRootPath,const std::string& newRootPath,
|
|
146
|
-
const std::vector<std::string>& oldList,const std::vector<std::string>& newList,
|
|
147
|
-
std::vector<hpatch_StreamPos_t>& out_oldSizeList,
|
|
148
|
-
std::vector<hpatch_StreamPos_t>& out_newSizeList,
|
|
149
|
-
std::vector<hpatch_TSameFilePair>& out_dataSamePairList,
|
|
150
|
-
std::vector<size_t>& out_oldRefList,std::vector<size_t>& out_newRefList,
|
|
151
|
-
bool isNeedOutHashs,
|
|
152
|
-
std::vector<cmp_hash_value_t>& out_oldHashList,
|
|
153
|
-
std::vector<cmp_hash_value_t>& out_newHashList){
|
|
154
|
-
typedef std::multimap<cmp_hash_value_t,size_t> TMap;
|
|
155
|
-
TMap hashMap;
|
|
156
|
-
std::set<size_t> oldRefSet;
|
|
157
|
-
const bool isFileSizeAsHash =(!isNeedOutHashs) && ((oldList.size()*newList.size())<=16);
|
|
158
|
-
out_oldSizeList.assign(oldList.size(),0);
|
|
159
|
-
out_newSizeList.assign(newList.size(),0);
|
|
160
|
-
if (isNeedOutHashs){
|
|
161
|
-
out_oldHashList.assign(oldList.size(),0);
|
|
162
|
-
out_newHashList.assign(newList.size(),0);
|
|
163
|
-
}
|
|
164
|
-
for (size_t oldi=0; oldi<oldList.size(); ++oldi) {
|
|
165
|
-
const std::string& fileName=oldList[oldi];
|
|
166
|
-
if (isDirName(fileName)) continue;
|
|
167
|
-
hpatch_StreamPos_t fileSize=0;
|
|
168
|
-
cmp_hash_value_t hash;
|
|
169
|
-
if (isFileSizeAsHash){
|
|
170
|
-
fileSize=getFileSize(fileName);
|
|
171
|
-
hash=fileSize;
|
|
172
|
-
}else{
|
|
173
|
-
if ((fileName.empty())&&(oldList.size()==1)){ // isOldPathInputEmpty
|
|
174
|
-
hpatch_TStreamInput emptyStream;
|
|
175
|
-
mem_as_hStreamInput(&emptyStream,0,0);
|
|
176
|
-
hash=getStreamHash(&emptyStream,"isOldPathInputEmpty, as empty file");
|
|
177
|
-
fileSize=0;
|
|
178
|
-
}else{
|
|
179
|
-
hash=getFileHash(fileName,&fileSize);
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
out_oldSizeList[oldi]=fileSize;
|
|
183
|
-
if (isNeedOutHashs) out_oldHashList[oldi]=hash;
|
|
184
|
-
if (fileSize==0) continue;
|
|
185
|
-
hashMap.insert(TMap::value_type(hash,oldi));
|
|
186
|
-
oldRefSet.insert(oldi);
|
|
187
|
-
}
|
|
188
|
-
out_dataSamePairList.clear();
|
|
189
|
-
out_newRefList.clear();
|
|
190
|
-
std::vector<size_t> oldHitList(oldList.size(),0);
|
|
191
|
-
for (size_t newi=0; newi<newList.size(); ++newi){
|
|
192
|
-
const std::string& fileName=newList[newi];
|
|
193
|
-
if (isDirName(fileName)) continue;
|
|
194
|
-
hpatch_StreamPos_t fileSize=0;
|
|
195
|
-
cmp_hash_value_t hash;
|
|
196
|
-
if (isFileSizeAsHash){
|
|
197
|
-
fileSize=getFileSize(fileName);
|
|
198
|
-
hash=fileSize;
|
|
199
|
-
}else{
|
|
200
|
-
hash=getFileHash(fileName,&fileSize);
|
|
201
|
-
}
|
|
202
|
-
out_newSizeList[newi]=fileSize;
|
|
203
|
-
if (isNeedOutHashs) out_newHashList[newi]=hash;
|
|
204
|
-
if (fileSize==0) continue;
|
|
205
|
-
|
|
206
|
-
bool isFoundSame=false;
|
|
207
|
-
size_t oldIndex=~(size_t)0;
|
|
208
|
-
std::pair<TMap::const_iterator,TMap::const_iterator> range=hashMap.equal_range(hash);
|
|
209
|
-
std::vector<size_t> oldHashIndexs;
|
|
210
|
-
for (;range.first!=range.second;++range.first)
|
|
211
|
-
oldHashIndexs.push_back(range.first->second);
|
|
212
|
-
const char* newPath=fileName.c_str()+newRootPath.size();
|
|
213
|
-
if (oldHashIndexs.size()>1)
|
|
214
|
-
std::sort(oldHashIndexs.begin(),oldHashIndexs.end(),
|
|
215
|
-
_TCmp_byHit(newPath,oldList,oldRootPath.size(),oldHitList));
|
|
216
|
-
for (size_t oldi=0;oldi<oldHashIndexs.size();++oldi){
|
|
217
|
-
size_t curOldIndex=oldHashIndexs[oldi];
|
|
218
|
-
const std::string& oldName=oldList[curOldIndex];
|
|
219
|
-
if (fileData_isSame(oldName,fileName)){
|
|
220
|
-
isFoundSame=true;
|
|
221
|
-
oldIndex=curOldIndex;
|
|
222
|
-
break;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
if (isFoundSame){
|
|
227
|
-
++oldHitList[oldIndex];
|
|
228
|
-
oldRefSet.erase(oldIndex);
|
|
229
|
-
hpatch_TSameFilePair pair; pair.newIndex=newi; pair.oldIndex=oldIndex;
|
|
230
|
-
out_dataSamePairList.push_back(pair);
|
|
231
|
-
}else{
|
|
232
|
-
out_newRefList.push_back(newi);
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
out_oldRefList.assign(oldRefSet.begin(),oldRefSet.end());
|
|
236
|
-
std::sort(out_oldRefList.begin(),out_oldRefList.end());
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
struct CChecksumCombine:public CChecksum{
|
|
240
|
-
inline explicit CChecksumCombine(hpatch_TChecksum* checksumPlugin,bool isCanUseCombine)
|
|
241
|
-
:CChecksum(checksumPlugin),_isCanUseCombine(isCanUseCombine) {
|
|
242
|
-
if (checksumPlugin&&_isCanUseCombine) cmp_hash_begin(&_combineHash); }
|
|
243
|
-
inline void appendEnd(){
|
|
244
|
-
CChecksum::appendEnd();
|
|
245
|
-
if (_isCanUseCombine){
|
|
246
|
-
cmp_hash_end(&_combineHash);
|
|
247
|
-
assert(sizeof(cmp_hash_value_t)==_checksumPlugin->checksumByteSize());
|
|
248
|
-
checksum.resize(sizeof(cmp_hash_value_t));
|
|
249
|
-
cmp_hash_value_t hash=_combineHash;
|
|
250
|
-
for (size_t i=0;i<sizeof(cmp_hash_value_t);++i){
|
|
251
|
-
checksum[i]=(TByte)hash;
|
|
252
|
-
hash>>=8;
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
inline void combine(cmp_hash_value_t rightHash,uint64_t rightLen){
|
|
257
|
-
cmp_hash_combine(&_combineHash,rightHash,rightLen);
|
|
258
|
-
}
|
|
259
|
-
const bool _isCanUseCombine;
|
|
260
|
-
cmp_hash_value_t _combineHash;
|
|
261
|
-
};
|
|
262
|
-
|
|
263
|
-
void dir_diff(IDirDiffListener* listener,const TManifest& oldManifest,
|
|
264
|
-
const TManifest& newManifest,const hpatch_TStreamOutput* outDiffStream,
|
|
265
|
-
bool isLoadAll,size_t matchValue,const hdiff_TCompress* compressPlugin,
|
|
266
|
-
hpatch_TChecksum* checksumPlugin,size_t kMaxOpenFileNumber){
|
|
267
|
-
assert(listener!=0);
|
|
268
|
-
assert(kMaxOpenFileNumber>=kMaxOpenFileNumber_limit_min);
|
|
269
|
-
if ((checksumPlugin)&&(!isLoadAll)){
|
|
270
|
-
check((outDiffStream->read_writed!=0),
|
|
271
|
-
"for update checksum, outDiffStream->read_writed can't null error!");
|
|
272
|
-
}
|
|
273
|
-
kMaxOpenFileNumber-=1; // for outDiffStream
|
|
274
|
-
const std::vector<std::string>& oldList=oldManifest.pathList;
|
|
275
|
-
const std::vector<std::string>& newList=newManifest.pathList;
|
|
276
|
-
const bool oldIsDir=isDirName(oldManifest.rootPath);
|
|
277
|
-
const bool newIsDir=isDirName(newManifest.rootPath);
|
|
278
|
-
|
|
279
|
-
std::vector<hpatch_StreamPos_t> oldSizeList;
|
|
280
|
-
std::vector<hpatch_StreamPos_t> newSizeList;
|
|
281
|
-
std::vector<hpatch_TSameFilePair> dataSamePairList; //new map to same old
|
|
282
|
-
std::vector<size_t> oldRefIList;
|
|
283
|
-
std::vector<size_t> newRefIList;
|
|
284
|
-
std::vector<size_t> newExecuteList; //for linux etc
|
|
285
|
-
|
|
286
|
-
for (size_t newi=0; newi<newList.size(); ++newi) {
|
|
287
|
-
if ((!isDirName(newList[newi]))&&(listener->isExecuteFile(newList[newi])))
|
|
288
|
-
newExecuteList.push_back(newi);
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
const bool isCachedHashs=(checksumPlugin!=0)&&(checksumPlugin->checksumType()==cmp_hash_type);
|
|
292
|
-
if (isCachedHashs) checkv(sizeof(cmp_hash_value_t)==checksumPlugin->checksumByteSize());
|
|
293
|
-
std::vector<cmp_hash_value_t> oldHashList;
|
|
294
|
-
std::vector<cmp_hash_value_t> newHashList;
|
|
295
|
-
getRefList(oldManifest.rootPath,newManifest.rootPath,oldList,newList,
|
|
296
|
-
oldSizeList,newSizeList,dataSamePairList,oldRefIList,newRefIList,
|
|
297
|
-
isCachedHashs,oldHashList,newHashList);
|
|
298
|
-
std::vector<hpatch_StreamPos_t> newRefSizeList;
|
|
299
|
-
CFileResHandleLimit resLimit(kMaxOpenFileNumber,oldRefIList.size()+newRefIList.size());
|
|
300
|
-
{
|
|
301
|
-
for (size_t i=0; i<oldRefIList.size(); ++i) {
|
|
302
|
-
size_t fi=oldRefIList[i];
|
|
303
|
-
resLimit.addRes(oldList[fi],oldSizeList[fi]);
|
|
304
|
-
}
|
|
305
|
-
newRefSizeList.resize(newRefIList.size());
|
|
306
|
-
for (size_t i=0; i<newRefIList.size(); ++i) {
|
|
307
|
-
size_t fi=newRefIList[i];
|
|
308
|
-
newRefSizeList[i]=newSizeList[fi];
|
|
309
|
-
resLimit.addRes(newList[fi],newSizeList[fi]);
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
resLimit.open();
|
|
313
|
-
CRefStream oldRefStream;
|
|
314
|
-
CRefStream newRefStream;
|
|
315
|
-
oldRefStream.open(resLimit.limit.streamList,oldRefIList.size());
|
|
316
|
-
newRefStream.open(resLimit.limit.streamList+oldRefIList.size(),newRefIList.size());
|
|
317
|
-
|
|
318
|
-
//checksum
|
|
319
|
-
const size_t checksumByteSize=(checksumPlugin==0)?0:checksumPlugin->checksumByteSize();
|
|
320
|
-
//oldRefChecksum
|
|
321
|
-
CChecksumCombine oldRefChecksum(checksumPlugin,isCachedHashs);
|
|
322
|
-
if (isCachedHashs){
|
|
323
|
-
for (size_t i=0; i<oldRefIList.size(); ++i) {
|
|
324
|
-
size_t fi=oldRefIList[i];
|
|
325
|
-
oldRefChecksum.combine(oldHashList[fi],oldSizeList[fi]);
|
|
326
|
-
}
|
|
327
|
-
}else{
|
|
328
|
-
oldRefChecksum.append(oldRefStream.stream);
|
|
329
|
-
}
|
|
330
|
-
oldRefChecksum.appendEnd();
|
|
331
|
-
//newRefChecksum
|
|
332
|
-
CChecksumCombine newRefChecksum(checksumPlugin,isCachedHashs);
|
|
333
|
-
if (isCachedHashs){
|
|
334
|
-
for (size_t i=0; i<newRefIList.size(); ++i) {
|
|
335
|
-
size_t fi=newRefIList[i];
|
|
336
|
-
newRefChecksum.combine(newHashList[fi],newSizeList[fi]);
|
|
337
|
-
}
|
|
338
|
-
}else{
|
|
339
|
-
newRefChecksum.append(newRefStream.stream);
|
|
340
|
-
}
|
|
341
|
-
newRefChecksum.appendEnd();
|
|
342
|
-
//sameFileChecksum
|
|
343
|
-
CChecksumCombine sameFileChecksum(checksumPlugin,isCachedHashs);
|
|
344
|
-
hpatch_StreamPos_t sameFileSize=0;
|
|
345
|
-
for (size_t i=0; i<dataSamePairList.size(); ++i) {
|
|
346
|
-
size_t newi=dataSamePairList[i].newIndex;
|
|
347
|
-
if (isCachedHashs){
|
|
348
|
-
hpatch_StreamPos_t fileSize=newSizeList[newi];
|
|
349
|
-
sameFileChecksum.combine(newHashList[newi],fileSize);
|
|
350
|
-
sameFileSize+=fileSize;
|
|
351
|
-
}else{
|
|
352
|
-
CFileStreamInput file(newList[newi]);
|
|
353
|
-
assert(file.base.streamSize==newSizeList[newi]);
|
|
354
|
-
sameFileChecksum.append(&file.base);
|
|
355
|
-
sameFileSize+=file.base.streamSize;
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
sameFileChecksum.appendEnd();
|
|
359
|
-
|
|
360
|
-
listener->diffRefInfo(oldList.size(),newList.size(),dataSamePairList.size(),
|
|
361
|
-
sameFileSize,oldRefIList.size(),newRefIList.size(),
|
|
362
|
-
oldRefStream.stream->streamSize,newRefStream.stream->streamSize);
|
|
363
|
-
|
|
364
|
-
//serialize headData
|
|
365
|
-
std::vector<TByte> headData;
|
|
366
|
-
size_t oldPathSumSize=pushNameList(headData,oldManifest.rootPath,oldList);
|
|
367
|
-
size_t newPathSumSize=pushNameList(headData,newManifest.rootPath,newList);
|
|
368
|
-
packIncList(headData,oldRefIList);
|
|
369
|
-
packIncList(headData,newRefIList);
|
|
370
|
-
packList(headData,newRefSizeList);
|
|
371
|
-
packSamePairList(headData,dataSamePairList);
|
|
372
|
-
packIncList(headData,newExecuteList);
|
|
373
|
-
std::vector<TByte> privateReservedData;//now empty
|
|
374
|
-
headData.insert(headData.end(),privateReservedData.begin(),privateReservedData.end());
|
|
375
|
-
std::vector<TByte> headCode;
|
|
376
|
-
if (compressPlugin){
|
|
377
|
-
headCode.resize((size_t)compressPlugin->maxCompressedSize(headData.size()));
|
|
378
|
-
size_t codeSize=hdiff_compress_mem(compressPlugin,headCode.data(),headCode.data()+headCode.size(),
|
|
379
|
-
headData.data(),headData.data()+headData.size());
|
|
380
|
-
if ((0<codeSize)&&(codeSize<headData.size()))
|
|
381
|
-
headCode.resize(codeSize);//compress ok
|
|
382
|
-
else
|
|
383
|
-
swapClear(headCode); //compress error or give up
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
//serialize dir diff data
|
|
387
|
-
std::vector<TByte> out_data;
|
|
388
|
-
pushTypes(out_data,kDirDiffVersionType,compressPlugin?compressPlugin->compressType():0,checksumPlugin);
|
|
389
|
-
//head info
|
|
390
|
-
packUInt(out_data,oldIsDir?1:0);
|
|
391
|
-
packUInt(out_data,newIsDir?1:0);
|
|
392
|
-
packUInt(out_data,oldList.size());
|
|
393
|
-
packUInt(out_data,oldPathSumSize);
|
|
394
|
-
packUInt(out_data,newList.size());
|
|
395
|
-
packUInt(out_data,newPathSumSize);
|
|
396
|
-
packUInt(out_data,oldRefIList.size()); swapClear(oldRefIList);
|
|
397
|
-
packUInt(out_data,oldRefStream.stream->streamSize); //same as hdiffz::oldDataSize
|
|
398
|
-
packUInt(out_data,newRefIList.size()); swapClear(newRefIList);
|
|
399
|
-
packUInt(out_data,newRefStream.stream->streamSize); //same as hdiffz::newDataSize
|
|
400
|
-
packUInt(out_data,dataSamePairList.size()); swapClear(dataSamePairList);
|
|
401
|
-
packUInt(out_data,sameFileSize);
|
|
402
|
-
packUInt(out_data,newExecuteList.size()); swapClear(newExecuteList);
|
|
403
|
-
packUInt(out_data,privateReservedData.size()); swapClear(privateReservedData);
|
|
404
|
-
std::vector<TByte> privateExternData;//now empty
|
|
405
|
-
//privateExtern size
|
|
406
|
-
packUInt(out_data,privateExternData.size());
|
|
407
|
-
//externData size
|
|
408
|
-
std::vector<TByte> externData;
|
|
409
|
-
listener->externData(externData);
|
|
410
|
-
packUInt(out_data,externData.size());
|
|
411
|
-
//headData size
|
|
412
|
-
packUInt(out_data,headData.size());
|
|
413
|
-
packUInt(out_data,headCode.size());
|
|
414
|
-
//other checksum info
|
|
415
|
-
packUInt(out_data,checksumByteSize);
|
|
416
|
-
if (checksumByteSize>0){
|
|
417
|
-
pushBack(out_data,oldRefChecksum.checksum);
|
|
418
|
-
pushBack(out_data,newRefChecksum.checksum);
|
|
419
|
-
pushBack(out_data,sameFileChecksum.checksum);
|
|
420
|
-
}
|
|
421
|
-
//checksum(dirdiff)
|
|
422
|
-
CChecksum diffChecksum(checksumPlugin);
|
|
423
|
-
TPlaceholder diffChecksumPlaceholder(out_data.size(),out_data.size()+checksumByteSize);
|
|
424
|
-
if (checksumByteSize>0){
|
|
425
|
-
diffChecksum.append(out_data);
|
|
426
|
-
out_data.insert(out_data.end(),checksumByteSize,0);//placeholder
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
//begin write
|
|
430
|
-
hpatch_StreamPos_t writeToPos=0;
|
|
431
|
-
#define _pushv(v) { if ((checksumByteSize>0)&&(writeToPos>=diffChecksumPlaceholder.pos_end))\
|
|
432
|
-
diffChecksum.append(v); \
|
|
433
|
-
check(outDiffStream->write(outDiffStream,writeToPos,v.data(),v.data()+v.size()), \
|
|
434
|
-
"write diff data " #v " error!"); \
|
|
435
|
-
writeToPos+=v.size(); swapClear(v); }
|
|
436
|
-
_pushv(out_data);
|
|
437
|
-
if (headCode.size()>0){
|
|
438
|
-
_pushv(headCode);
|
|
439
|
-
}else{
|
|
440
|
-
_pushv(headData);
|
|
441
|
-
}
|
|
442
|
-
//privateExtern data
|
|
443
|
-
_pushv(privateExternData);
|
|
444
|
-
//externData
|
|
445
|
-
listener->externDataPosInDiffStream(writeToPos,externData.size());
|
|
446
|
-
_pushv(externData);
|
|
447
|
-
|
|
448
|
-
//diff data
|
|
449
|
-
listener->runHDiffBegin();
|
|
450
|
-
hpatch_StreamPos_t diffDataSize=0;
|
|
451
|
-
if (isLoadAll){
|
|
452
|
-
hpatch_StreamPos_t memSize=newRefStream.stream->streamSize+oldRefStream.stream->streamSize;
|
|
453
|
-
check(memSize==(size_t)memSize,"alloc size overflow error!");
|
|
454
|
-
TAutoMem mem((size_t)memSize);
|
|
455
|
-
TByte* newData=mem.data();
|
|
456
|
-
TByte* oldData=mem.data()+newRefStream.stream->streamSize;
|
|
457
|
-
check(newRefStream.stream->read(newRefStream.stream,0,newData,
|
|
458
|
-
newData+newRefStream.stream->streamSize),"read new file error!");
|
|
459
|
-
check(oldRefStream.stream->read(oldRefStream.stream,0,oldData,
|
|
460
|
-
oldData+oldRefStream.stream->streamSize),"read old file error!");
|
|
461
|
-
resLimit.close(); //close files
|
|
462
|
-
std::vector<TByte> out_diff;
|
|
463
|
-
create_compressed_diff(newData,newData+newRefStream.stream->streamSize,
|
|
464
|
-
oldData,oldData+oldRefStream.stream->streamSize,
|
|
465
|
-
out_diff,compressPlugin,(int)matchValue);
|
|
466
|
-
diffDataSize=out_diff.size();
|
|
467
|
-
_pushv(out_diff);
|
|
468
|
-
}else{
|
|
469
|
-
TOffsetStreamOutput ofStream(outDiffStream,writeToPos);
|
|
470
|
-
create_compressed_diff_stream(newRefStream.stream,oldRefStream.stream,&ofStream,
|
|
471
|
-
compressPlugin,matchValue);
|
|
472
|
-
diffDataSize=ofStream.outSize;
|
|
473
|
-
if (checksumByteSize>0){
|
|
474
|
-
assert(outDiffStream->read_writed!=0);
|
|
475
|
-
diffChecksum.append((const hpatch_TStreamInput*)outDiffStream,
|
|
476
|
-
writeToPos,writeToPos+diffDataSize);
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
listener->runHDiffEnd(diffDataSize);
|
|
480
|
-
if (checksumByteSize>0){ //update diffChecksum
|
|
481
|
-
diffChecksum.appendEnd();
|
|
482
|
-
const std::vector<TByte>& v=diffChecksum.checksum;
|
|
483
|
-
assert(diffChecksumPlaceholder.size()==v.size());
|
|
484
|
-
check(outDiffStream->write(outDiffStream,diffChecksumPlaceholder.pos,v.data(),v.data()+v.size()),
|
|
485
|
-
"write diff data checksum error!");
|
|
486
|
-
}
|
|
487
|
-
#undef _pushv
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
#define _test(value) { if (!(value)) { fprintf(stderr,"DirPatch check "#value" error!\n"); return hpatch_FALSE; } }
|
|
491
|
-
|
|
492
|
-
struct CDirPatchListener:public IDirPatchListener{
|
|
493
|
-
explicit CDirPatchListener(const std::string& newRootDir,
|
|
494
|
-
const std::vector<std::string>& oldList,
|
|
495
|
-
const std::vector<std::string>& newList)
|
|
496
|
-
:_oldSet(oldList.begin(),oldList.end()),_newSet(newList.begin(),newList.end()),
|
|
497
|
-
_buf(hpatch_kFileIOBufBetterSize){
|
|
498
|
-
_dirSet.insert(getParentDir(newRootDir));
|
|
499
|
-
this->listenerImport=this;
|
|
500
|
-
this->makeNewDir=_makeNewDir;
|
|
501
|
-
this->copySameFile=_copySameFile;
|
|
502
|
-
this->openNewFile=_openNewFile;
|
|
503
|
-
this->closeNewFile=_closeNewFile;
|
|
504
|
-
}
|
|
505
|
-
bool isNewOk()const{ return _newSet.empty(); }
|
|
506
|
-
std::set<std::string> _oldSet;
|
|
507
|
-
std::set<std::string> _newSet;
|
|
508
|
-
std::set<std::string> _dirSet;
|
|
509
|
-
static inline std::string getParentDir(const std::string& _path){
|
|
510
|
-
std::string path(_path);
|
|
511
|
-
if (path.empty()) return path;
|
|
512
|
-
if (path[path.size()-1]==kPatch_dirSeparator)
|
|
513
|
-
path.resize(path.size()-1);
|
|
514
|
-
while ((!path.empty())&&(path[path.size()-1]!=kPatch_dirSeparator)) {
|
|
515
|
-
path.resize(path.size()-1);
|
|
516
|
-
}
|
|
517
|
-
return path;
|
|
518
|
-
}
|
|
519
|
-
inline bool isParentDirExists(const std::string& _path)const{
|
|
520
|
-
std::string path=getParentDir(_path);
|
|
521
|
-
if (path.empty()) return true;
|
|
522
|
-
return _dirSet.find(path)!=_dirSet.end();
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
static hpatch_BOOL _makeNewDir(IDirPatchListener* listener,const char* _newDir){
|
|
526
|
-
CDirPatchListener* self=(CDirPatchListener*)listener->listenerImport;
|
|
527
|
-
std::string newDir(_newDir);
|
|
528
|
-
_test(self->isParentDirExists(newDir));
|
|
529
|
-
self->_dirSet.insert(newDir);
|
|
530
|
-
self->_newSet.erase(newDir);
|
|
531
|
-
return hpatch_TRUE;
|
|
532
|
-
}
|
|
533
|
-
static hpatch_BOOL _copySameFile(IDirPatchListener* listener,const char* _oldFileName,
|
|
534
|
-
const char* _newFileName,hpatch_ICopyDataListener* copyListener){
|
|
535
|
-
CDirPatchListener* self=(CDirPatchListener*)listener->listenerImport;
|
|
536
|
-
std::string oldFileName(_oldFileName);
|
|
537
|
-
std::string newFileName(_newFileName);
|
|
538
|
-
_test(self->isParentDirExists(newFileName));
|
|
539
|
-
_test(self->_oldSet.find(oldFileName)!=self->_oldSet.end());
|
|
540
|
-
_test(self->_newSet.find(newFileName)!=self->_newSet.end());
|
|
541
|
-
_test(fileData_isSame(oldFileName,newFileName,copyListener));
|
|
542
|
-
self->_newSet.erase(newFileName);
|
|
543
|
-
return hpatch_TRUE;
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
struct _TCheckOutNewDataStream:public hpatch_TStreamOutput{
|
|
547
|
-
explicit _TCheckOutNewDataStream(const char* _newFileName,
|
|
548
|
-
TByte* _buf,size_t _bufSize)
|
|
549
|
-
:newData(0),writedLen(0),buf(_buf),bufSize(_bufSize),newFileName(_newFileName){
|
|
550
|
-
hpatch_TFileStreamInput_init(&newFile);
|
|
551
|
-
if (hpatch_TFileStreamInput_open(&newFile,newFileName.c_str())){
|
|
552
|
-
newData=&newFile.base;
|
|
553
|
-
streamSize=newData->streamSize;
|
|
554
|
-
}else{
|
|
555
|
-
streamSize=~(hpatch_StreamPos_t)0;
|
|
556
|
-
}
|
|
557
|
-
streamImport=this;
|
|
558
|
-
read_writed=0;
|
|
559
|
-
write=_write_check;
|
|
560
|
-
}
|
|
561
|
-
~_TCheckOutNewDataStream(){ hpatch_TFileStreamInput_close(&newFile); }
|
|
562
|
-
static hpatch_BOOL _write_check(const hpatch_TStreamOutput* stream,hpatch_StreamPos_t writeToPos,
|
|
563
|
-
const unsigned char* data,const unsigned char* data_end){
|
|
564
|
-
_TCheckOutNewDataStream* self=(_TCheckOutNewDataStream*)stream->streamImport;
|
|
565
|
-
_test(self->isOpenOk());
|
|
566
|
-
_test(self->writedLen==writeToPos);
|
|
567
|
-
self->writedLen+=(size_t)(data_end-data);
|
|
568
|
-
_test(self->writedLen<=self->streamSize);
|
|
569
|
-
|
|
570
|
-
hpatch_StreamPos_t readPos=writeToPos;
|
|
571
|
-
while (data<data_end) {
|
|
572
|
-
size_t readLen=(size_t)(data_end-data);
|
|
573
|
-
if (readLen>self->bufSize) readLen=self->bufSize;
|
|
574
|
-
_test(self->newData->read(self->newData,readPos,self->buf,self->buf+readLen));
|
|
575
|
-
_test(0==memcmp(data,self->buf,readLen));
|
|
576
|
-
data+=readLen;
|
|
577
|
-
readPos+=readLen;
|
|
578
|
-
}
|
|
579
|
-
return hpatch_TRUE;
|
|
580
|
-
}
|
|
581
|
-
bool isOpenOk()const{ return (newData!=0); };
|
|
582
|
-
bool isWriteOk()const{ return (!newFile.fileError)&&(writedLen==newData->streamSize); }
|
|
583
|
-
const hpatch_TStreamInput* newData;
|
|
584
|
-
hpatch_StreamPos_t writedLen;
|
|
585
|
-
TByte* buf;
|
|
586
|
-
size_t bufSize;
|
|
587
|
-
hpatch_TFileStreamInput newFile;
|
|
588
|
-
std::string newFileName;
|
|
589
|
-
};
|
|
590
|
-
|
|
591
|
-
TAutoMem _buf;
|
|
592
|
-
static hpatch_BOOL _openNewFile(IDirPatchListener* listener,hpatch_TFileStreamOutput* out_curNewFile,
|
|
593
|
-
const char* newFileName,hpatch_StreamPos_t newFileSize){
|
|
594
|
-
CDirPatchListener* self=(CDirPatchListener*)listener->listenerImport;
|
|
595
|
-
_TCheckOutNewDataStream* newFile=new _TCheckOutNewDataStream(newFileName,self->_buf.data(),
|
|
596
|
-
self->_buf.size());
|
|
597
|
-
out_curNewFile->base=*newFile;
|
|
598
|
-
_test(newFile->isOpenOk());
|
|
599
|
-
_test(self->_newSet.find(newFile->newFileName)!=self->_newSet.end());
|
|
600
|
-
return true;
|
|
601
|
-
}
|
|
602
|
-
static hpatch_BOOL _closeNewFile(IDirPatchListener* listener,hpatch_TFileStreamOutput* curNewFile){
|
|
603
|
-
CDirPatchListener* self=(CDirPatchListener*)listener->listenerImport;
|
|
604
|
-
if (curNewFile==0) return true;
|
|
605
|
-
_TCheckOutNewDataStream* newFile=(_TCheckOutNewDataStream*)curNewFile->base.streamImport;
|
|
606
|
-
if (newFile==0) return true;
|
|
607
|
-
_test(newFile->isWriteOk());
|
|
608
|
-
_test(self->_newSet.find(newFile->newFileName)!=self->_newSet.end());
|
|
609
|
-
self->_newSet.erase(newFile->newFileName);
|
|
610
|
-
delete newFile;
|
|
611
|
-
return true;
|
|
612
|
-
}
|
|
613
|
-
};
|
|
614
|
-
|
|
615
|
-
struct CDirPatcher:public TDirPatcher{
|
|
616
|
-
CDirPatcher(){ TDirPatcher_init(this); }
|
|
617
|
-
~CDirPatcher() { TDirPatcher_close(this); }
|
|
618
|
-
};
|
|
619
|
-
|
|
620
|
-
bool check_dirdiff(IDirDiffListener* listener,const TManifest& oldManifest,const TManifest& newManifest,
|
|
621
|
-
const hpatch_TStreamInput* testDiffData,hpatch_TDecompress* decompressPlugin,
|
|
622
|
-
hpatch_TChecksum* checksumPlugin,size_t kMaxOpenFileNumber){
|
|
623
|
-
bool result=true;
|
|
624
|
-
assert(kMaxOpenFileNumber>=kMaxOpenFileNumber_limit_min);
|
|
625
|
-
const std::vector<std::string>& oldList=oldManifest.pathList;
|
|
626
|
-
const std::vector<std::string>& newList=newManifest.pathList;
|
|
627
|
-
|
|
628
|
-
CDirPatchListener patchListener(newManifest.rootPath,oldList,newList);
|
|
629
|
-
CDirPatcher dirPatcher;
|
|
630
|
-
const TDirDiffInfo* dirDiffInfo=0;
|
|
631
|
-
TDirPatchChecksumSet checksumSet={checksumPlugin,hpatch_TRUE,hpatch_TRUE,hpatch_TRUE,hpatch_TRUE};
|
|
632
|
-
TAutoMem p_temp_mem(hpatch_kFileIOBufBetterSize*4);
|
|
633
|
-
TByte* temp_cache=p_temp_mem.data();
|
|
634
|
-
size_t temp_cache_size=p_temp_mem.size();
|
|
635
|
-
const hpatch_TStreamInput* oldStream=0;
|
|
636
|
-
const hpatch_TStreamOutput* newStream=0;
|
|
637
|
-
{//dir diff info
|
|
638
|
-
hpatch_TPathType oldType;
|
|
639
|
-
if (oldManifest.rootPath.empty()){ // isOldPathInputEmpty
|
|
640
|
-
oldType=kPathType_file; //as empty file
|
|
641
|
-
}else{
|
|
642
|
-
_test(hpatch_getPathStat(oldManifest.rootPath.c_str(),&oldType,0));
|
|
643
|
-
_test(oldType!=kPathType_notExist);
|
|
644
|
-
}
|
|
645
|
-
_test(TDirPatcher_open(&dirPatcher,testDiffData,&dirDiffInfo));
|
|
646
|
-
_test(dirDiffInfo->isDirDiff);
|
|
647
|
-
if (dirDiffInfo->oldPathIsDir){
|
|
648
|
-
_test(kPathType_dir==oldType);
|
|
649
|
-
}else{
|
|
650
|
-
_test(kPathType_file==oldType);
|
|
651
|
-
}
|
|
652
|
-
}
|
|
653
|
-
if (checksumPlugin)
|
|
654
|
-
_test(TDirPatcher_checksum(&dirPatcher,&checksumSet));
|
|
655
|
-
_test(TDirPatcher_loadDirData(&dirPatcher,decompressPlugin,
|
|
656
|
-
oldManifest.rootPath.c_str(),newManifest.rootPath.c_str()));
|
|
657
|
-
_test(TDirPatcher_openOldRefAsStream(&dirPatcher,kMaxOpenFileNumber,&oldStream));
|
|
658
|
-
_test(TDirPatcher_openNewDirAsStream(&dirPatcher,&patchListener,&newStream));
|
|
659
|
-
_test(TDirPatcher_patch(&dirPatcher,newStream,oldStream,temp_cache,temp_cache+temp_cache_size));
|
|
660
|
-
_test(TDirPatcher_closeNewDirStream(&dirPatcher));
|
|
661
|
-
_test(TDirPatcher_closeOldRefStream(&dirPatcher));
|
|
662
|
-
_test(patchListener.isNewOk());
|
|
663
|
-
return result;
|
|
664
|
-
}
|
|
665
|
-
#undef _test
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
#define _check(value) { if (!(value)) { fprintf(stderr,"dirOldDataChecksum check "#value" error!\n"); \
|
|
669
|
-
result= hpatch_FALSE; goto clear; } }
|
|
670
|
-
hpatch_BOOL check_dirOldDataChecksum(const char* oldPath,hpatch_TStreamInput* diffData,
|
|
671
|
-
hpatch_TDecompress *decompressPlugin,hpatch_TChecksum *checksumPlugin){
|
|
672
|
-
hpatch_BOOL result=hpatch_TRUE;
|
|
673
|
-
hpatch_BOOL isAppendContinue=hpatch_FALSE;
|
|
674
|
-
hpatch_StreamPos_t readPos=0;
|
|
675
|
-
const char* savedCompressType=0;
|
|
676
|
-
TDirOldDataChecksum oldCheck;
|
|
677
|
-
TDirOldDataChecksum_init(&oldCheck);
|
|
678
|
-
while (hpatch_TRUE) {
|
|
679
|
-
TByte buf[1024*2];
|
|
680
|
-
size_t dataLen=sizeof(buf);
|
|
681
|
-
if (readPos+dataLen>diffData->streamSize)
|
|
682
|
-
dataLen=(size_t)(diffData->streamSize-readPos);
|
|
683
|
-
if (dataLen>0){
|
|
684
|
-
_check(diffData->read(diffData,readPos,buf,buf+dataLen));
|
|
685
|
-
}
|
|
686
|
-
readPos+=dataLen;
|
|
687
|
-
_check(TDirOldDataChecksum_append(&oldCheck,buf,buf+dataLen,&isAppendContinue));
|
|
688
|
-
if (!isAppendContinue)
|
|
689
|
-
break;
|
|
690
|
-
else
|
|
691
|
-
_check(dataLen>0);
|
|
692
|
-
}
|
|
693
|
-
_check(0==strcmp((checksumPlugin?checksumPlugin->checksumType():""),
|
|
694
|
-
TDirOldDataChecksum_getChecksumType(&oldCheck)));
|
|
695
|
-
savedCompressType=TDirOldDataChecksum_getCompressType(&oldCheck);
|
|
696
|
-
_check(((decompressPlugin==0)&&(strlen(savedCompressType)==0))||
|
|
697
|
-
decompressPlugin->is_can_open(savedCompressType));
|
|
698
|
-
_check(TDirOldDataChecksum_checksum(&oldCheck,decompressPlugin,checksumPlugin,oldPath));
|
|
699
|
-
clear:
|
|
700
|
-
if (!TDirOldDataChecksum_close(&oldCheck)) result=hpatch_FALSE;
|
|
701
|
-
return result;
|
|
702
|
-
}
|
|
703
|
-
#undef _check
|
|
704
|
-
|
|
705
|
-
void resave_dirdiff(const hpatch_TStreamInput* in_diff,hpatch_TDecompress* decompressPlugin,
|
|
706
|
-
const hpatch_TStreamOutput* out_diff,const hdiff_TCompress* compressPlugin,
|
|
707
|
-
hpatch_TChecksum* checksumPlugin){
|
|
708
|
-
_TDirDiffHead head;
|
|
709
|
-
TDirDiffInfo diffInfo;
|
|
710
|
-
assert(in_diff!=0);
|
|
711
|
-
assert(in_diff->read!=0);
|
|
712
|
-
assert(out_diff!=0);
|
|
713
|
-
assert(out_diff->write!=0);
|
|
714
|
-
if (checksumPlugin){
|
|
715
|
-
check((out_diff->read_writed!=0),
|
|
716
|
-
"for update checksum, out_diff->read_writed can't null error!");
|
|
717
|
-
}
|
|
718
|
-
{//read head
|
|
719
|
-
check(read_dirdiff_head(&diffInfo,&head,in_diff),
|
|
720
|
-
"resave_dirdiff() read_dirdiff_head() error!");
|
|
721
|
-
assert(0==strcmp(diffInfo.checksumType,(checksumPlugin?checksumPlugin->checksumType():"")));
|
|
722
|
-
assert(diffInfo.checksumByteSize==(checksumPlugin?checksumPlugin->checksumByteSize():0));
|
|
723
|
-
int compressedCount=diffInfo.hdiffInfo.compressedCount+((head.headDataCompressedSize)?1:0);
|
|
724
|
-
check((decompressPlugin!=0)||(compressedCount<=0),
|
|
725
|
-
"resave_dirdiff() decompressPlugin null error!");
|
|
726
|
-
if ((decompressPlugin)&&(compressedCount>0)){
|
|
727
|
-
check(decompressPlugin->is_can_open(diffInfo.hdiffInfo.compressType),
|
|
728
|
-
"resave_dirdiff() decompressPlugin cannot open compressed data error!");
|
|
729
|
-
}
|
|
730
|
-
}
|
|
731
|
-
const size_t checksumByteSize=diffInfo.checksumByteSize;
|
|
732
|
-
TPlaceholder diffChecksumPlaceholder(0,0);
|
|
733
|
-
hpatch_StreamPos_t writeToPos=0;
|
|
734
|
-
{//save head
|
|
735
|
-
TDiffStream outDiff(out_diff);
|
|
736
|
-
{//type
|
|
737
|
-
std::vector<TByte> out_type;
|
|
738
|
-
pushTypes(out_type,kDirDiffVersionType,compressPlugin?compressPlugin->compressType():0,checksumPlugin);
|
|
739
|
-
outDiff.pushBack(out_type.data(),out_type.size());
|
|
740
|
-
}
|
|
741
|
-
{//copy other
|
|
742
|
-
TStreamClip clip(in_diff,head.typesEndPos,head.compressSizeBeginPos);
|
|
743
|
-
outDiff.pushStream(&clip);
|
|
744
|
-
}
|
|
745
|
-
//headDataSize
|
|
746
|
-
outDiff.packUInt(head.headDataSize);
|
|
747
|
-
TPlaceholder compress_headData_sizePos=
|
|
748
|
-
outDiff.packUInt_pos(compressPlugin?head.headDataSize:0);//headDataCompressedSize
|
|
749
|
-
{//resave checksum
|
|
750
|
-
outDiff.packUInt(checksumByteSize);
|
|
751
|
-
if (checksumByteSize>0){
|
|
752
|
-
diffChecksumPlaceholder.pos=outDiff.getWritedPos()+checksumByteSize*3;
|
|
753
|
-
diffChecksumPlaceholder.pos_end=diffChecksumPlaceholder.pos+checksumByteSize;
|
|
754
|
-
TStreamClip clip(in_diff,diffInfo.checksumOffset,
|
|
755
|
-
diffInfo.checksumOffset+checksumByteSize*4);
|
|
756
|
-
outDiff.pushStream(&clip);
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
{//resave headData
|
|
760
|
-
bool isCompressed=(head.headDataCompressedSize>0);
|
|
761
|
-
hpatch_StreamPos_t bufSize=isCompressed?head.headDataCompressedSize:head.headDataSize;
|
|
762
|
-
TStreamClip clip(in_diff,head.headDataOffset,head.headDataOffset+bufSize,
|
|
763
|
-
(isCompressed?decompressPlugin:0),head.headDataSize);
|
|
764
|
-
outDiff.pushStream(&clip,compressPlugin,compress_headData_sizePos);
|
|
765
|
-
}
|
|
766
|
-
if (head.privateExternDataSize>0){//resave privateExternData
|
|
767
|
-
TStreamClip clip(in_diff,head.privateExternDataOffset,
|
|
768
|
-
head.privateExternDataOffset+head.privateExternDataSize);
|
|
769
|
-
outDiff.pushStream(&clip);
|
|
770
|
-
}
|
|
771
|
-
if (diffInfo.externDataSize>0){//resave externData
|
|
772
|
-
TStreamClip clip(in_diff,diffInfo.externDataOffset,
|
|
773
|
-
diffInfo.externDataOffset+diffInfo.externDataSize);
|
|
774
|
-
outDiff.pushStream(&clip);
|
|
775
|
-
}
|
|
776
|
-
writeToPos=outDiff.getWritedPos();
|
|
777
|
-
}
|
|
778
|
-
{//resave hdiffData
|
|
779
|
-
TOffsetStreamOutput ofStream(out_diff,writeToPos);
|
|
780
|
-
TStreamClip clip(in_diff,head.hdiffDataOffset,head.hdiffDataOffset+head.hdiffDataSize);
|
|
781
|
-
resave_compressed_diff(&clip,decompressPlugin,&ofStream,compressPlugin);
|
|
782
|
-
writeToPos+=ofStream.outSize;
|
|
783
|
-
}
|
|
784
|
-
if (checksumByteSize>0){// update dirdiff checksum
|
|
785
|
-
CChecksum diffChecksum(checksumPlugin);
|
|
786
|
-
assert(out_diff->read_writed!=0);
|
|
787
|
-
diffChecksum.append((const hpatch_TStreamInput*)out_diff,0,diffChecksumPlaceholder.pos);
|
|
788
|
-
diffChecksum.append((const hpatch_TStreamInput*)out_diff,diffChecksumPlaceholder.pos_end,writeToPos);
|
|
789
|
-
diffChecksum.appendEnd();
|
|
790
|
-
const std::vector<TByte>& v=diffChecksum.checksum;
|
|
791
|
-
assert(diffChecksumPlaceholder.size()==v.size());
|
|
792
|
-
check(out_diff->write(out_diff,diffChecksumPlaceholder.pos,v.data(),v.data()+v.size()),
|
|
793
|
-
"write diff data checksum error!");
|
|
794
|
-
}
|
|
795
|
-
}
|
|
796
|
-
|
|
797
|
-
#endif
|