evandrocoan
b5454e006f
Fix macos not find gettex, msgfmt: command not found
...
https://github.com/ankitects/anki/runs/617116053?check_suite_focus=true#step:27:1244
Compiling *.po...
./scripts/build-mo-files: line 18: msgfmt: command not found
./scripts/build-mo-files: line 18: msgmerge: command not found
2020-04-25 05:17:18 -03:00
Damien Elmes
811bcda14c
support globbing chars inside word boundary search
2020-04-25 09:43:08 +10:00
Damien Elmes
2f8396a951
add w: shortcut for searching on word boundaries
2020-04-25 08:48:01 +10:00
Damien Elmes
dd57505bed
Merge pull request #576 from evandroforks/fix_ripgrep_not_failing
...
trailing-newlines.sh should exit with error code 1
2020-04-23 20:02:50 +10:00
Damien Elmes
7159f477a6
Merge pull request #573 from evandroforks/printWidth100
...
Set .prettierrc printWidth to 88 because the default is too short
2020-04-23 20:01:58 +10:00
evandrocoan
18763ec8db
Set .prettierrc printWidth to 88 because the default is too short
2020-04-22 23:11:03 -03:00
evandrocoan
88b37fff9d
trailing-newlines.sh should exit with error code 1 otherwise
...
the script will not fail/stop.
2020-04-22 20:08:17 -03:00
Damien Elmes
3bebb30ddb
Merge pull request #574 from evandroforks/fix_ubunut_ripgrep
...
Fixed ripgrep not installing on ubuntu anymore
2020-04-21 13:50:26 +10:00
evandrocoan
b9ac8d9a59
Fixed ripgrep not installing on ubuntu anymore
...
https://github.com/BurntSushi/ripgrep#installation
https://github.com/BurntSushi/ripgrep/issues/1232
N.B. Various snaps for ripgrep on Ubuntu are also available, but none of them seem to work right and generate a number of very strange bug reports that I don't know how to fix and don't have the time to fix. Therefore, it is no longer a recommended installation option.)
2020-04-20 20:28:38 -03:00
Damien Elmes
14d067f56a
add selectable flag while preserving link clicking
...
https://anki.tenderapp.com/discussions/beta-testing/1920-config-can-copy-paste-but-cant-click-links-now
2020-04-21 09:11:56 +10:00
Damien Elmes
0c1b10162f
Revert "Merge pull request #562 from ijgnd/master"
...
This reverts commit 1163e418ee , reversing
changes made to 2bfff8dee4 .
https://anki.tenderapp.com/discussions/beta-testing/1920-config-can-copy-paste-but-cant-click-links-now
2020-04-21 09:10:45 +10:00
Damien Elmes
c9f18ba3d2
fix deleting deck configs
2020-04-20 13:23:05 +10:00
Damien Elmes
6f0159e141
fix renaming not updating dropdown
2020-04-20 13:17:55 +10:00
Damien Elmes
3dfbd1a9ae
fix adding deck configs
2020-04-20 13:15:23 +10:00
Damien Elmes
5efb3beb1a
remove python version debugging from ./run
2020-04-20 11:21:27 +10:00
Damien Elmes
a90d75f5fd
Merge pull request #569 from evandroforks/limit_error_message_size
...
Also limit the size of the error message
2020-04-20 11:14:53 +10:00
Damien Elmes
2be1c05e75
Merge pull request #568 from zenogantner/patch-3
...
make links to README.{development,contributing}
2020-04-20 11:14:21 +10:00
Damien Elmes
f9302d9993
split scheduling prefs into separate tab
...
https://anki.tenderapp.com/discussions/ankidesktop/40610-windows-anki-everything-was-enlarged-to-150
https://anki.tenderapp.com/discussions/beta-testing/1916-preferences-screen-partly-invisible
2020-04-20 11:11:00 +10:00
evandrocoan
bed75b3980
Also limit the size of the error message in case it is
...
build by a concatenation of stack traces, i.e.,
```js
throw new Error(err + err.stack)
```
2020-04-17 16:28:31 -03:00
Zeno Gantner
3033cc3f25
make links to README.{development,contributing}
2020-04-17 18:36:53 +02:00
Damien Elmes
550403dea4
Merge pull request #567 from evandroforks/fix_regex_performance
...
Fix regex performance
2020-04-17 18:26:18 +10:00
Damien Elmes
fca605ac68
Merge pull request #566 from zenogantner/patch-2
...
more detailed instructions for Debian/Ubuntu users
2020-04-17 18:21:39 +10:00
Damien Elmes
37a97aed81
Merge pull request #565 from zenogantner/patch-1
...
fix typo
2020-04-17 18:21:14 +10:00
Damien Elmes
93152043e1
report the missing filename in media check
...
https://anki.tenderapp.com/discussions/ankidesktop/40578-check-media-error
2020-04-17 17:17:42 +10:00
evandrocoan
4b3c452b6e
Limit the reviewer.ts stack size
...
https://anki.tenderapp.com/discussions/beta-testing/1918-reliably-reproduced-bug-in-2124beta6#comment_48247959
2020-04-17 03:53:15 -03:00
evandrocoan
8d9ba4377a
Cache webview.py console regex expression and disable multiline
2020-04-17 03:43:16 -03:00
Damien Elmes
09ac540168
fix delays caused by console.log regression in PR #560
...
https://anki.tenderapp.com/discussions/beta-testing/1918-reliably-reproduced-bug-in-2124beta6
2020-04-17 10:51:03 +10:00
Zeno Gantner
af02600c45
add Zeno Gantner to contributors
2020-04-16 10:24:01 +02:00
Zeno Gantner
4481c7ecdb
add my name to contributors
2020-04-16 10:23:07 +02:00
Zeno Gantner
6b3d5998cc
more detailed instructions for Debian/Ubuntu users
2020-04-16 10:19:56 +02:00
Zeno Gantner
88102b0299
fix typo
2020-04-16 10:11:26 +02:00
Damien Elmes
78c1ced06a
Merge pull request #560 from evandroforks/fix_javascript_console_output
...
Fixed javaScriptConsoleMessage showing 'error on line'
2020-04-16 10:15:56 +10:00
Damien Elmes
1163e418ee
Merge pull request #562 from ijgnd/master
...
make help text selectable
2020-04-16 10:14:02 +10:00
Damien Elmes
2bfff8dee4
Merge pull request #563 from evandroforks/attempt_to_fix_macos_build_cache
...
Attempt to fix macos cache breaking for no reason
2020-04-16 10:13:34 +10:00
Damien Elmes
c9e1917b12
Merge pull request #564 from agentydragon/patch-1
...
Add myself to CONTRIBUTORS
2020-04-16 10:13:08 +10:00
Damien Elmes
d9b8aba358
catch and report issues when downgrading
2020-04-16 10:11:16 +10:00
Damien Elmes
a2c6a3e170
show a clearer error if the schema is too new
...
will hold off on making it translatable for now
2020-04-16 09:47:34 +10:00
Rai
4c5928b3ec
Add myself to CONTRIBUTORS
2020-04-16 01:20:10 +02:00
Damien Elmes
a0587b09d1
downgrade manually
...
- A regular collection open/close no longer goes through the
upgrade/downgrade steps each time. This avoids wasted cycles, and will
become more important in the future when decks and note types are
split into separate tables.
- Added a downgrade button to the profiles screen to downgrade all
profiles and close the app.
- Downgrading is still automatic when exporting/doing a full sync.
2020-04-16 09:00:49 +10:00
Damien Elmes
18ae22c842
work around full sync on start closing the app
...
This is just a temporary solution until the syncing code can be
reworked.
https://anki.tenderapp.com/discussions/ankidesktop/39761-anki-crashing-after-sync-and-download
2020-04-16 08:10:17 +10:00
evandrocoan
c4e34bdf3b
Attempt to fix macos cache breaking for no reason
...
https://github.com/ankitects/anki/pull/560/checks?check_run_id=590022813
2020-04-15 18:46:47 -03:00
evandrocoan
2d84e8feee
Set to use a regular expression to remove the server name because
...
it is less prone to break in future updates.
2020-04-15 16:27:41 -03:00
evandrocoan
d5df05ae6b
Set to javaScriptConsoleMessage output to stdout because it
...
may raise error messages on the anki GUI.
2020-04-15 16:06:45 -03:00
ijgnd
9d076d00e0
make help text selectable
...
This allows the user to copy e.g. values so that they don't have to retype them which might introduce typos.
2020-04-15 18:59:04 +02:00
Damien Elmes
dd20337a85
don't write log files when exporting
2020-04-15 21:45:32 +10:00
Damien Elmes
41f469459e
pare back dark mode support
...
Anki now solely relies on the night mode setting in the preferences
to decide whether to show in light or dark mode. Some users wanted
to run Anki in light mode while keeping the rest of their system dark,
and there were various display problems when dark mode was changed
after Anki started that couldn't be easily worked around.
NSRequiresAquaAppearance is set again, which means we can rely on
the interface appearing properly and not changing as the macOS theme
is changed.
Users who only use dark mode, and preferred the native look of widgets
in dark mode, can achieve the previous appearance by running the
following command in the terminal:
defaults write net.ankiweb.dtop NSRequiresAquaSystemAppearance -bool no
And the following in the debug console:
mw.pm.meta["dark_mode_widgets"] = True
This is hidden behind a debug console command because it requires the
user ensure their system is always set to the same light/dark mode
as Anki.
2020-04-15 21:44:56 +10:00
Damien Elmes
8483a535ea
Merge pull request #561 from evandroforks/stop_installing_rename
...
Stop installing rename as it is already bundled
2020-04-15 18:55:03 +10:00
Damien Elmes
b60aa9efb9
Merge pull request #559 from evandroforks/show_full_javascript_stacktrace
...
Set to show the JavaScript exception message and stacktrace
2020-04-15 18:51:16 +10:00
Damien Elmes
58ff377187
Merge pull request #557 from simgunz/fix-button-not-highlighted
...
Fix editor buttons not highlighted
2020-04-15 18:50:36 +10:00
Damien Elmes
a33a02f3de
update if a compatible branch is found, even if mtime is wrong
...
https://anki.tenderapp.com/discussions/ankiweb/4668-addon-auto-update-problems
2020-04-15 18:47:04 +10:00