Damien Elmes
9c4368ec32
experiment with repo/disk cache instead of output root
...
edit to trigger rebuild
2020-11-05 12:07:01 +10:00
Damien Elmes
e049062147
fix missing buildinfo on Windows
2020-11-05 11:21:27 +10:00
Damien Elmes
338836ebb9
cleanups
2020-11-05 11:21:13 +10:00
Damien Elmes
ad809943bf
fix backend_pb2 race
2020-11-05 11:02:40 +10:00
Damien Elmes
4f8b19dcfb
fix external consumption of ts rules, and simplify import path
2020-11-05 11:01:52 +10:00
Damien Elmes
54c4462292
support user bazelrc
2020-11-04 22:11:28 +10:00
Damien Elmes
d6e13ee28e
fix tests on Linux
2020-11-04 21:39:41 +10:00
Damien Elmes
507a17b9e0
unused import
2020-11-04 21:04:42 +10:00
Damien Elmes
c7939cdc5c
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
f738053c35
fixes for consuming rust lib from external repo
2020-11-04 19:20:49 +10:00
Damien Elmes
35066d6950
extract version from defs.bzl; gate buildhash on optimized build
2020-11-04 14:02:08 +10:00
Damien Elmes
f2e2ef6fc0
doc updates
2020-11-04 14:01:14 +10:00
Damien Elmes
e4ba941cf1
move aqt_data into source folder; implement wheel building
2020-11-04 12:14:03 +10:00
Damien Elmes
f0e3d29979
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
f24d80bac5
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
a001029961
add shallow_since to a bunch of git deps
2020-11-03 11:42:11 +10:00
Damien Elmes
6cde50e475
ues native roots with rustls
2020-11-03 10:42:20 +10:00
Damien Elmes
c6e6c8a54d
update env_logger, and minor dep updates
2020-11-03 09:04:57 +10:00
Damien Elmes
439ae181d7
README updates
2020-11-03 09:03:00 +10:00
Damien Elmes
c62e2e1e58
reqwest was missing default-features = false
...
Still needed until we fix OpenSSL compilation on Linux
2020-11-02 21:53:24 +10:00
Damien Elmes
9999ec8124
fix pywintypes issue when running tests on Windows
2020-11-02 21:36:01 +10:00
Damien Elmes
e32dbb4fa5
pin Python deps
2020-11-02 21:05:37 +10:00
Damien Elmes
efc69f59eb
pyqt5 -> pip/pyqt5
2020-11-02 19:22:23 +10:00
Alan Du
3d68b22962
Update to PyO3 0.12
...
+ cargo raze by Damien
2020-11-02 18:38:34 +10:00
Damien Elmes
f620bfc3bf
update rusqlite and pin-project
...
Thanks to Alan for the heads up
2020-11-02 18:26:19 +10:00
Damien Elmes
46f2b059a3
remote/ needs to be removed before updating
2020-11-02 18:25:50 +10:00
Damien Elmes
db0e0e78f8
update cargo deps; add script to copy them from rslib/
2020-11-02 18:17:26 +10:00
Damien Elmes
7c27c4b9a0
move backend.proto into rslib/
2020-11-02 16:28:31 +10:00
Damien Elmes
a7f403f0b0
rspy -> pylib/rsbridge
2020-11-02 15:21:12 +10:00
Damien Elmes
eb5616e527
test caching; disable broken Windows build for now
...
edit to re-run tests
2020-11-01 20:08:08 +10:00
Damien Elmes
99b20cbaa6
update CI
2020-11-01 16:33:40 +10:00
Damien Elmes
3632c22feb
clippy lint
2020-11-01 16:19:08 +10:00
Damien Elmes
44ac1e05b1
enforce eol normalization in gitattributes
2020-11-01 15:24:25 +10:00
Damien Elmes
7f8875293c
drop 3.7 support in CI
2020-11-01 15:05:28 +10:00
Damien Elmes
cfbbb69648
trailing newline .ftl check can happen at build time
...
Removes the need to build ripgrep for CI
2020-11-01 14:59:45 +10:00
Damien Elmes
f9171eb3d3
remove old makefiles
2020-11-01 14:41:01 +10:00
Damien Elmes
e40be43843
always return str in aqt_data_folder()
2020-11-01 14:38:13 +10:00
Damien Elmes
ce3b08ac58
initial Bazel conversion
...
Running and testing should be working on the three platforms, but
there's still a fair bit that needs to be done:
- Wheel building + testing in a venv still needs to be implemented.
- Python requirements still need to be compiled with piptool and pinned;
need to compile on all platforms then merge
- Cargo deps in cargo/ and rslib/ need to be cleaned up, and ideally
unified into one place
- Currently using rustls to work around openssl compilation issues
on Linux, but this will break corporate proxies with custom SSL
authorities; need to conditionally use openssl or use
https://github.com/seanmonstar/reqwest/pull/1058
- Makefiles and docs still need cleaning up
- It may make sense to reparent ts/* to the top level, as we don't
nest the other modules under a specific language.
- rspy and pylib must always be updated in lock-step, so merging
rspy into pylib as a private module would simplify things.
- Merging desktop-ftl and mobile-ftl into the core ftl would make
managing and updating translations easier.
- Obsolete scripts need removing.
- And probably more.
2020-11-01 14:26:58 +10:00
Damien Elmes
4d861e4c95
Merge pull request #803 from RumovZ/fix-completer-focus
...
Work around Qt's focus bug (fix help-wanted#22)
2020-10-29 21:44:13 +10:00
RumovZ
6350850f1e
Space for author check
2020-10-29 12:30:40 +01:00
Damien Elmes
fc46426951
Merge pull request #804 from hgiesel/mime
...
Set MIME type for javascript files
2020-10-29 20:54:03 +10:00
Henrik Giesel
3a4036d59d
Set MIME type for javascript files
2020-10-26 23:32:38 +01:00
RumovZ
c3b6e1143a
Add author to CONTRIBUTORS
2020-10-24 11:02:18 +02:00
RumovZ
00a5a6ff33
Work around Qt's focus bug (fix help-wanted#22)
...
Manually hide the editor's completer popup before accepting a short cut which changes the focus widget. Thus, work around the bug in PyQt 5.15 where a QLineEdit with open QCompleter popup won't get notified about focus changes handled by the Main Window, leading to inconsistent focus.
2020-10-24 10:47:25 +02:00
Damien Elmes
4dcc596cb3
Merge pull request #802 from abdnh/ensure-non-empty-names
...
Ensure non-empty names in the backend
2020-10-23 07:14:06 +10:00
abdo
29d17bf608
Ensure non-empty names
...
https://github.com/ankitects/anki/pull/801/
2020-10-22 16:11:06 +03:00
abdo
96eadecdec
Use replace instead of strip
...
https://github.com/ankitects/anki/pull/801
2020-10-22 15:21:30 +03:00
Damien Elmes
2a5ad979a4
Merge pull request #801 from abdnh/strip-quotes
...
Strip double quotes from names
2020-10-22 21:47:30 +10:00
abdo
69da22a2b9
Strip double quotes from names
...
Strip double quotes from all kinds of names
https://github.com/ankitects/anki/pull/798
2020-10-21 21:48:49 +03:00
Damien Elmes
00a71b6499
Merge pull request #799 from hgiesel/cal
...
Introduce Browser.search_for and Browser.update_search
2020-10-21 21:31:21 +10:00