Commit graph

1727 commits

Author SHA1 Message Date
Damien Elmes
d7db4b7427 catch attempts to save field contents to wrong note 2018-04-30 15:15:20 +10:00
Damien Elmes
d453278d4b fix field getting overwritten when showing duplicates 2018-04-30 14:51:28 +10:00
Damien Elmes
208b965883 Merge pull request #235 from homocomputeris/feature_find_duplicates_wording
Refine wording in Find duplicates
2018-04-30 12:29:40 +10:00
Homo computeris
945dc6b281 Refine wording in Find duplicates
In browser and other dialogues 'Search' and 'Filter' are used. Using the
same terms here make Find duplicates more intuitive
2018-04-28 15:50:16 +02:00
Damien Elmes
f8bfcc01d6 sox was dropped years ago 2018-04-19 17:15:49 +10:00
Damien Elmes
4d016cf4ba hack around premature completer deletion
haven't been able to identify why qt sometimes deletes the completer
early, so just suppress the error for now

https://anki.tenderapp.com/discussions/beta-testing/884-freeze-and-sigabrt-when-add-dialog-is-left-open-for-about-one-hour-and-used-afterwards#comment_44837119
2018-04-18 13:21:10 +10:00
Damien Elmes
1ba8deae4e allow for slow machines
https://anki.tenderapp.com/discussions/ankidesktop/27674-possible-race-condition-in-testtest_cardstest_delete-works-in-isolation
2018-04-12 17:59:51 +10:00
Damien Elmes
349664011e Merge pull request #232 from Dudemanguy911/master
force mpv --keep-open=no
2018-04-11 11:53:29 +10:00
Dudemanguy911
0f6312ee68 force mpv --keep-open=no 2018-04-08 11:18:51 -05:00
Damien Elmes
ba378394cf Merge pull request #231 from ljcooke/config-md-unicode
Read config.md as UTF-8
2018-04-06 16:47:31 +10:00
Damien Elmes
b991883a6c Revert "work around issues writing to Windows clipboard"
This reverts commit b6d68c284e.

seemed to be causing crashes, and the underlying race condition wasn't solved
2018-04-06 16:46:09 +10:00
Liam Cooke
8eb6490dfd Read config.md as UTF-8 2018-04-05 22:11:44 +10:00
Damien Elmes
6dd7a18667 remove stale journal file when resetting prefs 2018-03-22 14:10:23 +10:00
Damien Elmes
bc4178c4d4 Merge pull request #229 from glutanimate/fix-ondebug-hotkey
Revert debug console shortcut workaround
2018-03-20 14:30:45 +10:00
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
2ed80875a9 add missing license file 2018-03-17 10:37:50 +10:00
Damien Elmes
9e62dcaf52 Merge pull request #227 from dsd/master
Makefile improvements for flatpak
2018-03-17 10:37:11 +10:00
Daniel Drake
e63ae7d868 Makefile: make xdg-mime calls non-fatal
xdg-mime may not be available in the build root being used.
Allow application installation to proceed anyway.
2018-03-15 22:00:21 +08:00
Daniel Drake
334af0ab6c Makefile: only install required files
The previous Makefile is doing "cp *" and hence installing uninteresting
files like the Makefile itself.

Copy only the application-relevant files, and switch to using install
for some of this where we can automatically create parent directories
if required, solving issues when installing into an empty root.

locale installation is optional; as before, locale files will be
installed if they are present, but installation can also proceed
without them.
2018-03-15 21:59:23 +08:00
Daniel Drake
2dbb4f1247 Fix consistency between /usr and /usr/local
By default the Makefile installs data into /usr/share (with default prefix
/usr) but the binary is installed into /usr/local/bin (as if the prefix
were /usr/local).

Improve consistency by dropping "local" from the binary path. If the
user wants to install into /usr/local he/she can do PREFIX=/usr/local
2018-03-08 23:22:41 -06:00
Daniel Drake
3dff2aa7f5 runanki.system: fix prefix at install time
Currently the Makefile lets you choose your own PREFIX, but
the installed runanki.system always hardcodes the prefix as /usr.

Fix runanki.system at install time to install into the designated
PREFIX.
2018-03-08 23:22:41 -06: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