Commit Graph

4225 Commits

Author SHA1 Message Date
Damien Elmes
0c8f6ced09 Revert "Merge pull request #583 from Arthur-Milchior/remove_a_try"
This reverts commit e9ca61d1eb, reversing
changes made to abb80231a5.
2020-04-28 07:38:23 +10:00
Arthur Milchior
e86817305a mw.debug_diag is the dialog and not the window
This will allow, for example, for add-ons to do self.debugDiag.text
and access the debugger text. I see very little reason to have a
direct access to the dialog window.

I should note that self.debugDiag is never used anywhere in the code,
so I think it should be deleted; unless you've heard of some add-on
using it.
2020-04-27 11:55:33 +02:00
Damien Elmes
01fc958c0e
Merge pull request #587 from BlueGreenMagick/tags
remove unnecessary code
2020-04-27 19:25:42 +10:00
Damien Elmes
e9ca61d1eb
Merge pull request #583 from Arthur-Milchior/remove_a_try
Simplify the code slightly
2020-04-27 19:12:00 +10:00
Damien Elmes
abb80231a5
Merge pull request #582 from evandroforks/fix_make_clean
Fixed make clean rule not working on Windows
2020-04-27 19:10:21 +10:00
Damien Elmes
5746302817
Merge pull request #581 from BlueGreenMagick/use-var-name
use variable names
2020-04-27 19:10:04 +10:00
Damien Elmes
3c36b7cf81
Merge pull request #579 from evandroforks/fix_msgmerge_not_failing_on_error
Fix msgmerge not failing on error
2020-04-27 19:05:27 +10:00
Damien Elmes
c35a25790b
Merge pull request #578 from evandroforks/fix_makefile_comments
Fixed Makefile comments showing up on the console
2020-04-27 19:05:03 +10:00
BlueGreenMagick
55eb0d1e68 remove unnecessary code 2020-04-27 10:05:38 +09:00
Arthur Milchior
31164adaec addButton always save function 2020-04-26 17:01:47 +02:00
Arthur Milchior
e4a0ccc059 remove an useless asignment
Because fields of new notes are empty by default
2020-04-26 14:49:16 +02:00
Arthur Milchior
1771be8f1e remove a try, for code clarity 2020-04-26 14:49:11 +02:00
BlueGreenMagick
f23a361876 use variable names 2020-04-26 15:47:19 +09:00
evandrocoan
26480fb13c Fixed make clean rule not working on Windows 2020-04-26 03:02:02 -03:00
evandrocoan
06056236c0 Fixed build-mo-files not failing the build when msgmerge
is not found:
https://github.com/ankitects/anki/runs/617116053?check_suite_focus=true#step:27:1244

The build was not falling because when you do `(commands)` in a
shell script, the `set -e` directive is not inherited. Then, either
do not start a new shell or just use an if to test the error condition.
2020-04-25 05:17:24 -03:00
evandrocoan
aca5d177bf 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
evandrocoan
7099259afa Fixed Makefile comments showing up on the console
Makefile comments inside rules have to be put in the beginning
of the line, otherwise they are passed to shell when running the
recipe.
2020-04-24 21:48:46 -03:00
Damien Elmes
359b9f5cd5 use same cargo rspy target dir for wheel build 2020-04-25 10:08:24 +10:00
Damien Elmes
8dfd362fed support globbing chars inside word boundary search 2020-04-25 09:43:08 +10:00
Damien Elmes
fd844a0d5a add w: shortcut for searching on word boundaries 2020-04-25 08:48:01 +10:00
Damien Elmes
9dcbb8958d
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
361959bdc4
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
51ec5d0fa9 Set .prettierrc printWidth to 88 because the default is too short 2020-04-22 23:11:03 -03:00
evandrocoan
a5061b5a34 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
1661cad801
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
e46421c7c9 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
4b8cf631d5 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
ce589fb975 Revert "Merge pull request #562 from ijgnd/master"
This reverts commit 4fb9dc734b, reversing
changes made to c8fb409a49.

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
683f664d85 fix deleting deck configs 2020-04-20 13:23:05 +10:00
Damien Elmes
335815ab9c fix renaming not updating dropdown 2020-04-20 13:17:55 +10:00
Damien Elmes
c023bdd78e fix adding deck configs 2020-04-20 13:15:23 +10:00
Damien Elmes
ec6c0f86fb remove python version debugging from ./run 2020-04-20 11:21:27 +10:00
Damien Elmes
385dbf88c3
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
87f9131fbc
Merge pull request #568 from zenogantner/patch-3
make links to README.{development,contributing}
2020-04-20 11:14:21 +10:00
Damien Elmes
2939931004 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
9dda28def4 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
4d836a2170
make links to README.{development,contributing} 2020-04-17 18:36:53 +02:00
Damien Elmes
0f31d6cbf7
Merge pull request #567 from evandroforks/fix_regex_performance
Fix regex performance
2020-04-17 18:26:18 +10:00
Damien Elmes
f684317937
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
e4fb2f4083
Merge pull request #565 from zenogantner/patch-1
fix typo
2020-04-17 18:21:14 +10:00
Damien Elmes
37bc44a8f5 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
67a8af0cbf 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
38fabcef52 Cache webview.py console regex expression and disable multiline 2020-04-17 03:43:16 -03:00
Damien Elmes
aa562f490c 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
7ed744541a
add Zeno Gantner to contributors 2020-04-16 10:24:01 +02:00
Zeno Gantner
3336f13bbb
add my name to contributors 2020-04-16 10:23:07 +02:00
Zeno Gantner
7f0263b1f5
more detailed instructions for Debian/Ubuntu users 2020-04-16 10:19:56 +02:00
Zeno Gantner
e90e84d7c9
fix typo 2020-04-16 10:11:26 +02:00
Damien Elmes
394f7c630c
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
4fb9dc734b
Merge pull request #562 from ijgnd/master
make help text selectable
2020-04-16 10:14:02 +10:00