Damien Elmes
e635157ee4
move stats and sync buttons to the center
2017-06-23 14:03:18 +10:00
Damien Elmes
a3bdd04d42
set bgcol in ankiwebview
2017-06-23 13:07:59 +10:00
Damien Elmes
7af591cfd7
add cancel button to recording window
2017-06-23 13:04:32 +10:00
Damien Elmes
4967275973
bump version
2017-06-22 18:09:48 +10:00
Damien Elmes
1b41e68f05
remove gradients from toolbars in favour of system colour
2017-06-22 18:06:40 +10:00
Damien Elmes
a3fa2ff5ba
remove duplicate <html> in editor, set bg on page creation
2017-06-22 18:01:47 +10:00
Damien Elmes
59f877737e
start webview as transparent to reduce flicker
2017-06-22 18:01:01 +10:00
Damien Elmes
7d86984a12
turn off webview cache to reduce memory footprint
2017-06-22 17:06:33 +10:00
Damien Elmes
aa77df0805
give toolbars an approx height to reduce flashing at startup
2017-06-22 16:56:29 +10:00
Damien Elmes
aeaf9df32f
ensure only one copy of stats shown, and close with collection
2017-06-22 16:51:54 +10:00
Damien Elmes
34dcf64d76
another attempt at fixing key handling
...
we can't use an event filter on the top level webview, because it
ignores the return value of the filter and leads to Anki thinking
keys have been pressed twice
and if we use an event filter on the focusProxy(), the
keypress/release events are sent even when a text field is currently
focused, leading to shortcuts being triggered when typing in the answer
to solve this, we move away from handling the key press events
directly, and instead install shortcuts for the events we want to
trigger. in addition to the global shortcuts, each state can install
its own shortcuts, which we remove when transitioning to a new state
also remove the unused canFocus argument to ankiwebview, and accept a parent
argument as required by the code in forms/
2017-06-22 16:39:31 +10:00
Damien Elmes
22f2fdf7d6
fix esc key in type answer field
...
without the change, the selection disappears but typed characters
still go to the input area
2017-06-22 15:10:47 +10:00
Damien Elmes
ac81fefc14
add note about being an alpha
2017-06-14 11:59:58 +10:00
Damien Elmes
e93f4abcab
fix deck expanded state being reset
...
the setExpanded() call was triggering the callback, turning off
expanded state
https://anki.tenderapp.com/discussions/ankidesktop/23841-bug-when-editing-card-fields-decks-automatically-collapse
2017-06-14 11:43:47 +10:00
Damien Elmes
0abff36cfa
bump version
2017-06-07 13:31:16 +10:00
Damien Elmes
25cc3eceb5
make sure stats window starts focused on osx
2017-06-07 11:50:29 +10:00
Damien Elmes
017984c15c
fix crash when opening profile from profile manager
2017-06-06 16:09:15 +10:00
Damien Elmes
76e508e25d
various key handling fixes
...
- key presses while a webview is focused no longer make it to the
main window's keyPressEvent() routine, so AnkiWebView now uses its
event filter to pass the key events to the main window
- move the shared key handling out of keyPressEvent into
globalKeyHandler()
- make sure all key handling routines return true or false to
indicate if an event was handled or not
- remove focus when esc hit in the main window, to retain old
behaviour of allowing esc to clear focus from the type answer box
2017-06-06 15:56:21 +10:00
Damien Elmes
c24f122d6e
require qt 5.9
2017-06-06 14:33:53 +10:00
Damien Elmes
ca08b742fa
Revert "work around https://bugreports.qt.io/browse/QTBUG-54755 "
...
This reverts commit 0bd79abe11
.
2017-06-05 16:52:22 +10:00
Damien Elmes
e6c25b90e9
Merge pull request #189 from lukecwilliams/master
...
Fix issue where null tag list crashes Mnemosyne import
2017-06-02 21:59:08 +10:00
Luke Williams
9e375f1c7b
Fix issue where null tag list crashes Mnemosyne import
2017-05-30 17:38:39 -04:00
Damien Elmes
476aedbd6b
fix issues with 'lots of decks' msg
...
https://anki.tenderapp.com/discussions/beta-testing/460-anki-210-alpha-13#comment_42641183
2017-05-28 11:13:16 +10:00
Damien Elmes
7f7b8fc52f
make sure we don't use inherited ld_library_path when calling mplayer
2017-05-22 15:40:04 +10:00
Damien Elmes
e9104de197
add Guillem to about
2017-05-09 12:40:34 +10:00
Damien Elmes
1dd17e9f3a
when reviews have incorrect due date, make them due today
...
https://anki.tenderapp.com/discussions/ankidesktop/19394-strange-behavior-with-year-long-intervals#comment_42510830
2017-05-09 12:27:23 +10:00
Damien Elmes
22ca4c24de
Merge pull request #186 from wetriner/master
...
'QDialogButtonBox' object has no attribute 'finished'
2017-05-04 11:59:49 +10:00
Damien Elmes
02650a905a
Merge pull request #185 from ankitest/patch-11
...
What about this one?
2017-05-04 11:59:14 +10:00
wetriner
80418c0fb7
'QDialogButtonBox' object has no attribute 'finished'
2017-05-02 23:22:01 -10:00
Dmitry Mikheev
50736ecf1d
What about this one?
2017-05-03 13:55:24 +05:00
Damien Elmes
3991603bf4
Merge branch 'master' of github.com:dae/anki
2017-04-28 13:31:55 +10:00
Damien Elmes
8a2b1889aa
suggest users start with add-ons disabled to diagnose problem
2017-04-28 13:31:40 +10:00
Damien Elmes
0b0a4cb754
Merge pull request #183 from ankitest/patch-10
...
Otherwise showText never saves Geometry
2017-04-27 10:17:47 +10:00
Dmitry Mikheev
b5fac33cc4
Otherwise showText never saves Geometry
2017-04-27 01:25:16 +05:00
Damien Elmes
5bf0040838
fix errors when closing the main window with browser still open
...
onClose() was calling closeAllWindows(), which sends a close signal
to dialogs without force=True, causing them to fire an asynchronous
save event that calls back after the collection has been closed
instead we just rely on the fact that unloadCollection() closes all
collection windows
2017-04-26 11:22:17 +10:00
Damien Elmes
7f8f091a37
Merge branch 'master' of github.com:dae/anki
2017-04-22 10:19:49 +10:00
Damien Elmes
e7a00592c5
Merge pull request #182 from ankitest/patch-9
...
2make top webview accessable
2017-04-22 10:19:34 +10:00
Dmitry Mikheev
69fd37a5c4
2make top webview accessable
...
as well as main and bottom
2017-04-21 22:21:05 +05:00
Damien Elmes
a98c20a22f
bump version
2017-04-13 10:53:05 +10:00
Damien Elmes
43a662a250
hack around the browser not closing on sync
...
saveNow() must run asynchronously, but unloadCollection() was not
designed to. fix the issue by skipping the save, as it's unlikely
the user can move the cursor from the editor to the
main window and start a sync before the timer has automatically saved
the contents.
2017-04-12 18:40:37 +10:00
Damien Elmes
aa89d06304
Revert "don't rely on cwd in media.py"
...
This reverts commit 975ca90225
.
reverting for now as it breaks showing of images during review
2017-04-11 12:50:33 +10:00
Damien Elmes
783767be0d
Merge pull request #181 from Glutanimate/fix-previewer-navigation
...
Improve previewer navigation
2017-03-26 15:49:34 +10:00
Damien Elmes
bcdfeaa9c6
Merge pull request #180 from Glutanimate/preserve-tag-focus-in-browser
...
Preserve tag field focus when switching between cards in the browser
2017-03-26 15:49:03 +10:00
Glutanimate
a70e751238
Tweak previewer navigation behaviour
2017-03-24 17:09:16 +01:00
Glutanimate
0bcf60fea6
Tweak previewer navigation button display
2017-03-24 17:05:33 +01:00
Glutanimate
8f7f7db861
Preserve tag field focus when switching between cards
2017-03-24 16:23:48 +01:00
Damien Elmes
bb50976ce2
remove modeltest
2017-03-18 08:08:21 +09:00
Damien Elmes
17d68cc957
use a clearer name for fmtQA()
2017-03-14 15:48:40 +09:00
Damien Elmes
ef0a28f294
Merge pull request #179 from henrikh/fmtQA
...
Unify inline card formatting
2017-03-14 15:39:19 +09:00
Damien Elmes
e651191d63
Merge pull request #178 from KFGL/patch-1
...
Update README.md broken link
2017-03-14 15:29:23 +09:00