Commit graph

1932 commits

Author SHA1 Message Date
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
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