react-native-update 10.34.2 → 10.34.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitmodules +4 -4
- package/harmony/pushy/src/main/cpp/HDiffPatch/CHANGELOG.md +153 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/LICENSE +48 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/Makefile +157 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/README.md +307 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/_atosize.h +83 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/_clock_for_demo.h +47 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/_dir_ignore.h +191 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/Android.mk +37 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/Application.mk +7 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs.bat +1 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/build_libs.sh +1 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch.c +18 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch.h +20 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/hpatch_jni.c +28 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/android_ndk_jni_mk/java/com/github/sisong/HPatch.java +8 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/codeblocks/HDiffPatch.workspace +8 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/codeblocks/HDiffZ.cbp +219 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/codeblocks/HPatchZ.cbp +156 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/codeblocks/unitTest.cbp +65 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HDiffPatch.sln +105 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HDiffZ.vcxproj +237 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HDiffZ.vcxproj.user +3 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HPatchZ.vcxproj +318 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/HPatchZ.vcxproj.user +3 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/unitTest.vcxproj +182 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/vc/unitTest.vcxproj.user +3 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/HDiffPatch.xcworkspace/contents.xcworkspacedata +30 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/HDiffPatch.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/bestParams.xcodeproj/project.pbxproj +408 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/hdiffz.xcodeproj/project.pbxproj +573 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/hpatchz.xcodeproj/project.pbxproj +396 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/lz4.xcodeproj/project.pbxproj +268 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/lzma.xcodeproj/project.pbxproj +361 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/testHashClash.xcodeproj/project.pbxproj +301 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/unitTest.xcodeproj/project.pbxproj +411 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/builds/xcode/zstd.xcodeproj/project.pbxproj +504 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/checksum_plugin_demo.h +344 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/compress_parallel.cpp +166 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/compress_parallel.h +59 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/compress_plugin_demo.h +1152 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/decompress_plugin_demo.h +995 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff.cpp +797 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff.h +65 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff_tools.cpp +200 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_diff_tools.h +178 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_manifest.cpp +357 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/dir_manifest.h +87 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_diff/file_for_dirDiff.h +151 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch.c +770 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch.h +236 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_private.h +47 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_tools.c +112 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_tools.h +53 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/dir_patch_types.h +61 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_dir_output.c +331 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_dir_output.h +144 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_stream.c +176 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/new_stream.h +84 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/ref_stream.c +146 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/ref_stream.h +61 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/res_handle_limit.c +152 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/dirDiffPatch/dir_patch/res_handle_limit.h +76 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/file_for_patch.c +524 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/file_for_patch.h +259 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/hdiffz.cpp +1570 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/hpatch_dir_listener.h +290 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/hpatchz.c +1221 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff.cpp +1025 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff.h +116 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/diff_types.h +72 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/bytes_rle.cpp +213 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/bytes_rle.h +63 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/compress_detect.cpp +170 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/compress_detect.h +86 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/config.h +89 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.c +13 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.c.inc.h +398 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort.h +194 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort64.c +13 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort64.h +204 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/divsufsort_private.h +207 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/sssort.c.inc.h +815 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/trsort.c.inc.h +586 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/libdivsufsort/utils.c.inc.h +381 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/adler_roll.c +352 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/adler_roll.h +137 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/bloom_filter.h +137 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/covers.h +70 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/digest_matcher.cpp +628 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/digest_matcher.h +87 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.cpp +363 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.h +139 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/mem_buf.h +68 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/pack_uint.h +115 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/suffix_string.cpp +342 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HDiff/private_diff/suffix_string.h +94 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/checksum_plugin.h +52 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch.c +2292 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch.h +215 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch_private.h +165 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libHDiffPatch/HPatch/patch_types.h +251 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_channel.cpp +174 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_channel.h +73 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_import.cpp +367 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/libParallel/parallel_import.h +92 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/_private_searchBestParams.cpp +301 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/hpatchz_test.cpp +292 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/testHashClash.cpp +436 -0
- package/harmony/pushy/src/main/cpp/HDiffPatch/test/unit_test.cpp +417 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/arm/7zCrcOpt.asm +100 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/7zAsm.asm +147 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/7zCrcOpt.asm +147 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/AesOpt.asm +237 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/LzmaDecOpt.asm +1258 -0
- package/harmony/pushy/src/main/cpp/lzma/Asm/x86/XzCrc64Opt.asm +205 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7z.h +202 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zAlloc.c +80 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zAlloc.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zArcIn.c +1771 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zBuf.c +36 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zBuf.h +35 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zBuf2.c +52 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zCrc.c +128 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zCrc.h +25 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zCrcOpt.c +115 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zDec.c +591 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zFile.c +286 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zFile.h +83 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zStream.c +176 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zTypes.h +375 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zVersion.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/C/7zVersion.rc +55 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Aes.c +306 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Aes.h +38 -0
- package/harmony/pushy/src/main/cpp/lzma/C/AesOpt.c +184 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Alloc.c +455 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Alloc.h +51 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bcj2.c +257 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bcj2.h +146 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bcj2Enc.c +311 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bra.c +230 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bra.h +64 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Bra86.c +82 -0
- package/harmony/pushy/src/main/cpp/lzma/C/BraIA64.c +53 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Compiler.h +33 -0
- package/harmony/pushy/src/main/cpp/lzma/C/CpuArch.c +218 -0
- package/harmony/pushy/src/main/cpp/lzma/C/CpuArch.h +336 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Delta.c +64 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Delta.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/C/DllSecur.c +108 -0
- package/harmony/pushy/src/main/cpp/lzma/C/DllSecur.h +20 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzFind.c +1127 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzFind.h +121 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzFindMt.c +853 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzFindMt.h +101 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzHash.h +57 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Dec.c +488 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Dec.h +120 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2DecMt.c +1082 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2DecMt.h +79 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Enc.c +803 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma2Enc.h +55 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma86.h +111 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma86Dec.c +54 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Lzma86Enc.c +106 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaDec.c +1185 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaDec.h +234 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaEnc.c +2976 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaEnc.h +76 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaLib.c +40 -0
- package/harmony/pushy/src/main/cpp/lzma/C/LzmaLib.h +131 -0
- package/harmony/pushy/src/main/cpp/lzma/C/MtCoder.c +601 -0
- package/harmony/pushy/src/main/cpp/lzma/C/MtCoder.h +141 -0
- package/harmony/pushy/src/main/cpp/lzma/C/MtDec.c +1138 -0
- package/harmony/pushy/src/main/cpp/lzma/C/MtDec.h +201 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd.h +85 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7.c +712 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7.h +142 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7Dec.c +191 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Ppmd7Enc.c +187 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Precomp.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/C/RotateDefs.h +30 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Sha256.c +248 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Sha256.h +26 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Sort.c +141 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Sort.h +18 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Threads.c +95 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Threads.h +70 -0
- package/harmony/pushy/src/main/cpp/lzma/C/ThreadsP.c +396 -0
- package/harmony/pushy/src/main/cpp/lzma/C/ThreadsP.h +31 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/7z.dsp +241 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/7z.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/7zMain.c +686 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/Precomp.c +4 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/Precomp.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/makefile +40 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/7z/makefile.gcc +75 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.c +258 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.dsp +168 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/LzmaUtil.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/makefile +28 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/Lzma/makefile.gcc +44 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.def +4 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.dsp +178 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLib.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/LzmaLibExports.c +14 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/makefile +34 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/LzmaLib/resource.rc +3 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/Precomp.c +4 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/Precomp.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.c +640 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.dsp +231 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/SfxSetup.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/makefile +37 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/makefile_con +38 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/resource.rc +5 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Util/SfxSetup/setup.ico +0 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Xz.c +90 -0
- package/harmony/pushy/src/main/cpp/lzma/C/Xz.h +460 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzCrc64.c +86 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzCrc64.h +26 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzCrc64Opt.c +69 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzDec.c +2766 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzEnc.c +1329 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzEnc.h +60 -0
- package/harmony/pushy/src/main/cpp/lzma/C/XzIn.c +319 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/7zip.mak +240 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Aes.mak +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zCompressionMode.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zCompressionMode.h +76 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zDecode.cpp +569 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zDecode.h +70 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zEncode.cpp +678 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zEncode.h +92 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zExtract.cpp +423 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zFolderInStream.cpp +139 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zFolderInStream.h +61 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandler.cpp +763 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandler.h +181 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHandlerOut.cpp +942 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHeader.cpp +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zHeader.h +148 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zIn.cpp +1666 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zIn.h +445 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zItem.h +202 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zOut.cpp +901 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zOut.h +335 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zProperties.cpp +174 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zProperties.h +22 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zRegister.cpp +21 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zSpecStream.cpp +22 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zSpecStream.h +35 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zUpdate.cpp +2500 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/7zUpdate.h +139 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/7z/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Archive.def +12 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Archive2.def +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/ArchiveExports.cpp +151 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/CoderMixer2.cpp +1125 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/CoderMixer2.h +447 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/DummyOutStream.cpp +17 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/DummyOutStream.h +25 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/HandlerOut.cpp +232 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/HandlerOut.h +110 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/InStreamWithCRC.cpp +46 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/InStreamWithCRC.h +67 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ItemNameUtils.cpp +88 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ItemNameUtils.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/MultiStream.cpp +191 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/MultiStream.h +89 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.cpp +18 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/OutStreamWithCRC.h +37 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ParseProperties.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/ParseProperties.h +6 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Common/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/DllExports2.cpp +122 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/IArchive.h +608 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/Icons/7z.ico +0 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/LzmaHandler.cpp +629 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/SplitHandler.cpp +359 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/XzHandler.cpp +1308 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Archive/XzHandler.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Asm.mak +9 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/Alone.dsp +1910 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/Alone.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/makefile +154 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Alone7z/resource.rc +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/makefile +96 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zExtractR/resource.rc +5 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/makefile +116 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/Format7zR/resource.rc +5 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaAlone.cpp +799 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaCon.dsp +477 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/LzmaCon.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/makefile +59 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/makefile.gcc +195 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaCon/resource.rc +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/LzmaSpec/LzmaSpec.cpp +715 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/7z.ico +0 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SFXCon.dsp +912 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SFXCon.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/SfxCon.cpp +482 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/makefile +134 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXCon/resource.rc +5 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractCallbackSfx.cpp +246 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractCallbackSfx.h +86 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractEngine.cpp +137 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/ExtractEngine.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SFXSetup.dsp +803 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SFXSetup.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/SfxSetup.cpp +364 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/StdAfx.h +13 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/makefile +117 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/resource.h +6 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/resource.rc +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXSetup/setup.ico +0 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/7z.ico +0 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SFXWin.dsp +988 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SFXWin.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/SfxWin.cpp +241 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/StdAfx.h +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/makefile +153 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/resource.h +1 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Bundles/SFXWin/resource.rc +50 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CWrappers.cpp +250 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CWrappers.h +120 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CreateCoder.cpp +536 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/CreateCoder.h +192 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilePathAutoRename.cpp +46 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilePathAutoRename.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FileStreams.cpp +475 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FileStreams.h +166 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilterCoder.cpp +435 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/FilterCoder.h +205 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InBuffer.cpp +163 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InBuffer.h +92 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InOutTempBuffer.cpp +127 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/InOutTempBuffer.h +48 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LimitedStreams.cpp +367 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LimitedStreams.h +252 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LockedStream.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/LockedStream.h +6 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodId.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodId.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodProps.cpp +509 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/MethodProps.h +264 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OffsetStream.cpp +39 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OffsetStream.h +26 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OutBuffer.cpp +111 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/OutBuffer.h +66 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/ProgressUtils.cpp +51 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/ProgressUtils.h +35 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/PropId.cpp +108 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/RegisterArc.h +78 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/RegisterCodec.h +106 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamBinder.cpp +156 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamBinder.h +60 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamObjects.cpp +285 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamObjects.h +157 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamUtils.cpp +56 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/StreamUtils.h +13 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/UniqBlocks.cpp +57 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/UniqBlocks.h +26 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/VirtThread.cpp +48 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Common/VirtThread.h +24 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Coder.cpp +666 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Coder.h +120 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Bcj2Register.cpp +24 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BcjCoder.cpp +24 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BcjCoder.h +31 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BcjRegister.cpp +17 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BranchMisc.cpp +23 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BranchMisc.h +35 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/BranchRegister.cpp +41 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/ByteSwap.cpp +92 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CodecExports.cpp +344 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CopyCoder.cpp +120 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CopyCoder.h +49 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/CopyRegister.cpp +15 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/DeltaFilter.cpp +128 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Decoder.cpp +265 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Decoder.h +96 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Encoder.cpp +122 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Encoder.h +42 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/Lzma2Register.cpp +22 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaDecoder.cpp +343 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaDecoder.h +113 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaEncoder.cpp +182 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaEncoder.h +46 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/LzmaRegister.cpp +22 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdDecoder.cpp +170 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdDecoder.h +86 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdEncoder.cpp +152 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdEncoder.h +58 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/PpmdRegister.cpp +22 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzDecoder.cpp +150 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzDecoder.h +92 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzEncoder.cpp +245 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Compress/XzEncoder.h +46 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crc.mak +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crc64.mak +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/7zAes.cpp +280 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/7zAes.h +118 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/7zAesRegister.cpp +17 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/MyAes.cpp +112 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/MyAes.h +57 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/MyAesReg.cpp +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/RandGen.cpp +233 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/RandGen.h +40 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Crypto/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/GuiCommon.rc +84 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/Guid.txt +220 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/ICoder.h +399 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IDecl.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IPassword.h +23 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IProgress.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/IStream.h +127 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/LzmaDec.mak +5 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/MyVersion.h +2 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/MyVersionInfo.rc +2 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/PropID.h +127 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/SubBuild.mak +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.cpp +993 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.dsp +235 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/Client7z.dsw +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/makefile +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Client7z/resource.rc +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveCommandLine.cpp +1295 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveCommandLine.h +136 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp +1715 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveExtractCallback.h +403 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveName.cpp +155 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveName.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveOpenCallback.cpp +161 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ArchiveOpenCallback.h +112 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Bench.cpp +3618 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Bench.h +77 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/DefaultName.cpp +37 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/DefaultName.h +11 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/DirItem.h +190 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/EnumDirItems.cpp +1096 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/EnumDirItems.h +42 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExitCode.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Extract.cpp +482 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Extract.h +94 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractMode.h +34 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractingFilePath.cpp +280 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ExtractingFilePath.h +31 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/HashCalc.cpp +347 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/HashCalc.h +110 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/IFileExtractCallback.h +114 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/LoadCodecs.cpp +1074 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/LoadCodecs.h +424 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/OpenArchive.cpp +3553 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/OpenArchive.h +436 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/PropIDUtils.cpp +668 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/PropIDUtils.h +18 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Property.h +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SetProperties.cpp +80 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SetProperties.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SortUtils.cpp +25 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/SortUtils.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/TempFiles.cpp +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/TempFiles.h +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Update.cpp +1704 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/Update.h +200 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateAction.cpp +64 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateAction.h +66 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateCallback.cpp +771 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateCallback.h +162 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdatePair.cpp +233 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdatePair.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateProduce.cpp +70 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/UpdateProduce.h +55 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/WorkDir.cpp +94 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/WorkDir.h +26 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Common/ZipRegistry.h +130 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/BenchCon.cpp +41 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/BenchCon.h +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/Console.mak +43 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/Console.manifest +13 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ConsoleClose.cpp +69 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ConsoleClose.h +33 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp +825 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/ExtractCallbackConsole.h +164 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/HashCon.cpp +367 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/HashCon.h +48 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/List.cpp +1359 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/List.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/Main.cpp +1154 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/MainAr.cpp +175 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/OpenCallbackConsole.cpp +115 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/OpenCallbackConsole.h +66 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/PercentPrinter.cpp +183 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/PercentPrinter.h +62 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/StdAfx.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp +702 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UpdateCallbackConsole.h +124 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UserInputUtils.cpp +110 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/UserInputUtils.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/makefile +64 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Console/resource.rc +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Explorer/MyMessages.cpp +37 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/Explorer/MyMessages.h +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialog.cpp +1025 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialog.h +21 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/BrowseDialogRes.h +9 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialog.cpp +64 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialog.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ComboDialogRes.h +4 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/DialogSize.h +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ExtractCallback.cpp +1037 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ExtractCallback.h +328 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/FormatUtils.cpp +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/FormatUtils.h +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/LangUtils.h +40 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/MyWindowsNew.h +76 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.cpp +122 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.h +69 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialog.rc +91 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/OverwriteDialogRes.h +17 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.cpp +58 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialog.rc +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PasswordDialogRes.h +5 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.cpp +196 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.h +170 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog.rc +12 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.cpp +1337 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.h +351 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2.rc +40 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2Res.h +48 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialog2a.rc +80 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/ProgressDialogRes.h +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyName.cpp +23 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyName.h +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/PropertyNameRes.h +95 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/SysIconUtils.cpp +255 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/SysIconUtils.h +62 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/resource.h +177 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/FileManager/resourceGui.h +15 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/Extract.rc +59 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.cpp +418 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.h +113 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialog.rc +98 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractDialogRes.h +24 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractGUI.cpp +280 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractGUI.h +38 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/ExtractRes.h +51 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/HashGUI.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/7zip/UI/GUI/resource2.h +2 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Build.mak +156 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/AutoPtr.h +35 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CRC.cpp +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/C_FileIO.cpp +92 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/C_FileIO.h +53 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/ComTry.h +21 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CommandLineParser.cpp +197 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CommandLineParser.h +63 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Common.h +43 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/CrcReg.cpp +98 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Defs.h +15 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/DynamicBuffer.h +64 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/IntToString.cpp +193 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/IntToString.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Lang.h +23 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/ListFileUtils.cpp +132 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/ListFileUtils.h +18 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyBuffer.h +259 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyBuffer2.h +100 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyCom.h +277 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyException.h +14 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyGuidDef.h +54 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyInitGuid.h +45 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyLinux.h +42 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyString.cpp +1659 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyString.h +868 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyTypes.h +35 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyUnknown.h +17 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyVector.cpp +3 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyVector.h +634 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyWindows.cpp +145 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/MyWindows.h +231 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/NewHandler.cpp +163 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/NewHandler.h +88 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Sha256Reg.cpp +40 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdInStream.cpp +89 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdInStream.h +38 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdOutStream.cpp +163 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StdOutStream.h +71 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringConvert.cpp +319 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringConvert.h +88 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringToInt.cpp +144 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/StringToInt.h +21 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/TextConfig.cpp +124 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/TextConfig.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/UTFConvert.cpp +288 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/UTFConvert.h +12 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Wildcard.cpp +676 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/Wildcard.h +149 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/XzCrc64Init.cpp +7 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Common/XzCrc64Reg.cpp +42 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/COM.h +70 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/CommonDialog.cpp +185 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/CommonDialog.h +23 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ComboBox.cpp +66 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ComboBox.h +65 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/CommandBar.h +52 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Dialog.cpp +251 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Dialog.h +170 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Edit.h +19 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ImageList.cpp +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ImageList.h +87 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ListView.cpp +155 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ListView.h +146 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ProgressBar.h +35 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/PropertyPage.cpp +143 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/PropertyPage.h +50 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ReBar.h +34 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Static.h +28 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/StatusBar.h +42 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/ToolBar.h +43 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Trackbar.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Window2.cpp +200 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Control/Window2.h +51 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/DLL.cpp +109 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/DLL.h +58 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Defs.h +17 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ErrorMsg.cpp +66 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ErrorMsg.h +15 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileDir.cpp +714 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileDir.h +117 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileFind.cpp +749 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileFind.h +161 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileIO.cpp +432 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileIO.h +212 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileLink.cpp +440 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileMapping.cpp +12 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileMapping.h +66 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileName.cpp +839 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileName.h +115 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileSystem.cpp +131 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/FileSystem.h +27 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Handle.h +37 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/MemoryLock.cpp +112 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/MemoryLock.h +40 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/NtCheck.h +46 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariant.cpp +347 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariant.h +114 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariantConv.cpp +138 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/PropVariantConv.h +37 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Registry.cpp +390 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Registry.h +84 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ResourceString.cpp +103 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/ResourceString.h +16 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/SecurityUtils.cpp +181 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/SecurityUtils.h +167 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Shell.cpp +358 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Shell.h +94 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/StdAfx.h +8 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Synchronization.cpp +10 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Synchronization.h +164 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/System.cpp +142 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/System.h +40 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Thread.h +38 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/TimeUtils.cpp +213 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/TimeUtils.h +32 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Window.cpp +179 -0
- package/harmony/pushy/src/main/cpp/lzma/CPP/Windows/Window.h +284 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Common/CRC.cs +55 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Common/CommandLineParser.cs +274 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Common/InBuffer.cs +72 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Common/OutBuffer.cs +47 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZ/IMatchFinder.cs +24 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzBinTree.cs +367 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzInWindow.cs +132 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZ/LzOutWindow.cs +110 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaBase.cs +76 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaDecoder.cs +398 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LZMA/LzmaEncoder.cs +1480 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.cs +364 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.csproj +90 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaAlone.sln +20 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/LzmaBench.cs +340 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/AssemblyInfo.cs +29 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/Resources.cs +70 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/LzmaAlone/Properties/Settings.cs +42 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoder.cs +234 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoderBit.cs +117 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/Compress/RangeCoder/RangeCoderBitTree.cs +157 -0
- package/harmony/pushy/src/main/cpp/lzma/CS/7zip/ICoder.cs +157 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/7zC.txt +187 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/7zFormat.txt +469 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/Methods.txt +173 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/installer.txt +166 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma-history.txt +446 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma-sdk.txt +357 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma-specification.txt +1176 -0
- package/harmony/pushy/src/main/cpp/lzma/DOC/lzma.txt +328 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/CRC.java +52 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/BinTree.java +382 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/InWindow.java +131 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZ/OutWindow.java +85 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Base.java +88 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Decoder.java +329 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/LZMA/Encoder.java +1416 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/BitTreeDecoder.java +55 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/BitTreeEncoder.java +99 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/Decoder.java +88 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/Compression/RangeCoder/Encoder.java +151 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/ICodeProgress.java +6 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/LzmaAlone.java +253 -0
- package/harmony/pushy/src/main/cpp/lzma/Java/SevenZip/LzmaBench.java +392 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/7zS2.sfx +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/7zS2con.sfx +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/7zSD.sfx +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/7zdec.exe +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/7zr.exe +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/installer/config.txt +5 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/installer/cr.bat +5 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/lzma.exe +0 -0
- package/harmony/pushy/src/main/cpp/lzma/bin/x64/7zr.exe +0 -0
- package/package.json +1 -1
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
// Windows/Control/Dialog.cpp
|
|
2
|
+
|
|
3
|
+
#include "StdAfx.h"
|
|
4
|
+
|
|
5
|
+
#ifndef _UNICODE
|
|
6
|
+
#include "../../Common/StringConvert.h"
|
|
7
|
+
#endif
|
|
8
|
+
|
|
9
|
+
#include "Dialog.h"
|
|
10
|
+
|
|
11
|
+
extern HINSTANCE g_hInstance;
|
|
12
|
+
#ifndef _UNICODE
|
|
13
|
+
extern bool g_IsNT;
|
|
14
|
+
#endif
|
|
15
|
+
|
|
16
|
+
namespace NWindows {
|
|
17
|
+
namespace NControl {
|
|
18
|
+
|
|
19
|
+
static INT_PTR APIENTRY DialogProcedure(HWND dialogHWND, UINT message, WPARAM wParam, LPARAM lParam)
|
|
20
|
+
{
|
|
21
|
+
CWindow tempDialog(dialogHWND);
|
|
22
|
+
if (message == WM_INITDIALOG)
|
|
23
|
+
tempDialog.SetUserDataLongPtr(lParam);
|
|
24
|
+
CDialog *dialog = (CDialog *)(tempDialog.GetUserDataLongPtr());
|
|
25
|
+
if (dialog == NULL)
|
|
26
|
+
return FALSE;
|
|
27
|
+
if (message == WM_INITDIALOG)
|
|
28
|
+
dialog->Attach(dialogHWND);
|
|
29
|
+
try { return BoolToBOOL(dialog->OnMessage(message, wParam, lParam)); }
|
|
30
|
+
catch(...) { return TRUE; }
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
bool CDialog::OnMessage(UINT message, WPARAM wParam, LPARAM lParam)
|
|
34
|
+
{
|
|
35
|
+
switch (message)
|
|
36
|
+
{
|
|
37
|
+
case WM_INITDIALOG: return OnInit();
|
|
38
|
+
case WM_COMMAND: return OnCommand(wParam, lParam);
|
|
39
|
+
case WM_NOTIFY: return OnNotify((UINT)wParam, (LPNMHDR) lParam);
|
|
40
|
+
case WM_TIMER: return OnTimer(wParam, lParam);
|
|
41
|
+
case WM_SIZE: return OnSize(wParam, LOWORD(lParam), HIWORD(lParam));
|
|
42
|
+
case WM_HELP: OnHelp(); return true;
|
|
43
|
+
/*
|
|
44
|
+
OnHelp(
|
|
45
|
+
#ifdef UNDER_CE
|
|
46
|
+
(void *)
|
|
47
|
+
#else
|
|
48
|
+
(LPHELPINFO)
|
|
49
|
+
#endif
|
|
50
|
+
lParam);
|
|
51
|
+
return true;
|
|
52
|
+
*/
|
|
53
|
+
default: return false;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
bool CDialog::OnCommand(WPARAM wParam, LPARAM lParam)
|
|
58
|
+
{
|
|
59
|
+
return OnCommand(HIWORD(wParam), LOWORD(wParam), lParam);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
bool CDialog::OnCommand(int code, int itemID, LPARAM lParam)
|
|
63
|
+
{
|
|
64
|
+
if (code == BN_CLICKED)
|
|
65
|
+
return OnButtonClicked(itemID, (HWND)lParam);
|
|
66
|
+
return false;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
bool CDialog::OnButtonClicked(int buttonID, HWND /* buttonHWND */)
|
|
70
|
+
{
|
|
71
|
+
switch (buttonID)
|
|
72
|
+
{
|
|
73
|
+
case IDOK: OnOK(); break;
|
|
74
|
+
case IDCANCEL: OnCancel(); break;
|
|
75
|
+
case IDCLOSE: OnClose(); break;
|
|
76
|
+
case IDHELP: OnHelp(); break;
|
|
77
|
+
default: return false;
|
|
78
|
+
}
|
|
79
|
+
return true;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
static bool GetWorkAreaRect(RECT *rect)
|
|
83
|
+
{
|
|
84
|
+
// use another function for multi-monitor.
|
|
85
|
+
return BOOLToBool(::SystemParametersInfo(SPI_GETWORKAREA, 0, rect, 0));
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
bool IsDialogSizeOK(int xSize, int ySize)
|
|
89
|
+
{
|
|
90
|
+
// it returns for system font. Real font uses another values
|
|
91
|
+
LONG v = GetDialogBaseUnits();
|
|
92
|
+
int x = LOWORD(v);
|
|
93
|
+
int y = HIWORD(v);
|
|
94
|
+
|
|
95
|
+
RECT rect;
|
|
96
|
+
GetWorkAreaRect(&rect);
|
|
97
|
+
int wx = RECT_SIZE_X(rect);
|
|
98
|
+
int wy = RECT_SIZE_Y(rect);
|
|
99
|
+
return
|
|
100
|
+
xSize / 4 * x <= wx &&
|
|
101
|
+
ySize / 8 * y <= wy;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
bool CDialog::GetMargins(int margin, int &x, int &y)
|
|
105
|
+
{
|
|
106
|
+
x = margin;
|
|
107
|
+
y = margin;
|
|
108
|
+
RECT rect;
|
|
109
|
+
rect.left = 0;
|
|
110
|
+
rect.top = 0;
|
|
111
|
+
rect.right = margin;
|
|
112
|
+
rect.bottom = margin;
|
|
113
|
+
if (!MapRect(&rect))
|
|
114
|
+
return false;
|
|
115
|
+
x = rect.right - rect.left;
|
|
116
|
+
y = rect.bottom - rect.top;
|
|
117
|
+
return true;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
int CDialog::Units_To_Pixels_X(int units)
|
|
121
|
+
{
|
|
122
|
+
RECT rect;
|
|
123
|
+
rect.left = 0;
|
|
124
|
+
rect.top = 0;
|
|
125
|
+
rect.right = units;
|
|
126
|
+
rect.bottom = units;
|
|
127
|
+
if (!MapRect(&rect))
|
|
128
|
+
return units * 3 / 2;
|
|
129
|
+
return rect.right - rect.left;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
bool CDialog::GetItemSizes(int id, int &x, int &y)
|
|
133
|
+
{
|
|
134
|
+
RECT rect;
|
|
135
|
+
if (!::GetWindowRect(GetItem(id), &rect))
|
|
136
|
+
return false;
|
|
137
|
+
x = RECT_SIZE_X(rect);
|
|
138
|
+
y = RECT_SIZE_Y(rect);
|
|
139
|
+
return true;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
void CDialog::GetClientRectOfItem(int id, RECT &rect)
|
|
143
|
+
{
|
|
144
|
+
::GetWindowRect(GetItem(id), &rect);
|
|
145
|
+
ScreenToClient(&rect);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
bool CDialog::MoveItem(int id, int x, int y, int width, int height, bool repaint)
|
|
149
|
+
{
|
|
150
|
+
return BOOLToBool(::MoveWindow(GetItem(id), x, y, width, height, BoolToBOOL(repaint)));
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
void CDialog::NormalizeSize(bool fullNormalize)
|
|
154
|
+
{
|
|
155
|
+
RECT workRect;
|
|
156
|
+
GetWorkAreaRect(&workRect);
|
|
157
|
+
int xSize = RECT_SIZE_X(workRect);
|
|
158
|
+
int ySize = RECT_SIZE_Y(workRect);
|
|
159
|
+
RECT rect;
|
|
160
|
+
GetWindowRect(&rect);
|
|
161
|
+
int xSize2 = RECT_SIZE_X(rect);
|
|
162
|
+
int ySize2 = RECT_SIZE_Y(rect);
|
|
163
|
+
bool needMove = (xSize2 > xSize || ySize2 > ySize);
|
|
164
|
+
if (xSize2 > xSize || (needMove && fullNormalize))
|
|
165
|
+
{
|
|
166
|
+
rect.left = workRect.left;
|
|
167
|
+
rect.right = workRect.right;
|
|
168
|
+
xSize2 = xSize;
|
|
169
|
+
}
|
|
170
|
+
if (ySize2 > ySize || (needMove && fullNormalize))
|
|
171
|
+
{
|
|
172
|
+
rect.top = workRect.top;
|
|
173
|
+
rect.bottom = workRect.bottom;
|
|
174
|
+
ySize2 = ySize;
|
|
175
|
+
}
|
|
176
|
+
if (needMove)
|
|
177
|
+
{
|
|
178
|
+
if (fullNormalize)
|
|
179
|
+
Show(SW_SHOWMAXIMIZED);
|
|
180
|
+
else
|
|
181
|
+
Move(rect.left, rect.top, xSize2, ySize2, true);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
void CDialog::NormalizePosition()
|
|
186
|
+
{
|
|
187
|
+
RECT workRect, rect;
|
|
188
|
+
GetWorkAreaRect(&workRect);
|
|
189
|
+
GetWindowRect(&rect);
|
|
190
|
+
if (rect.bottom > workRect.bottom && rect.top > workRect.top)
|
|
191
|
+
Move(rect.left, workRect.top, RECT_SIZE_X(rect), RECT_SIZE_Y(rect), true);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
bool CModelessDialog::Create(LPCTSTR templateName, HWND parentWindow)
|
|
195
|
+
{
|
|
196
|
+
HWND aHWND = CreateDialogParam(g_hInstance, templateName, parentWindow, DialogProcedure, (LPARAM)this);
|
|
197
|
+
if (aHWND == 0)
|
|
198
|
+
return false;
|
|
199
|
+
Attach(aHWND);
|
|
200
|
+
return true;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
INT_PTR CModalDialog::Create(LPCTSTR templateName, HWND parentWindow)
|
|
204
|
+
{
|
|
205
|
+
return DialogBoxParam(g_hInstance, templateName, parentWindow, DialogProcedure, (LPARAM)this);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
#ifndef _UNICODE
|
|
209
|
+
|
|
210
|
+
bool CModelessDialog::Create(LPCWSTR templateName, HWND parentWindow)
|
|
211
|
+
{
|
|
212
|
+
HWND aHWND;
|
|
213
|
+
if (g_IsNT)
|
|
214
|
+
aHWND = CreateDialogParamW(g_hInstance, templateName, parentWindow, DialogProcedure, (LPARAM)this);
|
|
215
|
+
else
|
|
216
|
+
{
|
|
217
|
+
AString name;
|
|
218
|
+
LPCSTR templateNameA;
|
|
219
|
+
if (IS_INTRESOURCE(templateName))
|
|
220
|
+
templateNameA = (LPCSTR)templateName;
|
|
221
|
+
else
|
|
222
|
+
{
|
|
223
|
+
name = GetSystemString(templateName);
|
|
224
|
+
templateNameA = name;
|
|
225
|
+
}
|
|
226
|
+
aHWND = CreateDialogParamA(g_hInstance, templateNameA, parentWindow, DialogProcedure, (LPARAM)this);
|
|
227
|
+
}
|
|
228
|
+
if (aHWND == 0)
|
|
229
|
+
return false;
|
|
230
|
+
Attach(aHWND);
|
|
231
|
+
return true;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
INT_PTR CModalDialog::Create(LPCWSTR templateName, HWND parentWindow)
|
|
235
|
+
{
|
|
236
|
+
if (g_IsNT)
|
|
237
|
+
return DialogBoxParamW(g_hInstance, templateName, parentWindow, DialogProcedure, (LPARAM)this);
|
|
238
|
+
AString name;
|
|
239
|
+
LPCSTR templateNameA;
|
|
240
|
+
if (IS_INTRESOURCE(templateName))
|
|
241
|
+
templateNameA = (LPCSTR)templateName;
|
|
242
|
+
else
|
|
243
|
+
{
|
|
244
|
+
name = GetSystemString(templateName);
|
|
245
|
+
templateNameA = name;
|
|
246
|
+
}
|
|
247
|
+
return DialogBoxParamA(g_hInstance, templateNameA, parentWindow, DialogProcedure, (LPARAM)this);
|
|
248
|
+
}
|
|
249
|
+
#endif
|
|
250
|
+
|
|
251
|
+
}}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
// Windows/Control/Dialog.h
|
|
2
|
+
|
|
3
|
+
#ifndef __WINDOWS_CONTROL_DIALOG_H
|
|
4
|
+
#define __WINDOWS_CONTROL_DIALOG_H
|
|
5
|
+
|
|
6
|
+
#include "../Window.h"
|
|
7
|
+
|
|
8
|
+
namespace NWindows {
|
|
9
|
+
namespace NControl {
|
|
10
|
+
|
|
11
|
+
class CDialog: public CWindow
|
|
12
|
+
{
|
|
13
|
+
public:
|
|
14
|
+
CDialog(HWND wnd = NULL): CWindow(wnd){};
|
|
15
|
+
virtual ~CDialog() {};
|
|
16
|
+
|
|
17
|
+
HWND GetItem(int itemID) const
|
|
18
|
+
{ return GetDlgItem(_window, itemID); }
|
|
19
|
+
|
|
20
|
+
bool EnableItem(int itemID, bool enable) const
|
|
21
|
+
{ return BOOLToBool(::EnableWindow(GetItem(itemID), BoolToBOOL(enable))); }
|
|
22
|
+
|
|
23
|
+
bool ShowItem(int itemID, int cmdShow) const
|
|
24
|
+
{ return BOOLToBool(::ShowWindow(GetItem(itemID), cmdShow)); }
|
|
25
|
+
|
|
26
|
+
bool ShowItem_Bool(int itemID, bool show) const
|
|
27
|
+
{ return ShowItem(itemID, show ? SW_SHOW: SW_HIDE); }
|
|
28
|
+
|
|
29
|
+
bool HideItem(int itemID) const { return ShowItem(itemID, SW_HIDE); }
|
|
30
|
+
|
|
31
|
+
bool SetItemText(int itemID, LPCTSTR s)
|
|
32
|
+
{ return BOOLToBool(SetDlgItemText(_window, itemID, s)); }
|
|
33
|
+
|
|
34
|
+
#ifndef _UNICODE
|
|
35
|
+
bool SetItemText(int itemID, LPCWSTR s)
|
|
36
|
+
{
|
|
37
|
+
CWindow window(GetItem(itemID));
|
|
38
|
+
return window.SetText(s);
|
|
39
|
+
}
|
|
40
|
+
#endif
|
|
41
|
+
|
|
42
|
+
UINT GetItemText(int itemID, LPTSTR string, int maxCount)
|
|
43
|
+
{ return GetDlgItemText(_window, itemID, string, maxCount); }
|
|
44
|
+
#ifndef _UNICODE
|
|
45
|
+
/*
|
|
46
|
+
bool GetItemText(int itemID, LPWSTR string, int maxCount)
|
|
47
|
+
{
|
|
48
|
+
CWindow window(GetItem(itemID));
|
|
49
|
+
return window.GetText(string, maxCount);
|
|
50
|
+
}
|
|
51
|
+
*/
|
|
52
|
+
#endif
|
|
53
|
+
|
|
54
|
+
bool SetItemInt(int itemID, UINT value, bool isSigned)
|
|
55
|
+
{ return BOOLToBool(SetDlgItemInt(_window, itemID, value, BoolToBOOL(isSigned))); }
|
|
56
|
+
bool GetItemInt(int itemID, bool isSigned, UINT &value)
|
|
57
|
+
{
|
|
58
|
+
BOOL result;
|
|
59
|
+
value = GetDlgItemInt(_window, itemID, &result, BoolToBOOL(isSigned));
|
|
60
|
+
return BOOLToBool(result);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
HWND GetNextGroupItem(HWND control, bool previous)
|
|
64
|
+
{ return GetNextDlgGroupItem(_window, control, BoolToBOOL(previous)); }
|
|
65
|
+
HWND GetNextTabItem(HWND control, bool previous)
|
|
66
|
+
{ return GetNextDlgTabItem(_window, control, BoolToBOOL(previous)); }
|
|
67
|
+
|
|
68
|
+
bool MapRect(LPRECT rect)
|
|
69
|
+
{ return BOOLToBool(MapDialogRect(_window, rect)); }
|
|
70
|
+
|
|
71
|
+
bool IsMessage(LPMSG message)
|
|
72
|
+
{ return BOOLToBool(IsDialogMessage(_window, message)); }
|
|
73
|
+
|
|
74
|
+
LRESULT SendItemMessage(int itemID, UINT message, WPARAM wParam, LPARAM lParam)
|
|
75
|
+
{ return SendDlgItemMessage(_window, itemID, message, wParam, lParam); }
|
|
76
|
+
|
|
77
|
+
bool CheckButton(int buttonID, UINT checkState)
|
|
78
|
+
{ return BOOLToBool(CheckDlgButton(_window, buttonID, checkState)); }
|
|
79
|
+
bool CheckButton(int buttonID, bool checkState)
|
|
80
|
+
{ return CheckButton(buttonID, UINT(checkState ? BST_CHECKED : BST_UNCHECKED)); }
|
|
81
|
+
|
|
82
|
+
UINT IsButtonChecked(int buttonID) const
|
|
83
|
+
{ return IsDlgButtonChecked(_window, buttonID); }
|
|
84
|
+
bool IsButtonCheckedBool(int buttonID) const
|
|
85
|
+
{ return (IsButtonChecked(buttonID) == BST_CHECKED); }
|
|
86
|
+
|
|
87
|
+
bool CheckRadioButton(int firstButtonID, int lastButtonID, int checkButtonID)
|
|
88
|
+
{ return BOOLToBool(::CheckRadioButton(_window, firstButtonID, lastButtonID, checkButtonID)); }
|
|
89
|
+
|
|
90
|
+
virtual bool OnMessage(UINT message, WPARAM wParam, LPARAM lParam);
|
|
91
|
+
virtual bool OnInit() { return true; }
|
|
92
|
+
virtual bool OnCommand(WPARAM wParam, LPARAM lParam);
|
|
93
|
+
virtual bool OnCommand(int code, int itemID, LPARAM lParam);
|
|
94
|
+
virtual bool OnSize(WPARAM /* wParam */, int /* xSize */, int /* ySize */) { return false; }
|
|
95
|
+
|
|
96
|
+
/*
|
|
97
|
+
#ifdef UNDER_CE
|
|
98
|
+
virtual void OnHelp(void *) { OnHelp(); }
|
|
99
|
+
#else
|
|
100
|
+
virtual void OnHelp(LPHELPINFO) { OnHelp(); }
|
|
101
|
+
#endif
|
|
102
|
+
*/
|
|
103
|
+
virtual void OnHelp() {};
|
|
104
|
+
|
|
105
|
+
virtual bool OnButtonClicked(int buttonID, HWND buttonHWND);
|
|
106
|
+
virtual void OnOK() {};
|
|
107
|
+
virtual void OnCancel() {};
|
|
108
|
+
virtual void OnClose() {}
|
|
109
|
+
virtual bool OnNotify(UINT /* controlID */, LPNMHDR /* lParam */) { return false; }
|
|
110
|
+
virtual bool OnTimer(WPARAM /* timerID */, LPARAM /* callback */) { return false; }
|
|
111
|
+
|
|
112
|
+
LONG_PTR SetMsgResult(LONG_PTR newLongPtr )
|
|
113
|
+
{ return SetLongPtr(DWLP_MSGRESULT, newLongPtr); }
|
|
114
|
+
LONG_PTR GetMsgResult() const
|
|
115
|
+
{ return GetLongPtr(DWLP_MSGRESULT); }
|
|
116
|
+
|
|
117
|
+
bool GetMargins(int margin, int &x, int &y);
|
|
118
|
+
int Units_To_Pixels_X(int units);
|
|
119
|
+
bool GetItemSizes(int id, int &x, int &y);
|
|
120
|
+
void GetClientRectOfItem(int id, RECT &rect);
|
|
121
|
+
bool MoveItem(int id, int x, int y, int width, int height, bool repaint = true);
|
|
122
|
+
|
|
123
|
+
void NormalizeSize(bool fullNormalize = false);
|
|
124
|
+
void NormalizePosition();
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
class CModelessDialog: public CDialog
|
|
128
|
+
{
|
|
129
|
+
public:
|
|
130
|
+
bool Create(LPCTSTR templateName, HWND parentWindow);
|
|
131
|
+
bool Create(UINT resID, HWND parentWindow) { return Create(MAKEINTRESOURCEW(resID), parentWindow); }
|
|
132
|
+
#ifndef _UNICODE
|
|
133
|
+
bool Create(LPCWSTR templateName, HWND parentWindow);
|
|
134
|
+
#endif
|
|
135
|
+
virtual void OnOK() { Destroy(); }
|
|
136
|
+
virtual void OnCancel() { Destroy(); }
|
|
137
|
+
virtual void OnClose() { Destroy(); }
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
class CModalDialog: public CDialog
|
|
141
|
+
{
|
|
142
|
+
public:
|
|
143
|
+
INT_PTR Create(LPCTSTR templateName, HWND parentWindow);
|
|
144
|
+
INT_PTR Create(UINT resID, HWND parentWindow) { return Create(MAKEINTRESOURCEW(resID), parentWindow); }
|
|
145
|
+
#ifndef _UNICODE
|
|
146
|
+
INT_PTR Create(LPCWSTR templateName, HWND parentWindow);
|
|
147
|
+
#endif
|
|
148
|
+
|
|
149
|
+
bool End(INT_PTR result) { return BOOLToBool(::EndDialog(_window, result)); }
|
|
150
|
+
virtual void OnOK() { End(IDOK); }
|
|
151
|
+
virtual void OnCancel() { End(IDCANCEL); }
|
|
152
|
+
virtual void OnClose() { End(IDCLOSE); }
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
class CDialogChildControl: public NWindows::CWindow
|
|
156
|
+
{
|
|
157
|
+
int m_ID;
|
|
158
|
+
public:
|
|
159
|
+
void Init(const NWindows::NControl::CDialog &parentDialog, int id)
|
|
160
|
+
{
|
|
161
|
+
m_ID = id;
|
|
162
|
+
Attach(parentDialog.GetItem(id));
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
bool IsDialogSizeOK(int xSize, int ySize);
|
|
167
|
+
|
|
168
|
+
}}
|
|
169
|
+
|
|
170
|
+
#endif
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Windows/Control/Edit.h
|
|
2
|
+
|
|
3
|
+
#ifndef __WINDOWS_CONTROL_EDIT_H
|
|
4
|
+
#define __WINDOWS_CONTROL_EDIT_H
|
|
5
|
+
|
|
6
|
+
#include "../Window.h"
|
|
7
|
+
|
|
8
|
+
namespace NWindows {
|
|
9
|
+
namespace NControl {
|
|
10
|
+
|
|
11
|
+
class CEdit: public CWindow
|
|
12
|
+
{
|
|
13
|
+
public:
|
|
14
|
+
void SetPasswordChar(WPARAM c) { SendMsg(EM_SETPASSWORDCHAR, c); }
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
}}
|
|
18
|
+
|
|
19
|
+
#endif
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
// Windows/Control/ImageList.h
|
|
2
|
+
|
|
3
|
+
#ifndef __WINDOWS_CONTROL_IMAGE_LIST_H
|
|
4
|
+
#define __WINDOWS_CONTROL_IMAGE_LIST_H
|
|
5
|
+
|
|
6
|
+
#include <commctrl.h>
|
|
7
|
+
|
|
8
|
+
#include "../Defs.h"
|
|
9
|
+
|
|
10
|
+
namespace NWindows {
|
|
11
|
+
namespace NControl {
|
|
12
|
+
|
|
13
|
+
class CImageList
|
|
14
|
+
{
|
|
15
|
+
HIMAGELIST m_Object;
|
|
16
|
+
public:
|
|
17
|
+
operator HIMAGELIST() const {return m_Object; }
|
|
18
|
+
CImageList(): m_Object(NULL) {}
|
|
19
|
+
bool Attach(HIMAGELIST imageList)
|
|
20
|
+
{
|
|
21
|
+
if (imageList == NULL)
|
|
22
|
+
return false;
|
|
23
|
+
m_Object = imageList;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
HIMAGELIST Detach()
|
|
28
|
+
{
|
|
29
|
+
HIMAGELIST imageList = m_Object;
|
|
30
|
+
m_Object = NULL;
|
|
31
|
+
return imageList;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
bool Create(int width, int height, UINT flags, int initialNumber, int grow)
|
|
35
|
+
{
|
|
36
|
+
HIMAGELIST a = ImageList_Create(width, height, flags,
|
|
37
|
+
initialNumber, grow);
|
|
38
|
+
if (a == NULL)
|
|
39
|
+
return false;
|
|
40
|
+
return Attach(a);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
bool Destroy() // DeleteImageList() in MFC
|
|
44
|
+
{
|
|
45
|
+
if (m_Object == NULL)
|
|
46
|
+
return false;
|
|
47
|
+
return BOOLToBool(ImageList_Destroy(Detach()));
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
~CImageList()
|
|
51
|
+
{ Destroy(); }
|
|
52
|
+
|
|
53
|
+
int GetImageCount() const
|
|
54
|
+
{ return ImageList_GetImageCount(m_Object); }
|
|
55
|
+
|
|
56
|
+
bool GetImageInfo(int index, IMAGEINFO* imageInfo) const
|
|
57
|
+
{ return BOOLToBool(ImageList_GetImageInfo(m_Object, index, imageInfo)); }
|
|
58
|
+
|
|
59
|
+
int Add(HBITMAP hbmImage, HBITMAP hbmMask = 0)
|
|
60
|
+
{ return ImageList_Add(m_Object, hbmImage, hbmMask); }
|
|
61
|
+
int AddMasked(HBITMAP hbmImage, COLORREF mask)
|
|
62
|
+
{ return ImageList_AddMasked(m_Object, hbmImage, mask); }
|
|
63
|
+
int AddIcon(HICON icon)
|
|
64
|
+
{ return ImageList_AddIcon(m_Object, icon); }
|
|
65
|
+
int Replace(int index, HICON icon)
|
|
66
|
+
{ return ImageList_ReplaceIcon(m_Object, index, icon); }
|
|
67
|
+
|
|
68
|
+
// If index is -1, the function removes all images.
|
|
69
|
+
bool Remove(int index)
|
|
70
|
+
{ return BOOLToBool(ImageList_Remove(m_Object, index)); }
|
|
71
|
+
bool RemoveAll()
|
|
72
|
+
{ return BOOLToBool(ImageList_RemoveAll(m_Object)); }
|
|
73
|
+
|
|
74
|
+
HICON ExtractIcon(int index)
|
|
75
|
+
{ return ImageList_ExtractIcon(NULL, m_Object, index); }
|
|
76
|
+
HICON GetIcon(int index, UINT flags)
|
|
77
|
+
{ return ImageList_GetIcon(m_Object, index, flags); }
|
|
78
|
+
|
|
79
|
+
bool GetIconSize(int &width, int &height) const
|
|
80
|
+
{ return BOOLToBool(ImageList_GetIconSize(m_Object, &width, &height)); }
|
|
81
|
+
bool SetIconSize(int width, int height)
|
|
82
|
+
{ return BOOLToBool(ImageList_SetIconSize(m_Object, width, height)); }
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
}}
|
|
86
|
+
|
|
87
|
+
#endif
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
// Windows/Control/ListView.cpp
|
|
2
|
+
|
|
3
|
+
#include "StdAfx.h"
|
|
4
|
+
|
|
5
|
+
#include "ListView.h"
|
|
6
|
+
|
|
7
|
+
#ifndef _UNICODE
|
|
8
|
+
extern bool g_IsNT;
|
|
9
|
+
#endif
|
|
10
|
+
|
|
11
|
+
namespace NWindows {
|
|
12
|
+
namespace NControl {
|
|
13
|
+
|
|
14
|
+
bool CListView::CreateEx(DWORD exStyle, DWORD style,
|
|
15
|
+
int x, int y, int width, int height,
|
|
16
|
+
HWND parentWindow, HMENU idOrHMenu,
|
|
17
|
+
HINSTANCE instance, LPVOID createParam)
|
|
18
|
+
{
|
|
19
|
+
return CWindow::CreateEx(exStyle, WC_LISTVIEW, TEXT(""), style, x, y, width,
|
|
20
|
+
height, parentWindow, idOrHMenu, instance, createParam);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
bool CListView::GetItemParam(int index, LPARAM ¶m) const
|
|
24
|
+
{
|
|
25
|
+
LVITEM item;
|
|
26
|
+
item.iItem = index;
|
|
27
|
+
item.iSubItem = 0;
|
|
28
|
+
item.mask = LVIF_PARAM;
|
|
29
|
+
bool aResult = GetItem(&item);
|
|
30
|
+
param = item.lParam;
|
|
31
|
+
return aResult;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
int CListView::InsertColumn(int columnIndex, LPCTSTR text, int width)
|
|
35
|
+
{
|
|
36
|
+
LVCOLUMN ci;
|
|
37
|
+
ci.mask = LVCF_TEXT | LVCF_WIDTH | LVCF_SUBITEM;
|
|
38
|
+
ci.pszText = (LPTSTR)text;
|
|
39
|
+
ci.iSubItem = columnIndex;
|
|
40
|
+
ci.cx = width;
|
|
41
|
+
return InsertColumn(columnIndex, &ci);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
int CListView::InsertItem(int index, LPCTSTR text)
|
|
45
|
+
{
|
|
46
|
+
LVITEM item;
|
|
47
|
+
item.mask = LVIF_TEXT | LVIF_PARAM;
|
|
48
|
+
item.iItem = index;
|
|
49
|
+
item.lParam = index;
|
|
50
|
+
item.pszText = (LPTSTR)text;
|
|
51
|
+
item.iSubItem = 0;
|
|
52
|
+
return InsertItem(&item);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
int CListView::SetSubItem(int index, int subIndex, LPCTSTR text)
|
|
56
|
+
{
|
|
57
|
+
LVITEM item;
|
|
58
|
+
item.mask = LVIF_TEXT;
|
|
59
|
+
item.iItem = index;
|
|
60
|
+
item.pszText = (LPTSTR)text;
|
|
61
|
+
item.iSubItem = subIndex;
|
|
62
|
+
return SetItem(&item);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
#ifndef _UNICODE
|
|
66
|
+
|
|
67
|
+
int CListView::InsertColumn(int columnIndex, LPCWSTR text, int width)
|
|
68
|
+
{
|
|
69
|
+
LVCOLUMNW ci;
|
|
70
|
+
ci.mask = LVCF_TEXT | LVCF_WIDTH | LVCF_SUBITEM;
|
|
71
|
+
ci.pszText = (LPWSTR)text;
|
|
72
|
+
ci.iSubItem = columnIndex;
|
|
73
|
+
ci.cx = width;
|
|
74
|
+
return InsertColumn(columnIndex, &ci);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
int CListView::InsertItem(int index, LPCWSTR text)
|
|
78
|
+
{
|
|
79
|
+
LVITEMW item;
|
|
80
|
+
item.mask = LVIF_TEXT | LVIF_PARAM;
|
|
81
|
+
item.iItem = index;
|
|
82
|
+
item.lParam = index;
|
|
83
|
+
item.pszText = (LPWSTR)text;
|
|
84
|
+
item.iSubItem = 0;
|
|
85
|
+
return InsertItem(&item);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
int CListView::SetSubItem(int index, int subIndex, LPCWSTR text)
|
|
89
|
+
{
|
|
90
|
+
LVITEMW item;
|
|
91
|
+
item.mask = LVIF_TEXT;
|
|
92
|
+
item.iItem = index;
|
|
93
|
+
item.pszText = (LPWSTR)text;
|
|
94
|
+
item.iSubItem = subIndex;
|
|
95
|
+
return SetItem(&item);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
#endif
|
|
99
|
+
|
|
100
|
+
static LRESULT APIENTRY ListViewSubclassProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
|
|
101
|
+
{
|
|
102
|
+
CWindow window(hwnd);
|
|
103
|
+
CListView2 *w = (CListView2 *)(window.GetUserDataLongPtr());
|
|
104
|
+
if (w == NULL)
|
|
105
|
+
return 0;
|
|
106
|
+
return w->OnMessage(message, wParam, lParam);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
LRESULT CListView2::OnMessage(UINT message, WPARAM wParam, LPARAM lParam)
|
|
110
|
+
{
|
|
111
|
+
#ifndef _UNICODE
|
|
112
|
+
if (g_IsNT)
|
|
113
|
+
return CallWindowProcW(_origWindowProc, *this, message, wParam, lParam);
|
|
114
|
+
else
|
|
115
|
+
#endif
|
|
116
|
+
return CallWindowProc(_origWindowProc, *this, message, wParam, lParam);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
void CListView2::SetWindowProc()
|
|
120
|
+
{
|
|
121
|
+
SetUserDataLongPtr((LONG_PTR)this);
|
|
122
|
+
#ifndef _UNICODE
|
|
123
|
+
if (g_IsNT)
|
|
124
|
+
_origWindowProc = (WNDPROC)SetLongPtrW(GWLP_WNDPROC, (LONG_PTR)ListViewSubclassProc);
|
|
125
|
+
else
|
|
126
|
+
#endif
|
|
127
|
+
_origWindowProc = (WNDPROC)SetLongPtr(GWLP_WNDPROC, (LONG_PTR)ListViewSubclassProc);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/*
|
|
131
|
+
LRESULT CListView3::OnMessage(UINT message, WPARAM wParam, LPARAM lParam)
|
|
132
|
+
{
|
|
133
|
+
LRESULT res = CListView2::OnMessage(message, wParam, lParam);
|
|
134
|
+
if (message == WM_GETDLGCODE)
|
|
135
|
+
{
|
|
136
|
+
// when user presses RETURN, windows sends default (first) button command to parent dialog.
|
|
137
|
+
// we disable this:
|
|
138
|
+
MSG *msg = (MSG *)lParam;
|
|
139
|
+
WPARAM key = wParam;
|
|
140
|
+
bool change = false;
|
|
141
|
+
if (msg)
|
|
142
|
+
{
|
|
143
|
+
if (msg->message == WM_KEYDOWN && msg->wParam == VK_RETURN)
|
|
144
|
+
change = true;
|
|
145
|
+
}
|
|
146
|
+
else if (wParam == VK_RETURN)
|
|
147
|
+
change = true;
|
|
148
|
+
if (change)
|
|
149
|
+
res |= DLGC_WANTALLKEYS;
|
|
150
|
+
}
|
|
151
|
+
return res;
|
|
152
|
+
}
|
|
153
|
+
*/
|
|
154
|
+
|
|
155
|
+
}}
|