44494 Commits

Author SHA1 Message Date
Charles Haley
f30a190b36 Change db.cache.virtual_libraries_for_books() to raise an exception when recursion is detected instead of returning an empty list. Using an exception gives a better chance of telling the user that the VL expression is wrong. 2022-01-03 11:47:38 +00:00
Kovid Goyal
6a3309175a
E-book viewer: Remove books that dont exist from the recently opened book list. Fixes #1956192 [Feature request: possibility to remove book from recently opened books in Viewer](https://bugs.launchpad.net/calibre/+bug/1956192) 2022-01-03 12:11:17 +05:30
Kovid Goyal
f0d5251692
Fix #1956198 [[Enhancement] View book from Book details window by pressing 'V'](https://bugs.launchpad.net/calibre/+bug/1956198) 2022-01-03 11:18:09 +05:30
Kovid Goyal
cfb011c3ff
pyqt6: More keyboard modifiers nonsense and another py310 float->int 2022-01-03 09:02:26 +05:30
Kovid Goyal
749d0351e8
Merge branch 'master' of https://github.com/cbhaley/calibre 2022-01-02 18:49:02 +05:30
Charles Haley
9a95d8b0c2 More CreateNewCustomColumn stuff.
- Improved documentation
- Check column headings for duplicates
- Method to return the current column headings as a dict
- Improved exception handling
2022-01-02 12:59:30 +00:00
Kovid Goyal
fbb5208aac
Completion popup: Fix display of items containing line breaks 2022-01-02 08:46:18 +05:30
Kovid Goyal
eb2360f6aa
Merge branch 'master' of https://github.com/cbhaley/calibre 2022-01-01 19:43:39 +05:30
Charles Haley
7b9bb6e624 Yet another version of CreateNewCustomColumn.
My apologies for the multiple commits. I have been working with @davidfor and we cycled a few times. I hope this is the last, barring bugs.
2022-01-01 13:20:38 +00:00
Kovid Goyal
f3183880e7
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1956129 [[Enhancement] render line breaks in custom column *description* on hover column title](https://bugs.launchpad.net/calibre/+bug/1956129)
2022-01-01 18:42:19 +05:30
Charles Haley
6fcd0eb8a5 Enhancement #1956129: render line breaks in custom column *description* on hover column title. 2022-01-01 11:39:32 +00:00
Kovid Goyal
3f16b5ac61
Update Reuters 2022-01-01 14:34:27 +05:30
Kovid Goyal
fdbffe60fe
MOBI output: Dont fail if input document contains invalid % based lengths. Fixes #1956097 [news download crashes with TypeError: '<' not supported between instances of 'float' and 'str'](https://bugs.launchpad.net/calibre/+bug/1956097) 2021-12-31 20:48:14 +05:30
Kovid Goyal
ce138b1744
Update Clarin 2021-12-31 20:46:51 +05:30
Kovid Goyal
f0d82724f9
pep8 2021-12-31 19:45:26 +05:30
Kovid Goyal
ac5c8858d6
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-12-31 19:45:00 +05:30
Charles Haley
40cae7cc81 More improvements to the new CreateNewCustomColumn class.
-- Added the ability to auto-generate a lookup name
-- Now checks the calibre "can't configure" before adding a new column
-- Fixed parameter names
2021-12-31 13:49:53 +00:00
Kovid Goyal
422258bcce
Update General Knowledge Today 2021-12-31 17:23:19 +05:30
Kovid Goyal
21ee73763a
Fix Preferences->Searching->Clear search histories not taking effect till a restart for some search boxes. Fixes #1956088 [Clear Search Histories not clearing search histories.](https://bugs.launchpad.net/calibre/+bug/1956088) 2021-12-31 13:38:49 +05:30
Kovid Goyal
addec17bb2
Merge branch 'image-xcf' of https://github.com/qykth-git/calibre 2021-12-31 12:59:25 +05:30
YOKOTA Hiroshi
bddb3bc001 media-types: use image/x-xcf rather than application/x-xcf to match gimp.desktop
See also:
  Re: [Gimp-developer] Mime type application/x-xcf in /etc/mime.types vs image/x-xcf in gimp.desktop
  https://mail.gnome.org/archives/gimp-developer-list/2021-July/msg00001.html
2021-12-31 13:39:25 +09:00
Kovid Goyal
907fd3262f
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-12-31 05:48:41 +05:30
Charles Haley
f3b15ec4b4 A bit of cleanup. 2021-12-30 20:59:09 +00:00
Charles Haley
8119f71db1 Improvements to the CreateNewCustomColumn class/method: add the display as a parameter. 2021-12-30 16:27:50 +00:00
Kovid Goyal
75afcfbd1c
Update Popular Science 2021-12-30 20:54:15 +05:30
Kovid Goyal
1daad1bda9
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-12-30 18:15:23 +05:30
Charles Haley
4540cd920e Enhancement 1956007: cc_icons dropdown in Template Tester.
This isn't the requested fix, which I am not going to do. Instead it extends the number of books in the test section of the template dialog from 1 to all selected.
2021-12-30 12:36:45 +00:00
Kovid Goyal
9dfa3f89db
calibredb catalog: Fix --ids and --search options not working for cvx/xml catalogs. Fixes #1955967 ['calibredb catalog' options broken: --ids and --search](https://bugs.launchpad.net/calibre/+bug/1955967) 2021-12-30 17:30:42 +05:30
Kovid Goyal
67cddcea52
Merge branch 'master' of https://github.com/cbhaley/calibre
Fix #1955732 [Hierarchical entries in user category may not merge correctly in tag browser](https://bugs.launchpad.net/calibre/+bug/1955732)
2021-12-25 19:55:14 +05:30
Charles Haley
2252d7f088 Bug #1955732: Hierarchical entries in user category may not merge correctly in tag browser
Note that this fix works with grouped search terms. 'Real' user categories will never be merged because the source category is part of the 'name'
2021-12-25 13:54:33 +00:00
Kovid Goyal
eb162a4821
pep8 2021-12-24 20:59:06 +05:30
Kovid Goyal
97934eb1b6
Remove debug print() 2021-12-24 20:58:28 +05:30
Kovid Goyal
c36036f05f
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-12-24 20:57:27 +05:30
Charles Haley
53926a0cb2 Enhancement: provide a method to create a new custom column using the dialog. It is intended for use by plugins 2021-12-24 15:03:30 +00:00
Kovid Goyal
e0dfaaa389
Attempt to fix Irish Times login 2021-12-23 11:01:49 +05:30
Kovid Goyal
1ce8a59eea
Add supernote a5x product id 2021-12-23 10:26:22 +05:30
Kovid Goyal
3ce5b7f2ad
Update paths to workaround Apple's security theatre 2021-12-23 10:23:56 +05:30
Kovid Goyal
df3a19ef42
Change supernote folder from Documents to Document 2021-12-22 21:19:24 +05:30
Kovid Goyal
d51a453a73
Equestria Daily by Timothee Andres 2021-12-20 10:29:51 +05:30
Kovid Goyal
aec2c1a551
AZW3 Input: Handle AZW3 files with incorrect TAGX Offset INDX header fields. Fixes #1955308 [MOBI reader loads TAGX from wrong offset](https://bugs.launchpad.net/calibre/+bug/1955308) 2021-12-19 08:56:36 +05:30
Kovid Goyal
172ee5d531
Update The BBC
For some reason it now serializes the article JSON as a dict serialized
as string.
2021-12-19 08:30:13 +05:30
Kovid Goyal
559bba5fa9
Also remember all files for the add formats button in the edit metadata dialog 2021-12-19 08:10:55 +05:30
Kovid Goyal
b50a2449fe
py310: More float->int goodness
Fixes #1955311 [Error converting ePUB to MOBI during Rasterizing SVG images](https://bugs.launchpad.net/calibre/+bug/1955311)
2021-12-19 07:58:19 +05:30
Kovid Goyal
dafa08e921
Fix path used to init_calibre module installation
Fixes #1553 (Fix python site-package libdir creation in FreeBSD)
2021-12-17 17:23:35 +05:30
Kovid Goyal
07b4563c36
py3compat: Another PDB ereader output fix 2021-12-17 17:13:25 +05:30
Kovid Goyal
1127c285bb
Merge branch 'fix_socket_close' of https://github.com/pawl/calibre 2021-12-17 11:28:54 +05:30
Paul Brown
4763f4363b close Connection socket after server disconnect 2021-12-16 23:49:13 -06:00
Kovid Goyal
c91d35ffa4
Use the correct enum for acceptnavrequest 2021-12-17 08:38:03 +05:30
Kovid Goyal
0759ab8589
Fix closing open book panel not quitting viewer 2021-12-17 08:36:17 +05:30
Kovid Goyal
ba1b75e9fd
Sort the names in the manage file excludes list 2021-12-17 07:29:41 +05:30