← Back to team overview

edubuntu-bugs team mailing list archive

[Bug 701381] [NEW] [new-upstream]anki 1.2 release candidate 7

 

Public bug reported:

Binary package hint: anki

on upstream they have anki 1.2 rc 7, which fixes various bugs not covered by the latest version in natty (which has the version 1.0.1-1).
here's a list of what has changed in the newer versions:

Changes in 1.2 release candidate 7

Fix an error migrating media when decks were moved from one location and back again
Add confirmation to localize media option
Make sure selective study is applied to the due and new counts on the congrats screen
Changes in 1.2 release candidate 6

Fix importing/exporting bug which crept into last release
Restart mplayer if it quits
Changes in 1.2 release candidate 5

Fix for race conditions in audio playing
More fixes for syncing when the clock is set incorrectly
Changes in 1.2 release candidate 4

This release is only for Windows and Linux.
Don't stop audio playing abruptly (Windows)
Support older versions of sqlite (Linux, FreeBSD, etc)
Changes in 1.2 release candidate 3

Due graphs now respect the current selective study settings
Fixed copy/paste of text documents when user had turned off HTML stripping
Importing dialog scrolls when there are many fields
Work around toolkit bug where dialog was being hidden when choosing colours
Recorded files now have a timestamp
Fixed a bug when cramming with max failed cards set to 0
Some of the sound card has been rewritten, which should fix problems playing audio after switching decks in a certain pattern
Colour selection dialog defaults to saturated instead of black
Added a function back to fix some plugins like kanji stats
Clean up properly if the sync username/password was wrong
Fixed cursor in wrong position when adding latex
When per-day scheduling is off, reviews are spaced to the next session, not the next day.
Translation patch from Piotr.
Changes in 1.2 release candidate 2

When sibling cards of a fact are spaced, the due counts will no longer be decreased, because it's not possible to efficiently determine if the spaced cards were active or not. This means you may reach the congratulations screen with a non-zero due count now. Operations which reset the queue like edits or undoing will set the number to the real due count.
The congratulations screen now makes it clearer how many cards have been spaced/delayed, and the counts include reviews instead of just showing spaced new cards like before.
The congrats screen will tell you if cards are due that are suspended or inactive.
Creating a new deck now requires you to immediately give it a name. Some operations didn't work on in-memory decks, and they couldn't be autosaved.
If you select the import option when no deck is open, Anki now explains why you need to create a new deck first.
The shared decks/plugins list is compressed, which should make it come up faster for people with slower internet links. This is an interim step, as searching will probably be moved to the server in the future as the number of decks has grown considerably.
Fixed a bug when reporting the clock was set incorrectly.
Fixed a bug with type in the answer where fields without a font or size set (because they were synced from an older version) would cause an error.
Changes in 1.2 release candidate 1

New option to download remote audio/picture links on cards and convert them to local links.
When accessing the card layout screen while editing, it now displays all used cards instead of locking you to a single card. There is now extra text telling you what the list of cards means, given it changes depending on if you enter card layout via adding, editing, or the models screen.
The text comparing your typed answer to the correct answer now uses the field's font size settings.
A new option in the preferences to disable autoplay of audio.
Unsuspend fixed.
When upgrading, Anki will attempt to copy media from the old DropBox location.
Fixed a bunch of operations failing on OSX if the main window wasn't focused. Operations when the main window is minimized will now bring the window back in focus.
Make sure the main window is focused on app start.
Automatically disable the obsolete sync latex and learn mode plugins.
Fix a problem with encoding on some LaTeX installations.
Changes in 1.1.13

Fix for some Windows systems crashing when uploading large decks.
Syncing now analyzes the clock drift of your local system and compensates for it when determining what needs to be synced. If the drift is more than 5 minutes syncing will abort as before.
A full upload after a DB check skips the slow summary generation.
Don't put http/ftp links in the media DB.
Stop conditional templates from truncating whitespace.
Add hidden option in config.db to disable keyboard layout preservation in fact editor.
Fix for errors on some systems when deleting facts in the browser.
Update dialog won't get hidden behind import dialog anymore.
Changes in 1.1.12

Due cards are spaced to the start of the next day instead of the end of the current session.
Any remaining failed cards at the end of the session will only been shown after checking nothing else has expired in the mean time.
Learn more count now considers currently inactive cards.
A media DB check now deletes unreferenced files from the media DB, even if you elect not to delete the files on disk.
Recovered cards in a DB check will now preserve original tags if possible.
Fix issues with detection of certain img links.
Don't show an error if user cancels update when importing.
Allow 'more' buttons in deck list to expand for foreign languages.
Changes in 1.1.11

If a DB check finds cards with broken facts, instead of throwing the cards away it will now reparent those cards into a new simple fact with 2 fields for the old question & answer.
Fix problems editing fields in the card layout dialog when opened from the add items dialog.
Switching fields in the add cards dialog won't reset the state of the main window anymore.
Users with foreign characters in their login name should be able to use plugins on Windows again now.
A media DB check now recognizes images that have style information assigned to them.
Anki will now tell the user they shouldn't run it with python3.
Upgrades from 1.0.1 decks will now convert the old card styling to HTML in the template. Colours will work without modification, but fields will have to be changed from {{Field}} to {{{Field}}} if the user wants to ignore the field styling.
Changes in 1.1.10

The queue filling routines have been optimized, and should be considerably faster when the deck is not already cached in RAM.
New card spacing shouldn't push other cards of a fact to the end of the new card queue anymore.
Foreign fonts are now selectable again on OSX.
When you File>Sync a deck that has media in it, a dialog box will pop up providing instructions on how to install DropBox or another media sync service, if one is not already set up.
LaTeX header and footer is now configurable in the deck properties.
There is a new option in Settings>Preferences>Advanced to prevent Anki from stripping HTML that is pasted or dropped into text fields.
Cards that take more than 60 seconds to answer now have their time recorded as 60 seconds instead of having their time discarded.
Fixed a bug where a different card to preview would be chosen after opening the card layout from the main window and editing the template.
Fixed the F2 shortcut when editing the current card.
Changes in 1.1.9

Fixed an error where burying or reviewing early would cause a deck to temporarily disappear from the browser on close.
Added a compat fix in for the pinyin toolkit and other plugins that use the old hooks.
Fixed problems with LaTeX on Windows.
Fixed warnings appearing when editing text in the card layout screen.
Fixed errors when adding/editing a field then editing template.
Layout is now accessible from the main screen with the same F2 shortcut as when editing.
No PPC build is available for this release, as I haven't heard of anyone using the 1.1.8 one. The next PPC build will probably be when 1.2 is ready.
Changes in 1.1.8

Media handling has been completely reworked:
Anki no longer renames your media to a string of numbers and letters. That approach had its benefits, but it was unpopular and it made it difficult to copy newer versions of your media over older versions.
Media URLs have been moved from the model to the deck. You can now configure the URL in Settings>Deck Properties - but if you are using the built in DropBox support it will be set automatically for you. AnkiWeb has been updated to understand this new location, but AnkiMobile will not understand it until the next release. Also, deck subscriptions with media will stop copying media because of this; a fix for AnkiWeb will be added when 1.2 is released.
The media database is now kept up to date when you add material, edit it, import new material, and so on. You shouldn't have to run a check media DB under normal circumstances now.
The media database is now based off the front and back of cards, so your media can be contained partly in the card template and partly in the fields. For example, you may have a field with a value "foo.jpg", and the following on your question or answer template: <img src="{{{MyField}}}">
Checksums are still stored in the deck, so Anki will be able to detect when you add the same data twice, even if the files have different names.
Check media DB provides you with a log of media in your media folder that isn't used on cards, and media that is used by cards but not available in the media folder.
LaTeX handling has also changed:
LaTeX is now generated when cards are added or edited, instead of when they're first seen.
The LaTeX preamble has been moved into the deck. The next release will include an option in the tools menu to edit the preamble so extra plugins won't be required anymore.
The default preamble now includes amssymb and amsmath, which is the main reason people needed to edit the preamble.
When hashing LaTeX the preamble is now included in the hash, so if you update the preamble, Anki will know to update the images as well. Thanks to Peter for the idea.
Cache LaTeX and Uncache LaTeX menu items have been removed. To regenerate the LaTeX when it's missing, use Tools>Advanced>Check DB. To remove the cached images, just delete all the files starting with LaTeX in your media folder.
When there's an error in your LaTeX code, the error is now inlined on the card instead of asking you to visit a folder.
LaTeX images are added to the media DB automatically too, so they should work without having to run a media DB check.
The ctrl+l shortcut to add LaTeX should no longer conflict with other shortcuts.
I've made an OSX build for PPC/10.3-10.4 users. 1.2 should support those platforms, but support will probably be dropped after that, or at least become less frequent.
The OSX build for newer computers now bundles the mp3 encoder, so you don't have to install it separately.
OSX on 10.5 should be working again.
Changes in 1.1.7

Media improvements:
There's a new option in Settings>Preferences to choose between media in the standard location, in DropBox, or in a folder of your choice.
Decks remember where their media is, and will automatically migrate it to the new location if the setting is changed.
If you choose DropBox, Anki will help you copy a link to your public folder, and automatically set up AnkiWeb/AnkiMobile to work with your media.
If you had the custom media folder plugin installed, it will be automatically disabled with a message. You will need to move your media from Dropbox/deckname.media to Dropbox/Anki/deckname.media.
Tools>Advanced>Download Missing Media now aborts if it can't find media, instead of attempting every file.
If you have new cards set to display in non-random order, the ordering is reset on upgrade to ensure the cards are displayed in the order you added them. This will wipe any spacing the news cards had.
To make sure older clients (such as AnkiMobile, which has not been upgraded yet) don't misbehave, "mature card bonus" can be set to 600 which means a bonus of 0. If you use older clients you should go to Settings>Deck Properties>Advanced and make sure the bonus is set to 600 for now.
When doing an import update, tags are now correctly updated too.
More speedups to the sync process.
Added a speedup to some compatibility code.
Downloading personal decks that haven't been upgraded won't put up spurious error messages now.
Tags combobox in the browser is bigger now.
Failures during a sync won't cause duplicate decks to appear in deck list.
When sorting by due date, the actual due date of a new card will be shown, instead of (new card), if the deck is not sorted in random order.
Changes in 1.1.6

Syncing has been improved:
If an error occurs during syncing now, both the desktop and online versions will be rolled back to the state they were before the sync began. Previously it was possible for one side to be rolled back but the other side left saved.
Errors while syncing all decks will be displayed in a message box, and stop syncing from continuing.
An error in syncing when Anki is being closed will now prevent Anki from being closed until confirmed.
Improved some of the error messages.
Syncing should be slightly faster than it was before due to improvements on the server end.
Multiple syncs after a DB check won't result in multiple full uploads anymore.
Added an option to prevent Anki from disabling sync when deck is moved (Settings>Deck Properties)
Merged open and close so there are only two settings now: sync on program open+close, and sync on deck open+close.
Card layout is now accessible from the toolbar as well
The colour selection buttons have been reworked: instead of the old 4 buttons, there is a single button which pops up a list of colours. From there you can choose a colour, add new ones, and delete the existing ones (no more editing config files!). Use F7 to pull up the list and move between colours, and F6 to choose the selected colour.
Graphs should be working again on OSX 10.5.
Possible fix for isolated startup issues on OSX.
Fixed an issue where some people had to run Anki as an administrator the first time on Windows 7.
Opening the deck browser with another copy of Anki open in the background no longer forgets temporarily inaccessible decks.
Switching back and forth between 1.0.1 and the 1.1.x branch will no longer cause plugin-related crashes.
Selective study screens now identify if they're operating on new cards or reviews.
Added a Ukrainian translation thanks to Vitalii Kuchmii.
A fix for "fieldname":value searches thanks to Marcus Rubeus.
The deck browser now shows total due/new counts.
In addition to File>Save As, File>Save now works on a freshly created deck.
Fixed remaining issues with DB library on Ubuntu.
Max failed cards should be reset to 0 now if you have 'show failed cards last' on.
Toggling suspend or mark will make sure to save the currently edited text.
Changes in 1.1.5

Spaced card handling has been reworked:
The old settings in the model properties window have been replaced by a new setting in the deck properties window.
The new setting controls how Anki should space other new cards of a fact when you answer one card of that fact. The default is 1 minute. Earlier 1.1.x versions waited until the queue was refreshed before showing the spaced cards; this version behaves more like previous Anki releases and will show spaced cards shortly after they expire.
In previous versions the card counts would decrease by more than one when you answered a card and other cards were spaced. This was confusing, and the counts ended up being increased again when the spaced cards were ready again. Now the due counts are not decreased if the spacing is less than a day.
Spacing for review cards has changed considerably. Unlike new cards where there is no risk of forgetting, cards due for review will be forgotten if they are delayed too much. The previous approach took a percentage of the least known card's interval, and added it to all sibling cards' due times. This process was repeated every time you answered a card, so if you continually failed a card, or had many card models, or had a backlog of cards, it was possible for other cards of that fact that were due to be starved of attention, and forgotten. Because of this, relative spacing has been removed in 1.1.5. If two cards of a fact are due in one day, the other card is sent to the back of the queue, to be shown after all other due cards for that day. If you're concerned about siblings being shown too close together, you can increase the new card spacing so that the siblings are introduced further apart, and much less likely to become due on the same day.
Card Layout is now accessible from the model properties dialog as well. All templates are displayed in that case.
Audio plays on entry to the card layout screen, but will not play on option/text changes.
Fixed fonts or options being copied from field to field when you selected a new field.
Allow the study options screen to expand more
Fixed error when clicking on links in card layout
Prevent users from (accidentally) hiding parts of the UI by moving a splitter all the way to the edge.
Newly created templates default to using the first and second field of a fact, and thus can be generated by default.
More tweaks to the deck properties layout.
Worked around the database library reporting errors on some Linux installs
Fixed erroneous display of 'you have moved the deck' messages after a full sync download.
The Mac build should be working on OSX 10.5 now, but graphs are not fixed yet. If you encounter any other problems, please let me know.
Fixed stuck interface when a sync error occurs, or if you cancel a deck overwrite.
Changes in 1.1.4

The Model Properties, Fonts and Colours, and Preview windows have been merged into a new window called Card Layout which is accessible any time you're editing a fact. A flip switch for the question and answer, and 'type in the answer' support are visible on the first screen, which should reduce some frequently asked questions.
The area to edit card templates is a bit larger now, and updates a preview in real time, which should help users to visualize what the templates do more easily.
Some redundant options have been in the interests of a cleaner interface.
Since every field has its own font setting already, card-wide font settings have been removed.
There are no on/off checkboxes for the fonts and colours now.
Text alignment now has one setting to control both the front and back at once. If you want to have one side with a different alignment for some reason, you can do this by adding HTML to the template instead.
Fields now have a single font family for both reviewing and editing, since a survey of online decks revealed having two different fonts was very rare. You can still achieve the same behaviour as before by wrapping the field in a font tag (see below).
There is a new syntax for rendering a field without its configured display properties: {{{field}}} instead of {{field}}. So if you want a custom font when reviewing, you could do something like the following:
<span style="font-family: myfont;">{{{fieldname}}}</span>
The difference between this syntax and prepending "text:" is that text: strips all HTML from the field - including any bolding, colours, etc.
There is a new option to control whether whitespace should be treated verbatim or collapsed. It defaults to on, which means that if you type indented text into Anki, it will appear as you have entered it. Advanced users may like to disable this option if they are adding custom HTML to their fields.
The card layout dialog is activated via F2 - the same shortcut as preview used to have.
The cards displayed are different to what the preview cards dialog displayed. If you are editing an existing card, the preview is locked to the currently selected card. If you are adding a new fact, all cards that are enabled and can be generated are selectable.
An error or crash happening when focus left the tags area has been fixed.
The Mac version now supports recording again.
Changes in 1.1.3

Fix crashes when adding/editing cards
Fix crashes on Windows when certain plugins were installed
Mark a few strings as translatable
Changes in 1.1.2

New template handling:
Instead of using
%(Field)s
you can now type
{{Field}}
in Settings>Deck Properties>Edit>Card Templates.
The old formatting is still used behind the scenes so compatibility with older clients isn't broken.
Conditional rendering is now supported - for example, if you want to show some text only when a field is not empty, use {{# FieldName}}My text{{/ FieldName}}.
To show text when a field is empty, use {{^ FieldName}}My text{{/ FieldName}}.
Conditional field models allow you more control over which cards are generated. If you want a card to only be generated if FieldA and FieldB are both non-blank, simply wrap the entire template in two conditions for those fields.
Mistyping a field name in a template will now give a more useful warning, instead of replacing the entire question or answer with "invalid format".
Fixed loading of decks when decks contain foreign characters in their name
Fixed crash on load on Windows when foreign characters in path
Mac packages fixed - in the last release they didn't contain the latest code.
Fixed issue where the pinyin toolkit would freeze when editing pinyin.
Fixed errors sometimes popping up when adding or editing cards on Windows
Update due counts when exiting review early to the deck browser
Fixed typo in download decks screen
Tag completion with keyboard should work properly now
Changes in 1.1.1

If your deck has foreign characters in its name or its path, please wait for the next release, as it won't work with this release.
Users of the Japanese Support plugin will need to download the latest version. If you experience problems with other plugins, please report the issue to the plugin author.
A number of changes to importing:
You now have the option to update existing facts, instead of just importing new ones. This will allow you to merge data from multiple sources provided they have a field in common, and allows you to do bulk edits of your data outside of Anki in a text editor or spreadsheet program.
The importing dialog has been tidied up. 'Tags to add' has been removed, as you can now add 'tags:tag1 tag2 ...' to the top of the text file instead.
The option to tag duplicates has also been removed. Instead, there is a new option available in the card browser's edit menu to find duplicates in your deck. You can search within a single model's field, or within all fields with a given name.
Fixed a bug where comments and empty lines in text files were not being stripped.
Graphs have also been updated:
Most of the graphs are now displayed as bar graphs instead of line graphs for periods of 6 months or less.
Axis labels have been added. These are only in English for now, due to limitations in the graphing library.
Fixed a bug in some of the graphs that meant the data was shifted by one day.
The shades of blue in the reviews graph should be easier to distinguish now.
And some changes to syncing:
Syncing now requires the local deck name and deck on the server to match. Previously you could have a deck called "something" called "something else" on the server, which was pretty confusing. It also meant that if you copied the deck outside of Anki, the new copy would still sync to the same location on the server.
When you open a deck in 1.1.1 for the first time, Anki will check if the sync name matches the deck name. If they are the same, no action is required on your part. If they were different, syncing will be temporarily disabled and instructions given on what to do.
Anki will now detect when a deck has been moved or copied outside of the program, and automatically disable syncing until you manually enable it again.
Enabling syncing is much easier now - just File>Sync.
Downloading a deck will save it to the same filename now. If you have an existing deck of that name, you'll be prompted if you want to overwrite it, rather than a deck with a string of numbers after the name being created like before.
The warning about uploading a deck is only displayed if the deck already exists on the server now.
In the case of a download or clobber resolution, some steps are skipped resulting in better performance.
And updates to the Windows distribution:
People who don't have recent standard libraries installed (such as when their machine is locked down at work) should now be able to run the program without issues now.
Some of the audio tools have been updated, which should fix issues with truncated audio some people were experiencing.
Recording, which was broken in 1.1.0, has been fixed.
The distribution is considerably more compact now - the installed size is about 1/3rd of what it was before.
Because many files are stored in different locations now, you should uninstall the old copy of Anki first to remove the older copies. This is only necessary once.
Cramming from the browser fixed
Deck finished message displays due cards tomorrow again
Fixed errors when editing a card then answering it
Fixed card generation when tags or card template names on the card
Rescheduled cards should stay rescheduled when used on older clients
Fix for using a deck on broken NTFS implementations
Don't allow tags to start with a hyphen
Changes in 1.1.0

This is the the start of a new development branch (1.1.x). It should be fairly stable, but if you aren't interested in the new features, and don't want to report bugs if you encounter them, you're better of staying with 1.0.1 for now.
There have been many changes since 1.0.1. Some of them may cause surprises, so please look below:

Mac users: Support for PPC machines and OSX less than 10.5 has been dropped. This is necessary because the older versions of the GUI toolkit which support such machines have numerous bugs and are lacking some important features. You will need an Intel Mac with OSX10.5+ to use this release.
If you're using the Japanese Support plugin, you need to upgrade to the latest version.
Some plugins may not work with this release. If they don't, please contact the plugin author and ask them to support the new version.
Cards are gathered on a per-day basis by default now - the cutoff being the same 'new day stats at' setting that controls when your stats roll over. If you prefer cards to expire throughout the day, you can change this setting in the advanced settings, but note that it will perform a little differently to before. Instead of cards being added to the queue as soon as they expire, they will be added to the queue after you've finished all the other cards, or you reopen the deck. This prevents due counts creeping up while you're reviewing, ensures that when you undo a card it appears immediately again, and performs better than before.
Because of the default per-day scheduling, your deck's 'hard' initial answer will be set to 1 day on the upgrade. If you don't want per-day scheduling, you can set this back to 8-12 hours in settings>deck properties>advanced after disabling per-day scheduling.
Spaced card handling has changed. If your spacing is set to 0 then other cards of a fact will be shown like before. However, if you have a non-zero spacing (the default is 1 minute), spaced cards are not gathered until the next queue refill, which can be up to 200 cards. Depending on complexity, the old behaviour may be restored in a later release.
The inactive tags menu has gone away, replaced by more flexible settings in the study options. You can now set 'show only these tags', and 'exclude these tags', and the settings are different for new cards & review cards, so you can control what new cards are introduced without affecting reviews.
Cram behaves quite differently now. Answers while you are cramming will alter the underlying deck using the same algorithm as 'review early'. This means cards that were almost due will end up being scheduled almost as long as they would have if you'd waited a little longer, and cards that were only just answered recently receive about the same interval they had last time. It also means no long wait for big decks to be copied, and the ability to edit mistakes you encounter while cramming. If you wish to cram without modifying your original deck for some reason, you can accomplish this by exporting your deck without scheduling information.
The way Anki gathers cards for review has been significantly changed. This will allow for smaller, faster decks in the future. Currently the decks remain only trivially changed, so that you can easily upgrade/downgrade to 1.0 and keep using the other clients.
The study options screen has been reworked to be easier to understand
Cramming now gives you the choice of sorting by card added date, random order, or oldest modified. The latter means it's possible to review the oldest seen cards first, and allows you to stop cramming and resume where you left off later.
Importing/exporting will copy only the media referenced in the cards, not unused media, so exporting a small number of tags from a big deck is much faster now.
Cramming ignores normal card spacing, so that you get to see all cards of a fact.
A regular search now ignores HTML, so you can search for words even if they have been partially bolded/underlined/etc.
Fixed SuperMemo importing.
Removed 'model tags' from the GUI. Model names are now treated the same way as card templates are - their name is also their tag, which should remove some confusion. For now the code will still keep model tags in the background so existing plugins don't break, but in the future plugins should check the name instead. If you're using a plugin which looks for specific tags (for example, the Japanese support plugin expects models to be tagged 'Japanese'), then you'll need to make sure the model name includes the tag.
Some improvements from Marcus:
More search options in the browser - search per field, for card models, etc. See the improved search thread for more info.
Add support for wrapping text in <c>...</c> in card templates. If the browser notices any of those tags, only the content inside the tags will be displayed. You can use this to show only relevant fields in the question/answer area.
remove html entities and script tags when stripping HTML
Graphs should now work on older machines that don't support SSE instructions.
Allow the question/answer format in the model properties to expand.
Fixed some problems with importing csv files with quotes.
Fixed trying to import into an unsaved deck on Windows.
Do a sanity check after a sync to make sure no facts are missing.
Fixed card generation for cards that use text:
Fixed more issues with card template ordering.
Don't hide vertical scroll bars when editing facts.
Other miscellaneous fixes

** Affects: anki (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to anki in ubuntu.
https://bugs.launchpad.net/bugs/701381

Title:
  [new-upstream]anki 1.2 release candidate 7



Follow ups

References