Commit Graph

940 Commits

Author SHA1 Message Date
Soren I. Bjornstad
28bb109ded only display "added duplicate" message once
Even if there are several (duplicate) notes in the collection that
match, only send the message once to avoid making it look like multiple
dupes have been added.
2014-06-19 17:19:56 -05:00
Soren I. Bjornstad
5e74976361 prevent nesting things under filtered decks
This change keeps drag-and-drop behavior the same except for displaying
an error if an otherwise acceptable move would nest anything underneath
a filtered deck.
2014-06-18 16:26:49 -05:00
Soren I. Bjornstad
ebcab2122d more helpful error message for corrupt collection package 2014-06-17 16:55:55 -05:00
Soren I. Bjornstad
8620b81817 add unchanged count to import log 2014-06-17 09:38:26 -05:00
Soren I. Bjornstad
4de023ecba check that save to desktop was successful before showing message 2014-06-17 08:44:26 -05:00
Soren I. Bjornstad
6771af40b1 fix error handling for selecting invalid file type
(The error was never appearing because the test was missing quotation
marks.)
2014-06-17 08:31:38 -05:00
Soren I. Bjornstad
e0777602db Merge branch 'master' of https://github.com/dae/anki 2014-06-17 08:14:49 -05:00
dae
1b646c1c8d mnemosyne changed version string in .db 2014-06-08 14:37:15 +09:00
dae
bc90904acd return success if media sync completes 2014-06-05 13:33:47 +09:00
dae
d358686c07 remove remote sync tests, as they can't be run by regular users 2014-06-03 18:22:29 +09:00
dae
54a85f6be7 disable broken unit test 2014-06-03 18:17:02 +09:00
dae
8491c907ba fix cloze order
must be next to Text now; will document
2014-06-03 18:05:09 +09:00
dae
24e83abe22 fix empty search in filtered deck
was broken by bbc8f75d70
2014-06-03 17:54:15 +09:00
dae
09253b661c getEmptyDeck() -> getEmptyCol() 2014-06-03 17:38:47 +09:00
dae
8cdfce4dd8 fix latex generation caused by bug in patch 2014-06-03 17:35:19 +09:00
dae
85488afb8f add TimedLog for debugging 2014-06-03 17:26:06 +09:00
dae
e5ed110d65 fix latex test 2014-06-03 17:25:43 +09:00
dae
cc4b9938c7 add note about latexCmds 2014-06-03 16:33:43 +09:00
dae
fc4f24ce59 don't default to a button in prefs dialog 2014-06-03 16:26:46 +09:00
Damien Elmes
201b03c4a4 Merge pull request #82 from black-silence/master
fix tooltip for inverted color schemes
2014-06-03 16:26:18 +09:00
Damien Elmes
4e41c61e73 Merge pull request #79 from joelmeyerhamme/patch-1
Expose latex command tool chain
2014-06-03 16:19:59 +09:00
black silence
4529fa4513 fix tooltip for inverted color schemes 2014-06-02 20:02:26 +02:00
dae
c89199aee9 Merge branch 'master' of https://github.com/hssm/anki 2014-05-28 17:42:27 +09:00
Houssam Salem
7fa346c2a2 Re-check favourites status on any text change
Updates the favourites button when the search text is updated programmatically as well as user input. Fixes a bug where using the recent search drop-down doesn't update the favourites button state correctly.
2014-05-27 07:04:10 +10:00
dae
2a26b8684e Merge branch 'master' of https://github.com/hssm/anki 2014-05-26 14:19:06 +09:00
Houssam Salem
7b62094ea0 Add odid fix to db check (#1035) 2014-05-26 15:11:47 +10:00
dae
8dd88c5f30 add m4a to usable formats 2014-05-25 20:02:24 +09:00
dae
cda86307c0 round cards/minute (thanks to Markus) 2014-05-25 14:55:29 +09:00
Houssam Salem
96a294039e Don't manually specify tab order.
The default order is more logical:
Text input -> Search -> Preview -> Results table
2014-05-25 11:06:30 +10:00
Houssam Salem
07426a883c Replace search lineEdit before we connect signals.
Avoids overriding the setup work we do on it.
2014-05-22 21:53:35 +10:00
Houssam Salem
6678e01c9b Merge branch 'master' of https://github.com/dae/anki 2014-05-22 21:46:51 +10:00
Damien Elmes
d25052a56f Merge pull request #80 from rubyu/fix-text-exporter
Fixes an issue fields are not being escaped in doExport().
2014-05-22 12:48:41 +09:00
rubyu
a83769b258 Fixes an issue fields are not being escaped in doExport(). 2014-05-21 14:52:43 +09:00
Joel Meyer-Hamme
980c68b2b0 Expose latex command tool chain
Dvi isn't compatible with quite a few Latex packages. I have been trying to include chemical formulas with the chemfig package. Exposing the tool chain to plugins would be very useful. For the record, I'm currently using:

´´´python
latexCmds = [
    ["pdflatex", "-interaction=nonstopmode", "tmp.tex"],
    ["pdflatex", "-interaction=nonstopmode", "tmp.tex"],
    ["pdfcrop", "tmp.pdf"],
    ["convert", "-density", "300", "tmp-crop.pdf", "tmp.png"]
]
´´´
2014-05-20 19:08:54 +02:00
Damien Elmes
7134da4cd6 enable houssam's fav code 2014-05-12 15:45:21 +09:00
Damien Elmes
380080416f Merge branch 'master' of https://github.com/hssm/anki 2014-05-12 15:34:12 +09:00
Damien Elmes
226b2dbbfd add chajadan's readme.dev note 2014-05-10 14:15:13 +09:00
Houssam Salem
fb2dc632b6 Merge remote-tracking branch 'dae/master' 2014-05-07 09:11:56 +10:00
Damien Elmes
bbc8f75d70 make sure OR clause doesn't allow suspended cards in filtered deck
fixes http://help.ankisrs.net/discussions/ankidesktop/6673-filter-decks-can-unsuspend-cards
2014-05-03 12:07:18 +09:00
Houssam Salem
bf37b7de7a Merge branch 'master' of https://github.com/dae/anki 2014-04-23 14:50:49 +10:00
Damien Elmes
b4c5215013 allow app modal again now that qt's been fixed 2014-04-23 08:20:00 +09:00
Damien Elmes
00dd291819 bump version 2014-04-23 08:16:45 +09:00
Damien Elmes
faaefa79a4 Merge pull request #75 from ispedals/winTestFixes
Close file descriptors before unlinking
2014-04-23 08:15:21 +09:00
Damien Elmes
0233ecdb38 Merge pull request #76 from sagittarian/state-change-hooks
Add hooks before and after a state change.
2014-04-23 08:15:17 +09:00
Adam Mesha
5629533b38 Add hooks before and after a state change.
Useful for plugin authors.
2014-04-22 01:20:48 +03:00
ispedals
bd289fc37e Close file descriptors before unlinking
Unlinking a file before closing may not be supported on non-POSIX systems
such as Windows. This allows more tests to run to completion.
2014-04-21 17:08:21 -04:00
Damien Elmes
fa57fd3ad9 don't fail if \n in cloze 2014-04-21 14:50:18 +09:00
Houssam Salem
d2d985d8e6 Merge remote-tracking branch 'dae/master' 2014-04-21 12:51:56 +10:00
Damien Elmes
89c9af7445 use default sample rate instead of forcing 44100
The 64 bit built of portaudio on OSX seems to generate a wav
file that says it's 44100 but is actually the default rate, leading
to samples playing too fast or slow.
2014-04-18 04:17:05 +09:00
Damien Elmes
88b0a36610 Merge branch 'master' of github.com:dae/anki 2014-04-18 03:28:49 +09:00