Damien Elmes
04b010a6d1
make sure we focus first field when adding next note ( #605 )
2013-05-22 12:54:29 +09:00
Damien Elmes
ddc01ad8e8
log deletions in text file
2013-05-22 12:27:37 +09:00
Damien Elmes
30507d9e29
when enter hit, close completer and don't complete ( #763 )
2013-05-22 12:03:30 +09:00
Damien Elmes
eb3df9a067
if add selected when card is filtered, use home deck as default ( #748 )
2013-05-22 11:51:42 +09:00
Damien Elmes
ad1e2a0291
add warning when over 25 decks
2013-05-22 11:44:18 +09:00
Damien Elmes
8594c65510
treat preview window as a separate main window
2013-05-22 10:08:39 +09:00
Damien Elmes
d44348ea47
remove broken accelerator from preview button; add tooltip
2013-05-22 10:04:34 +09:00
Damien Elmes
35764757eb
we shouldn't quote when adding media
...
- utf8/unicode is valid in the src string, provided we escape quotes
- and we escape when setting fields in the editor, leading to double escaping
if we do that
- and we strip quotes when adding
2013-05-22 09:19:33 +09:00
Damien Elmes
26f513a7a7
strip all non-src elements when copying&pasting images between fields
2013-05-22 09:09:50 +09:00
Damien Elmes
ea2dfaf59c
more exporting fixes
...
- make sure we default to last saved export location
- make sure we filter out backslash
- use fname not initial_path, because we're not passing in a path
2013-05-21 11:53:02 +09:00
Damien Elmes
246bd27eb3
Merge pull request #29 from hans/patch/618
...
default to deckname.apkg on single deck export (#618 )
2013-05-20 18:15:21 -07:00
Rob Hoelz
822e93c1d8
Add editFocusGained hook
2013-05-21 00:19:43 +02:00
Damien Elmes
b34404aa08
turn off autojunking
...
seems to give better results on long passages, eg
https://anki.tenderapp.com/discussions/ankidesktop/1108-the-typing-diffs-are-sometimes-less-than-helpful
2013-05-20 19:21:08 +09:00
Damien Elmes
1b12ff6fe5
add real example to card layout, and move hr like during review
2013-05-20 18:21:14 +09:00
Damien Elmes
d90652d0d6
a hack to ensure hr falls before answer comparsion
2013-05-20 17:56:01 +09:00
Damien Elmes
c3b0ae37aa
experimental type answer refactor
...
- when answer not correct, show both the given and correct string in separate
markup. we use red/green for the given string to indicate what was correct,
but we use grey rather than red on the correct string to indicate what was
missing, as red is misleading
- colours can now be customized in css with .typeGood, .typeBad and
.typeMissing
- answer now shown in monospace so given/correct lines up; can be customized
with code#typeans
- do away with 'correct answer was' text that people didn't like
2013-05-20 17:46:42 +09:00
Damien Elmes
f10b336fb9
need to strip trailing <br /> when saving fields
2013-05-20 15:38:05 +09:00
Hans Engel
58ee373a4f
Escape deck characters as necessary in suggested deck export path
2013-05-19 08:34:55 -07:00
Hans Engel
9707786eea
default to deckname.apkg on single deck export ( #618 )
2013-05-18 09:24:53 -07:00
Damien Elmes
7ae90d7f7d
prioritize html over images to fix MS issue ( #449 )
...
this means that copying&pasting images on linux/firefox will redownload the
image which is wasteful, but Windows users make up the majority of the
userbase
2013-05-18 18:38:32 +09:00
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