36312 Commits

Author SHA1 Message Date
Kovid Goyal
3d96e98528
Switch to storing HTML to ZIP customization as JSON for easy expansion in the future 2023-05-29 10:23:59 +05:30
Kovid Goyal
c323aeb698
Make the fixed size of the Polish dialog a lower bound with its sizeHint() 2023-05-29 07:59:05 +05:30
Kovid Goyal
737a7ceeb8
Fix failing test on windows
When checking for path inside directory we need to use long path names
as the dir path and abspath can use different types of names: short vs.
long.
2023-05-28 21:05:18 +05:30
Kovid Goyal
7444f22e49
Fix polish test: now need option to allow local files from outside root when building the test book 2023-05-28 15:47:46 +05:30
Kovid Goyal
9ec1f0820a
Some changes to the amazon.de site markup 2023-05-28 15:42:51 +05:30
Kovid Goyal
71547e8a11
Also restrict resources to root dir for txt input 2023-05-28 15:20:58 +05:30
un-pogaz
d9099743d9 group setEditorData() in a shared class for Texts 2023-05-28 10:47:06 +02:00
Kovid Goyal
bbbddd2bf4
HTML Input: Dont add resources that exist outside the folder hierarchy rooted at the parent folder of the input HTML file by default 2023-05-28 14:03:15 +05:30
Kovid Goyal
7bde308bd6
Forgot to fix TextDelegate 2023-05-28 13:21:22 +05:30
Kovid Goyal
3f32a66c32
Fix #2021367 [Edit cell not longer select all content](https://bugs.launchpad.net/calibre/+bug/2021367) 2023-05-28 12:43:29 +05:30
Kovid Goyal
340daa300c
... 2023-05-28 09:37:30 +05:30
Kovid Goyal
e5786ef652
PDF Output: Set /Creator and /Producer in /Info 2023-05-28 09:36:36 +05:30
Kovid Goyal
00681544d8
PDF Output: Fix regression in previous release causing non-ascii entries to be incorrectly encoded into the PDF bookmarks 2023-05-28 09:27:03 +05:30
Kovid Goyal
59503c21dc
PDF Output: Fix regression in previous release that caused blank pages when generating headers or footers
Needed to prepend the header/footer content stream to the page content
stream. Appending only worked with Qt >= 6.5 which is what is present on
my dev machine, so didnt catch it. Before 6.5, when drawing header
footers chromium does not occlude the body area even though nothing is
drawn there, thus prepending is required.
2023-05-28 09:07:57 +05:30
Kovid Goyal
ba2ccd0e72
Fix #2021406 [Preferences: Odd tooltip spacing](https://bugs.launchpad.net/calibre/+bug/2021406) 2023-05-28 06:10:40 +05:30
Charles Haley
1a9ad23b0d Bug #2020906: Manage Author Row Height Altered When Category Editor is Blank 2023-05-26 21:38:38 +01:00
Kovid Goyal
0625df37d1
Merge branch 'bookdetail-multiline-path' of https://github.com/un-pogaz/calibre 2023-05-26 20:41:44 +05:30
Kovid Goyal
8a8e2ed8de
version 6.18.1 2023-05-26 17:35:10 +05:30
Kovid Goyal
31629d5964
... 2023-05-26 15:51:39 +05:30
Kovid Goyal
a4464ef292
Fix #2020854 [local variable 'd' referenced before assignment calibre 6.18](https://bugs.launchpad.net/calibre/+bug/2020854) 2023-05-26 15:44:55 +05:30
un-pogaz
23e4bda46c Path field can be display on multiline 2023-05-26 10:49:20 +02:00
Kovid Goyal
b120cc9c03
Harmonize selectall behavior for delegated editors in the book list with other places these editors are used
By not having special selectAll behavior in the book list we can control
this system wide by changing the widget's initial selectall behavior
centrally.
2023-05-26 11:49:08 +05:30
Kovid Goyal
c726b61dcc
version 6.18.0 2023-05-26 06:44:58 +05:30
Kovid Goyal
fd207da67c
Fix use of _ as local variable and gettext in same scope 2023-05-25 08:33:02 +05:30
Kovid Goyal
2eebd8b561
... 2023-05-25 07:22:45 +05:30
Kovid Goyal
25c935568c
Tag browser: Fix using F2 to edit items not allowing completion
Also fixes incorrect completion data when using F2 after using rename on
an item from another category.

Rather than setting the completion data in the context menu handler,
load it when actually creating the editor.
2023-05-24 12:15:55 +05:30
chocolatechipcats
85ff696f22 Update single_download.py
Removing an extraneous word
2023-05-24 02:19:19 -03:00
Kovid Goyal
4ecd1a2b7d
Cover download: Allowing saving alternate covers to disk or in the book's data folder. Fixes #2020603 [[Enhancement] Cover Image Downloader: Save cover to disk/data folder](https://bugs.launchpad.net/calibre/+bug/2020603) 2023-05-24 08:23:22 +05:30
Kovid Goyal
924ba7adfe
Content server: Allow disabling full text search via the web interface. Fixes #2020237 [[content server] Disable fulltext search activation via web interface](https://bugs.launchpad.net/calibre/+bug/2020237) 2023-05-23 17:55:51 +05:30
Kovid Goyal
9bfcd7c3bd
... 2023-05-23 07:10:57 +05:30
Kovid Goyal
71d2fd0533
Revert string change, making the message a bit clearer 2023-05-22 19:51:17 +05:30
Kovid Goyal
7b759f96d6
Fix #2020233 [Enhancement Request: Send-to-Device: Ask first if book already on device](https://bugs.launchpad.net/calibre/+bug/2020233) 2023-05-22 13:26:04 +05:30
Kovid Goyal
a2a0848bb1
Fix #2018698 [Toolbar button wordwrap glitch](https://bugs.launchpad.net/calibre/+bug/2018698) 2023-05-22 12:12:47 +05:30
Kovid Goyal
4f44527eb1
... 2023-05-22 11:22:34 +05:30
Kovid Goyal
306f813566
Comic Input: When grayscaling comic images use 16bit gray for better fidelity. When using the PNG format for images this results in larger files but with better grayscaling fidelity.
Fixes #1898 (Optimized edge case for comic conversion)
2023-05-22 11:15:41 +05:30
Kovid Goyal
1eb3d9aee5
string changes 2023-05-22 07:00:04 +05:30
Charles Haley
ef2443cb96 String changes/corrections 2023-05-21 17:43:26 +01:00
Kovid Goyal
58bdba4cc9
Merge branch 'master' of https://github.com/cbhaley/calibre 2023-05-21 21:42:40 +05:30
Kovid Goyal
b1be2296c2
string changes 2023-05-21 21:39:49 +05:30
Charles Haley
1e78b9fe7c Bug #2019457: Tag browser - transient right click error.
The search category can disappear from field_metadata. Perhaps other dynamic categories can as well. The implication is that dynamic categories are being removed, but how that would happen is a mystery. I suspect a plugin is operating on the "real" field_metadata instead of a copy, thereby changing the dict used by the rest of calibre.

 As it can happen, to avoid key errors check that a category exists before offering to unhide it.
2023-05-21 09:28:29 +01:00
Charles Haley
b82b2fde97 Enhancement #2019513: category editor: allow selections only in the current column instead of reporting an error. 2023-05-21 08:40:02 +01:00
Charles Haley
625fcca0ae Bug #2020002: improve error message 2023-05-21 08:17:05 +01:00
Kovid Goyal
0638359f0f
Fix mem leak on loading multiple PDFs with buffe rin single doc 2023-05-20 14:12:25 +05:30
Kovid Goyal
9aa1f4add6
Fix loading of PDF from data causing memory corruption because PoDoFo now expects the data to outlive the document 2023-05-20 14:11:47 +05:30
Kovid Goyal
20e4db008e
Fix drawing of header/footer 2023-05-20 14:11:47 +05:30
Kovid Goyal
59fab1d482
Use PoDoFo to insert the cover page, bypassing https://github.com/podofo/podofo/issues/76 2023-05-20 14:11:47 +05:30
Kovid Goyal
cb1c6efd61
Podofo wrapper to add an image page 2023-05-20 14:11:47 +05:30
Kovid Goyal
7969be3498
Add a test for PDf version 2023-05-20 14:11:47 +05:30
Kovid Goyal
541c1d2036
Get creating outlines working again 2023-05-20 14:11:47 +05:30
Kovid Goyal
0517092f52
Get PDF metadata setting working again
Bypass the new podofo GetMetadata machinery as it completely clobbers
custom XML metadata.
2023-05-20 14:11:47 +05:30