48930 Commits

Author SHA1 Message Date
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
828dbe5ee4
Merge branch 'patch-1' of https://github.com/yyolk/calibre 2024-02-16 08:28:55 +05:30
Joseph Chiocchi
0590429d49
Update .gitattributes - mark *.recipe as linguist-language=python
Sometimes syntax highlighting is picked up correctly on GitHub which uses linguist[^1], when the `*.recipe` includes a shebang for python it will syntax highlight. Other times it does not.

This change adds an attribute to `*.recipe` to mark it as a python language to linguist, following the documentation on overrides[^2].

Example without highlighting: [recipes/ad.recipe]

Example with highlighting (python syntax picked up via shebang):
[recipes/ambito_financiero.recipe]


[^1]: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-repository-languages
[^2]: 559a642694/docs/overrides.md


[recipes/ad.recipe]: aeb19dfedf/recipes/ad.recipe
[recipes/ambito_financiero.recipe]: aeb19dfedf/recipes/ambito_financiero.recipe
2024-02-15 17:20:07 -06:00
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
25adcae5b5
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2024-02-15 11:56:09 +05:30
unkn0w7n
f8b3652880 Andhrajyothy (telugu) recipe 2024-02-15 09:44:52 +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
556140dd10
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2024-02-13 12:21:54 +05:30
unkn0w7n
43d3ea4941 Update Swarajya Mag 2024-02-13 12:14:47 +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
Kovid Goyal
f580758732
Merge branch 'master' of https://github.com/cbhaley/calibre 2024-02-13 07:26:29 +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
2acb96a081
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2024-02-12 11:16:28 +05:30
unkn0w7n
d2ba5d180b nautil.us 2024-02-12 11:11:16 +05:30
Kovid Goyal
314a17a046
pep8 2024-02-11 19:33:31 +05:30
Kovid Goyal
87f9dd62fd
update Pro Physik 2024-02-11 19:33:06 +05:30
Kovid Goyal
1dc703da20
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2024-02-11 05:22:39 +05:30
unkn0w7n
9288eeea00 Update rtnews.recipe 2024-02-10 21:07:40 +05:30
Kovid Goyal
48327b08a9
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2024-02-10 10:06:03 +05:30
unkn0w7n
94b62da2b1 Update moneycontrol.recipe 2024-02-10 10:01:32 +05:30
Kovid Goyal
14caed3a6f
fix check for local with non-existent setting name 2024-02-09 14:42:48 +05:30
Kovid Goyal
86471d3a03
update Changelog v7.5.1 2024-02-09 12:17:52 +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 v7.5.0 2024-02-09 07:51:46 +05:30
Kovid Goyal
253d73b39f
pep8 2024-02-08 20:08:55 +05:30