Damien Elmes
6e3f971ae1
handle packaged pylib buildinfo.txt; drop aqt buildinfo
2020-11-11 10:33:49 +10:00
Damien Elmes
013d1d404a
add bazel version check for external consumers
2020-11-11 10:33:49 +10:00
Damien Elmes
e99c0dbe15
Merge pull request #793 from nwwt/object-audio-tags-support
...
Audio & object tag support
2020-11-11 10:33:31 +10:00
Andreas Reis
54f51da944
Allow <audio> to play without user interaction in accordance to autoplay setting
...
Since 2018, Chromium by default requires at least one user interaction with a page in order for sound to play. That's not what an Anki user expects.
So this commit undoes this by setting the policy accordingly if the deck's settings have autoplay set, so that files in <audio> tags (if they further have the autoplay attribute set / are jscripted accordingly) are treated the same as ones in [sound:…] elements. OFC, it's obviously not a good idea to mix both on one card.
(AnkiDroid's WebView has already been unconditionally ignoring the requirement since forever.)
2020-11-10 14:53:45 +01:00
Andreas Reis
e68a40f13e
cleanup / renames
...
・ soundRegexps → sound_regexps
・ htmlRegexps → html_media_regexps
・ HTML_TAGS → HTML_MEDIA_TAGS
・ escapeImages → escape_media_filenames + alias
・ strip_html_preserving_image_filenames → strip_html_preserving_media_filenames
2020-11-10 14:53:04 +01:00
Damien Elmes
e3eca1c563
bust CI cache
2020-11-10 09:48:42 +10:00
Damien Elmes
b74166bc78
update to cargo-raze 0.7.0 + latest deps
...
Gives us wildcard entries in raze.toml, and solves warnings about
unrecognized "raze" entries.
2020-11-10 09:48:42 +10:00
Damien Elmes
92e516c6b0
Merge pull request #811 from ianki/media_filters_head
...
Add hooks for filtering media.
2020-11-09 20:41:56 +10:00
ianki
c2901e4859
Add hooks for filtering media.
2020-11-09 02:12:23 -08:00
Damien Elmes
20f0c887eb
Merge pull request #814 from k12ish/master
...
Improve compatibility with graphics pad/touchscreen
2020-11-09 19:42:41 +10:00
Damien Elmes
b38218f7c6
Merge pull request #813 from RumovZ/fix-search-combos
...
Fix clicking filters with keyboard modifiers
2020-11-09 19:42:13 +10:00
Damien Elmes
e5059a5dff
update Windows CI
2020-11-09 19:09:23 +10:00
k12ish
cc5cb1eab6
Update CONTRIBUTORS
2020-11-08 18:49:12 +00:00
k12ish
da7063f16b
Revert "Update CONTRIBUTORS"
...
This reverts commit 78168c72ec
.
2020-11-08 18:38:02 +00:00
k12ish
78168c72ec
Update CONTRIBUTORS
2020-11-08 18:34:30 +00:00
k12ish
b592e20a3c
Improve compatibility with graphics pad/touchscreen
...
When using anki with a graphics pad, text is often selected on accident. This snippet of CSS will fix that issue
2020-11-08 18:14:37 +00:00
RumovZ
557616f36a
Fix clicking filters with keyboard modifiers
2020-11-08 11:05:11 +01:00
Damien Elmes
37695da713
fix missing QAudioDeviceInfo on macOS
2020-11-06 12:01:37 +10:00
Damien Elmes
ecab88d8c5
Merge pull request #808 from sobjornstad/reposition-highlight
...
Start with default value in reposition spinbox selected
2020-11-06 11:09:15 +10:00
Damien Elmes
96f77b4b5e
Merge pull request #805 from cecini/duecounts
...
align rslib get_subnode impl with anki pythonapi find_deck_in_tree
2020-11-06 10:57:49 +10:00
Damien Elmes
c157ccb3f5
handle notes with invalid utf8
2020-11-06 10:21:51 +10:00
Damien Elmes
96f6b94dba
disable Windows CI for now
2020-11-05 21:00:02 +10:00
Damien Elmes
61bf2f80eb
doc updates
2020-11-05 20:25:48 +10:00
Damien Elmes
c42325cb49
fix aqt version requirement; use py3 instead of cp38 tag
2020-11-05 20:25:08 +10:00
Damien Elmes
abf34b561e
Revert "remove gif-lfs"
...
This reverts commit 1c5b82ff75
.
Issue fixed.
2020-11-05 18:46:22 +10:00
Damien Elmes
bbdfd61eb8
packages.bzl -> repos.bzl; update rules_rust
2020-11-05 14:22:45 +10:00
Damien Elmes
1c5b82ff75
remove gif-lfs
...
https://github.com/actions/virtual-environments/issues/1983
2020-11-05 12:31:14 +10:00
Damien Elmes
6f95a7f3e2
migrate away from insecure add-path statement
2020-11-05 12:27:36 +10:00
Damien Elmes
38e4428c4a
gettext and bazelisk come standard on macOS runner
2020-11-05 12:24:10 +10:00
Damien Elmes
2efcf8a9d0
show Bazel timestamps in CI
2020-11-05 12:23:06 +10:00
Damien Elmes
9f215e2f7a
experiment with repo/disk cache instead of output root
...
edit to trigger rebuild
2020-11-05 12:07:01 +10:00
Damien Elmes
3f47ff9abd
fix missing buildinfo on Windows
2020-11-05 11:21:27 +10:00
Damien Elmes
29ae7480f2
cleanups
2020-11-05 11:21:13 +10:00
Damien Elmes
95317a4f17
fix backend_pb2 race
2020-11-05 11:02:40 +10:00
Damien Elmes
264dd8f1ea
fix external consumption of ts rules, and simplify import path
2020-11-05 11:01:52 +10:00
Damien Elmes
f93f01b3e9
support user bazelrc
2020-11-04 22:11:28 +10:00
Damien Elmes
ecfeb71195
fix tests on Linux
2020-11-04 21:39:41 +10:00
Damien Elmes
927a44e36e
unused import
2020-11-04 21:04:42 +10:00
Damien Elmes
02dfc19250
hash the lock files
...
GitHub's cache is not a great fit for Bazel, but this will do for now
2020-11-04 21:02:10 +10:00
Damien Elmes
f25af77122
fixes for consuming rust lib from external repo
2020-11-04 19:20:49 +10:00
Damien Elmes
c179a2b45b
extract version from defs.bzl; gate buildhash on optimized build
2020-11-04 14:02:08 +10:00
Damien Elmes
7cd2e9618f
doc updates
2020-11-04 14:01:14 +10:00
Damien Elmes
0d354da93a
move aqt_data into source folder; implement wheel building
2020-11-04 12:14:03 +10:00
Damien Elmes
9fe53ff549
switch to the stable Python ABI
...
Should allow the library to be imported in both Python 3.8+3.9.
2020-11-03 20:29:07 +10:00
Damien Elmes
3c12cb1600
update to latest fluent libs, and integrate maximum digit handling
...
We now limit number of digits in our formatter, instead of relying
on an upstream patch.
2020-11-03 14:10:45 +10:00
Damien Elmes
ef79596c5b
add shallow_since to a bunch of git deps
2020-11-03 11:42:11 +10:00
Soren Bjornstad
7277e9485a
start with default value in reposition text box highlighted
...
This saves a keystroke if you want to replace the default value. It's
hard to imagine a situation in which you would want to *prepend*
characters to the default value, as is the current behavior. If you want
to accept the default value, you can still hit enter or tab immediately.
2020-11-02 19:07:53 -06:00
Damien Elmes
8f5474bef0
ues native roots with rustls
2020-11-03 10:42:20 +10:00
Damien Elmes
e54bb9d1bf
update env_logger, and minor dep updates
2020-11-03 09:04:57 +10:00
Damien Elmes
27e720c6b8
README updates
2020-11-03 09:03:00 +10:00