Go to file
RumovZ 3e0c9dc866
New TTS/AV tag handling (#1559)
* Add new `card_rendering` mod

Parses a text with av/tts tags and strips or extracts tags.

* Replace old `extract_av_tags` and `strip_av_tags`

... with new `card_rendering` mod

* ressource -> resource

* Add AV prettifier for use in browser table

* Accept String in av tag routines

... and avoid redundant writes if no changes need to be made.

* add benchmarking with criterion; make links test optional (dae)

cargo install cargo-criterion, then run ./bench.sh

* performance comparison: creating HashMap up front (dae)

the previous solution:

anki_tag_parse          time:   [1.8401 us 1.8437 us 1.8476 us]

this solution:

anki_tag_parse          time:   [2.2420 us 2.2447 us 2.2477 us]
                        change: [+21.477% +21.770% +22.066%] (p = 0.00 < 0.05)
                        Performance has regressed.

* Revert "performance comparison: creating HashMap up front" (dae)

This reverts commit f19126a2f15b729b825825a49283f63ab13474d0.

* add missing header

* Write error message if tts lang is missing

* `Tag` -> `Directive`
2021-12-17 19:04:42 +10:00
.buildkite tweak mac CI state folder 2021-12-13 13:12:59 +10:00
.github/ISSUE_TEMPLATE update bug report template 2021-11-12 12:20:02 +10:00
cargo update Rust deps 2021-12-03 20:35:53 +10:00
docs update Visual Studio instructions 2021-11-29 12:32:39 +10:00
ftl New TTS/AV tag handling (#1559) 2021-12-17 19:04:42 +10:00
platforms use x86 binaries for clang format/protobuf on Mac 2021-10-16 18:07:39 +10:00
proto Change Notetype UI Rework (#1499) 2021-11-24 12:09:55 +10:00
pylib Make Hard use current step's interval if it's not the first one (#1561) 2021-12-16 22:02:13 +10:00
python run buildifier/buildozer to tidy up BUILD files 2021-12-14 09:18:24 +10:00
qt Rework field copying when switching notetypes (#1556) 2021-12-16 21:49:42 +10:00
rslib New TTS/AV tag handling (#1559) 2021-12-17 19:04:42 +10:00
sass Add back wrap function (#1551) 2021-12-13 14:00:35 +10:00
scripts run buildifier/buildozer to tidy up BUILD files 2021-12-14 09:18:24 +10:00
ts Preload external css files to prevent flash of unstyled content (#1558) 2021-12-16 21:47:10 +10:00
.bazelignore move node_modules into root folder [action required] 2021-10-07 11:42:27 +10:00
.bazelrc update to Rust 1.57 + latest rules_rust 2021-12-03 20:35:52 +10:00
.bazelversion update Bazel version 2021-10-01 20:54:48 +10:00
.gitattributes try again to improve GitHub's language stats 2021-01-20 13:20:45 +10:00
.gitignore move node_modules into root folder [action required] 2021-10-07 11:42:27 +10:00
.prettierignore Mathjax editor improvements (#1502) 2021-11-23 10:27:32 +10:00
.prettierrc Mathjax editor improvements (#1502) 2021-11-23 10:27:32 +10:00
bazel.bat initial Bazel conversion 2020-11-01 14:26:58 +10:00
BUILD.bazel Fix prettier after moving node_modules to repo dir (#1413) 2021-10-09 10:13:14 +10:00
Cargo.lock New TTS/AV tag handling (#1559) 2021-12-17 19:04:42 +10:00
Cargo.toml Garbage collect unused Fluent strings (#1482) 2021-11-12 18:19:01 +10:00
CONTRIBUTORS Update CONTRIBUTORS (#1527) 2021-12-05 12:33:40 +10:00
defs.bzl update to edition 2021 2021-11-18 20:51:10 +10:00
late_deps.bzl download wheels using rules_python 2021-10-15 16:02:26 +10:00
LICENSE move aqt_data into source folder; implement wheel building 2020-11-04 12:14:03 +10:00
package.json update Node deps 2021-12-03 20:35:53 +10:00
pkgkey.asc add public key for release signing 2018-09-18 10:40:45 +10:00
README.md fix build badge 2021-06-24 09:21:56 +10:00
repos.bzl update translations 2021-12-08 10:23:27 +10:00
run get PyQt working directly with ./run on macOS 2021-10-16 18:07:29 +10:00
run.bat enable Python warnings when running 2020-12-16 14:59:04 +10:00
SECURITY.md add SECURITY.md 2021-09-22 22:55:19 +10:00
WORKSPACE move node_modules into root folder [action required] 2021-10-07 11:42:27 +10:00
yarn.lock update Node deps 2021-12-03 20:35:53 +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.