36276 Commits

Author SHA1 Message Date
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
Kovid Goyal
226718cead
Fix PdfObject::GetReference semantics changed
It now raises an exception if the object is not a reference. Instead we
have to call GetIndirectReference on it.

...
2023-05-20 14:11:47 +05:30
Kovid Goyal
39d27b6245
Restore suppression of informational log messages from PoDoFo 2023-05-20 14:11:47 +05:30
Kovid Goyal
bea63dc6c4
Fix delete_pages() 2023-05-20 14:11:47 +05:30
Kovid Goyal
696afc4410
Improve the test for setting XMP metadata 2023-05-20 14:11:46 +05:30
Kovid Goyal
2891687f6a
Fix the bytes output device 2023-05-20 14:11:46 +05:30
Kovid Goyal
76fbbef9d0
Start work on porting to new PoDoFo API 2023-05-20 14:11:46 +05:30
Kovid Goyal
15debf7ebf
Replace use of deprecated contents() function 2023-05-19 14:10:07 +05:30
Kovid Goyal
c574efa808
Fix #2019101 [MDE: Inaccurate tooltip for 'Paste' button](https://bugs.launchpad.net/calibre/+bug/2019101) 2023-05-19 07:19:30 +05:30
Kovid Goyal
04fa47ddaf
E-book viewer: Handle horizontal wheel events as section jumps in paged mode
Also handle horizontal wheel events in cover flow. Fixes #2019426 [vertical mousewheel function not implemented](https://bugs.launchpad.net/calibre/+bug/2019426)
2023-05-19 07:17:05 +05:30
Kovid Goyal
f9aa200d72
string changes 2023-05-16 18:11:42 +05:30
Kovid Goyal
84ec9819f2
Use the mechanize browser for downloading external resources instead of python stdlib
Also remove deprecated import of cgi
2023-05-16 06:55:01 +05:30
Kovid Goyal
dc8be3bbcd
Remove deprecated import 2023-05-15 12:44:57 +05:30
Kovid Goyal
57794b179f
... 2023-05-13 06:10:44 +05:30
Kovid Goyal
dcbb72a2b8
Fix copy all book details not respecting line breaks in fields 2023-05-10 07:06:21 +05:30
Kovid Goyal
e9a0b5dcf1
Merge branch 'master' of https://github.com/cbhaley/calibre 2023-05-10 06:39:12 +05:30
Charles Haley
942bceaa61 Improvements to template function identifier_in_list() 2023-05-09 18:29:30 +01:00
Kovid Goyal
5993dca2f2
Book details: Fix formatting of text when copying all book details in narrow mode 2023-05-09 17:28:37 +05:30
Kovid Goyal
dcd5978707
... 2023-05-09 10:29:12 +05:30
Kovid Goyal
9507713ae3
... 2023-05-08 16:51:57 +05:30
Charles Haley
750f77ebac Improve the name and tooltip of the preference for disabling editing composites in the booklist other than with F2 2023-05-07 17:50:22 +01:00
Kovid Goyal
cd085fc844
Cleanup code 2023-05-07 15:51:53 +05:30
Kovid Goyal
b2d0fb5cf7
... 2023-05-07 15:48:53 +05:30
Kovid Goyal
1fd1d1cdef
Fix a regression in previous release that broke scrolling when using the scroll_per_row tweak. Fixes #2018660 [Opening the Edit Metadata dialog causes the book list to scroll down too much](https://bugs.launchpad.net/calibre/+bug/2018660) 2023-05-07 14:56:54 +05:30
Charles Haley
bbd11ff153 Enhancement: add preference (in Search) to disable QTableView keyboardSearch(). 2023-05-06 12:20:23 +01:00
Charles Haley
cc7e2d7662 Bug #2018630: Menu item duplication glitch 2023-05-06 10:51:25 +01:00
Charles Haley
14a331526a Bug #2018548: NoneType error when trying to open category manager 2023-05-05 10:26:51 +01:00
Kovid Goyal
4f364dc351
Better error when serializing catalog to XML fails 2023-05-04 22:15:17 +05:30
Kovid Goyal
1cc6f9eb7b
string changes 2023-05-04 17:05:32 +05:30
Kovid Goyal
0126be0ca4
... 2023-05-04 17:04:35 +05:30
Kovid Goyal
ceea0364a1
Merge branch 'master' of https://github.com/cbhaley/calibre
Fix #2018423 [[Enhancement] Manage Authors: Resize rows and add alternating row colouring.](https://bugs.launchpad.net/calibre/+bug/2018423)
2023-05-04 16:35:06 +05:30
un-pogaz
c451efbd42 apply local bold/italic to Entity 2023-05-04 10:58:39 +02:00
Charles Haley
f57cd0d7a7 Enhancement #2018423: Manage Authors: Resize rows and add alternating row colouring.
The two dialogs share the row height data. Changing it in one changes the other.
2023-05-04 09:10:30 +01:00
un-pogaz
cd888703b8 add HTML entity highlighter 2023-05-04 10:06:13 +02:00
Kovid Goyal
074bdd3330
Replace use of deprecated API 2023-05-04 08:22:05 +05:30
Kovid Goyal
82e7344a63
Merge branch 'fix-markdown-highlighter' of https://github.com/un-pogaz/calibre 2023-05-04 07:55:49 +05:30
un-pogaz
4c16604a9d ... 2023-05-03 19:34:55 +02:00