Commit Graph

2152 Commits

Author SHA1 Message Date
Kovid Goyal c721338b43 Cleanup ISOData command
Cache downloaded bytes in memory and dont store a BytesIO instance,
instead create one fresh on zip file access.
2024-06-28 10:12:17 +05:30
Kovid Goyal 4804084665 ... 2024-06-28 08:15:31 +05:30
Kovid Goyal d10c85ba5d Cleanup previous PR 2024-06-17 10:34:46 +05:30
wrvsrx 342d9f6900 Avoid reordering subcommands 2024-06-17 00:06:11 +08:00
wrvsrx 80ff907bfd Allow setting more local resource files from cli 2024-06-16 22:08:06 +08:00
Kovid Goyal 771db8e3f4 Install lxml-html-clean from package now that it is available 2024-05-25 16:37:24 +05:30
Kovid Goyal a3d3d8d33e Apparently we need --std=c++17 to compile against libicu 75.1 2024-05-20 08:13:34 +05:30
Kovid Goyal 52bb3bbe9d Fix arch CI failure caused by more security theatre 2024-05-17 08:52:05 +05:30
Kovid Goyal 6cb3640b29 Dont build Tamil man pages either 2024-05-03 08:52:09 +05:30
Kovid Goyal 70ec73b087 Skip building manual for Tamil as its translations are utterly borked and break Sphinx 2024-05-03 08:28:42 +05:30
Kovid Goyal 068de19869 Vendor polib used in setup
Trying to keep it available system-wide is too much pain.
2024-05-02 11:36:48 +05:30
Kovid Goyal f0c0378e92 env var to skip tests during publish 2024-04-19 07:28:36 +05:30
Kovid Goyal b5c688c94d be editor neutral 2024-04-06 11:59:44 +05:30
Kovid Goyal 53b74283a4 sort imports in all python files 2024-03-30 13:02:22 +05:30
Kovid Goyal 5d6ab97c43 Bump the version of Liberation fonts bundled 2024-03-13 09:13:03 +05:30
Kovid Goyal 81fe8448ee Add some tooling to build "preview" releases
They are available at: https://download.calibre-ebook.com/preview/
They will have version numbers with a patch level >= 100 so its
relatively easy for us to know when a bug report pertains to a preview
release.
2024-03-09 14:50:03 +05:30
Kovid Goyal 21b4869f22 Revert prevention of pushes to transifex
Hopefully, its working now
2024-03-02 09:53:10 +05:30
Kovid Goyal 8bb265ae6a transifex is stalling on pushes, temporarily disable so release can be done 2024-03-01 08:38:58 +05:30
Ori Avtalion 5bd831665a Replace deprecated urlopen cafile parameter 2024-02-03 14:04:06 +02:00
Kovid Goyal 9448c42a64 Use higher optimization level for building extensions
O3 on gcc/clang and O2 on MSVC
Fixes #2145 (Add -O3 to extension compile flags)
2023-12-29 09:37:07 +05:30
Kovid Goyal d447544e63 Revert "Bump the glibc version needed on linux"
This reverts commit 582122cc93.
Since we are going back to Qt 6.5 we dont need to build with newer
gcc
2023-12-08 09:10:12 +05:30
Kovid Goyal 76ec0583df Fix #2130 (Use canonical method to invoke sip-build tool) 2023-12-03 22:23:31 +05:30
Kovid Goyal 582122cc93 Bump the glibc version needed on linux
Qt WebEngine 6.6 needs to be built with gcc that has -stdc++20 which
means we need to move to a ubuntu jammy image. The good part is this
harmonises ARM and Intel builds to both use jammy. The bad part is the
binaries now wont run on any distro released more than about a year ago.
Sigh.
2023-12-03 22:23:30 +05:30
Kovid Goyal aa48fc63d0 Better escaping for flags in the generated toml file for building pyqt extensions 2023-11-27 15:41:12 +05:30
Kovid Goyal 320fb96bbd Dont upload releases to fosshub anymore
A single alternate mirror provided by github is fine. FossHub requires
users to go to a new page to get the actual download, which is slow and
cumbersome.
2023-11-23 20:04:05 +05:30
Kovid Goyal 85a0056e6d automated fixes by pyupgrade to py 3.8 2023-11-23 09:05:12 +05:30
Paolo Melchiorre 16fbab9362 Fix minimum required Python version for ruff, black and pyupgrade 2023-11-22 11:37:17 +01:00
Kovid Goyal bfa3f40279 typo in function name 2023-11-18 08:20:49 +05:30
Kovid Goyal 2d92d1009b Linux installer: Check that the user has libxcb-cursor.so.0 installed
If not quit early with an error message asking them to install it
2023-11-18 07:56:58 +05:30
Ori Avtalion 8c4e937dc8 Remove deprecated utcnow, utcfromtimestamp 2023-11-16 22:45:56 +02:00
Kovid Goyal 2de9e40eee more immediate resource closures 2023-11-13 19:21:37 +05:30
Kovid Goyal 1d28aa1d6a Some debugging for hang in linux CI 2023-11-13 19:21:37 +05:30
Kovid Goyal 0c7aa15980 Dont hang forever if test process doesnt quit 2023-11-13 19:21:37 +05:30
Kovid Goyal 53f20a2ce6 Set OPENSSL_MODULES on CI 2023-11-13 19:21:36 +05:30
Kovid Goyal 35772e6a31 new ci data dir 2023-11-13 19:21:36 +05:30
Kovid Goyal 2e859bab02 Use the newest available Visual Studio 2023-11-13 19:21:35 +05:30
Kovid Goyal de193b346a Switch to VS 2022 2023-11-13 19:21:35 +05:30
Kovid Goyal 60d24c9af5 Replace deprecated user notification api on macOS
Also fix a couple of compiler warnings
2023-11-13 19:21:35 +05:30
Kovid Goyal 3aee660656 More work on notes 2023-11-13 19:21:27 +05:30
Kovid Goyal b1aad38a4b Linux installer: Fix downloading of signatures for older versions
Fixes #2042748 [Unable to install previous version in isolated mode](https://bugs.launchpad.net/calibre/+bug/2042748)
2023-11-05 08:18:56 +05:30
Kovid Goyal 33687faedd ... 2023-10-25 21:28:49 +05:30
YOKOTA Hiroshi e1ab67af07 Really choose oldest file modification time in target files 2023-10-25 08:21:26 +09:00
Kovid Goyal 1f296569f3 Use a timestamp of now rather than 0 for the sdist tarball 2023-09-28 09:56:42 +05:30
Kovid Goyal 879ebdf68e Reset all dates to zero in sdist tarball 2023-09-28 08:39:28 +05:30
Eli Schwartz 0eca1bd9ca build: pass on the user's compiler and compiler-flags settings to qmake
PyQt-builder uses qmake under the hood, which has a frustrating habit of
not respecting standard stuff like $CC / $CFLAGS unless the project
authors go out of their way to manually specify to use the same value as
gotten from the environment.

Implement this for the same environment variables that we currently respect
when building internal extensions *without* PyQt-builder.
2023-09-25 22:13:57 -04:00
Kovid Goyal 05a398750e Better filtering of translated languages 2023-08-27 20:41:41 +05:30
Kovid Goyal 9b12e0cb8d Fix #2033192 [English appears three times and Spanish two times in the Choose language drop-down menu](https://bugs.launchpad.net/calibre/+bug/2033192) 2023-08-27 20:28:00 +05:30
Kovid Goyal 181dc063df ... 2023-08-20 21:25:24 +05:30
Kovid Goyal 568f80f210 Some xwin fixes 2023-08-20 21:23:45 +05:30
Kovid Goyal d608e1be54 Drop the dependency on xwin replace with using msitools
xwin doesnt work with current SDKs anyway.
https://github.com/Jake-Shadle/xwin/issues/92
2023-08-20 21:05:24 +05:30