35658 Commits

Author SHA1 Message Date
Kovid Goyal
ced4875ed2
Add an info dialog 2022-12-12 13:52:09 +05:30
Kovid Goyal
d63f0ff0d1
CS FTS: Implement opening viewer to search result 2022-12-11 21:43:55 +05:30
Kovid Goyal
ad6252ac41
Content server viewer: Fix CPU consumption when searching even after all matches are found 2022-12-11 21:36:52 +05:30
Kovid Goyal
7d9cbd81b8
... 2022-12-11 15:16:13 +05:30
Kovid Goyal
c1a0dc0db7
Fix a crash with a specific library
I haven't tracked down the root cause but simply updating the book
details panel after an event loop tick fixes it, so good enough for now.

Simply calling db.get_metadata() in the handler for current row changed
causes the crash. Which means it is some custom column template that is
depending on something in Qt causing the issue. There are enough
templates in this library that I dont feel like tracking it down.
2022-12-11 15:09:40 +05:30
Kovid Goyal
56ea0e545c
Get basic book opening working 2022-12-11 14:54:09 +05:30
Kovid Goyal
a784e359a2
More work on CS FTS 2022-12-11 13:11:27 +05:30
Kovid Goyal
7fb6e0971d
Edit book: Use <s> instead of <strike> 2022-12-11 08:49:40 +05:30
Kovid Goyal
142c96e91d
pep8 2022-12-09 17:52:32 +05:30
Kovid Goyal
cd1c550cde
More work on the FTS search page 2022-12-08 21:03:56 +05:30
Kovid Goyal
4b873f1941
Get the initial fts search page built 2022-12-08 08:57:07 +05:30
Kovid Goyal
23c673e8ab
Fix #1998679 [Enhancement Request: FTS indexing: suggestion for dialog text](https://bugs.launchpad.net/calibre/+bug/1998679) 2022-12-07 13:06:04 +05:30
Kovid Goyal
c62386684f
Content server: Start work on FTS integration 2022-12-07 12:56:12 +05:30
Kovid Goyal
7e2b7274fd
... 2022-12-07 12:19:12 +05:30
Kovid Goyal
ee104a3512
Fix #1998899 [Editor: "Export saved search to search panel" clears Wrap flag](https://bugs.launchpad.net/calibre/+bug/1998899) 2022-12-06 19:30:36 +05:30
Kovid Goyal
e845ebb3a3
string changes 2022-12-06 08:15:48 +05:30
Kovid Goyal
1bd1ed4e5a
Content server: Redirect the index page to always have trailing slash when using URL prefixes. Fixes #1998767 [Calibre content server prefix not used for mobile link](https://bugs.launchpad.net/calibre/+bug/1998767) 2022-12-05 18:45:56 +05:30
Kovid Goyal
80a60fa675
Merge branch 'master' of https://github.com/cbhaley/calibre
Check library: Allow ignoring folder names as well as files names. Fixes #1998705 [Exclude folder names from “Check Library” results](https://bugs.launchpad.net/calibre/+bug/1998705)
2022-12-05 18:03:24 +05:30
Charles Haley
ec3443ce48 Enhancement #1998705: Exclude folder names from “Check Library” results.
I also added tooltip text saying that ignoring folders and files in book folders is asking for data loss.
2022-12-05 12:24:27 +00:00
Charles Haley
eb1858165a Bug #1997926: in_tag_browser appears in Search & Replace 2022-12-04 15:48:21 +00:00
Charles Haley
bfb5a2546e Enhancement #1998036 : MDE: Option to view full datetime 2022-12-04 15:43:29 +00:00
Kovid Goyal
e7e5be3b7b
Book list: Workaround for change in Qt 6 behavior where clicking on an already selected row does not deselect other rows
It's not clear to me why this is a bad thing, but since its a change in
behavior from calibre < 6, revert it.
2022-12-02 09:07:16 +05:30
Kovid Goyal
7e7b8e75e6
Windows: Fix a regression in calibre 6 causing Open With to not extract icons from EXE files. Fixes #1998165 [Enhancement Request: Changing icon of Open With application: Icons from executable](https://bugs.launchpad.net/calibre/+bug/1998165)
More pyqt6 goodness. QImage::fromHICON is not wrapped in PyQt6, so we
wrap it ourselves rather than waiting for PyQt6 to be fixed.
2022-11-30 06:54:34 +05:30
Kovid Goyal
1f7af6dd02
Edit metadata: Show a tooltip witht he exact time for builtin date fields 2022-11-29 12:18:07 +05:30
Kovid Goyal
fc14d0df1f
better error message when insufficient metadata is supplied for amazon plugin 2022-11-27 10:22:31 +05:30
Kovid Goyal
fb34bd9622
Also sort user dictionaries in context menu for code editor
And in the spell check dialog make the default dictionary the initial
active dictionary when the dialog is opened.
2022-11-25 13:07:29 +05:30
Kovid Goyal
3cd0a296bd
version 6.9.0 2022-11-25 07:27:34 +05:30
Kovid Goyal
5a404de21a
Merging books: Fix title sort not being updated when the title is updated. Fixes #1996802 [Merging book into Unknown doesn't copy title sort](https://bugs.launchpad.net/calibre/+bug/1996802) 2022-11-24 11:12:20 +05:30
Kovid Goyal
643cfb3c0f
E-book viewer: When exporting highlights as plain text include titles from chapters at all levels not just the first level 2022-11-23 17:14:58 +05:30
Kovid Goyal
528133d7db
Content server: Fix incorrect sorting of highlights in the same paragraph 2022-11-23 15:39:33 +05:30
Charles Haley
dbbb96fa05 Add more error checking. 2022-11-20 11:47:55 +00:00
Kovid Goyal
6c4f3d85ab
Nook driver: Put files in NOOK/Books instead of NOOK/My Files on recent nook devices so they are all listed in one place in the NOOK UI. See #1990730 (books saved in wrong directory on nook 4e) 2022-11-20 11:02:08 +05:30
Kovid Goyal
67bcfac6b7
Edit book: Reports: Show the number of words per file in the Files section of the report 2022-11-20 10:46:23 +05:30
Kovid Goyal
c0fce03703
Fix #1996431 [Sort By tool - Select sortable columns is one-at-a-time](https://bugs.launchpad.net/calibre/+bug/1996431) 2022-11-20 10:04:30 +05:30
Kovid Goyal
7dbdfd565d
Retry deleting since on windows something could have locked a file 2022-11-20 09:11:49 +05:30
Charles Haley
3bfb3ccf6f Move the commit to after the error check 2022-11-19 15:17:56 +00:00
Charles Haley
301cd03cd4 Bug(s) #1997137: Tag browser error.
There are two independent problems here.

1) The exception is caused by right-clicking in the white space of the tag browser. I can't make it happen right-clicking anywhere else. It has nothing to do with grouped searches.

2) The "creation of grouped search terms" problem has been there since forever. The search preferences didn't tell the tag browser to completely rebuild the tree. Restarting calibre fixed it.
2022-11-19 10:06:57 +00:00
Kovid Goyal
c984e6913a
Merge branch 'master' of https://github.com/cbhaley/calibre 2022-11-17 19:41:46 +05:30
Charles Haley
155d18f84d Small improvement on previous commit: only offer changing the search folder icon if search is hierarchical. 2022-11-17 13:33:49 +00:00
Charles Haley
1fc7cdd2f5 Bug 1996649: Enhancement: Tag Browser: Use search folder icon when appropriate 2022-11-16 10:47:17 +00:00
Kovid Goyal
414991fa00
Cleanup previous PR 2022-11-15 19:42:39 +05:30
Charles Haley
1ecb96d76a Added the field "template" to calibredb list. It uses the compatibility technique you suggested.
More info in the PR.
2022-11-15 12:29:07 +00:00
Charles Haley
0d01c12bf4 Bug #1996551: Possible bug: Similar books reassigned when grouped search renamed
Revert to the default if the field used in a similar search is removed (or renamed).
2022-11-15 12:10:53 +00:00
Charles Haley
088e9b1b47 Bug #1996559: Saved Search: Renamed saved search oddities
Changed saved search nodes generated by walking a hierarchy to do nothing when clicked and to have an appropriate tooltip.
Also removed the search icon for these saved search nodes, since they aren't searches.
2022-11-15 11:22:29 +00:00
Kovid Goyal
524f70ccec
Content server viewer: When exporting highlights as text include chapter titles 2022-11-14 11:04:59 +05:30
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