Commit graph

1932 commits

Author SHA1 Message Date
Kovid Goyal
8b280c03c3
py3: Port RTF metadata module 2019-03-31 13:45:46 +05:30
Kovid Goyal
c33768b35e
Move the python imports test out of the build test module
The build test is designed to run with frozen calibre, where the
source files may not be available. So run it only as part of
the setup test suite.
2019-03-31 09:31:38 +05:30
Kovid Goyal
9b0ed4204d
... 2019-03-26 08:24:54 +05:30
Kovid Goyal
f68c1f2672
DRYer 2019-03-26 08:24:12 +05:30
Kovid Goyal
f66d6f9fcf
Ensure init symbol is exported on py3 2019-03-26 08:14:46 +05:30
Kovid Goyal
6d3fcc853e
Cant use polyglot in plugins_mirror 2019-03-25 17:54:42 +05:30
Kovid Goyal
5918acabad
Misc fixes for the last py3 porting merge 2019-03-25 16:03:25 +05:30
Kovid Goyal
0fcad5f21f
Fix various uses of iteritems missed by dict_fixes 2019-03-25 15:29:08 +05:30
Kovid Goyal
33cea777ac
Merge branch 'py3' of https://github.com/eli-schwartz/calibre 2019-03-25 13:32:21 +05:30
Kovid Goyal
de9d97d688
Port use of BS for comments_html() 2019-03-25 09:52:45 +05:30
Eli Schwartz
4f545af415
autopep8 2019-03-24 01:18:27 -04:00
Eli Schwartz
a623717d96
python3: apply various fixes from python-modernize "dict_six"
Imports were then fixed and consolidated to derive from the internal
polyglot.builtins
2019-03-24 01:18:27 -04:00
Eli Schwartz
13d236f556
python3: make recent_uas build 2019-03-24 00:54:58 -04:00
Eli Schwartz
09e97e5af1
setup: don't report full pathname when creating msgpack'ed resources
The full pathname in the log info was introduced as a side effect of
moving off of pickle.
2019-03-24 00:23:15 -04:00
Kovid Goyal
47ed2df137
Various fixes for the latest py3 commit 2019-03-21 18:33:19 +05:30
Eli Schwartz
d66fdc2df7
autopep8 2019-03-21 01:27:21 -04:00
Eli Schwartz
45f68f552b
python3: make coffee build
add polyglot.socketserver wrapper and fix BaseHTTPServer.HTTPServer
2019-03-21 01:27:21 -04:00
Eli Schwartz
c940d9941a
python3: make kakasi build
Since these are all being opened as non-binary, it makes no sense to
then immediately decode them.
2019-03-21 00:23:43 -04:00
Eli Schwartz
8aceae428e
py3: make setup.py gui work
Apparently compileUi explicitly opens the file/buffer as unicode, not
bytes, and then writes a unicode header string (containing the source
file). So the previous attempt to use BytesIO was wrong in this case.

Also images.qrc is being constructed completely in the right here and
now from a bunch of unicode strings, so just use exactly that.
2019-03-20 23:56:30 -04:00
Kovid Goyal
ae735b2ea3
De-vendor html2text 2019-03-20 14:42:46 +05:30
Kovid Goyal
4c9fb6becd
... 2019-03-15 15:52:12 +05:30
Kovid Goyal
d1e30dfcac
Get rid of some xrange 2019-03-13 15:34:10 +05:30
Kovid Goyal
2d21a8efa2
Some more fixes for the unicode type
Now replaced in all dynamically loaded code. Recipes/metadata
sources/etc. In the case of recipes, since they get compiled by calibre
we simply make the unicode/unichr names available, no need for any
changes to the actual recipes themselves.
2019-03-13 12:04:47 +05:30
Eli Schwartz
cbc42bec23
python3: add unicode/unichr wrappers to polyglot 2019-03-13 06:41:38 +05:30
Kovid Goyal
addf9af51a
Fix generation of trnaslation template for website 2019-03-07 10:22:39 +05:30
Kovid Goyal
9695a6e1cc
Merge branch 'py3' of https://github.com/eli-schwartz/calibre 2019-02-26 08:39:42 +05:30
Eli Schwartz
3258c464e7 Port headless plugin to build on python2/python3
The only thing needed is to port the buildsystem to not pass strings
starting with a "b" as build flags.
2019-02-25 22:04:26 -05:00
Kovid Goyal
7d00c4b0f4
macOS: Respect the system setting for text insertion cursor blink time
This value can be changed with the following commands:

defaults write -g NSTextInsertionPointBlinkPeriodOff -float 500
defaults write -g NSTextInsertionPointBlinkPeriodOn -float 500
2019-02-25 09:16:06 +05:30
Kovid Goyal
e0d5a021dd
Fix #1812891 [calibre-3.38.1 tries to download mathjax during build](https://bugs.launchpad.net/calibre/+bug/1812891) again 2019-02-01 13:38:48 +05:30
Kovid Goyal
a64579338c
Dont download MathJax if it is already present
Fixes #1812891 [calibre-3.38.1 tries to download mathjax  during build](https://bugs.launchpad.net/calibre/+bug/1812891)
2019-01-23 08:03:00 +05:30
Eli Schwartz
18ad088bda build: preserve symlinks when installing
Without this, python's default behavior was to dereference the mathjax
symlinks and install the file contents instead.
2019-01-20 16:53:53 -05:00
Eli Schwartz
82617d3a74 build: add option to symlink to system mathjax installation 2019-01-18 08:40:44 -05:00
Eli Schwartz
6adedd8603 setup/mathjax: fallback to using packed versions of resources
Some mathjax distributions come with the unpacked versions removed as
per the upstream instructions for optimizing an installation. Only use
the unpacked versions if they exist; otherwise fallback on the packed
versions.

Also filter the .woff files to make sure they are actually .woff files,
since they may be files like fonts.dir, fonts.scale, .uuid (created by
xorg-mkfontdir, xorg-mkfontscale, fontconfig).
2019-01-18 08:40:44 -05:00
Kovid Goyal
2ae2d14d62
Rapydscript must be built after mathjax 2019-01-17 09:36:16 +05:30
Kovid Goyal
d08e0a33e1
Implement clean for mathjax builder 2019-01-04 22:15:26 +05:30
Kovid Goyal
98a2f53d90
Remove mathjax from bootstrap since it is now under resources 2019-01-04 21:59:01 +05:30
Kovid Goyal
c184fe37c7
Remove unused code 2019-01-04 21:54:57 +05:30
Kovid Goyal
f78a7dad58
Do not use a compressed archive for mathjax
Improves performance for local clients such as PDF output and the
viewer. Since we have now removed the old unbundled mathjax, the file
count in the resources directory does not go up too much.
2019-01-04 21:53:06 +05:30
Kovid Goyal
e47a2d888b
Update the SWIG bindings for chmlib
Also get rid of the xhm_extra module since
we dont care about searching CHM files and get_lcid can be
implemented in pure python.
2018-12-27 14:44:43 +05:30
Kovid Goyal
bf60631ce0
Avoid the need to use a patched version of MathJax
See https://github.com/mathjax/MathJax/pull/1453
2018-12-17 15:38:14 +05:30
Kovid Goyal
f6ef5f3cf7
Fix crash when compressing mathjax on CI servers 2018-12-13 18:48:23 +05:30
Kovid Goyal
dca2d1a51c
String changes 2018-12-10 08:36:28 +05:30
Kovid Goyal
8018891656
... 2018-10-19 10:30:54 +05:30
Kovid Goyal
17eff935eb
... 2018-10-19 10:16:01 +05:30
Kovid Goyal
79d7658ea3
Check fosshub queue status since the API has now been fixed 2018-10-03 20:30:05 +05:30
Kovid Goyal
e4795fcf88
oops 2018-10-03 08:39:47 +05:30
Kovid Goyal
826119e797
Use new fosshub upload API 2018-10-03 08:39:11 +05:30
Flaviu Tamas
8b9e401f32 Use builtin zlib in py3 2018-10-02 17:01:01 -04:00
Kovid Goyal
01a9fb6687
Fix #1794915 [setup.py build does not work due to UnicodeEncodeError](https://bugs.launchpad.net/calibre/+bug/1794915) 2018-09-28 09:47:35 +05:30
Kovid Goyal
4d4ffcff7c
Revert "Remove use of prints in the setup package since nowadays most systems are UTF-8 based anyway"
This reverts commit f4b3585549.
2018-09-28 09:44:41 +05:30
Flaviu Tamas
1270f32157 Only build monotonic on py2 2018-09-14 13:49:33 -04:00
Flaviu Tamas
46b521dfbf Build hunspell in py3
The verbose old-style intialization is used because GCC 4.8 & MSVC don't
support the nicer `.foo = bar` style of initialization.
2018-09-12 22:41:57 -04:00
Kovid Goyal
be00d40d02
plugins_mirror cannot depend on polyglot 2018-09-10 21:04:25 +05:30
Kovid Goyal
3c10a86c65
setup.py build now runs under python3 2018-09-10 21:02:10 +05:30
Kovid Goyal
e125996ee6
Remove basestring from the setup package 2018-09-10 20:58:01 +05:30
Kovid Goyal
f39f3951f4
dict fixes in the setup package 2018-09-10 20:54:35 +05:30
Kovid Goyal
5bdb5b7c6c
Import fixes for the setup package 2018-09-10 20:44:16 +05:30
Kovid Goyal
cc9a11fba0
Port os.getcwdu to python 3 2018-09-10 20:20:26 +05:30
Kovid Goyal
5234e43f0e
Port future_builtins to polyglot 2018-09-10 20:12:01 +05:30
Kovid Goyal
f4b3585549
Remove use of prints in the setup package since nowadays most systems are UTF-8 based anyway 2018-09-10 19:55:49 +05:30
Kovid Goyal
a9e07efecd
The setup package now imports under python 3 2018-09-10 19:47:53 +05:30
Kovid Goyal
5c6ba41cca
oops 2018-09-10 19:42:20 +05:30
Kovid Goyal
778b3cf74e
Remove unused code 2018-09-10 19:37:42 +05:30
Kovid Goyal
1a928fc497
Remove unused code 2018-09-10 18:41:52 +05:30
Kovid Goyal
b9767b2b92
Move more databases to msgpack instead of pickle 2018-09-10 18:35:19 +05:30
Kovid Goyal
8b3ea8fb83
Replace more use of pickle for databases 2018-09-10 18:26:46 +05:30
Kovid Goyal
d8e24e4a19
Use msgpack instead of pickle for a couple more databases 2018-09-10 17:36:57 +05:30
Kovid Goyal
1d54c2f874
Use msgpack instead of pickle for ISO 639 and 3166 databases 2018-09-10 17:14:03 +05:30
Kovid Goyal
ce377076b9
Some py3 fixes for the setup module 2018-09-10 16:04:47 +05:30
Flaviu Tamas
01fbf09c0b
Undo redundant imports & new-style raises
New-style rasies need to be redone in a py2-friendly way, and the
redudant imports are redudnant and can safely be removed
2018-09-10 12:11:29 +05:30
Flaviu Tamas
655ab21b0b
Fix from __future__ import order 2018-09-10 12:11:29 +05:30
Flaviu Tamas
0889ee85ec
Fix syntax errors
Command used:

futurize --no-diffs -f libfuturize.fixes.fix_print_with_import -f lib2to3.fixes.fix_throw -f lib2to3.fixes.fix_numliterals -f lib2to3.fixes.fix_except -f lib2to3.fixes.fix_exec -f lib2to3.fixes.fix_raise -f lib2to3.fixes.fix_tuple_params -f lib2to3.fixes.fix_ne -j20 -w -n setup recipes src manual setup.py recipes/*.recipe

And manual adjustments of print((...)) -> print(...)
2018-09-10 12:11:28 +05:30
Kovid Goyal
9350caab4e
Fix invocation of setup.py in git hooks 2018-07-27 17:36:25 +05:30
Kovid Goyal
626d5aa1ce
Infrastructure for author name mapping 2018-07-17 15:32:58 +05:30
Joel Goguen
1c25ba0042 Exclude execute from umask
If the umask is set up to exlude execute, the installer will set up
calibre to be unreadable by any user other than the installing user.
When installing as `root`, a starting umask of `0o077` results in the
installer choosing a new umask of `0o033`, which means the calibre
install directory (and child directories) are installed with permissions
`0o744`, so only the installing user can actually use the resulting
calibre install.

To test, start with a system umask of `0o077` and run the installer
script as root:

```
% sudo sh ./setup/linux-installer.sh
Using python executable: /usr/bin/python3
WARNING: Your current umask disallows reading of files by some users, this can cause system breakage when running the installer because of bugs in common system utilities.
Should the installer (f)ix the umask, (i)gnore it or (a)bort [f/i/a Default is abort]: f
umask changed to: 022
Installing to /opt/calibre
Downloading tarball signature securely...
Using previously downloaded calibre-3.26.1-x86_64.txz
Extracting files to /opt/calibre ...
Extracting application files...
Creating symlinks...
	Symlinking /opt/calibre/ebook-edit to /usr/bin/ebook-edit
	Symlinking /opt/calibre/calibre-debug to /usr/bin/calibre-debug
	Symlinking /opt/calibre/web2disk to /usr/bin/web2disk
	Symlinking /opt/calibre/calibre-parallel to /usr/bin/calibre-parallel
	Symlinking /opt/calibre/calibredb to /usr/bin/calibredb
	Symlinking /opt/calibre/lrs2lrf to /usr/bin/lrs2lrf
	Symlinking /opt/calibre/calibre to /usr/bin/calibre
	Symlinking /opt/calibre/ebook-convert to /usr/bin/ebook-convert
	Symlinking /opt/calibre/calibre-server to /usr/bin/calibre-server
	Symlinking /opt/calibre/ebook-viewer to /usr/bin/ebook-viewer
	Symlinking /opt/calibre/calibre-smtp to /usr/bin/calibre-smtp
	Symlinking /opt/calibre/ebook-meta to /usr/bin/ebook-meta
	Symlinking /opt/calibre/ebook-device to /usr/bin/ebook-device
	Symlinking /opt/calibre/fetch-ebook-metadata to /usr/bin/fetch-ebook-metadata
	Symlinking /opt/calibre/ebook-polish to /usr/bin/ebook-polish
	Symlinking /opt/calibre/lrfviewer to /usr/bin/lrfviewer
	Symlinking /opt/calibre/calibre-customize to /usr/bin/calibre-customize
	Symlinking /opt/calibre/lrf2lrs to /usr/bin/lrf2lrs
	Symlinking /opt/calibre/markdown-calibre to /usr/bin/markdown-calibre
Setting up command-line completion...
Installing zsh completion to: /usr/share/zsh/site-functions/_calibre
Installing bash completion to: /usr/share/bash-completion/completions/calibre
Setting up desktop integration...
Creating un-installer: /usr/bin/calibre-uninstall
Run "calibre" to start calibre
```

And the resulting directory:
```
% ls -ld /opt/calibre
drwxr-xr-x. 5 root root 4.0K Jun 22 10:53 /opt/calibre/
```

Also verify the Python version, starting with no `/opt/calibre` and a system umask of `0o077`:
```
% sudo python3 ./setup/linux-installer.py
WARNING: Your current umask disallows reading of files by some users, this can cause system breakage when running the installer because of bugs in common system utilities.
Should the installer (f)ix the umask, (i)gnore it or (a)bort [f/i/a Default is abort]: f
umask changed to: 022
Installing to /opt/calibre
Downloading tarball signature securely...
Using previously downloaded calibre-3.26.1-x86_64.txz
Extracting files to /opt/calibre ...
Extracting application files...
Creating symlinks...
	Symlinking /opt/calibre/calibre-customize to /usr/bin/calibre-customize
	Symlinking /opt/calibre/calibre-smtp to /usr/bin/calibre-smtp
	Symlinking /opt/calibre/calibredb to /usr/bin/calibredb
	Symlinking /opt/calibre/calibre to /usr/bin/calibre
	Symlinking /opt/calibre/ebook-polish to /usr/bin/ebook-polish
	Symlinking /opt/calibre/ebook-meta to /usr/bin/ebook-meta
	Symlinking /opt/calibre/calibre-server to /usr/bin/calibre-server
	Symlinking /opt/calibre/markdown-calibre to /usr/bin/markdown-calibre
	Symlinking /opt/calibre/fetch-ebook-metadata to /usr/bin/fetch-ebook-metadata
	Symlinking /opt/calibre/lrf2lrs to /usr/bin/lrf2lrs
	Symlinking /opt/calibre/calibre-parallel to /usr/bin/calibre-parallel
	Symlinking /opt/calibre/ebook-convert to /usr/bin/ebook-convert
	Symlinking /opt/calibre/ebook-viewer to /usr/bin/ebook-viewer
	Symlinking /opt/calibre/web2disk to /usr/bin/web2disk
	Symlinking /opt/calibre/calibre-debug to /usr/bin/calibre-debug
	Symlinking /opt/calibre/ebook-device to /usr/bin/ebook-device
	Symlinking /opt/calibre/lrfviewer to /usr/bin/lrfviewer
	Symlinking /opt/calibre/ebook-edit to /usr/bin/ebook-edit
	Symlinking /opt/calibre/lrs2lrf to /usr/bin/lrs2lrf
Setting up command-line completion...
Installing zsh completion to: /usr/share/zsh/site-functions/_calibre
Installing bash completion to: /usr/share/bash-completion/completions/calibre
Setting up desktop integration...
Creating un-installer: /usr/bin/calibre-uninstall
Run "calibre" to start calibre

% ls -ld /opt/calibre
drwxr-xr-x. 5 root root 4.0K Jun 22 10:55 /opt/calibre/
```

After each, verify calibre starts as a non-root user.
2018-06-22 10:49:26 -07:00
Kovid Goyal
4df998fdd2
Ignore 404s on private bugs 2018-06-18 13:24:33 +05:30
Kovid Goyal
e8fdd7a83c
Migrate git hooks to py3 2018-06-12 18:01:55 +05:30
Kovid Goyal
cd7e8891bd
Fix python invocation in git hooks 2018-06-10 07:33:54 +05:30
Kovid Goyal
73029303d6
Dont use a set literal in the installer since there are apparently people still running linux installations with python 2.6 2018-06-09 07:05:03 +05:30
Kovid Goyal
499578beaa
Try to get unicode_names compiling on ancient compilers 2018-05-01 11:31:21 +05:30
Kovid Goyal
eaffdbb884
... 2018-05-01 11:18:40 +05:30
Kovid Goyal
5d95d13935
Edit Book: Fix names for some control characters not being displayed in the status bar
Uses the unicode names database I created for kitty. Much more
comprehensive than the one in ICU.
2018-05-01 10:23:50 +05:30
Kovid Goyal
f04b5eea20
Remove use of command -v from linux-installer.sh 2018-04-30 08:29:59 +05:30
Kovid Goyal
7a150c065e
Add a shebang for linux-installer.sh 2018-04-29 15:11:46 +05:30
Kovid Goyal
54c81eec15
Simplify passing arguments to linux-installer.py 2018-04-29 14:57:59 +05:30
Kovid Goyal
db936049cd
Add a shell script wrapper for the linux installer
Needed because Ubuntu 18.04 has decided, in its infinite wisdom to
have no default python executable, which makes it impossible to run
polyglot python scripts.
2018-04-28 10:05:18 +05:30
Kovid Goyal
9679a1c4f3
pep8 2018-04-28 08:52:46 +05:30
Kovid Goyal
2373a38005
Linux installer: Fix umask question not working with the recommended install command because stdin is a pipe 2018-04-14 15:44:02 +05:30
Kovid Goyal
baee2d2546
Content server: When updating interface data do not transmit translations if they have not been changed. Saves ~30-60KB bandwidth when using non-English interface language. 2018-03-24 10:50:24 +05:30
Kovid Goyal
73cd57bebb
DRYer 2018-03-10 09:07:38 +05:30
Kovid Goyal
53e5d1a748
Fix #1754698 [SIP_DIR no longer works to specify pyqt_sip_dir](https://bugs.launchpad.net/calibre/+bug/1754698) 2018-03-10 09:04:54 +05:30
Kovid Goyal
2beeb537b4
Ensure no spaces around fosshub API key 2018-03-09 16:41:00 +05:30
Kovid Goyal
5697f8f282
More robust timeout retry handling 2018-02-02 15:43:55 +05:30
Kovid Goyal
3dfd846b7b
Retry after sleeping on URL fetch timeout in plugins mirror script 2018-02-02 13:14:04 +05:30
Kovid Goyal
594c52a7af
Double plugin mirror download timeout 2018-02-01 13:06:34 +05:30
Kovid Goyal
3f9c5a8719
Move the search query parser tests into their own module and integrate with the calibre testing system 2018-01-18 10:03:30 +05:30
Kovid Goyal
5ac2ae511f
Also check for the C1 control chars 2018-01-05 12:35:51 +05:30
Kovid Goyal
0053ee6456
Add a check for ASCII control codes in translation files 2018-01-05 12:31:57 +05:30
Conrad Meyer
712edec636 Compatibility improvements for FreeBSD systems
Don't exclude libmtp on FreeBSD systems.

Don't exclude libusb on FreeBSD systems.  Our libusb has a different include
path structure and libname than Linux, but compiles fine once those are
corrected.

Correct path to py-sip on FreeBSD.  We install it to a different directory
than build_environment.py was looking in.
2017-12-26 13:01:13 -08:00
Kovid Goyal
631ca6393e
Linux installer: A nicer error message if the user tries to run the installer on an ARM machine 2017-12-04 12:32:36 +05:30
Kovid Goyal
b6312f1f12
Move various win API calls into native code
Faster, more robust. Should fix #1728196
2017-10-28 13:07:38 +05:30
Kovid Goyal
09d25c21e8
Update website translations on publish 2017-08-24 10:35:08 +05:30
Kovid Goyal
31e693cd09
Reduce the threshold for website translations to be included 2017-08-24 00:18:46 +05:30
Kovid Goyal
b6ef1092ce
Also write lang names to website locales zip file 2017-08-23 10:57:21 +05:30
Kovid Goyal
d554fbeb81
Compile the website translations 2017-08-23 09:46:27 +05:30
Kovid Goyal
f6b8381018
Ensure build is run before publish proceeds 2017-08-04 08:57:08 +05:30
Kovid Goyal
dfe2f5e04f
Dont use installed calibre when running sphinx-build 2017-07-04 21:51:42 +05:30
Kovid Goyal
9ccbf1ef8f
... 2017-07-04 17:54:22 +05:30
Kovid Goyal
81460e6cfc
More robust parallel use of sphinx-build2 2017-07-04 17:52:49 +05:30
Kovid Goyal
a0ac9cfddb
Use calibre available languages not manual languages when generating man pages 2017-07-04 13:19:20 +05:30
Kovid Goyal
556c32b6b8
Add man pages to the source tarball 2017-07-04 13:06:33 +05:30
Kovid Goyal
fa191ab55a
Create a setup.py command: man_pages to generate man pages in all languages 2017-07-04 12:28:59 +05:30
Kovid Goyal
9f4bf26b9d
Dont mute curl on the unix ci server 2017-07-02 10:17:46 +05:30
Kovid Goyal
9768d16334
Forgot that on macOS qmake generates .dylib files 2017-06-26 16:20:53 +05:30
Kovid Goyal
2291b2d2a0
Build the headless QPA backend on macOS as well 2017-06-26 14:56:58 +05:30
Kovid Goyal
7de2e366cf
A spot of refactoring 2017-06-22 09:00:49 +05:30
Kovid Goyal
cad405d413
Make the Support calibre button in the User manual translateable 2017-06-21 00:08:23 +05:30
Kovid Goyal
af6d043375
Switch to using msgfmt to check for format errors in translated strings
It catches more than pofilter with fewer false positives.
2017-06-18 10:26:24 +05:30
Kovid Goyal
08308ee14d
Fix python brace format check not being done by pofilter 2017-06-17 18:39:41 +05:30
Kovid Goyal
d305656bb4
Remove the vendored unrar code 2017-06-17 13:56:37 +05:30
Kovid Goyal
346b3b4368
Extarct strings from the calibre website for translation 2017-06-12 11:48:23 +05:30
Kovid Goyal
f863d3b46a
Try using node+rapydscript on appveyor as well 2017-06-10 11:22:17 +05:30
Kovid Goyal
858b21dadf
See if installing uglify-js manually fixes Travis builds 2017-06-09 20:31:32 +05:30
Kovid Goyal
2c80dc2aed
Remove orphaned compiled forms when switching branches 2017-06-09 00:21:10 +05:30
Kovid Goyal
9564c94ad1
Remove the copy of dukpy. Make it an external dependency. 2017-06-07 15:07:19 +05:30
Kovid Goyal
aee8af31f3
Hide all symbols in the compiled python extensions on unix
They were already hidden on windows. Avoids the possibility of symbol
collisions and also means ld has to do less work when loading them
extensions.
2017-06-07 12:19:24 +05:30
Kovid Goyal
0ece679a1b
No longer bundle python-regex 2017-05-27 10:39:25 +05:30
Kovid Goyal
802b1ab1e9
Enable CI for win 32bit as well 2017-05-24 21:38:04 +05:30
Kovid Goyal
c9839063d4
Remove obsolete reference to vs2015 2017-05-21 13:52:50 +05:30
Kovid Goyal
71c1232fa4
Ensure multitail building does not assume tty 2017-05-21 13:39:32 +05:30
Kovid Goyal
50ae40a73f
DRYer 2017-05-21 13:39:32 +05:30
Kovid Goyal
0ac375742e
Ensure index-generated.html is built correctly before publishing betas 2017-05-21 13:39:31 +05:30
Kovid Goyal
547b0ce83c
Port CI script changes from master 2017-05-21 13:39:30 +05:30
Kovid Goyal
8246e539bc
Retry sw download on appveyor 2017-05-21 13:39:30 +05:30
Kovid Goyal
fbefbc57cc
Remove workaround for QTBUG-42281 2017-05-21 13:39:30 +05:30
Kovid Goyal
c7d4af9ab7
Update publish_betas command 2017-05-21 13:39:29 +05:30
Kovid Goyal
a7e7b0d381
pep8 2017-05-21 13:39:29 +05:30
Kovid Goyal
e8371dc78a
... 2017-05-21 13:39:26 +05:30
Kovid Goyal
0fdf23de8b
Simplify windows exclusive file implementation by using msvcrt.locking as a fcntl substitute 2017-05-21 13:39:26 +05:30
Kovid Goyal
02aa7f1be0
Remove library.cli completely 2017-05-21 13:39:23 +05:30
Kovid Goyal
933c7d221d
pep8 and condition on PLATFORM 2017-05-21 13:39:10 +05:30
Kovid Goyal
00ef575a03
No longer need to restrict running kernel as we use chroot 2017-05-21 13:39:10 +05:30
Kovid Goyal
9445fae589
build-calibre dir layout changed slightly 2017-05-21 13:39:10 +05:30
Kovid Goyal
063c43e871
Call shutdown after linux build as well 2017-05-21 13:39:10 +05:30
Kovid Goyal
e21f0a3acc
Dont error if file exists when building installer 2017-05-21 13:39:10 +05:30
Kovid Goyal
e49df95bac
Add a kernel version check to the publish command
The new build process uses docker which requires installed and running
kernel versions to match
2017-05-21 13:39:09 +05:30
Kovid Goyal
74153a0d22
Sign installers explicitly 2017-05-21 13:39:09 +05:30
Kovid Goyal
dda2541a30
Remove unused code 2017-05-21 13:39:09 +05:30
Kovid Goyal
4488703e1e
Start work on setting up CO testing on windows with AppVeyor 2017-05-21 13:39:09 +05:30
Kovid Goyal
37cd0c56e5
Use the new auto-build infrastructure for creating calibre installers 2017-05-21 13:39:09 +05:30
Kovid Goyal
7bce30a9db
Change windows build environment detection to work with the new automatic build system 2017-05-21 13:39:08 +05:30
Kovid Goyal
4c3d3ecae8
Run the tests before publishing 2017-05-21 13:39:08 +05:30
Kovid Goyal
523bf9f4eb
... 2017-05-21 13:39:08 +05:30
Kovid Goyal
c203b2fcd4
Remove extraneous fluff from the dist directory 2017-05-21 13:39:08 +05:30
Kovid Goyal
ed1caccac7
Fix bundled Universal CRT not working on computers where the Universal CRT was not already installed 2017-05-21 13:39:08 +05:30
Kovid Goyal
107c454cb2
Simplify code to set dll directory 2017-05-21 13:39:08 +05:30
Kovid Goyal
ac019c2460
Dont create installers in build notes 2017-05-21 13:39:08 +05:30
Kovid Goyal
c929839f14
... 2017-05-21 13:39:08 +05:30
Kovid Goyal
6c353bd330
... 2017-05-21 13:39:08 +05:30
Kovid Goyal
d337aee373
Disable app-local deployment of the universal CRT
It does not work for some hard to fathom reason.
2017-05-21 13:39:07 +05:30
Kovid Goyal
963b0eeea6
Nicer error message when loading the Universal CRT fails 2017-05-21 13:39:07 +05:30
Kovid Goyal
897a1a137e
Do not have the launcher executables depend on the CRT 2017-05-21 13:39:07 +05:30
Kovid Goyal
f8560f79fc
Add proper manifests to all calibre executables
Marked as compatible with all versions of windows upto 10
2017-05-21 13:39:07 +05:30
Kovid Goyal
ef7c1a3c69
Fix detection of mt.exe 2017-05-21 13:39:07 +05:30
Kovid Goyal
2f7f2ace66
Change the VM names 2017-05-21 13:39:07 +05:30
Kovid Goyal
9b5a3ba5a5
Build 32bit calibre 2017-05-21 13:39:07 +05:30
Kovid Goyal
1dd2c65384
Build libimobiledevice 2017-05-21 13:39:07 +05:30
Kovid Goyal
9bd640e7ae
Replace the old windows build notes 2017-05-21 13:39:07 +05:30
Kovid Goyal
645f1d138f
Option to not build installers 2017-05-21 13:39:06 +05:30
Kovid Goyal
3565840a07
Update path to WiX 2017-05-21 13:39:06 +05:30
Kovid Goyal
e3d0d6e23a
Add CRT to the frozen build 2017-05-21 13:39:06 +05:30
Kovid Goyal
ab3e048a95
Use only win32 functions in the launcher, no CRT functions
Reduces the size of the executables a little
2017-05-21 13:39:06 +05:30
Kovid Goyal
9a49104dac
Refactor application layout on windows
Now only the calibre executables are present in the top level directory
(which is added to PATH). No third party executables and no dlls.

This became necessary because the VS 2015 CRT is not manifest based, so
it would have to be placed in the top level dir in the old layout. Now
it can be put into the DLLs dir.
2017-05-21 13:39:06 +05:30
Kovid Goyal
77a0558cf2
Initial stab at replacing use of MemoryModule 2017-05-21 13:39:06 +05:30
Kovid Goyal
6206f7687d
Update timestamp server URLs 2017-05-12 09:56:25 +05:30
Kovid Goyal
9cf545b61a
... 2017-05-10 00:38:03 +05:30
Kovid Goyal
fa5f23bf86
oops 2017-05-10 00:29:18 +05:30
Kovid Goyal
d45ed9a1f5
Cleanup the ci script 2017-05-10 00:13:19 +05:30
Kovid Goyal
1af6e5fc9b
oops 2017-05-09 23:50:02 +05:30
Kovid Goyal
6c42d36b18
Move all env vars into ci script 2017-05-09 23:49:04 +05:30
Kovid Goyal
09ddb332d9
... 2017-05-09 23:35:23 +05:30
Kovid Goyal
66cec4cabf
Refactor travis script into a standalong python script 2017-05-09 23:26:39 +05:30
Kovid Goyal
9c5815d9c0
Retry downloads on travis
Should hopefully work around the flakiness on the travis OS X machines
where curl aborts in the middle of downloads when under load
2017-05-09 22:53:09 +05:30
Kovid Goyal
4bab1eeaa1
Fix #1687540 [calibre does not build reproducibly](https://bugs.launchpad.net/calibre/+bug/1687540) 2017-05-02 11:10:35 +05:30
Kovid Goyal
caac92bbd8 A larger pool of random UAs 2017-02-28 21:20:21 +05:30
Kovid Goyal
3e2276db36 Do not check umask for isolated installs 2017-02-27 01:32:34 +05:30
Kovid Goyal
abbf258cfa Linux installer: Check that the umask is suitable before running the installer.
This prevents system breakage because of bugs in xdg-mime when the user
has set their umask to prevent reading of files by other users on the
system. See https://www.mobileread.com/forums/showthread.php?t=277803
2017-02-27 01:30:29 +05:30
Kovid Goyal
b4abd1f1b3 pep8 2017-02-27 01:23:28 +05:30
Kovid Goyal
f9329fe5b6 ... 2017-02-18 10:09:29 +05:30
Kovid Goyal
d425d50a90 pep8 and change ticket closing message slighlty 2017-02-16 11:35:37 +05:30
Kovid Goyal
cc48842398 Fix a regression in the previous release that broke the file dialogs on windows vista 2017-02-11 08:13:37 +05:30
Kovid Goyal
4da1d75a42 ... 2017-02-10 10:36:12 +05:30
Kovid Goyal
1f2293fc11 Use vim rather than gvim 2017-02-09 23:41:06 +05:30
Kovid Goyal
66e3d8740e pep8 2017-02-06 22:12:59 +05:30
Yuri Chornoivan
b4e9164c56 Fix minor typos 2017-02-04 22:40:08 +02:00
Kovid Goyal
cf248c225a Allow setting APP_UID in file dialog helper process 2017-02-01 18:12:22 +05:30
Kovid Goyal
511bb93d4a Initial work on supporting haiku 2017-02-01 13:22:09 +05:30
Zoltán Mizsei
f7b9885660 Revert "More brackets (Maybe they are unneeded)"
This reverts commit 7f83c236aa.
2017-02-01 07:30:32 +01:00
Zoltán Mizsei
7f83c236aa More brackets (Maybe they are unneeded) 2017-02-01 07:21:30 +01:00
Zoltán Mizsei
ca33868c67 Missing brackets 2017-02-01 07:19:16 +01:00
Zoltán Mizsei
11e2e05c06 Source based dev env supported on Haiku 2017-01-26 13:10:23 +01:00
Zoltán Mizsei
67b1a7bb72 Unrar needs every defines. Maybe there is a cleaner way... 2017-01-26 12:57:27 +01:00
Zoltán Mizsei
62dd2ae370 Haiku is x86 at this moment 2017-01-26 12:05:07 +01:00
Zoltán Mizsei
7c90ef80d0 Haiku is unix from now, hail to Haiku! 2017-01-26 11:59:50 +01:00
Zoltán Mizsei
dd649edea9 Disable headless on Haiku for now 2017-01-26 11:52:45 +01:00
Zoltán Mizsei
0a34a1d9f4 Extensions: Haiku support 2017-01-26 08:45:29 +01:00
Zoltán Mizsei
2e2236684d Setup build env 2017-01-26 08:41:58 +01:00
Zoltán Mizsei
2e5cb8f727 Linker flags for the build script 2017-01-26 08:31:32 +01:00
Zoltán Mizsei
7dc4fc5d74 Add Haiku to the known OS list 2017-01-26 08:24:49 +01:00
Kovid Goyal
24300a6a7d More Qt 5.8 fixes 2017-01-26 09:55:53 +05:30
Kovid Goyal
2693a2c614 Move load(qt_plugin) into the < 5.8 block 2017-01-25 20:38:26 +05:30
Kovid Goyal
86f5bb8c6d Merge branch 'qt5.8' of https://github.com/jelly/calibre 2017-01-24 07:12:46 +05:30
Jelle van der Waa
c1e3603feb Fix build with Qt >= 5.8.0
platformsupport-private was modularized in Qt 5.8.
Use the appropriate theme_support-private module
2017-01-23 22:25:21 +01:00
Eric Hamiter
894e00a796 Fix typo for upto => up to globally 2017-01-14 18:19:27 -06:00
Kovid Goyal
60f4031e1b Do not run the dictionaries test multiple times 2017-01-14 11:03:46 +05:30
Kovid Goyal
2d185e8f9f Add the dictionary tests to the global test suite 2017-01-14 10:25:12 +05:30
Kovid Goyal
8e6fbc1448 Load plugin index over https from mobileread now that mobileread supports https 2017-01-08 20:37:19 +05:30
Kovid Goyal
e4521c7270 ... 2017-01-08 17:07:24 +05:30
Kovid Goyal
1782fbae51 Pushto -> Pashto 2016-12-22 14:13:02 +05:30
Kovid Goyal
91d3802377 Use curl to download mathjax as well so that it works in Travis on OS X 2016-12-09 10:41:39 +05:30
Kovid Goyal
1ff4f01b39 Use find_tests() for library.test_cli as well 2016-12-05 19:00:00 +05:30
James Broadhead
a6093e8cac rm c.library.test
Per comment on https://github.com/kovidgoyal/calibre/pull/592, this test
module is unnecessary.
2016-12-05 11:28:01 +00:00
James Broadhead
8522ac55af Run calibre.library tests
- follow convention, add a find_tests, tests method to
  calibre.library.test. Add calibre.library to the list in setup/test.py

- sort some imports

- add .cache to .gitignore
2016-12-05 08:42:53 +00:00
Kovid Goyal
f8c1dd46bb Fix detection of plugin data for the amazon multiple countries plugin 2016-11-06 17:14:44 +05:30
Kovid Goyal
ca43551cd9 Windows: Fix file extension not being added automatically when missing in save dialogs. Fixes #1637353 ['SAVE AS' COVER IMAGE -Does Not Save File](https://bugs.launchpad.net/calibre/+bug/1637353) 2016-11-05 13:11:14 +05:30
Kovid Goyal
e333001d31 Apply the PEP8 blank line standards to the entire codebase 2016-10-11 11:39:08 +05:30
Kovid Goyal
0009565f8a Linux: Fix calibre not working when used with some old VNC server implementations 2016-09-27 18:20:22 +05:30
Kovid Goyal
70f7e0438b Portable Installer: Auto-create the directory specified ont he command line if it does not exist 2016-09-01 16:15:13 +05:30
Kovid Goyal
eb91bf77e2 Include the Mac Extras Qt module 2016-09-01 10:04:23 +05:30
Kovid Goyal
3ca5a472e6 Use common icon for notifier and main app bundles 2016-09-01 09:54:31 +05:30
Kovid Goyal
26bc7e0acf A favicon for the download server 2016-08-31 11:32:41 +05:30
Kovid Goyal
94e908b3c0 ... 2016-08-26 06:35:17 +05:30
Kovid Goyal
c36c60b708 Fix #1615322 [Failure when cleaning build](https://bugs.launchpad.net/calibre/+bug/1615322) 2016-08-21 10:06:28 +05:30
Kovid Goyal
b1bd22b20e Fix dupes being generated when uploading to fosshub 2016-08-17 13:23:15 +05:30
Kovid Goyal
00d2e7a03b ... 2016-08-17 10:14:57 +05:30
Kovid Goyal
8c1ef52e28 ... 2016-08-17 10:13:59 +05:30
Kovid Goyal
78c650cb0e ... 2016-08-17 10:11:29 +05:30
Kovid Goyal
d5d0b79af3 ... 2016-08-17 10:11:10 +05:30
Kovid Goyal
9d0607a896 ... 2016-08-17 10:05:16 +05:30
Kovid Goyal
1ead1415e3 New fosshub upload API 2016-08-17 10:00:55 +05:30
Kovid Goyal
101d22f0b4 Do not upload to fosshub since it is currently down 2016-08-12 09:37:04 +05:30
Kovid Goyal
567040ee1e Perform PEP8 compliance checks on the entire codebase
Some bits of PEP 8 are turned off via setup.cfg
2016-07-29 21:25:17 +05:30
Guido Falsi
adb5e6f0c4 Make new extensions data code differentiate BSD from Linux. 2016-07-22 21:50:58 +02:00
Kovid Goyal
116f6a75f0 Windows: Fix file selection dialogs blurry on HiDPI monitors 2016-07-21 20:12:28 +05:30
Kovid Goyal
e9317c7490 ... 2016-07-20 16:47:06 +05:30
Kovid Goyal
d5896390c2 Another oops 2016-07-20 16:30:52 +05:30
Kovid Goyal
8e9bf3ddc9 Another oops 2016-07-20 16:21:55 +05:30
Kovid Goyal
37649fc9ed oops 2016-07-20 16:13:33 +05:30
Kovid Goyal
3466aaff4c Define the extensions as pure data 2016-07-20 15:59:02 +05:30
Kovid Goyal
f910c1201a ... 2016-07-20 12:23:26 +05:30
Kovid Goyal
948e2cf2da Move deifintion of icu_libs to where it belongs 2016-07-20 12:20:36 +05:30
Kovid Goyal
15e3f8a1af Rename extensions.py to build.py to match the command name 2016-07-20 12:15:19 +05:30
Kovid Goyal
efc4f7bb8d ... 2016-07-20 12:01:58 +05:30
Kovid Goyal
6ca56ccdcf Do not use pywin32 to get cpu_count while building 2016-07-20 11:57:58 +05:30
Kovid Goyal
38ae23cbab ... 2016-07-20 00:09:41 +05:30
Kovid Goyal
1c389964cc Get list of common user-agents during bootstrap 2016-07-20 00:06:49 +05:30
Kovid Goyal
f0f73830b7 Detect a generic CI server rather than just Travis 2016-07-18 15:59:06 +05:30
Kovid Goyal
4c2fa5e621 Silence incorrect compiler warning 2016-07-14 12:42:25 +05:30
Kovid Goyal
c7f626083d ... 2016-07-14 12:32:55 +05:30
Kovid Goyal
e9c67487b2 ... 2016-07-08 11:57:01 +05:30
Kovid Goyal
253fd95479 Add shared file tests to main test runner 2016-07-04 09:48:33 +05:30
Kovid Goyal
08d56e2eee Add the tag mapper tests to the main test runner 2016-07-04 09:37:15 +05:30
Kovid Goyal
c44229ee3d ... 2016-07-01 15:23:14 +05:30
Kovid Goyal
7808cd4794 Enable out-of-tree building of extension modules 2016-07-01 15:18:53 +05:30
Kovid Goyal
91e69ce7e3 A spot of refactoring 2016-06-26 14:56:02 +05:30
Kovid Goyal
37da6dc36a Simplify the Extension class, making it serializable 2016-06-26 14:31:17 +05:30
Kovid Goyal
acd618f404 Speed up compression of MathJax on travis 2016-06-26 13:27:41 +05:30
Kovid Goyal
f2075355b9 Use curl instead of python to download cacerts
Python's https support is broken on OS X while bootstrapping
2016-06-26 13:27:41 +05:30
Kovid Goyal
8b133bac43 Enable travis for OS X as well 2016-06-26 13:27:41 +05:30
Kovid Goyal
51a6d79039 Allow running the translations builder on OSes other than linux where msgfmt is not available 2016-06-26 11:51:39 +05:30
Kovid Goyal
7e68c19381 ... 2016-06-25 22:55:41 +05:30
Kovid Goyal
d60a3bff8f ... 2016-06-25 15:26:55 +05:30
Kovid Goyal
49b5bed673 Dont compress CS translations on travis 2016-06-25 14:23:21 +05:30
Kovid Goyal
a545fc497d Refactor the translations builder to use a cache 2016-06-25 14:18:10 +05:30
Kovid Goyal
bda0e2d812 Script to generate the software compilation used on travis 2016-06-25 12:56:11 +05:30
Kovid Goyal
ffe7a1885b Add clean to check 2016-06-25 12:53:29 +05:30
Kovid Goyal
8c6ba0e2fa ... 2016-06-25 12:49:02 +05:30
Kovid Goyal
05d9209053 Also check RapydScript files when running python setup.py check
Use sha1 hashes for the check cache instead of mtimes. More reliable
and should work with the travis cache as well, if you decide to run
check on travis
2016-06-25 11:26:23 +05:30
Kovid Goyal
95bb9e3c8b Cleanup up run() 2016-06-25 10:10:37 +05:30
Kovid Goyal
7937c083e4 Output running times for commands during setup 2016-06-25 09:51:22 +05:30
Kovid Goyal
3882bc2578 ... 2016-06-25 09:41:44 +05:30
Kovid Goyal
996b6b80df Unused code 2016-06-24 23:14:43 +05:30
Kovid Goyal
d11e8ce62c Aaaah, now I get it :) 2016-06-24 23:13:10 +05:30
Kovid Goyal
9c1498d4ca As best as I can tell from reading Qt sourcecode, as long as QT_PLUGIN_PATH is set, it should just work. So only call ensure_app() on travis and nowhere else 2016-06-24 23:09:06 +05:30
Kovid Goyal
c4cc4b386d Unfortunately QCoreApplication cannot be promoted to QApplication. So for the moment we back out the change to have img.py work without QApplication. Instead, run ensure_app() in the test loader. Will need to investigate a proper fix at my leisure 2016-06-24 22:40:37 +05:30
Kovid Goyal
4e0d95818c Allow setup to be run from outside the tree 2016-06-24 21:10:57 +05:30
Kovid Goyal
fcf95655da ... 2016-06-24 19:43:16 +05:30
Kovid Goyal
8fc27049a7 ... 2016-06-24 19:42:52 +05:30
Kovid Goyal
9f28fe27b4 ... 2016-06-24 19:40:58 +05:30
Kovid Goyal
48c489155e Build monotonic agains -lrt on linux so that it works even on systems that have outdated versions of glibc 2016-06-24 14:56:14 +05:30
Kovid Goyal
3310d3519a Run the build tests also from python setup.py test 2016-06-24 08:45:57 +05:30
Kovid Goyal
d13fd2a27b ... 2016-06-23 12:47:00 +05:30
Kovid Goyal
c1924546c4 Show traceback when invoking tx fails 2016-06-23 09:56:53 +05:30
Kovid Goyal
af21b0e278 ... 2016-06-22 11:34:19 +05:30
Kovid Goyal
deb68118e1 Add a --ephemeral option to bootstrap to speed up fetching of translations 2016-06-22 11:24:42 +05:30
Kovid Goyal
0f653b4d99 Allow using environment variables to override SIP directories 2016-06-22 11:13:15 +05:30
Kovid Goyal
4c5a77361a Exclude pyj-cached files whensyncing to buildbots 2016-06-22 10:36:45 +05:30
Kovid Goyal
55ca6cb33c DRYer 2016-06-22 08:02:03 +05:30
Kovid Goyal
ee3fdcba3d Allow launching of calibre worker process in-tree 2016-06-22 07:17:52 +05:30
Kovid Goyal
32caccc325 Fix test iteration 2016-06-22 07:11:13 +05:30
Kovid Goyal
ceeb2b21f9 Proper location for ensure_app when running srv tests 2016-06-21 23:40:04 +05:30
Kovid Goyal
18792fb11a Allow choosing individual tests to run 2016-06-21 23:34:20 +05:30
Kovid Goyal
f89a794396 DRYer 2016-06-21 23:16:07 +05:30
Kovid Goyal
759231ca53 Merge selectors tests into css module 2016-06-21 23:13:06 +05:30
Kovid Goyal
538f0a7186 A single entry point to run all tests 2016-06-21 23:12:06 +05:30
Kovid Goyal
95f29656fa Edit Book: Fix undocked windows not resizable on OS X
Caused by a regression in Qt.
https://bugreports.qt.io/browse/QTBUG-46882

Also, add the build scripts for calibre dependencies on OSX and linux to
the source tree.
2016-06-20 11:03:03 +05:30
Kovid Goyal
ce9d5f4104 Convert more URLs to use https 2016-06-17 10:26:44 +05:30
Kovid Goyal
d8e131ad08 Use authentication for the named pipe in the windows file dialogs 2016-06-01 11:01:17 +05:30
Kovid Goyal
4294db3e46 Windows: Workaround for explorer shell extensions on windows that write to stdout
Use a pipe for reading output from the worker process instead of stdout.
Apparently there exist shell extensions that write to stdout. Le
bubbling sigh.
2016-05-26 18:25:27 +05:30
Kovid Goyal
55c74f69d7 OSX: Allow drag and drop of file onto viewer dock icon to view file 2016-05-22 18:45:22 +05:30
Kovid Goyal
6838ffc42c Add build test for the file dialog helper 2016-05-11 07:42:16 +05:30
Kovid Goyal
7128d6eadd Build the file dialog helper 2016-05-11 07:15:33 +05:30
Kovid Goyal
dcc590b797 More work on the file dialogs helper 2016-05-10 23:32:58 +05:30
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