Commit Graph

89 Commits

Author SHA1 Message Date
Kovid Goyal f207de192f Add AppUserModelID to start menu shortcuts 2024-11-08 11:45:52 +05:30
Kovid Goyal 97d476811a Windows: Use calibre's bundled SSL certificates instead of the system store by default
I am tired of all the bug reports about SSL cerificate verify failures
on windows caused by the windows certificate store not having needed
intermediate certificates. So use the bundled certificates instead which
are the set of certificates trusted by Firefox and curl.

Can be turned off via CALIBRE_USE_SYSTEM_CERTIFICATES=1 env var
2024-10-08 15:06:35 +05:30
Kovid Goyal 4cea5f082a Build piper for windows as well 2024-09-05 11:30:36 +05:30
Kovid Goyal d851c81b8c More timestamp servers 2024-08-30 09:29:28 +05:30
Kovid Goyal 5d7fff99e5 Change the authenticode timestamp server URL
The symantec server has been shutdown
2024-08-30 09:17:38 +05:30
Kovid Goyal 3727bc2355 Include ffmpeg backed for Qt MultiMedia on macos and windows
Qt docs indicate this is the only actually maintained backend
2024-08-23 23:13:54 +05:30
Kovid Goyal 64cb4b3fc6 Bump Qt to version 6.7.2
Also fix some pep8 warnings in recipes
2024-08-04 14:26:28 +05:30
Matthew Wener 02b0dd19a9 Support WIX Version 5
Virtual Symbol "WixUISupportPerUser" needs to be overridden in WIX V5 https://wixtoolset.org/docs/fivefour/
2024-06-10 12:08:17 -04:00
Kovid Goyal 2a96578a0d Bump the versions of libxml2 and lxml
No longer need the lxml workaround on windows
2024-04-26 14:01:52 +05:30
growfrow f4a40c7280 chore: remove repetitive words
Signed-off-by: growfrow <growfrow@outlook.com>
2024-04-18 15:43:47 +08:00
Kovid Goyal 788e21fd03 Workaround wix adding of extensions being utterly broken 2024-04-06 11:59:25 +05:30
Kovid Goyal 53b74283a4 sort imports in all python files 2024-03-30 13:02:22 +05:30
Kovid Goyal 3596471257 Windows: Edit book: Fix a crash when using the check book tool with a book that contains malformed markup. Fixes #2045133 [Editor closes immediately if epub-check finds parsing-failures in too much text-files](https://bugs.launchpad.net/calibre/+bug/2045133)
Bloody lxml doesnt initialize libxml2 correctly.
2023-12-03 22:23:29 +05:30
Kovid Goyal 00814a0f0e More WiX fixes 2023-11-13 19:21:36 +05:30
Kovid Goyal 6290f15f93 Remove installer pdb file 2023-11-13 19:21:36 +05:30
Kovid Goyal d2b976d866 Remove portable installer manifest file as it is embedded 2023-11-13 19:21:36 +05:30
Kovid Goyal 516a203d09 More WiX porting 2023-11-13 19:21:36 +05:30
Kovid Goyal 036f7ba5e4 More WiX porting 2023-11-13 19:21:35 +05:30
Kovid Goyal 6fe8e094f5 Support openssl's legacy module on windows as well
Le sigh
2023-11-13 19:21:35 +05:30
Kovid Goyal 299a5788e2 ... 2023-11-13 19:21:35 +05:30
Kovid Goyal a4237b7814 Automated translation of wxs file for wix 4 2023-11-13 19:21:35 +05:30
Kovid Goyal 85d899461d Start work on porting wix 2023-11-13 19:21:35 +05:30
Kovid Goyal 0b29da7f16 Update VM definitions 2023-11-13 19:21:35 +05:30
Kovid Goyal 36203a7497 Functions to optimize and encode webp images 2023-04-22 13:22:48 +05:30
Kovid Goyal d1a6bfa7b5 Windows build: Double the stack size
Python assumes a stack size of 2MB on windows. The windows default is
1MB. Presumably whoever builds python.exe changes it. Do the same to
avoid crashes due to too much recursion. Fixes #2000888 [BS4 str(soup) crashes Calibre instead of raising RecursionError](https://bugs.launchpad.net/calibre/+bug/2000888)
2023-01-04 15:58:41 +05:30
Kovid Goyal 168718e3e7 Windows builds: sign DLLs in addition to EXEs
Apparently Microsoft's latest pointless bit of security theatre now wants
DLLs signed in addition to EXEs. Because of course, executable code can
only be in DLLs and EXEs. Roll eyes.

Fixes #1997486 [calibre does not start when Win 11´s smart app control is activated](https://bugs.launchpad.net/calibre/+bug/1997486)
2022-11-23 09:10:24 +05:30
xxyzz 5c12e51ef1 Add USER_SITE to site.py to fix error in pip 2022-11-04 15:13:18 +08:00
Charles Haley ab55120f90 Fix an amusing typo. :)
This is a second commit, removing the white space processing my editor did.
I thought I had made a PR but there is no record of it. Apologies if this is a duplicate.
2022-07-16 16:22:13 +01:00
Kovid Goyal 55b3cfaf12 Fix EXE manifest
Only Microsoft could come up with something so byzantine and prone to
silent failure
2022-07-11 13:13:27 +05:30
Kovid Goyal b8c00070d8 Implement a proper check for Win10 in the MSI based on the build number from the registry 2022-07-11 12:00:19 +05:30
Kovid Goyal baf07dde67 Prevent the portable installer from running on windows older than w10 2022-07-11 11:22:32 +05:30
Kovid Goyal 58e8bf98cd Change the minimum version on windows to 10 in the installer
Qt 6 does not support windows 8. https://www.qt.io/blog/qt6-development-hosts-and-targets
2022-07-11 11:02:00 +05:30
Kovid Goyal cde3ff211c Use pdftotext to index PDF files
Much faster and less resource intensive than pdftohtml
2022-07-06 19:19:55 +05:30
Kovid Goyal df89c9f251 Automatically uninstall 32-bit calibre on windows when installing 2022-07-06 19:19:39 +05:30
Kovid Goyal ecf9f103d6 Get the portable installer building on 64bits 2022-07-06 19:19:39 +05:30
Kovid Goyal 2d0429ebce Fix a couple of compiler warnings 2022-07-06 19:19:39 +05:30
Kovid Goyal 5db39aa16e Drop 32-bit code paths 2022-07-06 19:19:39 +05:30
Kovid Goyal 271f988b72 Fix windows build 2022-07-06 19:19:38 +05:30
Kovid Goyal fb5e0bf2c9 Get it building on windows 2022-07-06 19:19:38 +05:30
Kovid Goyal 055f5b0979 Add the Py_SSIZE_T_CLEAN definition needed for python 3.10
Ideally someone needs to go through all the code and check that nothing
breaks because of this macro, but, I dont have that kind of time
2021-12-01 10:47:51 +05:30
Christian Clauss 3e81179175 Fix more typos 2021-10-02 17:15:24 +02:00
Christian Clauss 5852ac2eb4 fixup! 2021-10-02 04:04:07 +02:00
Christian Clauss 9173d4edf9 Fix typos 2021-10-02 04:02:43 +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 2cce7e2eca Fix #1938465 [[Enhancement] Change tooltip of calibre Windows icon](https://bugs.launchpad.net/calibre/+bug/1938465) 2021-07-30 07:36:42 +05:30
Kovid Goyal 3848fb45d0 String changes 2021-03-27 20:39:10 +05:30
Kovid Goyal 5aec473530 string changes 2021-03-09 09:19:56 +05:30
Kovid Goyal 4b0f19ccfb Windows: Fix calibre portable launcher not working correctly from root directory in calibre 5.5. Fixes #1904310 [v5.5 Puts calibre-portable.exe in as a book on every launch](https://bugs.launchpad.net/calibre/+bug/1904310)
apparently, the cmdline parameter passed to winmain does not contain the
path to the EXE *except* when the exe is in the root folder. The number
of inconsistencies in the win32 API is insane.
2020-11-17 11:42:54 +05:30
Kovid Goyal 3e7296ff2b Register the calibre:// protocol during installation on Windows 2020-11-10 18:23:22 +05:30
Kovid Goyal b0da277718 Code cleanups 2020-11-01 08:59:54 +05:30