Florian Bruhin
1a4fff1a42
doc: Switch URLs to https
2021-01-26 15:19:01 +01:00
Florian Bruhin
222f1f19a1
Bump copyright years
...
Closes #6015
2021-01-20 20:06:19 +01:00
Florian Bruhin
c970c63355
dataclasses: Initial switch
...
See #6023
2021-01-13 20:26:41 +01:00
Florian Bruhin
bcb8b5dd70
old qt: Remove unused imports
2020-11-04 18:30:04 +01:00
Florian Bruhin
2929949d67
old qt: Remove conditionals for spell checks
2020-11-04 18:27:26 +01:00
Florian Bruhin
c799b7ddf6
scripts: Print errors to stderr instead of stdout
2020-04-21 09:56:34 +02:00
Florian Bruhin
d077737840
Improve dictcli.py error output
...
See #5367
2020-04-21 09:50:07 +02:00
Florian Bruhin
9e4276db9b
Adjust copyrights for 2020
2020-01-04 18:21:17 +01:00
Florian Bruhin
908c92a83b
Use utils.is_posix instead
2019-10-01 10:45:02 +02:00
elig0n
762cd046e0
Reformatting
2019-10-01 06:54:24 +03:00
elig0n
6bae83fa45
Allow check_root for any platform but win32
2019-10-01 01:39:22 +03:00
elig0n
5ac6d251f5
Add platform check to check_root()
2019-10-01 01:15:00 +03:00
Florian Bruhin
a5fb23458b
Clean up filename handling in dictcli/spell.py
...
Before this change, we sometimes assumed that a dictionary filename had a .bdic
suffix, sometimes not, and sometimes we added it by hand.
For some reason (probably some minor API change?) this currently breaks running
dictcli.py.
While the minimal fix in #4986 works, it only does so because we use re.match
(not re.fullmatch) inside spell.py, so the .bdic suffix (which is present
there) is ignored.
This change instead refactors all dict handling so that the suffix is always
included in the filename, and only stripped off in the last moment when passing
it to QtWebEngine.
Closes #4986
2019-08-27 11:25:00 +02:00
Florian Bruhin
c847e67c2a
dictcli: Avoid running as root if unnecessary
2019-07-25 17:24:53 +02:00
Florian Bruhin
b4e8e8e57c
dictcli: Print installed filename
2019-07-25 17:14:18 +02:00
Jay Kamat
3e816f5f8b
Update copyright for 2019
2019-02-22 21:45:08 -08:00
Florian Bruhin
663d1a4d2f
Read dictionaries from /usr/share/qt on Qt >= 5.10
...
Fixes #3759
Supersedes #3762
See #2939 , #4003
2018-06-17 20:27:52 +02:00
Florian Bruhin
6f028e9ad0
Update copyright years
2018-02-05 12:19:50 +01:00
Florian Bruhin
e65c0dd8a7
pylint: Re-enable bad-continuation
...
And lots and lots of whitespace changes.
2017-12-15 19:16:55 +01:00
Florian Bruhin
3f9ded3bed
Add missing docstrings
2017-12-15 13:55:06 +01:00
George Edward Bulmer
f74832328f
Modify re.match usage in scripts directory.
2017-12-11 23:06:52 +00:00
Michal Siedlaczek
855d0312b5
Review fixes
2017-11-05 18:12:15 -05:00
Michal Siedlaczek
9ea986a569
Fixed typo
2017-11-04 20:02:49 -04:00
Michal Siedlaczek
3ac2cfdf73
Support updating dictionaries and removing old versions.
2017-11-04 18:16:05 -04:00