Kovid Goyal
7947010d73
Edit book: Allow using ctrl+shift+t in addition to ctrl+alt+t for selecting the contents of a tag
2022-11-13 22:17:50 +05:30
Kovid Goyal
1e1c15e3fe
Alphabetically sort popup menu of user dictionaries when adding a word to them
2022-11-13 09:10:33 +05:30
Kovid Goyal
0b0070167d
Ensure there is some space between the separator handle dots and the separator edge
2022-11-13 09:01:39 +05:30
Kovid Goyal
87ca4d6fe2
Dont rely on shadow color for separator dots as it seems to vary between systems
...
Instead use text color + alpha
2022-11-13 07:48:55 +05:30
Kovid Goyal
4cb02b4d4d
Smooth the separator handle dots by antialiasing them
2022-11-13 07:44:39 +05:30
Kovid Goyal
e8f27b722c
Merge branch 'master' of https://github.com/cbhaley/calibre
2022-11-13 06:46:23 +05:30
Charles Haley
4045ae7d86
Add context menu action to tag browser to turn on/off sub-categorization for a category
2022-11-12 18:03:43 +00:00
Kovid Goyal
577e550a54
Edit book: Fix a rare error when running the Reports tool
...
py3 delights again
2022-11-12 13:17:57 +05:30
Charles Haley
c7a250a849
[Bug 1996020]: Bulk Metadata Editor: Inconsistency on 'Clear' button
...
Clicking clear on DateTime setting the apply box is wrong. Fixed.
2022-11-09 10:13:05 +00:00
Kovid Goyal
1211aef0bc
Fix #1996002 [[Bug] ebook edit subset embedded fonts fail]( https://bugs.launchpad.net/calibre/+bug/1996002 )
2022-11-09 14:29:43 +05:30
Kovid Goyal
d535259677
More idiomatic
2022-11-09 08:07:31 +05:30
Charles Haley
dbb5c414fc
Make the saved searches menu honor whether searches is hierarchical or not.
2022-11-08 14:31:34 +00:00
Kovid Goyal
0bc512bc06
Fix #1995867 [Crash in metadata's cover generator]( https://bugs.launchpad.net/calibre/+bug/1995867 )
2022-11-07 19:11:39 +05:30
Kovid Goyal
6ff213ff0c
Edit book: Fix regression in previous release causing applying any container update marking all open image editors as modified.
...
No choice but to implement only_if_different and hope that it is
accurate.
2022-11-07 15:28:14 +05:30
Kovid Goyal
9e008a62bc
Sending by email: When adding comments also add series
2022-11-07 10:23:29 +05:30
Kovid Goyal
b37a50336b
also recognize @free.kindle.com in addition to @kindle.com
2022-11-07 08:39:22 +05:30
Charles Haley
554ef89482
Fix for tag browser "AttributeError: 'NoneType' object has no attribute 'name'"
...
I found this by accident:
calibre 6.8* embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
[...]
File "C:\CBH_Data\calibre.git\calibre_dev\src\calibre\gui2\tag_browser\view.py", line 981, in show_context_menu
AttributeError: 'NoneType' object has no attribute 'name'
2022-11-05 13:16:09 +00:00
Charles Haley
2260c22cac
Fix regression that removed the ability to set a shortcut for the 'Book list header menu' action
2022-11-04 12:23:27 +00:00
Kovid Goyal
fa19925f86
Fix a regression in the previous release that caused copying book details to clipboard to use unix line endings on windows
2022-11-04 11:05:27 +05:30
Kovid Goyal
c909952238
version 6.8.0
2022-11-04 07:45:26 +05:30
Kovid Goyal
a5f4b90e47
Update Amazon metadata download plugin for website changes
2022-11-03 22:23:53 +05:30
Kovid Goyal
58e506d0cd
EPUB Input: Fix empty adobe page number template file causing conversion to fail. Fixes #1995551 [[Bug] Convert EPUB Fail (TypeError: cannot convert 'NoneType' object to bytes)]( https://bugs.launchpad.net/calibre/+bug/1995551 )
2022-11-03 11:07:19 +05:30
Kovid Goyal
f77e2d693d
When emailling to kindle set the filename based on the post plugboard title
2022-11-01 08:30:57 +05:30
Kovid Goyal
4b05986bbd
Fix drop down showing tags instead of authors in the author mapper
2022-10-31 19:48:15 +05:30
Kovid Goyal
2819ff2c63
Full text search: Show an error when trying to select a book that is not currently visible in the calibre library. Fixes #1993044 [Enhancement Request: FTS: Notification when trying to select currently unavailable book]( https://bugs.launchpad.net/calibre/+bug/1993044 )
2022-10-31 13:12:41 +05:30
Kovid Goyal
fc8c0979d1
AZW3 Input: Generate mimetypes for fonts that match what the editor expects. Fixes #1993496 [problem converting EPUB to AZW3]( https://bugs.launchpad.net/calibre/+bug/1993496 )
2022-10-31 06:15:35 +05:30
Kovid Goyal
9aea6019e1
Book details: Improve plain text formatting when copying to clipboard. Fixes #1993753 [Copy Book Details puts column names and values on separate lines]( https://bugs.launchpad.net/calibre/+bug/1993753 )
2022-10-31 05:41:51 +05:30
Kovid Goyal
608b328f25
E-book viewer: Fix rendering of comments in metadata display when using a dark color scheme. Fixes #1995214 [Metadata comments in E-book viewer have white background in any dark color scheme]( https://bugs.launchpad.net/calibre/+bug/1995214 )
2022-10-31 05:11:21 +05:30
Kovid Goyal
f0ba30d7d3
Conversion pipeline: Fix CSS styles applied to SVG elements being discarded
2022-10-30 19:49:29 +05:30
Kovid Goyal
d4bc5a73fd
AZW3 Input: Fix svg images that use a prefix for the SVG namespace not being recognized. Fixes #1994988 [Pictures are missing when converting from Epub to Azw3]( https://bugs.launchpad.net/calibre/+bug/1994988 )
2022-10-30 19:27:12 +05:30
Kovid Goyal
73637baaa9
Edit book: Fix double clicking in the see what changed dialog not opening the file in the editor since calibre 6.0
...
PyQt6's enums strike again
2022-10-30 08:55:31 +05:30
Kovid Goyal
57a3641e54
Edit book: Fix modified indicator on images not working correctly when replacing the image
2022-10-30 08:50:11 +05:30
Charles Haley
7679ec5b1f
Improved Metadata deepcopy recursion fix.
...
It was possible for the recursion to occur if mi.deepcopy() was called after (un)safe_format(). Change the state save/restore mechanism to ensure all instance variables are restored to base settings.
2022-10-29 15:07:00 +01:00
Charles Haley
b8b63c6cdf
Fix for infinite recursion in Metadata.deepcopy() that crashed the wireless driver, and would probably crash other things as well.
...
See https://www.mobileread.com/forums/showthread.php?p=4269072#post4269072
2022-10-29 14:10:31 +01:00
Kovid Goyal
ed1ad7a38d
Add some tooltips
2022-10-27 17:37:05 +05:30
Kovid Goyal
3d1f332e9f
Move code for CalibreStyle into its own file
2022-10-27 09:59:08 +05:30
Kovid Goyal
c8fa0ca9b3
...
2022-10-26 22:06:57 +05:30
Kovid Goyal
1564fe7bf7
Allow using a "plugin_tweak" to suppress geometry debug output
2022-10-26 21:55:17 +05:30
Kovid Goyal
98e59d96b7
For some reason the splitters are wider in the editor/viewer than in the main GUI so use the actual splitterhandle pixel metric to draw the dots otherwise they look too large
2022-10-26 21:46:18 +05:30
Kovid Goyal
45f82b9676
DRYer
2022-10-26 21:24:09 +05:30
Kovid Goyal
cac7d37d50
Merge branch 'master' of https://github.com/cbhaley/calibre
2022-10-26 20:58:16 +05:30
Kovid Goyal
957953a212
Get rid of BasicSplitter
...
Move custom drawing of splitter handle into the style where it belongs.
This means all splitters now use the custom handle without needing to
sprinkle a special class everywhere.
Note that this only works when using the calibre style not the system
one. This is by design, since we do not want to override drawing of
"system" components.
2022-10-26 20:53:45 +05:30
Charles Haley
8a693530b1
As I discussed in the previous PR, this commit makes the cover adapt to the new area when the book details pane changes size. I used the same technique you used in .widgets.
2022-10-26 16:14:40 +01:00
Kovid Goyal
98811a1999
Cleanup previous PR
...
- Improve rendering of splitter handle using fewer, closer spaced,
circular dots
- Fix book details splitter not being rendered correctly on first start
when there is no saved state to restore
- Remove geometry save/restore of splitter as this is handled by
restore_state
- Remove call to setChildrenCollapsible before any children were added,
causing Qt to print an error to stderr
Fixes #1994065 [Enhancement Request: Details pane: Splitter between cover and details](https://bugs.launchpad.net/calibre/+bug/1994065 )
2022-10-26 20:16:53 +05:30
Charles Haley
e6ca2217a2
Related to Enhancement Request #1994065 : Details pane: Splitter between cover and details
...
This is a rather invoved PR. I first looked at putting a splitter in book details, and decided to in the process fix something that has bothered me for years. On Windows in light mode I can't see the splitter handles. In dark mode I can, but I run in light mode and don't want to change. This PR adds a custom QSplitterHandle class that draws the handle depending on the palatte.
The PR includes changes for the splitters in classes I know how to test: the main UI, Pinned columns, QuickView, Edit metadata, tweak books, single download metadata, Check library, Book info, and (of course) Book details.
2022-10-25 21:19:53 +01:00
Kovid Goyal
b2eb525a42
When sending by email to kindle dont include the author in the filename as amazon is currently reading the author from the file metadata but not the title. Fixes #1994136 [Send to Kindle gets wrong title]( https://bugs.launchpad.net/calibre/+bug/1994136 )
...
Roll eyes.
2022-10-25 17:24:08 +05:30
Kovid Goyal
c143ece70c
py3: Type of exception raised has changed leading to corrupt trailing data becoming unrecoverable. Fixes #1994103 [[Bug] mobi convert TypeError: ord() expected a character, but string of length 0 found]( https://bugs.launchpad.net/calibre/+bug/1994103 )
2022-10-25 10:52:35 +05:30
Kovid Goyal
3c5b4bf212
Remove linux specific centering of preferences dialog
2022-10-24 22:48:15 +05:30
Kovid Goyal
7addd2b2d4
pep8
2022-10-24 21:31:01 +05:30
Charles Haley
6374517dd4
Template debugger: Add breakpoints for python templates. On a breakpoint open a dialog displaying variables in the current frame.
...
Also indicate when the debugger is waiting for the 'Go' button. This fixes problems when people don't notice they have checked the Enable breakpoints box.
2022-10-24 13:48:57 +01:00