Commit graph

1707 commits

Author SHA1 Message Date
Glutanimate
7c50ea06ad Revert debug console shortcut workaround
Seems like the assignment to "Ctrl+:" is working again

cf. fb81f63fe3
2018-03-18 15:50:50 +01:00
Damien Elmes
562eeda201 allow pycmd() to return a value
based on pull request #228
2018-03-08 17:48:14 +10:00
Damien Elmes
d07c6e7978 fix memory leak caused by text_factory 2018-03-05 15:27:22 +10:00
Damien Elmes
2336cd098c don't show completion dropdown on focus in
obscures buttons and gives the impression something needs to be chosen
https://anki.tenderapp.com/discussions/ankidesktop/27132-anki-bug-with-tags-and-decks#comment_44820594
2018-03-02 12:19:10 +10:00
Damien Elmes
75d1cb1f2a filter middle click pastes 2018-03-02 11:16:02 +10:00
Damien Elmes
fe52cc8fc9 bump version 2018-03-01 15:55:17 +10:00
Damien Elmes
b6d68c284e work around issues writing to Windows clipboard
https://anki.tenderapp.com/discussions/beta-testing/1014-cannot-copy-from-fields-in-anki-210beta36
2018-03-01 15:53:25 +10:00
Damien Elmes
4c4fcfe403 clean up deck chooser hook on importer close
fixes
https://anki.tenderapp.com/discussions/ankidesktop/20841-editingimport-limitation#comment_44777511
2018-03-01 14:20:30 +10:00
Damien Elmes
e131cb8e30 clarify 'delete unused' button, and don't show when n/a 2018-03-01 14:00:05 +10:00
Damien Elmes
5bcb76e176 don't convert quotes to entities on import
https://anki.tenderapp.com/discussions/ankidesktop/26926-bug-report-exporting-than-re-importing-messes-up-quotes
2018-03-01 13:38:06 +10:00
Damien Elmes
317cb84201 ignore delete key if card list is not focused
https://anki.tenderapp.com/discussions/beta-testing/1004-ctrl-delete-erases-my-cards
2018-03-01 13:31:52 +10:00
Damien Elmes
ce8f66fac8 normalize to NFC on all platforms
APFS is normalization-preserving, which results in spurious changes
being detected if we assume we'll receive NFD from file listings

this needs to be ported to 2.0.x as well
2018-02-28 16:22:06 +10:00
Damien Elmes
c8b5c9da42 increase default rev limit to 200 2018-02-27 12:58:24 +10:00
Damien Elmes
fe95cdcfdd fix error when unsetting browser appearance 2018-02-26 11:21:12 +11:00
Damien Elmes
69f5c3f4e9 remove unused httplib2 from requirements 2018-02-26 11:20:55 +11:00
Damien Elmes
4d6d5034a9 load add-ons in consistent order
if ANKIREVADDONS env var is defined, reverse order for debugging

partially addresses pull req #225
2018-02-24 13:23:15 +11:00
Damien Elmes
5d3cff53d8 Merge branch 'master' of github.com:dae/anki 2018-02-22 17:04:29 +11:00
Damien Elmes
841e88c2a8 change sibling burying to default to off
causes too much confusion for new users
2018-02-22 17:00:11 +11:00
Damien Elmes
c78d86b74f clarify add notes option in browser 2018-02-22 16:58:32 +11:00
Damien Elmes
6fa1893a69 Merge pull request #226 from andrewsanchez/master
Provide details regarding pyqt5 version
2018-02-22 16:57:32 +11:00
Andrew Sanchez
28d4ce6c43 Provide details regarding pyqt5 version
Following instructions as they were on mac osx resulted in the "5.10 is buggy"
exception
2018-02-21 12:48:18 -07:00
Damien Elmes
bcf07054d2 Merge branch 'master' of github.com:dae/anki 2018-02-08 10:06:32 +10:00
Damien Elmes
e92f82ff89 Merge pull request #223 from Rom1deTroyes/patch-1
'bzr clone' deprecated (use 'bzr branch' instead)
2018-02-08 10:05:23 +10:00
Romain
3cd52c63ee 'bzr clone' deprecated (use 'bzr branch' instead)
Using bazaar I get this advice :

```
$ bzr clone lp:anki i18n
The command 'bzr clone' has been deprecated in bzr 2.4. Please use 'bzr branch' instead.

$ bzr --version
Bazaar (bzr) 2.8.0dev1
  Python interpreter: /usr/bin/python 2.7.13
  Python standard library: /usr/lib/python2.7
  Platform: Linux-4.9.0-5-amd64-x86_64-with-debian-9.3
  bzrlib: /usr/lib/python2.7/dist-packages/bzrlib
```
2018-02-07 18:57:25 +01:00
Damien Elmes
29597abe85 give hard a 1.5x interval when there's only one (re)learning step
otherwise we end up with two buttons that do the same thing
2018-02-06 15:41:56 +10:00
Damien Elmes
fe85b3bf26 misleading spacing 2018-02-06 11:47:28 +10:00
Damien Elmes
2c8668a5f9 bump version 2018-02-05 16:10:29 +10:00
Damien Elmes
8c6ee7de6b fix importing of v2 colpkg files 2018-02-05 15:30:57 +10:00
Damien Elmes
d8de5fbb9b check shift key when paste starts; avoid progress dlg for local file
https://anki.tenderapp.com/discussions/ankidesktop/26661-conot-paste-image-and-text-together-from-word-into-anki
2018-02-05 13:40:56 +10:00
Damien Elmes
2e3907f62e fix temp folder msg 2018-02-05 12:34:38 +10:00
Damien Elmes
2b7f2adbb8 catch more problems with corrupt collections
if collapseTime is missing from col.conf, the initial load was
succeeding, but then the UI was getting stuck in moveToState()
2018-02-05 12:34:31 +10:00
Damien Elmes
e91f505847 Revert "workaround for some drags not being accepted"
This reverts commit a3d33cfdb8.

didn't fix user's problem, and has introduced issues with the cursor
disappearing
2018-02-05 11:27:14 +10:00
Damien Elmes
e592886723 prevent find duplicates scrolling to top on link click 2018-02-03 17:11:32 +10:00
Damien Elmes
80487ad664 rename _restoreFromFiltered
and use same logic as restoreQueueSnippet
2018-02-02 19:10:35 +10:00
Damien Elmes
b9932249e3 remove _cidsByDid()
no longer necessary
2018-02-02 16:55:53 +10:00
Damien Elmes
32241b9cb1 fix is:buried in v2 scheduler 2018-02-02 16:17:26 +10:00
Damien Elmes
067191b8cc simplify rev card answering 2018-02-02 15:19:41 +10:00
Damien Elmes
3d3cf3d135 fix no relearn steps case in v2 sched 2018-02-02 14:30:53 +10:00
Damien Elmes
4f281b5db0 v2 sched cleanups 2018-02-02 12:44:56 +10:00
Damien Elmes
e7607608c8 raise profile window on macos
otherwise profile manager opens without focus
2018-02-01 12:14:04 +10:00
Damien Elmes
386329fc09 include average answer time for today 2018-01-31 17:35:22 +10:00
Damien Elmes
ce89d769c3 bump version 2018-01-31 15:34:04 +10:00
Damien Elmes
58f51ca095 make sure we don't import v1 scheduling into a v2 collection 2018-01-31 15:33:58 +10:00
Damien Elmes
7013cbcd57 experiment with counting learning cards instead of learning steps
When studying, the learning count now indicates the number of
learning cards due within the learn ahead limit, instead of the total
number of learning steps required to complete that day.

Also fix the ineffective limit clauses in the learning counts.
2018-01-31 14:50:17 +10:00
Damien Elmes
bcbc6ee44a fix check for nesting under filtered deck 2018-01-31 11:40:16 +10:00
Damien Elmes
a681a8e299 enable syncing w/ v2 scheduler, and bump sync version
any client using a sync version of 9 must be able to handle
the V2 scheduler
2018-01-30 17:52:03 +10:00
Damien Elmes
a3d33cfdb8 workaround for some drags not being accepted
https://anki.tenderapp.com/discussions/ankidesktop/26688-drag-and-drop-not-always-working
2018-01-30 11:06:46 +10:00
Damien Elmes
c474f58748 enforce schema version; allow importing+exporting v2 scheduler
To avoid all sorts of problems, we need to ensure cards scheduled with
the V2 scheduler are not studied in older clients. Unfortunately we
can't just bump the file's schema version, as the existing clients will
freely import files created with newer versions. This patch changes
that, so things should be a bit easier in the future.

In the mean time, we need a way to prevent older clients from importing
files created with the V2 scheduler. To do this, we switch to using a
'collection.anki21' file in the archive, and include a dummy collection
.anki2 file.

The code has been tested with both deck and collection packages, but
exporting deck packages w/ scheduling info will remain disabled until
the V2 scheduler has had more testing.
2018-01-29 14:12:04 +10:00
Damien Elmes
61ebdc5729 no parallel processing in travis run
can lead to race conditions
2018-01-27 19:06:49 +10:00
Damien Elmes
4545db7e8c remove unused bundled certs 2018-01-27 16:08:31 +10:00