48632 Commits

Author SHA1 Message Date
Kovid Goyal
30f7813171
pep8 2023-11-16 20:11:08 +05:30
Kovid Goyal
dec4f9f82e
Restore garbage removal on podofo save as we now bundle a version of podofo with the fix 2023-11-16 20:08:10 +05:30
Kovid Goyal
ae5ea18ccf
Do not save resources in document for book details panel as I dont know what hte lifetime of saved resources is 2023-11-16 20:01:00 +05:30
Kovid Goyal
308c6d4389
string changes 2023-11-16 19:38:02 +05:30
Kovid Goyal
0a23fabd5b
Skip test that breaks because of sqlite bug on the broken version of sqlite 2023-11-16 19:26:12 +05:30
Kovid Goyal
6516163afc
PDF Output: Fix an error when trying to set header or footer with an input document that has invalid content after the main body. Fixes #2040074 [PDF transition fails - number of header/footer pages](https://bugs.launchpad.net/calibre/+bug/2040074) 2023-11-16 19:11:31 +05:30
Kovid Goyal
1643fc08ad
Show the previously used language, if any, second in the language selection drop down. Fixes #2042804 [[Enhancement] Remeber the last used language](https://bugs.launchpad.net/calibre/+bug/2042804) 2023-11-16 17:26:31 +05:30
Kovid Goyal
50474f005c
Showing chrome should close an active footnote popup first and only show chrome if the user repeats the action. Fixes #2041848 [[Enchanement] E-book viewer: Esc should close the footnote window](https://bugs.launchpad.net/calibre/+bug/2041848) 2023-11-16 16:57:54 +05:30
Kovid Goyal
6b7a0ed306
... 2023-11-16 11:39:08 +05:30
Kovid Goyal
ad69956d65
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2023-11-15 11:08:38 +05:30
unkn0w7n
2a619e448e Update financial_times.recipe 2023-11-15 10:47:46 +05:30
Kovid Goyal
c67412e1cf
Update the date in the Google consent cookie 2023-11-15 08:23:25 +05:30
Kovid Goyal
4c68fafd41
Fix catalog tags not being preserved 2023-11-14 21:45:26 +05:30
Kovid Goyal
f9c7572b88
Metadata download: Fix downloads from Google not working in Europe. Fixes #2043415 [downloading covers from Google Images ans open library fails](https://bugs.launchpad.net/calibre/+bug/2043415) 2023-11-14 21:35:03 +05:30
Kovid Goyal
148a0792a2
Merge branch 'master' of https://github.com/cbhaley/calibre 2023-11-13 21:36:24 +05:30
Charles Haley
42e07a3b14 Small optimization of commit b43a329 2023-11-13 15:59:37 +00:00
Charles Haley
fa9061660e
Enhancement 2043330: Template function to fetch links
I put this in notes to avoid any hassle with collisions with the other new template functions.
2023-11-13 19:21:44 +05:30
Kovid Goyal
bba616de82
Notes/comments editor: When right clicking on a link, add a menu item to open the link 2023-11-13 19:21:44 +05:30
Kovid Goyal
d7a9c7f8f9
string changes 2023-11-13 19:21:44 +05:30
Kovid Goyal
e7abf626bc
Book details: Fix Manage authors via context menu not working 2023-11-13 19:21:44 +05:30
Kovid Goyal
8ea5281a47
Bump beta version 2023-11-13 19:21:44 +05:30
Kovid Goyal
81708d3614
Content server home page: Show the three most recently added books in the default library 2023-11-13 19:21:43 +05:30
Kovid Goyal
896df3daf9
Content server: Add button to return to books page at top level of controls 2023-11-13 19:21:43 +05:30
Kovid Goyal
512c1e34b3
Fix a regression that caused popup modals to no longer be horizontally centered 2023-11-13 19:21:43 +05:30
Charles Haley
3fa526fc8e
Apologies -- I left some of the icons as class attributes. 2023-11-13 19:21:43 +05:30
Charles Haley
bfdebb1c7e
Icon cache changes:
1. Add an icon cache to QIcon.
2. Use the cache for every icon getter in these dialogs.
2023-11-13 19:21:43 +05:30
Kovid Goyal
b5c649b4de
Do not make icons class attributes
class attributes are evaluated at import time loading a bunch of icons
is an undesired side effect for simply importing code, not to mention
that I am not sure that the icon machinery will always be working
in all contexts where code is imported.
2023-11-13 19:21:43 +05:30
Charles Haley
27bea0a999
Several changes:
1. Improve performance by caching all icons.
2. Use different icons instead of a check mark for notes. Sorting uses the icon.
3. In manage tags, make the edit button on the left work on all editable cells. Correct the tooltip.
4. In manage tags, put the button press shortcut descriptions into the tooltips.
5. In manage authors, add an "Edit cell" button that works with all editable cells.
2023-11-13 19:21:43 +05:30
Charles Haley
07ceef1927
Set the focus to the table whenever it is rebuilt. Saves a lot of tabbing. 2023-11-13 19:21:43 +05:30
Charles Haley
1474957e99
Added the third radio button and made them exclusive.
I solved the vertical space problem by eliminating the content margins.
2023-11-13 19:21:43 +05:30
Charles Haley
f176c4ac36
Add a "Show items in selected books" choice to manage tags and manage authors.
Radio buttons are more visually intuitive than checkboxes, but it is a little strange not having a "Use all" radio button. You click the radio button again to turn it off. Adding the third button takes up more vertical space than it is worth. Switching back to checkboxes is trivial.
2023-11-13 19:21:43 +05:30
Kovid Goyal
b43a3295fb
Cleanup previous PR 2023-11-13 19:21:43 +05:30
un-pogaz
d40ceb1643
Use user custom icons 2023-11-13 19:21:43 +05:30
Charles Haley
f55c0547a7
I broke publisher. Fixed. 2023-11-13 19:21:43 +05:30
Charles Haley
c3ccacbf57
manage_categories: If the current cell is in a category, add editing notes and links for the book's individual items 2023-11-13 19:21:43 +05:30
Kovid Goyal
f4db41bf82
Show note dialog: Fix links not being activated when clicked 2023-11-13 19:21:43 +05:30
Kovid Goyal
31611e434a
More fts5 tests 2023-11-13 19:21:42 +05:30
Kovid Goyal
63a2fa9474
Revert removal of context menu for sandboxed iframes
The context menu is needed for copying text on mobile devices.
2023-11-13 19:21:42 +05:30
Kovid Goyal
909654fa39
Content server: Book details: Open links in comments fields in the same window rather than a new window 2023-11-13 19:21:42 +05:30
un-pogaz
7a5bf8be33
improve NotesUtilities 2023-11-13 19:21:42 +05:30
Kovid Goyal
705a11cd50
Bump beta version 2023-11-13 19:21:42 +05:30
Kovid Goyal
fba9e98458
Include the PoDoFo garbage collection fix
https://github.com/podofo/podofo/issues/108

...
2023-11-13 19:21:42 +05:30
Kovid Goyal
a45267eaf4
fix notes editor changes in the HTML view not being saved until switching back to th enormal view 2023-11-13 19:21:42 +05:30
Kovid Goyal
768aabceb3
Fix a regression that broke the comments editor on the server 2023-11-13 19:21:42 +05:30
Kovid Goyal
d124d50faf
fix type signature 2023-11-13 19:21:42 +05:30
Charles Haley
3eb15353ec
Changes to category editors:
- Eliminate the NotesItem class for performance
- Ensure the edited icon is displayed as appropriate
- Add context menus
- Lots of refactoring
- Bug fixes for tag_list... where changes were lost when the list was filtered

Opening authors and tags for the "big library" now takes at most a few seconds.

I will continue to test it. I wouldn't be surprised if I broke something.
2023-11-13 19:21:42 +05:30
Kovid Goyal
13d584cfb8
another return in conn.execute loop 2023-11-13 19:21:42 +05:30
Kovid Goyal
e57840f244
... 2023-11-13 19:21:42 +05:30
Kovid Goyal
00089388e1
Mark method as being read_api 2023-11-13 19:21:42 +05:30
Kovid Goyal
a54c93a95d
... 2023-11-13 19:21:42 +05:30