react-native-update 10.28.10 → 10.28.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (776) hide show
  1. package/harmony/pushy.har +0 -0
  2. package/package.json +1 -1
  3. package/harmony/src/main/cpp/HDiffPatch/CHANGELOG.md +0 -153
  4. package/harmony/src/main/cpp/HDiffPatch/LICENSE +0 -48
  5. package/harmony/src/main/cpp/HDiffPatch/Makefile +0 -157
  6. package/harmony/src/main/cpp/HDiffPatch/README.md +0 -307
  7. package/harmony/src/main/cpp/HDiffPatch/_atosize.h +0 -83
  8. package/harmony/src/main/cpp/HDiffPatch/_clock_for_demo.h +0 -47
  9. package/harmony/src/main/cpp/HDiffPatch/_dir_ignore.h +0 -191
  10. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/Android.mk +0 -37
  11. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/Application.mk +0 -7
  12. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs.bat +0 -1
  13. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs.sh +0 -1
  14. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch.c +0 -18
  15. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch.h +0 -20
  16. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch_jni.c +0 -28
  17. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/java/com/github/sisong/HPatch.java +0 -8
  18. package/harmony/src/main/cpp/HDiffPatch/builds/codeblocks/HDiffPatch.workspace +0 -8
  19. package/harmony/src/main/cpp/HDiffPatch/builds/codeblocks/HDiffZ.cbp +0 -219
  20. package/harmony/src/main/cpp/HDiffPatch/builds/codeblocks/HPatchZ.cbp +0 -156
  21. package/harmony/src/main/cpp/HDiffPatch/builds/codeblocks/unitTest.cbp +0 -65
  22. package/harmony/src/main/cpp/HDiffPatch/builds/vc/HDiffPatch.sln +0 -105
  23. package/harmony/src/main/cpp/HDiffPatch/builds/vc/HDiffZ.vcxproj +0 -237
  24. package/harmony/src/main/cpp/HDiffPatch/builds/vc/HDiffZ.vcxproj.user +0 -3
  25. package/harmony/src/main/cpp/HDiffPatch/builds/vc/HPatchZ.vcxproj +0 -318
  26. package/harmony/src/main/cpp/HDiffPatch/builds/vc/HPatchZ.vcxproj.user +0 -3
  27. package/harmony/src/main/cpp/HDiffPatch/builds/vc/unitTest.vcxproj +0 -182
  28. package/harmony/src/main/cpp/HDiffPatch/builds/vc/unitTest.vcxproj.user +0 -3
  29. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/HDiffPatch.xcworkspace/contents.xcworkspacedata +0 -30
  30. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/HDiffPatch.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  31. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/bestParams.xcodeproj/project.pbxproj +0 -408
  32. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/hdiffz.xcodeproj/project.pbxproj +0 -573
  33. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/hpatchz.xcodeproj/project.pbxproj +0 -396
  34. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/lz4.xcodeproj/project.pbxproj +0 -268
  35. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/lzma.xcodeproj/project.pbxproj +0 -361
  36. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/testHashClash.xcodeproj/project.pbxproj +0 -301
  37. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/unitTest.xcodeproj/project.pbxproj +0 -411
  38. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/zstd.xcodeproj/project.pbxproj +0 -504
  39. package/harmony/src/main/cpp/HDiffPatch/checksum_plugin_demo.h +0 -344
  40. package/harmony/src/main/cpp/HDiffPatch/compress_parallel.cpp +0 -166
  41. package/harmony/src/main/cpp/HDiffPatch/compress_parallel.h +0 -59
  42. package/harmony/src/main/cpp/HDiffPatch/compress_plugin_demo.h +0 -1152
  43. package/harmony/src/main/cpp/HDiffPatch/decompress_plugin_demo.h +0 -995
  44. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff.cpp +0 -797
  45. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff.h +0 -65
  46. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff_tools.cpp +0 -200
  47. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff_tools.h +0 -178
  48. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_manifest.cpp +0 -357
  49. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_manifest.h +0 -87
  50. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/file_for_dirDiff.h +0 -151
  51. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch.c +0 -770
  52. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch.h +0 -236
  53. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_private.h +0 -47
  54. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_tools.c +0 -112
  55. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_tools.h +0 -53
  56. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_types.h +0 -61
  57. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_dir_output.c +0 -331
  58. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_dir_output.h +0 -144
  59. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_stream.c +0 -176
  60. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_stream.h +0 -84
  61. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/ref_stream.c +0 -146
  62. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/ref_stream.h +0 -61
  63. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/res_handle_limit.c +0 -152
  64. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/res_handle_limit.h +0 -76
  65. package/harmony/src/main/cpp/HDiffPatch/file_for_patch.c +0 -524
  66. package/harmony/src/main/cpp/HDiffPatch/file_for_patch.h +0 -259
  67. package/harmony/src/main/cpp/HDiffPatch/hdiffz.cpp +0 -1570
  68. package/harmony/src/main/cpp/HDiffPatch/hpatch_dir_listener.h +0 -290
  69. package/harmony/src/main/cpp/HDiffPatch/hpatchz.c +0 -1221
  70. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff.cpp +0 -1025
  71. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff.h +0 -116
  72. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff_types.h +0 -72
  73. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/bytes_rle.cpp +0 -213
  74. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/bytes_rle.h +0 -63
  75. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/compress_detect.cpp +0 -170
  76. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/compress_detect.h +0 -86
  77. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/config.h +0 -89
  78. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.c +0 -13
  79. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.c.inc.h +0 -398
  80. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.h +0 -194
  81. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort64.c +0 -13
  82. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort64.h +0 -204
  83. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort_private.h +0 -207
  84. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/sssort.c.inc.h +0 -815
  85. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/trsort.c.inc.h +0 -586
  86. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/utils.c.inc.h +0 -381
  87. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/adler_roll.c +0 -352
  88. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/adler_roll.h +0 -137
  89. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/bloom_filter.h +0 -137
  90. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/covers.h +0 -70
  91. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/digest_matcher.cpp +0 -628
  92. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/digest_matcher.h +0 -87
  93. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.cpp +0 -363
  94. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.h +0 -139
  95. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/mem_buf.h +0 -68
  96. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/pack_uint.h +0 -115
  97. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/suffix_string.cpp +0 -342
  98. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/suffix_string.h +0 -94
  99. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/checksum_plugin.h +0 -52
  100. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch.c +0 -2292
  101. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch.h +0 -215
  102. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch_private.h +0 -165
  103. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch_types.h +0 -251
  104. package/harmony/src/main/cpp/HDiffPatch/libParallel/parallel_channel.cpp +0 -174
  105. package/harmony/src/main/cpp/HDiffPatch/libParallel/parallel_channel.h +0 -73
  106. package/harmony/src/main/cpp/HDiffPatch/libParallel/parallel_import.cpp +0 -367
  107. package/harmony/src/main/cpp/HDiffPatch/libParallel/parallel_import.h +0 -92
  108. package/harmony/src/main/cpp/HDiffPatch/test/_private_searchBestParams.cpp +0 -301
  109. package/harmony/src/main/cpp/HDiffPatch/test/hpatchz_test.cpp +0 -292
  110. package/harmony/src/main/cpp/HDiffPatch/test/testHashClash.cpp +0 -436
  111. package/harmony/src/main/cpp/HDiffPatch/test/unit_test.cpp +0 -417
  112. package/harmony/src/main/cpp/lzma/Asm/arm/7zCrcOpt.asm +0 -100
  113. package/harmony/src/main/cpp/lzma/Asm/x86/7zAsm.asm +0 -147
  114. package/harmony/src/main/cpp/lzma/Asm/x86/7zCrcOpt.asm +0 -147
  115. package/harmony/src/main/cpp/lzma/Asm/x86/AesOpt.asm +0 -237
  116. package/harmony/src/main/cpp/lzma/Asm/x86/LzmaDecOpt.asm +0 -1258
  117. package/harmony/src/main/cpp/lzma/Asm/x86/XzCrc64Opt.asm +0 -205
  118. package/harmony/src/main/cpp/lzma/C/7z.h +0 -202
  119. package/harmony/src/main/cpp/lzma/C/7zAlloc.c +0 -80
  120. package/harmony/src/main/cpp/lzma/C/7zAlloc.h +0 -19
  121. package/harmony/src/main/cpp/lzma/C/7zArcIn.c +0 -1771
  122. package/harmony/src/main/cpp/lzma/C/7zBuf.c +0 -36
  123. package/harmony/src/main/cpp/lzma/C/7zBuf.h +0 -35
  124. package/harmony/src/main/cpp/lzma/C/7zBuf2.c +0 -52
  125. package/harmony/src/main/cpp/lzma/C/7zCrc.c +0 -128
  126. package/harmony/src/main/cpp/lzma/C/7zCrc.h +0 -25
  127. package/harmony/src/main/cpp/lzma/C/7zCrcOpt.c +0 -115
  128. package/harmony/src/main/cpp/lzma/C/7zDec.c +0 -591
  129. package/harmony/src/main/cpp/lzma/C/7zFile.c +0 -286
  130. package/harmony/src/main/cpp/lzma/C/7zFile.h +0 -83
  131. package/harmony/src/main/cpp/lzma/C/7zStream.c +0 -176
  132. package/harmony/src/main/cpp/lzma/C/7zTypes.h +0 -375
  133. package/harmony/src/main/cpp/lzma/C/7zVersion.h +0 -27
  134. package/harmony/src/main/cpp/lzma/C/7zVersion.rc +0 -55
  135. package/harmony/src/main/cpp/lzma/C/Aes.c +0 -306
  136. package/harmony/src/main/cpp/lzma/C/Aes.h +0 -38
  137. package/harmony/src/main/cpp/lzma/C/AesOpt.c +0 -184
  138. package/harmony/src/main/cpp/lzma/C/Alloc.c +0 -455
  139. package/harmony/src/main/cpp/lzma/C/Alloc.h +0 -51
  140. package/harmony/src/main/cpp/lzma/C/Bcj2.c +0 -257
  141. package/harmony/src/main/cpp/lzma/C/Bcj2.h +0 -146
  142. package/harmony/src/main/cpp/lzma/C/Bcj2Enc.c +0 -311
  143. package/harmony/src/main/cpp/lzma/C/Bra.c +0 -230
  144. package/harmony/src/main/cpp/lzma/C/Bra.h +0 -64
  145. package/harmony/src/main/cpp/lzma/C/Bra86.c +0 -82
  146. package/harmony/src/main/cpp/lzma/C/BraIA64.c +0 -53
  147. package/harmony/src/main/cpp/lzma/C/Compiler.h +0 -33
  148. package/harmony/src/main/cpp/lzma/C/CpuArch.c +0 -218
  149. package/harmony/src/main/cpp/lzma/C/CpuArch.h +0 -336
  150. package/harmony/src/main/cpp/lzma/C/Delta.c +0 -64
  151. package/harmony/src/main/cpp/lzma/C/Delta.h +0 -19
  152. package/harmony/src/main/cpp/lzma/C/DllSecur.c +0 -108
  153. package/harmony/src/main/cpp/lzma/C/DllSecur.h +0 -20
  154. package/harmony/src/main/cpp/lzma/C/LzFind.c +0 -1127
  155. package/harmony/src/main/cpp/lzma/C/LzFind.h +0 -121
  156. package/harmony/src/main/cpp/lzma/C/LzFindMt.c +0 -853
  157. package/harmony/src/main/cpp/lzma/C/LzFindMt.h +0 -101
  158. package/harmony/src/main/cpp/lzma/C/LzHash.h +0 -57
  159. package/harmony/src/main/cpp/lzma/C/Lzma2Dec.c +0 -488
  160. package/harmony/src/main/cpp/lzma/C/Lzma2Dec.h +0 -120
  161. package/harmony/src/main/cpp/lzma/C/Lzma2DecMt.c +0 -1082
  162. package/harmony/src/main/cpp/lzma/C/Lzma2DecMt.h +0 -79
  163. package/harmony/src/main/cpp/lzma/C/Lzma2Enc.c +0 -803
  164. package/harmony/src/main/cpp/lzma/C/Lzma2Enc.h +0 -55
  165. package/harmony/src/main/cpp/lzma/C/Lzma86.h +0 -111
  166. package/harmony/src/main/cpp/lzma/C/Lzma86Dec.c +0 -54
  167. package/harmony/src/main/cpp/lzma/C/Lzma86Enc.c +0 -106
  168. package/harmony/src/main/cpp/lzma/C/LzmaDec.c +0 -1185
  169. package/harmony/src/main/cpp/lzma/C/LzmaDec.h +0 -234
  170. package/harmony/src/main/cpp/lzma/C/LzmaEnc.c +0 -2976
  171. package/harmony/src/main/cpp/lzma/C/LzmaEnc.h +0 -76
  172. package/harmony/src/main/cpp/lzma/C/LzmaLib.c +0 -40
  173. package/harmony/src/main/cpp/lzma/C/LzmaLib.h +0 -131
  174. package/harmony/src/main/cpp/lzma/C/MtCoder.c +0 -601
  175. package/harmony/src/main/cpp/lzma/C/MtCoder.h +0 -141
  176. package/harmony/src/main/cpp/lzma/C/MtDec.c +0 -1138
  177. package/harmony/src/main/cpp/lzma/C/MtDec.h +0 -201
  178. package/harmony/src/main/cpp/lzma/C/Ppmd.h +0 -85
  179. package/harmony/src/main/cpp/lzma/C/Ppmd7.c +0 -712
  180. package/harmony/src/main/cpp/lzma/C/Ppmd7.h +0 -142
  181. package/harmony/src/main/cpp/lzma/C/Ppmd7Dec.c +0 -191
  182. package/harmony/src/main/cpp/lzma/C/Ppmd7Enc.c +0 -187
  183. package/harmony/src/main/cpp/lzma/C/Precomp.h +0 -10
  184. package/harmony/src/main/cpp/lzma/C/RotateDefs.h +0 -30
  185. package/harmony/src/main/cpp/lzma/C/Sha256.c +0 -248
  186. package/harmony/src/main/cpp/lzma/C/Sha256.h +0 -26
  187. package/harmony/src/main/cpp/lzma/C/Sort.c +0 -141
  188. package/harmony/src/main/cpp/lzma/C/Sort.h +0 -18
  189. package/harmony/src/main/cpp/lzma/C/Threads.c +0 -95
  190. package/harmony/src/main/cpp/lzma/C/Threads.h +0 -70
  191. package/harmony/src/main/cpp/lzma/C/ThreadsP.c +0 -396
  192. package/harmony/src/main/cpp/lzma/C/ThreadsP.h +0 -31
  193. package/harmony/src/main/cpp/lzma/C/Util/7z/7z.dsp +0 -241
  194. package/harmony/src/main/cpp/lzma/C/Util/7z/7z.dsw +0 -29
  195. package/harmony/src/main/cpp/lzma/C/Util/7z/7zMain.c +0 -686
  196. package/harmony/src/main/cpp/lzma/C/Util/7z/Precomp.c +0 -4
  197. package/harmony/src/main/cpp/lzma/C/Util/7z/Precomp.h +0 -10
  198. package/harmony/src/main/cpp/lzma/C/Util/7z/makefile +0 -40
  199. package/harmony/src/main/cpp/lzma/C/Util/7z/makefile.gcc +0 -75
  200. package/harmony/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.c +0 -258
  201. package/harmony/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.dsp +0 -168
  202. package/harmony/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.dsw +0 -29
  203. package/harmony/src/main/cpp/lzma/C/Util/Lzma/makefile +0 -28
  204. package/harmony/src/main/cpp/lzma/C/Util/Lzma/makefile.gcc +0 -44
  205. package/harmony/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.def +0 -4
  206. package/harmony/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.dsp +0 -178
  207. package/harmony/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.dsw +0 -29
  208. package/harmony/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLibExports.c +0 -14
  209. package/harmony/src/main/cpp/lzma/C/Util/LzmaLib/makefile +0 -34
  210. package/harmony/src/main/cpp/lzma/C/Util/LzmaLib/resource.rc +0 -3
  211. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/Precomp.c +0 -4
  212. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/Precomp.h +0 -10
  213. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.c +0 -640
  214. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.dsp +0 -231
  215. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.dsw +0 -29
  216. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/makefile +0 -37
  217. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/makefile_con +0 -38
  218. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/resource.rc +0 -5
  219. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/setup.ico +0 -0
  220. package/harmony/src/main/cpp/lzma/C/Xz.c +0 -90
  221. package/harmony/src/main/cpp/lzma/C/Xz.h +0 -460
  222. package/harmony/src/main/cpp/lzma/C/XzCrc64.c +0 -86
  223. package/harmony/src/main/cpp/lzma/C/XzCrc64.h +0 -26
  224. package/harmony/src/main/cpp/lzma/C/XzCrc64Opt.c +0 -69
  225. package/harmony/src/main/cpp/lzma/C/XzDec.c +0 -2766
  226. package/harmony/src/main/cpp/lzma/C/XzEnc.c +0 -1329
  227. package/harmony/src/main/cpp/lzma/C/XzEnc.h +0 -60
  228. package/harmony/src/main/cpp/lzma/C/XzIn.c +0 -319
  229. package/harmony/src/main/cpp/lzma/CPP/7zip/7zip.mak +0 -240
  230. package/harmony/src/main/cpp/lzma/CPP/7zip/Aes.mak +0 -7
  231. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zCompressionMode.cpp +0 -3
  232. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zCompressionMode.h +0 -76
  233. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zDecode.cpp +0 -569
  234. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zDecode.h +0 -70
  235. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zEncode.cpp +0 -678
  236. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zEncode.h +0 -92
  237. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zExtract.cpp +0 -423
  238. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zFolderInStream.cpp +0 -139
  239. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zFolderInStream.h +0 -61
  240. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandler.cpp +0 -763
  241. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandler.h +0 -181
  242. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandlerOut.cpp +0 -942
  243. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHeader.cpp +0 -19
  244. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHeader.h +0 -148
  245. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zIn.cpp +0 -1666
  246. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zIn.h +0 -445
  247. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zItem.h +0 -202
  248. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zOut.cpp +0 -901
  249. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zOut.h +0 -335
  250. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zProperties.cpp +0 -174
  251. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zProperties.h +0 -22
  252. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zRegister.cpp +0 -21
  253. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zSpecStream.cpp +0 -22
  254. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zSpecStream.h +0 -35
  255. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zUpdate.cpp +0 -2500
  256. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zUpdate.h +0 -139
  257. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/StdAfx.cpp +0 -3
  258. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/StdAfx.h +0 -8
  259. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Archive.def +0 -12
  260. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Archive2.def +0 -19
  261. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/ArchiveExports.cpp +0 -151
  262. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/CoderMixer2.cpp +0 -1125
  263. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/CoderMixer2.h +0 -447
  264. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/DummyOutStream.cpp +0 -17
  265. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/DummyOutStream.h +0 -25
  266. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/HandlerOut.cpp +0 -232
  267. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/HandlerOut.h +0 -110
  268. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/InStreamWithCRC.cpp +0 -46
  269. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/InStreamWithCRC.h +0 -67
  270. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/ItemNameUtils.cpp +0 -88
  271. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/ItemNameUtils.h +0 -28
  272. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/MultiStream.cpp +0 -191
  273. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/MultiStream.h +0 -89
  274. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.cpp +0 -18
  275. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.h +0 -37
  276. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/ParseProperties.cpp +0 -3
  277. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/ParseProperties.h +0 -6
  278. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/StdAfx.h +0 -8
  279. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/DllExports2.cpp +0 -122
  280. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/IArchive.h +0 -608
  281. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Icons/7z.ico +0 -0
  282. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/LzmaHandler.cpp +0 -629
  283. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/SplitHandler.cpp +0 -359
  284. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/StdAfx.h +0 -8
  285. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/XzHandler.cpp +0 -1308
  286. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/XzHandler.h +0 -11
  287. package/harmony/src/main/cpp/lzma/CPP/7zip/Asm.mak +0 -9
  288. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/Alone.dsp +0 -1910
  289. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/Alone.dsw +0 -29
  290. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/StdAfx.cpp +0 -3
  291. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/StdAfx.h +0 -8
  292. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/makefile +0 -154
  293. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/resource.rc +0 -7
  294. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/StdAfx.cpp +0 -3
  295. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/StdAfx.h +0 -8
  296. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/makefile +0 -96
  297. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/resource.rc +0 -5
  298. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/StdAfx.cpp +0 -3
  299. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/StdAfx.h +0 -8
  300. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/makefile +0 -116
  301. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/resource.rc +0 -5
  302. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaAlone.cpp +0 -799
  303. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaCon.dsp +0 -477
  304. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaCon.dsw +0 -29
  305. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/StdAfx.cpp +0 -3
  306. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/StdAfx.h +0 -8
  307. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/makefile +0 -59
  308. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/makefile.gcc +0 -195
  309. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/resource.rc +0 -3
  310. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaSpec/LzmaSpec.cpp +0 -715
  311. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/7z.ico +0 -0
  312. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SFXCon.dsp +0 -912
  313. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SFXCon.dsw +0 -29
  314. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SfxCon.cpp +0 -482
  315. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/StdAfx.cpp +0 -3
  316. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/StdAfx.h +0 -8
  317. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/makefile +0 -134
  318. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/resource.rc +0 -5
  319. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractCallbackSfx.cpp +0 -246
  320. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractCallbackSfx.h +0 -86
  321. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractEngine.cpp +0 -137
  322. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractEngine.h +0 -11
  323. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SFXSetup.dsp +0 -803
  324. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SFXSetup.dsw +0 -29
  325. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SfxSetup.cpp +0 -364
  326. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/StdAfx.cpp +0 -3
  327. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/StdAfx.h +0 -13
  328. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/makefile +0 -117
  329. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/resource.h +0 -6
  330. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/resource.rc +0 -16
  331. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/setup.ico +0 -0
  332. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/7z.ico +0 -0
  333. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SFXWin.dsp +0 -988
  334. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SFXWin.dsw +0 -29
  335. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SfxWin.cpp +0 -241
  336. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/StdAfx.cpp +0 -3
  337. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/StdAfx.h +0 -14
  338. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/makefile +0 -153
  339. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/resource.h +0 -1
  340. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/resource.rc +0 -50
  341. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/CWrappers.cpp +0 -250
  342. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/CWrappers.h +0 -120
  343. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/CreateCoder.cpp +0 -536
  344. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/CreateCoder.h +0 -192
  345. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/FilePathAutoRename.cpp +0 -46
  346. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/FilePathAutoRename.h +0 -10
  347. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/FileStreams.cpp +0 -475
  348. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/FileStreams.h +0 -166
  349. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/FilterCoder.cpp +0 -435
  350. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/FilterCoder.h +0 -205
  351. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/InBuffer.cpp +0 -163
  352. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/InBuffer.h +0 -92
  353. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/InOutTempBuffer.cpp +0 -127
  354. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/InOutTempBuffer.h +0 -48
  355. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/LimitedStreams.cpp +0 -367
  356. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/LimitedStreams.h +0 -252
  357. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/LockedStream.cpp +0 -3
  358. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/LockedStream.h +0 -6
  359. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/MethodId.cpp +0 -3
  360. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/MethodId.h +0 -10
  361. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/MethodProps.cpp +0 -509
  362. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/MethodProps.h +0 -264
  363. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/OffsetStream.cpp +0 -39
  364. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/OffsetStream.h +0 -26
  365. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/OutBuffer.cpp +0 -111
  366. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/OutBuffer.h +0 -66
  367. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/ProgressUtils.cpp +0 -51
  368. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/ProgressUtils.h +0 -35
  369. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/PropId.cpp +0 -108
  370. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/RegisterArc.h +0 -78
  371. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/RegisterCodec.h +0 -106
  372. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/StdAfx.h +0 -8
  373. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/StreamBinder.cpp +0 -156
  374. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/StreamBinder.h +0 -60
  375. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/StreamObjects.cpp +0 -285
  376. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/StreamObjects.h +0 -157
  377. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/StreamUtils.cpp +0 -56
  378. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/StreamUtils.h +0 -13
  379. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/UniqBlocks.cpp +0 -57
  380. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/UniqBlocks.h +0 -26
  381. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/VirtThread.cpp +0 -48
  382. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/VirtThread.h +0 -24
  383. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Coder.cpp +0 -666
  384. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Coder.h +0 -120
  385. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Register.cpp +0 -24
  386. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/BcjCoder.cpp +0 -24
  387. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/BcjCoder.h +0 -31
  388. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/BcjRegister.cpp +0 -17
  389. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/BranchMisc.cpp +0 -23
  390. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/BranchMisc.h +0 -35
  391. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/BranchRegister.cpp +0 -41
  392. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/ByteSwap.cpp +0 -92
  393. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/CodecExports.cpp +0 -344
  394. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/CopyCoder.cpp +0 -120
  395. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/CopyCoder.h +0 -49
  396. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/CopyRegister.cpp +0 -15
  397. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/DeltaFilter.cpp +0 -128
  398. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Decoder.cpp +0 -265
  399. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Decoder.h +0 -96
  400. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Encoder.cpp +0 -122
  401. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Encoder.h +0 -42
  402. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Register.cpp +0 -22
  403. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/LzmaDecoder.cpp +0 -343
  404. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/LzmaDecoder.h +0 -113
  405. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/LzmaEncoder.cpp +0 -182
  406. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/LzmaEncoder.h +0 -46
  407. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/LzmaRegister.cpp +0 -22
  408. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/PpmdDecoder.cpp +0 -170
  409. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/PpmdDecoder.h +0 -86
  410. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/PpmdEncoder.cpp +0 -152
  411. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/PpmdEncoder.h +0 -58
  412. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/PpmdRegister.cpp +0 -22
  413. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/StdAfx.h +0 -8
  414. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/XzDecoder.cpp +0 -150
  415. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/XzDecoder.h +0 -92
  416. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/XzEncoder.cpp +0 -245
  417. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/XzEncoder.h +0 -46
  418. package/harmony/src/main/cpp/lzma/CPP/7zip/Crc.mak +0 -8
  419. package/harmony/src/main/cpp/lzma/CPP/7zip/Crc64.mak +0 -8
  420. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/7zAes.cpp +0 -280
  421. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/7zAes.h +0 -118
  422. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/7zAesRegister.cpp +0 -17
  423. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/MyAes.cpp +0 -112
  424. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/MyAes.h +0 -57
  425. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/MyAesReg.cpp +0 -16
  426. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/RandGen.cpp +0 -233
  427. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/RandGen.h +0 -40
  428. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/StdAfx.h +0 -8
  429. package/harmony/src/main/cpp/lzma/CPP/7zip/GuiCommon.rc +0 -84
  430. package/harmony/src/main/cpp/lzma/CPP/7zip/Guid.txt +0 -220
  431. package/harmony/src/main/cpp/lzma/CPP/7zip/ICoder.h +0 -399
  432. package/harmony/src/main/cpp/lzma/CPP/7zip/IDecl.h +0 -28
  433. package/harmony/src/main/cpp/lzma/CPP/7zip/IPassword.h +0 -23
  434. package/harmony/src/main/cpp/lzma/CPP/7zip/IProgress.h +0 -19
  435. package/harmony/src/main/cpp/lzma/CPP/7zip/IStream.h +0 -127
  436. package/harmony/src/main/cpp/lzma/CPP/7zip/LzmaDec.mak +0 -5
  437. package/harmony/src/main/cpp/lzma/CPP/7zip/MyVersion.h +0 -2
  438. package/harmony/src/main/cpp/lzma/CPP/7zip/MyVersionInfo.rc +0 -2
  439. package/harmony/src/main/cpp/lzma/CPP/7zip/PropID.h +0 -127
  440. package/harmony/src/main/cpp/lzma/CPP/7zip/SubBuild.mak +0 -3
  441. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.cpp +0 -993
  442. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.dsp +0 -235
  443. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.dsw +0 -29
  444. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Client7z/StdAfx.cpp +0 -3
  445. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Client7z/StdAfx.h +0 -8
  446. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Client7z/makefile +0 -28
  447. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Client7z/resource.rc +0 -3
  448. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveCommandLine.cpp +0 -1295
  449. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveCommandLine.h +0 -136
  450. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp +0 -1715
  451. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveExtractCallback.h +0 -403
  452. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveName.cpp +0 -155
  453. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveName.h +0 -10
  454. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveOpenCallback.cpp +0 -161
  455. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveOpenCallback.h +0 -112
  456. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/Bench.cpp +0 -3618
  457. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/Bench.h +0 -77
  458. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/DefaultName.cpp +0 -37
  459. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/DefaultName.h +0 -11
  460. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/DirItem.h +0 -190
  461. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/EnumDirItems.cpp +0 -1096
  462. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/EnumDirItems.h +0 -42
  463. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ExitCode.h +0 -27
  464. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/Extract.cpp +0 -482
  465. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/Extract.h +0 -94
  466. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractMode.h +0 -34
  467. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractingFilePath.cpp +0 -280
  468. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractingFilePath.h +0 -31
  469. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/HashCalc.cpp +0 -347
  470. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/HashCalc.h +0 -110
  471. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/IFileExtractCallback.h +0 -114
  472. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/LoadCodecs.cpp +0 -1074
  473. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/LoadCodecs.h +0 -424
  474. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/OpenArchive.cpp +0 -3553
  475. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/OpenArchive.h +0 -436
  476. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/PropIDUtils.cpp +0 -668
  477. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/PropIDUtils.h +0 -18
  478. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/Property.h +0 -14
  479. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/SetProperties.cpp +0 -80
  480. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/SetProperties.h +0 -10
  481. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/SortUtils.cpp +0 -25
  482. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/SortUtils.h +0 -10
  483. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/StdAfx.h +0 -8
  484. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/TempFiles.cpp +0 -19
  485. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/TempFiles.h +0 -16
  486. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/Update.cpp +0 -1704
  487. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/Update.h +0 -200
  488. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateAction.cpp +0 -64
  489. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateAction.h +0 -66
  490. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateCallback.cpp +0 -771
  491. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateCallback.h +0 -162
  492. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdatePair.cpp +0 -233
  493. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdatePair.h +0 -27
  494. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateProduce.cpp +0 -70
  495. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateProduce.h +0 -55
  496. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/WorkDir.cpp +0 -94
  497. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/WorkDir.h +0 -26
  498. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ZipRegistry.h +0 -130
  499. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/BenchCon.cpp +0 -41
  500. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/BenchCon.h +0 -14
  501. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/Console.mak +0 -43
  502. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/Console.manifest +0 -13
  503. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/ConsoleClose.cpp +0 -69
  504. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/ConsoleClose.h +0 -33
  505. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp +0 -825
  506. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/ExtractCallbackConsole.h +0 -164
  507. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/HashCon.cpp +0 -367
  508. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/HashCon.h +0 -48
  509. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/List.cpp +0 -1359
  510. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/List.h +0 -27
  511. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/Main.cpp +0 -1154
  512. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/MainAr.cpp +0 -175
  513. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/OpenCallbackConsole.cpp +0 -115
  514. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/OpenCallbackConsole.h +0 -66
  515. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/PercentPrinter.cpp +0 -183
  516. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/PercentPrinter.h +0 -62
  517. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/StdAfx.cpp +0 -3
  518. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/StdAfx.h +0 -8
  519. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp +0 -702
  520. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/UpdateCallbackConsole.h +0 -124
  521. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/UserInputUtils.cpp +0 -110
  522. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/UserInputUtils.h +0 -27
  523. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/makefile +0 -64
  524. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/resource.rc +0 -7
  525. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Explorer/MyMessages.cpp +0 -37
  526. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Explorer/MyMessages.h +0 -16
  527. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialog.cpp +0 -1025
  528. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialog.h +0 -21
  529. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialogRes.h +0 -9
  530. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialog.cpp +0 -64
  531. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialog.h +0 -28
  532. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialogRes.h +0 -4
  533. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/DialogSize.h +0 -16
  534. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ExtractCallback.cpp +0 -1037
  535. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ExtractCallback.h +0 -328
  536. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/FormatUtils.cpp +0 -28
  537. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/FormatUtils.h +0 -14
  538. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/LangUtils.h +0 -40
  539. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/MyWindowsNew.h +0 -76
  540. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.cpp +0 -122
  541. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.h +0 -69
  542. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.rc +0 -91
  543. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialogRes.h +0 -17
  544. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.cpp +0 -58
  545. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.h +0 -28
  546. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.rc +0 -14
  547. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialogRes.h +0 -5
  548. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.cpp +0 -196
  549. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.h +0 -170
  550. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.rc +0 -12
  551. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.cpp +0 -1337
  552. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.h +0 -351
  553. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.rc +0 -40
  554. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2Res.h +0 -48
  555. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2a.rc +0 -80
  556. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialogRes.h +0 -3
  557. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyName.cpp +0 -23
  558. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyName.h +0 -10
  559. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyNameRes.h +0 -95
  560. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/SysIconUtils.cpp +0 -255
  561. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/SysIconUtils.h +0 -62
  562. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/resource.h +0 -177
  563. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/resourceGui.h +0 -15
  564. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/Extract.rc +0 -59
  565. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.cpp +0 -418
  566. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.h +0 -113
  567. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.rc +0 -98
  568. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialogRes.h +0 -24
  569. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractGUI.cpp +0 -280
  570. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractGUI.h +0 -38
  571. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractRes.h +0 -51
  572. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/HashGUI.h +0 -27
  573. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/resource2.h +0 -2
  574. package/harmony/src/main/cpp/lzma/CPP/Build.mak +0 -156
  575. package/harmony/src/main/cpp/lzma/CPP/Common/AutoPtr.h +0 -35
  576. package/harmony/src/main/cpp/lzma/CPP/Common/CRC.cpp +0 -7
  577. package/harmony/src/main/cpp/lzma/CPP/Common/C_FileIO.cpp +0 -92
  578. package/harmony/src/main/cpp/lzma/CPP/Common/C_FileIO.h +0 -53
  579. package/harmony/src/main/cpp/lzma/CPP/Common/ComTry.h +0 -21
  580. package/harmony/src/main/cpp/lzma/CPP/Common/CommandLineParser.cpp +0 -197
  581. package/harmony/src/main/cpp/lzma/CPP/Common/CommandLineParser.h +0 -63
  582. package/harmony/src/main/cpp/lzma/CPP/Common/Common.h +0 -43
  583. package/harmony/src/main/cpp/lzma/CPP/Common/CrcReg.cpp +0 -98
  584. package/harmony/src/main/cpp/lzma/CPP/Common/Defs.h +0 -15
  585. package/harmony/src/main/cpp/lzma/CPP/Common/DynamicBuffer.h +0 -64
  586. package/harmony/src/main/cpp/lzma/CPP/Common/IntToString.cpp +0 -193
  587. package/harmony/src/main/cpp/lzma/CPP/Common/IntToString.h +0 -28
  588. package/harmony/src/main/cpp/lzma/CPP/Common/Lang.h +0 -23
  589. package/harmony/src/main/cpp/lzma/CPP/Common/ListFileUtils.cpp +0 -132
  590. package/harmony/src/main/cpp/lzma/CPP/Common/ListFileUtils.h +0 -18
  591. package/harmony/src/main/cpp/lzma/CPP/Common/MyBuffer.h +0 -259
  592. package/harmony/src/main/cpp/lzma/CPP/Common/MyBuffer2.h +0 -100
  593. package/harmony/src/main/cpp/lzma/CPP/Common/MyCom.h +0 -277
  594. package/harmony/src/main/cpp/lzma/CPP/Common/MyException.h +0 -14
  595. package/harmony/src/main/cpp/lzma/CPP/Common/MyGuidDef.h +0 -54
  596. package/harmony/src/main/cpp/lzma/CPP/Common/MyInitGuid.h +0 -45
  597. package/harmony/src/main/cpp/lzma/CPP/Common/MyLinux.h +0 -42
  598. package/harmony/src/main/cpp/lzma/CPP/Common/MyString.cpp +0 -1659
  599. package/harmony/src/main/cpp/lzma/CPP/Common/MyString.h +0 -868
  600. package/harmony/src/main/cpp/lzma/CPP/Common/MyTypes.h +0 -35
  601. package/harmony/src/main/cpp/lzma/CPP/Common/MyUnknown.h +0 -17
  602. package/harmony/src/main/cpp/lzma/CPP/Common/MyVector.cpp +0 -3
  603. package/harmony/src/main/cpp/lzma/CPP/Common/MyVector.h +0 -634
  604. package/harmony/src/main/cpp/lzma/CPP/Common/MyWindows.cpp +0 -145
  605. package/harmony/src/main/cpp/lzma/CPP/Common/MyWindows.h +0 -231
  606. package/harmony/src/main/cpp/lzma/CPP/Common/NewHandler.cpp +0 -163
  607. package/harmony/src/main/cpp/lzma/CPP/Common/NewHandler.h +0 -88
  608. package/harmony/src/main/cpp/lzma/CPP/Common/Sha256Reg.cpp +0 -40
  609. package/harmony/src/main/cpp/lzma/CPP/Common/StdAfx.h +0 -8
  610. package/harmony/src/main/cpp/lzma/CPP/Common/StdInStream.cpp +0 -89
  611. package/harmony/src/main/cpp/lzma/CPP/Common/StdInStream.h +0 -38
  612. package/harmony/src/main/cpp/lzma/CPP/Common/StdOutStream.cpp +0 -163
  613. package/harmony/src/main/cpp/lzma/CPP/Common/StdOutStream.h +0 -71
  614. package/harmony/src/main/cpp/lzma/CPP/Common/StringConvert.cpp +0 -319
  615. package/harmony/src/main/cpp/lzma/CPP/Common/StringConvert.h +0 -88
  616. package/harmony/src/main/cpp/lzma/CPP/Common/StringToInt.cpp +0 -144
  617. package/harmony/src/main/cpp/lzma/CPP/Common/StringToInt.h +0 -21
  618. package/harmony/src/main/cpp/lzma/CPP/Common/TextConfig.cpp +0 -124
  619. package/harmony/src/main/cpp/lzma/CPP/Common/TextConfig.h +0 -19
  620. package/harmony/src/main/cpp/lzma/CPP/Common/UTFConvert.cpp +0 -288
  621. package/harmony/src/main/cpp/lzma/CPP/Common/UTFConvert.h +0 -12
  622. package/harmony/src/main/cpp/lzma/CPP/Common/Wildcard.cpp +0 -676
  623. package/harmony/src/main/cpp/lzma/CPP/Common/Wildcard.h +0 -149
  624. package/harmony/src/main/cpp/lzma/CPP/Common/XzCrc64Init.cpp +0 -7
  625. package/harmony/src/main/cpp/lzma/CPP/Common/XzCrc64Reg.cpp +0 -42
  626. package/harmony/src/main/cpp/lzma/CPP/Windows/COM.h +0 -70
  627. package/harmony/src/main/cpp/lzma/CPP/Windows/CommonDialog.cpp +0 -185
  628. package/harmony/src/main/cpp/lzma/CPP/Windows/CommonDialog.h +0 -23
  629. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ComboBox.cpp +0 -66
  630. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ComboBox.h +0 -65
  631. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/CommandBar.h +0 -52
  632. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/Dialog.cpp +0 -251
  633. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/Dialog.h +0 -170
  634. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/Edit.h +0 -19
  635. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ImageList.cpp +0 -10
  636. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ImageList.h +0 -87
  637. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ListView.cpp +0 -155
  638. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ListView.h +0 -146
  639. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ProgressBar.h +0 -35
  640. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/PropertyPage.cpp +0 -143
  641. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/PropertyPage.h +0 -50
  642. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ReBar.h +0 -34
  643. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/Static.h +0 -28
  644. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/StatusBar.h +0 -42
  645. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/StdAfx.h +0 -8
  646. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ToolBar.h +0 -43
  647. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/Trackbar.h +0 -27
  648. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/Window2.cpp +0 -200
  649. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/Window2.h +0 -51
  650. package/harmony/src/main/cpp/lzma/CPP/Windows/DLL.cpp +0 -109
  651. package/harmony/src/main/cpp/lzma/CPP/Windows/DLL.h +0 -58
  652. package/harmony/src/main/cpp/lzma/CPP/Windows/Defs.h +0 -17
  653. package/harmony/src/main/cpp/lzma/CPP/Windows/ErrorMsg.cpp +0 -66
  654. package/harmony/src/main/cpp/lzma/CPP/Windows/ErrorMsg.h +0 -15
  655. package/harmony/src/main/cpp/lzma/CPP/Windows/FileDir.cpp +0 -714
  656. package/harmony/src/main/cpp/lzma/CPP/Windows/FileDir.h +0 -117
  657. package/harmony/src/main/cpp/lzma/CPP/Windows/FileFind.cpp +0 -749
  658. package/harmony/src/main/cpp/lzma/CPP/Windows/FileFind.h +0 -161
  659. package/harmony/src/main/cpp/lzma/CPP/Windows/FileIO.cpp +0 -432
  660. package/harmony/src/main/cpp/lzma/CPP/Windows/FileIO.h +0 -212
  661. package/harmony/src/main/cpp/lzma/CPP/Windows/FileLink.cpp +0 -440
  662. package/harmony/src/main/cpp/lzma/CPP/Windows/FileMapping.cpp +0 -12
  663. package/harmony/src/main/cpp/lzma/CPP/Windows/FileMapping.h +0 -66
  664. package/harmony/src/main/cpp/lzma/CPP/Windows/FileName.cpp +0 -839
  665. package/harmony/src/main/cpp/lzma/CPP/Windows/FileName.h +0 -115
  666. package/harmony/src/main/cpp/lzma/CPP/Windows/FileSystem.cpp +0 -131
  667. package/harmony/src/main/cpp/lzma/CPP/Windows/FileSystem.h +0 -27
  668. package/harmony/src/main/cpp/lzma/CPP/Windows/Handle.h +0 -37
  669. package/harmony/src/main/cpp/lzma/CPP/Windows/MemoryLock.cpp +0 -112
  670. package/harmony/src/main/cpp/lzma/CPP/Windows/MemoryLock.h +0 -40
  671. package/harmony/src/main/cpp/lzma/CPP/Windows/NtCheck.h +0 -46
  672. package/harmony/src/main/cpp/lzma/CPP/Windows/PropVariant.cpp +0 -347
  673. package/harmony/src/main/cpp/lzma/CPP/Windows/PropVariant.h +0 -114
  674. package/harmony/src/main/cpp/lzma/CPP/Windows/PropVariantConv.cpp +0 -138
  675. package/harmony/src/main/cpp/lzma/CPP/Windows/PropVariantConv.h +0 -37
  676. package/harmony/src/main/cpp/lzma/CPP/Windows/Registry.cpp +0 -390
  677. package/harmony/src/main/cpp/lzma/CPP/Windows/Registry.h +0 -84
  678. package/harmony/src/main/cpp/lzma/CPP/Windows/ResourceString.cpp +0 -103
  679. package/harmony/src/main/cpp/lzma/CPP/Windows/ResourceString.h +0 -16
  680. package/harmony/src/main/cpp/lzma/CPP/Windows/SecurityUtils.cpp +0 -181
  681. package/harmony/src/main/cpp/lzma/CPP/Windows/SecurityUtils.h +0 -167
  682. package/harmony/src/main/cpp/lzma/CPP/Windows/Shell.cpp +0 -358
  683. package/harmony/src/main/cpp/lzma/CPP/Windows/Shell.h +0 -94
  684. package/harmony/src/main/cpp/lzma/CPP/Windows/StdAfx.h +0 -8
  685. package/harmony/src/main/cpp/lzma/CPP/Windows/Synchronization.cpp +0 -10
  686. package/harmony/src/main/cpp/lzma/CPP/Windows/Synchronization.h +0 -164
  687. package/harmony/src/main/cpp/lzma/CPP/Windows/System.cpp +0 -142
  688. package/harmony/src/main/cpp/lzma/CPP/Windows/System.h +0 -40
  689. package/harmony/src/main/cpp/lzma/CPP/Windows/Thread.h +0 -38
  690. package/harmony/src/main/cpp/lzma/CPP/Windows/TimeUtils.cpp +0 -213
  691. package/harmony/src/main/cpp/lzma/CPP/Windows/TimeUtils.h +0 -32
  692. package/harmony/src/main/cpp/lzma/CPP/Windows/Window.cpp +0 -179
  693. package/harmony/src/main/cpp/lzma/CPP/Windows/Window.h +0 -284
  694. package/harmony/src/main/cpp/lzma/CS/7zip/Common/CRC.cs +0 -55
  695. package/harmony/src/main/cpp/lzma/CS/7zip/Common/CommandLineParser.cs +0 -274
  696. package/harmony/src/main/cpp/lzma/CS/7zip/Common/InBuffer.cs +0 -72
  697. package/harmony/src/main/cpp/lzma/CS/7zip/Common/OutBuffer.cs +0 -47
  698. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LZ/IMatchFinder.cs +0 -24
  699. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzBinTree.cs +0 -367
  700. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzInWindow.cs +0 -132
  701. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzOutWindow.cs +0 -110
  702. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaBase.cs +0 -76
  703. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaDecoder.cs +0 -398
  704. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaEncoder.cs +0 -1480
  705. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.cs +0 -364
  706. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.csproj +0 -90
  707. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.sln +0 -20
  708. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaBench.cs +0 -340
  709. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/AssemblyInfo.cs +0 -29
  710. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/Resources.cs +0 -70
  711. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/Settings.cs +0 -42
  712. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoder.cs +0 -234
  713. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoderBit.cs +0 -117
  714. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoderBitTree.cs +0 -157
  715. package/harmony/src/main/cpp/lzma/CS/7zip/ICoder.cs +0 -157
  716. package/harmony/src/main/cpp/lzma/DOC/7zC.txt +0 -187
  717. package/harmony/src/main/cpp/lzma/DOC/7zFormat.txt +0 -469
  718. package/harmony/src/main/cpp/lzma/DOC/Methods.txt +0 -173
  719. package/harmony/src/main/cpp/lzma/DOC/installer.txt +0 -166
  720. package/harmony/src/main/cpp/lzma/DOC/lzma-history.txt +0 -446
  721. package/harmony/src/main/cpp/lzma/DOC/lzma-sdk.txt +0 -357
  722. package/harmony/src/main/cpp/lzma/DOC/lzma-specification.txt +0 -1176
  723. package/harmony/src/main/cpp/lzma/DOC/lzma.txt +0 -328
  724. package/harmony/src/main/cpp/lzma/Java/SevenZip/CRC.java +0 -52
  725. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/BinTree.java +0 -382
  726. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/InWindow.java +0 -131
  727. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/OutWindow.java +0 -85
  728. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Base.java +0 -88
  729. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Decoder.java +0 -329
  730. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Encoder.java +0 -1416
  731. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/BitTreeDecoder.java +0 -55
  732. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/BitTreeEncoder.java +0 -99
  733. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/Decoder.java +0 -88
  734. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/Encoder.java +0 -151
  735. package/harmony/src/main/cpp/lzma/Java/SevenZip/ICodeProgress.java +0 -6
  736. package/harmony/src/main/cpp/lzma/Java/SevenZip/LzmaAlone.java +0 -253
  737. package/harmony/src/main/cpp/lzma/Java/SevenZip/LzmaBench.java +0 -392
  738. package/harmony/src/main/cpp/lzma/bin/7zS2.sfx +0 -0
  739. package/harmony/src/main/cpp/lzma/bin/7zS2con.sfx +0 -0
  740. package/harmony/src/main/cpp/lzma/bin/7zSD.sfx +0 -0
  741. package/harmony/src/main/cpp/lzma/bin/7zdec.exe +0 -0
  742. package/harmony/src/main/cpp/lzma/bin/7zr.exe +0 -0
  743. package/harmony/src/main/cpp/lzma/bin/installer/config.txt +0 -5
  744. package/harmony/src/main/cpp/lzma/bin/installer/cr.bat +0 -5
  745. package/harmony/src/main/cpp/lzma/bin/lzma.exe +0 -0
  746. package/harmony/src/main/cpp/lzma/bin/x64/7zr.exe +0 -0
  747. /package/harmony/{BuildProfile.ets → pushy/BuildProfile.ets} +0 -0
  748. /package/harmony/{OAT.xml → pushy/OAT.xml} +0 -0
  749. /package/harmony/{README.md → pushy/README.md} +0 -0
  750. /package/harmony/{build-profile.json5 → pushy/build-profile.json5} +0 -0
  751. /package/harmony/{hvigorfile.ts → pushy/hvigorfile.ts} +0 -0
  752. /package/harmony/{index.ets → pushy/index.ets} +0 -0
  753. /package/harmony/{oh-package-lock.json5 → pushy/oh-package-lock.json5} +0 -0
  754. /package/harmony/{oh-package.json5 → pushy/oh-package.json5} +0 -0
  755. /package/harmony/{src → pushy/src}/main/cpp/CMakeLists.txt +0 -0
  756. /package/harmony/{src → pushy/src}/main/cpp/PushyPackage.h +0 -0
  757. /package/harmony/{src → pushy/src}/main/cpp/PushyTurboModule.cpp +0 -0
  758. /package/harmony/{src → pushy/src}/main/cpp/PushyTurboModule.h +0 -0
  759. /package/harmony/{src → pushy/src}/main/cpp/hpatch.c +0 -0
  760. /package/harmony/{src → pushy/src}/main/cpp/hpatch.h +0 -0
  761. /package/harmony/{src → pushy/src}/main/cpp/pushy.c +0 -0
  762. /package/harmony/{src → pushy/src}/main/cpp/pushy.h +0 -0
  763. /package/harmony/{src → pushy/src}/main/ets/DownloadTask.ts +0 -0
  764. /package/harmony/{src → pushy/src}/main/ets/DownloadTaskParams.ts +0 -0
  765. /package/harmony/{src → pushy/src}/main/ets/EventHub.ts +0 -0
  766. /package/harmony/{src → pushy/src}/main/ets/Logger.ts +0 -0
  767. /package/harmony/{src → pushy/src}/main/ets/PushyFileJSBundleProvider.ets +0 -0
  768. /package/harmony/{src → pushy/src}/main/ets/PushyPackage.ts +0 -0
  769. /package/harmony/{src → pushy/src}/main/ets/PushyTurboModule.ts +0 -0
  770. /package/harmony/{src → pushy/src}/main/ets/UpdateContext.ts +0 -0
  771. /package/harmony/{src → pushy/src}/main/ets/UpdateModuleImpl.ts +0 -0
  772. /package/harmony/{src → pushy/src}/main/module.json5 +0 -0
  773. /package/harmony/{src → pushy/src}/main/resources/base/element/string.json +0 -0
  774. /package/harmony/{src → pushy/src}/main/resources/en_US/element/string.json +0 -0
  775. /package/harmony/{src → pushy/src}/main/resources/zh_CN/element/string.json +0 -0
  776. /package/harmony/{ts.ts → pushy/ts.ts} +0 -0
@@ -1,1074 +0,0 @@
1
- // LoadCodecs.cpp
2
-
3
- /*
4
- EXTERNAL_CODECS
5
- ---------------
6
- CCodecs::Load() tries to detect the directory with plugins.
7
- It stops the checking, if it can find any of the following items:
8
- - 7z.dll file
9
- - "Formats" subdir
10
- - "Codecs" subdir
11
- The order of check:
12
- 1) directory of client executable
13
- 2) WIN32: directory for REGISTRY item [HKEY_*\Software\7-Zip\Path**]
14
- The order for HKEY_* : Path** :
15
- - HKEY_CURRENT_USER : PathXX
16
- - HKEY_LOCAL_MACHINE : PathXX
17
- - HKEY_CURRENT_USER : Path
18
- - HKEY_LOCAL_MACHINE : Path
19
- PathXX is Path32 in 32-bit code
20
- PathXX is Path64 in 64-bit code
21
-
22
-
23
- EXPORT_CODECS
24
- -------------
25
- if (EXTERNAL_CODECS) is defined, then the code exports internal
26
- codecs of client from CCodecs object to external plugins.
27
- 7-Zip doesn't use that feature. 7-Zip uses the scheme:
28
- - client application without internal plugins.
29
- - 7z.dll module contains all (or almost all) plugins.
30
- 7z.dll can use codecs from another plugins, if required.
31
- */
32
-
33
-
34
- #include "StdAfx.h"
35
-
36
- #include "../../../../C/7zVersion.h"
37
-
38
- #include "../../../Common/MyCom.h"
39
- #include "../../../Common/StringToInt.h"
40
- #include "../../../Common/StringConvert.h"
41
-
42
- #include "../../../Windows/PropVariant.h"
43
-
44
- #include "LoadCodecs.h"
45
-
46
- using namespace NWindows;
47
-
48
- #ifdef NEW_FOLDER_INTERFACE
49
- #include "../../../Common/StringToInt.h"
50
- #endif
51
-
52
- #include "../../ICoder.h"
53
- #include "../../Common/RegisterArc.h"
54
-
55
- #ifdef EXTERNAL_CODECS
56
-
57
- // #define EXPORT_CODECS
58
-
59
- #endif
60
-
61
- #ifdef NEW_FOLDER_INTERFACE
62
- extern HINSTANCE g_hInstance;
63
- #include "../../../Windows/ResourceString.h"
64
- static const UINT kIconTypesResId = 100;
65
- #endif
66
-
67
- #ifdef EXTERNAL_CODECS
68
-
69
- #include "../../../Windows/FileFind.h"
70
- #include "../../../Windows/DLL.h"
71
-
72
- #ifdef _WIN32
73
- #include "../../../Windows/FileName.h"
74
- #include "../../../Windows/Registry.h"
75
- #endif
76
-
77
- using namespace NFile;
78
-
79
-
80
- #define kCodecsFolderName FTEXT("Codecs")
81
- #define kFormatsFolderName FTEXT("Formats")
82
-
83
-
84
- static CFSTR const kMainDll =
85
- // #ifdef _WIN32
86
- FTEXT("7z.dll");
87
- // #else
88
- // FTEXT("7z.so");
89
- // #endif
90
-
91
-
92
- #ifdef _WIN32
93
-
94
- static LPCTSTR const kRegistryPath = TEXT("Software") TEXT(STRING_PATH_SEPARATOR) TEXT("7-zip");
95
- static LPCWSTR const kProgramPathValue = L"Path";
96
- static LPCWSTR const kProgramPath2Value = L"Path"
97
- #ifdef _WIN64
98
- L"64";
99
- #else
100
- L"32";
101
- #endif
102
-
103
- static bool ReadPathFromRegistry(HKEY baseKey, LPCWSTR value, FString &path)
104
- {
105
- NRegistry::CKey key;
106
- if (key.Open(baseKey, kRegistryPath, KEY_READ) == ERROR_SUCCESS)
107
- {
108
- UString pathU;
109
- if (key.QueryValue(value, pathU) == ERROR_SUCCESS)
110
- {
111
- path = us2fs(pathU);
112
- NName::NormalizeDirPathPrefix(path);
113
- return NFind::DoesFileExist(path + kMainDll);
114
- }
115
- }
116
- return false;
117
- }
118
-
119
- #endif // _WIN32
120
-
121
- #endif // EXTERNAL_CODECS
122
-
123
-
124
- static const unsigned kNumArcsMax = 64;
125
- static unsigned g_NumArcs = 0;
126
- static const CArcInfo *g_Arcs[kNumArcsMax];
127
-
128
- void RegisterArc(const CArcInfo *arcInfo) throw()
129
- {
130
- if (g_NumArcs < kNumArcsMax)
131
- {
132
- g_Arcs[g_NumArcs] = arcInfo;
133
- g_NumArcs++;
134
- }
135
- }
136
-
137
- static void SplitString(const UString &srcString, UStringVector &destStrings)
138
- {
139
- destStrings.Clear();
140
- UString s;
141
- unsigned len = srcString.Len();
142
- if (len == 0)
143
- return;
144
- for (unsigned i = 0; i < len; i++)
145
- {
146
- wchar_t c = srcString[i];
147
- if (c == L' ')
148
- {
149
- if (!s.IsEmpty())
150
- {
151
- destStrings.Add(s);
152
- s.Empty();
153
- }
154
- }
155
- else
156
- s += c;
157
- }
158
- if (!s.IsEmpty())
159
- destStrings.Add(s);
160
- }
161
-
162
- int CArcInfoEx::FindExtension(const UString &ext) const
163
- {
164
- FOR_VECTOR (i, Exts)
165
- if (ext.IsEqualTo_NoCase(Exts[i].Ext))
166
- return i;
167
- return -1;
168
- }
169
-
170
- void CArcInfoEx::AddExts(const UString &ext, const UString &addExt)
171
- {
172
- UStringVector exts, addExts;
173
- SplitString(ext, exts);
174
- SplitString(addExt, addExts);
175
- FOR_VECTOR (i, exts)
176
- {
177
- CArcExtInfo extInfo;
178
- extInfo.Ext = exts[i];
179
- if (i < addExts.Size())
180
- {
181
- extInfo.AddExt = addExts[i];
182
- if (extInfo.AddExt == L"*")
183
- extInfo.AddExt.Empty();
184
- }
185
- Exts.Add(extInfo);
186
- }
187
- }
188
-
189
- #ifndef _SFX
190
-
191
- static bool ParseSignatures(const Byte *data, unsigned size, CObjectVector<CByteBuffer> &signatures)
192
- {
193
- signatures.Clear();
194
- while (size > 0)
195
- {
196
- unsigned len = *data++;
197
- size--;
198
- if (len > size)
199
- return false;
200
- signatures.AddNew().CopyFrom(data, len);
201
- data += len;
202
- size -= len;
203
- }
204
- return true;
205
- }
206
-
207
- #endif // _SFX
208
-
209
- #ifdef EXTERNAL_CODECS
210
-
211
- static FString GetBaseFolderPrefixFromRegistry()
212
- {
213
- FString moduleFolderPrefix = NDLL::GetModuleDirPrefix();
214
- #ifdef _WIN32
215
- if (!NFind::DoesFileExist(moduleFolderPrefix + kMainDll) &&
216
- !NFind::DoesDirExist(moduleFolderPrefix + kCodecsFolderName) &&
217
- !NFind::DoesDirExist(moduleFolderPrefix + kFormatsFolderName))
218
- {
219
- FString path;
220
- if (ReadPathFromRegistry(HKEY_CURRENT_USER, kProgramPath2Value, path)) return path;
221
- if (ReadPathFromRegistry(HKEY_LOCAL_MACHINE, kProgramPath2Value, path)) return path;
222
- if (ReadPathFromRegistry(HKEY_CURRENT_USER, kProgramPathValue, path)) return path;
223
- if (ReadPathFromRegistry(HKEY_LOCAL_MACHINE, kProgramPathValue, path)) return path;
224
- }
225
- #endif
226
- return moduleFolderPrefix;
227
- }
228
-
229
-
230
- static HRESULT GetCoderClass(Func_GetMethodProperty getMethodProperty, UInt32 index,
231
- PROPID propId, CLSID &clsId, bool &isAssigned)
232
- {
233
- NCOM::CPropVariant prop;
234
- isAssigned = false;
235
- RINOK(getMethodProperty(index, propId, &prop));
236
- if (prop.vt == VT_BSTR)
237
- {
238
- if (::SysStringByteLen(prop.bstrVal) != sizeof(GUID))
239
- return E_FAIL;
240
- isAssigned = true;
241
- clsId = *(const GUID *)prop.bstrVal;
242
- }
243
- else if (prop.vt != VT_EMPTY)
244
- return E_FAIL;
245
- return S_OK;
246
- }
247
-
248
- HRESULT CCodecs::LoadCodecs()
249
- {
250
- CCodecLib &lib = Libs.Back();
251
-
252
- lib.CreateDecoder = (Func_CreateDecoder)lib.Lib.GetProc("CreateDecoder");
253
- lib.CreateEncoder = (Func_CreateEncoder)lib.Lib.GetProc("CreateEncoder");
254
- lib.GetMethodProperty = (Func_GetMethodProperty)lib.Lib.GetProc("GetMethodProperty");
255
-
256
- if (lib.GetMethodProperty)
257
- {
258
- UInt32 numMethods = 1;
259
- Func_GetNumberOfMethods getNumberOfMethods = (Func_GetNumberOfMethods)lib.Lib.GetProc("GetNumberOfMethods");
260
- if (getNumberOfMethods)
261
- {
262
- RINOK(getNumberOfMethods(&numMethods));
263
- }
264
- for (UInt32 i = 0; i < numMethods; i++)
265
- {
266
- CDllCodecInfo info;
267
- info.LibIndex = Libs.Size() - 1;
268
- info.CodecIndex = i;
269
- RINOK(GetCoderClass(lib.GetMethodProperty, i, NMethodPropID::kEncoder, info.Encoder, info.EncoderIsAssigned));
270
- RINOK(GetCoderClass(lib.GetMethodProperty, i, NMethodPropID::kDecoder, info.Decoder, info.DecoderIsAssigned));
271
- Codecs.Add(info);
272
- }
273
- }
274
-
275
- Func_GetHashers getHashers = (Func_GetHashers)lib.Lib.GetProc("GetHashers");
276
- if (getHashers)
277
- {
278
- RINOK(getHashers(&lib.ComHashers));
279
- if (lib.ComHashers)
280
- {
281
- UInt32 numMethods = lib.ComHashers->GetNumHashers();
282
- for (UInt32 i = 0; i < numMethods; i++)
283
- {
284
- CDllHasherInfo info;
285
- info.LibIndex = Libs.Size() - 1;
286
- info.HasherIndex = i;
287
- Hashers.Add(info);
288
- }
289
- }
290
- }
291
-
292
- return S_OK;
293
- }
294
-
295
- static HRESULT GetProp(
296
- Func_GetHandlerProperty getProp,
297
- Func_GetHandlerProperty2 getProp2,
298
- UInt32 index, PROPID propID, NCOM::CPropVariant &prop)
299
- {
300
- if (getProp2)
301
- return getProp2(index, propID, &prop);;
302
- return getProp(propID, &prop);
303
- }
304
-
305
- static HRESULT GetProp_Bool(
306
- Func_GetHandlerProperty getProp,
307
- Func_GetHandlerProperty2 getProp2,
308
- UInt32 index, PROPID propID, bool &res)
309
- {
310
- res = false;
311
- NCOM::CPropVariant prop;
312
- RINOK(GetProp(getProp, getProp2, index, propID, prop));
313
- if (prop.vt == VT_BOOL)
314
- res = VARIANT_BOOLToBool(prop.boolVal);
315
- else if (prop.vt != VT_EMPTY)
316
- return E_FAIL;
317
- return S_OK;
318
- }
319
-
320
- static HRESULT GetProp_UInt32(
321
- Func_GetHandlerProperty getProp,
322
- Func_GetHandlerProperty2 getProp2,
323
- UInt32 index, PROPID propID, UInt32 &res, bool &defined)
324
- {
325
- res = 0;
326
- defined = false;
327
- NCOM::CPropVariant prop;
328
- RINOK(GetProp(getProp, getProp2, index, propID, prop));
329
- if (prop.vt == VT_UI4)
330
- {
331
- res = prop.ulVal;
332
- defined = true;
333
- }
334
- else if (prop.vt != VT_EMPTY)
335
- return E_FAIL;
336
- return S_OK;
337
- }
338
-
339
- static HRESULT GetProp_String(
340
- Func_GetHandlerProperty getProp,
341
- Func_GetHandlerProperty2 getProp2,
342
- UInt32 index, PROPID propID, UString &res)
343
- {
344
- res.Empty();
345
- NCOM::CPropVariant prop;
346
- RINOK(GetProp(getProp, getProp2, index, propID, prop));
347
- if (prop.vt == VT_BSTR)
348
- res.SetFromBstr(prop.bstrVal);
349
- else if (prop.vt != VT_EMPTY)
350
- return E_FAIL;
351
- return S_OK;
352
- }
353
-
354
- static HRESULT GetProp_RawData(
355
- Func_GetHandlerProperty getProp,
356
- Func_GetHandlerProperty2 getProp2,
357
- UInt32 index, PROPID propID, CByteBuffer &bb)
358
- {
359
- bb.Free();
360
- NCOM::CPropVariant prop;
361
- RINOK(GetProp(getProp, getProp2, index, propID, prop));
362
- if (prop.vt == VT_BSTR)
363
- {
364
- UINT len = ::SysStringByteLen(prop.bstrVal);
365
- bb.CopyFrom((const Byte *)prop.bstrVal, len);
366
- }
367
- else if (prop.vt != VT_EMPTY)
368
- return E_FAIL;
369
- return S_OK;
370
- }
371
-
372
- static const UInt32 kArcFlagsPars[] =
373
- {
374
- NArchive::NHandlerPropID::kKeepName, NArcInfoFlags::kKeepName,
375
- NArchive::NHandlerPropID::kAltStreams, NArcInfoFlags::kAltStreams,
376
- NArchive::NHandlerPropID::kNtSecure, NArcInfoFlags::kNtSecure
377
- };
378
-
379
- HRESULT CCodecs::LoadFormats()
380
- {
381
- const NDLL::CLibrary &lib = Libs.Back().Lib;
382
-
383
- Func_GetHandlerProperty getProp = NULL;
384
- Func_GetHandlerProperty2 getProp2 = (Func_GetHandlerProperty2)lib.GetProc("GetHandlerProperty2");
385
- Func_GetIsArc getIsArc = (Func_GetIsArc)lib.GetProc("GetIsArc");
386
-
387
- UInt32 numFormats = 1;
388
-
389
- if (getProp2)
390
- {
391
- Func_GetNumberOfFormats getNumberOfFormats = (Func_GetNumberOfFormats)lib.GetProc("GetNumberOfFormats");
392
- if (getNumberOfFormats)
393
- {
394
- RINOK(getNumberOfFormats(&numFormats));
395
- }
396
- }
397
- else
398
- {
399
- getProp = (Func_GetHandlerProperty)lib.GetProc("GetHandlerProperty");
400
- if (!getProp)
401
- return S_OK;
402
- }
403
-
404
- for (UInt32 i = 0; i < numFormats; i++)
405
- {
406
- CArcInfoEx item;
407
- item.LibIndex = Libs.Size() - 1;
408
- item.FormatIndex = i;
409
-
410
- RINOK(GetProp_String(getProp, getProp2, i, NArchive::NHandlerPropID::kName, item.Name));
411
-
412
- {
413
- NCOM::CPropVariant prop;
414
- if (GetProp(getProp, getProp2, i, NArchive::NHandlerPropID::kClassID, prop) != S_OK)
415
- continue;
416
- if (prop.vt != VT_BSTR)
417
- continue;
418
- if (::SysStringByteLen(prop.bstrVal) != sizeof(GUID))
419
- return E_FAIL;
420
- item.ClassID = *(const GUID *)prop.bstrVal;
421
- prop.Clear();
422
- }
423
-
424
- UString ext, addExt;
425
- RINOK(GetProp_String(getProp, getProp2, i, NArchive::NHandlerPropID::kExtension, ext));
426
- RINOK(GetProp_String(getProp, getProp2, i, NArchive::NHandlerPropID::kAddExtension, addExt));
427
- item.AddExts(ext, addExt);
428
-
429
- GetProp_Bool(getProp, getProp2, i, NArchive::NHandlerPropID::kUpdate, item.UpdateEnabled);
430
- bool flags_Defined = false;
431
- RINOK(GetProp_UInt32(getProp, getProp2, i, NArchive::NHandlerPropID::kFlags, item.Flags, flags_Defined));
432
- item.NewInterface = flags_Defined;
433
- if (!flags_Defined) // && item.UpdateEnabled
434
- {
435
- // support for DLL version before 9.31:
436
- for (unsigned j = 0; j < ARRAY_SIZE(kArcFlagsPars); j += 2)
437
- {
438
- bool val = false;
439
- GetProp_Bool(getProp, getProp2, i, kArcFlagsPars[j], val);
440
- if (val)
441
- item.Flags |= kArcFlagsPars[j + 1];
442
- }
443
- }
444
-
445
- CByteBuffer sig;
446
- RINOK(GetProp_RawData(getProp, getProp2, i, NArchive::NHandlerPropID::kSignature, sig));
447
- if (sig.Size() != 0)
448
- item.Signatures.Add(sig);
449
- else
450
- {
451
- RINOK(GetProp_RawData(getProp, getProp2, i, NArchive::NHandlerPropID::kMultiSignature, sig));
452
- ParseSignatures(sig, (unsigned)sig.Size(), item.Signatures);
453
- }
454
-
455
- bool signatureOffset_Defined;
456
- RINOK(GetProp_UInt32(getProp, getProp2, i, NArchive::NHandlerPropID::kSignatureOffset, item.SignatureOffset, signatureOffset_Defined));
457
-
458
- // bool version_Defined;
459
- // RINOK(GetProp_UInt32(getProp, getProp2, i, NArchive::NHandlerPropID::kVersion, item.Version, version_Defined));
460
-
461
- if (getIsArc)
462
- getIsArc(i, &item.IsArcFunc);
463
-
464
- Formats.Add(item);
465
- }
466
- return S_OK;
467
- }
468
-
469
- #ifdef _7ZIP_LARGE_PAGES
470
- extern "C"
471
- {
472
- extern SIZE_T g_LargePageSize;
473
- }
474
- #endif
475
-
476
- HRESULT CCodecs::LoadDll(const FString &dllPath, bool needCheckDll, bool *loadedOK)
477
- {
478
- if (loadedOK)
479
- *loadedOK = false;
480
-
481
- if (needCheckDll)
482
- {
483
- NDLL::CLibrary lib;
484
- if (!lib.LoadEx(dllPath, LOAD_LIBRARY_AS_DATAFILE))
485
- return S_OK;
486
- }
487
-
488
- Libs.AddNew();
489
- CCodecLib &lib = Libs.Back();
490
- lib.Path = dllPath;
491
- bool used = false;
492
- HRESULT res = S_OK;
493
-
494
- if (lib.Lib.Load(dllPath))
495
- {
496
- if (loadedOK)
497
- *loadedOK = true;
498
- #ifdef NEW_FOLDER_INTERFACE
499
- lib.LoadIcons();
500
- #endif
501
-
502
- #ifdef _7ZIP_LARGE_PAGES
503
- if (g_LargePageSize != 0)
504
- {
505
- Func_SetLargePageMode setLargePageMode = (Func_SetLargePageMode)lib.Lib.GetProc("SetLargePageMode");
506
- if (setLargePageMode)
507
- setLargePageMode();
508
- }
509
- #endif
510
-
511
- if (CaseSensitiveChange)
512
- {
513
- Func_SetCaseSensitive setCaseSensitive = (Func_SetCaseSensitive)lib.Lib.GetProc("SetCaseSensitive");
514
- if (setCaseSensitive)
515
- setCaseSensitive(CaseSensitive ? 1 : 0);
516
- }
517
-
518
- lib.CreateObject = (Func_CreateObject)lib.Lib.GetProc("CreateObject");
519
- {
520
- unsigned startSize = Codecs.Size() + Hashers.Size();
521
- res = LoadCodecs();
522
- used = (startSize != Codecs.Size() + Hashers.Size());
523
- if (res == S_OK && lib.CreateObject)
524
- {
525
- startSize = Formats.Size();
526
- res = LoadFormats();
527
- if (startSize != Formats.Size())
528
- used = true;
529
- }
530
- }
531
- }
532
-
533
- if (!used)
534
- Libs.DeleteBack();
535
-
536
- return res;
537
- }
538
-
539
- HRESULT CCodecs::LoadDllsFromFolder(const FString &folderPrefix)
540
- {
541
- NFile::NFind::CEnumerator enumerator;
542
- enumerator.SetDirPrefix(folderPrefix);
543
- NFile::NFind::CFileInfo fi;
544
- while (enumerator.Next(fi))
545
- {
546
- if (fi.IsDir())
547
- continue;
548
- RINOK(LoadDll(folderPrefix + fi.Name, true));
549
- }
550
- return S_OK;
551
- }
552
-
553
- void CCodecs::CloseLibs()
554
- {
555
- // OutputDebugStringA("~CloseLibs start");
556
- /*
557
- WIN32: FreeLibrary() (CLibrary::Free()) function doesn't work as expected,
558
- if it's called from another FreeLibrary() call.
559
- So we need to call FreeLibrary() before global destructors.
560
-
561
- Also we free global links from DLLs to object of this module before CLibrary::Free() call.
562
- */
563
-
564
- FOR_VECTOR(i, Libs)
565
- {
566
- const CCodecLib &lib = Libs[i];
567
- if (lib.SetCodecs)
568
- lib.SetCodecs(NULL);
569
- }
570
-
571
- // OutputDebugStringA("~CloseLibs after SetCodecs");
572
- Libs.Clear();
573
- // OutputDebugStringA("~CloseLibs end");
574
- }
575
-
576
- #endif // EXTERNAL_CODECS
577
-
578
-
579
- HRESULT CCodecs::Load()
580
- {
581
- #ifdef NEW_FOLDER_INTERFACE
582
- InternalIcons.LoadIcons(g_hInstance);
583
- #endif
584
-
585
- Formats.Clear();
586
-
587
- #ifdef EXTERNAL_CODECS
588
- MainDll_ErrorPath.Empty();
589
- Codecs.Clear();
590
- Hashers.Clear();
591
- #endif
592
-
593
- for (UInt32 i = 0; i < g_NumArcs; i++)
594
- {
595
- const CArcInfo &arc = *g_Arcs[i];
596
- CArcInfoEx item;
597
-
598
- item.Name = arc.Name;
599
- item.CreateInArchive = arc.CreateInArchive;
600
- item.IsArcFunc = arc.IsArc;
601
- item.Flags = arc.Flags;
602
-
603
- {
604
- UString e, ae;
605
- if (arc.Ext)
606
- e = arc.Ext;
607
- if (arc.AddExt)
608
- ae = arc.AddExt;
609
- item.AddExts(e, ae);
610
- }
611
-
612
- #ifndef _SFX
613
-
614
- item.CreateOutArchive = arc.CreateOutArchive;
615
- item.UpdateEnabled = (arc.CreateOutArchive != NULL);
616
- item.SignatureOffset = arc.SignatureOffset;
617
- // item.Version = MY_VER_MIX;
618
- item.NewInterface = true;
619
-
620
- if (arc.IsMultiSignature())
621
- ParseSignatures(arc.Signature, arc.SignatureSize, item.Signatures);
622
- else
623
- item.Signatures.AddNew().CopyFrom(arc.Signature, arc.SignatureSize);
624
-
625
- #endif
626
-
627
- Formats.Add(item);
628
- }
629
-
630
- #ifdef EXTERNAL_CODECS
631
- const FString baseFolder = GetBaseFolderPrefixFromRegistry();
632
- {
633
- bool loadedOK;
634
- RINOK(LoadDll(baseFolder + kMainDll, false, &loadedOK));
635
- if (!loadedOK)
636
- MainDll_ErrorPath = kMainDll;
637
- }
638
- RINOK(LoadDllsFromFolder(baseFolder + kCodecsFolderName FSTRING_PATH_SEPARATOR));
639
- RINOK(LoadDllsFromFolder(baseFolder + kFormatsFolderName FSTRING_PATH_SEPARATOR));
640
-
641
- NeedSetLibCodecs = true;
642
-
643
- if (Libs.Size() == 0)
644
- NeedSetLibCodecs = false;
645
- else if (Libs.Size() == 1)
646
- {
647
- // we don't need to set ISetCompressCodecsInfo, if all arcs and codecs are in one external module.
648
- #ifndef EXPORT_CODECS
649
- if (g_NumArcs == 0)
650
- NeedSetLibCodecs = false;
651
- #endif
652
- }
653
-
654
- if (NeedSetLibCodecs)
655
- {
656
- /* 15.00: now we call global function in DLL: SetCompressCodecsInfo(c)
657
- old versions called only ISetCompressCodecsInfo::SetCompressCodecsInfo(c) for each archive handler */
658
-
659
- FOR_VECTOR(i, Libs)
660
- {
661
- CCodecLib &lib = Libs[i];
662
- lib.SetCodecs = (Func_SetCodecs)lib.Lib.GetProc("SetCodecs");
663
- if (lib.SetCodecs)
664
- {
665
- RINOK(lib.SetCodecs(this));
666
- }
667
- }
668
- }
669
-
670
- #endif
671
-
672
- return S_OK;
673
- }
674
-
675
- #ifndef _SFX
676
-
677
- int CCodecs::FindFormatForArchiveName(const UString &arcPath) const
678
- {
679
- int dotPos = arcPath.ReverseFind_Dot();
680
- if (dotPos <= arcPath.ReverseFind_PathSepar())
681
- return -1;
682
- const UString ext = arcPath.Ptr(dotPos + 1);
683
- if (ext.IsEmpty())
684
- return -1;
685
- if (ext.IsEqualTo_Ascii_NoCase("exe"))
686
- return -1;
687
- FOR_VECTOR (i, Formats)
688
- {
689
- const CArcInfoEx &arc = Formats[i];
690
- /*
691
- if (!arc.UpdateEnabled)
692
- continue;
693
- */
694
- if (arc.FindExtension(ext) >= 0)
695
- return i;
696
- }
697
- return -1;
698
- }
699
-
700
- int CCodecs::FindFormatForExtension(const UString &ext) const
701
- {
702
- if (ext.IsEmpty())
703
- return -1;
704
- FOR_VECTOR (i, Formats)
705
- if (Formats[i].FindExtension(ext) >= 0)
706
- return i;
707
- return -1;
708
- }
709
-
710
- int CCodecs::FindFormatForArchiveType(const UString &arcType) const
711
- {
712
- FOR_VECTOR (i, Formats)
713
- if (Formats[i].Name.IsEqualTo_NoCase(arcType))
714
- return i;
715
- return -1;
716
- }
717
-
718
- bool CCodecs::FindFormatForArchiveType(const UString &arcType, CIntVector &formatIndices) const
719
- {
720
- formatIndices.Clear();
721
- for (unsigned pos = 0; pos < arcType.Len();)
722
- {
723
- int pos2 = arcType.Find(L'.', pos);
724
- if (pos2 < 0)
725
- pos2 = arcType.Len();
726
- const UString name = arcType.Mid(pos, pos2 - pos);
727
- if (name.IsEmpty())
728
- return false;
729
- int index = FindFormatForArchiveType(name);
730
- if (index < 0 && name != L"*")
731
- {
732
- formatIndices.Clear();
733
- return false;
734
- }
735
- formatIndices.Add(index);
736
- pos = pos2 + 1;
737
- }
738
- return true;
739
- }
740
-
741
- #endif // _SFX
742
-
743
-
744
- #ifdef NEW_FOLDER_INTERFACE
745
-
746
- void CCodecIcons::LoadIcons(HMODULE m)
747
- {
748
- UString iconTypes;
749
- MyLoadString(m, kIconTypesResId, iconTypes);
750
- UStringVector pairs;
751
- SplitString(iconTypes, pairs);
752
- FOR_VECTOR (i, pairs)
753
- {
754
- const UString &s = pairs[i];
755
- int pos = s.Find(L':');
756
- CIconPair iconPair;
757
- iconPair.IconIndex = -1;
758
- if (pos < 0)
759
- pos = s.Len();
760
- else
761
- {
762
- UString num = s.Ptr(pos + 1);
763
- if (!num.IsEmpty())
764
- {
765
- const wchar_t *end;
766
- iconPair.IconIndex = ConvertStringToUInt32(num, &end);
767
- if (*end != 0)
768
- continue;
769
- }
770
- }
771
- iconPair.Ext = s.Left(pos);
772
- IconPairs.Add(iconPair);
773
- }
774
- }
775
-
776
- bool CCodecIcons::FindIconIndex(const UString &ext, int &iconIndex) const
777
- {
778
- iconIndex = -1;
779
- FOR_VECTOR (i, IconPairs)
780
- {
781
- const CIconPair &pair = IconPairs[i];
782
- if (ext.IsEqualTo_NoCase(pair.Ext))
783
- {
784
- iconIndex = pair.IconIndex;
785
- return true;
786
- }
787
- }
788
- return false;
789
- }
790
-
791
- #endif // NEW_FOLDER_INTERFACE
792
-
793
-
794
- #ifdef EXTERNAL_CODECS
795
-
796
- // #define EXPORT_CODECS
797
-
798
- #ifdef EXPORT_CODECS
799
-
800
- extern unsigned g_NumCodecs;
801
- STDAPI CreateDecoder(UInt32 index, const GUID *iid, void **outObject);
802
- STDAPI CreateEncoder(UInt32 index, const GUID *iid, void **outObject);
803
- STDAPI GetMethodProperty(UInt32 codecIndex, PROPID propID, PROPVARIANT *value);
804
- #define NUM_EXPORT_CODECS g_NumCodecs
805
-
806
- extern unsigned g_NumHashers;
807
- STDAPI CreateHasher(UInt32 index, IHasher **hasher);
808
- STDAPI GetHasherProp(UInt32 codecIndex, PROPID propID, PROPVARIANT *value);
809
- #define NUM_EXPORT_HASHERS g_NumHashers
810
-
811
- #else // EXPORT_CODECS
812
-
813
- #define NUM_EXPORT_CODECS 0
814
- #define NUM_EXPORT_HASHERS 0
815
-
816
- #endif // EXPORT_CODECS
817
-
818
- STDMETHODIMP CCodecs::GetNumMethods(UInt32 *numMethods)
819
- {
820
- *numMethods = NUM_EXPORT_CODECS
821
- #ifdef EXTERNAL_CODECS
822
- + Codecs.Size()
823
- #endif
824
- ;
825
- return S_OK;
826
- }
827
-
828
- STDMETHODIMP CCodecs::GetProperty(UInt32 index, PROPID propID, PROPVARIANT *value)
829
- {
830
- #ifdef EXPORT_CODECS
831
- if (index < g_NumCodecs)
832
- return GetMethodProperty(index, propID, value);
833
- #endif
834
-
835
- #ifdef EXTERNAL_CODECS
836
- const CDllCodecInfo &ci = Codecs[index - NUM_EXPORT_CODECS];
837
-
838
- if (propID == NMethodPropID::kDecoderIsAssigned ||
839
- propID == NMethodPropID::kEncoderIsAssigned)
840
- {
841
- NCOM::CPropVariant prop;
842
- prop = (bool)((propID == NMethodPropID::kDecoderIsAssigned) ?
843
- ci.DecoderIsAssigned :
844
- ci.EncoderIsAssigned);
845
- prop.Detach(value);
846
- return S_OK;
847
- }
848
- const CCodecLib &lib = Libs[ci.LibIndex];
849
- return lib.GetMethodProperty(ci.CodecIndex, propID, value);
850
- #else
851
- return E_FAIL;
852
- #endif
853
- }
854
-
855
- STDMETHODIMP CCodecs::CreateDecoder(UInt32 index, const GUID *iid, void **coder)
856
- {
857
- #ifdef EXPORT_CODECS
858
- if (index < g_NumCodecs)
859
- return CreateDecoder(index, iid, coder);
860
- #endif
861
-
862
- #ifdef EXTERNAL_CODECS
863
- const CDllCodecInfo &ci = Codecs[index - NUM_EXPORT_CODECS];
864
- if (ci.DecoderIsAssigned)
865
- {
866
- const CCodecLib &lib = Libs[ci.LibIndex];
867
- if (lib.CreateDecoder)
868
- return lib.CreateDecoder(ci.CodecIndex, iid, (void **)coder);
869
- if (lib.CreateObject)
870
- return lib.CreateObject(&ci.Decoder, iid, (void **)coder);
871
- }
872
- return S_OK;
873
- #else
874
- return E_FAIL;
875
- #endif
876
- }
877
-
878
- STDMETHODIMP CCodecs::CreateEncoder(UInt32 index, const GUID *iid, void **coder)
879
- {
880
- #ifdef EXPORT_CODECS
881
- if (index < g_NumCodecs)
882
- return CreateEncoder(index, iid, coder);
883
- #endif
884
-
885
- #ifdef EXTERNAL_CODECS
886
- const CDllCodecInfo &ci = Codecs[index - NUM_EXPORT_CODECS];
887
- if (ci.EncoderIsAssigned)
888
- {
889
- const CCodecLib &lib = Libs[ci.LibIndex];
890
- if (lib.CreateEncoder)
891
- return lib.CreateEncoder(ci.CodecIndex, iid, (void **)coder);
892
- if (lib.CreateObject)
893
- return lib.CreateObject(&ci.Encoder, iid, (void **)coder);
894
- }
895
- return S_OK;
896
- #else
897
- return E_FAIL;
898
- #endif
899
- }
900
-
901
-
902
- STDMETHODIMP_(UInt32) CCodecs::GetNumHashers()
903
- {
904
- return NUM_EXPORT_HASHERS
905
- #ifdef EXTERNAL_CODECS
906
- + Hashers.Size()
907
- #endif
908
- ;
909
- }
910
-
911
- STDMETHODIMP CCodecs::GetHasherProp(UInt32 index, PROPID propID, PROPVARIANT *value)
912
- {
913
- #ifdef EXPORT_CODECS
914
- if (index < g_NumHashers)
915
- return ::GetHasherProp(index, propID, value);
916
- #endif
917
-
918
- #ifdef EXTERNAL_CODECS
919
- const CDllHasherInfo &ci = Hashers[index - NUM_EXPORT_HASHERS];
920
- return Libs[ci.LibIndex].ComHashers->GetHasherProp(ci.HasherIndex, propID, value);
921
- #else
922
- return E_FAIL;
923
- #endif
924
- }
925
-
926
- STDMETHODIMP CCodecs::CreateHasher(UInt32 index, IHasher **hasher)
927
- {
928
- #ifdef EXPORT_CODECS
929
- if (index < g_NumHashers)
930
- return CreateHasher(index, hasher);
931
- #endif
932
- #ifdef EXTERNAL_CODECS
933
- const CDllHasherInfo &ci = Hashers[index - NUM_EXPORT_HASHERS];
934
- return Libs[ci.LibIndex].ComHashers->CreateHasher(ci.HasherIndex, hasher);
935
- #else
936
- return E_FAIL;
937
- #endif
938
- }
939
-
940
- int CCodecs::GetCodec_LibIndex(UInt32 index) const
941
- {
942
- #ifdef EXPORT_CODECS
943
- if (index < g_NumCodecs)
944
- return -1;
945
- #endif
946
-
947
- #ifdef EXTERNAL_CODECS
948
- const CDllCodecInfo &ci = Codecs[index - NUM_EXPORT_CODECS];
949
- return ci.LibIndex;
950
- #else
951
- return -1;
952
- #endif
953
- }
954
-
955
- int CCodecs::GetHasherLibIndex(UInt32 index)
956
- {
957
- #ifdef EXPORT_CODECS
958
- if (index < g_NumHashers)
959
- return -1;
960
- #endif
961
-
962
- #ifdef EXTERNAL_CODECS
963
- const CDllHasherInfo &ci = Hashers[index - NUM_EXPORT_HASHERS];
964
- return ci.LibIndex;
965
- #else
966
- return -1;
967
- #endif
968
- }
969
-
970
- bool CCodecs::GetCodec_DecoderIsAssigned(UInt32 index) const
971
- {
972
- #ifdef EXPORT_CODECS
973
- if (index < g_NumCodecs)
974
- {
975
- NCOM::CPropVariant prop;
976
- if (GetProperty(index, NMethodPropID::kDecoderIsAssigned, &prop) == S_OK)
977
- {
978
- if (prop.vt == VT_BOOL)
979
- return VARIANT_BOOLToBool(prop.boolVal);
980
- }
981
- return false;
982
- }
983
- #endif
984
-
985
- #ifdef EXTERNAL_CODECS
986
- return Codecs[index - NUM_EXPORT_CODECS].DecoderIsAssigned;
987
- #else
988
- return false;
989
- #endif
990
- }
991
-
992
- bool CCodecs::GetCodec_EncoderIsAssigned(UInt32 index) const
993
- {
994
- #ifdef EXPORT_CODECS
995
- if (index < g_NumCodecs)
996
- {
997
- NCOM::CPropVariant prop;
998
- if (GetProperty(index, NMethodPropID::kEncoderIsAssigned, &prop) == S_OK)
999
- {
1000
- if (prop.vt == VT_BOOL)
1001
- return VARIANT_BOOLToBool(prop.boolVal);
1002
- }
1003
- return false;
1004
- }
1005
- #endif
1006
-
1007
- #ifdef EXTERNAL_CODECS
1008
- return Codecs[index - NUM_EXPORT_CODECS].EncoderIsAssigned;
1009
- #else
1010
- return false;
1011
- #endif
1012
- }
1013
-
1014
- UInt32 CCodecs::GetCodec_NumStreams(UInt32 index)
1015
- {
1016
- NCOM::CPropVariant prop;
1017
- RINOK(GetProperty(index, NMethodPropID::kPackStreams, &prop));
1018
- if (prop.vt == VT_UI4)
1019
- return (UInt32)prop.ulVal;
1020
- if (prop.vt == VT_EMPTY)
1021
- return 1;
1022
- return 0;
1023
- }
1024
-
1025
- HRESULT CCodecs::GetCodec_Id(UInt32 index, UInt64 &id)
1026
- {
1027
- NCOM::CPropVariant prop;
1028
- RINOK(GetProperty(index, NMethodPropID::kID, &prop));
1029
- if (prop.vt != VT_UI8)
1030
- return E_INVALIDARG;
1031
- id = prop.uhVal.QuadPart;
1032
- return S_OK;
1033
- }
1034
-
1035
- AString CCodecs::GetCodec_Name(UInt32 index)
1036
- {
1037
- AString s;
1038
- NCOM::CPropVariant prop;
1039
- if (GetProperty(index, NMethodPropID::kName, &prop) == S_OK)
1040
- if (prop.vt == VT_BSTR)
1041
- s.SetFromWStr_if_Ascii(prop.bstrVal);
1042
- return s;
1043
- }
1044
-
1045
- UInt64 CCodecs::GetHasherId(UInt32 index)
1046
- {
1047
- NCOM::CPropVariant prop;
1048
- if (GetHasherProp(index, NMethodPropID::kID, &prop) != S_OK)
1049
- return 0;
1050
- if (prop.vt != VT_UI8)
1051
- return 0;
1052
- return prop.uhVal.QuadPart;
1053
- }
1054
-
1055
- AString CCodecs::GetHasherName(UInt32 index)
1056
- {
1057
- AString s;
1058
- NCOM::CPropVariant prop;
1059
- if (GetHasherProp(index, NMethodPropID::kName, &prop) == S_OK)
1060
- if (prop.vt == VT_BSTR)
1061
- s.SetFromWStr_if_Ascii(prop.bstrVal);
1062
- return s;
1063
- }
1064
-
1065
- UInt32 CCodecs::GetHasherDigestSize(UInt32 index)
1066
- {
1067
- NCOM::CPropVariant prop;
1068
- RINOK(GetHasherProp(index, NMethodPropID::kDigestSize, &prop));
1069
- if (prop.vt != VT_UI4)
1070
- return 0;
1071
- return prop.ulVal;
1072
- }
1073
-
1074
- #endif // EXTERNAL_CODECS