Damien Elmes
b2ea4ee36c
fix click to expand/contract
2019-12-20 08:52:03 +10:00
Damien Elmes
5418af00f7
Revert "DeckManager: _checkDeckTree ignore case"
...
This reverts commit 9955048aec
.
This commit broke collections that had children under each of the
the duplicate names - it renames one of the decks, but the children
of the renamed deck are left without a parent, causing an error like
line 235, in deckDueList nlim = min(nlim, lims[p][0])\n\nKeyError('..)
Rather than a more complicated approach, I think it's safer just to
leave the case or normalization-differing decks around for now, and
we can normalize things properly in a future schema upgrade.
2019-12-20 08:18:01 +10:00
Damien Elmes
66406110f5
typing tweaks
2019-12-19 21:11:35 +10:00
Damien Elmes
5fbe9ff048
rebuild gui if any icons change
2019-12-19 21:11:27 +10:00
Damien Elmes
867136eace
faster sidebar implementation
...
- qtreewidget is too slow on Qt5
- expanding/collapsing still todo
2019-12-19 21:11:12 +10:00
Damien Elmes
18e60f7678
fix bug in editor ts conversion
2019-12-19 20:53:00 +10:00
Damien Elmes
2155e93bad
Revert "add signatures to calling code"
...
This reverts commit 441e279f6d
.
Pytype does catch the mentioned error without the extra annotations.
2019-12-19 11:39:40 +10:00
Damien Elmes
441e279f6d
add signatures to calling code
...
otherwise mypy ignores them. And even then, it's not smart enough
to notice self.mw.pm.setUiScale("foo") is invalid unless the
instance assignment in main has a type hint as well
2019-12-19 11:34:46 +10:00
Damien Elmes
3a4f94ab86
add UI scale preference
2019-12-19 09:58:16 +10:00
Damien Elmes
5ce3de0e98
setup profile earlier in startup, but defer warning message until qt init
2019-12-19 09:38:36 +10:00
Damien Elmes
c61bc8859c
split qt requirements out again
...
PyQt didn't used to split WebEngine out separately, and that can
cause conflicts with distro-provided packages.
2019-12-19 09:34:31 +10:00
Damien Elmes
06b2cb1875
update make instructions
2019-12-19 07:46:25 +10:00
Damien Elmes
99502e20ea
ignore buildhash when checking if tests need to be re-run
2019-12-18 21:06:47 +10:00
Damien Elmes
901c285a12
use single .gitignore file
2019-12-18 21:06:24 +10:00
Damien Elmes
c15f71071e
fix broken js building
...
- deps need to be defined before used
- incremental builds were not working properly
2019-12-18 17:56:58 +10:00
Damien Elmes
aab765292a
individual build rules need to depend on prereqs
2019-12-18 17:28:23 +10:00
Damien Elmes
71c0e23b77
do typecheck setup as part of prereqs install
2019-12-18 17:18:24 +10:00
Damien Elmes
52254e0176
avoid sudo in typecheck setup if possible
2019-12-18 17:14:44 +10:00
Damien Elmes
101f42f333
update travis make rules
...
race condition should be fixed - fingers crossed.
2019-12-18 16:37:13 +10:00
Damien Elmes
9d1d646a92
update docs
2019-12-18 16:16:44 +10:00
Damien Elmes
40418c3712
run prettier
2019-12-18 16:12:39 +10:00
Damien Elmes
d7d0d9bf88
add prettier, tidy up makefile
2019-12-18 16:12:02 +10:00
Damien Elmes
ecc5cb3c80
need to make sure reqs are installed before typechecking/setup
2019-12-18 15:21:36 +10:00
Damien Elmes
364f5582c6
add pyqt5 to deps
2019-12-18 15:13:07 +10:00
Damien Elmes
a98c0c6791
automatically install deps as part of build
2019-12-18 15:09:46 +10:00
Damien Elmes
9c05ca8429
fix usage of pip instead of apt-get
2019-12-18 15:09:05 +10:00
Damien Elmes
8a11745916
travis needs to install npm packages
2019-12-18 14:56:15 +10:00
Damien Elmes
685962faae
make checks depend on full build
2019-12-18 14:52:53 +10:00
Damien Elmes
dffa481da2
add npm to travis
2019-12-18 14:45:53 +10:00
Damien Elmes
e161e66d17
update docs
2019-12-18 14:43:40 +10:00
Damien Elmes
f3bfed82ef
compile typescript in one go
...
much faster, especially with --incremental
2019-12-18 14:33:57 +10:00
Damien Elmes
b676e484d3
update make clean
2019-12-18 13:57:04 +10:00
Damien Elmes
ddb4db0c96
editor
2019-12-18 13:55:52 +10:00
Damien Elmes
b3f6199827
reviewer
2019-12-18 13:32:32 +10:00
Damien Elmes
cdcf482913
reviewer-bottom
2019-12-18 13:27:39 +10:00
Damien Elmes
de29b02089
deckbrowser and overview
2019-12-18 13:21:58 +10:00
Damien Elmes
f080616eed
webview.ts
2019-12-18 13:02:11 +10:00
Damien Elmes
9b04a92df2
add typescript to build
2019-12-18 12:53:13 +10:00
Damien Elmes
9df10bb9ef
s/mypy/pytype/
2019-12-18 11:31:35 +10:00
Damien Elmes
0663c343b4
re-enable travis notifications
2019-12-18 11:23:07 +10:00
Damien Elmes
f7091d5273
update travis to use makefile
2019-12-18 11:13:23 +10:00
Damien Elmes
c1cbab0d23
avoid running checks/builds when nothing has changed
...
with some defaults taken from https://tech.davis-hansson.com/p/make/
2019-12-18 11:12:17 +10:00
Damien Elmes
ff6b58c265
opt in to qt's new non-integer scaling
2019-12-17 18:43:32 +10:00
Damien Elmes
b9f564f49a
change wrap() to wrap2() to avoid breaking add-ons
2019-12-17 18:27:41 +10:00
Damien Elmes
18a3ead1d2
disable help button in title bar
2019-12-17 17:59:19 +10:00
Damien Elmes
cfd78367d4
don't set local offset in server mode
2019-12-17 17:10:56 +10:00
Damien Elmes
df29061327
remove ruby tags when pasting without formatting
2019-12-17 07:19:15 +10:00
Damien Elmes
2921a5f195
Merge pull request #362 from elenderg/patch-1
...
Update editor.js
2019-12-17 07:18:30 +10:00
Elender
056f90bdea
Update editor.js
...
Added ruby and ruby text tags
2019-12-16 15:30:42 -03:00
Damien Elmes
c88e7913ee
attempt to fix travis build
...
I can't reproduce the current failure on a local machine with py3.7.
Seems to be related to a parent() method inherited from Qt. We don't
need the instance var in any case.
2019-12-16 21:17:32 +10:00