Damien Elmes
1b6f5318e3
document extra formatter
2021-01-09 17:42:26 +10:00
Damien Elmes
b43515ceff
add .sql file formatter
...
Uses the logic from the sqltools VSCode add-on, with a workaround
for the use of 'type' in some table columns.
By detecting the presence of 'BUILD_WORKSPACE_DIRECTORY' we can tell
if the rule is running in test mode or was run directly, avoiding the
need for separate check and fix rules. It might be nice to extend this
to other formatting rules in the future as well.
2021-01-09 14:22:49 +10:00
Damien Elmes
f333c3332a
Make orjson optional again
...
While 32 bit platform support is probably not going to come back,
this allows Anki to run on other architectures orjson doesn't support.
2021-01-07 09:44:40 +10:00
Damien Elmes
792a2240fc
docs: musl and local node
2021-01-02 09:49:41 +10:00
Damien Elmes
e147dfa17f
add some Python source deps
2021-01-01 08:49:29 +10:00
Damien Elmes
1db4d0290f
add some porting notes
2020-12-31 14:03:38 +10:00
Damien Elmes
03dc6ac8fd
fix typo in docs
...
Thanks to Gustavo for the report
Closes #876
2020-12-30 13:54:27 +10:00
Damien Elmes
f33a001859
Merge pull request #868 from Arthur-Milchior/contributing_sh
...
Contributing shell code in backtick
2020-12-28 10:46:34 +10:00
Damien Elmes
992a20c05c
remove reference to 'make pull-i18n', it's no longer required
2020-12-27 18:26:14 +10:00
Arthur Milchior
154a99a15b
Contributing shell code in backtick
...
Currently, on ffd28e00e0/docs/contributing.md the
whole code is on a single line. Copying does not work, as the test is commented
2020-12-27 08:57:40 +01:00
Damien Elmes
4a039bd26a
use PYTHON_SYS_EXECUTABLE for setting path to Python
2020-12-23 21:53:13 +10:00
Damien Elmes
f0abd82e85
revert docs change; rollup issues occurred again in CI
2020-12-23 16:27:45 +10:00
Damien Elmes
1bdb1b9633
update to rules_nodejs 3.0.0
...
Seems to fix the rollup issues on Windows.
2020-12-23 16:05:15 +10:00
Damien Elmes
1185054ae8
mention deleting ts/node_modules in the docs
...
https://forums.ankiweb.net/t/strange-behaviour-in-the-html-editor/5796/6
2020-12-22 09:29:30 +10:00
Damien Elmes
b13f6d4931
document ANKI_PROFILE_CODE and add bazel command to run snakeviz
2020-12-17 12:03:24 +10:00
Damien Elmes
9f3659a1d3
use QtMultimedia for recording instead of PyAudio
...
The unmute-on-first-duration-change approach is to try to prevent
clicks/pops that can happen at the start of recordings. If it doesn't
solve the problem, we may need to drop down to the lower-level
QAudioInput().
Closes https://github.com/ankitects/help-wanted/issues/23
May fix https://forums.ankiweb.net/t/anki-crashes-periodically-after-clicking-record-audio-button/5824 ,
which I suspect was caused by processEvents()
2020-12-16 19:33:25 +10:00
Damien Elmes
42eb607d07
mention requirements.txt in editing docs
2020-12-16 15:38:02 +10:00
Damien Elmes
2f4ebe11e5
add some code editing/completion docs
2020-12-16 14:16:08 +10:00
Damien Elmes
11ac38d27b
document worker and disable it by default
2020-12-11 21:04:06 +10:00
Damien Elmes
471682df89
mention clang
2020-12-11 20:56:08 +10:00
Damien Elmes
880a9d2241
remove obsolete docker instructions
2020-12-10 20:34:48 +10:00
Damien Elmes
558d12849d
add note about ccache
...
https://forums.ankiweb.net/t/building-with-ccache/5677
2020-12-10 20:28:33 +10:00
Damien Elmes
51635ff7e4
simplify wheel building
2020-12-10 20:27:21 +10:00
Damien Elmes
3bb2ee3cf4
minor doc tweaks
2020-12-09 19:59:06 +10:00
Damien Elmes
d64f2304cd
remove unneeded activate from docs
2020-12-08 09:12:32 +10:00
Damien Elmes
e4fe32b65b
fix typo in docs
2020-12-08 09:08:51 +10:00
Damien Elmes
c9ec993d89
document issues with Python in /usr/local
2020-12-07 21:06:52 +10:00
Damien Elmes
0c935747b3
document optimized builds and add helper script
2020-12-07 11:50:03 +10:00
Damien Elmes
d799ffbe63
add explicit entry point to start Anki; update docs
2020-12-07 11:22:31 +10:00
W43GVG
bab5f2f575
Link for contribution help is updated
2020-12-06 21:45:57 +01:00
Damien Elmes
1653d1abf4
remove explicit python3.9 reference due to pylint
...
3.8 will be used if available
2020-12-02 11:23:01 +10:00
Damien Elmes
ebd1236ab0
strip out unused gettext refs
2020-11-18 13:22:51 +10:00
Damien Elmes
0d1f6f91c9
audio doc updates
...
[skip ci]
2020-11-13 09:14:12 +10:00
Damien Elmes
5e9cb92095
make 'bazel run ts:format' work
...
We're cheating a bit by having it fix files in qt's data folder
as well, but this makes it easier to share the config file.
2020-11-12 20:49:00 +10:00
Damien Elmes
a4af59fc4d
format_fix -> format; rename svelte-check for consistency
2020-11-12 20:19:32 +10:00
Damien Elmes
f2d25cdaf9
cleaning note is not specific to Windows
2020-11-12 20:06:35 +10:00
abdo
3969a74c2a
Update Windows docs
...
See https://github.com/ankitects/anki/pull/819/
2020-11-12 04:01:08 +03:00
Damien Elmes
db6d81858c
fix typo
...
[skip ci]
2020-11-11 22:17:37 +10:00
Damien Elmes
7f04e29834
Windows doc updates
2020-11-11 15:42:38 +10:00
Damien Elmes
fb21e89653
add pyqtwebengine to wheel deps and bump minimum required pyqt
2020-11-11 10:33:49 +10:00
Damien Elmes
e64093edda
doc updates
2020-11-05 20:25:48 +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
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
44ac1e05b1
enforce eol normalization in gitattributes
2020-11-01 15:24:25 +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