Kovid Goyal
c4c2575096
...
2023-10-09 21:02:46 +05:30
Kovid Goyal
97825e0467
Fix a regression that broke reading of covers from HTMLZ and TXTZ files. Fixes #2038778 [Book cover is not shown after converting from FB2 to HTMLZ]( https://bugs.launchpad.net/calibre/+bug/2038778 )
2023-10-09 20:58:05 +05:30
Kovid Goyal
f70c8e3d6b
Fix another compiler warning about an unused variable
2023-10-08 08:49:13 +05:30
Kovid Goyal
664e620fab
Fix a bunch of compiler warnings
...
Caused by ancient (K&R?) syntax
2023-10-08 08:42:01 +05:30
Kovid Goyal
8f074ed42f
version 6.28.1
2023-10-07 16:37:30 +05:30
Kovid Goyal
b0552e399b
Better error reporting in certgen
...
Also require alt_names to already be prefixed
2023-10-06 16:30:43 +05:30
Kovid Goyal
4c50a6fa7b
Get alt_names for certgen
2023-10-06 16:02:17 +05:30
Kovid Goyal
e2d846deb3
Provide EVP_RSA_gen on legacy OpenSSL
2023-10-06 15:15:24 +05:30
Kovid Goyal
4605c43101
Dont use deprecated OpenSSL APIs in certgen
2023-10-06 14:58:30 +05:30
Kovid Goyal
d463f34b7b
Fix regression that broke merging metadata for some books
2023-10-06 11:53:01 +05:30
Kovid Goyal
b2b885117b
version 6.28.0
2023-10-06 07:59:25 +05:30
Kovid Goyal
05bb0d9f73
...
2023-10-05 20:11:01 +05:30
Charles Haley
fe5a546367
Add Metadata methods to ProxyMetadata when reasonable to avoid AttributeError exceptions.
...
Add tests for the new methods.
2023-10-05 15:35:31 +01:00
Kovid Goyal
fedafa4978
Fix #2038432 [[Enhancement] Support for .cb7 files]( https://bugs.launchpad.net/calibre/+bug/2038432 )
2023-10-04 18:45:49 +05:30
Kovid Goyal
464c3a4c76
Only use dictionaries path workaround for HTTP 404 errors
2023-10-04 15:11:13 +05:30
Kovid Goyal
0979c1a25c
Merge branch 'fix-dictionaries' of https://github.com/un-pogaz/calibre
2023-10-04 15:03:21 +05:30
un-pogaz
8374353d51
fix script variante includes in the lang_code
...
Some dictionaries add a script variante in their lang_code, for example:
https://github.com/LibreOffice/dictionaries/tree/master/mn_MN
2023-10-04 11:19:29 +02:00
un-pogaz
a43d86a0af
fix alternative string-list representation in xcu
...
A alternative representation for string-list use <it> tag for each item of the list, for example:
https://github.com/LibreOffice/dictionaries/tree/master/tr_TR
2023-10-04 10:46:32 +02:00
un-pogaz
9551f021ec
fix incorrectly relative paths
...
Some dictionaries apparently put the dic and aff file in a sub-directory dictionaries and incorrectly make paths relative to that directory instead of the root, for example:
https://github.com/LibreOffice/dictionaries/tree/master/ca
2023-10-04 10:17:46 +02:00
Kovid Goyal
2a6158e05e
Save to disk: Do not limit the total path length to 240 characters on non-Windows platforms. Fixes #2038238 [file and folder names garbled if too long in "save to disk".]( https://bugs.launchpad.net/calibre/+bug/2038238 )
2023-10-04 13:46:15 +05:30
Kovid Goyal
1daa020a4f
Fix incorrect cover for AZW3 version of calibre User Manual. Fixes #2037898 [Incorrect cover for an .azw3 book]( https://bugs.launchpad.net/calibre/+bug/2037898 )
2023-10-04 13:30:19 +05:30
Kovid Goyal
7897c92a3a
Fix #2038378 [[Enhancement] Use a darker or different color in the Change library access permission popup]( https://bugs.launchpad.net/calibre/+bug/2038378 )
2023-10-04 05:47:21 +05:30
Kovid Goyal
503d0e0113
Also decode bytes in comparable_price()
2023-10-03 07:40:27 +05:30
Kovid Goyal
da24ae6480
Fix #2052 (Improve error handling in get_results method)
2023-10-03 07:39:37 +05:30
Kovid Goyal
2d000bf23e
Make merge_metadata a db API
...
Since it operates on the database and is a fairly small function,
no sense in having it in a separate module
2023-10-02 15:44:11 +05:30
Charles Haley
125bc94ac8
Separate out merge_metadata as discussed on MobileRead
2023-10-02 10:40:26 +01:00
Kovid Goyal
b284d3661e
Content server: Change formatting of book details to match new de-emphasized titles based formatting in the main calibre program. Fixes #2029723 [[Enhancement] Suggestions to make the Book details panel look nicer]( https://bugs.launchpad.net/calibre/+bug/2029723 )
2023-10-02 08:38:11 +05:30
Kovid Goyal
4d20e70ea1
Edit book: When adding dictionaries allow directly a LibreOffice adding the dictionary just by choosing the language
...
Cleanup previous PR that implement this functionality
2023-10-01 20:19:07 +05:30
Kovid Goyal
a44bb42eda
Merge branch 'online-dictionaries' of https://github.com/un-pogaz/calibre
2023-10-01 19:59:57 +05:30
Kovid Goyal
5d8d85c649
Fix compatibility with zeroconf >= 0.73
...
Fixes #2038 (fix compatibility with newer zeroconf)
2023-10-01 15:08:59 +05:30
Kovid Goyal
2858397017
Only use bytes on python >= 3.11
2023-10-01 15:02:51 +05:30
Kovid Goyal
b7fd0dde65
spawnv_passfds expects byte args in python 3.11
2023-10-01 14:59:13 +05:30
Kovid Goyal
f45bda394b
Edit book: Show full path to book being edited in the status bar
2023-10-01 09:04:26 +05:30
Kovid Goyal
e841b4c94d
DRYer
2023-10-01 08:40:42 +05:30
Kovid Goyal
b4c15a0e55
Edit book: When saving a copy add some convenience actions to edit the copy immediately iether in the current editor window or a new window
2023-09-30 14:28:36 +05:30
un-pogaz
f0fe25a87d
fix downloading files
2023-09-28 19:53:34 +02:00
un-pogaz
44523f9438
Add a online dictionaries importer
2023-09-28 18:09:47 +02:00
Kovid Goyal
82846b43c7
PDF metadata: Fix a regression that broke updating metadata in PDF files without an /Info dictionary
2023-09-28 18:08:49 +05:30
Kovid Goyal
f0d2639930
NOOK driver: For the Glowlight 2023 write the calibre metadata files into the NOOK sub-folder as the firmware doesnt allow writing files into the root folder
2023-09-28 09:48:01 +05:30
Kovid Goyal
597c47917f
E-book viewer: Workaround bug in Chromium where getBoundingClientRect() fails sometimes leading to incorrect calculation of anchor positions. Fixes #2037543 [E-book viewer: incorrect ToC item is gets highlighted]( https://bugs.launchpad.net/calibre/+bug/2037543 )
2023-09-28 09:36:08 +05:30
Eli Schwartz
f4fe3f254d
fix crash in Get Books when regenerating UIC files
...
Current versions of PyQt seem to generate code incompatible with our
class definition:
```
Traceback (most recent call last):
File "/home/eschwartz/git/calibre/src/calibre/gui2/actions/store.py", line 49, in do_search
return self.search()
^^^^^^^^^^^^^
File "/home/eschwartz/git/calibre/src/calibre/gui2/actions/store.py", line 55, in search
sd = SearchDialog(self.gui, self.gui, query)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/eschwartz/git/calibre/src/calibre/gui2/store/search/search.py", line 38, in __init__
self.setupUi(self)
File "/home/eschwartz/git/calibre/src/calibre/gui2/store/search/search_ui.py", line 84, in setupUi
self.results_view = ResultsView(parent=self.verticalLayoutWidget)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: ResultsView.__init__() got an unexpected keyword argument 'parent'
```
The issue is that arguments forwarded to the PyQt class are now being
generated using keyword arguments rather than non-keyword args. As a
direct wrapper over a class belonging to another project, we really
should forward both types just in case.
2023-09-27 21:59:15 -04:00
Kovid Goyal
8c3ff7e7aa
Edit book: Fix a regression in the previous release that caused Text search to sometimes not select matches correctly. Fixes #2034900 [Editor - Report: UnboundLocalError: local variable 'raw' referenced before assignment]( https://bugs.launchpad.net/calibre/+bug/2034900 )
2023-09-27 20:19:35 +05:30
Kovid Goyal
ff3af3ac15
E-book viewer: Make CFI calculation more robust especially on pages with very little content. Fixes #2037454 [E-book viewer: "Back" button doesn't work under some conditions]( https://bugs.launchpad.net/calibre/+bug/2037454 )
...
We were only testing two x values per y value. Instead test all 48.
2023-09-27 19:54:56 +05:30
Kovid Goyal
a3ae1ad46e
Convenience function to run the image popup
2023-09-27 07:47:07 +05:30
Charles Haley
f68293c7dd
Clean up setting the preference controlling whether library view columns can be moved with the mouse. Use a checkbox to make the current state clearer.
2023-09-25 20:28:56 +01:00
Kovid Goyal
7bde152ed3
Fix errors caused by .DS_Store files inserted into the .caltrash directory on macOS if the user happens to open .caltrash in Finder. Fixes #2037237 [NotADirectoryError when merging books on MacOS]( https://bugs.launchpad.net/calibre/+bug/2037237 )
2023-09-25 10:27:23 +05:30
Kovid Goyal
3d045fb230
Fix #2037172 [[Enhancement] "Find item in the Tag browser" input field should have a "Clear search history" context menu item]( https://bugs.launchpad.net/calibre/+bug/2037172 )
2023-09-24 10:24:25 +05:30
Kovid Goyal
34b3ee1138
Edit book: When copying files do it in order so that the files are pasted in the same order when pasting into another editor instance. Fixes #2037198 [Calibre Editor: "Paste # files from other editor instance" > Files Pasted Out of Order]( https://bugs.launchpad.net/calibre/+bug/2037198 )
2023-09-24 10:03:16 +05:30
Kovid Goyal
4af337c571
Fix #2037199 [[Enhancement] Calibre Editor: "Bulk rename the selected files" > Increase "Starting number" Field Input Digits]( https://bugs.launchpad.net/calibre/+bug/2037199 )
2023-09-24 07:40:03 +05:30
Kovid Goyal
a2e06b5132
DRYer
2023-09-23 08:29:14 +05:30