Damien Elmes
e2d50fbf71
safe mode won't work on 4.7
2013-05-18 18:19:35 +09:00
Damien Elmes
9ca8c660b0
make sure to update order when adding/deleting/changing option groups ( #675 )
2013-05-18 18:17:58 +09:00
Damien Elmes
85dfa4e5a4
ensure fmax>=fmin when rescheduling
2013-05-17 16:27:58 +09:00
Damien Elmes
61f69fd346
convert about to webview so we can scroll if too small
2013-05-17 16:09:24 +09:00
Damien Elmes
ebba215a9a
cloze deletion tweaks ( #601 )
...
- allow creation of cloze deletion when note type not selected; warn with
tooltip. prevents selection from getting lost
- warn before adding cloze note type with no deletions
2013-05-17 15:57:22 +09:00
Damien Elmes
205c6d4c38
add a 'safe mode' ( #797 )
2013-05-17 15:32:22 +09:00
Damien Elmes
a492e95aed
remove pyqtconfig usage ( #831 )
2013-05-17 15:17:04 +09:00
Damien Elmes
dd4bae6e8d
disable dragging of images in review window ( #420 )
...
webkit's default behaviour is to remove them from the media folder otherwise,
which we don't want
2013-05-17 15:01:01 +09:00
Damien Elmes
e367d04a08
print to console when existing copy running
2013-05-17 14:32:57 +09:00
Damien Elmes
dd9f1c53be
shortcut to jump to tags entry
2013-05-17 14:32:50 +09:00
Damien Elmes
400571306a
better warning when apkg invalid
2013-05-17 14:22:49 +09:00
Damien Elmes
0afce5f19a
support unc pathnames again
...
Turns out that WebKit does support UNC pathnames in the base tag, but it is
picky about the leading number of slashes.
2013-05-17 14:12:59 +09:00
Damien Elmes
273cb74e3d
separate messages for 50x errors
2013-05-17 13:58:38 +09:00
Damien Elmes
da66844f6b
canonify tags when saving, and strip quotes ( #794 )
2013-05-17 13:51:49 +09:00
Damien Elmes
e63c8e5619
force webkit to output <br> when enter pressed, instead of div
...
this should make it easier for mobile clients to convert into newlines
2013-05-17 13:22:58 +09:00
Damien Elmes
c45525179b
replacement order must be reversed
2013-05-17 11:46:51 +09:00
Damien Elmes
faddc59232
handle % as well ( #823 )
2013-05-17 11:38:34 +09:00
Damien Elmes
93717df30b
fix pasting/attaching with unicode chars ( #813 , #867 )
...
- treat # specially instead of quoting entire string, as urllib unfortunately
can't handle utf8 quoted text
- make sure we pass utf8 to quote() in _addMedia()
2013-05-17 11:34:15 +09:00
Damien Elmes
2ac2619527
don't shorten deck descriptions anymore ( #467 )
2013-05-16 18:05:10 +09:00
Damien Elmes
69e38b18e1
strip implicit span from copy&paste ( #777 )
2013-05-16 17:46:48 +09:00
Damien Elmes
23b5cbd13a
clearer options group warning ( #661 )
2013-05-16 16:50:48 +09:00
Damien Elmes
bbe248698a
correctly decode %-escaped utf8 when pasting ( #865 )
2013-05-16 16:41:20 +09:00
Damien Elmes
1efb03f16d
allow a few more audio formats in paste
2013-05-16 16:28:45 +09:00
Damien Elmes
518a61732e
fix main window coming to top after paste on win ( #456 )
2013-05-16 16:26:31 +09:00
Damien Elmes
e47da34cbc
fix drag&drop of images with # char ( #867 )
2013-05-16 16:22:23 +09:00
Damien Elmes
1fb0c73e91
fix crash on linux when pasting invalid url ( #858 )
2013-05-16 16:21:41 +09:00
Damien Elmes
3f6266a712
fix duplicate search in browser ( #855 )
2013-05-16 14:17:28 +09:00
Damien Elmes
254a2ecad6
allow canceling of note type selection ( #849 )
2013-05-16 13:56:21 +09:00
Damien Elmes
47e7f28779
make sure windows that are minimized are restored ( #853 )
2013-05-14 21:18:30 +09:00
Damien Elmes
3e08f09b07
export filename check should be on basename
2013-05-14 20:47:31 +09:00
Damien Elmes
7ca86e2dd7
make desktop folder if missing ( #851 )
2013-05-14 18:24:05 +09:00
Damien Elmes
ab198c46be
unify pre-check, sanity-check and upload error messages
2013-05-14 15:41:18 +09:00
Damien Elmes
79d4451299
move full sync into preferences, and remove maintenance menu
2013-05-14 15:27:40 +09:00
Damien Elmes
e913c75fd7
perform basic check prior to syncing
2013-05-14 15:10:58 +09:00
Damien Elmes
d2535fd6cb
run basic integrity check prior to full up
2013-05-13 19:36:09 +09:00
Damien Elmes
ac7bd4f736
fix i18n issue
2013-05-13 13:58:41 +09:00
Damien Elmes
ce99114dc3
more robust desktop location detection
2013-05-12 17:24:01 +09:00
Damien Elmes
f6f6537967
fix regression caused by preview code
...
we shouldn't blank out self.card when multiple cards selected, as a number of
other routines take it to mean the most recently selected card.
2013-05-10 15:02:58 +09:00
Damien Elmes
058f19b18d
update obsolote activated() signals
2013-05-10 14:49:21 +09:00
Damien Elmes
4884d0edf7
handle chrome's newlines in url issue and make sure to clean up progress
2013-05-09 15:34:16 +09:00
Damien Elmes
dbfe9529f9
fix race in preview mode, and fix preview shortcut keys in qt5
2013-05-09 15:32:30 +09:00
Damien Elmes
c8fd2e2f87
future imports must go at top
2013-05-07 18:30:17 +09:00
Damien Elmes
13cbade4a3
use future division in those aqt files too
2013-05-07 15:27:35 +09:00
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
ospalh
4ff2c76ecf
Turn method importing.ImportDialog._unicodeWarning() into a function.
2013-05-03 14:39:48 +02: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
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
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
340ed59b15
escape HTML when showing errors ( #828 )
2013-04-11 14:38:31 +09:00
Damien Elmes
3be7c998fc
fix inverted sub/superscript shortcuts ( #720 )
2013-04-11 14:26:17 +09:00
Damien Elmes
c437a38446
move card type deletion back to X on card tabs
2013-04-11 14:02:01 +09: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
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
Andreas Klauer
49404680e7
fix field outline overlaps with other fields
2013-03-03 01:07:35 +01:00
Andreas Klauer
5b768c03d2
surplus newline typo
2013-03-03 00:19:16 +01:00
Damien Elmes
ce16258499
add link to add-on forum in error
2013-03-01 15:13:56 +09:00
Damien Elmes
3584a8f004
fix "free variable 'mw'" error ( #284 )
2013-03-01 15:13:46 +09:00
Damien Elmes
e64d825730
fix some sync issues
...
- better error message when upload fails
- don't show success message on error
- fix 'unable to find server' accidentally being catchall
2013-03-01 01:36:14 +09:00
ospalh
6a93767f80
The longer full sync explanation was missing a backslash.
...
The "automatically" appeared on a line by itself.
2013-02-27 11:36:15 +01:00
Damien Elmes
ab5d521512
tweak sync conflict msg
2013-02-27 14:07:11 +09:00
Damien Elmes
8f8e3c3587
fix ext reference
2013-02-27 14:06:10 +09:00
Damien Elmes
c8d3d5a337
Merge branch 'master' of github.com:dae/anki
2013-02-26 19:11:56 +09:00
Damien Elmes
f13d0c329f
Merge pull request #17 from frostschutz/browser_tree_onclick
...
workaround for filter tree onclick not working (#729 )
2013-02-26 02:11:39 -08:00
Damien Elmes
487919fe6e
Merge branch 'master' of github.com:dae/anki
2013-02-26 18:41:56 +09:00
Andreas Klauer
6ddc276d57
workaround for filter tree onclick not working ( #729 )
2013-02-25 22:04:38 +01:00
Andreas Klauer
6562188ae8
Support combined file extensions (*.pau.gz instead of just *.gz)
2013-02-24 02:09:03 +01:00
Damien Elmes
aa98e75d39
Merge branch 'master' of github.com:dae/anki
2013-02-22 15:13:42 +09:00
Damien Elmes
8d2d998168
use question/answer for browser labels
...
by using a different label to the default front/back fields, it will hopefully make it clearer that a reversed card has the back side for the question
2013-02-22 11:13:59 +09:00
hut
370fd6507d
move parseArgs to the top of aqt.run()
...
By placing argument parsing at the top, we skip starting up all the QT
stuff when using options like --help or --version that cause the program
to exit anyway.
2013-02-21 20:55:37 +01:00
hut
4dc60e4f1e
added --version option
...
Every program should have this, really.
2013-02-21 20:54:13 +01:00
Damien Elmes
30cdbb5cea
uppercase options tooltip
2013-02-20 15:27:42 +09:00
Damien Elmes
a2ad76dbb4
default to current deck when selecting ( #693 )
2013-02-20 15:25:59 +09:00
Damien Elmes
83cbace080
use double quotes for browser search quoting ( #623 )
...
when I did a search of AW decks a while back, double quotes were far less
prevalent than single quotes. ideally we'll add a way of quoting them in the
future.
2013-02-20 15:15:27 +09:00
Damien Elmes
fa07268763
don't allow invalid chars in file export ( #694 )
2013-02-20 15:12:07 +09:00
Damien Elmes
7e74248901
allow enter to close change note type diag ( #651 )
2013-02-20 14:50:18 +09:00
Damien Elmes
c80d1209e6
don't die if suppressUpdate unset
2013-02-20 08:27:26 +09:00
Damien Elmes
d05331d31c
if global profile can't be loaded, start with new prefs.db
2013-02-15 08:59:44 +09:00
Damien Elmes
6415474db4
make sure we save when main window closed while not focused
2013-02-14 09:26:17 +09:00
Damien Elmes
45ae2cbbfb
another firewall error
2013-02-12 02:06:03 +09:00
Damien Elmes
295723ee8f
bump version
2013-02-11 06:05:43 +09:00
Damien Elmes
8ce6bd8b79
catch another firewall error
2013-02-07 19:58:17 +09:00
Damien Elmes
c67c932c64
make sure we switch back to old deck when filt. cancelled ( #338 )
2013-01-30 18:27:34 +09:00
Damien Elmes
983c9b21cf
fix reading being blanked when focused ( #605 )
2013-01-30 17:00:17 +09:00
Damien Elmes
bfeafe29d9
bump version
2013-01-29 10:05:51 +09:00
Damien Elmes
02531e1db3
fix focus note option ( #563 )
2013-01-29 09:49:04 +09:00
Damien Elmes
b1d9a39e36
suspend card option in reviewer
2013-01-29 09:46:17 +09:00
Damien Elmes
8a330820ed
fix link click triggering two page opens ( #592 )
2013-01-29 09:17:48 +09:00
Damien Elmes
073f129ab8
fix media sanity fail being identified as normal sanity error
2013-01-29 09:05:55 +09:00
Damien Elmes
6c97ab3508
allow qt4.6 with a warning
2013-01-29 09:02:58 +09:00
Damien Elmes
0055d31d04
block gui updates while painting browser rows
...
If we processEvents() in the middle of a QItemDelegate, the recursion can
cause a crash on some OSes
2013-01-29 06:45:29 +09:00
Damien Elmes
f54c2f7835
qt4.6 ruby workaround
2013-01-29 06:40:33 +09:00
Damien Elmes
5e8bb48c3a
disallow ctrl+shift etc as well to trigger links ( #590 )
2013-01-28 12:17:53 +09:00
Damien Elmes
14397e31e8
bump version
2013-01-23 15:30:33 +09:00
ospalh
588feaa35b
Add id to the text input field when editing the template.
...
Like this styling can be applied to id (or rather, the effect of styling to it can be seen in the layout editor.)
Also removed what looks like an extra '<center></center>'. That is added three lines later.
2013-01-18 16:46:25 +01:00
Damien Elmes
8d66578d43
move sanity check to server and automatically force full sync
...
- server will log mismatches so we don't require people to post on the forums
anymore or manually force a full sync
- if we find problems like missing notes, report that in the sanity check so
the server can keep track of problems
- when the server detects a conflict it can immediately abort the sync, so a
subsequent sync will no longer report a conflict
2013-01-18 09:17:12 +09:00
Damien Elmes
ead1f005ec
fix concat of mid searches
2013-01-15 10:26:54 +09:00
Damien Elmes
23650f6ee0
bump version
2013-01-15 08:51:14 +09:00
Damien Elmes
dec480844b
include filtered deck name in quotes
2013-01-15 08:09:02 +09:00
Damien Elmes
ca1c461348
only open web browser for links on deck description
...
otherwise clicking on 'more...' will open the web browser
2013-01-15 07:42:38 +09:00
Damien Elmes
ce2581269b
make sure we always turn error into unicode ( #488 )
2013-01-15 07:28:48 +09:00
Damien Elmes
3048a8e137
catch more unicode errors on import, and improve error msg
2013-01-15 07:10:26 +09:00
Damien Elmes
c3d7a63f7e
strip media when searching for duplicates
2013-01-15 06:25:21 +09:00
Damien Elmes
120c1d4136
match a single note type in browser even if duplicate names
2013-01-15 06:15:27 +09:00
Damien Elmes
22877fd789
make sure conf not applied to child filtered decks ( #490 )
2013-01-15 05:40:28 +09:00
Piotr Kubowicz
12bde7b40f
allow 'Studied 1 card in ...' to be translated properly
2013-01-13 20:20:17 +01:00
Damien Elmes
c335ea2cee
note type manager needs to ignore the default note type for current deck
2013-01-08 21:39:37 +09:00
Damien Elmes
ba23d7eb7b
bump version
2013-01-08 11:05:19 +09:00
Damien Elmes
1717e56831
disable editor buttons until field focused
2013-01-08 11:01:32 +09:00
Damien Elmes
444e02f568
default browser line font to system default
2013-01-08 10:44:46 +09:00
Damien Elmes
76988b6081
sort clone: note type items
2013-01-08 10:39:51 +09:00
Damien Elmes
cb8100c641
don't rename if note type rename cancelled
2013-01-08 10:38:23 +09:00
Damien Elmes
c6adf1dda8
set auth dialog to window modal
2013-01-08 10:36:04 +09:00
Damien Elmes
df961cc509
remember import mode
2013-01-08 10:32:41 +09:00
Damien Elmes
ab04c4e99d
mention other programs using mic
2013-01-08 10:27:34 +09:00
Damien Elmes
289f0a6452
automatically fix 1.2 errors when upgrading
2013-01-08 09:43:29 +09:00
Damien Elmes
0447cb4f41
fix issues with clozes and <% %>
2013-01-04 14:39:06 +09:00
Damien Elmes
caa4ee685a
Merge branch 'master' of github.com:dae/anki
2012-12-27 05:33:43 +09:00
Soren Bjornstad
96fd3de6e5
Apply same fix to "leech" as "marked".
...
"Leech" does not need to be displayed in the taglist as a tag, as it is
already listed as a special item further up the list.
2012-12-25 17:40:02 -06:00
Damien Elmes
1af487a1d4
patch from user broke stats button
2012-12-23 12:28:06 +09:00
Damien Elmes
32288a1bf6
bump version
2012-12-22 19:42:32 +09:00
Damien Elmes
ebda335273
fix paste of quoted url ( #351 )
2012-12-22 13:42:30 +09:00
Damien Elmes
be7b293b15
remember allowHTML setting
2012-12-22 13:18:28 +09:00
Damien Elmes
d11a1e0d54
allow browser font customization on a per-template basis
2012-12-22 10:10:52 +09:00
Damien Elmes
eced132aa2
don't lose selection when changing deck
2012-12-22 09:44:52 +09:00
Damien Elmes
b2457811a2
optimize imports
2012-12-22 09:17:10 +09:00
Damien Elmes
b84681c2fe
add cmd+w shortcut to add cards window & stats window
2012-12-22 09:11:29 +09:00
Damien Elmes
551c1cf662
don't autorepeat delete key during review
2012-12-22 08:51:21 +09:00
Damien Elmes
73f8d1a457
force full sync when restoring from backup
2012-12-22 08:34:11 +09:00
Damien Elmes
b5c6a77c9f
don't restore tags from model
2012-12-22 08:29:16 +09:00
Damien Elmes
ce4c62fcbb
add 'note types' to main menu
2012-12-22 08:21:24 +09:00