Commit graph

3045 commits

Author SHA1 Message Date
Damien Elmes
03a0c9c0c5 don't allow UI scale < 100%
Both Windows and Linux installs fail to render properly when the scale
is below 100%:

https://anki.tenderapp.com/discussions/ankidesktop/38909-user-interface-size

Retina Macs do render properly, but they tend to display at appropriate
size out of the box anyway.
2020-03-06 19:33:09 +10:00
Damien Elmes
ef11819ae7 don't pick up system dark theme in -alternate Mac build
The older Qt doesn't support it properly
2020-03-06 19:33:02 +10:00
Damien Elmes
80fc7856fb change default night mode card background to dark grey 2020-03-06 19:32:48 +10:00
Damien Elmes
81271ba356 possible fix for race conditions in the sound code
https://anki.tenderapp.com/discussions/ankidesktop/39030-erro-ao-adicionar-arquivo-de-udio

the lock should at least ensure _process doesn't disappear in the
middle of our logic, and the longer wait should reduce the chances
of .stop() timing out and allowing multiple audio files to play

Not very happy with the current approach, as in the timeout case
you have multiple threads competing to access the same data
2020-03-06 19:29:31 +10:00
Damien Elmes
0d8b7a529f fix Deck field in card templates showing filtered deck
https://anki.tenderapp.com/discussions/ankidesktop/38984-deck-changed
2020-03-06 19:29:00 +10:00
BlueGreenMagick
86cb7c1d0f fix typo
<font> tag was closed by </span>
2020-03-06 19:27:22 +10:00
Damien Elmes
2b43e3203c pin fcntl, which went missing on Linux in a recent update 2020-03-06 19:26:14 +10:00
Damien Elmes
4b53271ad0 don't error when fuzz is 0
https://anki.tenderapp.com/discussions/ankidesktop/38956-bug-report-sched2-anki2120
2020-03-06 19:26:06 +10:00
Damien Elmes
8f2addcc86 fix legacy filter return values being ignored 2020-03-06 19:25:52 +10:00
Damien Elmes
e62d875bbd fix negative number in compat message 2020-03-06 19:25:40 +10:00
Damien Elmes
a638aa5975 set deployment target on Mac builds 2020-03-06 19:23:38 +10:00
Damien Elmes
47a1bf8b87
Merge pull request #446 from ijgnd/patch-1
small fix: store return value for hook in preview
2020-02-14 07:14:18 +10:00
ijgnd
d0ea2ad749
small fix: store return value for hook in preview 2020-02-13 18:51:11 +01:00
Damien Elmes
d0284f759d fix odd outline in replay button, and center align
https://anki.tenderapp.com/discussions/beta-testing/1708-anki-2120-beta#comment_48079637
2020-02-12 09:18:32 +10:00
Damien Elmes
bd9de51e82 study screen -> overview screen wording
This is a test change to see how Crowdin handles wording tweaks
2020-02-12 09:02:48 +10:00
Damien Elmes
a029ad9d45 update translations 2020-02-12 08:59:14 +10:00
Damien Elmes
4b0873cc9a constrain editor and reviewer image width to container width
view height still makes more sense in the reviewing screen so images
are relative to the window instead of the document
2020-02-12 08:33:55 +10:00
Damien Elmes
1c677bb9d4 night mode fix for find dupes screen 2020-02-12 08:28:33 +10:00
Damien Elmes
3425bee968 provide easy access to browser from preview/dupes handlers 2020-02-12 08:28:21 +10:00
Damien Elmes
2c4c8d4ab0 tweak wording 2020-02-12 08:14:16 +10:00
Damien Elmes
62c86b2cbe move export notes action to the notes menu 2020-02-12 08:09:12 +10:00
Damien Elmes
36201a5448 remove redundant declaration 2020-02-12 08:06:35 +10:00
Damien Elmes
6bd61d3d85 document annotations 2020-02-12 08:05:40 +10:00
Damien Elmes
60becbf480
Merge pull request #443 from Arthur-Milchior/exportFromBrowserInAnki
Export from browser in anki
2020-02-12 08:05:26 +10:00
Arthur Milchior
a087d0e4c4 Adding export option in Browser 2020-02-11 10:50:59 -08:00
Arthur Milchior
617043f632 browser._exporting 2020-02-11 10:50:59 -08:00
Arthur Milchior
272db65f0a Replace list of deck by "Browser Selection" 2020-02-11 10:50:59 -08:00
Arthur Milchior
a6567da259 if cards are selected, default is apkg 2020-02-11 10:50:59 -08:00
Arthur Milchior
b5fed631d5 deckIds return deck of selected cards 2020-02-11 10:50:59 -08:00
Arthur Milchior
e70a317ac5 ofCids: returns did of all cids 2020-02-11 10:50:59 -08:00
Arthur Milchior
d48111af68 inverse if/else in deckIds 2020-02-11 10:50:59 -08:00
Arthur Milchior
c02ff8593a cardIds return cids if it is set 2020-02-11 10:50:59 -08:00
Arthur Milchior
9fdc885d82 anki.exporter takes extra argument cids 2020-02-11 10:50:58 -08:00
Arthur Milchior
d8669835d8 aqt.exporter takes extra argument cid 2020-02-11 10:49:13 -08:00
Damien Elmes
af26922493 fix error when double-clicking open profile button
https://anki.tenderapp.com/discussions/ankidesktop/38670-bug-when-auto-sync-is-enabled-and-open-profile-button-is-double-clicked
2020-02-10 09:32:56 +10:00
Damien Elmes
072b64c819 work around HTML editor race condition on macOS
https://anki.tenderapp.com/discussions/beta-testing/1785-cant-see-html-boxes
2020-02-10 09:25:11 +10:00
Damien Elmes
ddebf5741d ensure the inverted images don't appear over toolbar 2020-02-09 09:30:37 +10:00
Damien Elmes
20c51555a1 support AnkiMobile's drawings in night mode 2020-02-09 09:20:08 +10:00
Damien Elmes
7fcb6b5672 pass instance to webview_did_receive_js_message instead of string 2020-02-09 08:59:29 +10:00
Damien Elmes
5bd67509ae
Merge pull request #441 from Arthur-Milchior/hookRefreshOverview
Allow to change main window when overview/deckbrowser is shown
2020-02-09 08:02:41 +10:00
Arthur Milchior
75a8ef832b Allow to change main window when overview/deckbrowser is shown 2020-02-08 08:09:12 -08:00
Damien Elmes
ed4731127d pylint fix 2020-02-08 15:49:41 +10:00
Damien Elmes
c42619efeb formatting 2020-02-08 15:48:42 +10:00
Damien Elmes
bd96c27096 show which side the template error occurred on 2020-02-08 11:54:08 +10:00
Damien Elmes
ed8c1ae9c5 clearer error when closing tags transposed 2020-02-08 10:32:34 +10:00
Damien Elmes
58c643d5bf fix rendering of question/answer column in browse screen 2020-02-08 09:29:34 +10:00
Damien Elmes
c8b794e6cc formatting 2020-02-07 17:55:26 +10:00
Damien Elmes
be6b8cd131 don't filter strong/em; sort list of tags 2020-02-07 17:55:17 +10:00
Damien Elmes
1fbd925f4c update translations 2020-02-07 13:26:15 +10:00
Damien Elmes
5b01f0dad1 more legible graph colours in night mode 2020-02-07 13:21:46 +10:00