react-native-update 8.5.5 → 8.5.6

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 (762) hide show
  1. package/.swcrc +15 -0
  2. package/dist/endpoint.d.ts +13 -0
  3. package/dist/endpoint.js +62 -0
  4. package/dist/index.d.ts +2 -0
  5. package/dist/index.js +18 -0
  6. package/dist/main.d.ts +33 -0
  7. package/dist/main.js +346 -0
  8. package/dist/simpleUpdate.d.ts +61 -0
  9. package/dist/simpleUpdate.js +146 -0
  10. package/dist/type.d.ts +51 -0
  11. package/dist/type.js +2 -0
  12. package/dist/utils.d.ts +4 -0
  13. package/dist/utils.js +83 -0
  14. package/lib/endpoint.ts +1 -1
  15. package/lib/main.ts +5 -5
  16. package/lib/simpleUpdate.tsx +3 -3
  17. package/package.json +7 -4
  18. package/tsconfig.json +18 -0
  19. package/harmony/src/main/cpp/HDiffPatch/CHANGELOG.md +0 -153
  20. package/harmony/src/main/cpp/HDiffPatch/LICENSE +0 -48
  21. package/harmony/src/main/cpp/HDiffPatch/Makefile +0 -157
  22. package/harmony/src/main/cpp/HDiffPatch/README.md +0 -307
  23. package/harmony/src/main/cpp/HDiffPatch/_atosize.h +0 -83
  24. package/harmony/src/main/cpp/HDiffPatch/_clock_for_demo.h +0 -47
  25. package/harmony/src/main/cpp/HDiffPatch/_dir_ignore.h +0 -191
  26. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/Android.mk +0 -37
  27. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/Application.mk +0 -7
  28. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs.bat +0 -1
  29. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs.sh +0 -1
  30. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch.c +0 -18
  31. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch.h +0 -20
  32. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch_jni.c +0 -28
  33. package/harmony/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/java/com/github/sisong/HPatch.java +0 -8
  34. package/harmony/src/main/cpp/HDiffPatch/builds/codeblocks/HDiffPatch.workspace +0 -8
  35. package/harmony/src/main/cpp/HDiffPatch/builds/codeblocks/HDiffZ.cbp +0 -219
  36. package/harmony/src/main/cpp/HDiffPatch/builds/codeblocks/HPatchZ.cbp +0 -156
  37. package/harmony/src/main/cpp/HDiffPatch/builds/codeblocks/unitTest.cbp +0 -65
  38. package/harmony/src/main/cpp/HDiffPatch/builds/vc/HDiffPatch.sln +0 -105
  39. package/harmony/src/main/cpp/HDiffPatch/builds/vc/HDiffZ.vcxproj +0 -237
  40. package/harmony/src/main/cpp/HDiffPatch/builds/vc/HDiffZ.vcxproj.user +0 -3
  41. package/harmony/src/main/cpp/HDiffPatch/builds/vc/HPatchZ.vcxproj +0 -318
  42. package/harmony/src/main/cpp/HDiffPatch/builds/vc/HPatchZ.vcxproj.user +0 -3
  43. package/harmony/src/main/cpp/HDiffPatch/builds/vc/unitTest.vcxproj +0 -182
  44. package/harmony/src/main/cpp/HDiffPatch/builds/vc/unitTest.vcxproj.user +0 -3
  45. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/HDiffPatch.xcworkspace/contents.xcworkspacedata +0 -30
  46. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/HDiffPatch.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  47. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/bestParams.xcodeproj/project.pbxproj +0 -408
  48. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/hdiffz.xcodeproj/project.pbxproj +0 -573
  49. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/hpatchz.xcodeproj/project.pbxproj +0 -396
  50. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/lz4.xcodeproj/project.pbxproj +0 -268
  51. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/lzma.xcodeproj/project.pbxproj +0 -361
  52. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/testHashClash.xcodeproj/project.pbxproj +0 -301
  53. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/unitTest.xcodeproj/project.pbxproj +0 -411
  54. package/harmony/src/main/cpp/HDiffPatch/builds/xcode/zstd.xcodeproj/project.pbxproj +0 -504
  55. package/harmony/src/main/cpp/HDiffPatch/checksum_plugin_demo.h +0 -344
  56. package/harmony/src/main/cpp/HDiffPatch/compress_parallel.cpp +0 -166
  57. package/harmony/src/main/cpp/HDiffPatch/compress_parallel.h +0 -59
  58. package/harmony/src/main/cpp/HDiffPatch/compress_plugin_demo.h +0 -1152
  59. package/harmony/src/main/cpp/HDiffPatch/decompress_plugin_demo.h +0 -995
  60. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff.cpp +0 -797
  61. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff.h +0 -65
  62. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff_tools.cpp +0 -200
  63. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff_tools.h +0 -178
  64. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_manifest.cpp +0 -357
  65. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_manifest.h +0 -87
  66. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/file_for_dirDiff.h +0 -151
  67. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch.c +0 -770
  68. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch.h +0 -236
  69. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_private.h +0 -47
  70. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_tools.c +0 -112
  71. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_tools.h +0 -53
  72. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_types.h +0 -61
  73. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_dir_output.c +0 -331
  74. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_dir_output.h +0 -144
  75. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_stream.c +0 -176
  76. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_stream.h +0 -84
  77. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/ref_stream.c +0 -146
  78. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/ref_stream.h +0 -61
  79. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/res_handle_limit.c +0 -152
  80. package/harmony/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/res_handle_limit.h +0 -76
  81. package/harmony/src/main/cpp/HDiffPatch/file_for_patch.c +0 -524
  82. package/harmony/src/main/cpp/HDiffPatch/file_for_patch.h +0 -259
  83. package/harmony/src/main/cpp/HDiffPatch/hdiffz.cpp +0 -1570
  84. package/harmony/src/main/cpp/HDiffPatch/hpatch_dir_listener.h +0 -290
  85. package/harmony/src/main/cpp/HDiffPatch/hpatchz.c +0 -1221
  86. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff.cpp +0 -1025
  87. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff.h +0 -116
  88. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff_types.h +0 -72
  89. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/bytes_rle.cpp +0 -213
  90. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/bytes_rle.h +0 -63
  91. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/compress_detect.cpp +0 -170
  92. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/compress_detect.h +0 -86
  93. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/config.h +0 -89
  94. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.c +0 -13
  95. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.c.inc.h +0 -398
  96. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.h +0 -194
  97. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort64.c +0 -13
  98. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort64.h +0 -204
  99. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort_private.h +0 -207
  100. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/sssort.c.inc.h +0 -815
  101. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/trsort.c.inc.h +0 -586
  102. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/utils.c.inc.h +0 -381
  103. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/adler_roll.c +0 -352
  104. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/adler_roll.h +0 -137
  105. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/bloom_filter.h +0 -137
  106. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/covers.h +0 -70
  107. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/digest_matcher.cpp +0 -628
  108. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/digest_matcher.h +0 -87
  109. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.cpp +0 -363
  110. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.h +0 -139
  111. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/mem_buf.h +0 -68
  112. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/pack_uint.h +0 -115
  113. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/suffix_string.cpp +0 -342
  114. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/suffix_string.h +0 -94
  115. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/checksum_plugin.h +0 -52
  116. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch.c +0 -2292
  117. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch.h +0 -215
  118. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch_private.h +0 -165
  119. package/harmony/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch_types.h +0 -251
  120. package/harmony/src/main/cpp/HDiffPatch/libParallel/parallel_channel.cpp +0 -174
  121. package/harmony/src/main/cpp/HDiffPatch/libParallel/parallel_channel.h +0 -73
  122. package/harmony/src/main/cpp/HDiffPatch/libParallel/parallel_import.cpp +0 -367
  123. package/harmony/src/main/cpp/HDiffPatch/libParallel/parallel_import.h +0 -92
  124. package/harmony/src/main/cpp/HDiffPatch/test/_private_searchBestParams.cpp +0 -301
  125. package/harmony/src/main/cpp/HDiffPatch/test/hpatchz_test.cpp +0 -292
  126. package/harmony/src/main/cpp/HDiffPatch/test/testHashClash.cpp +0 -436
  127. package/harmony/src/main/cpp/HDiffPatch/test/unit_test.cpp +0 -417
  128. package/harmony/src/main/cpp/lzma/Asm/arm/7zCrcOpt.asm +0 -100
  129. package/harmony/src/main/cpp/lzma/Asm/x86/7zAsm.asm +0 -147
  130. package/harmony/src/main/cpp/lzma/Asm/x86/7zCrcOpt.asm +0 -147
  131. package/harmony/src/main/cpp/lzma/Asm/x86/AesOpt.asm +0 -237
  132. package/harmony/src/main/cpp/lzma/Asm/x86/LzmaDecOpt.asm +0 -1258
  133. package/harmony/src/main/cpp/lzma/Asm/x86/XzCrc64Opt.asm +0 -205
  134. package/harmony/src/main/cpp/lzma/C/7z.h +0 -202
  135. package/harmony/src/main/cpp/lzma/C/7zAlloc.c +0 -80
  136. package/harmony/src/main/cpp/lzma/C/7zAlloc.h +0 -19
  137. package/harmony/src/main/cpp/lzma/C/7zArcIn.c +0 -1771
  138. package/harmony/src/main/cpp/lzma/C/7zBuf.c +0 -36
  139. package/harmony/src/main/cpp/lzma/C/7zBuf.h +0 -35
  140. package/harmony/src/main/cpp/lzma/C/7zBuf2.c +0 -52
  141. package/harmony/src/main/cpp/lzma/C/7zCrc.c +0 -128
  142. package/harmony/src/main/cpp/lzma/C/7zCrc.h +0 -25
  143. package/harmony/src/main/cpp/lzma/C/7zCrcOpt.c +0 -115
  144. package/harmony/src/main/cpp/lzma/C/7zDec.c +0 -591
  145. package/harmony/src/main/cpp/lzma/C/7zFile.c +0 -286
  146. package/harmony/src/main/cpp/lzma/C/7zFile.h +0 -83
  147. package/harmony/src/main/cpp/lzma/C/7zStream.c +0 -176
  148. package/harmony/src/main/cpp/lzma/C/7zTypes.h +0 -375
  149. package/harmony/src/main/cpp/lzma/C/7zVersion.h +0 -27
  150. package/harmony/src/main/cpp/lzma/C/7zVersion.rc +0 -55
  151. package/harmony/src/main/cpp/lzma/C/Aes.c +0 -306
  152. package/harmony/src/main/cpp/lzma/C/Aes.h +0 -38
  153. package/harmony/src/main/cpp/lzma/C/AesOpt.c +0 -184
  154. package/harmony/src/main/cpp/lzma/C/Alloc.c +0 -455
  155. package/harmony/src/main/cpp/lzma/C/Alloc.h +0 -51
  156. package/harmony/src/main/cpp/lzma/C/Bcj2.c +0 -257
  157. package/harmony/src/main/cpp/lzma/C/Bcj2.h +0 -146
  158. package/harmony/src/main/cpp/lzma/C/Bcj2Enc.c +0 -311
  159. package/harmony/src/main/cpp/lzma/C/Bra.c +0 -230
  160. package/harmony/src/main/cpp/lzma/C/Bra.h +0 -64
  161. package/harmony/src/main/cpp/lzma/C/Bra86.c +0 -82
  162. package/harmony/src/main/cpp/lzma/C/BraIA64.c +0 -53
  163. package/harmony/src/main/cpp/lzma/C/Compiler.h +0 -33
  164. package/harmony/src/main/cpp/lzma/C/CpuArch.c +0 -218
  165. package/harmony/src/main/cpp/lzma/C/CpuArch.h +0 -336
  166. package/harmony/src/main/cpp/lzma/C/Delta.c +0 -64
  167. package/harmony/src/main/cpp/lzma/C/Delta.h +0 -19
  168. package/harmony/src/main/cpp/lzma/C/DllSecur.c +0 -108
  169. package/harmony/src/main/cpp/lzma/C/DllSecur.h +0 -20
  170. package/harmony/src/main/cpp/lzma/C/LzFind.c +0 -1127
  171. package/harmony/src/main/cpp/lzma/C/LzFind.h +0 -121
  172. package/harmony/src/main/cpp/lzma/C/LzFindMt.c +0 -853
  173. package/harmony/src/main/cpp/lzma/C/LzFindMt.h +0 -101
  174. package/harmony/src/main/cpp/lzma/C/LzHash.h +0 -57
  175. package/harmony/src/main/cpp/lzma/C/Lzma2Dec.c +0 -488
  176. package/harmony/src/main/cpp/lzma/C/Lzma2Dec.h +0 -120
  177. package/harmony/src/main/cpp/lzma/C/Lzma2DecMt.c +0 -1082
  178. package/harmony/src/main/cpp/lzma/C/Lzma2DecMt.h +0 -79
  179. package/harmony/src/main/cpp/lzma/C/Lzma2Enc.c +0 -803
  180. package/harmony/src/main/cpp/lzma/C/Lzma2Enc.h +0 -55
  181. package/harmony/src/main/cpp/lzma/C/Lzma86.h +0 -111
  182. package/harmony/src/main/cpp/lzma/C/Lzma86Dec.c +0 -54
  183. package/harmony/src/main/cpp/lzma/C/Lzma86Enc.c +0 -106
  184. package/harmony/src/main/cpp/lzma/C/LzmaDec.c +0 -1185
  185. package/harmony/src/main/cpp/lzma/C/LzmaDec.h +0 -234
  186. package/harmony/src/main/cpp/lzma/C/LzmaEnc.c +0 -2976
  187. package/harmony/src/main/cpp/lzma/C/LzmaEnc.h +0 -76
  188. package/harmony/src/main/cpp/lzma/C/LzmaLib.c +0 -40
  189. package/harmony/src/main/cpp/lzma/C/LzmaLib.h +0 -131
  190. package/harmony/src/main/cpp/lzma/C/MtCoder.c +0 -601
  191. package/harmony/src/main/cpp/lzma/C/MtCoder.h +0 -141
  192. package/harmony/src/main/cpp/lzma/C/MtDec.c +0 -1138
  193. package/harmony/src/main/cpp/lzma/C/MtDec.h +0 -201
  194. package/harmony/src/main/cpp/lzma/C/Ppmd.h +0 -85
  195. package/harmony/src/main/cpp/lzma/C/Ppmd7.c +0 -712
  196. package/harmony/src/main/cpp/lzma/C/Ppmd7.h +0 -142
  197. package/harmony/src/main/cpp/lzma/C/Ppmd7Dec.c +0 -191
  198. package/harmony/src/main/cpp/lzma/C/Ppmd7Enc.c +0 -187
  199. package/harmony/src/main/cpp/lzma/C/Precomp.h +0 -10
  200. package/harmony/src/main/cpp/lzma/C/RotateDefs.h +0 -30
  201. package/harmony/src/main/cpp/lzma/C/Sha256.c +0 -248
  202. package/harmony/src/main/cpp/lzma/C/Sha256.h +0 -26
  203. package/harmony/src/main/cpp/lzma/C/Sort.c +0 -141
  204. package/harmony/src/main/cpp/lzma/C/Sort.h +0 -18
  205. package/harmony/src/main/cpp/lzma/C/Threads.c +0 -95
  206. package/harmony/src/main/cpp/lzma/C/Threads.h +0 -70
  207. package/harmony/src/main/cpp/lzma/C/ThreadsP.c +0 -396
  208. package/harmony/src/main/cpp/lzma/C/ThreadsP.h +0 -31
  209. package/harmony/src/main/cpp/lzma/C/Util/7z/7z.dsp +0 -241
  210. package/harmony/src/main/cpp/lzma/C/Util/7z/7z.dsw +0 -29
  211. package/harmony/src/main/cpp/lzma/C/Util/7z/7zMain.c +0 -686
  212. package/harmony/src/main/cpp/lzma/C/Util/7z/Precomp.c +0 -4
  213. package/harmony/src/main/cpp/lzma/C/Util/7z/Precomp.h +0 -10
  214. package/harmony/src/main/cpp/lzma/C/Util/7z/makefile +0 -40
  215. package/harmony/src/main/cpp/lzma/C/Util/7z/makefile.gcc +0 -75
  216. package/harmony/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.c +0 -258
  217. package/harmony/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.dsp +0 -168
  218. package/harmony/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.dsw +0 -29
  219. package/harmony/src/main/cpp/lzma/C/Util/Lzma/makefile +0 -28
  220. package/harmony/src/main/cpp/lzma/C/Util/Lzma/makefile.gcc +0 -44
  221. package/harmony/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.def +0 -4
  222. package/harmony/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.dsp +0 -178
  223. package/harmony/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.dsw +0 -29
  224. package/harmony/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLibExports.c +0 -14
  225. package/harmony/src/main/cpp/lzma/C/Util/LzmaLib/makefile +0 -34
  226. package/harmony/src/main/cpp/lzma/C/Util/LzmaLib/resource.rc +0 -3
  227. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/Precomp.c +0 -4
  228. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/Precomp.h +0 -10
  229. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.c +0 -640
  230. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.dsp +0 -231
  231. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.dsw +0 -29
  232. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/makefile +0 -37
  233. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/makefile_con +0 -38
  234. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/resource.rc +0 -5
  235. package/harmony/src/main/cpp/lzma/C/Util/SfxSetup/setup.ico +0 -0
  236. package/harmony/src/main/cpp/lzma/C/Xz.c +0 -90
  237. package/harmony/src/main/cpp/lzma/C/Xz.h +0 -460
  238. package/harmony/src/main/cpp/lzma/C/XzCrc64.c +0 -86
  239. package/harmony/src/main/cpp/lzma/C/XzCrc64.h +0 -26
  240. package/harmony/src/main/cpp/lzma/C/XzCrc64Opt.c +0 -69
  241. package/harmony/src/main/cpp/lzma/C/XzDec.c +0 -2766
  242. package/harmony/src/main/cpp/lzma/C/XzEnc.c +0 -1329
  243. package/harmony/src/main/cpp/lzma/C/XzEnc.h +0 -60
  244. package/harmony/src/main/cpp/lzma/C/XzIn.c +0 -319
  245. package/harmony/src/main/cpp/lzma/CPP/7zip/7zip.mak +0 -240
  246. package/harmony/src/main/cpp/lzma/CPP/7zip/Aes.mak +0 -7
  247. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zCompressionMode.cpp +0 -3
  248. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zCompressionMode.h +0 -76
  249. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zDecode.cpp +0 -569
  250. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zDecode.h +0 -70
  251. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zEncode.cpp +0 -678
  252. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zEncode.h +0 -92
  253. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zExtract.cpp +0 -423
  254. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zFolderInStream.cpp +0 -139
  255. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zFolderInStream.h +0 -61
  256. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandler.cpp +0 -763
  257. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandler.h +0 -181
  258. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandlerOut.cpp +0 -942
  259. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHeader.cpp +0 -19
  260. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHeader.h +0 -148
  261. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zIn.cpp +0 -1666
  262. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zIn.h +0 -445
  263. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zItem.h +0 -202
  264. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zOut.cpp +0 -901
  265. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zOut.h +0 -335
  266. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zProperties.cpp +0 -174
  267. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zProperties.h +0 -22
  268. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zRegister.cpp +0 -21
  269. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zSpecStream.cpp +0 -22
  270. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zSpecStream.h +0 -35
  271. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zUpdate.cpp +0 -2500
  272. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zUpdate.h +0 -139
  273. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/StdAfx.cpp +0 -3
  274. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/7z/StdAfx.h +0 -8
  275. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Archive.def +0 -12
  276. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Archive2.def +0 -19
  277. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/ArchiveExports.cpp +0 -151
  278. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/CoderMixer2.cpp +0 -1125
  279. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/CoderMixer2.h +0 -447
  280. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/DummyOutStream.cpp +0 -17
  281. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/DummyOutStream.h +0 -25
  282. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/HandlerOut.cpp +0 -232
  283. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/HandlerOut.h +0 -110
  284. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/InStreamWithCRC.cpp +0 -46
  285. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/InStreamWithCRC.h +0 -67
  286. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/ItemNameUtils.cpp +0 -88
  287. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/ItemNameUtils.h +0 -28
  288. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/MultiStream.cpp +0 -191
  289. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/MultiStream.h +0 -89
  290. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.cpp +0 -18
  291. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.h +0 -37
  292. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/ParseProperties.cpp +0 -3
  293. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/ParseProperties.h +0 -6
  294. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Common/StdAfx.h +0 -8
  295. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/DllExports2.cpp +0 -122
  296. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/IArchive.h +0 -608
  297. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/Icons/7z.ico +0 -0
  298. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/LzmaHandler.cpp +0 -629
  299. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/SplitHandler.cpp +0 -359
  300. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/StdAfx.h +0 -8
  301. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/XzHandler.cpp +0 -1308
  302. package/harmony/src/main/cpp/lzma/CPP/7zip/Archive/XzHandler.h +0 -11
  303. package/harmony/src/main/cpp/lzma/CPP/7zip/Asm.mak +0 -9
  304. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/Alone.dsp +0 -1910
  305. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/Alone.dsw +0 -29
  306. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/StdAfx.cpp +0 -3
  307. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/StdAfx.h +0 -8
  308. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/makefile +0 -154
  309. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/resource.rc +0 -7
  310. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/StdAfx.cpp +0 -3
  311. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/StdAfx.h +0 -8
  312. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/makefile +0 -96
  313. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/resource.rc +0 -5
  314. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/StdAfx.cpp +0 -3
  315. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/StdAfx.h +0 -8
  316. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/makefile +0 -116
  317. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/resource.rc +0 -5
  318. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaAlone.cpp +0 -799
  319. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaCon.dsp +0 -477
  320. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaCon.dsw +0 -29
  321. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/StdAfx.cpp +0 -3
  322. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/StdAfx.h +0 -8
  323. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/makefile +0 -59
  324. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/makefile.gcc +0 -195
  325. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/resource.rc +0 -3
  326. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaSpec/LzmaSpec.cpp +0 -715
  327. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/7z.ico +0 -0
  328. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SFXCon.dsp +0 -912
  329. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SFXCon.dsw +0 -29
  330. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SfxCon.cpp +0 -482
  331. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/StdAfx.cpp +0 -3
  332. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/StdAfx.h +0 -8
  333. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/makefile +0 -134
  334. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/resource.rc +0 -5
  335. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractCallbackSfx.cpp +0 -246
  336. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractCallbackSfx.h +0 -86
  337. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractEngine.cpp +0 -137
  338. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractEngine.h +0 -11
  339. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SFXSetup.dsp +0 -803
  340. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SFXSetup.dsw +0 -29
  341. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SfxSetup.cpp +0 -364
  342. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/StdAfx.cpp +0 -3
  343. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/StdAfx.h +0 -13
  344. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/makefile +0 -117
  345. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/resource.h +0 -6
  346. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/resource.rc +0 -16
  347. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/setup.ico +0 -0
  348. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/7z.ico +0 -0
  349. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SFXWin.dsp +0 -988
  350. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SFXWin.dsw +0 -29
  351. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SfxWin.cpp +0 -241
  352. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/StdAfx.cpp +0 -3
  353. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/StdAfx.h +0 -14
  354. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/makefile +0 -153
  355. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/resource.h +0 -1
  356. package/harmony/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/resource.rc +0 -50
  357. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/CWrappers.cpp +0 -250
  358. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/CWrappers.h +0 -120
  359. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/CreateCoder.cpp +0 -536
  360. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/CreateCoder.h +0 -192
  361. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/FilePathAutoRename.cpp +0 -46
  362. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/FilePathAutoRename.h +0 -10
  363. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/FileStreams.cpp +0 -475
  364. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/FileStreams.h +0 -166
  365. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/FilterCoder.cpp +0 -435
  366. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/FilterCoder.h +0 -205
  367. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/InBuffer.cpp +0 -163
  368. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/InBuffer.h +0 -92
  369. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/InOutTempBuffer.cpp +0 -127
  370. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/InOutTempBuffer.h +0 -48
  371. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/LimitedStreams.cpp +0 -367
  372. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/LimitedStreams.h +0 -252
  373. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/LockedStream.cpp +0 -3
  374. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/LockedStream.h +0 -6
  375. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/MethodId.cpp +0 -3
  376. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/MethodId.h +0 -10
  377. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/MethodProps.cpp +0 -509
  378. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/MethodProps.h +0 -264
  379. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/OffsetStream.cpp +0 -39
  380. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/OffsetStream.h +0 -26
  381. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/OutBuffer.cpp +0 -111
  382. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/OutBuffer.h +0 -66
  383. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/ProgressUtils.cpp +0 -51
  384. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/ProgressUtils.h +0 -35
  385. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/PropId.cpp +0 -108
  386. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/RegisterArc.h +0 -78
  387. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/RegisterCodec.h +0 -106
  388. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/StdAfx.h +0 -8
  389. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/StreamBinder.cpp +0 -156
  390. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/StreamBinder.h +0 -60
  391. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/StreamObjects.cpp +0 -285
  392. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/StreamObjects.h +0 -157
  393. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/StreamUtils.cpp +0 -56
  394. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/StreamUtils.h +0 -13
  395. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/UniqBlocks.cpp +0 -57
  396. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/UniqBlocks.h +0 -26
  397. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/VirtThread.cpp +0 -48
  398. package/harmony/src/main/cpp/lzma/CPP/7zip/Common/VirtThread.h +0 -24
  399. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Coder.cpp +0 -666
  400. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Coder.h +0 -120
  401. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Register.cpp +0 -24
  402. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/BcjCoder.cpp +0 -24
  403. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/BcjCoder.h +0 -31
  404. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/BcjRegister.cpp +0 -17
  405. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/BranchMisc.cpp +0 -23
  406. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/BranchMisc.h +0 -35
  407. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/BranchRegister.cpp +0 -41
  408. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/ByteSwap.cpp +0 -92
  409. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/CodecExports.cpp +0 -344
  410. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/CopyCoder.cpp +0 -120
  411. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/CopyCoder.h +0 -49
  412. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/CopyRegister.cpp +0 -15
  413. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/DeltaFilter.cpp +0 -128
  414. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Decoder.cpp +0 -265
  415. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Decoder.h +0 -96
  416. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Encoder.cpp +0 -122
  417. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Encoder.h +0 -42
  418. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Register.cpp +0 -22
  419. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/LzmaDecoder.cpp +0 -343
  420. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/LzmaDecoder.h +0 -113
  421. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/LzmaEncoder.cpp +0 -182
  422. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/LzmaEncoder.h +0 -46
  423. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/LzmaRegister.cpp +0 -22
  424. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/PpmdDecoder.cpp +0 -170
  425. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/PpmdDecoder.h +0 -86
  426. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/PpmdEncoder.cpp +0 -152
  427. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/PpmdEncoder.h +0 -58
  428. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/PpmdRegister.cpp +0 -22
  429. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/StdAfx.h +0 -8
  430. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/XzDecoder.cpp +0 -150
  431. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/XzDecoder.h +0 -92
  432. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/XzEncoder.cpp +0 -245
  433. package/harmony/src/main/cpp/lzma/CPP/7zip/Compress/XzEncoder.h +0 -46
  434. package/harmony/src/main/cpp/lzma/CPP/7zip/Crc.mak +0 -8
  435. package/harmony/src/main/cpp/lzma/CPP/7zip/Crc64.mak +0 -8
  436. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/7zAes.cpp +0 -280
  437. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/7zAes.h +0 -118
  438. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/7zAesRegister.cpp +0 -17
  439. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/MyAes.cpp +0 -112
  440. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/MyAes.h +0 -57
  441. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/MyAesReg.cpp +0 -16
  442. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/RandGen.cpp +0 -233
  443. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/RandGen.h +0 -40
  444. package/harmony/src/main/cpp/lzma/CPP/7zip/Crypto/StdAfx.h +0 -8
  445. package/harmony/src/main/cpp/lzma/CPP/7zip/GuiCommon.rc +0 -84
  446. package/harmony/src/main/cpp/lzma/CPP/7zip/Guid.txt +0 -220
  447. package/harmony/src/main/cpp/lzma/CPP/7zip/ICoder.h +0 -399
  448. package/harmony/src/main/cpp/lzma/CPP/7zip/IDecl.h +0 -28
  449. package/harmony/src/main/cpp/lzma/CPP/7zip/IPassword.h +0 -23
  450. package/harmony/src/main/cpp/lzma/CPP/7zip/IProgress.h +0 -19
  451. package/harmony/src/main/cpp/lzma/CPP/7zip/IStream.h +0 -127
  452. package/harmony/src/main/cpp/lzma/CPP/7zip/LzmaDec.mak +0 -5
  453. package/harmony/src/main/cpp/lzma/CPP/7zip/MyVersion.h +0 -2
  454. package/harmony/src/main/cpp/lzma/CPP/7zip/MyVersionInfo.rc +0 -2
  455. package/harmony/src/main/cpp/lzma/CPP/7zip/PropID.h +0 -127
  456. package/harmony/src/main/cpp/lzma/CPP/7zip/SubBuild.mak +0 -3
  457. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.cpp +0 -993
  458. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.dsp +0 -235
  459. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.dsw +0 -29
  460. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Client7z/StdAfx.cpp +0 -3
  461. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Client7z/StdAfx.h +0 -8
  462. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Client7z/makefile +0 -28
  463. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Client7z/resource.rc +0 -3
  464. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveCommandLine.cpp +0 -1295
  465. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveCommandLine.h +0 -136
  466. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp +0 -1715
  467. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveExtractCallback.h +0 -403
  468. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveName.cpp +0 -155
  469. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveName.h +0 -10
  470. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveOpenCallback.cpp +0 -161
  471. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveOpenCallback.h +0 -112
  472. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/Bench.cpp +0 -3618
  473. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/Bench.h +0 -77
  474. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/DefaultName.cpp +0 -37
  475. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/DefaultName.h +0 -11
  476. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/DirItem.h +0 -190
  477. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/EnumDirItems.cpp +0 -1096
  478. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/EnumDirItems.h +0 -42
  479. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ExitCode.h +0 -27
  480. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/Extract.cpp +0 -482
  481. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/Extract.h +0 -94
  482. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractMode.h +0 -34
  483. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractingFilePath.cpp +0 -280
  484. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractingFilePath.h +0 -31
  485. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/HashCalc.cpp +0 -347
  486. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/HashCalc.h +0 -110
  487. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/IFileExtractCallback.h +0 -114
  488. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/LoadCodecs.cpp +0 -1074
  489. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/LoadCodecs.h +0 -424
  490. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/OpenArchive.cpp +0 -3553
  491. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/OpenArchive.h +0 -436
  492. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/PropIDUtils.cpp +0 -668
  493. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/PropIDUtils.h +0 -18
  494. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/Property.h +0 -14
  495. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/SetProperties.cpp +0 -80
  496. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/SetProperties.h +0 -10
  497. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/SortUtils.cpp +0 -25
  498. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/SortUtils.h +0 -10
  499. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/StdAfx.h +0 -8
  500. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/TempFiles.cpp +0 -19
  501. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/TempFiles.h +0 -16
  502. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/Update.cpp +0 -1704
  503. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/Update.h +0 -200
  504. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateAction.cpp +0 -64
  505. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateAction.h +0 -66
  506. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateCallback.cpp +0 -771
  507. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateCallback.h +0 -162
  508. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdatePair.cpp +0 -233
  509. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdatePair.h +0 -27
  510. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateProduce.cpp +0 -70
  511. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateProduce.h +0 -55
  512. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/WorkDir.cpp +0 -94
  513. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/WorkDir.h +0 -26
  514. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Common/ZipRegistry.h +0 -130
  515. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/BenchCon.cpp +0 -41
  516. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/BenchCon.h +0 -14
  517. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/Console.mak +0 -43
  518. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/Console.manifest +0 -13
  519. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/ConsoleClose.cpp +0 -69
  520. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/ConsoleClose.h +0 -33
  521. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp +0 -825
  522. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/ExtractCallbackConsole.h +0 -164
  523. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/HashCon.cpp +0 -367
  524. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/HashCon.h +0 -48
  525. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/List.cpp +0 -1359
  526. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/List.h +0 -27
  527. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/Main.cpp +0 -1154
  528. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/MainAr.cpp +0 -175
  529. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/OpenCallbackConsole.cpp +0 -115
  530. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/OpenCallbackConsole.h +0 -66
  531. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/PercentPrinter.cpp +0 -183
  532. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/PercentPrinter.h +0 -62
  533. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/StdAfx.cpp +0 -3
  534. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/StdAfx.h +0 -8
  535. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp +0 -702
  536. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/UpdateCallbackConsole.h +0 -124
  537. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/UserInputUtils.cpp +0 -110
  538. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/UserInputUtils.h +0 -27
  539. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/makefile +0 -64
  540. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Console/resource.rc +0 -7
  541. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Explorer/MyMessages.cpp +0 -37
  542. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/Explorer/MyMessages.h +0 -16
  543. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialog.cpp +0 -1025
  544. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialog.h +0 -21
  545. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialogRes.h +0 -9
  546. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialog.cpp +0 -64
  547. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialog.h +0 -28
  548. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialogRes.h +0 -4
  549. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/DialogSize.h +0 -16
  550. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ExtractCallback.cpp +0 -1037
  551. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ExtractCallback.h +0 -328
  552. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/FormatUtils.cpp +0 -28
  553. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/FormatUtils.h +0 -14
  554. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/LangUtils.h +0 -40
  555. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/MyWindowsNew.h +0 -76
  556. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.cpp +0 -122
  557. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.h +0 -69
  558. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.rc +0 -91
  559. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialogRes.h +0 -17
  560. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.cpp +0 -58
  561. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.h +0 -28
  562. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.rc +0 -14
  563. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialogRes.h +0 -5
  564. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.cpp +0 -196
  565. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.h +0 -170
  566. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.rc +0 -12
  567. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.cpp +0 -1337
  568. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.h +0 -351
  569. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.rc +0 -40
  570. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2Res.h +0 -48
  571. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2a.rc +0 -80
  572. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialogRes.h +0 -3
  573. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyName.cpp +0 -23
  574. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyName.h +0 -10
  575. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyNameRes.h +0 -95
  576. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/SysIconUtils.cpp +0 -255
  577. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/SysIconUtils.h +0 -62
  578. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/resource.h +0 -177
  579. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/FileManager/resourceGui.h +0 -15
  580. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/Extract.rc +0 -59
  581. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.cpp +0 -418
  582. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.h +0 -113
  583. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.rc +0 -98
  584. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialogRes.h +0 -24
  585. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractGUI.cpp +0 -280
  586. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractGUI.h +0 -38
  587. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractRes.h +0 -51
  588. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/HashGUI.h +0 -27
  589. package/harmony/src/main/cpp/lzma/CPP/7zip/UI/GUI/resource2.h +0 -2
  590. package/harmony/src/main/cpp/lzma/CPP/Build.mak +0 -156
  591. package/harmony/src/main/cpp/lzma/CPP/Common/AutoPtr.h +0 -35
  592. package/harmony/src/main/cpp/lzma/CPP/Common/CRC.cpp +0 -7
  593. package/harmony/src/main/cpp/lzma/CPP/Common/C_FileIO.cpp +0 -92
  594. package/harmony/src/main/cpp/lzma/CPP/Common/C_FileIO.h +0 -53
  595. package/harmony/src/main/cpp/lzma/CPP/Common/ComTry.h +0 -21
  596. package/harmony/src/main/cpp/lzma/CPP/Common/CommandLineParser.cpp +0 -197
  597. package/harmony/src/main/cpp/lzma/CPP/Common/CommandLineParser.h +0 -63
  598. package/harmony/src/main/cpp/lzma/CPP/Common/Common.h +0 -43
  599. package/harmony/src/main/cpp/lzma/CPP/Common/CrcReg.cpp +0 -98
  600. package/harmony/src/main/cpp/lzma/CPP/Common/Defs.h +0 -15
  601. package/harmony/src/main/cpp/lzma/CPP/Common/DynamicBuffer.h +0 -64
  602. package/harmony/src/main/cpp/lzma/CPP/Common/IntToString.cpp +0 -193
  603. package/harmony/src/main/cpp/lzma/CPP/Common/IntToString.h +0 -28
  604. package/harmony/src/main/cpp/lzma/CPP/Common/Lang.h +0 -23
  605. package/harmony/src/main/cpp/lzma/CPP/Common/ListFileUtils.cpp +0 -132
  606. package/harmony/src/main/cpp/lzma/CPP/Common/ListFileUtils.h +0 -18
  607. package/harmony/src/main/cpp/lzma/CPP/Common/MyBuffer.h +0 -259
  608. package/harmony/src/main/cpp/lzma/CPP/Common/MyBuffer2.h +0 -100
  609. package/harmony/src/main/cpp/lzma/CPP/Common/MyCom.h +0 -277
  610. package/harmony/src/main/cpp/lzma/CPP/Common/MyException.h +0 -14
  611. package/harmony/src/main/cpp/lzma/CPP/Common/MyGuidDef.h +0 -54
  612. package/harmony/src/main/cpp/lzma/CPP/Common/MyInitGuid.h +0 -45
  613. package/harmony/src/main/cpp/lzma/CPP/Common/MyLinux.h +0 -42
  614. package/harmony/src/main/cpp/lzma/CPP/Common/MyString.cpp +0 -1659
  615. package/harmony/src/main/cpp/lzma/CPP/Common/MyString.h +0 -868
  616. package/harmony/src/main/cpp/lzma/CPP/Common/MyTypes.h +0 -35
  617. package/harmony/src/main/cpp/lzma/CPP/Common/MyUnknown.h +0 -17
  618. package/harmony/src/main/cpp/lzma/CPP/Common/MyVector.cpp +0 -3
  619. package/harmony/src/main/cpp/lzma/CPP/Common/MyVector.h +0 -634
  620. package/harmony/src/main/cpp/lzma/CPP/Common/MyWindows.cpp +0 -145
  621. package/harmony/src/main/cpp/lzma/CPP/Common/MyWindows.h +0 -231
  622. package/harmony/src/main/cpp/lzma/CPP/Common/NewHandler.cpp +0 -163
  623. package/harmony/src/main/cpp/lzma/CPP/Common/NewHandler.h +0 -88
  624. package/harmony/src/main/cpp/lzma/CPP/Common/Sha256Reg.cpp +0 -40
  625. package/harmony/src/main/cpp/lzma/CPP/Common/StdAfx.h +0 -8
  626. package/harmony/src/main/cpp/lzma/CPP/Common/StdInStream.cpp +0 -89
  627. package/harmony/src/main/cpp/lzma/CPP/Common/StdInStream.h +0 -38
  628. package/harmony/src/main/cpp/lzma/CPP/Common/StdOutStream.cpp +0 -163
  629. package/harmony/src/main/cpp/lzma/CPP/Common/StdOutStream.h +0 -71
  630. package/harmony/src/main/cpp/lzma/CPP/Common/StringConvert.cpp +0 -319
  631. package/harmony/src/main/cpp/lzma/CPP/Common/StringConvert.h +0 -88
  632. package/harmony/src/main/cpp/lzma/CPP/Common/StringToInt.cpp +0 -144
  633. package/harmony/src/main/cpp/lzma/CPP/Common/StringToInt.h +0 -21
  634. package/harmony/src/main/cpp/lzma/CPP/Common/TextConfig.cpp +0 -124
  635. package/harmony/src/main/cpp/lzma/CPP/Common/TextConfig.h +0 -19
  636. package/harmony/src/main/cpp/lzma/CPP/Common/UTFConvert.cpp +0 -288
  637. package/harmony/src/main/cpp/lzma/CPP/Common/UTFConvert.h +0 -12
  638. package/harmony/src/main/cpp/lzma/CPP/Common/Wildcard.cpp +0 -676
  639. package/harmony/src/main/cpp/lzma/CPP/Common/Wildcard.h +0 -149
  640. package/harmony/src/main/cpp/lzma/CPP/Common/XzCrc64Init.cpp +0 -7
  641. package/harmony/src/main/cpp/lzma/CPP/Common/XzCrc64Reg.cpp +0 -42
  642. package/harmony/src/main/cpp/lzma/CPP/Windows/COM.h +0 -70
  643. package/harmony/src/main/cpp/lzma/CPP/Windows/CommonDialog.cpp +0 -185
  644. package/harmony/src/main/cpp/lzma/CPP/Windows/CommonDialog.h +0 -23
  645. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ComboBox.cpp +0 -66
  646. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ComboBox.h +0 -65
  647. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/CommandBar.h +0 -52
  648. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/Dialog.cpp +0 -251
  649. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/Dialog.h +0 -170
  650. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/Edit.h +0 -19
  651. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ImageList.cpp +0 -10
  652. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ImageList.h +0 -87
  653. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ListView.cpp +0 -155
  654. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ListView.h +0 -146
  655. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ProgressBar.h +0 -35
  656. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/PropertyPage.cpp +0 -143
  657. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/PropertyPage.h +0 -50
  658. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ReBar.h +0 -34
  659. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/Static.h +0 -28
  660. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/StatusBar.h +0 -42
  661. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/StdAfx.h +0 -8
  662. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/ToolBar.h +0 -43
  663. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/Trackbar.h +0 -27
  664. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/Window2.cpp +0 -200
  665. package/harmony/src/main/cpp/lzma/CPP/Windows/Control/Window2.h +0 -51
  666. package/harmony/src/main/cpp/lzma/CPP/Windows/DLL.cpp +0 -109
  667. package/harmony/src/main/cpp/lzma/CPP/Windows/DLL.h +0 -58
  668. package/harmony/src/main/cpp/lzma/CPP/Windows/Defs.h +0 -17
  669. package/harmony/src/main/cpp/lzma/CPP/Windows/ErrorMsg.cpp +0 -66
  670. package/harmony/src/main/cpp/lzma/CPP/Windows/ErrorMsg.h +0 -15
  671. package/harmony/src/main/cpp/lzma/CPP/Windows/FileDir.cpp +0 -714
  672. package/harmony/src/main/cpp/lzma/CPP/Windows/FileDir.h +0 -117
  673. package/harmony/src/main/cpp/lzma/CPP/Windows/FileFind.cpp +0 -749
  674. package/harmony/src/main/cpp/lzma/CPP/Windows/FileFind.h +0 -161
  675. package/harmony/src/main/cpp/lzma/CPP/Windows/FileIO.cpp +0 -432
  676. package/harmony/src/main/cpp/lzma/CPP/Windows/FileIO.h +0 -212
  677. package/harmony/src/main/cpp/lzma/CPP/Windows/FileLink.cpp +0 -440
  678. package/harmony/src/main/cpp/lzma/CPP/Windows/FileMapping.cpp +0 -12
  679. package/harmony/src/main/cpp/lzma/CPP/Windows/FileMapping.h +0 -66
  680. package/harmony/src/main/cpp/lzma/CPP/Windows/FileName.cpp +0 -839
  681. package/harmony/src/main/cpp/lzma/CPP/Windows/FileName.h +0 -115
  682. package/harmony/src/main/cpp/lzma/CPP/Windows/FileSystem.cpp +0 -131
  683. package/harmony/src/main/cpp/lzma/CPP/Windows/FileSystem.h +0 -27
  684. package/harmony/src/main/cpp/lzma/CPP/Windows/Handle.h +0 -37
  685. package/harmony/src/main/cpp/lzma/CPP/Windows/MemoryLock.cpp +0 -112
  686. package/harmony/src/main/cpp/lzma/CPP/Windows/MemoryLock.h +0 -40
  687. package/harmony/src/main/cpp/lzma/CPP/Windows/NtCheck.h +0 -46
  688. package/harmony/src/main/cpp/lzma/CPP/Windows/PropVariant.cpp +0 -347
  689. package/harmony/src/main/cpp/lzma/CPP/Windows/PropVariant.h +0 -114
  690. package/harmony/src/main/cpp/lzma/CPP/Windows/PropVariantConv.cpp +0 -138
  691. package/harmony/src/main/cpp/lzma/CPP/Windows/PropVariantConv.h +0 -37
  692. package/harmony/src/main/cpp/lzma/CPP/Windows/Registry.cpp +0 -390
  693. package/harmony/src/main/cpp/lzma/CPP/Windows/Registry.h +0 -84
  694. package/harmony/src/main/cpp/lzma/CPP/Windows/ResourceString.cpp +0 -103
  695. package/harmony/src/main/cpp/lzma/CPP/Windows/ResourceString.h +0 -16
  696. package/harmony/src/main/cpp/lzma/CPP/Windows/SecurityUtils.cpp +0 -181
  697. package/harmony/src/main/cpp/lzma/CPP/Windows/SecurityUtils.h +0 -167
  698. package/harmony/src/main/cpp/lzma/CPP/Windows/Shell.cpp +0 -358
  699. package/harmony/src/main/cpp/lzma/CPP/Windows/Shell.h +0 -94
  700. package/harmony/src/main/cpp/lzma/CPP/Windows/StdAfx.h +0 -8
  701. package/harmony/src/main/cpp/lzma/CPP/Windows/Synchronization.cpp +0 -10
  702. package/harmony/src/main/cpp/lzma/CPP/Windows/Synchronization.h +0 -164
  703. package/harmony/src/main/cpp/lzma/CPP/Windows/System.cpp +0 -142
  704. package/harmony/src/main/cpp/lzma/CPP/Windows/System.h +0 -40
  705. package/harmony/src/main/cpp/lzma/CPP/Windows/Thread.h +0 -38
  706. package/harmony/src/main/cpp/lzma/CPP/Windows/TimeUtils.cpp +0 -213
  707. package/harmony/src/main/cpp/lzma/CPP/Windows/TimeUtils.h +0 -32
  708. package/harmony/src/main/cpp/lzma/CPP/Windows/Window.cpp +0 -179
  709. package/harmony/src/main/cpp/lzma/CPP/Windows/Window.h +0 -284
  710. package/harmony/src/main/cpp/lzma/CS/7zip/Common/CRC.cs +0 -55
  711. package/harmony/src/main/cpp/lzma/CS/7zip/Common/CommandLineParser.cs +0 -274
  712. package/harmony/src/main/cpp/lzma/CS/7zip/Common/InBuffer.cs +0 -72
  713. package/harmony/src/main/cpp/lzma/CS/7zip/Common/OutBuffer.cs +0 -47
  714. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LZ/IMatchFinder.cs +0 -24
  715. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzBinTree.cs +0 -367
  716. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzInWindow.cs +0 -132
  717. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzOutWindow.cs +0 -110
  718. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaBase.cs +0 -76
  719. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaDecoder.cs +0 -398
  720. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaEncoder.cs +0 -1480
  721. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.cs +0 -364
  722. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.csproj +0 -90
  723. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.sln +0 -20
  724. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaBench.cs +0 -340
  725. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/AssemblyInfo.cs +0 -29
  726. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/Resources.cs +0 -70
  727. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/Settings.cs +0 -42
  728. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoder.cs +0 -234
  729. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoderBit.cs +0 -117
  730. package/harmony/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoderBitTree.cs +0 -157
  731. package/harmony/src/main/cpp/lzma/CS/7zip/ICoder.cs +0 -157
  732. package/harmony/src/main/cpp/lzma/DOC/7zC.txt +0 -187
  733. package/harmony/src/main/cpp/lzma/DOC/7zFormat.txt +0 -469
  734. package/harmony/src/main/cpp/lzma/DOC/Methods.txt +0 -173
  735. package/harmony/src/main/cpp/lzma/DOC/installer.txt +0 -166
  736. package/harmony/src/main/cpp/lzma/DOC/lzma-history.txt +0 -446
  737. package/harmony/src/main/cpp/lzma/DOC/lzma-sdk.txt +0 -357
  738. package/harmony/src/main/cpp/lzma/DOC/lzma-specification.txt +0 -1176
  739. package/harmony/src/main/cpp/lzma/DOC/lzma.txt +0 -328
  740. package/harmony/src/main/cpp/lzma/Java/SevenZip/CRC.java +0 -52
  741. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/BinTree.java +0 -382
  742. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/InWindow.java +0 -131
  743. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/OutWindow.java +0 -85
  744. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Base.java +0 -88
  745. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Decoder.java +0 -329
  746. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Encoder.java +0 -1416
  747. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/BitTreeDecoder.java +0 -55
  748. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/BitTreeEncoder.java +0 -99
  749. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/Decoder.java +0 -88
  750. package/harmony/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/Encoder.java +0 -151
  751. package/harmony/src/main/cpp/lzma/Java/SevenZip/ICodeProgress.java +0 -6
  752. package/harmony/src/main/cpp/lzma/Java/SevenZip/LzmaAlone.java +0 -253
  753. package/harmony/src/main/cpp/lzma/Java/SevenZip/LzmaBench.java +0 -392
  754. package/harmony/src/main/cpp/lzma/bin/7zS2.sfx +0 -0
  755. package/harmony/src/main/cpp/lzma/bin/7zS2con.sfx +0 -0
  756. package/harmony/src/main/cpp/lzma/bin/7zSD.sfx +0 -0
  757. package/harmony/src/main/cpp/lzma/bin/7zdec.exe +0 -0
  758. package/harmony/src/main/cpp/lzma/bin/7zr.exe +0 -0
  759. package/harmony/src/main/cpp/lzma/bin/installer/config.txt +0 -5
  760. package/harmony/src/main/cpp/lzma/bin/installer/cr.bat +0 -5
  761. package/harmony/src/main/cpp/lzma/bin/lzma.exe +0 -0
  762. package/harmony/src/main/cpp/lzma/bin/x64/7zr.exe +0 -0
@@ -1,1359 +0,0 @@
1
- // List.cpp
2
-
3
- #include "StdAfx.h"
4
-
5
- #include "../../../Common/IntToString.h"
6
- #include "../../../Common/MyCom.h"
7
- #include "../../../Common/StdOutStream.h"
8
- #include "../../../Common/StringConvert.h"
9
- #include "../../../Common/UTFConvert.h"
10
-
11
- #include "../../../Windows/ErrorMsg.h"
12
- #include "../../../Windows/FileDir.h"
13
- #include "../../../Windows/PropVariant.h"
14
- #include "../../../Windows/PropVariantConv.h"
15
-
16
- #include "../Common/OpenArchive.h"
17
- #include "../Common/PropIDUtils.h"
18
-
19
- #include "ConsoleClose.h"
20
- #include "List.h"
21
- #include "OpenCallbackConsole.h"
22
-
23
- using namespace NWindows;
24
- using namespace NCOM;
25
-
26
- extern CStdOutStream *g_StdStream;
27
- extern CStdOutStream *g_ErrStream;
28
-
29
- static const char * const kPropIdToName[] =
30
- {
31
- "0"
32
- , "1"
33
- , "2"
34
- , "Path"
35
- , "Name"
36
- , "Extension"
37
- , "Folder"
38
- , "Size"
39
- , "Packed Size"
40
- , "Attributes"
41
- , "Created"
42
- , "Accessed"
43
- , "Modified"
44
- , "Solid"
45
- , "Commented"
46
- , "Encrypted"
47
- , "Split Before"
48
- , "Split After"
49
- , "Dictionary Size"
50
- , "CRC"
51
- , "Type"
52
- , "Anti"
53
- , "Method"
54
- , "Host OS"
55
- , "File System"
56
- , "User"
57
- , "Group"
58
- , "Block"
59
- , "Comment"
60
- , "Position"
61
- , "Path Prefix"
62
- , "Folders"
63
- , "Files"
64
- , "Version"
65
- , "Volume"
66
- , "Multivolume"
67
- , "Offset"
68
- , "Links"
69
- , "Blocks"
70
- , "Volumes"
71
- , "Time Type"
72
- , "64-bit"
73
- , "Big-endian"
74
- , "CPU"
75
- , "Physical Size"
76
- , "Headers Size"
77
- , "Checksum"
78
- , "Characteristics"
79
- , "Virtual Address"
80
- , "ID"
81
- , "Short Name"
82
- , "Creator Application"
83
- , "Sector Size"
84
- , "Mode"
85
- , "Symbolic Link"
86
- , "Error"
87
- , "Total Size"
88
- , "Free Space"
89
- , "Cluster Size"
90
- , "Label"
91
- , "Local Name"
92
- , "Provider"
93
- , "NT Security"
94
- , "Alternate Stream"
95
- , "Aux"
96
- , "Deleted"
97
- , "Tree"
98
- , "SHA-1"
99
- , "SHA-256"
100
- , "Error Type"
101
- , "Errors"
102
- , "Errors"
103
- , "Warnings"
104
- , "Warning"
105
- , "Streams"
106
- , "Alternate Streams"
107
- , "Alternate Streams Size"
108
- , "Virtual Size"
109
- , "Unpack Size"
110
- , "Total Physical Size"
111
- , "Volume Index"
112
- , "SubType"
113
- , "Short Comment"
114
- , "Code Page"
115
- , "Is not archive type"
116
- , "Physical Size can't be detected"
117
- , "Zeros Tail Is Allowed"
118
- , "Tail Size"
119
- , "Embedded Stub Size"
120
- , "Link"
121
- , "Hard Link"
122
- , "iNode"
123
- , "Stream ID"
124
- , "Read-only"
125
- , "Out Name"
126
- , "Copy Link"
127
- };
128
-
129
- static const char kEmptyAttribChar = '.';
130
-
131
- static const char * const kListing = "Listing archive: ";
132
-
133
- static const char * const kString_Files = "files";
134
- static const char * const kString_Dirs = "folders";
135
- static const char * const kString_AltStreams = "alternate streams";
136
- static const char * const kString_Streams = "streams";
137
-
138
- static const char * const kError = "ERROR: ";
139
-
140
- static void GetAttribString(UInt32 wa, bool isDir, bool allAttribs, char *s)
141
- {
142
- if (isDir)
143
- wa |= FILE_ATTRIBUTE_DIRECTORY;
144
- if (allAttribs)
145
- {
146
- ConvertWinAttribToString(s, wa);
147
- return;
148
- }
149
- s[0] = ((wa & FILE_ATTRIBUTE_DIRECTORY) != 0) ? 'D': kEmptyAttribChar;
150
- s[1] = ((wa & FILE_ATTRIBUTE_READONLY) != 0) ? 'R': kEmptyAttribChar;
151
- s[2] = ((wa & FILE_ATTRIBUTE_HIDDEN) != 0) ? 'H': kEmptyAttribChar;
152
- s[3] = ((wa & FILE_ATTRIBUTE_SYSTEM) != 0) ? 'S': kEmptyAttribChar;
153
- s[4] = ((wa & FILE_ATTRIBUTE_ARCHIVE) != 0) ? 'A': kEmptyAttribChar;
154
- s[5] = 0;
155
- }
156
-
157
- enum EAdjustment
158
- {
159
- kLeft,
160
- kCenter,
161
- kRight
162
- };
163
-
164
- struct CFieldInfo
165
- {
166
- PROPID PropID;
167
- bool IsRawProp;
168
- UString NameU;
169
- AString NameA;
170
- EAdjustment TitleAdjustment;
171
- EAdjustment TextAdjustment;
172
- unsigned PrefixSpacesWidth;
173
- unsigned Width;
174
- };
175
-
176
- struct CFieldInfoInit
177
- {
178
- PROPID PropID;
179
- const char *Name;
180
- EAdjustment TitleAdjustment;
181
- EAdjustment TextAdjustment;
182
- unsigned PrefixSpacesWidth;
183
- unsigned Width;
184
- };
185
-
186
- static const CFieldInfoInit kStandardFieldTable[] =
187
- {
188
- { kpidMTime, " Date Time", kLeft, kLeft, 0, 19 },
189
- { kpidAttrib, "Attr", kRight, kCenter, 1, 5 },
190
- { kpidSize, "Size", kRight, kRight, 1, 12 },
191
- { kpidPackSize, "Compressed", kRight, kRight, 1, 12 },
192
- { kpidPath, "Name", kLeft, kLeft, 2, 24 }
193
- };
194
-
195
- const unsigned kNumSpacesMax = 32; // it must be larger than max CFieldInfoInit.Width
196
- static const char *g_Spaces =
197
- " " ;
198
-
199
- static void PrintSpaces(unsigned numSpaces)
200
- {
201
- if (numSpaces > 0 && numSpaces <= kNumSpacesMax)
202
- g_StdOut << g_Spaces + (kNumSpacesMax - numSpaces);
203
- }
204
-
205
- static void PrintSpacesToString(char *dest, unsigned numSpaces)
206
- {
207
- unsigned i;
208
- for (i = 0; i < numSpaces; i++)
209
- dest[i] = ' ';
210
- dest[i] = 0;
211
- }
212
-
213
- // extern int g_CodePage;
214
-
215
- static void PrintUString(EAdjustment adj, unsigned width, const UString &s, AString &temp)
216
- {
217
- /*
218
- // we don't need multibyte align.
219
- int codePage = g_CodePage;
220
- if (codePage == -1)
221
- codePage = CP_OEMCP;
222
- if (codePage == CP_UTF8)
223
- ConvertUnicodeToUTF8(s, temp);
224
- else
225
- UnicodeStringToMultiByte2(temp, s, (UINT)codePage);
226
- */
227
-
228
- unsigned numSpaces = 0;
229
-
230
- if (width > s.Len())
231
- {
232
- numSpaces = width - s.Len();
233
- unsigned numLeftSpaces = 0;
234
- switch (adj)
235
- {
236
- case kLeft: numLeftSpaces = 0; break;
237
- case kCenter: numLeftSpaces = numSpaces / 2; break;
238
- case kRight: numLeftSpaces = numSpaces; break;
239
- }
240
- PrintSpaces(numLeftSpaces);
241
- numSpaces -= numLeftSpaces;
242
- }
243
-
244
- g_StdOut.PrintUString(s, temp);
245
- PrintSpaces(numSpaces);
246
- }
247
-
248
- static void PrintString(EAdjustment adj, unsigned width, const char *s)
249
- {
250
- unsigned numSpaces = 0;
251
- unsigned len = (unsigned)strlen(s);
252
-
253
- if (width > len)
254
- {
255
- numSpaces = width - len;
256
- unsigned numLeftSpaces = 0;
257
- switch (adj)
258
- {
259
- case kLeft: numLeftSpaces = 0; break;
260
- case kCenter: numLeftSpaces = numSpaces / 2; break;
261
- case kRight: numLeftSpaces = numSpaces; break;
262
- }
263
- PrintSpaces(numLeftSpaces);
264
- numSpaces -= numLeftSpaces;
265
- }
266
-
267
- g_StdOut << s;
268
- PrintSpaces(numSpaces);
269
- }
270
-
271
- static void PrintStringToString(char *dest, EAdjustment adj, unsigned width, const char *textString)
272
- {
273
- unsigned numSpaces = 0;
274
- unsigned len = (unsigned)strlen(textString);
275
-
276
- if (width > len)
277
- {
278
- numSpaces = width - len;
279
- unsigned numLeftSpaces = 0;
280
- switch (adj)
281
- {
282
- case kLeft: numLeftSpaces = 0; break;
283
- case kCenter: numLeftSpaces = numSpaces / 2; break;
284
- case kRight: numLeftSpaces = numSpaces; break;
285
- }
286
- PrintSpacesToString(dest, numLeftSpaces);
287
- dest += numLeftSpaces;
288
- numSpaces -= numLeftSpaces;
289
- }
290
-
291
- memcpy(dest, textString, len);
292
- dest += len;
293
- PrintSpacesToString(dest, numSpaces);
294
- }
295
-
296
- struct CListUInt64Def
297
- {
298
- UInt64 Val;
299
- bool Def;
300
-
301
- CListUInt64Def(): Val(0), Def(false) {}
302
- void Add(UInt64 v) { Val += v; Def = true; }
303
- void Add(const CListUInt64Def &v) { if (v.Def) Add(v.Val); }
304
- };
305
-
306
- struct CListFileTimeDef
307
- {
308
- FILETIME Val;
309
- bool Def;
310
-
311
- CListFileTimeDef(): Def(false) { Val.dwLowDateTime = 0; Val.dwHighDateTime = 0; }
312
- void Update(const CListFileTimeDef &t)
313
- {
314
- if (t.Def && (!Def || CompareFileTime(&Val, &t.Val) < 0))
315
- {
316
- Val = t.Val;
317
- Def = true;
318
- }
319
- }
320
- };
321
-
322
- struct CListStat
323
- {
324
- CListUInt64Def Size;
325
- CListUInt64Def PackSize;
326
- CListFileTimeDef MTime;
327
- UInt64 NumFiles;
328
-
329
- CListStat(): NumFiles(0) {}
330
- void Update(const CListStat &st)
331
- {
332
- Size.Add(st.Size);
333
- PackSize.Add(st.PackSize);
334
- MTime.Update(st.MTime);
335
- NumFiles += st.NumFiles;
336
- }
337
- void SetSizeDefIfNoFiles() { if (NumFiles == 0) Size.Def = true; }
338
- };
339
-
340
- struct CListStat2
341
- {
342
- CListStat MainFiles;
343
- CListStat AltStreams;
344
- UInt64 NumDirs;
345
-
346
- CListStat2(): NumDirs(0) {}
347
-
348
- void Update(const CListStat2 &st)
349
- {
350
- MainFiles.Update(st.MainFiles);
351
- AltStreams.Update(st.AltStreams);
352
- NumDirs += st.NumDirs;
353
- }
354
- const UInt64 GetNumStreams() const { return MainFiles.NumFiles + AltStreams.NumFiles; }
355
- CListStat &GetStat(bool altStreamsMode) { return altStreamsMode ? AltStreams : MainFiles; }
356
- };
357
-
358
- class CFieldPrinter
359
- {
360
- CObjectVector<CFieldInfo> _fields;
361
-
362
- void AddProp(const wchar_t *name, PROPID propID, bool isRawProp);
363
- public:
364
- const CArc *Arc;
365
- bool TechMode;
366
- UString FilePath;
367
- AString TempAString;
368
- UString TempWString;
369
- bool IsDir;
370
-
371
- AString LinesString;
372
-
373
- void Clear() { _fields.Clear(); LinesString.Empty(); }
374
- void Init(const CFieldInfoInit *standardFieldTable, unsigned numItems);
375
-
376
- HRESULT AddMainProps(IInArchive *archive);
377
- HRESULT AddRawProps(IArchiveGetRawProps *getRawProps);
378
-
379
- void PrintTitle();
380
- void PrintTitleLines();
381
- HRESULT PrintItemInfo(UInt32 index, const CListStat &st);
382
- void PrintSum(const CListStat &st, UInt64 numDirs, const char *str);
383
- void PrintSum(const CListStat2 &stat2);
384
- };
385
-
386
- void CFieldPrinter::Init(const CFieldInfoInit *standardFieldTable, unsigned numItems)
387
- {
388
- Clear();
389
- for (unsigned i = 0; i < numItems; i++)
390
- {
391
- CFieldInfo &f = _fields.AddNew();
392
- const CFieldInfoInit &fii = standardFieldTable[i];
393
- f.PropID = fii.PropID;
394
- f.IsRawProp = false;
395
- f.NameA = fii.Name;
396
- f.TitleAdjustment = fii.TitleAdjustment;
397
- f.TextAdjustment = fii.TextAdjustment;
398
- f.PrefixSpacesWidth = fii.PrefixSpacesWidth;
399
- f.Width = fii.Width;
400
-
401
- unsigned k;
402
- for (k = 0; k < fii.PrefixSpacesWidth; k++)
403
- LinesString.Add_Space();
404
- for (k = 0; k < fii.Width; k++)
405
- LinesString += '-';
406
- }
407
- }
408
-
409
- static void GetPropName(PROPID propID, const wchar_t *name, AString &nameA, UString &nameU)
410
- {
411
- if (propID < ARRAY_SIZE(kPropIdToName))
412
- {
413
- nameA = kPropIdToName[propID];
414
- return;
415
- }
416
- if (name)
417
- nameU = name;
418
- else
419
- {
420
- nameA.Empty();
421
- nameA.Add_UInt32(propID);
422
- }
423
- }
424
-
425
- void CFieldPrinter::AddProp(const wchar_t *name, PROPID propID, bool isRawProp)
426
- {
427
- CFieldInfo f;
428
- f.PropID = propID;
429
- f.IsRawProp = isRawProp;
430
- GetPropName(propID, name, f.NameA, f.NameU);
431
- f.NameU += " = ";
432
- if (!f.NameA.IsEmpty())
433
- f.NameA += " = ";
434
- else
435
- {
436
- const UString &s = f.NameU;
437
- AString sA;
438
- unsigned i;
439
- for (i = 0; i < s.Len(); i++)
440
- {
441
- wchar_t c = s[i];
442
- if (c >= 0x80)
443
- break;
444
- sA += (char)c;
445
- }
446
- if (i == s.Len())
447
- f.NameA = sA;
448
- }
449
- _fields.Add(f);
450
- }
451
-
452
- HRESULT CFieldPrinter::AddMainProps(IInArchive *archive)
453
- {
454
- UInt32 numProps;
455
- RINOK(archive->GetNumberOfProperties(&numProps));
456
- for (UInt32 i = 0; i < numProps; i++)
457
- {
458
- CMyComBSTR name;
459
- PROPID propID;
460
- VARTYPE vt;
461
- RINOK(archive->GetPropertyInfo(i, &name, &propID, &vt));
462
- AddProp(name, propID, false);
463
- }
464
- return S_OK;
465
- }
466
-
467
- HRESULT CFieldPrinter::AddRawProps(IArchiveGetRawProps *getRawProps)
468
- {
469
- UInt32 numProps;
470
- RINOK(getRawProps->GetNumRawProps(&numProps));
471
- for (UInt32 i = 0; i < numProps; i++)
472
- {
473
- CMyComBSTR name;
474
- PROPID propID;
475
- RINOK(getRawProps->GetRawPropInfo(i, &name, &propID));
476
- AddProp(name, propID, true);
477
- }
478
- return S_OK;
479
- }
480
-
481
- void CFieldPrinter::PrintTitle()
482
- {
483
- FOR_VECTOR (i, _fields)
484
- {
485
- const CFieldInfo &f = _fields[i];
486
- PrintSpaces(f.PrefixSpacesWidth);
487
- PrintString(f.TitleAdjustment, ((f.PropID == kpidPath) ? 0: f.Width), f.NameA);
488
- }
489
- }
490
-
491
- void CFieldPrinter::PrintTitleLines()
492
- {
493
- g_StdOut << LinesString;
494
- }
495
-
496
- static void PrintTime(char *dest, const FILETIME *ft)
497
- {
498
- *dest = 0;
499
- if (ft->dwLowDateTime == 0 && ft->dwHighDateTime == 0)
500
- return;
501
- ConvertUtcFileTimeToString(*ft, dest, kTimestampPrintLevel_SEC);
502
- }
503
-
504
- #ifndef _SFX
505
-
506
- static inline char GetHex(Byte value)
507
- {
508
- return (char)((value < 10) ? ('0' + value) : ('A' + (value - 10)));
509
- }
510
-
511
- static void HexToString(char *dest, const Byte *data, UInt32 size)
512
- {
513
- for (UInt32 i = 0; i < size; i++)
514
- {
515
- Byte b = data[i];
516
- dest[0] = GetHex((Byte)((b >> 4) & 0xF));
517
- dest[1] = GetHex((Byte)(b & 0xF));
518
- dest += 2;
519
- }
520
- *dest = 0;
521
- }
522
-
523
- #endif
524
-
525
- #define MY_ENDL endl
526
-
527
- HRESULT CFieldPrinter::PrintItemInfo(UInt32 index, const CListStat &st)
528
- {
529
- char temp[128];
530
- size_t tempPos = 0;
531
-
532
- bool techMode = this->TechMode;
533
- /*
534
- if (techMode)
535
- {
536
- g_StdOut << "Index = ";
537
- g_StdOut << (UInt64)index;
538
- g_StdOut << endl;
539
- }
540
- */
541
- FOR_VECTOR (i, _fields)
542
- {
543
- const CFieldInfo &f = _fields[i];
544
-
545
- if (!techMode)
546
- {
547
- PrintSpacesToString(temp + tempPos, f.PrefixSpacesWidth);
548
- tempPos += f.PrefixSpacesWidth;
549
- }
550
-
551
- if (techMode)
552
- {
553
- if (!f.NameA.IsEmpty())
554
- g_StdOut << f.NameA;
555
- else
556
- g_StdOut << f.NameU;
557
- }
558
-
559
- if (f.PropID == kpidPath)
560
- {
561
- if (!techMode)
562
- g_StdOut << temp;
563
- g_StdOut.NormalizePrint_UString(FilePath, TempWString, TempAString);
564
- if (techMode)
565
- g_StdOut << MY_ENDL;
566
- continue;
567
- }
568
-
569
- const unsigned width = f.Width;
570
-
571
- if (f.IsRawProp)
572
- {
573
- #ifndef _SFX
574
-
575
- const void *data;
576
- UInt32 dataSize;
577
- UInt32 propType;
578
- RINOK(Arc->GetRawProps->GetRawProp(index, f.PropID, &data, &dataSize, &propType));
579
-
580
- if (dataSize != 0)
581
- {
582
- bool needPrint = true;
583
-
584
- if (f.PropID == kpidNtSecure)
585
- {
586
- if (propType != NPropDataType::kRaw)
587
- return E_FAIL;
588
- #ifndef _SFX
589
- ConvertNtSecureToString((const Byte *)data, dataSize, TempAString);
590
- g_StdOut << TempAString;
591
- needPrint = false;
592
- #endif
593
- }
594
- else if (f.PropID == kpidNtReparse)
595
- {
596
- UString s;
597
- if (ConvertNtReparseToString((const Byte *)data, dataSize, s))
598
- {
599
- needPrint = false;
600
- g_StdOut.PrintUString(s, TempAString);
601
- }
602
- }
603
-
604
- if (needPrint)
605
- {
606
- if (propType != NPropDataType::kRaw)
607
- return E_FAIL;
608
-
609
- const UInt32 kMaxDataSize = 64;
610
-
611
- if (dataSize > kMaxDataSize)
612
- {
613
- g_StdOut << "data:";
614
- g_StdOut << dataSize;
615
- }
616
- else
617
- {
618
- char hexStr[kMaxDataSize * 2 + 4];
619
- HexToString(hexStr, (const Byte *)data, dataSize);
620
- g_StdOut << hexStr;
621
- }
622
- }
623
- }
624
-
625
- #endif
626
- }
627
- else
628
- {
629
- CPropVariant prop;
630
- switch (f.PropID)
631
- {
632
- case kpidSize: if (st.Size.Def) prop = st.Size.Val; break;
633
- case kpidPackSize: if (st.PackSize.Def) prop = st.PackSize.Val; break;
634
- case kpidMTime: if (st.MTime.Def) prop = st.MTime.Val; break;
635
- default:
636
- RINOK(Arc->Archive->GetProperty(index, f.PropID, &prop));
637
- }
638
- if (f.PropID == kpidAttrib && (prop.vt == VT_EMPTY || prop.vt == VT_UI4))
639
- {
640
- GetAttribString((prop.vt == VT_EMPTY) ? 0 : prop.ulVal, IsDir, techMode, temp + tempPos);
641
- if (techMode)
642
- g_StdOut << temp + tempPos;
643
- else
644
- tempPos += strlen(temp + tempPos);
645
- }
646
- else if (prop.vt == VT_EMPTY)
647
- {
648
- if (!techMode)
649
- {
650
- PrintSpacesToString(temp + tempPos, width);
651
- tempPos += width;
652
- }
653
- }
654
- else if (prop.vt == VT_FILETIME)
655
- {
656
- PrintTime(temp + tempPos, &prop.filetime);
657
- if (techMode)
658
- g_StdOut << temp + tempPos;
659
- else
660
- {
661
- size_t len = strlen(temp + tempPos);
662
- tempPos += len;
663
- if (len < (unsigned)f.Width)
664
- {
665
- len = f.Width - len;
666
- PrintSpacesToString(temp + tempPos, (unsigned)len);
667
- tempPos += len;
668
- }
669
- }
670
- }
671
- else if (prop.vt == VT_BSTR)
672
- {
673
- TempWString.SetFromBstr(prop.bstrVal);
674
- // do we need multi-line support here ?
675
- g_StdOut.Normalize_UString(TempWString);
676
- if (techMode)
677
- {
678
- g_StdOut.PrintUString(TempWString, TempAString);
679
- }
680
- else
681
- PrintUString(f.TextAdjustment, width, TempWString, TempAString);
682
- }
683
- else
684
- {
685
- char s[64];
686
- ConvertPropertyToShortString2(s, prop, f.PropID);
687
- if (techMode)
688
- g_StdOut << s;
689
- else
690
- {
691
- PrintStringToString(temp + tempPos, f.TextAdjustment, width, s);
692
- tempPos += strlen(temp + tempPos);
693
- }
694
- }
695
- }
696
- if (techMode)
697
- g_StdOut << MY_ENDL;
698
- }
699
- g_StdOut << MY_ENDL;
700
- return S_OK;
701
- }
702
-
703
- static void PrintNumber(EAdjustment adj, unsigned width, const CListUInt64Def &value)
704
- {
705
- char s[32];
706
- s[0] = 0;
707
- if (value.Def)
708
- ConvertUInt64ToString(value.Val, s);
709
- PrintString(adj, width, s);
710
- }
711
-
712
- void Print_UInt64_and_String(AString &s, UInt64 val, const char *name);
713
-
714
- void CFieldPrinter::PrintSum(const CListStat &st, UInt64 numDirs, const char *str)
715
- {
716
- FOR_VECTOR (i, _fields)
717
- {
718
- const CFieldInfo &f = _fields[i];
719
- PrintSpaces(f.PrefixSpacesWidth);
720
- if (f.PropID == kpidSize)
721
- PrintNumber(f.TextAdjustment, f.Width, st.Size);
722
- else if (f.PropID == kpidPackSize)
723
- PrintNumber(f.TextAdjustment, f.Width, st.PackSize);
724
- else if (f.PropID == kpidMTime)
725
- {
726
- char s[64];
727
- s[0] = 0;
728
- if (st.MTime.Def)
729
- PrintTime(s, &st.MTime.Val);
730
- PrintString(f.TextAdjustment, f.Width, s);
731
- }
732
- else if (f.PropID == kpidPath)
733
- {
734
- AString s;
735
- Print_UInt64_and_String(s, st.NumFiles, str);
736
- if (numDirs != 0)
737
- {
738
- s += ", ";
739
- Print_UInt64_and_String(s, numDirs, kString_Dirs);
740
- }
741
- PrintString(f.TextAdjustment, 0, s);
742
- }
743
- else
744
- PrintString(f.TextAdjustment, f.Width, "");
745
- }
746
- g_StdOut << endl;
747
- }
748
-
749
- void CFieldPrinter::PrintSum(const CListStat2 &stat2)
750
- {
751
- PrintSum(stat2.MainFiles, stat2.NumDirs, kString_Files);
752
- if (stat2.AltStreams.NumFiles != 0)
753
- {
754
- PrintSum(stat2.AltStreams, 0, kString_AltStreams);;
755
- CListStat st = stat2.MainFiles;
756
- st.Update(stat2.AltStreams);
757
- PrintSum(st, 0, kString_Streams);
758
- }
759
- }
760
-
761
- static HRESULT GetUInt64Value(IInArchive *archive, UInt32 index, PROPID propID, CListUInt64Def &value)
762
- {
763
- value.Val = 0;
764
- value.Def = false;
765
- CPropVariant prop;
766
- RINOK(archive->GetProperty(index, propID, &prop));
767
- value.Def = ConvertPropVariantToUInt64(prop, value.Val);
768
- return S_OK;
769
- }
770
-
771
- static HRESULT GetItemMTime(IInArchive *archive, UInt32 index, CListFileTimeDef &t)
772
- {
773
- t.Val.dwLowDateTime = 0;
774
- t.Val.dwHighDateTime = 0;
775
- t.Def = false;
776
- CPropVariant prop;
777
- RINOK(archive->GetProperty(index, kpidMTime, &prop));
778
- if (prop.vt == VT_FILETIME)
779
- {
780
- t.Val = prop.filetime;
781
- t.Def = true;
782
- }
783
- else if (prop.vt != VT_EMPTY)
784
- return E_FAIL;
785
- return S_OK;
786
- }
787
-
788
- static void PrintPropNameAndNumber(CStdOutStream &so, const char *name, UInt64 val)
789
- {
790
- so << name << ": " << val << endl;
791
- }
792
-
793
- static void PrintPropName_and_Eq(CStdOutStream &so, PROPID propID)
794
- {
795
- const char *s;
796
- char temp[16];
797
- if (propID < ARRAY_SIZE(kPropIdToName))
798
- s = kPropIdToName[propID];
799
- else
800
- {
801
- ConvertUInt32ToString(propID, temp);
802
- s = temp;
803
- }
804
- so << s << " = ";
805
- }
806
-
807
- static void PrintPropNameAndNumber(CStdOutStream &so, PROPID propID, UInt64 val)
808
- {
809
- PrintPropName_and_Eq(so, propID);
810
- so << val << endl;
811
- }
812
-
813
- static void PrintPropNameAndNumber_Signed(CStdOutStream &so, PROPID propID, Int64 val)
814
- {
815
- PrintPropName_and_Eq(so, propID);
816
- so << val << endl;
817
- }
818
-
819
-
820
- static void UString_Replace_CRLF_to_LF(UString &s)
821
- {
822
- // s.Replace(L"\r\n", L"\n");
823
- wchar_t *src = s.GetBuf();
824
- wchar_t *dest = src;
825
- for (;;)
826
- {
827
- wchar_t c = *src++;
828
- if (c == 0)
829
- break;
830
- if (c == '\r' && *src == '\n')
831
- {
832
- src++;
833
- c = '\n';
834
- }
835
- *dest++ = c;
836
- }
837
- s.ReleaseBuf_SetEnd((unsigned)(dest - s.GetBuf()));
838
- }
839
-
840
-
841
- static void PrintPropVal_MultiLine(CStdOutStream &so, const wchar_t *val)
842
- {
843
- UString s = val;
844
- if (s.Find(L'\n') >= 0)
845
- {
846
- so << endl;
847
- so << "{";
848
- so << endl;
849
- UString_Replace_CRLF_to_LF(s);
850
- so.Normalize_UString__LF_Allowed(s);
851
- so << s;
852
- so << endl;
853
- so << "}";
854
- }
855
- else
856
- {
857
- so.Normalize_UString(s);
858
- so << s;
859
- }
860
- so << endl;
861
- }
862
-
863
-
864
- static void PrintPropPair(CStdOutStream &so, const char *name, const wchar_t *val, bool multiLine)
865
- {
866
- so << name << " = ";
867
- if (multiLine)
868
- {
869
- PrintPropVal_MultiLine(so, val);
870
- return;
871
- }
872
- UString s = val;
873
- so.Normalize_UString(s);
874
- so << s;
875
- so << endl;
876
- }
877
-
878
-
879
- static void PrintPropertyPair2(CStdOutStream &so, PROPID propID, const wchar_t *name, const CPropVariant &prop)
880
- {
881
- UString s;
882
- ConvertPropertyToString2(s, prop, propID);
883
- if (!s.IsEmpty())
884
- {
885
- AString nameA;
886
- UString nameU;
887
- GetPropName(propID, name, nameA, nameU);
888
- if (!nameA.IsEmpty())
889
- so << nameA;
890
- else
891
- so << nameU;
892
- so << " = ";
893
- PrintPropVal_MultiLine(so, s);
894
- }
895
- }
896
-
897
- static HRESULT PrintArcProp(CStdOutStream &so, IInArchive *archive, PROPID propID, const wchar_t *name)
898
- {
899
- CPropVariant prop;
900
- RINOK(archive->GetArchiveProperty(propID, &prop));
901
- PrintPropertyPair2(so, propID, name, prop);
902
- return S_OK;
903
- }
904
-
905
- static void PrintArcTypeError(CStdOutStream &so, const UString &type, bool isWarning)
906
- {
907
- so << "Open " << (isWarning ? "WARNING" : "ERROR")
908
- << ": Can not open the file as ["
909
- << type
910
- << "] archive"
911
- << endl;
912
- }
913
-
914
- int Find_FileName_InSortedVector(const UStringVector &fileName, const UString& name);
915
-
916
- void PrintErrorFlags(CStdOutStream &so, const char *s, UInt32 errorFlags);
917
-
918
- static void ErrorInfo_Print(CStdOutStream &so, const CArcErrorInfo &er)
919
- {
920
- PrintErrorFlags(so, "ERRORS:", er.GetErrorFlags());
921
- if (!er.ErrorMessage.IsEmpty())
922
- PrintPropPair(so, "ERROR", er.ErrorMessage, true);
923
-
924
- PrintErrorFlags(so, "WARNINGS:", er.GetWarningFlags());
925
- if (!er.WarningMessage.IsEmpty())
926
- PrintPropPair(so, "WARNING", er.WarningMessage, true);
927
- }
928
-
929
- HRESULT Print_OpenArchive_Props(CStdOutStream &so, const CCodecs *codecs, const CArchiveLink &arcLink)
930
- {
931
- FOR_VECTOR (r, arcLink.Arcs)
932
- {
933
- const CArc &arc = arcLink.Arcs[r];
934
- const CArcErrorInfo &er = arc.ErrorInfo;
935
-
936
- so << "--\n";
937
- PrintPropPair(so, "Path", arc.Path, false);
938
- if (er.ErrorFormatIndex >= 0)
939
- {
940
- if (er.ErrorFormatIndex == arc.FormatIndex)
941
- so << "Warning: The archive is open with offset" << endl;
942
- else
943
- PrintArcTypeError(so, codecs->GetFormatNamePtr(er.ErrorFormatIndex), true);
944
- }
945
- PrintPropPair(so, "Type", codecs->GetFormatNamePtr(arc.FormatIndex), false);
946
-
947
- ErrorInfo_Print(so, er);
948
-
949
- Int64 offset = arc.GetGlobalOffset();
950
- if (offset != 0)
951
- PrintPropNameAndNumber_Signed(so, kpidOffset, offset);
952
- IInArchive *archive = arc.Archive;
953
- RINOK(PrintArcProp(so, archive, kpidPhySize, NULL));
954
- if (er.TailSize != 0)
955
- PrintPropNameAndNumber(so, kpidTailSize, er.TailSize);
956
- {
957
- UInt32 numProps;
958
- RINOK(archive->GetNumberOfArchiveProperties(&numProps));
959
-
960
- for (UInt32 j = 0; j < numProps; j++)
961
- {
962
- CMyComBSTR name;
963
- PROPID propID;
964
- VARTYPE vt;
965
- RINOK(archive->GetArchivePropertyInfo(j, &name, &propID, &vt));
966
- RINOK(PrintArcProp(so, archive, propID, name));
967
- }
968
- }
969
-
970
- if (r != arcLink.Arcs.Size() - 1)
971
- {
972
- UInt32 numProps;
973
- so << "----\n";
974
- if (archive->GetNumberOfProperties(&numProps) == S_OK)
975
- {
976
- UInt32 mainIndex = arcLink.Arcs[r + 1].SubfileIndex;
977
- for (UInt32 j = 0; j < numProps; j++)
978
- {
979
- CMyComBSTR name;
980
- PROPID propID;
981
- VARTYPE vt;
982
- RINOK(archive->GetPropertyInfo(j, &name, &propID, &vt));
983
- CPropVariant prop;
984
- RINOK(archive->GetProperty(mainIndex, propID, &prop));
985
- PrintPropertyPair2(so, propID, name, prop);
986
- }
987
- }
988
- }
989
- }
990
- return S_OK;
991
- }
992
-
993
- HRESULT Print_OpenArchive_Error(CStdOutStream &so, const CCodecs *codecs, const CArchiveLink &arcLink)
994
- {
995
- #ifndef _NO_CRYPTO
996
- if (arcLink.PasswordWasAsked)
997
- so << "Can not open encrypted archive. Wrong password?";
998
- else
999
- #endif
1000
- {
1001
- if (arcLink.NonOpen_ErrorInfo.ErrorFormatIndex >= 0)
1002
- {
1003
- so.NormalizePrint_UString(arcLink.NonOpen_ArcPath);
1004
- so << endl;
1005
- PrintArcTypeError(so, codecs->Formats[arcLink.NonOpen_ErrorInfo.ErrorFormatIndex].Name, false);
1006
- }
1007
- else
1008
- so << "Can not open the file as archive";
1009
- }
1010
-
1011
- so << endl;
1012
- so << endl;
1013
- ErrorInfo_Print(so, arcLink.NonOpen_ErrorInfo);
1014
-
1015
- return S_OK;
1016
- }
1017
-
1018
- bool CensorNode_CheckPath(const NWildcard::CCensorNode &node, const CReadArcItem &item);
1019
-
1020
- HRESULT ListArchives(CCodecs *codecs,
1021
- const CObjectVector<COpenType> &types,
1022
- const CIntVector &excludedFormats,
1023
- bool stdInMode,
1024
- UStringVector &arcPaths, UStringVector &arcPathsFull,
1025
- bool processAltStreams, bool showAltStreams,
1026
- const NWildcard::CCensorNode &wildcardCensor,
1027
- bool enableHeaders, bool techMode,
1028
- #ifndef _NO_CRYPTO
1029
- bool &passwordEnabled, UString &password,
1030
- #endif
1031
- #ifndef _SFX
1032
- const CObjectVector<CProperty> *props,
1033
- #endif
1034
- UInt64 &numErrors,
1035
- UInt64 &numWarnings)
1036
- {
1037
- bool allFilesAreAllowed = wildcardCensor.AreAllAllowed();
1038
-
1039
- numErrors = 0;
1040
- numWarnings = 0;
1041
-
1042
- CFieldPrinter fp;
1043
- if (!techMode)
1044
- fp.Init(kStandardFieldTable, ARRAY_SIZE(kStandardFieldTable));
1045
-
1046
- CListStat2 stat2total;
1047
-
1048
- CBoolArr skipArcs(arcPaths.Size());
1049
- unsigned arcIndex;
1050
- for (arcIndex = 0; arcIndex < arcPaths.Size(); arcIndex++)
1051
- skipArcs[arcIndex] = false;
1052
- UInt64 numVolumes = 0;
1053
- UInt64 numArcs = 0;
1054
- UInt64 totalArcSizes = 0;
1055
-
1056
- HRESULT lastError = 0;
1057
-
1058
- for (arcIndex = 0; arcIndex < arcPaths.Size(); arcIndex++)
1059
- {
1060
- if (skipArcs[arcIndex])
1061
- continue;
1062
- const UString &arcPath = arcPaths[arcIndex];
1063
- UInt64 arcPackSize = 0;
1064
-
1065
- if (!stdInMode)
1066
- {
1067
- NFile::NFind::CFileInfo fi;
1068
- if (!fi.Find(us2fs(arcPath)))
1069
- {
1070
- DWORD errorCode = GetLastError();
1071
- if (errorCode == 0)
1072
- errorCode = ERROR_FILE_NOT_FOUND;
1073
- lastError = HRESULT_FROM_WIN32(lastError);;
1074
- g_StdOut.Flush();
1075
- if (g_ErrStream)
1076
- {
1077
- *g_ErrStream << endl << kError << NError::MyFormatMessage(errorCode) << endl;
1078
- g_ErrStream->NormalizePrint_UString(arcPath);
1079
- *g_ErrStream << endl << endl;
1080
- }
1081
- numErrors++;
1082
- continue;
1083
- }
1084
- if (fi.IsDir())
1085
- {
1086
- g_StdOut.Flush();
1087
- if (g_ErrStream)
1088
- {
1089
- *g_ErrStream << endl << kError;
1090
- g_ErrStream->NormalizePrint_UString(arcPath);
1091
- *g_ErrStream << " is not a file" << endl << endl;
1092
- }
1093
- numErrors++;
1094
- continue;
1095
- }
1096
- arcPackSize = fi.Size;
1097
- totalArcSizes += arcPackSize;
1098
- }
1099
-
1100
- CArchiveLink arcLink;
1101
-
1102
- COpenCallbackConsole openCallback;
1103
- openCallback.Init(&g_StdOut, g_ErrStream, NULL);
1104
-
1105
- #ifndef _NO_CRYPTO
1106
-
1107
- openCallback.PasswordIsDefined = passwordEnabled;
1108
- openCallback.Password = password;
1109
-
1110
- #endif
1111
-
1112
- /*
1113
- CObjectVector<COptionalOpenProperties> optPropsVector;
1114
- COptionalOpenProperties &optProps = optPropsVector.AddNew();
1115
- optProps.Props = *props;
1116
- */
1117
-
1118
- COpenOptions options;
1119
- #ifndef _SFX
1120
- options.props = props;
1121
- #endif
1122
- options.codecs = codecs;
1123
- options.types = &types;
1124
- options.excludedFormats = &excludedFormats;
1125
- options.stdInMode = stdInMode;
1126
- options.stream = NULL;
1127
- options.filePath = arcPath;
1128
-
1129
- if (enableHeaders)
1130
- {
1131
- g_StdOut << endl << kListing;
1132
- g_StdOut.NormalizePrint_UString(arcPath);
1133
- g_StdOut << endl << endl;
1134
- }
1135
-
1136
- HRESULT result = arcLink.Open_Strict(options, &openCallback);
1137
-
1138
- if (result != S_OK)
1139
- {
1140
- if (result == E_ABORT)
1141
- return result;
1142
- if (result != S_FALSE)
1143
- lastError = result;
1144
- g_StdOut.Flush();
1145
- if (g_ErrStream)
1146
- {
1147
- *g_ErrStream << endl << kError;
1148
- g_ErrStream->NormalizePrint_UString(arcPath);
1149
- *g_ErrStream << " : ";
1150
- if (result == S_FALSE)
1151
- {
1152
- Print_OpenArchive_Error(*g_ErrStream, codecs, arcLink);
1153
- }
1154
- else
1155
- {
1156
- *g_ErrStream << "opening : ";
1157
- if (result == E_OUTOFMEMORY)
1158
- *g_ErrStream << "Can't allocate required memory";
1159
- else
1160
- *g_ErrStream << NError::MyFormatMessage(result);
1161
- }
1162
- *g_ErrStream << endl;
1163
- }
1164
- numErrors++;
1165
- continue;
1166
- }
1167
-
1168
- {
1169
- FOR_VECTOR (r, arcLink.Arcs)
1170
- {
1171
- const CArcErrorInfo &arc = arcLink.Arcs[r].ErrorInfo;
1172
- if (!arc.WarningMessage.IsEmpty())
1173
- numWarnings++;
1174
- if (arc.AreThereWarnings())
1175
- numWarnings++;
1176
- if (arc.ErrorFormatIndex >= 0)
1177
- numWarnings++;
1178
- if (arc.AreThereErrors())
1179
- {
1180
- numErrors++;
1181
- // break;
1182
- }
1183
- if (!arc.ErrorMessage.IsEmpty())
1184
- numErrors++;
1185
- }
1186
- }
1187
-
1188
- numArcs++;
1189
- numVolumes++;
1190
-
1191
- if (!stdInMode)
1192
- {
1193
- numVolumes += arcLink.VolumePaths.Size();
1194
- totalArcSizes += arcLink.VolumesSize;
1195
- FOR_VECTOR (v, arcLink.VolumePaths)
1196
- {
1197
- int index = Find_FileName_InSortedVector(arcPathsFull, arcLink.VolumePaths[v]);
1198
- if (index >= 0 && (unsigned)index > arcIndex)
1199
- skipArcs[(unsigned)index] = true;
1200
- }
1201
- }
1202
-
1203
-
1204
- if (enableHeaders)
1205
- {
1206
- RINOK(Print_OpenArchive_Props(g_StdOut, codecs, arcLink));
1207
-
1208
- g_StdOut << endl;
1209
- if (techMode)
1210
- g_StdOut << "----------\n";
1211
- }
1212
-
1213
- if (enableHeaders && !techMode)
1214
- {
1215
- fp.PrintTitle();
1216
- g_StdOut << endl;
1217
- fp.PrintTitleLines();
1218
- g_StdOut << endl;
1219
- }
1220
-
1221
- const CArc &arc = arcLink.Arcs.Back();
1222
- fp.Arc = &arc;
1223
- fp.TechMode = techMode;
1224
- IInArchive *archive = arc.Archive;
1225
- if (techMode)
1226
- {
1227
- fp.Clear();
1228
- RINOK(fp.AddMainProps(archive));
1229
- if (arc.GetRawProps)
1230
- {
1231
- RINOK(fp.AddRawProps(arc.GetRawProps));
1232
- }
1233
- }
1234
-
1235
- CListStat2 stat2;
1236
-
1237
- UInt32 numItems;
1238
- RINOK(archive->GetNumberOfItems(&numItems));
1239
-
1240
- CReadArcItem item;
1241
- UStringVector pathParts;
1242
-
1243
- for (UInt32 i = 0; i < numItems; i++)
1244
- {
1245
- if (NConsoleClose::TestBreakSignal())
1246
- return E_ABORT;
1247
-
1248
- HRESULT res = arc.GetItemPath2(i, fp.FilePath);
1249
-
1250
- if (stdInMode && res == E_INVALIDARG)
1251
- break;
1252
- RINOK(res);
1253
-
1254
- if (arc.Ask_Aux)
1255
- {
1256
- bool isAux;
1257
- RINOK(Archive_IsItem_Aux(archive, i, isAux));
1258
- if (isAux)
1259
- continue;
1260
- }
1261
-
1262
- bool isAltStream = false;
1263
- if (arc.Ask_AltStream)
1264
- {
1265
- RINOK(Archive_IsItem_AltStream(archive, i, isAltStream));
1266
- if (isAltStream && !processAltStreams)
1267
- continue;
1268
- }
1269
-
1270
- RINOK(Archive_IsItem_Dir(archive, i, fp.IsDir));
1271
-
1272
- if (!allFilesAreAllowed)
1273
- {
1274
- if (isAltStream)
1275
- {
1276
- RINOK(arc.GetItem(i, item));
1277
- if (!CensorNode_CheckPath(wildcardCensor, item))
1278
- continue;
1279
- }
1280
- else
1281
- {
1282
- SplitPathToParts(fp.FilePath, pathParts);;
1283
- bool include;
1284
- if (!wildcardCensor.CheckPathVect(pathParts, !fp.IsDir, include))
1285
- continue;
1286
- if (!include)
1287
- continue;
1288
- }
1289
- }
1290
-
1291
- CListStat st;
1292
-
1293
- RINOK(GetUInt64Value(archive, i, kpidSize, st.Size));
1294
- RINOK(GetUInt64Value(archive, i, kpidPackSize, st.PackSize));
1295
- RINOK(GetItemMTime(archive, i, st.MTime));
1296
-
1297
- if (fp.IsDir)
1298
- stat2.NumDirs++;
1299
- else
1300
- st.NumFiles = 1;
1301
- stat2.GetStat(isAltStream).Update(st);
1302
-
1303
- if (isAltStream && !showAltStreams)
1304
- continue;
1305
- RINOK(fp.PrintItemInfo(i, st));
1306
- }
1307
-
1308
- UInt64 numStreams = stat2.GetNumStreams();
1309
- if (!stdInMode
1310
- && !stat2.MainFiles.PackSize.Def
1311
- && !stat2.AltStreams.PackSize.Def)
1312
- {
1313
- if (arcLink.VolumePaths.Size() != 0)
1314
- arcPackSize += arcLink.VolumesSize;
1315
- stat2.MainFiles.PackSize.Add((numStreams == 0) ? 0 : arcPackSize);
1316
- }
1317
-
1318
- stat2.MainFiles.SetSizeDefIfNoFiles();
1319
- stat2.AltStreams.SetSizeDefIfNoFiles();
1320
-
1321
- if (enableHeaders && !techMode)
1322
- {
1323
- fp.PrintTitleLines();
1324
- g_StdOut << endl;
1325
- fp.PrintSum(stat2);
1326
- }
1327
-
1328
- if (enableHeaders)
1329
- {
1330
- if (arcLink.NonOpen_ErrorInfo.ErrorFormatIndex >= 0)
1331
- {
1332
- g_StdOut << "----------\n";
1333
- PrintPropPair(g_StdOut, "Path", arcLink.NonOpen_ArcPath, false);
1334
- PrintArcTypeError(g_StdOut, codecs->Formats[arcLink.NonOpen_ErrorInfo.ErrorFormatIndex].Name, false);
1335
- }
1336
- }
1337
-
1338
- stat2total.Update(stat2);
1339
-
1340
- g_StdOut.Flush();
1341
- }
1342
-
1343
- if (enableHeaders && !techMode && (arcPaths.Size() > 1 || numVolumes > 1))
1344
- {
1345
- g_StdOut << endl;
1346
- fp.PrintTitleLines();
1347
- g_StdOut << endl;
1348
- fp.PrintSum(stat2total);
1349
- g_StdOut << endl;
1350
- PrintPropNameAndNumber(g_StdOut, "Archives", numArcs);
1351
- PrintPropNameAndNumber(g_StdOut, "Volumes", numVolumes);
1352
- PrintPropNameAndNumber(g_StdOut, "Total archives size", totalArcSizes);
1353
- }
1354
-
1355
- if (numErrors == 1 && lastError != 0)
1356
- return lastError;
1357
-
1358
- return S_OK;
1359
- }