Commit graph

1080 commits

Author SHA1 Message Date
Damien Elmes
bc87e23e02 fix profile renaming 2012-09-06 02:24:41 +09:00
Damien Elmes
0f2eb2d056 don't warn about missing history if log > card reps
such a state will happen if same card reviewed in two locations, and is not an error
2012-09-04 06:52:34 +09:00
Damien Elmes
e2300abb82 don't error when editing options of filtered deck from deck list 2012-09-03 03:00:38 +09:00
Damien Elmes
f53a8f122e don't restore old position if we weren't in deck browser mode before 2012-09-03 02:42:11 +09:00
Damien Elmes
12f8526aac when refreshing deck browser, maintain position 2012-09-03 02:02:52 +09:00
Damien Elmes
2870d510d9 bump version 2012-08-30 23:19:29 +09:00
Damien Elmes
f72a99abf4 possible workaround for the win32 images issue 2012-08-30 22:28:49 +09:00
Damien Elmes
402aab88bf remove collapse item from menu 2012-08-28 12:58:25 +09:00
Damien Elmes
8732d7d34a bump version 2012-08-26 17:52:46 +09:00
Damien Elmes
6346e97e13 interval as '(learning)' in browser 2012-08-25 20:48:42 +09:00
Damien Elmes
73a7991940 fix a few osx shortcut tooltips 2012-08-25 13:44:49 +09:00
Damien Elmes
25dbe014b9 some tweaks to the collapse code
- don't show indicator for decks with no children
- make indicator fit in better
- skip the expensive due calculation when re-rendering
2012-08-25 13:40:09 +09:00
Damien Elmes
00fa1f363f Merge branch 'master' of github.com:dae/ankiqt 2012-08-25 13:22:40 +09:00
Damien Elmes
89ffc81cf7 open links in deck overview 2012-08-24 15:26:58 +09:00
Chris L
9a91345284 ankiqt collapse method
Seems to be a very popular request... here is a basic implementation
2012-08-23 21:29:45 -04:00
Damien Elmes
f2ea637520 bump version 2012-08-23 21:10:01 +09:00
Damien Elmes
3d227f27f2 report time studied at bottom of deck list 2012-08-23 21:09:16 +09:00
Damien Elmes
5e9f4f04a1 add initial factor back to dconf; unify capitalization 2012-08-23 21:07:25 +09:00
Damien Elmes
79d4d4d5c6 default to tab if user cancels delimeter selection 2012-08-23 20:08:57 +09:00
Damien Elmes
557c8e9ce4 hide accels in browser too 2012-08-23 20:02:31 +09:00
Damien Elmes
7c1178eed5 add "options" to deck list 2012-08-23 19:58:24 +09:00
Damien Elmes
6a32d870cf don't attempt to delete if no notes selected 2012-08-23 19:54:55 +09:00
Damien Elmes
5b30c7054a ensure we focus current deck when changing in add screen 2012-08-23 19:34:40 +09:00
Damien Elmes
828c3583b2 refuse to rename if folder exists 2012-08-23 19:26:46 +09:00
Damien Elmes
ce9b90b133 loadDeck() was obsolete 2012-08-23 19:06:02 +09:00
Damien Elmes
5d1376acb9 handle case where exception has no args 2012-08-23 18:53:57 +09:00
Damien Elmes
7be04bc2d5 represent interval multiplier as a % 2012-08-23 18:51:41 +09:00
Damien Elmes
449c41d38e ignore backspace key to delete cards if not on a mac 2012-08-23 17:09:16 +09:00
Damien Elmes
05a6671816 don't clobber order when checking for new cards in reposition 2012-08-23 15:09:36 +09:00
Damien Elmes
ea294ed47b eval js on cards 2012-08-23 14:01:48 +09:00
Damien Elmes
9926fbcdc5 e[0] in exception may be int 2012-08-23 13:54:39 +09:00
Damien Elmes
f1aac15f9e make sure to encode js errors before writing to console 2012-08-23 13:54:26 +09:00
Damien Elmes
ddd247ee26 allow the add cards dialog to be a bit thinner 2012-08-05 23:22:50 +09:00
Damien Elmes
a70abd7462 report # of cards deleted when reviewing 2012-08-03 20:30:19 +09:00
Damien Elmes
fde7db2d14 refuse to run on a unc drive 2012-08-01 12:12:09 +09:00
Damien Elmes
bc758220a7 importing from the command line
- a file path provided on the command line now will now trigger the import
  process
- if anki was already running on win/lin, send the import to that process
- if no profile was open, wait until profile opened before importing
- don't do that for password-protected profiles, as it could be used abusively
  in a school environment
- drop the old pid-based instance check
2012-07-28 13:01:41 +09:00
Damien Elmes
f7b41a11f6 make sure we write profile README in utf8 2012-07-28 11:13:34 +09:00
Damien Elmes
7796aaf4d5 refactor addon downloading into separate file 2012-07-24 17:00:25 +09:00
Damien Elmes
1788cd2fac as tmpfile() returns unicode now, shouldn't try to convert to unicode again 2012-07-19 17:41:52 +09:00
Damien Elmes
526578a11f bump version 2012-07-19 17:38:09 +09:00
Damien Elmes
ac8f04166c properly deal with python's broken unicode exception handling 2012-07-19 15:10:33 +09:00
Damien Elmes
43c8777c7f focus 'resume now' button 2012-07-19 13:52:56 +09:00
Damien Elmes
1d6bcd8a76 cmd+d on a mac 2012-07-19 13:17:38 +09:00
ospalh
95a7765e01 Fix unicode/ascii issue. 2012-07-16 10:32:45 +02:00
Damien Elmes
fa818afedd simplify audio playing and drop exclude 2012-07-15 16:42:18 +09:00
Damien Elmes
1860c77b89 allow downloading of https from clipboard 2012-07-15 16:41:55 +09:00
ospalh
fabe8572b9 Wrap the "Correct answer was" bit in a span with an id. 2012-07-05 16:15:17 +02:00
Damien Elmes
b1121ebfc1 bump version 2012-07-05 05:39:46 +09:00
Damien Elmes
c9906ccfc2 reset after change model so addcards reloads note and updates schema 2012-07-05 05:18:52 +09:00
Damien Elmes
0e15398686 reset() on model change 2012-07-05 04:55:54 +09:00
Damien Elmes
d4540e6197 change add tags shortcut to prevent conflict with latex 2012-07-05 03:36:48 +09:00
Damien Elmes
e83cd58e1f give the graphs window a maximize button 2012-07-05 00:47:43 +09:00
Damien Elmes
159067b950 fix 'underlying c++ object deleted' error in studydeck 2012-07-04 21:18:28 +09:00
Damien Elmes
fc8ee29ffd if user gets type answer wrong, show correct answer
Users could previously do that by putting the field in the template, but as so
many users think they've hit a bug when they've actually selected the wrong
field to compare to, we force the display of the field content instead.
2012-07-04 21:14:40 +09:00
Damien Elmes
b77ab05421 make sure we save tags regardless of where the focus is 2012-07-04 20:37:38 +09:00
Damien Elmes
61c577df85 on a sync conflict with a local empty deck, force download 2012-07-04 19:55:49 +09:00
Damien Elmes
c74e955615 deck option to replay answer only 2012-07-04 18:20:11 +09:00
Damien Elmes
3cd66f000f cram -> filtered 2012-07-03 00:05:17 +09:00
Damien Elmes
717c5b7176 fix removal of accelerators on osx+jp 2012-07-01 12:31:23 +09:00
Damien Elmes
8df69331a4 fix help in importing 2012-07-01 12:31:11 +09:00
Damien Elmes
dbc48f9f7a on ctrl+c, abort db transaction and roll back 2012-06-20 09:55:30 +09:00
Damien Elmes
3e84c03c1e "at least one card" 2012-06-20 09:35:29 +09:00
Damien Elmes
20333fc8e2 full stack trace on syncing error 2012-06-20 09:10:40 +09:00
Damien Elmes
a06858c9bb add option to disable updating; tweak import dialog 2012-06-15 02:55:48 +09:00
Damien Elmes
58a2391962 make sure to include current deck if creating filtered from shortcut 2012-06-15 02:36:47 +09:00
Damien Elmes
8a414fff29 don't throw error when invalid utf8 found in % escape 2012-06-15 02:19:33 +09:00
Damien Elmes
21f5132c0b when img/audio link pasted, convert to local 2012-06-15 00:53:08 +09:00
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