Anki is a smart spaced repetition flashcard program
Find a file
Damien Elmes 8e71554ac4 saveNow() now requires a callback
the current code was freezing when clicking on 'cards' in the
browser - it looks like like the javascript callback was never
being called despite calling processEvents(). so we need to
refactor the code to call saveNow() with a callback that does the
subsequent processing.

a lot of the browser code was implicitly calling saveNow() via
beginReset(), so we've had to change all that code to save
immediately before it begins any processing. found a probable bug in
the process - it doesn't look like onRowChange() was saving before
overwriting the note, so theoretically edits could be lost if the
user switched to another card very quickly after typing something.

onSearch() has been split into a GUI-activated onSearchActivated()
that takes care of saving, and a lower level search() that refreshes
the current search. it keeps track of the last search via an instance
variable so that it refreshes properly if a user accidentally adds
some characters to their search without activating the search, then
does something like reverse the sort order.
2016-07-14 20:23:44 +10:00
anki explictly use utf8 when talking to mplayer 2016-07-12 16:55:10 +10:00
aqt saveNow() now requires a callback 2016-07-14 20:23:44 +10:00
designer move the editor buttons into the webview 2016-06-22 14:52:17 +10:00
tests fix latex check 2016-07-04 17:07:48 +10:00
tools port majority of code to qt5.5+ 2016-05-31 18:51:40 +10:00
.gitignore fix i18n on linux install 2012-12-21 18:04:26 +09:00
.travis.yml need portaudio dev 2016-07-04 16:51:25 +10:00
anki.1 merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00
anki.desktop merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00
anki.png merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00
anki.xml merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00
anki.xpm merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00
LICENSE elaborate on bsd license 2016-05-06 09:51:30 +10:00
LICENSE.logo merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00
Makefile don't error out if /usr/share/pixmaps doesn't exist 2013-12-09 11:54:18 +09:00
README.addons saveNow() now requires a callback 2016-07-14 20:23:44 +10:00
README.development qt 5.5, not 5.4 2016-07-05 21:48:56 +10:00
README.md update dev docs 2016-07-05 19:38:54 +10:00
requirements.txt add requirements.txt 2016-05-31 18:52:23 +10:00
runanki explicit python3 in runanki, remove /usr/share ref 2016-06-28 15:47:09 +10:00

Anki

This is the development branch of Anki.

For stable builds, please see http://ankisrs.net.

For non-developers who want to try this development code, the easiest way is to use a binary package - please see https://anki.tenderapp.com/discussions/beta-testing

If you're a developer, you can learn more about building Anki in README.development.

Build Status

Coverage Status