Commit Graph

2246 Commits

Author SHA1 Message Date
lovac42
a4a47a0c94 rm unnecessary step 2019-08-20 23:31:04 -04:00
lovac42
0007c98e8d Fix case sensitive field names so that 'apple' and 'Apple' both show up in drop down list when performing a search and replace. 2019-08-20 22:28:45 -04:00
Damien Elmes
b0bf0adacf
Merge pull request #325 from MHordecki/format_exception
Use traceback.format_exception for debug error display.
2019-08-20 19:35:54 +10:00
Mike Hordecki
5d6ba06369 Use traceback.format_exception for debug error display. 2019-08-19 23:08:55 +02:00
Damien Elmes
1a1fc35428
Merge pull request #324 from MHordecki/software-opengl
Add support for OpenGL software rendering.
2019-08-18 20:18:03 +10:00
Damien Elmes
442df9d668
Merge pull request #323 from SebastienGllmt/patch-1
Allow disabling timeTicks
2019-08-17 18:50:44 +10:00
Damien Elmes
4dde7b13d0 ensure random distribution of due cards for a given day in v2 sched 2019-08-17 18:45:00 +10:00
Damien Elmes
888d8b5dee add progress dialog for media delete 2019-08-17 18:32:39 +10:00
Mike Hordecki
8617ec7250 Add support for OpenGL software rendering.
In some systems, the default Qt hardware renderer is buggy. There's a Qt
option for forcing software rendering. This commit adds support for a
new environment variable, ANKI_SOFTWAREOPENGL, that, when set, will
prompt Anki to force software OpenGL in Qt.
2019-08-16 23:18:28 +02:00
Sebastien Guillemot
a9641e50c6
Allow disabling timeTicks 2019-08-16 01:58:10 +10:00
Damien Elmes
c4eca03dd8 pin logging
https://anki.tenderapp.com/discussions/ankidesktop/35444-python-standard-library-availability-in-anki
2019-08-13 19:08:49 +10:00
Damien Elmes
1bb1aecd81
Merge pull request #320 from shanrauf/readme-dev-typo
Small README.development error
2019-08-03 09:11:58 +10:00
Shan Rauf
0e8ebee465 Fix readme.development typo 2019-07-29 02:10:34 -07:00
Damien Elmes
4c6b608736
Merge pull request #318 from wgreven/single-config-file-for-colors
Allow configuring Anki's color scheme using a single config file on Linux
2019-07-22 10:51:51 +10:00
Damien Elmes
e5194ad208 remove open backup folder link
https://anki.tenderapp.com/discussions/ankidesktop/35084-crash-while-trying-to-revert-to-a-backup
2019-07-22 10:49:22 +10:00
Wilco Greven
9b10e3f43e Set applicationName and desktopFileName before instantiating the application.
When these are set after instantiating the application Anki will load both
$XDG CONFIG HOME/.config/Ankirc and $XDG CONFIG HOME/.config/ankirc.
2019-07-20 13:10:59 +02:00
Damien Elmes
79a4f76422
Merge pull request #317 from wgreven/fix-window-icon-on-wayland
Show the correct window icon when running on Wayland
2019-07-19 08:37:50 +10:00
Wilco Greven
ffab5d31d4 Set the desktop file name.
Otherwise, on Wayland, Anki will look for python3.desktop This fixes the window icon.
2019-07-18 23:14:34 +02:00
Damien Elmes
b503da2648
Merge pull request #316 from vi3itor/master
Remove outdated pyqt mentions from README.development
2019-07-17 18:45:04 +10:00
Damien Elmes
4f819d06ec display a more helpful message when base folder not readable in startup 2019-07-17 17:23:22 +10:00
Victor Khaustov
a76a4f15fe remove outdated pyqt mentions from Mac section 2019-07-15 12:18:57 +09:00
Damien Elmes
95387af2cd cleanup recording on cancel 2019-07-14 11:19:29 +10:00
Damien Elmes
7a9508ea75 force default button in record dialog
https://anki.tenderapp.com/discussions/ankidesktop/34985-make-save-the-default-option-when-recording-audio
2019-07-12 17:37:25 +10:00
Damien Elmes
00f171e6c3 fix flag changes in browser not syncing 2019-07-09 15:16:02 +10:00
Damien Elmes
6661ba8a77 bump version 2019-06-27 10:27:31 +10:00
Damien Elmes
7b93e9855e quieten local port message for now
the race condition that is causing this still needs to be investigated
2019-06-27 10:01:23 +10:00
Damien Elmes
ce4d18aded put deck fix messages in the collection log 2019-06-27 09:46:56 +10:00
Damien Elmes
9fc4b55575 fix v2 relearning reset bug
https://anki.tenderapp.com/discussions/ankidesktop/34560-schedule-switching-bug
2019-06-14 09:15:48 +10:00
Damien Elmes
9369e99b2a and test to catch v2 relearning reset bug
https://anki.tenderapp.com/discussions/ankidesktop/34560-schedule-switching-bug
2019-06-14 09:15:38 +10:00
Damien Elmes
702788c8d0 bump version 2019-06-11 15:25:45 +10:00
Damien Elmes
c7201b0c3a prefix non-breaking spaces
https://anki.tenderapp.com/discussions/ankidesktop/34512-first-space-is-omitted-when-pasting
2019-06-10 09:41:29 +10:00
Damien Elmes
47478e584f use screen-relative max height/width
this should matche the Anki 2.0 behaviour
2019-06-06 09:53:50 +10:00
Damien Elmes
1a6de042df fix __renderPage() being called twice 2019-06-01 16:35:19 +10:00
Damien Elmes
ef10d76edb fix v2 lrn scheduling bug
https://anki.tenderapp.com/discussions/ankimobile/9714-deleting-custom-study-deck-skips-learning-step-time
2019-05-31 15:05:12 +10:00
Damien Elmes
bf4b287d15 add unit test for v2 lrn scheduling bug
https://anki.tenderapp.com/discussions/ankimobile/9714-deleting-custom-study-deck-skips-learning-step-time
2019-05-31 15:02:58 +10:00
Damien Elmes
e2791d812f
Merge pull request #309 from lovac42/reverted_info
added runHooks for reverted cards and state.
2019-05-20 15:03:28 +10:00
Lovac42
a803f4afee added runHooks for reverted cards and state. 2019-05-17 20:17:36 -04:00
Damien Elmes
3ba559907b add Anki icon to a few windows
thanks to John for the original work on this
https://github.com/dae/anki/pull/308
2019-05-17 15:28:15 +10:00
Damien Elmes
1c47eb73d0 fix preview failing to appear when 'show both sides' enabled 2019-05-17 15:16:13 +10:00
Damien Elmes
329c6d365a remove trailing <br> tag when pasting
https://anki.tenderapp.com/discussions/ankidesktop/33843-anki-2112-adds-br
https://anki.tenderapp.com/discussions/ankidesktop/33977-unwanted-automatic-line-break-insertion-after-pasting-into-a-field
2019-05-17 13:40:23 +10:00
Damien Elmes
1f36a7112f don't error out when non-latin characters written to js console
(some?) macOS users have an ascii encoding, so we need to escape
the non-ascii portions prior to writing
2019-05-17 08:43:25 +10:00
Damien Elmes
0008e6cb3f
Merge pull request #306 from lovac42/master
doubleclick addman list
2019-05-15 15:58:43 +10:00
Damien Elmes
86d9b57877 prevent deck chooser from becoming default
Qt's behaviour seems to have changed in move to 5.12
2019-05-15 14:50:55 +10:00
Damien Elmes
7aba268d7a tweak type answer note type 2019-05-14 17:05:37 +10:00
lovac42
f41e791c5a
doubleclick addman list
doubleclick on addon manager list opens conf editor.
2019-05-13 17:27:27 -04:00
Damien Elmes
bcb422beda fix learn steps being assigned on relearn in v2 2019-04-30 09:27:28 +10:00
Damien Elmes
9ce1f051cc catch add-on deletion failure due to locked files in add-on folder
https://anki.tenderapp.com/discussions/add-ons/32676-2112
2019-04-29 18:43:10 +10:00
Damien Elmes
8a63b4712c on serverAbort, return early
- fixes error attempting to access self.client.hostNum
- prevents media sync from running
2019-04-29 18:27:00 +10:00
Damien Elmes
599f57494b wrap due numbers instead of capping them, and add warning
Wrapping (mostly) preserves the original card order, and starting
at 1M makes it easier for users to find the cards with the high
due numbers even after they have wrapped.

related discussion:
https://anki.tenderapp.com/discussions/ankidesktop/33664-due-value-of-new-card-being-1000000
2019-04-29 18:17:33 +10:00
Damien Elmes
3716feb1c4 fix 'open backup' opening to an empty deck list
Starting the import in a timer could cause the collection to be unloaded
while the deck list was being displayed, leading to an inconsistent
state.

The timer was originally required to avoid importing on startup,
but profile load is already delayed until after startup these days,
so the workaround should no longer be necessary.
2019-04-29 16:59:29 +10:00