Git Product home page Git Product logo

a7zip's People

Contributors

seven332 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

a7zip's Issues

How can we use in android project?

Hi @seven332

I download repo and put all this file .c and .h in CPP folder inside Main package,

I made some changes in 7zExtractor.cpp file, i added some code in this like above.
Capture

CMakeLists.txt Here is my CMakeFile.txt which I have made some changes according to my requirements.

what I have issue I faced, I have .7a zip file in server and call api in return I got this URL, I want to extract this zip file. How can I do this pls help us.

Thanks.

Compressing

Hi, I'd just like to confirm that there isn't support for compressing files in zip format. If there is, could you please share the steps to do it?

Problem encrypting using accents

The library allows encryption with accents, however it fails when trying to decrypt with the same password.
I have tried converting to UTF-8 before decrypting but it still fails.

Example: try to decrypt using the password 'útil'
You can check it please.

Thanks greetings.

Possible values for version

I'm really new to android development,

I'm following the installation instructions but I have no idea where to find possible values for ${version}

Does it support multi-threaded compression/decompression of files at the same time?

Is p7zip thread safe?

Can you add an example of thread-safe writing?

When p7zip calls compression through the jni incoming command, the following native crash occurs under multi-threading. The method of using the command does not seem to have a way to close the resource;

If adding concurrency locks will cause the compression efficiency to be too low, can using a7zip solve the problem of thread concurrency?

crash1:

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xfbfffffc
    r0  00000000  r1  21a2478c  r2  f1d80500  r3  00000080
    r4  d1e1fe10  r5  feffffff  r6  c9683934  r7  c4db4b20
    r8  00000000  r9  c9683918  r10 00000000  r11 c4db4d90
    ip  c9678804  sp  c4db4b18  lr  c963c713  pc  c95a0e6c

backtrace:
    #00 pc 0010de6c  /data/app/com.zyp.demo-1/lib/arm/libp7zip.so (_ZN13CObjectVectorI7CBufferIhEED2Ev+15)
    #01 pc 001a970f  /data/app/com.zyp.demo-1/lib/arm/libp7zip.so (_ZN10CArcInfoExD2Ev+8)
    #02 pc 001aa395  /data/app/com.zyp.demo-1/lib/arm/libp7zip.so (_ZN13CObjectVectorI10CArcInfoExED2Ev+22)
    #03 pc 001aa2df  /data/app/com.zyp.demo-1/lib/arm/libp7zip.so (_ZN7CCodecsD2Ev+42)
    #04 pc 001aa301  /data/app/com.zyp.demo-1/lib/arm/libp7zip.so (_ZN7CCodecsD0Ev+4)
    #05 pc 001aa2af  /data/app/com.zyp.demo-1/lib/arm/libp7zip.so (_ZN7CCodecs7ReleaseEv+16)
    #06 pc 0010a961  /data/app/com.zyp.demo-1/lib/arm/libp7zip.so (_ZN9CMyComPtrI19ICompressCodecsInfoE7ReleaseEv+14)
    #07 pc 0010a8f1  /data/app/com.zyp.demo-1/lib/arm/libp7zip.so (_ZN15CExternalCodecsD2Ev+20)
    #08 pc 0014ca5d  /data/app/com.zyp.demo-1/lib/arm/libp7zip.so (_Z5Main2iPPc+3604)
    #09 pc 0014df0b  /data/app/com.zyp.demo-1/lib/arm/libp7zip.so (main+66)
    #10 pc 001b8471  /data/app/com.zyp.demo-1/lib/arm/libp7zip.so (executeCommand+68)
    #11 pc 001b8411  /data/app/com.zyp.demo-1/lib/arm/libp7zip.so (Java_com_zyp_lib_p7zip_P7zip_p7zipCommand+28)
    #12 pc 000ade99  /system/lib/libart.so (art_quick_generic_jni_trampoline+40)
    #13 pc 000a94c1  /system/lib/libart.so (art_quick_invoke_stub_internal+64)
    #14 pc 00404009  /system/lib/libart.so (art_quick_invoke_stub+232)
    #15 pc 000b0795  /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+136)
    #16 pc 001ebb2d  /system/lib/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+200)
    #17 pc 001e60dd  /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+492)
    #18 pc 003fb9a7  /system/lib/libart.so (MterpInvokeVirtual+430)
    #19 pc 0009c314  /system/lib/libart.so (ExecuteMterpImpl+14228)
    ...

crash2:

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x6f70245b
    r0 cce57d38  r1 0000000e  r2 e5958a0c  r3 6f70245b
    r4 cce57d38  r5 0000000e  r6 00000000  r7 e5958ab8
    r8 e5979c38  r9 e6e18c00  sl 00000000  fp e5979bc4
    ip e6efd390  sp e59589f4  lr e6efd390  pc e70f436a  cpsr a00b0030
    d0  4f485f50495a374d  d1  612e35312f626e45
    d2  000000000000005f  d3  0000000000000044
    d4  e5979d24e53ccdb1  d5  e6e18c00714afec0
    d6  e5979e80e5979c78  d7  e6e18c8c00000008
    d8  0000000000000000  d9  0000000000000000
    d10 0000000000000000  d11 0000000000000000
    d12 0000000000000000  d13 0000000000000000
    d14 0000000000000000  d15 0000000000000000
    d16 0000000000000000  d17 0000000000000000
    d18 e959e6c0e9598738  d19 e958e428e958dc68
    d20 e6a3b251e6a3b331  d21 e6a3b3a1e6a3b2c1
    d22 0000000000000000  d23 3fc0000000000000
    d24 0000000000000000  d25 0000000000000000
    d26 0000000000000000  d27 0000000000000000
    d28 0000000000000000  d29 0000000000000000
    d30 0000000000000000  d31 0000000000000000
    scr 80000093

backtrace:
    #00 pc 0004636a  /system/lib/libc.so (__findenv+33)
    #01 pc 0004650f  /system/lib/libc.so (putenv+42)
    #02 pc 0028431b  /data/app/com.zyp.p7zip-1/lib/arm/libp7zip.so (_Z18mySplitCommandLineiPPcR13CObjectVectorI7UStringE+106)
    #03 pc 001bcb07  /data/app/com.zyp.p7zip-1/lib/arm/libp7zip.so (_Z5Main2iPPc+46)
    #04 pc 001c10b5  /data/app/com.zyp.p7zip-1/lib/arm/libp7zip.so (main+68)
    #05 pc 00285299  /data/app/com.zyp.p7zip-1/lib/arm/libp7zip.so (executeCommand+128)
    #06 pc 002851d3  /data/app/com.zyp.p7zip-1/lib/arm/libp7zip.so (Java_com_zyp_lib_p7zip_P7zip_p7zipCommand+46)
    #07 pc 006a1bb5  /data/app/com.zyp.p7zip-1/oat/arm/base.odex (offset 0x685000)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.