Damien Elmes
4bfbd2396a
do integrity check when closing collection
2013-05-07 15:27:35 +09:00
Damien Elmes
e48a9f998b
Merge pull request #28 from MichaelBlume/future-division
...
use futuristic division
2013-05-06 23:25:29 -07:00
Damien Elmes
e7d604a06e
allow overwriting existing files in export (thanks to Chris Burel)
2013-05-07 14:19:30 +09:00
Mike Blume
dcf097b55f
use futuristic division
...
Python used to use C-style division, where division of two ints was
truncated, and division involving a float resulted in a float.
This is confusing, because you often can't tell from looking at a
line of code in isolation what sort of division it's supposed to do.
With 'from __future__ import division' Python ensures that division is
always explicit.
// means (floored) integer division
/ means float division
regardless of argument types.
This should make the source a bit clearer now, as well as removing one
obstacle if Anki is ever ported to Python 3.
2013-05-05 11:09:16 -07:00
Damien Elmes
2c1194658e
remove unused onRevlog()
2013-05-04 15:45:57 +09:00
Damien Elmes
5951ccb09e
preliminary preview support
2013-05-04 15:45:57 +09:00
Damien Elmes
9875e26e06
make sure y axis starts at 0
...
https://anki.tenderapp.com/discussions/ankidesktop/793-strange-scaling-in-statistics-bar-bug
2013-05-04 15:45:57 +09:00
Damien Elmes
69dc430504
Merge pull request #27 from ospalh/fix-warning-method-function
...
Turn method importing.ImportDialog._unicodeWarning() into a function.
2013-05-03 23:45:31 -07:00
ospalh
4ff2c76ecf
Turn method importing.ImportDialog._unicodeWarning() into a function.
2013-05-03 14:39:48 +02:00
Damien Elmes
649d2b88ba
Merge pull request #26 from ospalh/fix-type-answer-in-comment
...
Check for self.typedAnswer only after it has been set.
2013-04-28 00:27:14 -07:00
ospalh
9239c62a42
Check for self.typedAnswer only after it has been set.
2013-04-27 16:12:03 +02:00
Damien Elmes
6ef7354fe2
typo
2013-04-24 12:42:56 +09:00
Damien Elmes
d4c5e5627b
Merge pull request #25 from ospalh/fix-unload-collection
...
Fix the return value of aqt.main.unloadCollection()
2013-04-23 20:40:39 -07:00
ospalh
a92aea1f27
Fix the return value of aqt.main.unloadCollection() (True if there is no col...
2013-04-23 15:42:27 +02:00
Damien Elmes
b571a4caa8
failure to find a field should not break entire query
...
https://anki.tenderapp.com/discussions/ankidesktop/656-unexpected-results-on-search-with-boolean-or-operator
2013-04-22 22:13:29 +09:00
Damien Elmes
fc2c772115
more qt5 mac fixes
...
- workaround for -psn_0 being passed in
- use fusion if plastique missing
2013-04-16 19:54:23 +09:00
Damien Elmes
ce9e09d4c5
changes for qt5 on mac
...
- setShown() -> setVisible()
- qt_mac_set_menubar_icons() no longer exported, use alternative method
2013-04-15 13:46:07 +09:00
Damien Elmes
0994bd332c
cancel sync if user elects to keep unsaved card content ( #705 )
2013-04-11 19:23:32 +09:00
Damien Elmes
c44cf32dc2
don't save note if no changes made ( #705 )
2013-04-11 19:20:23 +09:00
Damien Elmes
735a706bc1
fix import test file
2013-04-11 18:51:38 +09:00
Damien Elmes
ed9fba954e
handle extra attributes in imgs in condition repl ( #700 )
2013-04-11 18:34:53 +09:00
ospalh
d806f44484
Only the Mac file system stores file names NFD-normalized. So do that normalization only there when looking for files.
2013-04-11 17:37:06 +09:00
Damien Elmes
db262031c3
when target add deck changed, switch review deck too ( #695 )
2013-04-11 17:13:39 +09:00
Damien Elmes
dcf38f2f10
allow shift click for OR query ( #688 )
2013-04-11 17:07:08 +09:00
Damien Elmes
872cca14e9
tolerate html-commented type answer field ( #599 )
2013-04-11 16:55:24 +09:00
Damien Elmes
4da1abf86d
different text for creating deck ( #412 )
2013-04-11 15:49:10 +09:00
Damien Elmes
8fc4dcd50d
fix bugs introduced in previous #472 fix
2013-04-11 15:45:20 +09:00
Damien Elmes
827ed998ea
catch unicode errors in debug console ( #545 )
2013-04-11 15:25:59 +09:00
Damien Elmes
5e8f45f7e5
don't play audio twice when changing templates ( #472 )
...
- setting current tab index triggered the function, so we don't need to call
it manually
- no need to set index after adding card either, as it defaults to the most
recently added tab
2013-04-11 15:07:50 +09:00
Damien Elmes
65c9830bac
tooltip if study button inactive
2013-04-11 14:57:03 +09:00
Damien Elmes
55cd51c079
handle nbsp in furigana ( #327 )
2013-04-11 14:45:53 +09:00
Damien Elmes
340ed59b15
escape HTML when showing errors ( #828 )
2013-04-11 14:38:31 +09:00
Damien Elmes
a525d3c32c
make sure we don't chomp embedded newlines when clearing comments ( #722 )
2013-04-11 14:33:30 +09:00
Damien Elmes
3be7c998fc
fix inverted sub/superscript shortcuts ( #720 )
2013-04-11 14:26:17 +09:00
Damien Elmes
7957dff33f
make sure sort field updated when field deleted ( #737 )
2013-04-11 14:23:06 +09:00
Damien Elmes
f3f7835032
add upper bound to # of media files in single zip
2013-04-11 14:13:11 +09:00
Damien Elmes
c437a38446
move card type deletion back to X on card tabs
2013-04-11 14:02:01 +09:00
Damien Elmes
e8e1bd9550
allow HTML in mnemosyne import ( #774 )
2013-04-11 13:28:30 +09:00
Damien Elmes
bf1af126b0
properly generate clozed latex in unused media check ( #775 )
2013-04-11 13:26:52 +09:00
Damien Elmes
c681102476
Merge branch 'master' of github.com:dae/anki
2013-04-10 17:59:48 +09:00
Damien Elmes
6b3ab0f82b
Merge pull request #24 from flerda/hook
...
Remove the right hook.
2013-04-10 01:59:28 -07:00
Flavio Lerda
bc8b9d5110
Remove the right hook.
...
The code was removing a hook that was not added, with the result that
the hook was not actually being removed.
2013-04-09 22:58:04 +01:00
Damien Elmes
0b7344c84f
when showing time with no decimal, round not floor
2013-04-01 14:48:17 +09:00
Damien Elmes
9f5d23319d
check for dvipng in test
2013-03-16 06:40:03 +09:00
Damien Elmes
616e731e34
when given base on cmdline, get abspath
2013-03-12 09:24:46 +09:00
Damien Elmes
6483b79045
Merge branch 'master' of github.com:dae/anki
2013-03-04 11:12:25 +09:00
Damien Elmes
bf534e6521
Merge pull request #20 from frostschutz/editor_field_outline
...
fix field outline overlaps with other fields
2013-03-03 18:12:18 -08:00
Damien Elmes
c6af081cdd
Merge branch 'master' of github.com:dae/anki
2013-03-04 11:11:14 +09:00
Damien Elmes
6ebd52afbe
Merge pull request #19 from frostschutz/newline_typo
...
surplus newline typo
2013-03-03 18:09:54 -08:00
Andreas Klauer
49404680e7
fix field outline overlaps with other fields
2013-03-03 01:07:35 +01:00