Commit graph

755 commits

Author SHA1 Message Date
Timo Paulssen
1f78e98907 moved the workload graph to where it's more sensible (between due and cumulative due)
that is more sensible, right?
2008-12-13 02:29:43 +01:00
Timo Paulssen
b2cf4dc35c removed debug output. 2008-12-13 02:27:00 +01:00
Timo Paulssen
dd0f452df8 do not render the graphs twice when showing the graphs window for the first time! 2008-12-13 02:22:03 +01:00
Timo Paulssen
cf31a22e91 added new graph "work done". 2008-12-13 01:52:50 +01:00
Damien Elmes
ed1758bb30 pass unicode name to qt 2008-12-11 03:27:26 +09:00
Timo Paulssen
4ef36ced69 removed unnecessary .0 after each period string (1.0 month) 2008-12-10 19:28:12 +01:00
Damien Elmes
2129554ab1 make sure to properly close the deck 2008-12-11 01:13:07 +09:00
Damien Elmes
9de0fc911e add note about error 2008-12-11 00:41:09 +09:00
Damien Elmes
cc903e2d02 remember saveas location, if untitled deck empty delete it 2008-12-11 00:18:44 +09:00
Damien Elmes
03a6235f35 update # of selected items in title in real time 2008-12-10 23:58:46 +09:00
Damien Elmes
658fedc26c graphs: add help, remove labels 2008-12-10 23:47:30 +09:00
Damien Elmes
bbdcbf1153 don't require restart to update kanji stats 2008-12-10 22:10:27 +09:00
Damien Elmes
b8f3a25536 more useful debugging 2008-12-10 20:38:22 +09:00
Damien Elmes
59e690370c prevent race condition on finish 2008-12-10 20:25:52 +09:00
Damien Elmes
058325e2ce if card has already been expunged from session, don't complain 2008-12-10 20:18:24 +09:00
Damien Elmes
8b538ee20f close all windows on sync 2008-12-10 20:10:42 +09:00
Damien Elmes
887d95203d default to win32 theme on win32, set background in css 2008-12-10 19:42:14 +09:00
Damien Elmes
53cb4790af prefer image if text starts with http 2008-12-10 19:03:15 +09:00
Damien Elmes
22658dea73 remove blank space from status tooltip 2008-12-10 18:44:18 +09:00
Damien Elmes
0bbc7c7c74 text over images, pass current widget when adding picture 2008-12-10 17:58:32 +09:00
Damien Elmes
881a3c2468 update hooks to use libanki, warn about plugin errors differently 2008-12-10 17:37:03 +09:00
Damien Elmes
8ea3117d67 add zero width space at end of span 2008-12-10 16:48:24 +09:00
Damien Elmes
8282d3e7de don't autodetect html in html editor 2008-12-10 15:59:21 +09:00
Damien Elmes
2cb8c5342f make margins in editor a little bigger, update anki version in samples 2008-12-09 02:30:25 +09:00
Damien Elmes
1a9b288307 reset editor in real time, avoid full reset 2008-12-09 02:07:15 +09:00
Damien Elmes
626ad9f813 Merge git://github.com/timo/ankiqt 2008-12-09 01:37:40 +09:00
Damien Elmes
073b3b8a9b fix concurrent modification error 2008-12-09 01:19:50 +09:00
Damien Elmes
720fe217dd forget second splitter completely 2008-12-09 00:50:21 +09:00
Damien Elmes
1628739c65 save splitter before setting fact to none 2008-12-08 16:27:09 +09:00
Damien Elmes
c3a5897fb1 pad top area when not splitting q/a 2008-12-08 16:12:55 +09:00
Damien Elmes
f4e262fdc3 don't close all dialogs on reset anymore 2008-12-08 16:08:19 +09:00
Damien Elmes
329096948b make sure model properties runs modal 2008-12-08 16:07:34 +09:00
Damien Elmes
249751fddd fix inserting image 2008-12-08 15:58:47 +09:00
Niklas Laxström
133a6bc3e0 added finnish translation 2008-12-07 20:44:29 +01:00
Timo Paulssen
fbe769ee88 disable "mark card" button when no card is currently shown. 2008-12-07 18:08:25 +01:00
Timo Paulssen
c63e96d45c fixed: suspended appeared twice among tags after using active tags dialog. 2008-12-07 17:43:21 +01:00
Damien Elmes
53834220da make sure to set editcurrent on/off, remove pygame from osx build 2008-12-08 00:39:55 +09:00
Damien Elmes
002ac4ec95 make graphs window a little bigger 2008-12-07 23:32:13 +09:00
Damien Elmes
5f0d9bcfd5 configurable q/a split 2008-12-07 23:14:03 +09:00
Damien Elmes
bb083ab965 work around tray widget being a top level widget 2008-12-07 22:52:55 +09:00
Damien Elmes
8e0df4aaa4 tray fix from richard 2008-12-07 22:38:55 +09:00
Damien Elmes
19da61176c add card stats splitter 2008-12-07 21:44:09 +09:00
Damien Elmes
d0777a4ffd fix reference to simplify 2008-12-07 12:21:36 +09:00
Damien Elmes
22f4f439f0 copy&paste images, make sort and tags in editor longer 2008-12-07 12:10:04 +09:00
Damien Elmes
7a27c8efeb enable reload action for osx, make it do something useful 2008-12-07 11:50:43 +09:00
Damien Elmes
798e0e255b fix reference to cards 2008-12-07 11:39:51 +09:00
Damien Elmes
458c69e3ff addFact() now returns fact, not cards 2008-12-07 11:38:54 +09:00
Damien Elmes
9438fbda13 update japanese translations 2008-12-06 14:19:43 +09:00
Damien Elmes
7c4a1f1784 add size hint back for osx 2008-12-05 23:48:01 +09:00
Damien Elmes
eda79de66b mark check media db buttons smaller 2008-12-05 22:52:25 +09:00
Damien Elmes
593d80cd38 remove description from deckproperties 2008-12-05 21:49:41 +09:00
Damien Elmes
539813f32d remember last sort 2008-12-05 20:04:12 +09:00
Damien Elmes
a3ac8e3c0a fix tag saving, remember added tags without having to reopen, fix ret in add 2008-12-05 19:25:09 +09:00
Damien Elmes
735bca01af remember model when editing, update name after edit 2008-12-05 18:45:17 +09:00
Damien Elmes
620fa5da55 remove obsolote card backup, make sure to refresh session after edit 2008-12-05 18:07:13 +09:00
Damien Elmes
7b1fdb8833 don't exit while editing inline 2008-12-05 17:46:49 +09:00
Damien Elmes
aa5254ba60 limit error dialog to 10,000 chars, limit maxFailed to 5+ 2008-12-05 17:34:13 +09:00
Damien Elmes
a9857a5e4f wrap errors, improve earliest card message 2008-12-05 17:13:51 +09:00
Damien Elmes
7391cef4f2 disable drop event in main window 2008-12-05 16:59:44 +09:00
Damien Elmes
2636d6e4c3 remember graph choices and periods 2008-12-05 16:40:28 +09:00
Damien Elmes
14b0f16a46 make qa divider configurable 2008-12-05 14:43:50 +09:00
Damien Elmes
876c16d413 escape path to images 2008-12-05 12:54:16 +09:00
Damien Elmes
6f59cc7cd2 tagcomp in import, fix lookup again, condition kanji/lookup, ondelete 2008-12-04 04:34:04 +09:00
Damien Elmes
30ef6ac450 tweaks to lookup 2008-12-04 04:11:00 +09:00
Damien Elmes
1ab4e1d3b7 tag autocomplete for editor and cram dialogs 2008-12-04 02:35:41 +09:00
Damien Elmes
cafb19f2ca hide/show intervals in real time, create media dir when escaping 2008-12-04 02:19:39 +09:00
Damien Elmes
45dd2c2c58 remove redundant audio commands & toolbar, fix tag bug 2008-12-04 01:53:43 +09:00
Damien Elmes
64e22019de init undo after saveas 2008-12-04 01:14:17 +09:00
Damien Elmes
880a45eb13 update title after undo, set fact=none after check not before 2008-12-04 01:09:54 +09:00
Damien Elmes
78ae7f48e6 make preview more like main window 2008-12-04 00:38:32 +09:00
Damien Elmes
a188f9d5c1 fix bug with preview 2008-12-04 00:37:05 +09:00
Damien Elmes
d239049c18 update more ellipses 2008-12-04 00:33:59 +09:00
Damien Elmes
a762a11441 update model properties 2008-12-04 00:10:37 +09:00
Damien Elmes
f8d79a6e37 reduce button size, fix bug with answer active, don't center fin msg 2008-12-03 22:32:31 +09:00
Damien Elmes
d9842e5a30 add divider to main interface, make it neater 2008-12-03 21:31:45 +09:00
Damien Elmes
fa172b3fe7 use new feature hooks 2008-12-03 19:42:41 +09:00
Damien Elmes
3ab3b70d0f provide better error on deck load 2008-12-03 18:50:18 +09:00
Damien Elmes
a70e08e8f1 fix importing msg 2008-12-03 18:49:41 +09:00
Damien Elmes
c790f516f0 remove selectfact debugging 2008-12-01 01:47:08 +09:00
Damien Elmes
e6721c145b fix deleting in editor 2008-12-01 01:20:33 +09:00
Damien Elmes
5a433d94e0 add undo to deck/model props and suspend 2008-12-01 01:07:52 +09:00
Damien Elmes
e6d77ebb6d remember splitter state, possible fix for focus error 2008-12-01 00:02:51 +09:00
Damien Elmes
dda48886dd fix onchange, add ctrl+m 2008-11-30 22:54:02 +09:00
Damien Elmes
519b040997 disable plugins menu and edit current on closed deck 2008-11-30 18:41:55 +09:00
Damien Elmes
5cdc839ef3 fix startup flash by adding blank page 2008-11-30 18:37:58 +09:00
Damien Elmes
6d925ee99a remove <current> and <last> 2008-11-30 18:22:22 +09:00
Damien Elmes
8184e2d830 fix bug with <current> 2008-11-30 18:12:48 +09:00
Damien Elmes
1dca4f73be init undo on new deck, add importing 2008-11-30 05:56:24 +09:00
Damien Elmes
44e788dd9c enable undo on deck open 2008-11-30 05:46:41 +09:00
Damien Elmes
fd14b3f2dd add undo/redo to editor, focus current card, del 2008-11-30 05:39:04 +09:00
Damien Elmes
30e106b4e6 enable undo/redo support 2008-11-30 04:12:19 +09:00
Damien Elmes
ae93e54013 rename undoanswer to undo, fix mark card 2008-11-30 04:05:10 +09:00
Damien Elmes
0717aa1d4f disable 'edit current' when no card, don't fail closing editor in empty deck 2008-11-29 15:31:23 +09:00
Damien Elmes
d913d84572 make sure to suspend all cards of fact, and check due cards again after 2008-11-29 14:47:56 +09:00
Damien Elmes
8bc09db5f2 fix margins, flashing on open 2008-11-28 23:52:48 +09:00
Damien Elmes
9dd5d97de6 set answer button big too 2008-11-28 23:32:53 +09:00
Damien Elmes
e0e6979101 move to stacked widgets, fix scrollbar display 2008-11-28 23:27:45 +09:00
Damien Elmes
e617fe7df7 fix a bug with html edit, fix loading remote images 2008-11-28 20:19:36 +09:00
Damien Elmes
6e885557f5 catch stderr and output to dialog in real time 2008-11-28 20:03:01 +09:00
Damien Elmes
37f96fb5a7 fix lookup, bug in addcards, tag completer 2008-11-28 18:52:39 +09:00
Damien Elmes
2a66095eed tidy init routine, add ctrl+c 2008-11-28 17:36:24 +09:00
Damien Elmes
360cf3c373 select cards when adding in editor, ignore empty cards 2008-11-28 17:11:57 +09:00
Damien Elmes
9c720452b9 fix close & selectfacts, only update field on change, remove yellow 2008-11-28 16:30:02 +09:00
Damien Elmes
e16fa4c259 make suspend fact suspend the fact, not the card 2008-11-28 15:59:29 +09:00
Damien Elmes
7577e83c87 remove options button 2008-11-28 15:57:55 +09:00
Damien Elmes
d1b565e734 add revision order customization 2008-11-28 15:52:06 +09:00
Damien Elmes
f3e5f5d9e1 convert editor into main window wip, sort by ease 2008-11-28 14:43:26 +09:00
Damien Elmes
7563879093 make sure to save facts before closing editor, etc 2008-11-27 15:58:00 +09:00
Damien Elmes
7f83f471e2 remove 'show only current' option again 2008-11-27 15:41:35 +09:00
Damien Elmes
d6441cf520 strip newlines from html edit 2008-11-24 23:44:22 +09:00
Damien Elmes
db84671284 fix card q/a cache not being saved 2008-11-23 22:19:00 +09:00
Damien Elmes
b6c227e382 don't strip q/a formats 2008-11-23 18:26:53 +09:00
Damien Elmes
9a696a48ec play sounds when previewing 2008-11-23 17:17:28 +09:00
Damien Elmes
806220c813 fix editor, add getOnlyText() 2008-11-23 09:23:07 +09:00
Damien Elmes
c2a8302a26 add help to cram mode, fail if no cards matched 2008-11-23 09:19:56 +09:00
Damien Elmes
9c67a69b65 html editor 2008-11-23 08:34:57 +09:00
Damien Elmes
0207298bb5 make scrolling to answer customizable 2008-11-23 08:04:32 +09:00
Damien Elmes
e6db07b74a missing files 2008-11-23 07:49:43 +09:00
Damien Elmes
38c1f71d5d preview support, shortcuts, hide refresh, toggle edit 2008-11-23 07:49:03 +09:00
Damien Elmes
f1677b863f latex equations now have emacs-style keybindings 2008-11-22 18:18:08 +09:00
Damien Elmes
28ab40e41c close other windows on reset() 2008-11-22 16:17:29 +09:00
Damien Elmes
5421029176 fix reading generation sticking 2008-11-22 14:27:43 +09:00
Damien Elmes
9f2572d6ef fix images on win32, display bugs 2008-11-21 23:57:04 +09:00
Damien Elmes
1570f65c48 Reverting "remove obsolete call" 2008-11-21 20:13:01 +09:00
Damien Elmes
595a7deef4 remove obsolete call 2008-11-21 20:07:27 +09:00
Damien Elmes
518fcc3442 inline edit, fix images, css, scroll to bottom, status, etc
- new edit card inline mode
- provide file:// url for images for webkit
- look for the css file inside the anki dir
- make add cards dialog more compact
- launch clicked links in external window
2008-11-21 20:05:15 +09:00
Damien Elmes
ae776365b1 scroll to answer 2008-11-21 16:47:26 +09:00
Damien Elmes
4aa958a40f dump error on deck load fail, don't update widget on space 2008-11-21 15:48:59 +09:00
Damien Elmes
1313cca356 add help to display properties 2008-11-21 14:58:26 +09:00
Damien Elmes
03ee833026 remove some pref fonts/colours, apply interface font to 'soon' 2008-11-21 14:10:12 +09:00
Damien Elmes
0fe089f532 unify error support, fix typos 2008-11-21 13:54:57 +09:00
Damien Elmes
ac6abd61c0 update mac build scripts, fix display problems on sync open/close 2008-11-21 00:33:18 +09:00
Damien Elmes
d855c5c35e show welcome message when zero cards too 2008-11-19 21:10:21 +09:00
Damien Elmes
e1f1812a9e refactor help.py, use welcome widget and main widget 2008-11-19 21:06:49 +09:00
Damien Elmes
1350c9c338 change shortcuts to avoid conflicts, remove alt-a indicator 2008-11-19 18:43:24 +09:00
Damien Elmes
dd044f40ab update invalid/dupe on a timer, don't gen reading on paste 2008-11-19 18:04:26 +09:00
Damien Elmes
f5234f52eb add 'show current only' again 2008-11-19 17:24:52 +09:00
Damien Elmes
34177f0caa fix recent deck shortcuts 2008-11-16 03:03:34 +09:00
Damien Elmes
e097991b4e update failed handling, remember new deck 2008-11-16 02:22:18 +09:00
Damien Elmes
dc637e78b3 fix deck wrong format error msg 2008-11-16 00:47:00 +09:00
Damien Elmes
f974e046f5 workaround win32 redraw bug 2008-11-16 00:37:49 +09:00
Damien Elmes
fc8b3ab3f0 remove 'building queue..', use reset(), remove rebuild=True 2008-11-15 19:13:07 +09:00
Damien Elmes
d149554bd1 use text in tray tooltip 2008-11-15 18:13:10 +09:00
Damien Elmes
584245d403 no need to set counts dirty 2008-11-15 17:57:51 +09:00
Damien Elmes
df28128a24 no need to check daily stats or mark expired due 2008-11-15 17:57:22 +09:00
Damien Elmes
c302742c92 rebuild counts when resetting deck state 2008-11-15 17:43:56 +09:00
Damien Elmes
b62f7e847b make sure initial card has correct css 2008-11-15 02:38:27 +09:00
Damien Elmes
ab20511bab new updater 2008-11-15 02:31:36 +09:00
Damien Elmes
f9aa21aeea work around a strange bug in status 2008-11-14 22:42:52 +09:00
Damien Elmes
2661c1d3a2 fix undo, allow main window focusable 2008-11-14 18:27:45 +09:00
Damien Elmes
9f088c4406 raise add/edit dialogs when already open and clicked 2008-11-14 17:08:51 +09:00
Damien Elmes
add79296a8 copy fields in order, not by name, when changing models 2008-11-14 17:03:57 +09:00
Damien Elmes
00a9b572c3 support searching for 'no tag' in editor 2008-11-14 16:36:43 +09:00
Damien Elmes
5219783182 keep fields when changing model 2008-11-14 16:22:58 +09:00
Damien Elmes
afd03844e2 fix shortcut keys for mac, update help, change some shortcuts 2008-11-14 15:46:41 +09:00
Damien Elmes
340a521f2f add deck name to tray icons, change tooltip behaviour, coding style 2008-11-14 15:25:01 +09:00
Damien Elmes
d594cf61e2 show recent paths even when no file, remove deleted decks from list 2008-11-14 14:49:13 +09:00
Damien Elmes
cf6b48593f fix hide toolbar, update prefs dialog, fix save cram & close bug 2008-11-14 14:42:52 +09:00
Damien Elmes
b1dfb3b1e7 add italian translation 2008-11-14 02:34:08 +09:00
Damien Elmes
26d54c8a4c don't stop timer on answer 2008-11-14 02:27:01 +09:00
Damien Elmes
31febf6a31 save text after drag-drop event 2008-11-14 02:03:03 +09:00
Damien Elmes
b15bef34ad new ease buttons 2008-11-13 16:55:24 +09:00
Damien Elmes
cc28982268 change status ref 2008-11-12 21:39:19 +09:00
Damien Elmes
c5a78d8dbc dev wip 2008-11-09 15:48:36 +09:00
Damien Elmes
ca7f27ea93 improve warning message 2008-10-28 00:23:02 +09:00
Damien Elmes
5363521eda inverse order of active tag selection 2008-10-27 19:02:06 +09:00
Damien Elmes
31d06f661f don't update fields when no change 2008-10-27 18:50:36 +09:00
Damien Elmes
cf3f448f92 create media dir, save field when adding images/sound 2008-10-21 00:50:55 +09:00
Damien Elmes
337c3ca028 remove old code 2008-10-20 00:17:57 +09:00
Damien Elmes
a61d8d916a update fields on focus change 2008-10-20 00:00:17 +09:00
Damien Elmes
96e88468b7 mark fact modified when tags updated 2008-10-19 22:10:34 +09:00
Damien Elmes
f6568cb5b1 remove redundant cramming conditions 2008-10-19 13:09:37 +09:00
Damien Elmes
76ef17eb32 set vbox margin in qt4.2 compatible way 2008-10-19 03:49:18 +09:00
Damien Elmes
f8efd35a52 release old deck when cramming, don't load deck on open 2008-10-19 03:41:56 +09:00
Damien Elmes
913cc9712d catch deck errors better, add get more decks options 2008-10-19 02:21:30 +09:00
Damien Elmes
b0835c11c8 add 'get more decks' link 2008-10-18 19:30:56 +09:00
Damien Elmes
0cd478c0b7 support bulk download on one way sync 2008-10-18 18:51:40 +09:00
Damien Elmes
0060dc553a bulk media updater 2008-10-16 03:06:36 +09:00
Damien Elmes
ff26b14e44 disable active tags menu item when no deck 2008-10-16 00:46:04 +09:00
Damien Elmes
f76d58401a don't force main window size on help bar 2008-10-15 16:54:31 +09:00
Damien Elmes
0aa58beb91 fix can't load deck error 2008-10-15 14:17:23 +09:00
Damien Elmes
0c0c8a180c don't cram twice, turn off cram sync 2008-10-15 14:04:58 +09:00
Damien Elmes
9fd4000c0b don't hard code models 2008-10-14 13:13:50 +09:00
Damien Elmes
0081ff32d0 allow more recent decks 2008-10-13 23:36:53 +09:00
Damien Elmes
b79234eba0 fix release notes link 2008-10-12 07:17:49 +09:00
Damien Elmes
69be47c784 fix wording in sync dialog 2008-10-12 05:25:50 +09:00
Damien Elmes
61bb5b9ec9 make sure to save modified on sync online 2008-10-12 05:21:55 +09:00
Damien Elmes
0da90a47f7 win32 gui bug, win32 file browsing bug 2008-10-12 05:05:52 +09:00
Damien Elmes
82642a3e9f fix mac gui bug, build scripts 2008-10-12 04:32:24 +09:00
Damien Elmes
d78cecf113 remove qt4.4 dependency 2008-10-12 03:51:11 +09:00
Damien Elmes
f801d68512 conditional card generation 2008-10-12 03:43:04 +09:00
Damien Elmes
3e93757d22 mention merging public models 2008-10-12 02:58:37 +09:00
Damien Elmes
ea666975f9 save geometry of other windows, prevent deletion of shared models 2008-10-12 02:54:19 +09:00
Damien Elmes
ec932d6f39 support changing time offset 2008-10-12 04:01:36 +09:00
Damien Elmes
b9db00e668 fix geometry bugs 2008-10-12 00:36:02 +09:00
Damien Elmes
d17098b8ce number of ui changes (see full log)
- use default theme on linux
- add active tag browser
- allow custom toolbar icon sizes
- add plugins menu (enable/disable/etc)
- force plastique for progress bars
2008-10-12 00:21:54 +09:00
Damien Elmes
b6e3f8386e update card model fields when focus lost 2008-10-11 19:32:35 +09:00
Damien Elmes
87195130c6 show sync errors in popup 2008-10-11 18:29:29 +09:00
Damien Elmes
0a4b97c780 fix matplotlib msg, open online 2008-10-11 17:52:49 +09:00
Damien Elmes
cac5fd2347 cramming support 2008-10-10 18:24:36 +09:00
Damien Elmes
17798b03f4 prevent accidental sync, hide source ids 2008-10-10 17:37:11 +09:00
Damien Elmes
8739e164ac many changes - see detailed log below
- don't use psyco
- bump version number
- autosave more often
- no last card period/text by default
- 3 buttons not 5
- default to tray off
- don't show only current card anymore
- simple toolbar
- support for sources
- don't force size of main window
- new button definitions
- remove vertical answer button support
- ditch 'how well did you remember'
- open online deck no longer hidden in new deck dialog
- default to simple model, no more 'what do you want to learn?'
- prompt user for sync username/password if not set
- simplify dialogs, add help buttons, move documentation to wiki
- don't make the timer change colors - distracting, and punishes
  people who practice writing
- remove 'empty deck' message, allow people to add cards from main screen
- remove 'welcome to anki' message. make the initial user
  experience nicer
2008-10-10 16:54:30 +09:00
Damien Elmes
27a3cd1c4f wip 2008-10-05 23:34:59 +09:00
Damien Elmes
357801e625 public decks wip 2008-10-04 14:46:23 +09:00
Damien Elmes
e5463891e9 initial commit from hg 2008-09-28 00:00:49 +09:00