Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Support 2.1.53 desktop version #2

Merged
merged 8 commits into from
Jun 26, 2022

Commits on Jun 16, 2022

  1. Configuration menu
    Copy the full SHA
    0abcd95 View commit details
    Browse the repository at this point in the history
  2. feat: Protobuf-based streamed database access

    We add sqlite.proto and define interfaces to access this from rslib-bridge
    
    (cherry picked from commit 6d5d150)
    david-allison authored and dae committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    66896b7 View commit details
    Browse the repository at this point in the history
  3. WIP: Catch fatal Rust errors in Java

    This works for all but open/closeBackend. This is because we currently return
    raw values rather than protobuf byte streams.
    
    This is WIP as the Rust could be implemented better - possibly a macro
    
    A function was attempted and should be tried again with a single lambda
    Multiple parameters made execution significantly slower.
    
    But, learning how to do macros can wait until the library is released.
    
    (cherry picked from commit 8cb83f4)
    dae committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    7f2f025 View commit details
    Browse the repository at this point in the history
  4. Use rustls when building for Android, so openssl is not required

    The anki crate should expose these as features in the future.
    dae committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    396b3f4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    effa9ba View commit details
    Browse the repository at this point in the history
  6. Migrate most rsdroid code into rslib patch

    - Reuses existing protobuf infrastructure to greatly cut down on the
    JNI boilerplate
    - Ensures all calls have errors handled, and happen behind a mutex
    - Removes separate downgrade + open11 calls in favour of a flag to
    the standard collection opening routine
    - Various code cleanups
    dae committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    665d81c View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2022

  1. Configuration menu
    Copy the full SHA
    72bbc41 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2022

  1. Configuration menu
    Copy the full SHA
    66d3cbe View commit details
    Browse the repository at this point in the history