Commit graph

1504 commits

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