Commit Graph

1765 Commits

Author SHA1 Message Date
Damien Elmes
c01ba49168 remove stale journal file when resetting prefs 2018-03-22 14:10:23 +10:00
Damien Elmes
83cc2a6ce8
Merge pull request #229 from glutanimate/fix-ondebug-hotkey
Revert debug console shortcut workaround
2018-03-20 14:30:45 +10:00
Glutanimate
410d1226bc 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
8ea7820bc1 add missing license file 2018-03-17 10:37:50 +10:00
Damien Elmes
ca96573a07
Merge pull request #227 from dsd/master
Makefile improvements for flatpak
2018-03-17 10:37:11 +10:00
Daniel Drake
954fc91d1f 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
87e9effc84 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
08234805e0 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
4cee3807ff 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
56e1643bfa allow pycmd() to return a value
based on pull request #228
2018-03-08 17:48:14 +10:00
Damien Elmes
cf3cab2101 fix memory leak caused by text_factory 2018-03-05 15:27:22 +10:00
Damien Elmes
9db9d144b9 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
dc6ebca944 filter middle click pastes 2018-03-02 11:16:02 +10:00
Damien Elmes
ee940cfa85 bump version 2018-03-01 15:55:17 +10:00
Damien Elmes
25c3f2cb24 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
53f0793b9e 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
724513ca91 clarify 'delete unused' button, and don't show when n/a 2018-03-01 14:00:05 +10:00
Damien Elmes
0fce9fba9d 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
c87b9be73a 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
88fe45b1bb 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
3cccae7a1f increase default rev limit to 200 2018-02-27 12:58:24 +10:00
Damien Elmes
9902e21cba fix error when unsetting browser appearance 2018-02-26 11:21:12 +11:00
Damien Elmes
012d63f882 remove unused httplib2 from requirements 2018-02-26 11:20:55 +11:00
Damien Elmes
9a23f0958d 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
db161c4f19 Merge branch 'master' of github.com:dae/anki 2018-02-22 17:04:29 +11:00
Damien Elmes
3b29bf6cba change sibling burying to default to off
causes too much confusion for new users
2018-02-22 17:00:11 +11:00
Damien Elmes
29608c37c8 clarify add notes option in browser 2018-02-22 16:58:32 +11:00
Damien Elmes
288c63694d
Merge pull request #226 from andrewsanchez/master
Provide details regarding pyqt5 version
2018-02-22 16:57:32 +11:00
Andrew Sanchez
0d352faa2d 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
c8f6c3dff8 Merge branch 'master' of github.com:dae/anki 2018-02-08 10:06:32 +10:00
Damien Elmes
1505c71eb3
Merge pull request #223 from Rom1deTroyes/patch-1
'bzr clone' deprecated (use 'bzr branch' instead)
2018-02-08 10:05:23 +10:00
Romain
acd5a05d6c
'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
730d444164 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
cc26d32431 misleading spacing 2018-02-06 11:47:28 +10:00
Damien Elmes
a1c02e8177 bump version 2018-02-05 16:10:29 +10:00
Damien Elmes
8a15bc897b fix importing of v2 colpkg files 2018-02-05 15:30:57 +10:00
Damien Elmes
5cd063a8bd 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
b08e25dafb fix temp folder msg 2018-02-05 12:34:38 +10:00
Damien Elmes
275af7e9b5 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
e7046ba398 Revert "workaround for some drags not being accepted"
This reverts commit 99009be1ca.

didn't fix user's problem, and has introduced issues with the cursor
disappearing
2018-02-05 11:27:14 +10:00
Damien Elmes
a617be1779 prevent find duplicates scrolling to top on link click 2018-02-03 17:11:32 +10:00
Damien Elmes
1dccd7c8d7 rename _restoreFromFiltered
and use same logic as restoreQueueSnippet
2018-02-02 19:10:35 +10:00
Damien Elmes
3b0c5b2fe9 remove _cidsByDid()
no longer necessary
2018-02-02 16:55:53 +10:00
Damien Elmes
01942cd076 fix is:buried in v2 scheduler 2018-02-02 16:17:26 +10:00
Damien Elmes
264e7c8ce9 simplify rev card answering 2018-02-02 15:19:41 +10:00
Damien Elmes
0b42787ffc fix no relearn steps case in v2 sched 2018-02-02 14:30:53 +10:00
Damien Elmes
ebe420b440 v2 sched cleanups 2018-02-02 12:44:56 +10:00
Damien Elmes
1b7a7df4f0 raise profile window on macos
otherwise profile manager opens without focus
2018-02-01 12:14:04 +10:00
Damien Elmes
6d7dd08e1e include average answer time for today 2018-01-31 17:35:22 +10:00
Damien Elmes
3d71d6873e bump version 2018-01-31 15:34:04 +10:00