Commit graph

1322 commits

Author SHA1 Message Date
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
Kovid Goyal
9e7d1a6ed4 ... 2015-01-30 10:56:26 +05:30
Kovid Goyal
dcc80ea16a Sign tags using my personal key 2015-01-25 14:18:59 +05:30
Kovid Goyal
c70a3f9451 Nicer solution to GPG boneheadedness 2015-01-25 14:03:07 +05:30
Kovid Goyal
ef09e886b3 Change all shebangs to use python2 2015-01-23 19:08:21 +05:30
Kovid Goyal
e27e3f6f55 Work around GPG boneheadedness 2015-01-23 12:24:05 +05:30
Kovid Goyal
4df22d9107 ... 2015-01-23 11:51:35 +05:30
Kovid Goyal
3e98673a49 ... 2015-01-23 10:37:19 +05:30
Kovid Goyal
9fa83858a3 ... 2015-01-21 16:16:54 +05:30
Kovid Goyal
e39e6369b4 Forgot to update the separate main server 2015-01-19 09:07:25 +05:30
Kovid Goyal
25b973ee2e Change server the linux installer uses to avoid extra redirect 2015-01-17 12:34:03 +05:30
Kovid Goyal
667a7c4960 Switch demo uploads to new server 2015-01-17 10:56:57 +05:30
Kovid Goyal
568d49bac7 Change paths for testing of Changelog 2015-01-15 15:41:19 +05:30
Kovid Goyal
d47fb8c0bb ... 2015-01-14 12:57:23 +05:30
Kovid Goyal
d8ee6308d6 Purge dead code for uploading to the now defunct googlecode 2015-01-12 14:01:13 +05:30
Kovid Goyal
89cf80ab74 Update tarball-info when re-uploading 2015-01-12 13:50:23 +05:30
Kovid Goyal
1a8c28ecb9 Switch version check to new server 2015-01-12 11:40:39 +05:30
Kovid Goyal
0149c98092 Change signature downloads to new server 2015-01-12 04:14:12 +05:30
Kovid Goyal
73db79b1fa ... 2015-01-10 08:06:27 +05:30
Kovid Goyal
2e9024e55e Do not exclude six when freezing, since calibre no longer bundles it 2015-01-09 10:17:44 +05:30
Kovid Goyal
03f3eb931d Use create_default_context rather than manually creating the context 2015-01-07 11:53:53 +05:30
Kovid Goyal
721bd800cd Upload code signatures to new server 2015-01-07 08:29:01 +05:30
Kovid Goyal
9286d3c41f ... 2015-01-04 08:36:31 +05:30
Kovid Goyal
a145a210b8 ... 2015-01-02 23:23:33 +05:30
Kovid Goyal
be8c222864 Fix regression in 2.15 that broke calibre on OS X 10.7. Fixes #1407102 [Calibre 2.15 doesn't work in my mac](https://bugs.launchpad.net/calibre/+bug/1407102) 2015-01-02 22:54:33 +05:30
Kovid Goyal
5dae12447e ... 2015-01-02 11:23:35 +05:30
Kovid Goyal
79c029c15f OSX Build: Fix output to stdout/stderr not being redirected to Console.app in newer OS X version (>= 10.8) 2015-01-01 08:15:48 +05:30
Kovid Goyal
8ec51ecae3 Simplify stage2 logic 2014-12-26 10:48:12 +05:30
Kovid Goyal
ea2816dc85 DRYer 2014-12-26 10:11:21 +05:30
Kovid Goyal
e723ec4c47 Retry listing of running VMs to handle transitory failures 2014-12-26 09:41:44 +05:30
Kovid Goyal
4e355c9e48 Verify existence of installers after stage2 2014-12-26 09:30:52 +05:30
Kovid Goyal
555445824e Use openntpd instead of ntp 2014-12-21 13:21:38 +05:30
Kovid Goyal
59fcd4d823 ... 2014-12-20 10:11:17 +05:30
Kovid Goyal
328f6231c5 Add a note about codesign breaking due to network congestion 2014-12-20 09:59:35 +05:30
Kovid Goyal
f77df61e65 ... 2014-12-19 10:35:00 +05:30
Kovid Goyal
f7631b879f Report builder errors in stage2 properly 2014-12-19 10:28:44 +05:30
Kovid Goyal
d102bc256c Workaround for Ubuntu/Debian's brilliant decision to partially backport patches from python 2.7.9 to 2.7.8 2014-12-18 17:33:52 +05:30
Kovid Goyal
b5849698c0 Use a functionality check on the SSL module instead of checking version numbers, since there are distros out there that backport patches without changing version numbers 2014-12-16 09:30:01 +05:30
Kovid Goyal
6a349b9c30 Use TLS 1.2 when available for https 2014-12-16 09:00:50 +05:30
Kovid Goyal
4f6ca8d7d2 When downloading https resources with a self-signed certificate, handle python 2.7.9's API breakage
See #1402579 (Can't install calibre due "ssl.SSLError: [SSL] PEM lib (_ssl.c:2525)")
2014-12-15 22:45:02 +05:30
Kovid Goyal
f011529895 Dont fail when building translations if resources/localization does not exist, which happens for people building from a git checkout instead of the source tarball 2014-12-13 12:32:32 +05:30
Kovid Goyal
b6d78b69c7 Speed up building of release binaries by running three VMs in parallel 2014-11-28 14:50:51 +05:30
Kovid Goyal
0b7956cbdc ... 2014-11-26 14:19:14 +05:30
Kovid Goyal
1c6ddefbf9 Make user manual translations stats available to calibre 2014-11-26 12:54:17 +05:30
Kovid Goyal
bad59c4ed7 Add option to serve User Manual on localhost after building it 2014-11-26 12:38:44 +05:30
Kovid Goyal
58cb71be99 Update the version of libimobiledevice to 1.1.7 shipped in the linux and OS X builds 2014-11-23 14:19:15 +05:30
Kovid Goyal
d588010b39 Add pygments to the binary builds 2014-11-20 18:17:52 +05:30
Kovid Goyal
d040139f57 ... 2014-11-19 21:06:33 +05:30
Kovid Goyal
bff2ebc9d5 Use decorators for builtin S&R functions: prettier :) 2014-11-19 09:52:18 +05:30
Kovid Goyal
18e61e8eab DRYer 2014-11-19 09:20:38 +05:30
Kovid Goyal
705ed00b5f Move imports out of S&R builtin funcs 2014-11-19 09:12:55 +05:30
Kovid Goyal
4cb585cc3e Start work on function mode for S&R in the editor 2014-11-18 19:09:16 +05:30
Kovid Goyal
99cb07ea09 Use the default user shell in the build VMs instead of bash 2014-11-15 16:52:41 +05:30
Kovid Goyal
c471e0d1e0 Update the version of libimobiledevice bundled with the windows calibre build to support iOS 8 2014-11-15 16:52:18 +05:30
Kovid Goyal
d0a44763f8 Windows: Redirect stdout/stderr to NUL instead of temp files. Avoids unnecessary creation of temp files 2014-11-13 10:56:53 +05:30
Kovid Goyal
8dab918f98 Add the xpyb XCB python bindings to the linux builds 2014-10-31 16:00:40 +05:30
Kovid Goyal
3e2a75327a Add the dbus-glib library to the linux binary build 2014-10-30 09:04:26 +05:30
Kovid Goyal
d136c99cb4 ... 2014-10-29 21:09:34 +05:30
Kovid Goyal
b2a78f0d4b Revert inclusion of PyQt QTDBus module 2014-10-27 08:04:20 +05:30
Kovid Goyal
49c7a857e4 Include python bindings for QtDBus on linux 2014-10-26 12:04:43 +05:30
Kovid Goyal
f64107fa63 Fix text in standard buttons not being translated because of a change in Qt 5.3 2014-10-25 15:58:36 +05:30
Kovid Goyal
bf5c3f9be1 Raise User Manual translations completion threshold 2014-10-17 11:34:15 +05:30
Kovid Goyal
e155b2ac63 Proper exclusion for generated language based user manual files 2014-10-17 10:09:18 +05:30
Kovid Goyal
e9e763f824 Dont build the english version of themanual twice when using the --language option 2014-10-17 09:31:23 +05:30
Kovid Goyal
a756fc1b8f ... 2014-10-01 20:59:12 +05:30
Kovid Goyal
2fdf4de2f6 ... 2014-09-29 21:41:55 +05:30
Kovid Goyal
b4cfdbbf32 Turn on hash randomization in the version of python bundled with calibre 2014-09-29 21:36:33 +05:30
Kovid Goyal
9529fa26dc Retry when watch-compiling coffeescript 2014-09-21 21:18:39 +05:30
Kovid Goyal
388bba0fe9 List of current Qt 5workarounds that are obsoleted by Qt 5 bug fixes 2014-09-20 08:39:58 +05:30
Kovid Goyal
f5edac6074 Implement v2 codesigning for the calibre app bundle on OS X
calibre is now built on 10.9.5 as that is the only version of OS X that
supports v2 codesigning. v2 codesigning is required for Gatekeeper on
all versions of OSX >= 10.9.5
2014-09-19 15:31:33 +05:30
Kovid Goyal
44992bbd63 ... 2014-09-14 20:10:57 +05:30
Kovid Goyal
2002b18de3 Add a retry for setting the label on github 2014-09-12 09:26:31 +05:30
Kovid Goyal
0a90dc23d6 Fix compilation of texture generation code on OS X and windows 2014-09-11 21:01:42 +05:30
Kovid Goyal
f6e42f4cc1 Fix regression that caused calibre running in debug mode on OS X to not have a menubar or dock icon 2014-09-08 20:40:45 +05:30
Kovid Goyal
b6bbf61efd Only keep the most recent release on GitHub
GitHub claims they have no disk quotas for releases, but I dont want to
rely on that.
2014-09-05 12:45:21 +05:30
Kovid Goyal
43c4e2b867 Upload releases to GitHub as well 2014-09-05 08:55:26 +05:30
Kovid Goyal
acc92d85b6 Make requests available on file hosting servers 2014-09-04 21:45:29 +05:30
Kovid Goyal
76fb7b2b74 ... 2014-09-01 15:10:54 +05:30
Kovid Goyal
77683fb88b Explicitly close ThreadPool from multiprocessing to ensure no leaked threads 2014-08-30 11:08:34 +05:30
Kovid Goyal
d758d88191 Decrease size of icns files in the OS X app bundle
By running the PNG images through a PNG optimizer. Also specify a
thumbnail image to use for files associated with calibre. Fixes #295 (Icon association for book files on Mac)
2014-08-30 10:49:00 +05:30
Kovid Goyal
057afd434c ... 2014-08-30 10:22:54 +05:30
Kovid Goyal
cc8b5e70c2 Patch to Qt WebKit to fix rendering of soft hyphens in the viewer 2014-08-28 15:47:57 +05:30
Kovid Goyal
e8d2a6a02f Remove platform theme plugin as it causes crashes in Ubuntu 2014-08-27 13:34:18 +05:30
Kovid Goyal
74fc0e6f3f Add some missing plugins to the Qt bundled with calibre on linux 2014-08-26 23:44:30 +05:30
Kovid Goyal
c0708c760d Workaround for bug in hdiutil 2014-08-25 10:17:31 +05:30
Kovid Goyal
1d92987780 OS X: Fix background jobs stealing input focus if they require the use of hidden browser 2014-08-24 18:28:25 +05:30
Kovid Goyal
10179bce94 Add translatable strings from the QT font dialog 2014-08-24 10:14:50 +05:30
Kovid Goyal
697a74b0c1 Prevent calibre from installing or running on Windows XP as there have been many reports of Qt 5 crashing on Windows XP and Windows XP is now no longer supported by Microsoft. 2014-08-24 00:47:10 +05:30
Kovid Goyal
b6579971b3 Fix move to .txz for linux binaries causing links on the previous releases page for linux binaries not working 2014-08-23 01:07:36 +05:30
Kovid Goyal
8208bb5171 Refactor for DRYness 2014-08-22 13:39:35 +05:30
Kovid Goyal
8982e9d52c Handle partial re-uploads when uploading to fosshub 2014-08-22 13:01:45 +05:30
Kovid Goyal
3f57f71c5a ... 2014-08-22 09:38:32 +05:30
Kovid Goyal
27b57c73b3 ... 2014-08-22 08:40:28 +05:30
Kovid Goyal
ab82e663f8 Dont check .py files auto-generated from .ui files 2014-08-21 21:21:51 +05:30
Kovid Goyal
7bca268659 Parallelize gathering of translation stats 2014-08-17 13:45:13 +05:30
Kovid Goyal
e6d68eef01 ... 2014-08-17 13:07:57 +05:30
Kovid Goyal
9489286782 Fix calculation of user manual translation stats 2014-08-17 13:05:51 +05:30
Kovid Goyal
65877258a0 ... 2014-08-17 08:34:08 +05:30