Commit graph

1770 commits

Author SHA1 Message Date
Kovid Goyal
e2b730b3b2
Fix building of headless on macOS
Apparently we can link against both themesuport private and font
database private as they both contain the same symbol
2020-02-04 08:40:54 +05:30
Kovid Goyal
d51fa29acd
Also generate ISO 639 POT file automatically from the db. Fixes #1860856 [String not found in Transifex](https://bugs.launchpad.net/calibre/+bug/1860856) 2020-01-26 14:29:28 +05:30
Kovid Goyal
5c8093e554
Installtion of deps on github Ubuntu broken again 2020-01-18 09:08:11 +05:30
Aimylios
5c795352c9 Allow excluding individual tests from test run 2020-01-17 21:54:25 +01:00
Kovid Goyal
231664e7ca
Move test location 2020-01-08 22:25:38 +05:30
Kovid Goyal
f0e6ead4c7
Better workaround for XXE in lxml
Instead of disabling resolution of all entities, only disable resolution
of entities from files
2020-01-08 22:03:38 +05:30
Kovid Goyal
f686647286
Command to vendor csslint 2020-01-08 21:01:59 +05:30
Kovid Goyal
e307caafe8
Generate locales.zip parent dir if needed 2020-01-07 21:33:17 +05:30
Kovid Goyal
746381d179
A few more etree.fromstring 2019-12-29 22:02:16 +05:30
Kovid Goyal
6de56e8f93
Compile changelog translations 2019-12-25 16:47:01 +05:30
Kovid Goyal
ff5039dd31
Split website and changelog translations 2019-12-25 09:58:58 +05:30
Kovid Goyal
5ef79c742a
Add support for sip5 2019-12-14 12:40:08 +05:30
Kovid Goyal
283dbdf392
Dont run update since it breaks on github CI 2019-12-13 18:09:23 +05:30
Kovid Goyal
edf231e3ff
Use a token for github 2019-12-12 10:04:36 +05:30
Kovid Goyal
281ddb8678
Make the name of the html syntax highlighter module more explicit
Avoids name collisions with the stdlib html module in python3
2019-12-03 10:45:42 +05:30
Kovid Goyal
9b777491ce
Dont show the useless --system-version option for hyphenation 2019-12-03 08:59:02 +05:30
Eli Schwartz
11d6b27ec7
setup: port over the hyphenation dictionary code to ReVendor()
This makes it automatically support being passed an alternative url, or
an extracted directory.
2019-12-02 21:05:51 -05:00
Eli Schwartz
a66e562b08
setup: refactor mathjax class into generic class for vendoring things 2019-12-02 21:05:51 -05:00
Kovid Goyal
b16b5535bf
Implement mapping of locales to dictionary names 2019-12-01 10:50:32 +05:30
Kovid Goyal
fd4db9e8ed
Make building the dictionaries tarfile reproducible 2019-11-30 21:20:40 +05:30
Kovid Goyal
8081805208
Dont rely on external tar to compress dictionaries 2019-11-30 21:06:37 +05:30
Kovid Goyal
5f46b06dc9
Generate a hash of the hyphenation dicts for cache updates 2019-11-30 20:50:06 +05:30
Kovid Goyal
2a8875f864
... 2019-11-30 20:40:25 +05:30
Kovid Goyal
5c1b69f5b9
Add hyphen dependency 2019-11-30 17:58:57 +05:30
Kovid Goyal
4a45f32357
Start work on libhyphen wrapper 2019-11-30 16:48:27 +05:30
Kovid Goyal
1c54eb1648
Code to fetch hyphenation dictionaries 2019-11-30 10:59:45 +05:30
Kovid Goyal
4feb684c89
Exclude improperly named entries from ISO-639-3
Fixes #1851909 [Some strange languages is shown in the list](https://bugs.launchpad.net/calibre/+bug/1851909)
2019-11-09 13:46:46 +05:30
Eli Schwartz
0163b537dc
linux installer: fix python3 re.sub with mismatched str/bytes
This does not seem to have been a very commonly hit case, since it's
been broken for python3 since before 2014, but a user has just hit it
for the first time.

Fixes #1851873
2019-11-08 14:11:31 -05:00
Kovid Goyal
24baafdc87
Convenient way to build a dependency for all platforms 2019-11-03 08:52:53 +05:30
Kovid Goyal
aa6eaca0be
Code to auto-fix duplicated language name translations 2019-11-02 10:37:45 +05:30
Kovid Goyal
77af13c5f3
Update ISO 3166 database 2019-11-02 09:31:05 +05:30
Kovid Goyal
1b93d540b7
Update the ISO 639-3 language database 2019-11-02 09:21:28 +05:30
Eli Schwartz
1cbdabbbb7
linux install: make sure init_calibre.py is listed in calibre-uninstall
It is written raw, not via write_template, so it was never added to the
manifest. Therefore, it would remain behind when uninstalling calibre.

Also change the order in which steps are executed, in order to write the
env module -- and add it to the manifest -- before the uninstaller is
created, rather than after (which would be too late).
2019-10-29 20:19:22 -04:00
Eli Schwartz
6526c28bd6
check: cleanup file exclusions
Some of these files no longer exist due to being devendored.
BeautifulSoup.py is now something else entirely which is
calibre-specific code and deserves the right to be linted.
2019-10-28 16:10:00 -04:00
Kovid Goyal
fc7aee08df
Start work on fast html to json 2019-10-28 13:30:18 +05:30
Kovid Goyal
167cb89dc7
... 2019-10-28 08:08:00 +05:30
Kovid Goyal
9536ffe8cd
Merge branch 'pin-version' of https://github.com/widdix/calibre 2019-10-14 07:03:36 +05:30
Michael Wittig
f93bf9379e fix 2019-10-13 19:15:32 +02:00
Michael Wittig
92c88b2637 Allow a user to specify the version that is installed 2019-10-13 18:48:46 +02:00
Kovid Goyal
fe673838ef
Apparently running upgrade is not possible 2019-10-13 10:02:35 +05:30
Kovid Goyal
fd20908dcd
Try running update/upgrade on Ubuntu CI VM in the hopes it will fix the libgl1 installation failure 2019-10-13 09:56:00 +05:30
Kovid Goyal
749460cbfc
Better fixes for publish pipeline issues 2019-10-04 07:35:09 +05:30
Kovid Goyal
857c2355bc
Ensure DISPLAY is in environ 2019-10-04 06:25:14 +05:30
Kovid Goyal
28b5ef8723
Also disable translations since it also crashes 2019-10-04 06:13:34 +05:30
Kovid Goyal
c178c78980
Dont build pot as part of publish as it crashes 2019-10-04 06:06:09 +05:30
Kovid Goyal
1c22993e00
Move outline creation into its own file 2019-10-03 16:51:33 +05:30
Kovid Goyal
9c07cc7e82
Use GitHub Actions rather than Azure Pipelines 2019-10-03 10:46:23 +05:30
Kovid Goyal
5196b29005
Notarize macOS builds 2019-09-18 18:55:50 +05:30
Kovid Goyal
61005add0d
Add support for run-local to calibre restart and run_calibre_debug 2019-09-13 10:28:26 +05:30
Kovid Goyal
4d9440a94c
Get rid of home grown multitail
Use the awesomeness that is kitty instead
2019-09-13 09:13:34 +05:30