Kovid Goyal
11ad7120ab
Update recent user agents at each publish
2020-12-26 11:11:25 +05:30
Kovid Goyal
d8e7a58646
Start work on unified framework for live code loading
2020-12-18 18:20:37 +05:30
Kovid Goyal
5203651af1
Dont use a binary for building translations
2020-12-15 19:14:29 +05:30
Kovid Goyal
a1558ff4b9
Dont re-download the liberation fonts if they are already present
2020-12-15 11:53:20 +05:30
Kovid Goyal
5f67dd54b5
Fix fetching of liberation fonts
...
Also add them to .gitignore
2020-12-15 11:46:55 +05:30
Kovid Goyal
ebffa0a506
Dont store the Liberation Fonts in source control
...
They were kept there originally because newer versions of them were
reported to cause BSODs in Windows Vista/7. Since we no longer support
those, and newer windows has moved font parsing out fo kernel, this
should no longer be an issue.
2020-12-15 11:42:19 +05:30
Kovid Goyal
e430bf3312
PDF Output: Yet another attempt at working around chromium's broken TTF embedding. Fixes #1907849 [conversion to pdf results in bizarre kerning]( https://bugs.launchpad.net/calibre/+bug/1907849 )
...
This has the advantage of making the merging code a lot simpler as well.
2020-12-12 13:41:48 +05:30
Kovid Goyal
56e69950c1
Get rid of cocoa_wrapper.c
2020-12-07 13:35:47 +05:30
Kovid Goyal
04ad7bc901
Remove workarounds that are not needed with the current versions of sip-build
2020-12-03 22:03:05 +05:30
Kovid Goyal
59e471503e
Remove history indication from plugins index
2020-11-25 21:18:03 +05:30
Kovid Goyal
3dbbe1397e
Remove code to check for Qt5 incompatibility in plugins
...
The Qt 5 transition is done and dusted now. The ones that arent going to
be ported will anyway need to be ported to Python 3 as well, which is
also never going to happen.
2020-11-25 13:06:00 +05:30
Kovid Goyal
72308168ef
Support for the new in python 3.8 Constant ast node
2020-11-25 12:55:38 +05:30
Kovid Goyal
82ba1b89d0
Get extdev working on macOS
...
Iteration speed is too low otherwise
2020-11-19 22:41:46 +05:30
Kovid Goyal
6adf45f81f
Start work on wrapping macOS TTS API
2020-11-18 21:15:12 +05:30
Kovid Goyal
2c75e769be
Better error message for macOS ext_dev
2020-11-18 14:28:38 +05:30
Kovid Goyal
de179fc1b9
Switch to speech-dispatcher from espeak
2020-11-15 21:55:05 +05:30
Kovid Goyal
99a3d9c756
Fix missing space between lines in description
2020-11-13 08:42:57 +05:30
Kovid Goyal
c26a981001
py3 compat in POT generation
2020-11-12 11:15:16 +05:30
Kovid Goyal
c027aaff75
Start wrapping espeak
2020-10-31 11:56:54 +05:30
Kovid Goyal
2cf8312e6a
Migrate reference to Changelog.yaml
2020-10-29 12:15:32 +05:30
Kovid Goyal
cfa8f75836
...
2020-10-29 10:59:34 +05:30
Kovid Goyal
06e9f8f8b8
Make the calibre changelog available as a resource
2020-10-29 10:57:21 +05:30
Kovid Goyal
49af5de171
Dont use YAML for the changelog
...
No point having an extra dependency just to parse the changelog, which
doesnt have a ot of structured information, anyway.
2020-10-29 10:36:40 +05:30
Kovid Goyal
758f3e1452
Dont use win32 API function to make long paths useable as it fails on older windows
2020-10-23 20:46:44 +05:30
Kovid Goyal
acbd5122be
Wrap function to canonicalize long paths
2020-10-23 19:57:44 +05:30
Kovid Goyal
d6887a1bfd
Exclude winsapi from import all tests on non-windows
2020-10-22 13:47:48 +05:30
Kovid Goyal
da5964ec07
Run the SAPI tests in CI
2020-10-22 13:37:37 +05:30
Kovid Goyal
4bb557ec41
Start wrapping of windows SAPI interface
...
Can now get list of all voices installed in the system
2020-10-21 21:58:06 +05:30
Kovid Goyal
ebb6f89b5b
Make winutil classes re-useable
2020-10-21 11:21:03 +05:30
Kovid Goyal
0444558e21
Remove unnecessary pp suffix from filename
2020-10-09 12:28:21 +05:30
Kovid Goyal
6de28ec09e
Merge the winutil code into a single file
2020-10-09 12:27:02 +05:30
Kovid Goyal
f42b0b9f59
Add --compression-level to installer build commands
2020-10-03 09:05:36 +05:30
Kovid Goyal
36700e8eb2
Use canonical download URL when getting binary to build translations
2020-09-25 14:28:32 +05:30
Kovid Goyal
011bba1a58
More py3 compat
2020-09-25 09:25:28 +05:30
Kovid Goyal
bb3a1f700d
py3 compat for upload to github
2020-09-25 09:22:03 +05:30
Kovid Goyal
135bfcbefe
py3 compat for fosshub upload
2020-09-25 09:19:20 +05:30
Kovid Goyal
162c32a362
Fix translatable strings not being extracted from .ui files
2020-09-20 09:20:07 +05:30
Kovid Goyal
27811374ba
py3 compat
2020-09-20 08:32:21 +05:30
Kovid Goyal
f2384437ca
py3 compat
2020-09-19 10:28:43 +05:30
Kovid Goyal
7a4b3f61ff
Move to SIP v5
2020-09-16 21:52:25 +05:30
Kovid Goyal
a4df5cc67b
Dont use -b flag when calling sip
...
Was inexplicably removed from SIP5
2020-09-14 12:26:08 +05:30
Kovid Goyal
9642eeea83
Also use macos in extensions.json
2020-09-09 19:28:07 +05:30
Kovid Goyal
7f6dce5218
Fix build failure missed one isosx instance
2020-09-09 15:56:14 +05:30
Kovid Goyal
13552bef07
isosx -> ismacos
2020-09-09 14:51:09 +05:30
Kovid Goyal
b7608b71f9
py3 compat
2020-09-02 11:17:00 +05:30
Kovid Goyal
59dc40a22b
DRYer
2020-09-02 10:55:10 +05:30
Kovid Goyal
27f483dce4
py3 compat
2020-09-02 10:51:52 +05:30
Kovid Goyal
9cbb81edf5
typo
2020-09-02 10:51:01 +05:30
Kovid Goyal
791f5c2325
Also upload binaries to backup server
2020-08-30 11:12:36 +05:30
Kovid Goyal
2a928a25f9
Pull translations in parallel
2020-08-23 14:34:43 +05:30
Kovid Goyal
acb42d737d
py3 compat
2020-08-23 14:30:43 +05:30
Kovid Goyal
c203373b9b
DRYer
2020-08-23 14:25:08 +05:30
Kovid Goyal
a40efa5a5f
Install Qt source and gettext for POT
2020-08-23 14:14:50 +05:30
Kovid Goyal
8f15a04d8a
py3 compat
2020-08-23 14:02:13 +05:30
Kovid Goyal
15e5f5987a
Use a prebuilt calibre binary to build POT
2020-08-23 12:54:43 +05:30
Kovid Goyal
a6b4ceff58
Need the future imports for plugins parsing while it is done with python2
2020-08-23 12:19:52 +05:30
Kovid Goyal
37022b6a91
Dont require git master on CI in POT
2020-08-23 11:35:19 +05:30
Kovid Goyal
9034ea03de
Fix building of certgen module with openssl 1.1.1 on windows
2020-08-22 18:48:38 +05:30
Kovid Goyal
640ca33197
py3ize some shebangs
2020-08-22 18:48:32 +05:30
Kovid Goyal
8eca4d7ced
Retry vendored dependency download failures on CI
...
GitHub Actions is getting insanely flaky
2020-08-22 18:48:24 +05:30
Kovid Goyal
5075fc2d36
Keep annotations sorted in CFI order when merging
2020-08-22 18:48:11 +05:30
Kovid Goyal
ee44316ac2
Remove some __future__ imports
2020-08-22 18:48:08 +05:30
Kovid Goyal
652bce14e5
Re-generate all resources when publishing a beta
2020-08-22 18:48:07 +05:30
Kovid Goyal
ead2529af1
Netter beta upload progress
2020-08-22 18:48:07 +05:30
Kovid Goyal
0213b80693
Tell MSVC our source files are UTF-8
2020-08-22 18:48:07 +05:30
Kovid Goyal
8cbda9e18a
Build fixes
2020-08-22 18:48:07 +05:30
Kovid Goyal
dbebae5e4c
Forgot to use create_job()
2020-08-22 18:48:03 +05:30
Kovid Goyal
e7e78da5c1
Fix devendoring meta path magic on py3
2020-08-22 18:48:03 +05:30
Kovid Goyal
2e1c57a86c
...
2020-08-22 18:48:02 +05:30
Kovid Goyal
5a1b4430b2
Colorize compiler output on linux
2020-08-22 18:48:02 +05:30
Kovid Goyal
dd12f0a76e
Parallelize building sip files
2020-08-22 18:48:02 +05:30
Kovid Goyal
dc4e482799
Fully parallelize building of non-pyqt extensions
2020-08-22 18:48:02 +05:30
Kovid Goyal
2331baf157
...
2020-08-22 18:48:02 +05:30
Kovid Goyal
86081e47d8
Make jobs a bit nicer
2020-08-22 18:48:02 +05:30
Kovid Goyal
6811bb0cf7
Speed up compiling translations
...
Avoids calling a separate msgfmt binary for ever .po file since there
are almost 4000 of them. Instead use msgfmt.py
2020-08-22 18:48:02 +05:30
Kovid Goyal
2865326de3
Sjorten compile transations output
2020-08-22 18:48:02 +05:30
Kovid Goyal
72ab050346
Forgot to change tarball url for unix
2020-08-22 18:48:00 +05:30
Kovid Goyal
817c7663d4
Make the built py3 sw available for CI
2020-08-22 18:48:00 +05:30
Kovid Goyal
89f0d92d2e
Get rid of msstdint.h
...
Not needed with VS 2017 and conflicts with default stdint.h which is
pulled in by python 3
2020-08-22 18:47:57 +05:30
Kovid Goyal
baf0685ceb
De-vendor pychm
2020-08-22 18:47:57 +05:30
Kovid Goyal
01b0fba8ad
Auto fix excess blank lines
2020-08-22 18:47:56 +05:30
Kovid Goyal
113b14e376
Drop the custom lzma module
...
Use the builtin one from the python stdlib
2020-08-22 18:47:56 +05:30
Kovid Goyal
ec167b7ac7
Get the linux frozen build working with py3
2020-08-22 18:47:56 +05:30
Kovid Goyal
520c46dfb9
Minor fixups for changes when removing py3 conditionals
2020-08-22 18:47:56 +05:30
Kovid Goyal
764e8bff7e
Remove py3 conditionals
2020-08-22 18:47:56 +05:30
Kovid Goyal
9ff27782de
Remove useless __future__ imports
...
Not needed on python3
2020-08-22 18:47:55 +05:30
Kovid Goyal
29cd8d64ea
Change shebangs to python from python2
...
Also remove a few other miscellaneous references to python2
2020-08-22 18:47:51 +05:30
Kovid Goyal
c7b66aada8
Dont use calibre-debug to build pot files
2020-07-31 23:26:02 +05:30
Kovid Goyal
01c9ffee6f
Cant avoid bootstrapping calibre
2020-07-31 22:51:08 +05:30
Kovid Goyal
e0ab635448
Cant generate website strings on github
2020-07-31 22:28:33 +05:30
Kovid Goyal
2c496da4e9
Forgot to clone translations
2020-07-31 22:18:06 +05:30
Kovid Goyal
0137c2a74b
Make dir if it does not exist
2020-07-31 22:05:24 +05:30
Kovid Goyal
5afeace988
Work on a GitHub action to auto-update translations on Transifex
2020-07-31 22:02:13 +05:30
Eli Schwartz
b48bd4f7c8
build: detect mathjax directory with or without es5/ subdir
...
The release tarballs contain an es5/ directory with the actual mathjax
code. However, when building against a system mathjax it is likely the
es5/ directory is skipped and the directory name is just
/usr/share/mathjax/
Detect this by moving the es5/ component to the definition of the
mathjax source root, but only appending it if the --path-to-mathjax
actually contains such a directory.
2020-06-25 01:23:08 -04:00
Kovid Goyal
e2243bf7a9
Upgrade MathJax to version 3
...
version 3 is more performant, smaller and simpler to integrate, without
monkeypatching. On the down side, it does not do line breaking, as yet.
Note that only the viewer is currently ported
2020-06-19 18:43:23 +05:30
Kovid Goyal
32438d1565
Handle reading version info from jgoguens updated plugins
...
The version info is now specified as an attribute of a module, import.
2020-06-17 08:55:46 +05:30
Kovid Goyal
8de4c3268e
Dont keep a local backup of the calibre installers
2020-06-05 08:20:43 +05:30
Kovid Goyal
1c66024316
Linux installer: Detect ARM 64bit as well as 32bit
2020-06-04 19:40:32 +05:30
Kovid Goyal
9015530224
and again
2020-05-15 09:15:09 +05:30
Kovid Goyal
069e3e69b4
...
2020-05-15 09:13:10 +05:30