Commit graph

1903 commits

Author SHA1 Message Date
Damien Elmes
045d92238d move view.py into reviewer.py 2011-04-28 09:26:46 +09:00
Damien Elmes
909e8fb05c don't allow shortcuts to load corrupt decks; remove toolbar 2011-04-28 09:26:46 +09:00
Damien Elmes
f96e03875a more deck browser work
- add a separate toolbar for the deck browser
- add a message when there are no decks
- change the progress handler not to lock the UI immediately, which causes
  flicker
- ensure the webview is focused after stdHtml()
2011-04-28 09:26:46 +09:00
Damien Elmes
87f5fe8769 tidy up deckbrowser code 2011-04-28 09:26:46 +09:00
Damien Elmes
2897f0a54a tweak hr appearance 2011-04-28 09:26:46 +09:00
Damien Elmes
8e7ed0acc9 make sure we're only writing the config once; fix speed regressions in browser 2011-04-28 09:26:46 +09:00
Damien Elmes
2e327f4fe9 more deck browser improvements
- shortcut keys
- options menu items implemented
- fixed handling of locked decks
- limit accels to 35
2011-04-28 09:26:46 +09:00
Damien Elmes
3b085c486e tweak layout 2011-04-28 09:26:46 +09:00
Damien Elmes
19af7ef67e load the summary by default
it was much slower in benchmarks, but that was due to a problem in libanki
2011-04-28 09:26:46 +09:00
Damien Elmes
0a4efd018f add js/py bridge, jquery 2011-04-28 09:26:46 +09:00
Damien Elmes
d948b00c54 start refactoring main window
- moved progress handling into separate progress.py
- moved deck browser code into separate deckbrowser.py
- started reworking the state code; views will be rolled into this in the
  future
- the main window has been stripped of the study options, inline editor,
  congrats screen and so on, and now consists of a single main widget which
  has a webview placed inside it. The stripped features will be implemented
  either in separate windows, or as part of the web view
2011-04-28 09:26:46 +09:00
Damien Elmes
798b0af128 remove closing delay on progress dialogs 2011-04-28 09:26:46 +09:00
Damien Elmes
c01c6cb79a update config.py
- move into an sqlite file so we don't have to worry about db corruption
  anymore, and can share the deck list among multiple instances
- remove some old options
2011-04-28 09:26:46 +09:00
Damien Elmes
fbb7fe8a3e tidy up __init__.py 2011-04-28 09:26:45 +09:00
Damien Elmes
103871a5b1 refactor file layout
- ankiqt->aqt
- move all the files in ui into the top level
- move icons_rc.py into aqt/forms, and the qrc into designer/
- remove setuptools
2011-04-28 09:26:45 +09:00
Damien Elmes
b4a794dcb3 bare minimum to get ankiqt to start with the new libanki 2011-04-28 09:26:45 +09:00
Damien Elmes
9b14bd6ab0 cardHasTag(), userTime(), remove firstAnswered from cardlist 2011-04-28 09:26:15 +09:00
Damien Elmes
d02a26309f deck.s -> deck.db 2011-04-28 09:26:15 +09:00
Damien Elmes
7b52a4e519 reviewHistory->revlog 2011-04-28 09:26:15 +09:00
Damien Elmes
0080a8ffc1 change timebox calls & repsToday for libanki 2011-04-28 09:26:15 +09:00
Damien Elmes
ae3db3c255 rename newCount/newCountToday as per libanki 2011-04-28 09:26:15 +09:00
Damien Elmes
8201ffc544 remove stats dependency in study options 2011-04-28 09:26:15 +09:00
Damien Elmes
c41bd9d67f remove stats dependency in status.py 2011-04-28 09:26:15 +09:00
Damien Elmes
d504e754b0 spaced check is expensive, don't do it in status, and don't redraw on init 2011-04-28 09:26:15 +09:00
Damien Elmes
986d605a44 remove separate optimize db option, report new size on db check 2011-04-28 09:26:15 +09:00
Damien Elmes
d18d73b21b use libanki's new field checksum 2011-04-28 09:26:15 +09:00
Damien Elmes
c47e931a53 remove priorities 2011-04-28 09:26:15 +09:00
Damien Elmes
ae84ce1450 add matthew duggan to the about dialog 2011-04-28 09:26:15 +09:00
Damien Elmes
2075bb0747 new card model adding format 2011-04-28 09:26:15 +09:00
Damien Elmes
080e97a82a add latvian translation 2011-03-28 16:47:16 +09:00
Damien Elmes
a9021a7607 bump version 2011-03-28 16:38:56 +09:00
Damien Elmes
33aba9e35d Merge /Users/dae/Home//anki/stable//qt 2011-03-28 16:33:35 +09:00
Damien Elmes
6451307e49 fix typo 2011-03-12 20:06:36 +09:00
Damien Elmes
8485e6ec73 Merge branch 'master' of https://github.com/bmabey/ankiqt 2011-03-12 20:04:01 +09:00
Ben Mabey
eac188170a makes the build_ui script more robust by allowing pyuic4 to be anywhere on the path 2011-03-11 10:07:51 -07:00
Ben Mabey
da173c1236 provides people with homebrew command when trying to build_ui on mac 2011-03-11 09:46:24 -07:00
Ben Mabey
0b97c81df1 updates git URLs in developer README 2011-03-11 09:41:15 -07:00
Damien Elmes
4ed284c0d8 typo in sync error msg 2011-02-27 07:38:27 +09:00
Damien Elmes
907343b83b make sure type answer box uses same font 2011-02-21 07:03:50 +09:00
Damien Elmes
d6df4f643b bump version 2011-02-20 14:08:08 +09:00
Damien Elmes
e6c6a10c62 if new deck canceled, make sure to move to noDeck 2011-02-20 13:55:40 +09:00
Damien Elmes
b6bcad4b9b rely on system installed setuptools 2011-02-09 21:55:30 +09:00
Damien Elmes
ae89409ae7 don't do anything if there are no decks to sync; warn user 2011-02-09 17:52:18 +09:00
Damien Elmes
c25b68fd87 work around intercepted connections 2011-02-04 19:46:05 +09:00
Damien Elmes
2b34f1f653 update tags when template renamed 2011-02-04 19:17:41 +09:00
Damien Elmes
d0169733d1 bump version 2011-02-03 00:22:13 +09:00
Damien Elmes
25aa35799b copy media from exporting deck instead of duplicating & deleting 2011-02-03 00:11:40 +09:00
Damien Elmes
8f4d2d85d3 make sure to save fields on drag/drop 2011-02-02 23:59:52 +09:00
Damien Elmes
d62b12de90 option for changing rev spacing 2011-02-02 23:38:51 +09:00
Damien Elmes
f9a8e98d84 allow congrats screen messages to wrap 2011-02-02 23:32:11 +09:00