Commit graph

1113 commits

Author SHA1 Message Date
Damien Elmes
5032a7d507 utf+8 2012-06-11 19:55:15 +09:00
Damien Elmes
597f1dc16a Merge branch 'master' of github.com:dae/ankiqt 2012-06-05 05:11:24 +09:00
ospalh
0eaf03a9b3 Remove redundant connect to clicked().
A QDialogButtonBox::Close StandardButton has the RejectRole.
(http://doc.qt.nokia.com/4.7-snapshot/qdialogbuttonbox.html#StandardButton-enum)
So when that is clicked, that button’s clicked() signal
as well as the dialog’s rejected() signals are emitted.
Connecting EditCurrent’s onSave() to both was redundant.
It looks like calling onSave() twice was mostly harmless,
but not quite:
When closing the edit dialog, media on the edited card’s front side
were played twice (via moveToState ... Reviewer.showQuestion()).
So avoid that.
2012-06-04 16:19:59 +02:00
Damien Elmes
37cc94c2fa tweak README to avoid i18n warning 2012-06-03 20:27:32 +09:00
Damien Elmes
df89d6e4b9 bump version 2012-06-03 20:25:13 +09:00
Damien Elmes
8a7ece9ef9 if more than one card, add hint that styling is shared 2012-06-01 08:58:55 +09:00
Damien Elmes
91d5693bf7 after html edit, focus changed field so it gets saved 2012-05-31 19:02:16 +09:00
Damien Elmes
b41fc89b71 don't throw error when returning from Cards dialog with invalid search 2012-05-31 18:05:13 +09:00
Damien Elmes
32e40ae078 mark shortcut 2012-05-31 16:58:40 +09:00
Damien Elmes
8f19bbceff tweak colours again; shortcuts for tag add/remove 2012-05-31 16:55:44 +09:00
Damien Elmes
f6e79591ef catch upgradeRequired event 2012-05-30 16:09:38 +09:00
Damien Elmes
2a9c5c5229 prioritize marked over suspended
'Many of them are from earlier grammar lessons where I didn't know several
vocabulary words, so during reviews I suspend those cards. Others are leeches.
Occasionally I go through the list, and mark those that I'm ready to study.
Then I filter on marked, and do edit->reschedule. So during this process it's
hard to know which suspended cards I've marked already.'
2012-05-30 12:26:42 +09:00
Damien Elmes
dddaefd72a move tab removal into menu 2012-05-30 11:32:50 +09:00
Damien Elmes
46272de650 tweak colours 2012-05-30 11:26:09 +09:00
Damien Elmes
552567211b don't get text as separate window 2012-05-29 21:44:59 +09:00
Damien Elmes
6b28327448 remove the create button for now, to see if it's still needed 2012-05-29 21:36:07 +09:00
Damien Elmes
67cf37865c another workaround for the gtk+ theme 2012-05-29 21:32:25 +09:00
Damien Elmes
12abf27478 Merge branch 'master' of github.com:dae/ankiqt 2012-05-29 21:15:29 +09:00
ospalh
9d5bb7e5fa Quick work-around for a problem with Qt and certain too-smart window managers. 2012-05-29 09:40:59 +02:00
Damien Elmes
11b20b1e09 open with current card focused 2012-05-28 21:36:36 +09:00
Damien Elmes
e138e44397 don't force typing preview size 2012-05-28 21:05:26 +09:00
Damien Elmes
97965668ec "export" 2012-05-28 07:37:19 +09:00
Damien Elmes
97b645a7a0 add readme to base folder explaining folder moving 2012-05-27 14:44:53 +09:00
Damien Elmes
d495a66811 fix i18n of dupes string 2012-05-27 14:33:04 +09:00
Damien Elmes
580ea4fc0c bump version 2012-05-27 14:29:53 +09:00
Damien Elmes
588f394b78 don't hard-code column header size 2012-05-27 14:18:55 +09:00
Damien Elmes
e77c10ef3c work around badly behaved gtk+ theme 2012-05-27 14:12:47 +09:00
Damien Elmes
cb209fd86f scroll to top of question 2012-05-27 13:46:10 +09:00
Damien Elmes
c7c6204cf8 remove invalid ref to editFontSize 2012-05-27 13:26:08 +09:00
Damien Elmes
b3b5a41751 make sure edit current can be reopened 2012-05-27 13:18:04 +09:00
Damien Elmes
811707836b bump version 2012-05-27 00:17:17 +09:00
Damien Elmes
cf3b51c30c find duplicates 2012-05-27 00:11:59 +09:00
Damien Elmes
975ad62019 edit current window shouldn't be opened multiple times 2012-05-26 22:55:46 +09:00
Damien Elmes
5ab511e17a treat edit current as separate window on osx 2012-05-26 22:49:35 +09:00
Damien Elmes
064803bce7 overhaul font handling
- set the default webview font to the system font
- remove explicit font size settings in favour of the default
- remove card list size customization in favour of the default
2012-05-26 20:28:30 +09:00
Damien Elmes
a6c9c8203c rework to allow refresh of list when models added/removed 2012-05-26 20:25:09 +09:00
Damien Elmes
75b9e21661 make sure to remove matched character from search in studydeck 2012-05-26 20:14:07 +09:00
Damien Elmes
02ca7d4e95 focus on newly created profile 2012-05-26 17:19:06 +09:00
Damien Elmes
dfa0da5772 focus current profile 2012-05-26 17:18:09 +09:00
Damien Elmes
1051ba3e0b prevent stats on dyn decks 2012-05-26 16:44:08 +09:00
Damien Elmes
10cd5deba0 if no deck selected, don't show stats 2012-05-26 16:09:12 +09:00
Damien Elmes
719ded9efb accept separators 2012-05-26 15:11:08 +09:00
Damien Elmes
b25330a02e added today 2012-05-26 14:43:30 +09:00
Damien Elmes
bc79f7516a rating/ease 2012-05-26 13:14:47 +09:00
Damien Elmes
309f322fc6 use selected deck as default when creating new 2012-05-26 13:09:10 +09:00
Damien Elmes
4aaa85cfb0 select -> choose 2012-05-26 13:06:38 +09:00
Damien Elmes
f225bec50b make sure empty estimates don't reposition buttons 2012-05-25 11:55:02 +09:00
Damien Elmes
69da9b1e32 make sure to save and restore resched 2012-05-25 11:54:25 +09:00
Damien Elmes
ea93cf3b72 if steps disabled, make sure we reset conf 2012-05-25 11:52:40 +09:00
Damien Elmes
81b01f309c make sure we don't show 'add' in note type selection 2012-05-25 11:49:50 +09:00
Damien Elmes
043fc86fa7 show popup on first filter conf 2012-05-25 11:48:59 +09:00
Damien Elmes
eb395ac2c0 filter/cram shortcut is f 2012-05-25 11:44:56 +09:00
Damien Elmes
0491356536 'filtered deck 1' 2012-05-25 11:43:00 +09:00
Damien Elmes
99bb91d6d3 add spacing in add cards, unify wording 2012-05-25 11:41:34 +09:00
Damien Elmes
ea280de01e bump version 2012-05-25 11:37:27 +09:00
Damien Elmes
65f82176c9 add studied/again today 2012-05-25 11:32:29 +09:00
Damien Elmes
c71fa02e57 Revert ""card's note""
This reverts commit 617c3042c3.
2012-05-25 11:18:16 +09:00
Damien Elmes
03577285bb reword use current deck option in prefs 2012-05-25 10:07:05 +09:00
Damien Elmes
ffa9a7a642 help site is defined in libanki 2012-05-25 09:12:31 +09:00
Damien Elmes
937f0ac250 make sure user selects deck 2012-05-25 08:56:18 +09:00
Damien Elmes
2c836a7d62 add shortcut 2012-05-25 08:53:56 +09:00
Damien Elmes
1bac992c97 default to filter text when adding 2012-05-25 08:51:39 +09:00
Damien Elmes
2af392a1c6 Revert "using a filter for change deck means we need to create cards on the deck screen"
This reverts commit c8b414b95b.
2012-05-25 08:50:07 +09:00
Damien Elmes
8830d66d4c option to add new deck from studydeck 2012-05-25 08:49:50 +09:00
Damien Elmes
9068e68a66 allow double click in studydeck 2012-05-25 08:41:59 +09:00
Damien Elmes
e4c1132aef give a little separation to fields+cards 2012-05-24 22:28:05 +09:00
Damien Elmes
ebe313acf4 have to explicitly refocus field on next/prevcard 2012-05-24 22:26:20 +09:00
Damien Elmes
92696bf15e studydeck for importing too 2012-05-24 22:16:59 +09:00
Damien Elmes
c42865425a move deck selection to top of add cards 2012-05-24 22:12:09 +09:00
Damien Elmes
c3d990534e allow filtering of cram decks in studydeck 2012-05-24 22:04:36 +09:00
Damien Elmes
6a74d6627b use studydeck for deck selection 2012-05-24 20:30:11 +09:00
Damien Elmes
c8b414b95b using a filter for change deck means we need to create cards on the deck screen 2012-05-24 18:21:43 +09:00
Damien Elmes
d578a70cd0 refresh tree on deck/model update, not on card change 2012-05-24 18:21:24 +09:00
Damien Elmes
8b614c9be6 full search disabled for now 2012-05-24 15:34:00 +09:00
Damien Elmes
bf64e67913 warn when cram deck empty 2012-05-24 15:31:57 +09:00
Damien Elmes
eb491a7a55 presets 2012-05-24 15:26:28 +09:00
Damien Elmes
63a31dc7bd update cram for new properties 2012-05-24 14:19:25 +09:00
Damien Elmes
f836d8d9bb ivlFct and maxIvl 2012-05-24 14:10:47 +09:00
Damien Elmes
235fe8accb shortcut and tooltips for change deck 2012-05-24 12:51:46 +09:00
Damien Elmes
15a6c3d48b use quick search for changing deck 2012-05-24 12:48:00 +09:00
Damien Elmes
031dbcf6f8 remDyn -> emptyDyn 2012-05-24 12:41:28 +09:00
Damien Elmes
0fd0cfbfc6 start focused on current deck/model in quick search 2012-05-24 12:41:11 +09:00
Damien Elmes
5f082dfae5 remove print statement 2012-05-24 11:40:47 +09:00
Damien Elmes
3b6964c9c3 use {{FrontSide}} when flipping 2012-05-23 20:40:19 +09:00
Damien Elmes
528d29511b we need to tell libanki to sort now 2012-05-23 20:26:45 +09:00
Damien Elmes
2f6db69113 can't specify coding in unicode(except); convert traceback instead 2012-05-23 09:19:07 +09:00
Damien Elmes
4c398fc728 fix deck delete msg 2012-05-23 08:27:08 +09:00
Damien Elmes
6fa16ca72f catch attempt to import from anki 1.0.1 2012-05-23 08:24:11 +09:00
Damien Elmes
646116604c custom templates for browser display, move clayout buttons into dropdown 2012-05-22 15:36:31 +09:00
Damien Elmes
3705cedf33 don't show [[type:foo]] in browser 2012-05-22 15:08:48 +09:00
Damien Elmes
d6badeec0e make sure to resize on column toggle 2012-05-22 14:46:51 +09:00
Damien Elmes
20bbe355a3 support note type column, alphabetize 2012-05-22 14:43:44 +09:00
Damien Elmes
cf7ed9ea2f handle proxy config in libanki 2012-05-22 14:14:59 +09:00
Damien Elmes
d143a50358 platform-specific proxy pickup 2012-05-22 13:39:23 +09:00
Damien Elmes
1eaa6b9c1a make sure to update tags when not adding 2012-05-22 12:00:51 +09:00
Damien Elmes
617c3042c3 "card's note" 2012-05-22 11:59:53 +09:00
Damien Elmes
042833cf79 bump version 2012-05-22 10:39:20 +09:00
Damien Elmes
7ed26997bf bump version 2012-05-21 14:01:55 +09:00
Damien Elmes
82e0349d8f add filter to note type selection 2012-05-21 13:54:16 +09:00
Damien Elmes
0fac8755c9 don't call cleanup when resetting to same state 2012-05-21 13:19:45 +09:00
Damien Elmes
fc271e0f55 no 'all its cards' if empty 2012-05-21 13:10:17 +09:00
Damien Elmes
c964322915 no confirmation if deck is empty 2012-05-21 13:07:05 +09:00
Damien Elmes
f8a581b9c0 remember geom of models wind 2012-05-21 13:03:18 +09:00
Damien Elmes
7ebdf0f92d truncate start of history, not end of it 2012-05-21 12:57:03 +09:00
Damien Elmes
584b23cdcd "typing comparison" needs to be centered 2012-05-21 12:50:05 +09:00
Damien Elmes
88e7209a12 show correct due time of day lrn cards 2012-05-21 12:39:10 +09:00
Damien Elmes
e1084b15b0 make sure we set stretch on logical, not visual index 2012-05-21 12:37:50 +09:00
Damien Elmes
e55598eb26 mod deck when column added 2012-05-21 12:28:46 +09:00
Damien Elmes
f9a60b9bbc strip leading whitespace in answer 2012-05-21 12:14:18 +09:00
Damien Elmes
7449b0eb8b left align question/answer/sort field/template 2012-05-21 12:13:30 +09:00
Damien Elmes
b7fb620249 don't display question in answer column 2012-05-21 12:08:57 +09:00
Damien Elmes
0b7ebe59bb fix some unicode errors 2012-05-21 12:02:27 +09:00
Damien Elmes
9e71f7ae31 per-deck default model 2012-05-21 11:25:40 +09:00
Damien Elmes
d2fb8ac572 replace fi adjustment with ivl factor 2012-05-20 21:38:14 +09:00
Damien Elmes
2bb2a4f412 study more option when daily limits reached 2012-05-20 21:22:15 +09:00
Damien Elmes
a134338f5a fix custom proxy support 2012-05-20 18:29:11 +09:00
Damien Elmes
dfe7f5bf16 fix tags reverted on clayout 2012-05-20 17:54:11 +09:00
Damien Elmes
d93a85e28f skip jquery in clayout 2012-05-20 17:52:49 +09:00
Damien Elmes
4a235b96a5 filter/cram, add empty button 2012-05-20 17:33:22 +09:00
Damien Elmes
999e1ba401 don't throw error when lastCard() called on deleted card 2012-05-20 17:23:22 +09:00
Damien Elmes
4998e038bb instead of changing default deck on add, only set once 2012-05-20 17:12:16 +09:00
Damien Elmes
c918f6dd91 Revert "change current deck if user specified different one when adding"
This reverts commit 1794c69fe7.
2012-05-20 17:10:18 +09:00
Damien Elmes
d91f4279ae don't show [no deck] in add cards 2012-05-20 10:41:17 +09:00
Damien Elmes
47c89606a9 show dialog on cloze in wrong type 2012-05-19 16:20:39 +09:00
Damien Elmes
17bf03dfa2 add extra click zone after deck links; don't wrap 2012-05-19 13:25:04 +09:00
Damien Elmes
b1d3637557 catch read-only error 2012-05-18 06:09:59 +09:00
Damien Elmes
02b83025a7 localize specific deck etc 2012-05-18 04:58:46 +09:00
Damien Elmes
7069036b59 better image scaling on windows 2012-05-18 04:53:15 +09:00
Damien Elmes
7584bfe900 Merge pull request #16 from ospalh/strip-black
Strip “rgb(0, 0, 0)” from drag-and-dropped text.
2012-05-15 10:49:48 -07:00
ospalh
92e2b4afd0 Strip “rgb(0, 0, 0)” from drag-and-dropped text. 2012-05-15 14:48:24 +02:00
Randall Mason
6efc0c36a5 check for forms, not aqt.forms in error message 2012-05-14 17:17:46 +03:00
Damien Elmes
21d61be4c0 bump version 2012-05-14 07:12:25 +09:00
Damien Elmes
f22c65bdff model names are callable 2012-05-14 07:11:45 +09:00
Damien Elmes
08e8e6ac28 don't set deck button text for cloze 2012-05-14 06:53:30 +09:00
Damien Elmes
a2840f8ab7 indent child decks more 2012-05-14 06:48:50 +09:00
Damien Elmes
26e05e19c0 widen deck name input diags 2012-05-14 06:36:49 +09:00
Damien Elmes
56d41cc8dc fix edit %s i18n 2012-05-14 06:20:05 +09:00
Damien Elmes
1fa5d85ebc show different button if deck overriden 2012-05-14 06:18:39 +09:00
Damien Elmes
5970185301 honor the 'add to current deck' option in importer too 2012-05-14 05:57:46 +09:00
Damien Elmes
788a2f1989 suggest searching when sorting not possible 2012-05-14 05:53:26 +09:00
Damien Elmes
6304f85312 maintenance -> check database 2012-05-14 05:45:18 +09:00
Damien Elmes
caeeb289e1 ignore other non-alpha keys when showing completer 2012-05-14 05:38:45 +09:00
Damien Elmes
c79f273931 fix type answer preview in answer area 2012-05-14 05:29:55 +09:00
Damien Elmes
9345397859 ignore cloze hint when typing answer 2012-05-14 05:26:28 +09:00
Damien Elmes
8d60bcaf05 fix pid detection on windows 2012-05-14 04:59:21 +09:00
Damien Elmes
da0d5fb0d4 treat plugin text as utf8 2012-05-14 04:16:43 +09:00
Damien Elmes
f8c7f130a6 delayed eval no longer seems necessary 2012-05-14 03:29:38 +09:00
Damien Elmes
ae33ed2623 slightly darken current deck 2012-05-14 03:21:21 +09:00
Damien Elmes
1d5ddc6157 Merge branch 'master' of github.com:dae/ankiqt 2012-05-13 09:04:47 +09:00
Cayenne
0ff99d87be Included crammed cards in count for deck deletion warning
Previously, when a deck was being crammed, there was no warning about it
containing cards when it was deleted. Then when the cram deck was
deleted, which there is never any warning about, cards ended up
deckless without there ever having been any clear warning that that
would happen.
2012-05-10 23:27:55 -04:00
Damien Elmes
5d7dcad335 add svg to images 2012-05-11 07:03:55 +09:00
Damien Elmes
9af575395e bump version 2012-05-08 01:46:20 +09:00
Damien Elmes
07b859ff98 when context menu activated outside editor, show only copy 2012-05-08 01:45:41 +09:00
Damien Elmes
e99b5610c5 fix parent limit count 2012-05-08 01:39:37 +09:00
Damien Elmes
fc2c7c434c bump version 2012-05-06 20:13:17 +09:00
Damien Elmes
846297721c shared css 2012-05-06 20:04:04 +09:00
Damien Elmes
ef60eb4bba display warning when card has empty front 2012-05-06 19:00:39 +09:00
Damien Elmes
a878a5c7b4 focus editor area on drop so contents are saved 2012-05-06 18:53:06 +09:00
Damien Elmes
0b3291d589 show parent limit in options 2012-05-06 18:46:04 +09:00
Damien Elmes
21e1fc202c strip it before stripping html, so users trying to remember <img> can 2012-05-06 18:21:50 +09:00
Damien Elmes
60be7d3a95 strip media before comparing answer 2012-05-06 18:12:14 +09:00
Damien Elmes
f0b6a22f03 noteimp logs total itself; set import button to default 2012-05-06 17:53:46 +09:00
Damien Elmes
9fc3647842 1000+ 2012-05-06 15:13:27 +09:00
Damien Elmes
c6c938a262 remove insertHtmlOK hack; focus handling seems to have fixed this 2012-05-06 14:54:38 +09:00
Damien Elmes
ff28fdd189 when wrap called with empty selection, postion caret in middle 2012-05-06 14:53:33 +09:00
Damien Elmes
e7911652ef catch missing src in img 2012-05-06 12:45:25 +09:00
Damien Elmes
3500195290 fix for browser too 2012-05-06 02:22:49 +09:00
Damien Elmes
73fa390cbb dueTree() now gives us lrn separately 2012-05-06 02:21:46 +09:00
Damien Elmes
39eec87c0e bcard() 2012-05-06 02:21:33 +09:00
Damien Elmes
176158b97b debug console doesn't need to be modal 2012-05-06 01:41:44 +09:00
Damien Elmes
03f5a75749 card info shortcut 2012-05-06 01:19:24 +09:00
Damien Elmes
b08ba3cef2 don't show due date for cram card, as it's an invalid date 2012-05-06 01:02:13 +09:00
Damien Elmes
bbbd96b9bd shift+home/end 2012-05-05 18:52:37 +09:00
Damien Elmes
363fbad65f don't mark buried as suspended 2012-05-05 18:24:23 +09:00
Damien Elmes
1e8fa49b40 always write js errors to stdout, as users pull in bad js when pasting 2012-05-05 01:48:59 +09:00
Damien Elmes
50b3c1ddc6 reverse order of history 2012-05-05 01:45:00 +09:00
Damien Elmes
7c1761c4ff fix refresh timer firing during sync 2012-05-05 01:10:54 +09:00
Damien Elmes
6c0c6b5fec make sure to start the timebox from a click too 2012-05-05 00:10:20 +09:00
Damien Elmes
cfa95af722 copy/paste updates
- unify handling of shortcut key and context menu cut/copy/paste
- don't adjust selection on window/popup focus, so context works on win32 now
- remove undocumented shift to keep behaviour
2012-05-04 23:54:36 +09:00
Damien Elmes
1794c69fe7 change current deck if user specified different one when adding 2012-05-04 23:00:11 +09:00
Damien Elmes
b2ac7517ef add roland to about 2012-05-04 22:59:41 +09:00
Damien Elmes
aabede633b flag anki text on cut, too 2012-05-04 16:22:32 +09:00
Damien Elmes
b1ba96d517 add option to paste as pngs; compress pngs 2012-05-04 15:32:13 +09:00
Damien Elmes
2279704a11 Merge branch 'master' of github.com:dae/ankiqt 2012-05-04 14:31:07 +09:00
Damien Elmes
5d0ab749cb catch platform io error 2012-05-04 14:30:57 +09:00
ospalh
bc62c06e3c Open profile on double click 2012-05-02 19:20:29 +02:00
Damien Elmes
c5297afad4 save->close 2012-05-02 13:19:07 +09:00
Damien Elmes
18d671c3a3 getdefaultlocale() can fail 2012-05-02 11:54:16 +09:00
Damien Elmes
08a0bfccbe i18n tooltip 2012-05-02 11:54:05 +09:00
Damien Elmes
faf4e396f8 use libanki json 2012-04-28 17:58:28 +09:00
Damien Elmes
18945dd2fd catch mplayer error 2012-04-26 15:05:07 +09:00
Damien Elmes
0ee498ac4e widen type answer area 2012-04-25 21:01:54 +09:00
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