Damien Elmes
|
45f26ed255
|
convert nose decorators and helpers to nose2
|
2019-12-24 21:42:40 +10:00 |
|
Damien Elmes
|
e5da0bf84e
|
if base folder can't be written, defer displaying message until qt is ready
|
2019-12-24 20:33:39 +10:00 |
|
Damien Elmes
|
3e4f2598d4
|
fix failure to start on new install - lang init needs to be deferred
|
2019-12-24 20:24:07 +10:00 |
|
Damien Elmes
|
dda2b9deea
|
factor in user scale factor when calculating height
fixes top bar line not appearing, and possible fix for
https://anki.tenderapp.com/discussions/beta-testing/1685-black-bars
|
2019-12-24 20:15:47 +10:00 |
|
Damien Elmes
|
02ceab04e7
|
ignore dot files and generated files when determining rust deps
|
2019-12-24 19:57:55 +10:00 |
|
Damien Elmes
|
297fdc46d2
|
exclude generated proto files from isort
|
2019-12-24 19:57:55 +10:00 |
|
Damien Elmes
|
37791b2d55
|
comment out updatereqs speed test
|
2019-12-24 19:57:55 +10:00 |
|
Damien Elmes
|
7b7bf0737e
|
hack around race condition triggered in tests on win32
|
2019-12-24 19:57:55 +10:00 |
|
Damien Elmes
|
b3b3cb2e08
|
switch to nose2; nose looks to be on the way out
|
2019-12-24 19:57:55 +10:00 |
|
Damien Elmes
|
9a239fb9a0
|
remove unnecessary global from tests
|
2019-12-24 19:57:55 +10:00 |
|
Damien Elmes
|
a0590d9ed1
|
fix unit test on Windows
|
2019-12-24 19:57:54 +10:00 |
|
Damien Elmes
|
9923938925
|
if db lock fails, explicitly close database
on Windows at least, the database file otherwise remains locked after
an exception is raised on a read only file
|
2019-12-24 19:57:54 +10:00 |
|
Damien Elmes
|
ce19144920
|
update dev docs
|
2019-12-24 19:57:54 +10:00 |
|
Damien Elmes
|
7a91f2be64
|
generate type stubs for Protobuf; disable pylint on rsbridge
|
2019-12-24 19:57:54 +10:00 |
|
Damien Elmes
|
65db02ddde
|
switch to Google's (C++) Protobuf implementation
Brings the 100 field test down from 3 secs to 0.15 secs.
"betterproto" indeed!
|
2019-12-24 19:57:54 +10:00 |
|
Damien Elmes
|
4347f10bcc
|
compute template requirements in Rust
on a 100 field template, what took ~75 seconds now takes ~3 seconds.
|
2019-12-24 19:57:54 +10:00 |
|
Damien Elmes
|
54f438c999
|
in single field case, both 'any' and 'all' are equivalent
|
2019-12-24 19:57:54 +10:00 |
|
Damien Elmes
|
e05b77b083
|
use protobuf for python/rust bridge
If we go ahead with betterproto on the Python side, it will mean
bumping the minimum Python dependency to 3.7.
|
2019-12-24 19:57:54 +10:00 |
|
Damien Elmes
|
432f2d0fbd
|
add rust checks, and clean up the makefile
|
2019-12-24 19:57:54 +10:00 |
|
Damien Elmes
|
533129e639
|
split the rust code into a workspace
|
2019-12-24 19:57:54 +10:00 |
|
Damien Elmes
|
f85390437e
|
format
|
2019-12-24 19:57:54 +10:00 |
|
Damien Elmes
|
bd2e89a30b
|
speed up CI build
|
2019-12-24 19:57:54 +10:00 |
|
Damien Elmes
|
6d80cb92f2
|
venv fix for github
|
2019-12-24 19:57:54 +10:00 |
|
Damien Elmes
|
cb25035418
|
rename workflow file
|
2019-12-24 19:57:54 +10:00 |
|
Damien Elmes
|
349c5ba049
|
make it possible to implement functionality in Rust
|
2019-12-24 19:57:54 +10:00 |
|
Damien Elmes
|
dc84dd1006
|
Merge pull request #384 from glutanimate/fix-implicit-aqt-init-imports
Explicitly import non-qt modules that used to be imported from aqt.qt
|
2019-12-24 19:56:59 +10:00 |
|
Damien Elmes
|
74532ba0de
|
add type hint to models
|
2019-12-24 14:06:31 +10:00 |
|
Damien Elmes
|
fcb242090f
|
py-test needs to depend on test files
|
2019-12-24 10:46:02 +10:00 |
|
Damien Elmes
|
9ebc14f0c3
|
add temporary benchmark for updateReqs
|
2019-12-24 10:23:21 +10:00 |
|
Glutanimate
|
e8f38512b7
|
Explicitly import non-qt modules that used to be imported from aqt.qt
|
2019-12-23 14:37:27 +01:00 |
|
Damien Elmes
|
8e6efa4d0c
|
avoid unnecessary reinstall in requirements.check
|
2019-12-23 13:26:33 +10:00 |
|
Damien Elmes
|
4dd21c771c
|
fix editor broken by refactor
|
2019-12-23 12:51:13 +10:00 |
|
Damien Elmes
|
18419f9398
|
another pylint fix
|
2019-12-23 12:06:26 +10:00 |
|
Damien Elmes
|
9eb5162165
|
give up on pytype
the fix/check/fix cycle is infuriating slow
|
2019-12-23 11:58:26 +10:00 |
|
Damien Elmes
|
0398cd4bd7
|
fix pylint
|
2019-12-23 11:56:03 +10:00 |
|
Damien Elmes
|
5ca521cde9
|
update contrib docs
|
2019-12-23 11:38:58 +10:00 |
|
Damien Elmes
|
dfb3cd6444
|
fix some type errors/lints
|
2019-12-23 11:32:19 +10:00 |
|
Damien Elmes
|
51adc69734
|
use pylint that supports isort 5
when updating, make sure to pip install --reinstall requirements.check
|
2019-12-23 11:32:19 +10:00 |
|
Damien Elmes
|
9e245ae621
|
apply black to all files
|
2019-12-23 10:34:10 +10:00 |
|
Damien Elmes
|
79af342ee8
|
add black, update for new isort
people updating from a previous build, make sure you run
pip install --reinstall requirements.check
|
2019-12-23 10:31:47 +10:00 |
|
Damien Elmes
|
dd0bf6a544
|
Merge pull request #383 from agentydragon/all-ref
Move repeated calls to _renderQA into local function
|
2019-12-23 09:36:39 +10:00 |
|
Damien Elmes
|
c4b4f55a7a
|
Merge pull request #382 from agentydragon/whitespace
Whitespace reformat to force 80-character line limit
|
2019-12-23 09:35:56 +10:00 |
|
Damien Elmes
|
1fe0d5ff09
|
Merge pull request #381 from agentydragon/move-data-var
Merge 'data' variable into its only usage site
|
2019-12-23 09:35:34 +10:00 |
|
Damien Elmes
|
9c7207e018
|
Merge pull request #375 from agentydragon/stuff2
Use named tuple to represent QA data
|
2019-12-23 09:35:09 +10:00 |
|
Michal Pokorný (Rai)
|
090f11847e
|
Move repeated calls to _renderQA into local function
|
2019-12-23 00:32:09 +01:00 |
|
Michal Pokorný (Rai)
|
1c2e6666c4
|
Whitespace reformat to force 80-character line limit
|
2019-12-23 00:30:59 +01:00 |
|
Michal Pokorný (Rai)
|
02f3e8db98
|
Merge 'data' variable into its only usage site
|
2019-12-23 00:29:23 +01:00 |
|
Michal Pokorný (Rai)
|
c1e8e00bb4
|
Move QA data tuple into separate type alias
|
2019-12-23 00:27:14 +01:00 |
|
Damien Elmes
|
4f31a070be
|
Merge pull request #378 from agentydragon/types-utils
Add some type declarations in utils.py
|
2019-12-23 09:24:20 +10:00 |
|
Damien Elmes
|
c5d6b7e832
|
Merge pull request #377 from agentydragon/ref
Deduplicate some code in aqt/editor.py
|
2019-12-23 09:23:20 +10:00 |
|