Kovid Goyal
7632beb8e0
Replace use of distutils to get installation location for init_env.py
2021-12-13 20:29:35 +05:30
Kovid Goyal
ef87339298
Use a private copy of the bypy scripts so it doesnt conflict with the developments for the qt6 branch
2021-12-10 14:26:17 +05:30
Kovid Goyal
4df7935799
Fix getting branch name not working if HEAD is also a tag
2021-12-03 10:59:05 +05:30
Kovid Goyal
519832f263
Install sgmlib3k on arch CI
2021-12-03 07:51:34 +05:30
Eli Schwartz
4761866fa3
tests: fix exclusion of FreeBSD code
...
calibre.devices.usbms.hal was added as a FreeBSD backend, but the test
exclusion only tries importing it on Linux. It does import on Linux, but
what we actually care about is that it imports on FreeBSD.
2021-12-02 10:49:04 -05:00
Kovid Goyal
0a18e51a32
Dont do qt6 transition when rebase in progress
2021-11-25 13:53:10 +05:30
Kovid Goyal
c904e934e1
Use a safer bypy artifact transition scheme
2021-11-24 13:45:39 +05:30
Kovid Goyal
c996912602
Only rebuild when transitioning between master and qt6
2021-11-24 13:35:46 +05:30
Kovid Goyal
6209e84ba6
use a summary for post rebase form generation
2021-11-24 10:41:55 +05:30
Kovid Goyal
6004e588da
remove py2 only code
2021-11-24 09:46:02 +05:30
Kovid Goyal
3805c50be5
...
2021-11-24 09:44:52 +05:30
Kovid Goyal
98d18b1f1d
Use a checkout hook for qt6 transitions
2021-11-24 09:37:17 +05:30
Kovid Goyal
66dd933fad
Use separate bypy build cache for the Qt 6 branch
2021-11-22 11:21:15 +05:30
Kovid Goyal
e99ab7e002
Dont import calibre.gui2 to build forms
2021-11-21 22:18:20 +05:30
Kovid Goyal
53ad3db66e
Command to switch to Qt6 branch and build deps
2021-11-21 21:48:53 +05:30
Kovid Goyal
0f7bcb432d
for e.g. -> e.g.
2021-11-11 07:42:50 +05:30
Kovid Goyal
cb263c1175
Skip the actions test on CI if html5-parser is too old
2021-11-10 22:09:39 +05:30
Kovid Goyal
c0cd4f0e73
Workaround for Arch having out of date html5-parser
2021-11-10 21:31:42 +05:30
Kovid Goyal
35f95c4ed8
Implement validation for html transform rules
2021-11-10 14:33:30 +05:30
Kovid Goyal
f7a70971d1
String changes
2021-11-10 10:03:02 +05:30
Eli Schwartz
887f620406
py3 porting cleanup: remove unneeded indirect import of builtins
...
filter, map, range, and zip were proxied through polyglot.builtins to
ensure that their `future_builtins` forms were used. In python3 this is
no longer needed and they don't need to be imported at all, from
anywhere. So, don't.
2021-10-20 21:43:43 -04:00
Kovid Goyal
573693a052
Cleaner rexec logic
2021-10-04 21:12:51 +05:30
Kovid Goyal
b8fce28cb7
oops
2021-10-04 20:58:08 +05:30
Kovid Goyal
f577625504
...
2021-10-04 14:51:15 +05:30
Kovid Goyal
f027fac8a2
Use the new env var to disable RTLD_DEEPBIND for pycryptodome when running the tests with sanitization enabled
2021-10-04 14:39:42 +05:30
Christian Clauss
3e81179175
Fix more typos
2021-10-02 17:15:24 +02:00
Zbigniew Jędrzejewski-Szmek
9d63b6ae56
Drop (object) from class definitions
...
Python2 had old-style classes (no "(object)"), and new style classes (with
"object"). Under Py3 this is a noop, so let's drop it to make the code
a bit shorter.
2021-09-30 09:23:56 +02:00
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