Commit Graph

99 Commits

Author SHA1 Message Date
Kovid Goyal f33e05b4ba Start work on my own icon engine
Qt's builtin icon engines are not flexible enough for calibre's needs.
2026-01-21 13:01:16 +05:30
Kovid Goyal 0221d5cedb MSVC requires c++ 20 for designated initializers 2026-01-18 11:41:15 +05:30
Kovid Goyal 8f7b8238d3 ... 2026-01-18 11:23:13 +05:30
Kovid Goyal d55ffcf46a Start work on replacing python gettext with native code version
Needed to use translations for both python and Qt without invoking the
GIL when used from Qt.
2026-01-18 10:13:33 +05:30
Kovid Goyal 2a10f39e68 Use std::to_chars for formatting float numbers as well
this gives us a larger representation in many cases since it tries to
represent floats to max precision, but that tradeoff is worth it for
dropping 2000 lines of C code.
2025-11-19 10:56:27 +05:30
Kovid Goyal be304b6f99 Use std::to_chars instead of stb for uint->hex 2025-11-19 10:39:38 +05:30
Kovid Goyal c46e58d479 Start work on getting rid of piper code and only using the model data
The inference code if a few hundred lines anyway, piper is unmaintained
and forked and the fork depends on the gigantic python ONNXRuntime
bindings. Just write the few hundred lines myself.
2025-07-30 21:00:08 +05:30
Kovid Goyal 7fee97c627 Windows: Enable popup OS notifications even when system tray icon is disabled
Dont go through Qt's horrible system tray based notifier which in turn
goes through the legacy Shell_NotifyIcon API. Instead talk
to the underlying windows toast notification API directly.
2024-11-08 21:28:37 +05:30
Kovid Goyal 2fc7f252ef Work on function for transcoding of audio stream 2024-10-11 21:00:45 +05:30
Kovid Goyal 800c9aa5e5 Link order for ffmpeg libraries 2024-10-09 17:00:20 +05:30
Kovid Goyal a69f0b221f Wrap some ffmpeg code to do raw audio rate conversion 2024-10-09 14:13:11 +05:30
Kovid Goyal aa3b5398e1 More work on fast entity conversion 2024-09-12 20:48:20 +05:30
Kovid Goyal 806b6657a3 Move html entity conversion to C 2024-09-12 19:58:55 +05:30
Kovid Goyal 8e657a3417 Start work on speeding up HTML entity replacement 2024-09-12 17:11:35 +05:30
Kovid Goyal 3146ffafca Remove the old TTS backends 2024-09-03 19:21:30 +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 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 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
Kovid Goyal 76fbbef9d0 Start work on porting to new PoDoFo API 2023-05-20 14:11:46 +05:30
Kovid Goyal ef9e669ef9 Cross compiling now actually works
At least for non-PyQt based extensions
2023-01-27 12:47:46 +05:30
Kovid Goyal d13404d9ea Refactor the build system to allow cross compiling windows native code extensions on linux 2023-01-27 12:03:37 +05:30
Kovid Goyal d6a0f4bb9d Clean up C/C++ std specifications 2023-01-26 21:06:39 +05:30
Kovid Goyal 27f206f116 wchar_raii now gives us a wstring_view on C++17 2023-01-13 15:40:45 +05:30
Kovid Goyal c7468a5f9a Switch to C++/WinRT from C++/CX 2023-01-13 14:52:24 +05:30
Kovid Goyal d1b1fa7209 Get listing all available voices working 2023-01-11 20:53:48 +05:30
Kovid Goyal 6dd38d512c Start work on wrapping the WinRT speech APIs
They give access to more voices, but whether they will be workable
remains to be seen.
2023-01-11 13:19:39 +05:30
Kovid Goyal 630c24407c Wrap the newer icon extraction API 2023-01-04 20:07:05 +05:30
Kovid Goyal 3d1f332e9f Move code for CalibreStyle into its own file 2022-10-27 09:59:08 +05:30
Kovid Goyal 5c3385476f Switch from cchardet to uchardet
cchardet is not maintained anymore: https://github.com/PyYoshi/cChardet/issues/77

cchardet is based on uchardet with the addition of reporting encoding
detection confidence. We dont really need that, so moving to uchardet is
simplest.

See #1690 (Low effort port to charset_normalizer)
2022-07-16 15:36:28 +05:30
Kovid Goyal bffaacd3c2 Build a Qt resource file containing the icon themes generated from the actual image files
Loading from a resource file should be considerably faster
2022-07-06 19:19:42 +05:30
Kovid Goyal 178f94a271 Dont link rcc_backend against qtgui 2022-07-06 19:19:42 +05:30
Kovid Goyal 9f0ab6e40f Get rcc compiler building 2022-07-06 19:19:42 +05:30
Kovid Goyal ea522df226 Use std::make_unique for cleaner code 2021-06-23 13:53:18 +05:30
Kovid Goyal f5d56958b8 Start work on stemming for the ICU tokenizer 2021-06-20 14:43:24 +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 ab313c836f Implement the unicode61 tokenizer with ICU
Still have to implement removal of diacritics
2021-06-16 12:51:43 +05:30
Kovid Goyal 0b38d385e2 Dont use designated initializers 2021-06-14 08:47:08 +05:30
Kovid Goyal a7da47b922 Possible fix for building sqlite_extension.cpp on windows 2021-06-14 08:34:50 +05:30
Kovid Goyal e4b13d4ccb Start work on ICU tokenizer for FTS 2021-06-14 08:23:10 +05:30
Kovid Goyal 76d6ce3fd2 Start adding RAII to content_enumeration.cpp 2021-04-21 14:00:07 +05:30
Kovid Goyal 902f25985b DRYer 2021-04-21 10:44:29 +05:30
Kovid Goyal 1516d709fb Clean up wpd utils 2021-04-20 14:10:40 +05:30
Kovid Goyal eb1ad62632 More work on fast CSS transforms 2021-03-18 19:57:53 +05:30
Kovid Goyal 508200f8e9 Start work on fast CSS transformer 2021-03-06 11:43:02 +05:30
Kovid Goyal 56e69950c1 Get rid of cocoa_wrapper.c 2020-12-07 13:35:47 +05:30
Kovid Goyal 6adf45f81f Start work on wrapping macOS TTS API 2020-11-18 21:15:12 +05:30
Kovid Goyal de179fc1b9 Switch to speech-dispatcher from espeak 2020-11-15 21:55:05 +05:30
Kovid Goyal c027aaff75 Start wrapping espeak 2020-10-31 11:56:54 +05:30