make sure temp folder hasn't been deleted since creation
don't try to log in if user cancels login dialog
allow changing case of profile name on Windows
Merge branch 'windows-case-fix'
update all duplicates when importing

If duplicate notes are already in the collection and, based on the first
field of all of them, they should be updated, update all of them instead
of just the first one we come across.
remove search text when ctrl-clicking a left panel item
fix rounding of cards/minute; use 1 decimal place
change default Anki folder location on Linux to Documents/Anki

(leave in ~/Anki for existing installs)
fix handling of corrupt collections on windows

- advise user to create new profile, which prevents restores from
  backup overwriting old backups
- don't rename the collection file, as it's no longer necessary,
  and it fixes a windows bug where the main window would be left
  open due to a failure to rename the locked collection file
if media.db import fails, start anew
Merge branch 'master' of https://github.com/hssm/anki
add css id to the star used for marking

Can't automatically prevent the star from being affected by image resize
and other CSS properties, as even weirder things happen to it when we
try. However, this will give users the ability to fix it themselves.
change out of temp media folder before deleting it

In some cases, not doing so could cause a "this file is being used by
another process" error.
prevent profiles from getting out of sync when rename fails

If there is an error in renaming the folder, don't write the new profile
name to the database.
update note type on apkg import when only templates have changed

Previously, it only updated if card/note count was different, even if
the templates / styling information had been updated.
Merge branch 'master' of git://github.com/sobjornstad/anki into sobjornstad-master

Conflicts:
	anki/exporting.py
Merge branch 'sobjornstad-master'
initial zip check should display same zip error message
fix ngettext mistake in cards/minute stat

introduced in 46a38f843efd5ac37f1779ce9a24d30acd1b7035
Merge branch 'master' of https://github.com/sobjornstad/anki