Commit graph

827 commits

Author SHA1 Message Date
Damien Elmes
5460e1d820 add filter for due 2009-05-06 13:40:19 +09:00
Damien Elmes
7c1bce9f43 replace _ with space for models/templates too 2009-05-06 13:35:55 +09:00
Damien Elmes
595dce821b fix bug deleting current model in deck properties 2009-05-06 13:05:09 +09:00
Damien Elmes
c87bf9a3b8 remove unused lock import 2009-05-02 15:18:29 +09:00
Damien Elmes
0be6b2965d workaround for setEnabled() recursively calling setBusy() 2009-05-02 15:17:56 +09:00
Damien Elmes
8ff716be64 catch db access in progress handler 2009-05-02 05:42:52 +09:00
Damien Elmes
ec684b6367 ignore focusout event if in db handler 2009-05-02 05:30:50 +09:00
Damien Elmes
baf3ceeef6 give full traceback if import fails 2009-05-02 04:18:47 +09:00
Damien Elmes
ab1f923387 set focus on show answer button to avoid double tap 2009-05-01 04:36:50 +09:00
Damien Elmes
ac9b8f96c2 Merge branch 'master' of git://github.com/sanna/ankiqt
Conflicts:

	ankiqt/locale/ankiqt_pl_PL.po
2009-04-30 21:57:26 +09:00
Susanna Björverud
dc25ec8e13 Split up two long texts
Split up session options and its tooltip consisting of interlaced html and strings to translate into
strings that should and need not be translated.
2009-04-30 11:40:03 +02:00
Damien Elmes
7c6625ada6 modelproperties & translation patch from piotr 2009-04-30 12:13:07 +09:00
Damien Elmes
d113600887 model>template in modelproperties 2009-04-30 05:25:26 +09:00
Damien Elmes
b7a3a35c90 fix translations in deckproperties from piotr 2009-04-30 05:23:22 +09:00
Damien Elmes
c608ed5e42 workaround for tag completion breakage on qt 4.5.1 2009-04-30 05:13:26 +09:00
Damien Elmes
4bfdc04ac0 fix exporting packaged decks w/ media on win32 2009-04-29 15:40:37 +09:00
Damien Elmes
be93b007ab if in the study screen, just refresh instead of moving to congrats 2009-04-29 12:49:49 +09:00
Damien Elmes
2915a36a71 rebuild the queue before start of study, so new card modulus is fixed 2009-04-29 12:43:43 +09:00
Damien Elmes
b6305085e8 add bury fact option 2009-04-29 12:14:36 +09:00
Damien Elmes
0ddc1d7d72 accept space no matter what is focused, don't focus show answer as faster 2009-04-29 11:02:15 +09:00
Damien Elmes
c9044f6d64 add accidentally deleted line 2009-04-29 10:06:57 +09:00
Damien Elmes
c71c2c90c6 add option to prevent edits while question shown 2009-04-29 10:01:31 +09:00
Damien Elmes
b2c90a2146 don't set combobox back to <filter> unless the tag has been changed 2009-04-29 09:41:21 +09:00
Damien Elmes
c58c6d9ca9 improve filter dropdown box; add icons 2009-04-29 09:32:53 +09:00
Damien Elmes
94d7a74bca add object name for type answer field 2009-04-29 07:12:08 +09:00
Damien Elmes
94dddb6531 fix images in preview, typo in hook code 2009-04-28 17:56:01 +09:00
Damien Elmes
fde70d80ce update search when current card deleted 2009-04-28 17:55:42 +09:00
Damien Elmes
cafe070624 fix reference to isCramming 2009-04-25 21:38:18 +09:00
Damien Elmes
d0f918cdb0 add tooltip to study stats 2009-04-25 20:06:31 +09:00
Damien Elmes
0b7c8bcecc fix double-click to select 2009-04-25 19:18:07 +09:00
Damien Elmes
a41cfb88ec update bottom area of downloads when searching 2009-04-25 03:18:49 +09:00
Damien Elmes
96cac67ea6 set focus on search after downloaded data 2009-04-25 03:16:36 +09:00
Damien Elmes
c32a230766 don't lower tags, it causes problems for foreign characters 2009-04-25 03:04:06 +09:00
Damien Elmes
b1b6d322df fix startup when no deck available 2009-04-25 02:45:11 +09:00
Damien Elmes
4fd65c37c5 refactor error handler to handle error messages in other threads, mention mplayer 2009-04-25 02:38:16 +09:00
Damien Elmes
29bbbe0416 use <base> instead of munging image urls 2009-04-25 02:17:00 +09:00
Damien Elmes
612eafc64a prevent double click except in chinese/japanese models 2009-04-25 01:18:44 +09:00
Damien Elmes
0534ce5d40 don't convert \n to <br> and vice versa in card templates 2009-04-25 01:16:06 +09:00
Damien Elmes
830c3aed10 import importing on startup 2009-04-25 01:10:27 +09:00
Damien Elmes
ec287445a5 set reviewing started at start to avoid errors 2009-04-23 17:54:47 +09:00
Damien Elmes
0c2f62acb5 set progress parent on add/remove cards too 2009-04-23 04:48:46 +09:00
Damien Elmes
d9d795af55 fix windParent in browser 2009-04-23 04:23:14 +09:00
Damien Elmes
92b19171f7 ensure tag order correct when suspending too 2009-04-23 04:18:03 +09:00
Damien Elmes
ccf96a04e1 when marking cards, ensure order is correct 2009-04-23 04:17:42 +09:00
Damien Elmes
1fe922fed4 prevent import in cramming, warn when editing in cramming 2009-04-23 03:54:28 +09:00
Damien Elmes
af2bd52003 increase cram randomization speed by a factor of 5, prevent add cards open on cram 2009-04-23 03:46:22 +09:00
Damien Elmes
2ab8b7a574 generalize tooltips, make sync no contact msg a tooltip 2009-04-23 02:30:08 +09:00
Damien Elmes
0a1658de24 improve sync error message 2009-04-23 02:08:12 +09:00
Damien Elmes
5540da95ef focus close button after import 2009-04-23 02:02:47 +09:00
Damien Elmes
b3ed9613ac hide group box after importing 2009-04-23 02:01:58 +09:00
Damien Elmes
16d0323965 handle randomize progress instead of in libanki 2009-04-23 01:58:53 +09:00
Damien Elmes
a3c5caa544 randomize/order when settings changed 2009-04-23 01:33:49 +09:00
Damien Elmes
763758d43f rely on setVar() to check if modified 2009-04-23 00:32:56 +09:00
Damien Elmes
c84f97c33c Revert "check if anki is already open and prompt user"
This reverts commit a05fc37d94.
2009-04-22 22:11:14 +09:00
Damien Elmes
93a20e13b6 fix timer hiding, fix session start time being reset 2009-04-22 22:11:01 +09:00
Damien Elmes
a05fc37d94 check if anki is already open and prompt user 2009-04-22 22:10:14 +09:00
Damien Elmes
9212d8053f place no lower limit on number of failed cards 2009-04-22 21:30:01 +09:00
Damien Elmes
1fbad4235a protect more timers 2009-04-21 02:49:41 +09:00
Damien Elmes
a422ddb57b experiment with standalone windows 2009-04-21 02:16:17 +09:00
Damien Elmes
36881da474 add charlene to about 2009-04-20 23:51:15 +09:00
Damien Elmes
97f0e2bb8b add mongolian translation from Charlene Barina 2009-04-20 23:48:04 +09:00
Damien Elmes
fc367de488 hack to fix latex position until qt4.5 becomes available 2009-04-19 00:20:56 +09:00
Damien Elmes
5d634e08fc fix width for darwin too 2009-04-19 00:10:10 +09:00
Damien Elmes
5988bb21b5 fix tag alignment on win32 2009-04-18 23:49:38 +09:00
Damien Elmes
1da04aca5d add browser font configurator 2009-04-18 23:27:01 +09:00
Damien Elmes
091b84956f fix searching when sorting by fact created 2009-04-18 19:54:04 +09:00
Damien Elmes
966effe37b auto-detect filename when importing 2009-04-18 19:38:51 +09:00
Damien Elmes
c2b99e2de6 add correct over a month to daily stats 2009-04-18 18:20:20 +09:00
Damien Elmes
fcba72e40d add shortcut key to close window on osx 2009-04-18 05:01:57 +09:00
Damien Elmes
c19c45ef4a fix inMainWindow() 2009-04-18 04:56:14 +09:00
Damien Elmes
39dbbe4489 add select all/none/invert buttons to active tags dialog 2009-04-18 04:46:22 +09:00
Damien Elmes
bb876ce3ed ignore enter in deck properties 2009-04-18 03:44:05 +09:00
Damien Elmes
a962a9fb51 document html editor shortcut 2009-04-18 03:27:51 +09:00
Damien Elmes
ef17e3b4c6 call a hook after creating a field 2009-04-18 03:20:54 +09:00
Damien Elmes
4d95b3487d scroll to top when adding, keep tags always shown, not tag up on field edit 2009-04-18 02:41:16 +09:00
Damien Elmes
e1b7da08e5 show study screen regardless of deck due or not, tweak 'initial' 2009-04-18 00:59:01 +09:00
Damien Elmes
513a23c251 don't mark deck changed in editor on open 2009-04-18 00:51:29 +09:00
Damien Elmes
87a86cbdde update contributors 2009-04-18 00:42:55 +09:00
Damien Elmes
b15bc9ef61 delay update of scroll widget, if change timer fires while deleting, delay 2009-04-17 23:19:05 +09:00
Damien Elmes
ba9279c126 suppress timers in db progress handler, disable UI during progress 2009-04-17 21:59:57 +09:00
Damien Elmes
f45fccb93f fix concurrent mod error when deleting card while edit current open 2009-04-16 17:43:54 +09:00
Damien Elmes
8259347f34 move errorOccurred up the top 2009-04-16 17:17:16 +09:00
Damien Elmes
783e9ceac9 fix statusbar corruption 2009-04-14 01:32:50 +09:00
Damien Elmes
029345e2a6 trailing whitespace 2009-04-14 01:25:25 +09:00
Damien Elmes
c239768d19 add 'sort by fact creation' 2009-04-13 12:43:24 +09:00
Damien Elmes
ecc54ea222 convert "_" to " " in tag list 2009-04-13 12:42:55 +09:00
Damien Elmes
6055f55f6b display the proper sync error 2009-04-11 01:48:08 +09:00
Damien Elmes
d6351c666d avoid setting new card/session limit if unchanged 2009-04-11 01:30:03 +09:00
Damien Elmes
54db92e6ab set the background colour in the preview dialog 2009-04-11 00:42:23 +09:00
Damien Elmes
c89356f6f1 only mark deck modified if study options changed 2009-04-10 23:28:25 +09:00
Damien Elmes
4d8446826a hide/show toolbar items depending on state 2009-04-10 23:10:15 +09:00
Damien Elmes
35dd5c9c51 relax sync check from 1 minute to 5 minutes 2009-04-10 22:34:47 +09:00
Damien Elmes
090161e69f fix tab order for remaining buttons 2009-04-10 22:28:45 +09:00
Damien Elmes
fd57313d74 Reverting "if add button is focused and fact is complete, add" 2009-04-10 22:26:53 +09:00
Damien Elmes
3819bedaf6 Merge branch 'master' of git://github.com/sanna/ankiqt 2009-04-10 00:16:01 +09:00
Damien Elmes
a528f71d5c refactor quoteImg() 2009-04-09 11:52:00 +09:00
Susanna Björverud
4c537ce952 Plural strings 2009-04-07 10:55:27 +02:00
Susanna Björverud
4d348544f9 Used ngettext on some strings 2009-04-07 08:41:06 +02:00
Susanna Björverud
42a23a8f55 Use ungettext instead of ngettext for unicode support 2009-04-07 08:32:36 +02:00
Damien Elmes
1e22d8b7c5 store editor ordering in deck, not config 2009-04-07 11:55:33 +09:00
Damien Elmes
56472da83f update stats in study screen too 2009-04-07 11:32:08 +09:00
Damien Elmes
9418b62c7a if the due counts are disabled, hide in titlebar too 2009-04-07 11:31:56 +09:00
Damien Elmes
8f2f01340a only trigger on keyboard focus 2009-04-07 09:45:59 +09:00
Damien Elmes
462b63576a if add button is focused and fact is complete, add 2009-04-07 09:36:43 +09:00
Damien Elmes
6c758babe0 add ngettext to ankiqt namespace 2009-04-07 08:44:10 +09:00
Damien Elmes
1567de9469 Merge branch 'master' of git://github.com/sanna/ankiqt 2009-04-07 08:40:28 +09:00
Susanna Björverud
03e6459d31 Updated window bar title to Browser for browser (aka editor) and updated Swedish translation 2009-04-07 00:17:21 +02:00
Damien Elmes
bdcac01aaa hide scrollbars in fact editor, use can use mouse wheel or keyboard 2009-04-06 23:34:46 +09:00
Damien Elmes
8bef7da517 fix bug where two cards are selected after delete 2009-04-06 23:27:58 +09:00
Damien Elmes
ee6eaeeaa6 force search updates if not triggered by user 2009-04-06 23:23:49 +09:00
Damien Elmes
14c67e7ab9 add cram in editor, rename editor to browser 2009-04-06 13:29:24 +09:00
Damien Elmes
ef32247f30 improve searching, don't trigger on space 2009-04-06 11:40:50 +09:00
Damien Elmes
95d907333e fix reading update, update colour button in all fact editor instances 2009-04-05 13:45:07 +09:00
Damien Elmes
6fa907f198 catch apple odoc load events 2009-04-04 13:45:38 +09:00
Damien Elmes
a6ee73decb lowercase search 2009-04-04 12:44:54 +09:00
Damien Elmes
150b489d26 use new search interface in libanki 2009-04-04 12:44:37 +09:00
Damien Elmes
cf910c19fa sort languages in preferences 2009-03-30 08:33:07 +09:00
Damien Elmes
f8d005fc3d implement suspended highlighting again 2009-03-29 11:45:51 +09:00
Damien Elmes
fe31d6fbd5 fix latex location on qt4.5 2009-03-29 11:37:26 +09:00
Damien Elmes
11d8e04356 add cardlist update back now that pyqt is fixed 2009-03-29 11:33:08 +09:00
Damien Elmes
a681817266 fix card marking 2009-03-29 03:58:00 +09:00
Damien Elmes
a601268d4c close(not hide) deck windows before deck close, remove stale hooks 2009-03-28 22:51:38 +09:00
Damien Elmes
a48f0fd649 don't do anything if study options clicked twice 2009-03-28 14:40:22 +09:00
Damien Elmes
3ef4b19b0e Revert "use a toggle to show study screen change"
This reverts commit 3b9435b192.
2009-03-28 14:39:09 +09:00
Damien Elmes
3b9435b192 use a toggle to show study screen change 2009-03-28 14:37:05 +09:00
Damien Elmes
ca6bc68b13 remove extra % 2009-03-25 11:09:37 +09:00
Susanna Björverud
e9b88dddd6 Use fmtPercentage to respect current locale decimal point, and split into smaller strings 2009-03-25 11:03:25 +09:00
Damien Elmes
aef0e521e8 make sure errorOccurred is available early 2009-03-24 08:54:23 +09:00
Damien Elmes
db63fc51bc inherit system locale 2009-03-24 08:39:22 +09:00
Damien Elmes
e11bd7a680 make tag dropdown a bit smaller 2009-03-23 12:09:16 +09:00
Damien Elmes
3985d72670 fix slowdown due to new splitting 2009-03-23 12:06:33 +09:00
Damien Elmes
74d408ece8 update finnish translations, support lazy load of importing trans 2009-03-23 10:46:40 +09:00
Damien Elmes
cf67d66ad5 only split on space 2009-03-23 10:29:45 +09:00
Damien Elmes
ff2d1d1964 change tab order so 'add' comes after tags, make add default except in tags 2009-03-23 09:47:07 +09:00
Damien Elmes
57f655c119 move sync on load to after deck load 2009-03-22 11:42:14 +09:00
Damien Elmes
dee16171ea save fields before moving between cards 2009-03-22 11:25:43 +09:00
Damien Elmes
c8e891c5a5 add victor to contributors 2009-03-21 13:45:36 +09:00
Damien Elmes
7b6761b9bf use registered plugin name if available 2009-03-21 13:24:17 +09:00
Damien Elmes
d8772cca3f support zipped plugins 2009-03-21 10:59:47 +09:00
Damien Elmes
02d2f67f6c new about window 2009-03-21 04:44:09 +09:00
Damien Elmes
9ed6e11b1a use utc offset of -1 2009-03-21 03:55:35 +09:00
Damien Elmes
4c9e57b4b9 add sync error msg 2009-03-21 03:50:13 +09:00
Damien Elmes
01965922c1 fix sorting in deck/plugin browser 2009-03-20 14:43:31 +09:00
Damien Elmes
69e9cb3874 spaced > delayed 2009-03-20 14:20:25 +09:00
Damien Elmes
59204fdbcc support limiting to single field in find&replace 2009-03-20 14:18:31 +09:00
Damien Elmes
823f7e0103 optimze model tag update 2009-03-19 11:27:09 +09:00
Damien Elmes
f25e336ce5 don't update card tags for priorities, only update priorities if changed 2009-03-19 11:11:00 +09:00
Damien Elmes
15105b2438 display exact date for created and modified 2009-03-19 09:20:25 +09:00
Damien Elmes
9b828d52c8 Estonian from Meelis Vasser, Portuguese from Jo Nakashima 2009-03-19 08:57:01 +09:00
Damien Elmes
7ed1c458e8 ensure that anki restarted before check db run 2009-03-16 06:33:17 +09:00
Damien Elmes
0753cf726d add option to hide progress 2009-03-15 07:41:56 +09:00
Damien Elmes
0f293b3e01 ensure hide is available in help.py 2009-03-15 06:44:28 +09:00
Damien Elmes
0abe7f1de2 add wait kwarg to call() 2009-03-15 06:35:56 +09:00
Damien Elmes
74b71ea8c6 delete rename tags from find&replace 2009-03-14 10:45:25 +09:00
Damien Elmes
1d855589c1 improve error msg 2009-03-14 09:46:20 +09:00
Damien Elmes
40d187eebc implement search in download diags 2009-03-14 09:24:40 +09:00
Damien Elmes
9d9f356479 items in download browser shouldn't be editable 2009-03-14 09:18:45 +09:00
Damien Elmes
a910a99a77 if model changed, refresh fact editor 2009-03-14 05:41:28 +09:00
Damien Elmes
26a0e7eaf2 tweak formatting 2009-03-14 05:08:26 +09:00
Susanna Björverud
ea6915305b Split up unwieldy welcome screen msgstring into parts that actually needs translating. 2009-03-14 04:30:19 +09:00
Damien Elmes
0479c2d7dc only call help hide handler if it's a different handler 2009-03-13 18:35:58 +09:00
Damien Elmes
e3d6e3fa29 refresh fact & cardmodel too 2009-03-13 18:32:08 +09:00
Damien Elmes
91e89d99e6 ensure card is refreshed before expunging 2009-03-13 07:41:27 +09:00
Damien Elmes
40410e9862 show downloads in list, sort by most downloaded 2009-03-13 06:24:05 +09:00
Damien Elmes
d87d48eff9 don't add extra <br> when in final drill 2009-03-13 06:13:56 +09:00
Damien Elmes
6d5791c92c fix problem dropping unique index 2009-03-13 06:13:26 +09:00
Damien Elmes
29278af8d9 Merge /home/resolve/tmpankiqt 2009-03-12 08:24:54 +09:00
Damien Elmes
2aa6cab35e cards>facts in importing message 2009-03-12 06:17:55 +09:00
Damien Elmes
d6238ee34c binary files on windows 2009-03-11 17:02:37 +09:00
Damien Elmes
16157e3bd9 fix stretch in editor, disable update until bug fixed 2009-03-11 07:24:04 +09:00
Damien Elmes
6c33a330d5 make sure file is saved as binary 2009-03-11 06:22:52 +09:00
Susanna Björverud
0c4a892045 make database optimization return message translatable 2009-03-11 05:30:24 +09:00
Damien Elmes
df5963d8d5 chinese simplified from nick 2009-03-11 05:29:31 +09:00
Damien Elmes
2646a40edb deck and plugin sharing 2009-03-11 05:19:26 +09:00
Damien Elmes
804413604c regexp>regular expression 2009-03-10 23:10:17 +09:00
Damien Elmes
b08360ddc6 dialog>mainwindow thinko 2009-03-10 12:30:30 +09:00
Damien Elmes
f9cc13bd23 do auto update after plugins loaded 2009-03-07 07:33:48 +09:00
Damien Elmes
a012e78a12 disable lookup shortcuts if not japanese model 2009-03-07 05:08:21 +09:00
Damien Elmes
8ddb47d967 add shortcut for html edit 2009-03-07 05:04:43 +09:00
Damien Elmes
4607d42c5f fix cloze undo 2009-03-06 06:06:50 +09:00
Damien Elmes
f6a1a8fc63 move cloze to f9, remove html editor shortcut 2009-03-06 06:01:51 +09:00
Damien Elmes
94924dce07 don't show suspended in active tags 2009-03-06 05:58:55 +09:00
Damien Elmes
8e621c03fb save/restore toolbar state 2009-03-06 05:48:48 +09:00
Damien Elmes
cfaf9388c3 correct wrapping of fields in cloze 2009-03-06 05:26:40 +09:00
Damien Elmes
7c02fe3c86 if there's a selection, ignore []s in cloze 2009-03-06 04:57:11 +09:00
Damien Elmes
d2528e8605 generate cards in fact order 2009-03-06 04:14:25 +09:00
Damien Elmes
c6d9d0ceec pass the diag, not the python obj 2009-03-05 00:26:37 +09:00
Damien Elmes
f3f68a496b bugfix 2009-03-05 00:22:52 +09:00
Damien Elmes
d53ac03b7b layered progress windows 2009-03-04 20:50:10 +09:00
Damien Elmes
6a8a88dfc6 <select tag> -> all cards 2009-03-04 20:50:03 +09:00
Damien Elmes
9033dd8afc update splash screen 2009-03-04 10:09:57 +09:00
Susanna Björverud
c0ac26bba7 Committed Swedish translation by Susanna Bjöverud. 2009-02-28 23:05:08 +01:00
Damien Elmes
8a953e0e99 ensure process bar pops up quickly 2009-02-26 17:54:03 +09:00
Damien Elmes
4155a8f562 make sure to update card tags if deck props modified 2009-02-26 17:02:45 +09:00
Damien Elmes
44412c72e4 make sure splash is shown on win32, use finish() instead of hide 2009-02-26 03:16:18 +09:00
Damien Elmes
3183fd2985 work around firefox png problems, revert previous change 2009-02-26 03:06:20 +09:00
Damien Elmes
f6280eb4fb favour url over image 2009-02-26 02:45:53 +09:00
Damien Elmes
d1e8a1d18a fix open online when no initial password 2009-02-26 01:06:21 +09:00
Damien Elmes
1e9c3ff253 better sync failure message, don't prompt for save if open online fails 2009-02-26 00:49:41 +09:00
Damien Elmes
c00850e011 keep suspended tags even if not in deck 2009-02-25 23:51:24 +09:00