Commit graph

1419 commits

Author SHA1 Message Date
Kovid Goyal
cc42267ba8 Do not add IM to the calibre builds 2016-05-10 15:51:20 +05:30
Kovid Goyal
126ea17b34 Do not build the ImageMagick extension 2016-05-10 15:43:09 +05:30
Kovid Goyal
1055797da4 Initial implementation of octree based image quantization 2016-05-08 13:47:00 +05:30
Kovid Goyal
ca85b8ac07 Dont add imageops.pyd to pylib.zip 2016-05-06 07:00:45 +05:30
Kovid Goyal
b57ea0ffd0 Port the border removal algorithm from IM to Qt 2016-05-05 18:17:50 +05:30
Kovid Goyal
b078110aed Initial path 2016-05-03 23:52:46 +05:30
Kovid Goyal
e133f3c1fa Setting of initial folder 2016-05-03 23:27:46 +05:30
Kovid Goyal
1027b30d1b Various boolean options 2016-05-03 23:02:38 +05:30
Kovid Goyal
b9dcf3f114 File save dialogs 2016-05-03 21:21:19 +05:30
Kovid Goyal
0a0a760290 Set binary mode and unset safe dll search 2016-05-03 21:12:26 +05:30
Kovid Goyal
770c076500 Read arbitrary strings from stdin 2016-05-03 20:50:25 +05:30
Kovid Goyal
d8fe21d156 Start work on helper process for windows file dialogs 2016-05-03 20:04:53 +05:30
Kovid Goyal
f451b173ed Change bootstrap order 2016-05-03 11:09:36 +05:30
Kovid Goyal
4d85e84119 Option to control mathjax source URL 2016-05-03 10:58:10 +05:30
Kovid Goyal
3dc7dad1b1 Use the stdlib tempfile module instead of ptempfile 2016-05-03 10:37:06 +05:30
Kovid Goyal
cf5755f6a2 Use a forked MathJax, makes it easier to maintain the patch 2016-05-03 10:20:29 +05:30
Kovid Goyal
514a8a2863 Patch MathJax so that correct webfont URLs are generated 2016-05-03 08:30:30 +05:30
Kovid Goyal
00d689e6ac DRYer 2016-05-02 20:23:05 +05:30
Kovid Goyal
e2a68b700c typo 2016-05-02 20:18:53 +05:30
Kovid Goyal
663dc80a15 Switch to the modern CommonHTML output for MathJax 2016-05-02 20:11:51 +05:30
Kovid Goyal
6b5ecdc7e1 Add the mathjax version to the compiled js 2016-05-01 20:17:36 +05:30
Kovid Goyal
6531811efa Allow the server to serve up MathJax 2016-05-01 16:50:33 +05:30
Kovid Goyal
0f57f37308 Add compiling of RapydScript to the build system 2016-05-01 14:08:27 +05:30
Kovid Goyal
20ddc371aa OS X Build: Redirect stdout/stderr to /dev/null instead of ASL since ASL is flaky on some OS X machines 2016-04-23 17:30:14 +05:30
Kovid Goyal
72a30b9c9e OS X build: If setting up ASL fails, redirect to /dev/null to ensure we dont get errors writing to stdout 2016-04-15 20:36:54 +05:30
Kovid Goyal
9b41e0c98f Reduce number of Downloading prints when the installer output is redirected to a file 2016-03-29 21:08:02 +05:30
Kovid Goyal
b286ce1745 ... 2016-03-11 10:00:42 +05:30
Kovid Goyal
b1664c7417 Upload GPG signatures as well as SHA512 hashes of installer files 2016-03-07 13:25:59 +05:30
Kovid Goyal
974722696b Portable Installer: Do not ask to launch calibre when running an automated install. Automated installs will now never launch calibre. 2016-03-05 10:10:23 +05:30
Kovid Goyal
8da7fd2616 Better fix for [options] header in generated manual pages 2016-03-04 00:30:20 +05:30
Kovid Goyal
543482ae65 Implement translations for the new content server 2016-03-03 22:33:23 +05:30
Kovid Goyal
b27e649295 Auto-fix translated references to generated/en/ 2016-03-03 21:27:15 +05:30
Kovid Goyal
3eaf62de5b Yet another fix for python ssl distro compatibility
Apparently CentOS 7 just decided to backport the SSL patches from 2.7.9
to 2.7.5! Sigh.

I have no idea if this change will cause installation to stop working on
old Debian/Ubuntu. I love linux.

Fixes #1551800 [Automatic Linux install fails with SSL error](https://bugs.launchpad.net/calibre/+bug/1551800)
2016-03-01 22:22:58 +05:30
Kovid Goyal
6fdcc3c85f Use builtin RS compiler for generating POT files 2016-02-23 15:14:34 +05:30
Kovid Goyal
0ce29d414c Generate translations template for new content server 2016-02-23 14:56:05 +05:30
Kovid Goyal
59d1a6f2c6 Update version of Qt in OS X build to 5.5.1
Needed to prevent QT from using the system openssl library. For Qt >=
5.5 it uses Apple's TextScure API instead of openssl.
2016-01-30 15:56:27 +05:30
Kovid Goyal
fc7d4830a9 Switch to using a private openssl lib on OS X 2016-01-30 12:40:50 +05:30
Kovid Goyal
deb72df077 Remove code superseeded by winusb 2016-01-19 20:18:00 +05:30
Kovid Goyal
444c01ed30 Update bundled duktape JS interpreter 2016-01-19 11:32:54 +05:30
Kovid Goyal
e2e93a3a74 ... 2016-01-19 00:26:31 +05:30
Kovid Goyal
7db8c4df74 Remove no longer need code 2016-01-17 18:58:39 +05:30
Kovid Goyal
76c0a9b8b7 ... 2016-01-15 09:24:37 +05:30
Kovid Goyal
0c57ad189e Dont upload to files.calibre-ebook.com as it no longer exists 2016-01-12 10:24:31 +05:30
Kovid Goyal
cad0f939cb Self host plugin icon 2016-01-10 14:17:15 +05:30
Kovid Goyal
ccd069c343 Now host user manual on main server 2016-01-10 14:14:35 +05:30
Kovid Goyal
f32888e47d ... 2016-01-10 10:12:44 +05:30
Kovid Goyal
e71c1a4888 Change to using main server download URL for the linux installer 2016-01-09 10:53:50 +05:30
Kovid Goyal
af34535d4c Also write calibre version to the main server 2016-01-08 17:30:10 +05:30
Kovid Goyal
5a24f7f51b Avoid mixed content warnings when referring to resources on the calibre website 2016-01-08 15:57:20 +05:30
Kovid Goyal
f6fb20a481 Remove no longer needed instructions 2016-01-07 19:04:18 +05:30
Kovid Goyal
e81938ae31 Reset owner after uploading manual 2016-01-07 16:25:13 +05:30
Kovid Goyal
77051cf145 ... 2016-01-07 15:49:25 +05:30
Kovid Goyal
5a792a0d6a ... 2016-01-07 15:25:30 +05:30
Kovid Goyal
9c582259be ... 2016-01-07 15:17:35 +05:30
Kovid Goyal
e0871ec10d ... 2016-01-07 15:06:18 +05:30
Kovid Goyal
7c5ab5bc17 Additional DLL for linux build with Qt 5.5 2016-01-05 00:52:58 +05:30
Kovid Goyal
54cb75dacb Update version of podofo in linux build 2016-01-05 00:11:20 +05:30
Kovid Goyal
5e8402c5ef Allow the linux installer to work even if the installation location is a symlink 2016-01-03 14:33:27 +05:30
Kovid Goyal
d90d89aa8c ... 2015-12-31 17:01:11 +05:30
Kovid Goyal
4772ea768b Use SHA 256 with Authenticode 2015-12-31 14:50:42 +05:30
Kovid Goyal
2b3a1ea10c Update CA root certificate to use a SHA256 signature 2015-12-23 11:29:43 +05:30
Kovid Goyal
08be881052 ... 2015-12-07 13:33:36 +05:30
Kovid Goyal
62e942d7b8 Also preserve sip.exe 2015-12-07 13:25:38 +05:30
Kovid Goyal
906dd4305f Move creation of pycygrun into the install script 2015-12-07 13:20:21 +05:30
Kovid Goyal
ad4f4b65fe Fix python install script not actually preserving site-packages 2015-12-07 12:56:14 +05:30
Kovid Goyal
5cc46c24e4 ... 2015-12-07 10:58:16 +05:30
Kovid Goyal
86a42609ba Get rid of iconv from windows build
The DLL was not working with VS 2015.
Also libxml2 covers the most commonly used encoding internally:
http://www.xmlsoft.org/encoding.html

In any case most (all?) parsing via lxml in calibre pre-decodes
input in python.
2015-12-07 09:44:43 +05:30
Kovid Goyal
9c7e8c19fd ... 2015-12-07 09:43:19 +05:30
Kovid Goyal
e13dc5ead1 ... 2015-12-07 08:59:25 +05:30
Kovid Goyal
a3abdce095 Rebuild everything with VS 2015
Makes sure that the instructions work from a clean VM and also gives me
the opportunity to update to VS 2015 SP1
2015-12-06 23:29:49 +05:30
Kovid Goyal
7124e39cdc ... 2015-12-06 18:19:55 +05:30
Kovid Goyal
dc52214b2b Building of calibre extension modules with VS 2015 2015-12-06 13:47:56 +05:30
Kovid Goyal
607268dee1 Build Qt with VS 2015 2015-12-06 13:22:22 +05:30
Kovid Goyal
166697795f More VS 2015 work
Now only Qt is left. Will wait for release of 5.6.1 for that
QtWebKit is being removed from Qt 5.6 so will have tobuild it
separately/out-of-tree? Dont know what will happen with PyQt's wrappers
for QtWebKit, will they also be have to be built out of tree?
2015-12-04 11:23:47 +05:30
Kovid Goyal
4467f98e93 Enable asm in openssl builds with VS 2015 2015-12-04 09:54:25 +05:30
Kovid Goyal
04b4838d99 Compile ImageMagick with VS 2015 2015-12-03 23:44:45 +05:30
Kovid Goyal
96800edcfa Build PoDoFo with VS 2015 2015-12-03 22:07:04 +05:30
Kovid Goyal
2efab97540 Build poppler with VS 2015 2015-12-03 21:45:29 +05:30
Kovid Goyal
6894028e37 ... 2015-12-03 20:41:04 +05:30
Kovid Goyal
05b8d30710 More VS 2015 2015-12-03 18:54:31 +05:30
Kovid Goyal
b3317ea463 More VS 2015 2015-12-03 18:05:28 +05:30
Kovid Goyal
b9f83d5509 More progress building calibre dependencies with VS 2015 2015-12-03 16:13:55 +05:30
Kovid Goyal
ef1f633538 ... 2015-12-02 21:36:16 +05:30
Kovid Goyal
ef8d72900e Instructions for compiling pywin32 with VS 2015 2015-12-02 20:58:27 +05:30
Kovid Goyal
1915bb64cd ... 2015-12-01 23:53:22 +05:30
Kovid Goyal
e3a8958c1d ... 2015-12-01 23:47:41 +05:30
Kovid Goyal
3735cc21cb ... 2015-12-01 22:30:34 +05:30
Kovid Goyal
31cfe9658f ... 2015-12-01 22:27:53 +05:30
Kovid Goyal
f38f522097 ... 2015-12-01 22:12:04 +05:30
Kovid Goyal
5041c8525a Finish up instructions for building python with VS 2015 2015-12-01 22:00:47 +05:30
Kovid Goyal
50bc0f79a2 ... 2015-12-01 00:12:00 +05:30
Kovid Goyal
cef61bd4ed ... 2015-11-30 21:41:47 +05:30
Kovid Goyal
412dc59b36 ... 2015-11-30 15:58:47 +05:30
Kovid Goyal
121f632862 ... 2015-11-30 15:51:18 +05:30
Kovid Goyal
701683e503 Start work on compiling windows build of calibre with VS 2015 2015-11-29 17:40:53 +05:30
Kovid Goyal
21979dad96 ... 2015-11-28 13:50:47 +05:30
Kovid Goyal
69d425e4b0 Add image compression tools into windows build 2015-11-27 20:49:22 +05:30
Kovid Goyal
25c5ab84a8 Add image compressors to OS X build 2015-11-27 19:18:25 +05:30
Kovid Goyal
5bba69ef28 Add image compression binaries to the linux build 2015-11-27 18:14:04 +05:30
Kovid Goyal
fede595e87 ... 2015-11-24 22:50:12 +05:30
Kovid Goyal
b44951a46c Do not run the post-installer through a shell 2015-11-22 07:31:02 +05:30
Kovid Goyal
27e4bd5b81 Simplify the main() function 2015-11-22 07:25:27 +05:30
Kovid Goyal
d05da909b5 Update version of poppler bundled with calibre 2015-11-16 13:11:36 +05:30
Kovid Goyal
21e1c5842b A nicer way to isolate config files created during the build process 2015-11-16 10:59:14 +05:30
Kovid Goyal
2e5a204c0a Update libpng to 1.6.19 in the binary builds
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-8126
2015-11-15 09:12:18 +05:30
Kovid Goyal
cb22155364 Ensure there are no unpushed changes in the local repo before running upload_to_server 2015-11-13 17:52:59 +05:30
Kovid Goyal
143986b3bb ... 2015-11-09 13:52:58 +05:30
Kovid Goyal
af2be3287f Linux build: Fix problem with pointing hand mouse cursor not using the system theme on some linux systems
The actual fix involved patching the version fo Qt bundled with calibre,
see https://bugreports.qt.io/browse/QTBUG-41151
2015-11-09 10:47:40 +05:30
Kovid Goyal
83151cc1f0 Avoid the extra malloc+copies entailed by BytesIO in the non websocket part of the server as well
Needed a replacement for the zlib module as  the python2 version does
not support memoryview objects.
2015-10-28 18:24:01 +05:30
Kovid Goyal
343574245f Speedup monotonic() by eliminating the ctypes overhead 2015-10-28 14:39:49 +05:30
Kovid Goyal
4ef778fff8 Better error message when pkg-config not found 2015-09-25 22:55:13 +05:30
Kovid Goyal
d62fb3334b ... 2015-09-04 09:00:17 +05:30
Kovid Goyal
e83fc1c982 Only catch and ignore EnvironmentErrors when installing env module 2015-08-28 07:58:40 +05:30
Eli Schwartz
c4f232b967 linux installer: ensure python libdir exists
When using a staging root, the environment module failed to install.
2015-08-28 07:56:03 +05:30
Kovid Goyal
6ed8c25836 Windows build: Fix dukpy, apparently it has to be loaded from the filesystem, or it crashes 2015-08-08 11:44:19 +05:30
Kovid Goyal
d100eaeb9d Start work on creating .xz files 2015-08-07 09:03:59 +05:30
Kovid Goyal
50e0da0804 Implement decoding of .xz files
LZMA decoding code taken from the public domain LZMA SDK by Igor Pavlov.
2015-08-06 13:14:37 +05:30
Kovid Goyal
27672b7832 Update dukpy 2015-08-04 10:49:05 +05:30
Kovid Goyal
f862513e83 Remove unused WOFF font format support
The code was unused and the original code from Mozilla has some buffer
overflows, so we get rid of it.
2015-07-24 22:31:37 +05:30
Kovid Goyal
458276eb30 Stop uploading to sourceforge 2015-07-17 07:58:00 +05:30
Kovid Goyal
a3481c034a Dont launch separate interpreters for each sub-command during bootstrap 2015-07-15 13:47:11 +05:30
Kovid Goyal
9ef37427d3 Add a bootstrap sub-command to setup.py to ease building from a git checkout 2015-07-15 13:24:16 +05:30
Kovid Goyal
655c9499fd An embedded javascript interpreter 2015-06-18 15:37:18 +05:30
Kovid Goyal
3a63f54ca2 Remove unused code 2015-06-04 18:52:21 +05:30
Kovid Goyal
9daaa81437 Fix detection of plugin class in the KePub metadata plugins 2015-05-26 21:34:41 +05:30
Kovid Goyal
7750fdcf0e Add a test for HTTPS serving
Uses a nice new module I created to wrap OpenSSl's insance API for
creating certificates.
2015-05-26 20:30:38 +05:30
Kovid Goyal
4abd16a4a5 Fix #396 (Fix UnicodeDecodeError in linux installer script) 2015-05-05 17:52:36 +05:30
Kovid Goyal
87073a4536 Fix #395 (Build scripts: Fix thread leak) 2015-05-02 09:23:47 +05:30
Kovid Goyal
0cb35c0495 ... 2015-04-03 09:38:54 +05:30
Kovid Goyal
0e405f10d6 ... 2015-04-03 09:37:32 +05:30
Kovid Goyal
fe1eb2a2a2 ... 2015-03-27 17:38:25 +05:30
Kovid Goyal
2d768e9f4e Remove no longer needed branches from the linux installer 2015-03-24 13:38:54 +05:30
Kovid Goyal
82cd471ffc Switch to Qt 5.4.1 for the windows calibre builds 2015-03-24 13:10:37 +05:30
Kovid Goyal
e5e8c8600a Switch to Qt 5.4.1 for the OS X build 2015-03-24 12:45:04 +05:30
Kovid Goyal
d9cc928730 ... 2015-03-23 18:55:56 +05:30
Kovid Goyal
499a91bde8 Update build instructions for Qt 5.4 on windows 2015-03-23 17:40:59 +05:30
Kovid Goyal
0ca0f22446 ... 2015-03-23 12:28:13 +05:30
Kovid Goyal
c69be0507c Use my own multitail implementation in the build process
The distro one recently started segfaulting and my implementation is
much better.
2015-03-21 13:56:20 +05:30
Kovid Goyal
e0e1dbc638 Fix building with Qt 5.3.x 2015-03-13 09:26:40 +05:30
Kovid Goyal
6e750ffceb Workaround for crashes during conversions that involve generating
default covers of rasterizing SVG fonts or PDF output on linux with Qt
5.4.1

See https://bugreports.qt.io/browse/QTBUG-40946
2015-03-06 10:45:32 +05:30
Kovid Goyal
940693042f Remove cssselect from windows notes as we no longer depend on it 2015-02-22 14:51:04 +05:30
Kovid Goyal
085dd58217 Linux: Fix SSL CA certificates not being detected on Fedora based distributions 2015-02-20 16:02:45 +05:30
Kovid Goyal
010d12e84d Make exe file descriptions consistent 2015-02-18 08:09:52 +05:30
Kovid Goyal
78e547efca Do not add unneeded icons tot he installer 2015-02-17 09:31:40 +05:30
Kovid Goyal
5cb5a698ee Add viewer and editor icons to windows installer 2015-02-16 20:17:13 +05:30
Kovid Goyal
96abc72ed1 Clean up indentation in the WiX template 2015-02-16 19:22:36 +05:30
Kovid Goyal
59f9c55be4 ... 2015-02-16 12:52:59 +05:30
Kovid Goyal
ba12709d65 ... 2015-02-08 13:36:27 +05:30
Kovid Goyal
afc333449e Make updating calibre on file mirrors robust against history rewriting 2015-02-06 13:03:20 +05:30
Kovid Goyal
96dfab268e libimobiledevice: Prevent detection of WiFi connected iDevices 2015-02-01 13:09:23 +05:30