Commit Graph

1994 Commits

Author SHA1 Message Date
Kovid Goyal 50a2be5ce7 Fix pgettext() not being recognized when extracting translatable strings. Fixes #1970038 [The "Miscellaneous" string is not translatable in some cases](https://bugs.launchpad.net/calibre/+bug/1970038) 2022-04-24 08:49:52 +05:30
Kovid Goyal d1242fd29c ... 2022-03-31 11:27:29 +05:30
Kovid Goyal 09ce82c760 Allow usage of SHM from python 2022-03-21 18:15:14 +05:30
Kovid Goyal aec6b7c174 Use the new transifex client, which is dog-slow and not API compatible with the old one
Le Sigh.
https://github.com/transifex/cli/issues/5
2022-03-03 12:23:03 +05:30
Kovid Goyal 63cb92bb35 Dump envvars when failing to find one 2022-02-22 08:15:23 +05:30
Kovid Goyal 484d5ee5d6 mozilla seems to be back up 2022-02-18 08:43:26 +05:30
Kovid Goyal 8294f53402 Temporarily disable recent_uas because there is some network issue connecting to Mozilla's servers from my machine 2022-02-18 07:39:25 +05:30
Kovid Goyal 24c460faec also upgrade code in setup folder 2022-01-08 12:15:18 +05:30
Kovid Goyal 224db2bb02 command to upgrade source code 2022-01-08 11:26:18 +05:30
Kovid Goyal dafa08e921 Fix path used to init_calibre module installation
Fixes #1553 (Fix python site-package libdir creation in FreeBSD)
2021-12-17 17:23:35 +05:30
Kovid Goyal f01268b2ec Remove deprecated distutils 2021-12-13 21:55:53 +05:30
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