Commit Graph

2141 Commits

Author SHA1 Message Date
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
Kovid Goyal 088954ae65 xwin does not need ole header case fixes anymore 2023-07-30 18:47:49 +05:30
Kovid Goyal 724848e364 ... 2023-07-13 19:42:49 +05:30
Kovid Goyal aaeeb51573 Add country name translations from the iso-codes project 2023-07-13 18:28:11 +05:30
Kovid Goyal d9d2e798ca Use the translations for language names from the iso-codes project 2023-07-13 17:59:22 +05:30
Kovid Goyal a209713677 Remove the in src copy of the ISO lang and country code data
Instead download it when building the resources
2023-07-13 14:17:40 +05:30
Kovid Goyal 5a74da0443 Remove unused code 2023-07-13 11:32:44 +05:30
Kovid Goyal 98343d3720 Use common name as country name 2023-07-13 11:02:17 +05:30
Kovid Goyal 12b2de5d06 Update ISO 639-3 db from /usr/share/iso-codes/json/iso_639-3.json 2023-07-13 08:44:45 +05:30
Kovid Goyal 63f8e5f1b0 Update ISO 3166 database from /usr/share/iso-codes/json/iso_3166-1.json 2023-07-13 08:43:30 +05:30
Kovid Goyal 9ae6fdac9d Fix changelog translations for a language not being used unless more than 50% of the changelog is translated into that language. Fixes #2024278 [[Enhancement] Untranslated text on the homepage](https://bugs.launchpad.net/calibre/+bug/2024278) 2023-06-18 12:22:52 +05:30
Kovid Goyal 98f9263f80 Add a utility function to get the process path for whichever process has a file open on Windows 2023-06-14 13:11:17 +05:30