-
Notifications
You must be signed in to change notification settings - Fork 27
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
Update to use Anki 2.1.54's code #202
Commits on Jun 17, 2022
-
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
Configuration menu - View commit details
-
Copy full SHA for a8649ed - Browse repository at this point
Copy the full SHA a8649edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fb558a - Browse repository at this point
Copy the full SHA 6fb558aView commit details -
Configuration menu - View commit details
-
Copy full SHA for be9cbf6 - Browse repository at this point
Copy the full SHA be9cbf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e13e6f - Browse repository at this point
Copy the full SHA 1e13e6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb6cbaa - Browse repository at this point
Copy the full SHA cb6cbaaView commit details -
Generate translation accessors as part of the build
Accessed with backend.tr.someTranslationName()
Configuration menu - View commit details
-
Copy full SHA for 9bfe3d2 - Browse repository at this point
Copy the full SHA 9bfe3d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a37197 - Browse repository at this point
Copy the full SHA 3a37197View commit details -
Automatically update submodule as part of i18n build
- Extracted from pinned sha in upstream repo - Maintainer needs to commit change to submodule
Configuration menu - View commit details
-
Copy full SHA for 179da19 - Browse repository at this point
Copy the full SHA 179da19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96299a3 - Browse repository at this point
Copy the full SHA 96299a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d05c0e9 - Browse repository at this point
Copy the full SHA d05c0e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93e90e8 - Browse repository at this point
Copy the full SHA 93e90e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8111ee - Browse repository at this point
Copy the full SHA c8111eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for c938d3e - Browse repository at this point
Copy the full SHA c938d3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3476441 - Browse repository at this point
Copy the full SHA 3476441View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc2e373 - Browse repository at this point
Copy the full SHA fc2e373View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1408efd - Browse repository at this point
Copy the full SHA 1408efdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10d6fa0 - Browse repository at this point
Copy the full SHA 10d6fa0View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfd2685 - Browse repository at this point
Copy the full SHA cfd2685View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c7cdaa - Browse repository at this point
Copy the full SHA 2c7cdaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e489f2 - Browse repository at this point
Copy the full SHA 0e489f2View commit details
Commits on Jun 18, 2022
-
- Reduce the numbers of factories, and provide some helper routines in AnkiSupportSQLiteDatabase to create Rust-based and Framework-based instances. - BackendFactory now provides static methods to create a backend, and supports configuring the default languages and schema version ( which the AnkiAndroid code will use) - Backend instances have their schema version set at creation, instead of collection open.
Configuration menu - View commit details
-
Copy full SHA for 70999d5 - Browse repository at this point
Copy the full SHA 70999d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b2d06e - Browse repository at this point
Copy the full SHA 8b2d06eView commit details
Commits on Jun 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 80b60f7 - Browse repository at this point
Copy the full SHA 80b60f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5499f2f - Browse repository at this point
Copy the full SHA 5499f2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec0226b - Browse repository at this point
Copy the full SHA ec0226bView commit details -
Stream library to avoid Windows test OOM
I'm surprised it can't handle a 45MB alloc. Switched to a streaming approach, that requires reading the file twice in the initial write case.
Configuration menu - View commit details
-
Copy full SHA for 2ed5c23 - Browse repository at this point
Copy the full SHA 2ed5c23View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef3ddae - Browse repository at this point
Copy the full SHA ef3ddaeView commit details -
The sync code expects to find the version number in a buildinfo.txt file. For now, check it into source control so that Bazel is only required when bumping the anki dependency (or you could edit the file manually)
Configuration menu - View commit details
-
Copy full SHA for 7794f3f - Browse repository at this point
Copy the full SHA 7794f3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bcd7e7 - Browse repository at this point
Copy the full SHA 1bcd7e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ef4484 - Browse repository at this point
Copy the full SHA 1ef4484View commit details -
Large collections dump thousands of lines in the logs when showing the deck picker.
Configuration menu - View commit details
-
Copy full SHA for c9903eb - Browse repository at this point
Copy the full SHA c9903ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9794ba9 - Browse repository at this point
Copy the full SHA 9794ba9View commit details
Commits on Jun 21, 2022
-
- Add an ineffective lock to ensureSetup() - Document why it doesn't work, and why the error needs to be swallowed in loadPath - Don't attempt to load the library normally when running under Robolectric
Configuration menu - View commit details
-
Copy full SHA for c05e6d1 - Browse repository at this point
Copy the full SHA c05e6d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2780dfb - Browse repository at this point
Copy the full SHA 2780dfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 57769a9 - Browse repository at this point
Copy the full SHA 57769a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2768c42 - Browse repository at this point
Copy the full SHA 2768c42View commit details -
Use zip of desktop artifacts in build
Instead of checking buildinfo.txt and the web files into this repo, we should either generate them as part of the build, or rely on a pinned pre-generated file. The latter is the easier short-term solution, as it requires minimal updates to CI, and won't balloon out the build times. It's more work when bumping versions though, so in the long time AD may want to consider adopting Bazel in this repo once this code has sufficiently proven itself. There's probably room for improvement in the download/unpack task - I'll leave that for someone with more Gradle experience. I am not able to test the artifact build/upload from the repo fork, so have temporarily placed the generated file on ankiweb.
Configuration menu - View commit details
-
Copy full SHA for 4c3eea4 - Browse repository at this point
Copy the full SHA 4c3eea4View commit details -
Revert "Use zip of desktop artifacts in build"
This reverts commit 2828381. This has a few issues that need resolving before it's usable: - Need to tell Gradle that unpackAnkiArtifacts should be run prior to the cargo lines - downloadAndPrepareArtifacts chokes on clean build because rsdroid/build does not exist; probably needs creating if missing
Configuration menu - View commit details
-
Copy full SHA for 60a4233 - Browse repository at this point
Copy the full SHA 60a4233View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a2afad - Browse repository at this point
Copy the full SHA 1a2afadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 41cc1f5 - Browse repository at this point
Copy the full SHA 41cc1f5View commit details
Commits on Jun 22, 2022
-
Log stdout/stderr to ease println() debugging
Android sends it to /dev/null by default
Configuration menu - View commit details
-
Copy full SHA for dd19004 - Browse repository at this point
Copy the full SHA dd19004View commit details -
Configuration menu - View commit details
-
Copy full SHA for f65cd99 - Browse repository at this point
Copy the full SHA f65cd99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ce057b - Browse repository at this point
Copy the full SHA 4ce057bView commit details
Commits on Jun 23, 2022
-
3
Configuration menu - View commit details
-
Copy full SHA for 1760ab9 - Browse repository at this point
Copy the full SHA 1760ab9View commit details -
Warn when executing SQL statements on main thread; remove other logging
If they block due to a concurrent operation, the UI will freeze until it completes, so these operations should be moved to a backend thread over time (in many cases, there's a backend operation that can be used instead)
Configuration menu - View commit details
-
Copy full SHA for 75e19bd - Browse repository at this point
Copy the full SHA 75e19bdView commit details -
Report backend requests that happen on UI thread
Reveals deck list's renderPage() invokes a lot of SQL queries, and isCurrentlySelectedDeck() queries the current deck each time.
Configuration menu - View commit details
-
Copy full SHA for 6955d8d - Browse repository at this point
Copy the full SHA 6955d8dView commit details
Commits on Jun 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bd65477 - Browse repository at this point
Copy the full SHA bd65477View commit details
Commits on Jun 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5d29116 - Browse repository at this point
Copy the full SHA 5d29116View commit details
Commits on Jun 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 21a43f5 - Browse repository at this point
Copy the full SHA 21a43f5View commit details -
I tried using the site to import the docs/source files, but it told me it wasn't a valid file type, so I've just removed the diagrams for now.
Configuration menu - View commit details
-
Copy full SHA for 8c024b5 - Browse repository at this point
Copy the full SHA 8c024b5View commit details
Commits on Jun 27, 2022
-
Enable Kotlin extensions to generated protobuf
Makes working with messages easier in the AnkiDroid repo
Configuration menu - View commit details
-
Copy full SHA for 442db0a - Browse repository at this point
Copy the full SHA 442db0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd1f797 - Browse repository at this point
Copy the full SHA cd1f797View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43fa4dc - Browse repository at this point
Copy the full SHA 43fa4dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6bf63b - Browse repository at this point
Copy the full SHA c6bf63bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5c26f4 - Browse repository at this point
Copy the full SHA d5c26f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d70ded0 - Browse repository at this point
Copy the full SHA d70ded0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 979695c - Browse repository at this point
Copy the full SHA 979695cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e3f0af - Browse repository at this point
Copy the full SHA 3e3f0afView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1114d8 - Browse repository at this point
Copy the full SHA b1114d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8714da7 - Browse repository at this point
Copy the full SHA 8714da7View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf699dc - Browse repository at this point
Copy the full SHA bf699dcView commit details