Commit graph

821 commits

Author SHA1 Message Date
Damien Elmes
f195b2f07c bump version 2012-04-25 13:51:02 +09:00
Damien Elmes
a9470d273c card deck -> deck 2012-04-25 13:27:12 +09:00
Damien Elmes
c1ea7f6d52 focus field on image click 2012-04-25 12:36:35 +09:00
Damien Elmes
e40c4483a9 filter html when pasting/dragging between fields 2012-04-25 12:21:06 +09:00
Damien Elmes
63990af4b2 fix drag & drop copying instead of cutting 2012-04-25 11:57:04 +09:00
Damien Elmes
bd2c109d15 more terminology updates 2012-04-25 11:44:13 +09:00
Damien Elmes
ee024a7252 work around win32 crash on resume 2012-04-25 11:05:45 +09:00
Damien Elmes
9209d34500 properly fix postmortem dump 2012-04-25 10:22:25 +09:00
Damien Elmes
2d11b6e7d7 allow statements in debug console 2012-04-25 10:12:17 +09:00
Damien Elmes
8d2a74a6b5 bug in debug invoc 2012-04-25 08:16:47 +09:00
Damien Elmes
86c890aa18 use separate window again for editor as it's still crashing on osx 2012-04-25 08:16:27 +09:00
Damien Elmes
a15b2fc557 bump version; disable context for windows for now 2012-04-24 15:51:45 +09:00
Damien Elmes
7bb31ee4c2 add cut/copy/paste context menu back 2012-04-24 15:46:13 +09:00
Damien Elmes
bae48af863 option to strip question audio when replaying answer 2012-04-24 15:36:15 +09:00
Damien Elmes
c308141339 basic pronunciation check 2012-04-24 15:32:01 +09:00
Damien Elmes
1d8fd1437b tweak wording 2012-04-24 13:42:12 +09:00
Damien Elmes
24ea85cbae tweak importing 2012-04-24 10:03:43 +09:00
Damien Elmes
04f32a7484 work around collapsing fields bug 2012-04-24 09:33:21 +09:00
Damien Elmes
0c23ee41bf refresh when tag added 2012-04-24 09:12:35 +09:00
Damien Elmes
954c5171e3 focus correct field on tab/backtab 2012-04-24 08:27:40 +09:00
Damien Elmes
3bbb6d3ddd accept delete/backspace when tableview focused 2012-04-24 08:07:30 +09:00
Damien Elmes
1cf1efa852 card dialog improvements
- clone current card instead of making empty one
- option to flip current card
- if opened from add screen, fill blank fields
2012-04-24 08:03:15 +09:00
Damien Elmes
b5c562d552 fix cmdline unicode profile 2012-04-24 06:58:18 +09:00
Damien Elmes
a85addc5d5 option to apply options group to all child decks 2012-04-24 05:49:49 +09:00
Damien Elmes
c3c9156fdb allow non-latin chars in profile names 2012-04-24 05:05:23 +09:00
Damien Elmes
35b366872b use a better font for field names 2012-04-24 03:10:23 +09:00
Damien Elmes
bddba8079e check for highest cloze across all fields 2012-04-24 02:10:11 +09:00
Damien Elmes
9c19fa8f69 show card count when deleting deck 2012-04-24 02:02:24 +09:00
Damien Elmes
7a1c4035da don't throw error when typing empty cloze 2012-04-24 01:51:10 +09:00
Damien Elmes
f898a787c9 fix refresh of deck browser, and don't run in profile screen 2012-04-24 01:42:42 +09:00
Damien Elmes
a02ab141ce add pdb postmortem flag; i18n csv seperators 2012-04-24 01:35:12 +09:00
Damien Elmes
c08b561f2f move forms check out of script root so we can report python3 error 2012-04-23 08:27:57 +09:00
Damien Elmes
e63370a602 make sure to save mark/unmark 2012-04-23 08:06:19 +09:00
Damien Elmes
e05dac2f8c bump version 2012-04-23 06:25:09 +09:00
Damien Elmes
2ad2244395 fix foreground colour issues
- use setFormat() again, as I can't reproduce crashes on any platform anymore,
  and wrap() didn't allow users to set a colour and then start typing.
- work around a qt bug where focus is not restored after native color dialog
  closes
2012-04-23 06:24:59 +09:00
Damien Elmes
7295bb829d rework saveNow() so html editor saves text properly 2012-04-23 05:43:23 +09:00
Damien Elmes
92b57fc739 fix graph loading 2012-04-23 05:37:36 +09:00
Damien Elmes
5cd6b830ed don't strip html when pasting from field to field 2012-04-23 04:52:18 +09:00
Damien Elmes
4b181d0cfb change the suspend shortcut to ! 2012-04-23 03:58:01 +09:00
Damien Elmes
3e1cc2f65d don't expand the deck browser more than necessary 2012-04-23 03:55:25 +09:00
Damien Elmes
b3093ad336 option to use current deck when adding 2012-04-23 03:49:32 +09:00
Damien Elmes
96b8b718e9 don't show answer in question column 2012-04-23 02:50:53 +09:00
Damien Elmes
ed41d040e7 don't wrap browser toolbar 2012-04-23 02:31:01 +09:00
Damien Elmes
74a092d9b1 move more startup routines after lang initialization 2012-04-23 01:55:47 +09:00
Damien Elmes
bf13b5d619 add more translatable strings; move reviewer actions to reviewer.py 2012-04-23 00:46:23 +09:00
Damien Elmes
608d2c77ba show indicator on marked cards; fix type answer bug 2012-04-22 11:24:39 +09:00
Damien Elmes
830d8ead25 add lastColour to profile 2012-04-22 10:54:49 +09:00
Damien Elmes
2cd7240fd2 add hook to editor button setup 2012-04-22 10:48:20 +09:00
Damien Elmes
803e3059c7 simplify colour handling
Instead of maintaining a list of recent colours, remember last colour and
provide the option of picking a different colour, like in MS Word/LibreOffice.
2012-04-22 10:25:30 +09:00
Damien Elmes
587b83b424 don't reshow the popup when ret hit 2012-04-22 09:45:40 +09:00
Damien Elmes
8b0f73a960 update due counts every 10 minutes while on overview/decklist 2012-04-22 09:29:15 +09:00
Damien Elmes
8ea44cb3bf fix typing of cloze answer 2012-04-22 09:12:45 +09:00
Damien Elmes
53f6dacf62 don't allow adding of cards to cram deck 2012-04-22 08:24:50 +09:00
Damien Elmes
f86d38d0f8 reset() after deleting empty cards 2012-04-22 08:20:47 +09:00
Damien Elmes
4866b5683e don't show study screen if current deck invalid 2012-04-22 08:16:36 +09:00
Damien Elmes
f480629ed1 show cloze count in preview, remove unneeded buttons 2012-04-22 08:13:38 +09:00
Damien Elmes
8a7c3a9f3c friendlify some error messages 2012-04-22 07:38:47 +09:00
Damien Elmes
fdbed4ba17 copy2->copyfile 2012-04-22 07:32:14 +09:00
Damien Elmes
1df641da6f always show deck browser on collection load 2012-04-22 07:13:31 +09:00
Damien Elmes
083caafd95 don't save the deck in add mode until the note is being added 2012-04-22 07:12:52 +09:00
Damien Elmes
55256d0f39 accept ctrl+alt+shift+c for reuse # cloze 2012-04-22 07:03:35 +09:00
Damien Elmes
a08776137b move to resetRequired on add/edit current 2012-04-22 07:00:54 +09:00
Damien Elmes
3abd433337 add options to delete and edit addons 2012-04-22 06:10:13 +09:00
Damien Elmes
69355be953 remove plugin enabling/disabling 2012-04-22 05:30:46 +09:00
Damien Elmes
e13a9bd21a check state before showing current card 2012-04-22 04:56:49 +09:00
Damien Elmes
a7491e6412 fix extra \n in msg 2012-04-22 03:30:25 +09:00
Damien Elmes
257460dee0 add default values to some dialogs 2012-04-22 00:18:40 +09:00
Damien Elmes
20dfa416d2 show # of decks using options group 2012-04-22 00:07:22 +09:00
Damien Elmes
003327bd73 add contributor 2012-04-21 23:59:01 +09:00
Damien Elmes
e4485d4198 honor include media option in export 2012-04-21 07:28:10 +09:00
Damien Elmes
bf4057ce98 don't make the empty cards dialog modal 2012-04-21 07:26:20 +09:00
Damien Elmes
dfbe5dbfa8 limit images in editor to the field size 2012-04-21 06:46:32 +09:00
Damien Elmes
1c2c1a62c6 KB -> kB 2012-04-21 00:31:19 +09:00
Damien Elmes
772f69154a show tooltips on edit, show answer & ease buttons 2012-04-21 00:26:23 +09:00
Damien Elmes
e3f5ff712d fix i18n of empty cards msg 2012-04-21 00:25:56 +09:00
Damien Elmes
07987dbe36 "Added" should be translatable 2012-04-21 00:25:44 +09:00
Damien Elmes
21d60086a8 don't allow final template to be deleted in empty note type 2012-04-20 22:37:20 +09:00
Damien Elmes
9fc21a61dc inline exceptions 2012-04-20 03:19:47 +09:00
Damien Elmes
e3a59f8cf7 add simple debug console 2012-04-20 03:05:59 +09:00
Damien Elmes
ff6abe2b9d strip reviewing card info into separate add-on 2012-04-20 02:16:21 +09:00
Damien Elmes
04cf8e9eb9 remove delete media option from prefs; too niche 2012-04-19 22:09:25 +09:00
Damien Elmes
ec16718584 don't throw error when preferences accessed via profiles screen 2012-04-19 20:38:11 +09:00
Damien Elmes
6f6378db4e bump version 2012-04-19 11:18:45 +09:00
Damien Elmes
c60a6560c1 split empty card removal into separate diag 2012-04-19 11:14:36 +09:00
Damien Elmes
fd2851ac1e show ordinal in cloze template name 2012-04-19 11:14:14 +09:00
Damien Elmes
91e59dc35b don't show tab add/close buttons in cloze model 2012-04-19 10:19:16 +09:00
Damien Elmes
b91b5babe2 don't show schema msg in deck upgrades 2012-04-19 08:16:02 +09:00
Damien Elmes
e2ed5b54c8 add home+end shortcuts 2012-04-19 07:12:20 +09:00
Damien Elmes
0a0190103f shortcuts should be uppercase 2012-04-19 06:29:14 +09:00
Damien Elmes
43880409f3 better fix for html in type answer
- compare in txt mode so things like < are treated as a single char
- escape text just before applying styles
2012-04-19 06:12:29 +09:00
Damien Elmes
23609c1175 Revert "escape HTML in type in the answer"
This reverts commit 8dbfd676ef.
2012-04-19 05:59:27 +09:00
Damien Elmes
c0de34120f add debugging shortcut 2012-04-19 05:52:49 +09:00
Damien Elmes
9628a83fe8 make sure completer is hidden when closing add tags diag 2012-04-19 03:47:45 +09:00
Damien Elmes
ee63a02936 hide the deck/tag completer on focus change 2012-04-19 03:45:48 +09:00
Damien Elmes
d6a949bc49 revert deck combobox change
This commit reverts c1a16452d6
2012-04-19 03:44:02 +09:00
Damien Elmes
2ab4667a73 translatable ankiweb signup page 2012-04-18 04:01:33 +09:00
Damien Elmes
d919615475 refactor language handling
Because Qt translations need to be initialized before any widgets are created,
and because the Qt language needs to match the gettext language in order for
translated shortcuts to work, per-profile language settings aren't possible.
So instead of storing the language in the profile, we use
pm.meta['defaultLang'] for all profiles and initialize language handling in
__init__.py

The language selection in the preferences has been removed, because in a
school setting a student fiddling with the language could potentially cause
other students to be unable to navigate the UI. Instead, Anki will accept
-l/--lang passed on the command line to override the original language chosen
at first program startup.
2012-04-18 03:06:56 +09:00
Damien Elmes
dbc004e0ef show # of empty cards to be deleted 2012-04-18 02:06:41 +09:00
Damien Elmes
7d5d81f79c use the default deck if model did invalid 2012-04-18 02:05:06 +09:00
Damien Elmes
df6f79fcc3 bundle qt translations 2012-04-18 01:04:07 +09:00