Commit Graph

1956 Commits

Author SHA1 Message Date
Kovid Goyal 32e9dc32b2 Workaround for pycryptodome using RTLD_DEEPBIND
This breaks ASAN, see https://github.com/google/sanitizers/issues/611
So, patch it out when installing. Upstream pycryptodome issue:
https://github.com/Legrandin/pycryptodome/issues/376
2021-09-26 10:23:28 +05:30
Kovid Goyal 932c37d9e1 Specify encoding when reading changelog 2021-09-24 07:25:12 +05:30
Kovid Goyal ddd56f5c47 Cleanup plugins_mirror.py 2021-07-19 12:00:04 +05:30
Kovid Goyal 2003641a98 Have plugins mirror run under python 3 and use python2 only for plugins that dont parse under python3 2021-07-19 11:29:40 +05:30
Kovid Goyal b1c714fc34 Output GHA fold markers when building 2021-07-02 09:29:44 +05:30
Kovid Goyal 4dc0502a29 Fix failing tests 2021-06-27 20:13:57 +05:30
Kovid Goyal 3247692512 Cache downloads by etag during repeated building 2021-06-26 07:20:10 +05:30
Kovid Goyal b8ec9c5809 another resource warning 2021-06-24 22:16:35 +05:30
Kovid Goyal efdf661457 Remove DBUS based global menu and system tray code
This was mainly present to support GNOME and GNOME has decided to ditch
system trays and global menus. Since the python-dbus package this code
uses is not maintained, ditch it entirely.
2021-06-24 10:55:12 +05:30
Kovid Goyal 009e82c9df Turn on deprecation warnings in CI 2021-06-24 10:20:19 +05:30
Kovid Goyal 618bf197e2 Fix more deprecation warnings in the test suite 2021-06-24 09:09:04 +05:30
Kovid Goyal dd8aa42c17 Fix some resourcewarnings in the test suite 2021-06-24 08:57:22 +05:30
Kovid Goyal ea522df226 Use std::make_unique for cleaner code 2021-06-23 13:53:18 +05:30
Kovid Goyal 9904f33941 Add libstemmer to Arch CI deps 2021-06-20 14:55:22 +05:30
Kovid Goyal f5d56958b8 Start work on stemming for the ICU tokenizer 2021-06-20 14:43:24 +05:30
Kovid Goyal 53168e075e Alias for test name option 2021-06-19 14:59:48 +05:30
Kovid Goyal 53b8bed17a Function to get available locales for break iteration 2021-06-17 07:25:15 +05:30
Kovid Goyal 6773b36a42 Forgot to add header to extension definition 2021-06-16 21:57:44 +05:30
Kovid Goyal a37c14499c Fix building of sqlite_extension on ancient Linux 2021-06-16 17:14:31 +05:30
Kovid Goyal d8595e5bf5 Fix ICU build on Windows 2021-06-16 17:02:07 +05:30
Kovid Goyal ab313c836f Implement the unicode61 tokenizer with ICU
Still have to implement removal of diacritics
2021-06-16 12:51:43 +05:30
Kovid Goyal 6d845cfa37 Generate db of compile commands for use by tools when building 2021-06-14 09:02:55 +05:30
Kovid Goyal 0b38d385e2 Dont use designated initializers 2021-06-14 08:47:08 +05:30
Kovid Goyal a7da47b922 Possible fix for building sqlite_extension.cpp on windows 2021-06-14 08:34:50 +05:30
Kovid Goyal e4b13d4ccb Start work on ICU tokenizer for FTS 2021-06-14 08:23:10 +05:30
Kovid Goyal 73a312dd64 Workaround for sip version mismatch on Arch 2021-05-13 08:40:37 +05:30
Kovid Goyal d368c4f96e Dont chdir as part of sip-build command
Instead chdir overall, makes the command simpler.
2021-05-13 07:48:08 +05:30
Eli Schwartz 23af586334 Revert "Fix building on Arch"
This reverts commit b8d8cf27e2.

libraqm (an obscure PIL functionality) was recently switched to be
directly linked by Pillow, rather than dlopened, which meant it was a
bit of a hidden dependency since calibre uses the imagingft module. But
it is now directly depended on by the Arch packaging, so it no longer
needs to be installed to get a functional Pillow.
2021-04-26 23:36:30 -04:00
Kovid Goyal edcfcd9792 Bump bundled MathJax version 2021-04-25 13:37:03 +05:30
Kovid Goyal 4a54f217df Replace Syntastic 2021-04-24 21:30:03 +05:30
Kovid Goyal b8d8cf27e2 Fix building on Arch
Apparently libraqm is not actually an optional dependency of
python-pillow
2021-04-24 07:50:35 +05:30
Kovid Goyal 76d6ce3fd2 Start adding RAII to content_enumeration.cpp 2021-04-21 14:00:07 +05:30
Kovid Goyal 902f25985b DRYer 2021-04-21 10:44:29 +05:30
Kovid Goyal e1f1572377 Default to running test build during extdev 2021-04-21 07:55:42 +05:30
Kovid Goyal 1516d709fb Clean up wpd utils 2021-04-20 14:10:40 +05:30
Kovid Goyal 3dd9598139 Remove ASAN patch for bug in arch Qt. Thanks @eli-schwartz 2021-04-14 10:47:53 +05:30
Eli Schwartz b7cf508da4 setup: fix installing without develop mode + system plugins option
options for Develop() are not automatically added to Install(), so the
new option in commit 8fb6d5f37e8055ce720bd0b1d56587f88c0071f285966ba17e72b2b12672aa73
only worked for the former. And since consolidate_paths unconditionally
checked opts.system_plugins_location, trying to run an ordinary install
ended in:

  File "/build/calibre-git/src/calibre/setup/install.py", line 117, in consolidate_paths
    self.system_plugins_loc = opts.system_plugins_location
AttributeError: 'Values' object has no attribute 'system_plugins_location'
2021-04-11 13:27:32 -04:00
Kovid Goyal ea74ad02e6 Add an option to ./setup.py install to set the system plugins location 2021-04-09 20:05:52 +05:30
Kovid Goyal 51983180dd Fix ASAN failure on Arch because they switched to some random patchset on top of base Qt 2021-04-08 13:16:55 +05:30
Kovid Goyal 5ce36cc3e6 Option to run tests under sanitizer 2021-03-22 09:35:17 +05:30
Kovid Goyal c8b5289a34 Handle empty parser state stack 2021-03-20 21:14:14 +05:30
Kovid Goyal 370ece64b0 Add sanitize build option 2021-03-20 20:15:34 +05:30
Kovid Goyal 9765f4a81f Add a build flag to build in debug mode 2021-03-20 16:53:15 +05:30
Kovid Goyal b08794a6c2 Make the full vcvars env available for the benefit of qmake 2021-03-18 22:03:29 +05:30
Kovid Goyal 0f2aff9a4a Cleanup path handling when building on windows 2021-03-18 21:41:15 +05:30
Kovid Goyal 75586d8eb0 Always build on Windows with Visual Studio 2019 2021-03-18 21:22:31 +05:30
Kovid Goyal eb1ad62632 More work on fast CSS transforms 2021-03-18 19:57:53 +05:30
Kovid Goyal b1c34ab520 Add support for building with c++14 2021-03-18 07:40:07 +05:30
Kovid Goyal 60229b0a9c Add a flush 2021-03-16 11:04:14 +05:30
Kovid Goyal f034a62ec2 Fix user manual rendering for non-existent languages 2021-03-14 20:05:55 +05:30