Commit Graph

34 Commits

Author SHA1 Message Date
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 9e4276db9b Adjust copyrights for 2020 2020-01-04 18:21:17 +01: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 29c6afe476 Fix lint 2019-07-16 10:52:24 +02:00
Florian Bruhin ed52cd0de1 update_3rdparty: Fix lint 2019-07-16 10:46:34 +02:00
Florian Bruhin b51d0cba51 Merge remote-tracking branch 'origin/pr/4086' 2019-07-11 11:01:30 +02:00
Jay Kamat 3e816f5f8b
Update copyright for 2019 2019-02-22 21:45:08 -08:00
bitraid 2478a7441f
download_nsis_plugins: refactor and add StdUtils 2018-10-22 20:09:25 +03:00
Florian Bruhin b63af145d9 Fix shutil call in update_3rdparty.py
shutil.unpack_archive takes a filename.
2018-09-22 09:58:09 +02:00
bitraid 9b048fdd83
Update update_3rdparty.py to download the NSIS plugins 2018-07-20 18:17:53 +03:00
Florian Bruhin 6f028e9ad0 Update copyright years 2018-02-05 12:19:50 +01:00
Michal Siedlaczek 3ac2cfdf73 Support updating dictionaries and removing old versions. 2017-11-04 18:16:05 -04:00
Michal Siedlaczek 6a486058c5 Review fixes 2017-10-04 09:22:35 -04:00
Michal Siedlaczek 932e7a9ab9 Review fixes 2017-10-03 20:07:06 -04:00
Florian Bruhin b811b9e380 Run update_3rdparty correctly from build_release 2017-05-24 08:37:06 +02:00
Florian Bruhin c5957bc9d0 Exclude pdfjs from build packages for now
It only makes things bigger, and currently pdfjs doesn't work on QtWebEngine
anyways.
2017-05-17 11:42:58 +02:00
Florian Bruhin 822623f2ed Finally update copyrights... 2017-05-09 21:37:03 +02:00
Florian Bruhin 6831177f2e Add docstring for update_3rdparty.update_ace 2016-09-07 13:02:48 +02:00
Florian Bruhin 522049132b Add a test for hinting with ACE editor 2016-09-07 12:28:12 +02:00
Florian Bruhin b6abada50a Fix lint 2016-05-13 06:42:09 +02:00
Florian Bruhin a7ece80d34 Merge branch 'pyinstaller' 2016-05-13 06:21:28 +02:00
Florian Bruhin d33fae455d Remove unused import 2016-04-15 19:31:54 +02:00
Florian Bruhin 1f66d74f01 Use __file__ instead of sys.argv[0] 2016-04-15 19:12:10 +02:00
Jan Verbeek 7f9a7a282f Make update_3rdparty.py install correctly when run from any directory 2016-04-15 11:23:52 +02:00
Florian Bruhin 642dc46ba9 flake8: Add hacking 2016-04-08 07:35:53 +02:00
Florian Bruhin 362837e98c update_3rdparty: Add fancy-dmg Makefile 2016-04-07 08:53:25 +02:00
Florian Bruhin 4103e7eba2 Revert "update_3rdparty: add docstring to main()"
This reverts commit 90e88ce0d0.
2016-02-01 20:09:17 +01:00
Daniel Schadt 90e88ce0d0 update_3rdparty: add docstring to main() 2016-02-01 18:14:24 +01:00
Daniel Schadt 63f0171d30 update_3rdparty: add option for pdfjs version
This way we can instruct update_3rdparty to download a specific version
of pdfjs, e.g. to make debugging easier or to match the version of a
system package.

Syntax:
update_3rdparty.py -p 1.2.109
or
update_3rdparty.py --pdfjs=1.2.109

If the command line argument is not given, the script will automatically
download the latest release.
2016-02-01 17:46:16 +01:00
Daniel Schadt 49ed04715e Remove unused tempfile import 2015-12-20 19:24:41 +01:00
Daniel Schadt a072cf0175 Fix update_3rdparty on windows
You cannot open a file twice on windows, so the call to
urllib.request.urlretrieve was invalid, since we already opened the
temporary file. urlretrieve without a filename will automatically create
and return a temp-file, so we're fine.
2015-12-20 19:24:41 +01:00
Daniel Schadt d7d577b1fa Fix pep8/pylint 2015-12-20 19:24:41 +01:00
Daniel Schadt ef85d1af4c Move pdfjs and use original files
* No modified pdfjs installation needed
-> Groundwork for using a system-wide installation

* Script update_3rdparty.py to download and upack the latest pdfjs
  release
2015-12-20 19:24:41 +01:00