Commit graph

1744 commits

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