Commit graph

1991 commits

Author SHA1 Message Date
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
Kovid Goyal
508200f8e9
Start work on fast CSS transformer 2021-03-06 11:43:02 +05:30
Kovid Goyal
1967b3e95d
Fix unneccessary re-downloads when re-vendoring 2021-03-04 21:47:42 +05:30
Kovid Goyal
d148e2da5f
Workaround for Arch not running on older docker 2021-03-04 21:41:10 +05:30
Kovid Goyal
9b99248382
Dont add .github to the source tarball 2021-03-04 20:55:47 +05:30
Kovid Goyal
3233429146
Merge branch 'vendor' of https://github.com/eli-schwartz/calibre 2021-02-26 08:13:56 +05:30
Eli Schwartz
56c735e060
Bump bundled liberation fonts from 2.1.1 to 2.1.3 2021-02-25 16:35:40 -05:00
Kovid Goyal
1e6702fbc1
Speedup detection of character encoding when declaration is absent by using a native code implementation (ccharset) 2021-02-25 15:02:48 +05:30
Kovid Goyal
65eda67d7c
Python 3.7 compat 2021-02-23 09:59:16 +05:30
Kovid Goyal
40afe08d17
Arch now has py7zr 2021-01-26 09:53:27 +05:30
Kovid Goyal
bff0582ec5
Fix no space after end of line for multiline titles in changelog 2021-01-22 15:20:43 +05:30
Kovid Goyal
f92439fe6b
Move tests into separate module
Avoids parsing the test code on every import of a very central module
2021-01-21 05:54:51 +05:30
Kovid Goyal
6dc39a511a
Add a new tweak under "Author sort name algorithm" to optionally recognize common surname prefixes such as von, van, de etc.
Merge branch 'author-sort' of https://github.com/madphysicist/calibre
2021-01-21 05:49:58 +05:30
Kovid Goyal
0d2fb54475
fix download URL 2021-01-20 08:57:24 +05:30
Kovid Goyal
7a3fe39cfa
Qt download server is on the fritz 2021-01-20 08:39:08 +05:30
Kovid Goyal
09ccbafe13
Arch doesnt have py7zr 2021-01-19 18:23:25 +05:30
Kovid Goyal
db7d56a153
Add dependency on py7zr to arch CI 2021-01-19 18:15:39 +05:30
Joseph R. Fox-Rabinovitz
efe490b1b7 Added unit tests for author sort function 2021-01-15 12:47:44 -05:00
Kovid Goyal
9b5605c9b9
Retry more on CI when vendor download fails 2021-01-12 07:36:31 +05:30
Kovid Goyal
77658f4c95
Build with sip 6 on Arch CI 2021-01-06 08:38:22 +05:30
Kovid Goyal
2f830e666f
Merge branch 'lint_linux_installer' of https://github.com/thuvh/calibre 2021-01-05 10:01:39 +05:30
Hoai-Thu Vuong
73792ac787 fix missing space after semi colon on linux-installer.py 2021-01-05 11:29:15 +07:00
Kovid Goyal
abfc9ffe23
Get chrome and firefox version on CI as well 2020-12-27 11:01:28 +05:30
Kovid Goyal
e742a9e293
Get recent UAs on CI as well 2020-12-27 10:59:47 +05:30
Kovid Goyal
18a3d945c6
Get common user agents from the calibre website logs 2020-12-27 10:21:14 +05:30
Kovid Goyal
11ad7120ab
Update recent user agents at each publish 2020-12-26 11:11:25 +05:30
Kovid Goyal
d8e7a58646
Start work on unified framework for live code loading 2020-12-18 18:20:37 +05:30
Kovid Goyal
5203651af1
Dont use a binary for building translations 2020-12-15 19:14:29 +05:30
Kovid Goyal
a1558ff4b9
Dont re-download the liberation fonts if they are already present 2020-12-15 11:53:20 +05:30
Kovid Goyal
5f67dd54b5
Fix fetching of liberation fonts
Also add them to .gitignore
2020-12-15 11:46:55 +05:30
Kovid Goyal
ebffa0a506
Dont store the Liberation Fonts in source control
They were kept there originally because newer versions of them were
reported to cause BSODs in Windows Vista/7. Since we no longer support
those, and newer windows has moved font parsing out fo kernel, this
should no longer be an issue.
2020-12-15 11:42:19 +05:30
Kovid Goyal
e430bf3312
PDF Output: Yet another attempt at working around chromium's broken TTF embedding. Fixes #1907849 [conversion to pdf results in bizarre kerning](https://bugs.launchpad.net/calibre/+bug/1907849)
This has the advantage of making the merging code a lot simpler as well.
2020-12-12 13:41:48 +05:30
Kovid Goyal
56e69950c1
Get rid of cocoa_wrapper.c 2020-12-07 13:35:47 +05:30
Kovid Goyal
04ad7bc901
Remove workarounds that are not needed with the current versions of sip-build 2020-12-03 22:03:05 +05:30
Kovid Goyal
59e471503e
Remove history indication from plugins index 2020-11-25 21:18:03 +05:30
Kovid Goyal
3dbbe1397e
Remove code to check for Qt5 incompatibility in plugins
The Qt 5 transition is done and dusted now. The ones that arent going to
be ported will anyway need to be ported to Python 3 as well, which is
also never going to happen.
2020-11-25 13:06:00 +05:30
Kovid Goyal
72308168ef
Support for the new in python 3.8 Constant ast node 2020-11-25 12:55:38 +05:30
Kovid Goyal
82ba1b89d0
Get extdev working on macOS
Iteration speed is too low otherwise
2020-11-19 22:41:46 +05:30
Kovid Goyal
6adf45f81f
Start work on wrapping macOS TTS API 2020-11-18 21:15:12 +05:30
Kovid Goyal
2c75e769be
Better error message for macOS ext_dev 2020-11-18 14:28:38 +05:30
Kovid Goyal
de179fc1b9
Switch to speech-dispatcher from espeak 2020-11-15 21:55:05 +05:30
Kovid Goyal
99a3d9c756
Fix missing space between lines in description 2020-11-13 08:42:57 +05:30
Kovid Goyal
c26a981001
py3 compat in POT generation 2020-11-12 11:15:16 +05:30
Kovid Goyal
c027aaff75
Start wrapping espeak 2020-10-31 11:56:54 +05:30
Kovid Goyal
2cf8312e6a
Migrate reference to Changelog.yaml 2020-10-29 12:15:32 +05:30
Kovid Goyal
cfa8f75836
... 2020-10-29 10:59:34 +05:30
Kovid Goyal
06e9f8f8b8
Make the calibre changelog available as a resource 2020-10-29 10:57:21 +05:30
Kovid Goyal
49af5de171
Dont use YAML for the changelog
No point having an extra dependency just to parse the changelog, which
doesnt have a ot of structured information, anyway.
2020-10-29 10:36:40 +05:30
Kovid Goyal
758f3e1452
Dont use win32 API function to make long paths useable as it fails on older windows 2020-10-23 20:46:44 +05:30
Kovid Goyal
acbd5122be
Wrap function to canonicalize long paths 2020-10-23 19:57:44 +05:30
Kovid Goyal
d6887a1bfd
Exclude winsapi from import all tests on non-windows 2020-10-22 13:47:48 +05:30
Kovid Goyal
da5964ec07
Run the SAPI tests in CI 2020-10-22 13:37:37 +05:30
Kovid Goyal
4bb557ec41
Start wrapping of windows SAPI interface
Can now get list of all voices installed in the system
2020-10-21 21:58:06 +05:30
Kovid Goyal
ebb6f89b5b
Make winutil classes re-useable 2020-10-21 11:21:03 +05:30
Kovid Goyal
0444558e21
Remove unnecessary pp suffix from filename 2020-10-09 12:28:21 +05:30
Kovid Goyal
6de28ec09e
Merge the winutil code into a single file 2020-10-09 12:27:02 +05:30
Kovid Goyal
f42b0b9f59
Add --compression-level to installer build commands 2020-10-03 09:05:36 +05:30
Kovid Goyal
36700e8eb2
Use canonical download URL when getting binary to build translations 2020-09-25 14:28:32 +05:30
Kovid Goyal
011bba1a58
More py3 compat 2020-09-25 09:25:28 +05:30
Kovid Goyal
bb3a1f700d
py3 compat for upload to github 2020-09-25 09:22:03 +05:30
Kovid Goyal
135bfcbefe
py3 compat for fosshub upload 2020-09-25 09:19:20 +05:30
Kovid Goyal
162c32a362
Fix translatable strings not being extracted from .ui files 2020-09-20 09:20:07 +05:30
Kovid Goyal
27811374ba
py3 compat 2020-09-20 08:32:21 +05:30
Kovid Goyal
f2384437ca
py3 compat 2020-09-19 10:28:43 +05:30
Kovid Goyal
7a4b3f61ff
Move to SIP v5 2020-09-16 21:52:25 +05:30
Kovid Goyal
a4df5cc67b
Dont use -b flag when calling sip
Was inexplicably removed from SIP5
2020-09-14 12:26:08 +05:30