Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various picks from crengine-ng #504

Merged
merged 10 commits into from
Jan 21, 2023
Merged

Commits on Jan 21, 2023

  1. (crengine-ng) Various small picks: unused variables, cast & types

    Remove unused variables, fix types, more proper casts.
    
    From crengine-ng commits:
    259e8e7a9951d74fa81b268c7117c24070d8b7cb
    a90ac8cc26fd1aefa9a33d11edecd6696578cbd5
    3ed32dd05d1d26c79ec3cc725e8a04f28e7ad984
    f9095b8aa773c1bcafa5ec0fb3b0cd4587feadbe
    64ce6c2a8135841374f0f9338c29b753657a25c6
    146fdd59a46958cda6a1cbce5e14c8f0a1bee845
    2791906f7b59b9eb897f40b46c0053064f7ec9e1
    116e5cf5d8e6fcf7233d939c501d009719f630af
    at https://gitlab.com/coolreader-ng/crengine-ng
    virxkane authored and poire-z committed Jan 21, 2023
    Configuration menu
    Copy the full SHA
    bdbed7e View commit details
    Browse the repository at this point in the history
  2. (crengine-ng) LVStream: minor fixes

    - ZIP64 minor fixes: when finding 'End of central directory
      record' don't try to lseek outside of file size.
    - LVPumpStream() function improved: added check result of
      write operation.
    - LVDeleteDirectory(): use rmdir instead of unlink.
    - Give a name to typedef struct ZipLocalFileHdr to avoir
      clang warning
    
    From crengine-ng commits:
    6e6655432e510f1ef7973e4923de974d7916e3d5
    8e024f68b5ff6a17c4717539b0b7b1d63b831830
    750751bbe67dc9d61c6d245c4b2fbe50eb92eddc
    5c7db1c550ffcea9f8f296bac8f678d513202c88
    virxkane authored and poire-z committed Jan 21, 2023
    Configuration menu
    Copy the full SHA
    38a0b3d View commit details
    Browse the repository at this point in the history
  3. (crengine-ng) LVStream: cleanup zip processing

    ZIP processing: replaced hardcoded maximum entry name length and
    maximum extra entry data length with a new defines.
    It is allowed to skip extra entry data if it is too long without
    stopping the processing of the zip archive.
    
    From crengine-ng commit:
    5473ebed8ae8b300ca5f1138a5d6ad41b8155723
    virxkane authored and poire-z committed Jan 21, 2023
    Configuration menu
    Copy the full SHA
    c6a4255 View commit details
    Browse the repository at this point in the history
  4. (crengine-ng) ldomDataStorageManager: fix cast & types

    From crengine-ng commit:
    3ed32dd05d1d26c79ec3cc725e8a04f28e7ad984
    virxkane authored and poire-z committed Jan 21, 2023
    Configuration menu
    Copy the full SHA
    e7a187b View commit details
    Browse the repository at this point in the history
  5. (crengine-ng) ldomDataStorageManager: fix possible segfault

    - SIGSEGV fixed in ldomDataStorageManager class,
      AddressSanitizer: heap-use-after-free.
    - Fix cache emptying function.
    
    From crengine-ng commits:
    eaee261107221c46b759a68b527515c39b986c0f
    1f3dc6b5395b29cc63297a6b5a6191ad0f1102fd
    virxkane authored and poire-z committed Jan 21, 2023
    Configuration menu
    Copy the full SHA
    07cb262 View commit details
    Browse the repository at this point in the history
  6. (crengine-ng) DOM/MathML: more currNode/parentNode sanity checks

    From crengine-ng commit:
    9f1032becb4f6ae765e30c356525227e24fe61a8
    virxkane authored and poire-z committed Jan 21, 2023
    Configuration menu
    Copy the full SHA
    46fcdc9 View commit details
    Browse the repository at this point in the history
  7. (crengine-ng) Default style: use cr3.ini fg & bg colors

    ldomDocument default style: use text color and background color from
    document properties instead of black and white.
    This fixes incorrect colors for mathml elements (fraction bar, sqrt
    symbol...) with non-standard color settings.
    
    From crengine-ng commit:
    aed17364d766a92b619e92d9a9da9b84cff2fd29
    virxkane authored and poire-z committed Jan 21, 2023
    Configuration menu
    Copy the full SHA
    2c3329b View commit details
    Browse the repository at this point in the history
  8. (crengine-ng) Support regular documents inside zip

    LVDocView::loadDocumentInt(): allow to open '*.fb3', '*.epub',
    '*.doc', '*.docx', '*.odt' inside zip-archives.
    
    From crengine-ng commit:
    d0be59c7a24063c6037e8a3bd25fe9f099553a9b
    virxkane authored and poire-z committed Jan 21, 2023
    Configuration menu
    Copy the full SHA
    a720310 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ea5b8ba View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    050e653 View commit details
    Browse the repository at this point in the history