48559 Commits

Author SHA1 Message Date
unkn0w7n
aae88fa07e ... 2024-02-27 23:12:27 +05:30
Kovid Goyal
f6185b2e55
Fix for New Yorker stupidly serving photographs in PNG format 2024-02-27 22:45:50 +05:30
Kovid Goyal
09c17cc135
Fix #2054935 [[Enhancement] Switch focus to main calibre window when clicking Jump to this book in the library in the Full text search window](https://bugs.launchpad.net/calibre/+bug/2054935) 2024-02-27 13:48:14 +05:30
Kovid Goyal
826e35cb19
Edit book: Live CSS: Fix regression causing incorrect colors in calibre 7.
Yet another Qt regression. Sigh. This time it looks like QPalette color
propagation is broken.
2024-02-27 11:31:20 +05:30
Kovid Goyal
c5a9ce6bfc
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2024-02-26 10:46:23 +05:30
unkn0w7n
d587ddfbaf Update moneycontrol.recipe 2024-02-26 10:33:04 +05:30
Kovid Goyal
1ea4040a0d
... 2024-02-25 13:40:53 +05:30
Kovid Goyal
60a4a0c1f8
Merge branch 'master' of https://github.com/zomars/calibre 2024-02-25 13:40:13 +05:30
zomars
1f584ad77e Adds Amazon Mexico store 2024-02-22 11:44:43 -07:00
Kovid Goyal
fec7d8bddf
Allow deleting saved profiles from toolbar button 2024-02-22 11:31:20 +05:30
Kovid Goyal
4fb575d8fe
use cloned values from defaults as current value 2024-02-22 09:44:05 +05:30
Kovid Goyal
aeb0fdc473
Save toolbar actions in profile 2024-02-22 09:38:49 +05:30
Kovid Goyal
a65259b1c8
Add a toolbar button to quick switch profiles 2024-02-22 09:18:43 +05:30
Kovid Goyal
9bc695c843
Implement profiles for the Content server viewer
Fixes #1979022 [[Feature Request] Import/Export setting file for Content Server Viewer](https://bugs.launchpad.net/calibre/+bug/1979022)
2024-02-21 22:57:08 +05:30
Kovid Goyal
7a1a26f2e3
Make applying a profile in the standalone viewer more efficient 2024-02-21 21:12:22 +05:30
Kovid Goyal
3808bf47ca
Remove unused current_profile 2024-02-21 20:39:15 +05:30
Kovid Goyal
d016186860
Profiles basically work in standalone viewer 2024-02-21 20:36:46 +05:30
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
Kovid Goyal
bb2b974f77
Merge branch 'all-actions-add-icons' of https://github.com/un-pogaz/calibre 2024-02-20 14:35:29 +05:30
un-pogaz
3159f46b62 Add icons to actions in last section 2024-02-20 09:24:32 +01:00
Kovid Goyal
97cf6bc8d2
Merge branch 'master' of https://github.com/cbhaley/calibre 2024-02-20 08:27:23 +05:30
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
Kovid Goyal
1131cd94b6
Merge branch 'master' of https://github.com/cbhaley/calibre 2024-02-19 20:39:06 +05:30
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
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