208 Commits

Author SHA1 Message Date
Kovid Goyal
d8d1d890ea
Dont internet enable dmg images as this functionality is deprecated by Apple and not used since 10.7. The internet-enable verb was also removed from hdiutil in Catalina (10.15) 2021-05-01 14:54:34 +05:30
Kovid Goyal
3848fb45d0
String changes 2021-03-27 20:39:10 +05:30
Kovid Goyal
5aec473530
string changes 2021-03-09 09:19:56 +05:30
Kovid Goyal
1e6702fbc1
Speedup detection of character encoding when declaration is absent by using a native code implementation (ccharset) 2021-02-25 15:02:48 +05:30
Kovid Goyal
54d57c6748
Add support for the CB7 comic file file format
Fixes #1912212 [Add support for CB7 and CBA file format](https://bugs.launchpad.net/calibre/+bug/1912212)
2021-01-19 13:33:45 +05:30
Kovid Goyal
b9077e7579
keep pyqt deps together 2020-12-03 21:48:24 +05:30
Kovid Goyal
dbf84801cd
Bump version of PyQt 2020-12-03 21:47:56 +05:30
Kovid Goyal
2959f98698
Fix pyrcytodome not useable on macOS and Linux 2020-11-25 20:57:14 +05:30
Kovid Goyal
66a4ec4738
Remove xcb-util headers from build container
See e1fd015141
2020-11-25 12:20:58 +05:30
Kovid Goyal
5f5d68258f
Qt 5.15.2 now needs xcb-util 2020-11-21 15:37:47 +05:30
Kovid Goyal
7b4d7939ad
Bump Qt version 2020-11-21 15:07:31 +05:30
Kovid Goyal
3dd7bc160e
Move loading of env vars to bypy. Allows defining CALIBRE_DEVELOP_FROM in env vars file 2020-11-21 12:20:54 +05:30
Kovid Goyal
4b0f19ccfb
Windows: Fix calibre portable launcher not working correctly from root directory in calibre 5.5. Fixes #1904310 [v5.5 Puts calibre-portable.exe in as a book on every launch](https://bugs.launchpad.net/calibre/+bug/1904310)
apparently, the cmdline parameter passed to winmain does not contain the
path to the EXE *except* when the exe is in the root folder. The number
of inconsistencies in the win32 API is insane.
2020-11-17 11:42:54 +05:30
Kovid Goyal
de179fc1b9
Switch to speech-dispatcher from espeak 2020-11-15 21:55:05 +05:30
Kovid Goyal
9dad654fc2
Register the calibre URL on macOS as well 2020-11-11 12:34:31 +05:30
Kovid Goyal
3e7296ff2b
Register the calibre:// protocol during installation on Windows 2020-11-10 18:23:22 +05:30
Kovid Goyal
b0da277718
Code cleanups 2020-11-01 08:59:54 +05:30
Kovid Goyal
7f5072665d
Better error message when failing to launch portable exe 2020-11-01 08:22:18 +05:30
Kovid Goyal
e9d1f2c25c
Windows: Fix command line arguments not working for the portable.exe launchers 2020-11-01 08:18:25 +05:30
Kovid Goyal
c027aaff75
Start wrapping espeak 2020-10-31 11:56:54 +05:30
Kovid Goyal
abcdb53b0e
Fix calibre 5.4 not running via Launch Services on macOS 2020-10-30 12:57:27 +05:30
Kovid Goyal
b19dd8881e
Fix a regression in calibre 5 that broke conversion of some malformed CSS stylesheets. Fixes #1901593 [HTML to ePub error/fail](https://bugs.launchpad.net/calibre/+bug/1901593)
Bumps version of css-parser for the upstream fix, again. It's pretty
clear no one other than calibre uses cssutils/css-parser on python 3.
2020-10-28 09:07:26 +05:30
Kovid Goyal
e0c9b3cdbc
Update version of css-parser
Conversion: Fix regression in calibre 5 in the handling of @import() rules in stylesheets that import from directories above themselves. Fixes #1901278 [ebook-convert: Crash/File not found on CSS @import](https://bugs.launchpad.net/calibre/+bug/1901278)
2020-10-24 12:51:20 +05:30
Kovid Goyal
73df11e69e
Mark calibre as long path aware on Windows
Python 3.8 is supposedly long path aware and calibre itself does not use
MAX_PATH except in a few functions in the launcher/installer, and a
couple in winutil. So hopefully this means we are long path capable.
2020-10-24 09:17:27 +05:30
Kovid Goyal
5258c53bd3
No longer bundle pywin32 with calibre
It's a very large dependency, the parts of which calibre uses have been
migrated into 1500 lines of C++ code in winutil.cpp
2020-10-18 12:36:50 +05:30
Kovid Goyal
20150e3368
Remove more uses of the plugins dict 2020-10-18 11:57:23 +05:30
Kovid Goyal
e807604fb6
Update to Qt 5.15.1
This fixes long-standing macOS multiple drag and drop bug. And also the
new menu positioning on multiple monitors bug in Qt 5.15.0
2020-10-10 07:51:57 +05:30
Kovid Goyal
99e86bbe29
Windows: Fix some MOBI files with non-BMP characters not being processed correctly. Fixes #1898894 [Conversion from epub to mobi en v5.2](https://bugs.launchpad.net/calibre/+bug/1898894)
lxml passes unicode to libxml2 as UCS-4 when non-BMP chars are present,
and libxml needs iconv to process UCS4 (god knows why) which was not
being built on windows.
2020-10-09 09:29:07 +05:30
Kovid Goyal
defa85e918
Use simplified interface for freezing 2020-10-03 12:03:21 +05:30
Kovid Goyal
fe478a2cee
Use the new bypy freezing code for windows build 2020-10-03 09:05:37 +05:30
Kovid Goyal
4e5fda27a8
Switch macOS build to use new bypy freezer 2020-10-03 09:05:36 +05:30
Kovid Goyal
b5af89b594
Dont remove lib2to3 as it is used by some thirdparty deps 2020-10-03 09:05:36 +05:30
Kovid Goyal
2938e2c203
New bypy freezing framework for Linux builds 2020-10-03 09:05:36 +05:30
Kovid Goyal
eb824ef094
Remove CALIBRE_DEVELOP_FROM from site.py
It will be implemented in the bypy frozen loader instead
2020-10-03 09:05:36 +05:30
Kovid Goyal
cc9a40868e
Linux: Move the calibre extensions out of site-packages
This means path based imports of them will continue to work
even after freeze into single dir
2020-10-03 09:05:36 +05:30
Kovid Goyal
7a4b3f61ff
Move to SIP v5 2020-09-16 21:52:25 +05:30
Kovid Goyal
c31ead51dc
Minor fixes for new build deps 2020-09-02 10:49:45 +05:30
Kovid Goyal
6db4815793
Remove embedded bookmarks from swe.epub 2020-08-27 08:50:28 +05:30
Kovid Goyal
bcf5ccc3e5
Switch to VS 2019
Although VS 2017 is officially supported, Qt WebEngine fails to build
with it
2020-08-26 08:04:07 +05:30
Kovid Goyal
130b27219f
QT_ACCESSIBILITY was Qt 4 only 2020-08-25 08:09:00 +05:30
Kovid Goyal
e57801b7e4
Add a bug reference for qt-at-spi crashes 2020-08-25 07:03:42 +05:30
Kovid Goyal
7368d78f3b
... 2020-08-24 17:19:32 +05:30
Kovid Goyal
f39ebb6ff2
Qt 5.15 does not have bundled xcb 2020-08-24 13:24:36 +05:30
Kovid Goyal
984bb98fc7
Upgrade all dependencies in the calibre build 2020-08-24 12:18:31 +05:30
Kovid Goyal
1f1d8024cb
Fix lib names for OpenSSL 1.1 2020-08-22 18:48:38 +05:30
Kovid Goyal
607fc44919
Bump versions of openssl and glib 2020-08-22 18:48:36 +05:30
Kovid Goyal
140ef318ce
Fix accidental re-execing for calibre_parallel as well on macOS 2020-08-22 18:48:33 +05:30
Kovid Goyal
1b9318e01b
calibre portable: Add launchers for standalone viewer and editor 2020-08-22 18:48:16 +05:30
Kovid Goyal
ee44316ac2
Remove some __future__ imports 2020-08-22 18:48:08 +05:30
Kovid Goyal
d2f24d6449
Update ICU version in macOS freezer 2020-08-22 18:48:08 +05:30