Commit Graph

53362 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] 96fc61bfd9 Add dark mode frame SVG and update iconset generation for light/dark subdirectories
Agent-Logs-Url: https://github.com/kovidgoyal/calibre/sessions/e4e53fa0-3fcf-4a89-aa8a-1f4829934bd2

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-17 04:50:49 +00:00
Kovid Goyal cfb2e7566e pep8 2026-04-17 09:44:11 +05:30
Kovid Goyal 073f67522a Merge branch 'codex/add-openai-compatible-provider' of https://github.com/lazydao/calibre 2026-04-17 09:43:29 +05:30
Kovid Goyal 0b91aa8354 ... 2026-04-17 09:41:29 +05:30
Kovid Goyal 5379b5bb62 Cleanup previous PR 2026-04-17 09:19:28 +05:30
Kovid Goyal ad1da12068 Merge branch 'codex/throttle-ai-chat-streaming' of https://github.com/lazydao/calibre 2026-04-17 09:15:30 +05:30
Kovid Goyal ab24d2e152 Native TTS engine: Normalize text to NFKC so that word tracking works when the native engine reports spoken word with different normal form 2026-04-17 08:51:55 +05:30
Kovid Goyal 1a87b70c12 When converting GIF images to PNG workaround bug in PIL causing exception when checking if the GIF is animated. Fixes #2148533 [Failure converting MOBI file to EPUB](https://bugs.launchpad.net/calibre/+bug/2148533) 2026-04-16 13:15:01 +05:30
Kovid Goyal 86d0abb1a9 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2026-04-15 20:46:23 +05:30
unkn0w7n e6c71601f1 Update hindu.recipe 2026-04-15 20:41:21 +05:30
Kovid Goyal d5c887d569 Use paths for another instance of safe_replace 2026-04-15 04:53:42 +05:30
Kovid Goyal a92353468b Merge branch 'copilot/add-tests-safe-replace-function' of https://github.com/kovidgoyal/calibre 2026-04-14 20:49:18 +05:30
Kovid Goyal f154a468ee ... 2026-04-14 20:36:36 +05:30
copilot-swe-agent[bot] dede73a0cc Add tests for safe_replace() in zipfile.py and register in run_tests.py
Agent-Logs-Url: https://github.com/kovidgoyal/calibre/sessions/ae87adbf-5df0-4d0c-aeb2-27cb25a97469

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-14 15:04:31 +00:00
Kovid Goyal c5639d4428 Use atomic replace when updating epub files 2026-04-14 20:26:28 +05:30
Kovid Goyal 55e9d7650e Merge branch 'clean-from-source-try-catch' of https://github.com/un-pogaz/calibre 2026-04-14 14:20:37 +05:30
Kovid Goyal 1b519a10e1 Bump python for CVEs 2026-04-14 14:12:35 +05:30
un-pogaz 51b4739aca clean "running from source" try catch 2026-04-14 10:20:09 +02:00
lazydao b462171750 move AI chat disclaimer out of scroll area 2026-04-14 15:20:55 +08:00
lazydao a40a29936f add streaming render demo for AI chat 2026-04-14 14:40:49 +08:00
Kovid Goyal 6ce8497ed4 Bump pillow version for CVE 2026-04-14 08:10:39 +05:30
lazydao f84f3ca7ba add OpenAI-compatible AI provider 2026-04-14 10:24:18 +08:00
lazydao 04bcc7e7c3 throttle AI chat streaming re-renders 2026-04-14 10:23:04 +08:00
Kovid Goyal 4c1041b23f Preserve existing conversation with AI when there is an error talking to it. Fixes #3085 (Preserve AI chat history when a follow-up request fails) 2026-04-13 20:02:21 +05:30
Kovid Goyal 1914d15fd3 Make clearing conversation optional when showing a message 2026-04-13 19:56:23 +05:30
Kovid Goyal e5e9ad4055 Remove unused code 2026-04-13 19:54:53 +05:30
Kovid Goyal f60e727d16 Bump deps for CVEs 2026-04-11 17:26:17 +05:30
Kovid Goyal 0d64020b05 Ignore AppleDouble files when looking for missing formats 2026-04-11 09:41:26 +05:30
Kovid Goyal efd35819df pep8 2026-04-10 21:45:42 +05:30
Kovid Goyal d7d864b70b Merge branch 'timemagazine-for-new-website-structure' of https://github.com/Monkfishare/calibre 2026-04-10 21:44:29 +05:30
Monkfishare 3b42a30f87 Update time magazine recipe for new website structure 2026-04-11 00:06:43 +08:00
Kovid Goyal e3c6aef3dd version 9.7.0 v9.7.0 2026-04-10 08:08:46 +05:30
Kovid Goyal 51ed34cd32 Bump openssl for CVEs 2026-04-09 14:40:58 +05:30
Kovid Goyal db80d9b2b7 Skip checking korean website translations as too many errors 2026-04-09 06:21:25 +05:30
Kovid Goyal 04e409f4e9 E-book viewer: Fix a regression in the previous release that caused annotations/last read information to not be saved in e-book files. Fixes #2146912 [Last location not saved](https://bugs.launchpad.net/calibre/+bug/2146912)
Merge branch 'copilot/fix-epub-annotations-regression' of https://github.com/kovidgoyal/calibre
2026-04-08 19:17:20 +05:30
copilot-swe-agent[bot] 72f403d52a Fix regression: EPUB annotations not saved due to immediate queue shutdown
Agent-Logs-Url: https://github.com/kovidgoyal/calibre/sessions/171c5cc8-db33-468a-9656-d88b8b95ff40

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-08 13:39:27 +00:00
Kovid Goyal fa2cce533d pep8 2026-04-08 08:26:33 +05:30
Kovid Goyal 089dad329a AI: Make the GitHub backend a bit more robust
Fixes #2147495 [Github backend errors silently](https://bugs.launchpad.net/calibre/+bug/2147495)
2026-04-08 08:25:53 +05:30
Kovid Goyal 4242c5c30b Viewer: have the native pinch act exactly the touch screen pinch
Now only on completing the gesture does the font size change.
2026-04-07 19:28:38 +05:30
Kovid Goyal 3013076808 E-book viewer: Handle native pinch to zoom gesture to change font size and persist the changes using the same mechanism as regular font size adjustment 2026-04-07 15:37:30 +05:30
Kovid Goyal 9f0bf3a685 Remove unused code 2026-04-07 14:43:33 +05:30
Kovid Goyal 24a7abd0af Be a bit more robust against external software corrupting calnotes 2026-04-07 07:07:00 +05:30
Kovid Goyal 3381057d25 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2026-04-06 18:52:13 +05:30
unkn0w7n 40bfe696f8 Update The Week 2026-04-06 18:13:59 +05:30
Kovid Goyal 2dc9de23bd Update The Age 2026-04-06 10:54:02 +05:30
Kovid Goyal bfe4e43e32 Merge branch 'fix/mobi-namespace-tag-valueerror' of https://github.com/adar2378/calibre 2026-04-05 22:17:37 +05:30
adar2378 927744673e Fix ValueError in remove_namespaces when tag name contains colon
When an EPUB contains elements with custom namespace prefixes (e.g.
<vita:metadata>), the remove_namespaces method in the KF8 writer
crashes with `ValueError: Invalid tag name 'vita:'`.

The existing except ValueError block only strips colons from attribute
names but does not handle the tag name itself. This causes the second
makeelement call to raise the same ValueError.

Fix: replace colons with hyphens in the tag name before retrying,
consistent with how colon-containing attributes are already handled.
2026-04-05 22:31:26 +06:00
Kovid Goyal dc65efe857 Fix #2147289 [Is Transifex synchronization turned off](https://bugs.launchpad.net/calibre/+bug/2147289) 2026-04-05 14:04:14 +05:30
Kovid Goyal ee3166cc5b Fix status tip for context menus not working 2026-04-05 10:26:28 +05:30
Kovid Goyal 89b907546f clone action should also copy status tip 2026-04-05 10:14:13 +05:30