Go to file
Damien Elmes de668441b5 clear_unused_tags and browser redraw improvements
- clear_unused_tags() is now undoable, and returns the number of removed
notes
- add a new mw.query_op() helper for immutable queries
- decouple "freeze/unfreeze ui state" hooks from the "interface update
required" hook, so that the former is fired even on error, and can be
made re-entrant
- use a 'block_updates' flag in Python, instead of setUpdatesEnabled(),
as the latter has the side-effect of preventing child windows like
tooltips from appearing, and forces a full redrawn when updates are
enabled again. The new behaviour leads to the card list blanking out
when a long-running op is running, but in the future if we cache the
cell values we can just display them from the cache instead.
- we were indiscriminately saving the note with saveNow(), due to the
call to saveTags(). Changed so that it only saves when the tags field
is focused.
- drain the "on_done" queue on main before launching a new background
task, to lower the chances of something in on_done making a small query
to the DB and hanging until a long op finishes
- the duplicate check in the editor was executed after the webview loads,
leading to it hanging until the sidebar finishes loading. Run it at
set_note() time instead, so that the editor loads first.
- don't throw an error when a long-running op started with with_progress()
finishes after the window it was launched from has closed
- don't throw an error when the browser is closed before the sidebar
has finished loading
2021-03-19 19:45:21 +10:00
.buildkite build wheels in Linux CI 2020-12-21 19:31:15 +10:00
.github/ISSUE_TEMPLATE add issue template config.yml 2021-02-19 14:11:21 +10:00
cargo add note about bumping Rust deps 2021-03-15 13:29:36 +10:00
docs contributing.md update 2021-02-03 16:06:34 +10:00
ftl clear_unused_tags and browser redraw improvements 2021-03-19 19:45:21 +10:00
pip fix mypy treating Qt objects as inheriting from Any 2021-03-19 19:45:21 +10:00
platforms add linux_arm64 platform 2020-12-29 18:40:39 +10:00
pylib clear_unused_tags and browser redraw improvements 2021-03-19 19:45:21 +10:00
qt clear_unused_tags and browser redraw improvements 2021-03-19 19:45:21 +10:00
rslib clear_unused_tags and browser redraw improvements 2021-03-19 19:45:21 +10:00
scripts accept args in scripts/runopt 2021-01-12 18:47:08 +10:00
ts fade out webview when pending updates; do some reviewer updates immediately 2021-03-19 19:45:21 +10:00
.bazelignore initial Bazel conversion 2020-11-01 14:26:58 +10:00
.bazelrc turn top bar dark when night mode enabled on macOS 2021-02-04 19:19:56 +10:00
.bazelversion update pinned Bazel version to 4.0 release 2021-01-21 19:58:41 +10:00
.gitattributes try again to improve GitHub's language stats 2021-01-20 13:20:45 +10:00
.gitignore Gitignore root target folder 2021-01-13 12:17:00 +01:00
bazel.bat initial Bazel conversion 2020-11-01 14:26:58 +10:00
BUILD.bazel simplify wheel building 2020-12-10 20:27:21 +10:00
Cargo.lock roll back slog-term due to Windows break (2/2) 2021-03-10 13:28:32 +10:00
Cargo.toml remember last input for 'set due'; add string config; nest config types 2021-02-08 14:10:05 +10:00
CONTRIBUTORS Update CONTRIBUTORS 2021-03-07 11:05:41 +01:00
defs.bzl bump version 2021-03-10 11:11:45 +10:00
late_deps.bzl move aqt_data into source folder; implement wheel building 2020-11-04 12:14:03 +10:00
LICENSE move aqt_data into source folder; implement wheel building 2020-11-04 12:14:03 +10:00
pkgkey.asc add public key for release signing 2018-09-18 10:40:45 +10:00
protobuf.bzl add linux_arm64 platform 2020-12-29 18:40:39 +10:00
python.bzl use PYTHON_SYS_EXECUTABLE for setting path to Python 2020-12-23 21:53:13 +10:00
README.md minor doc updates 2020-12-11 22:37:12 +10:00
repos.bzl update translations 2021-03-10 12:04:34 +10:00
run proper fix for __pycache__ folders preventing remove on ./run 2021-01-12 18:47:08 +10:00
run.bat enable Python warnings when running 2020-12-16 14:59:04 +10:00
WORKSPACE packages.bzl -> repos.bzl; update rules_rust 2020-11-05 14:22:45 +10:00

Anki

Build status

This repo contains the source code for the computer version of Anki.

If you'd like to try development builds of Anki but don't feel comfortable building the code, please see https://betas.ankiweb.net/#/

For more information on building, please see Development.