34370 Commits

Author SHA1 Message Date
Charles Haley
843dc628c7 Enhancement: allow sorting the columns in the create custom column dialog. 2022-01-06 13:25:30 +00:00
Kovid Goyal
6b10f5cc81
pep8 2022-01-05 22:05:56 +05:30
Charles Haley
ef75f82fc0 Bug 1956377: lookup name duplicity is not checked when editing user-defined column
Fixing this required substantial cleanup of the dialog.

While there I added a column to the dialog showing the status of the column: edited, new, deleted.
2022-01-05 16:23:57 +00:00
Kovid Goyal
5c3376f778
py310: More float->int goodness 2022-01-05 09:26:50 +05:30
Kovid Goyal
ec72e4f39d
Check for deletion in worker thread before emitting signal 2022-01-03 21:23:13 +05:30
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
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
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
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
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
f0d82724f9
pep8 2021-12-31 19:45:26 +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
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
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
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
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
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
1ce8a59eea
Add supernote a5x product id 2021-12-23 10:26:22 +05:30
Kovid Goyal
df3a19ef42
Change supernote folder from Documents to Document 2021-12-22 21:19:24 +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
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
07b4563c36
py3compat: Another PDB ereader output fix 2021-12-17 17:13:25 +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
Kovid Goyal
3477e6395c
version 5.34.0 2021-12-17 06:10:19 +05:30
Kovid Goyal
5e695e8d96
py310: And another. Fixes #1955069 [Quick-select Virtual Library broken w/ python3.10](https://bugs.launchpad.net/calibre/+bug/1955069) 2021-12-17 05:29:24 +05:30
Kovid Goyal
b83560f85c
string changes 2021-12-16 21:58:01 +05:30
Kovid Goyal
d350a121d8
Edit book: Spell check: Add an exclude files button 2021-12-16 21:26:44 +05:30
Kovid Goyal
a507bb01ce
py310: More float->int goodness
Fixes #1955024 [Failed to start Calibre](https://bugs.launchpad.net/calibre/+bug/1955024)
2021-12-16 16:14:16 +05:30
Kovid Goyal
183e5c3be3
Merge branch 'close' of https://github.com/xxyzz/calibre 2021-12-16 10:48:55 +05:30
Kovid Goyal
c615bf8b1c
Edit book: Fix pressing F8 to jump to next misspelled word not working after last word in current file 2021-12-16 10:46:38 +05:30
xxyzz
b37a4b1f7a
close sysfs file 2021-12-16 13:15:21 +08:00
Kovid Goyal
c3925db827
py310: Yet another float->int 2021-12-16 08:18:09 +05:30
Kovid Goyal
ff1ee01b3b
py310: Fix #1954951 [manual trimming of cover throws exception w/ python 3.10](https://bugs.launchpad.net/calibre/+bug/1954951) 2021-12-16 08:16:46 +05:30
Kovid Goyal
0a9778caa3
py3 compat: Fix PDB ereader output broken in calibre 5
Fixes #1954889 [Error when converting to pdb ereader](https://bugs.launchpad.net/calibre/+bug/1954889)
2021-12-15 13:36:24 +05:30
Kovid Goyal
2c6a73534a
Fix #1953469 [Private bug](https://bugs.launchpad.net/calibre/+bug/1953469) 2021-12-15 13:33:41 +05:30
Kovid Goyal
c1dc45a79f
Edit book: Reports: Include descendant selectors that use classes when counting class usage. Fixes #1954839 [Style classes wrongly reported as 0 (unused)](https://bugs.launchpad.net/calibre/+bug/1954839) 2021-12-15 10:46:17 +05:30
Kovid Goyal
8c2aa4182c
DRYer 2021-12-15 08:15:26 +05:30
Kovid Goyal
4669ca7d8b
EPUB/MOBI Catalogs: Increase the maximum thumbnail size to 3 inches from 2 inches 2021-12-14 20:43:40 +05:30