37144 Commits

Author SHA1 Message Date
Kovid Goyal
43338d6123
More work on profiles 2024-02-21 17:21:24 +05:30
Kovid Goyal
592dad1194
Keyboard shortcut to show profiles 2024-02-20 21:48:28 +05:30
Kovid Goyal
db3401b02b
More work on profiles 2024-02-20 21:05:52 +05:30
un-pogaz
3159f46b62 Add icons to actions in last section 2024-02-20 09:24:32 +01:00
Charles Haley
750635615f Don't escape the ampersand in the shortcut name.
Dealing with ampersand escapes is really a bother!
2024-02-19 16:26:12 +00:00
Charles Haley
e95d015789 Escape ampersands in the preference sections menu. 2024-02-19 15:07:29 +00:00
Kovid Goyal
d6a13440be
... 2024-02-19 18:55:11 +05:30
Kovid Goyal
51b3d8e31d
Merge branch 'interface-action-library-drop' of https://github.com/un-pogaz/calibre 2024-02-19 18:54:03 +05:30
Kovid Goyal
50ac6aa71c
Merge branch 'bookstore-chooser-fix' of https://github.com/qykth-git/calibre 2024-02-19 18:41:13 +05:30
Kovid Goyal
12e2b392ea
... 2024-02-19 18:33:11 +05:30
Kovid Goyal
60bc1b2b68
Merge branch 'all-actions-all-menu' of https://github.com/un-pogaz/calibre 2024-02-19 18:32:43 +05:30
Kovid Goyal
1add1a057f
Rename Preferences dialogs to sections 2024-02-19 18:27:54 +05:30
Kovid Goyal
7bc2a5a911
Merge branch 'master' of https://github.com/cbhaley/calibre 2024-02-19 18:27:13 +05:30
Charles Haley
181b9a3bac Add the individual preference dialogs to the preferences menu. Reasons:
- They are more accessible via the keyboard.
- The menu actions can be accessed by plugins
- Each individual dialog can be given a shortcut
2024-02-19 12:46:27 +00:00
YOKOTA Hiroshi
c530817e96 Fix book store chooser error
Book store chooser dialog can't open.
This dialog was opened by "Get Books" -> "Choose Stores" from tool button bar.

----
Traceback (most recent call last):
  File ".../calibre/gui2/actions/store.py", line 116, in choose
    d = StoreChooserDialog(self.gui)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../calibre/gui2/store/config/chooser/chooser_dialog.py", line 21, in __init__
    self.config_widget = StoreChooserWidget()
                         ^^^^^^^^^^^^^^^^^^^^
  File ".../calibre/gui2/store/config/chooser/chooser_widget.py", line 15, in __init__
    self.setupUi(self)
  File ".../calibre/gui2/store/config/chooser/chooser_widget_ui.py", line 35, in setupUi
    self.results_view = ResultsView(parent=Form)
                        ^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: ResultsView.__init__() got an unexpected keyword argument 'parent'
----
2024-02-19 20:50:02 +09:00
un-pogaz
101423c3df show menu if the plugin self implement a menu without action_add_menu 2024-02-19 08:27:56 +01:00
Kovid Goyal
6be3293166
More work on reader profiles 2024-02-19 10:33:10 +05:30
Kovid Goyal
32a4423efb
Remove xml:lang from <description> for <release> as well 2024-02-19 07:54:49 +05:30
un-pogaz
37d4946e97 Create subclass InterfaceActionWithLibraryDrop (DRY)
All actual implementation of `accepts_drops` for built-in InterfaceAction
are a "from_library" drag-and-drop. Create a subclass that implement the
relatives methods.
2024-02-18 20:43:07 +01:00
Kovid Goyal
49e7bf5c97
pep8 2024-02-18 21:20:56 +05:30
Kovid Goyal
52f80efdb9
Merge branch 'master' of https://github.com/cbhaley/calibre 2024-02-18 21:20:45 +05:30
Kovid Goyal
d10cdf8a86
Add <developer> tag to appstream metadata
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer
2024-02-18 20:25:13 +05:30
Charles Haley
c442fbfbb6 Add an action to show a menu all available GUI and plugin actions.
Use case:
- Action discovery. Eventually this action could be added to the default toolbar built by the welcome wizard.
- Ease of access to infrequently used actions.
- Shows shortcuts in most cases.
2024-02-18 13:50:47 +00:00
Charles Haley
c48220468a Clean up code as the problems with placement and arrows have gone away with new Qt versions. 2024-02-18 13:48:01 +00:00
Kovid Goyal
34743e4807
Fix #2054125 [ValueError: Failed to export image as JPEG with error: Image is empty](https://bugs.launchpad.net/calibre/+bug/2054125) 2024-02-17 10:10:48 +05:30
Kovid Goyal
be8082790a
Download remote background images and cache 2024-02-16 11:34:06 +05:30
Kovid Goyal
e15ab16153
Remove workaround for Qt file:// URL based images not rendering on Windows
The proper fix from Qt has been patched into the calibre windows build.
2024-02-16 09:33:00 +05:30
Kovid Goyal
aeb19dfedf
More Wayland time wasting
Wayland is designed so an application cant raise it sub windows without
also giving them keyboard focus. So write stupid boilerplate code
to ans request focus on wayland when raising a window. Sigh.
2024-02-15 14:37:10 +05:30
Kovid Goyal
773f7676b5
Remove <button> from all recipe downloads 2024-02-15 13:09:32 +05:30
Kovid Goyal
3cbcd0acc9
Change how background image works in preparation for profiles
Allow multiple background images and allow settings from browser and
desktop readers to work with each other
2024-02-15 09:35:09 +05:30
Kovid Goyal
558992008a
String changes 2024-02-14 10:57:23 +05:30
Kovid Goyal
28e71c1162
Windows: Fix a regression in calibre 7 that caused images in long text columns to not be displayed in the tooltip for the tooltip
Yet another Qt regression. Sigh.
https://bugreports.qt.io/browse/QTBUG-122201
2024-02-13 10:36:35 +05:30
Kovid Goyal
b9cdc80806
Add a link to the upstream bug report in the workaround code 2024-02-13 10:18:29 +05:30
Kovid Goyal
ae6ef2807d
Fix disabled items in menus having blurry text
Qt is a strange beast. This is because the fusion style draws a copy of
the text offset by 1px in the Light color from the disabled palette. Can
also be fixed by setting the light color to the window color but that
might have other undesirable effects.
2024-02-13 08:13:21 +05:30
Charles Haley
1f1c777886 Enhancement 2052897: save and restore GUI panel layouts.
I added this to the existing Layout Actions. In addition I added the ability to toggle panels on/off in addition to turning them on and off.

I am unable to test the docstrings.
2024-02-12 17:15:12 +00:00
Kovid Goyal
04adea1b10
string changes 2024-02-12 15:16:01 +05:30
Kovid Goyal
1ff9bf9e24
Edit book: Allow selecting multiple books to edit at once, opening all selected books in separate editor instances 2024-02-12 14:34:37 +05:30
Kovid Goyal
14caed3a6f
fix check for local with non-existent setting name 2024-02-09 14:42:48 +05:30
Kovid Goyal
dc1daee516
Handle PIL images in any mode by converting to RGBA 2024-02-09 12:16:52 +05:30
Kovid Goyal
8db9707e2e
Fix #2052766 [scrolling down books in latest version give error](https://bugs.launchpad.net/calibre/+bug/2052766) 2024-02-09 12:13:47 +05:30
Kovid Goyal
f947ecf414
version 7.5.1 2024-02-09 11:41:37 +05:30
Kovid Goyal
d123ff336c
Fix system default color palette not selecting dark palette on startup on some windows systems 2024-02-09 11:37:42 +05:30
Kovid Goyal
392215085d
version 7.5.0 2024-02-09 07:51:46 +05:30
Kovid Goyal
d7d9488807
... 2024-02-08 14:26:02 +05:30
Kovid Goyal
391430870a
Add a button to import colors from the system palette when using custom colors 2024-02-08 14:20:49 +05:30
Kovid Goyal
b288b964c8
Code for exporting a subset of preferences 2024-02-08 13:41:26 +05:30
Kovid Goyal
4cea6a59b5
Allow specifying richer metadata per setting 2024-02-08 09:37:43 +05:30
Kovid Goyal
219a1572f6
Edit book: When wrapping selected text in a tag, preserve the selection after wrapping. Fixes #2050100 [small problem in edit-mode](https://bugs.launchpad.net/calibre/+bug/2050100) 2024-02-07 07:20:42 +05:30
Kovid Goyal
c72d7d1d43
Fix #2050075 [Calibre Web Viewer and Cache for Offline Reading](https://bugs.launchpad.net/calibre/+bug/2050075) 2024-02-07 07:10:33 +05:30
Kovid Goyal
5f8930ab31
Fix #2052500 [[Enhancement] Unnessesary space in Edit book window title](https://bugs.launchpad.net/calibre/+bug/2052500) 2024-02-06 15:53:59 +05:30