Commit Graph

48476 Commits

Author SHA1 Message Date
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
Kovid Goyal 2132e31339 Full text search window: Add actions to the context menu to open the book at the clicked on result. Also allow using the view book shortcut to open the currently selected search result. Fixes #2052462 [[Enhancement] Press V to view book in the Full text search dialog](https://bugs.launchpad.net/calibre/+bug/2052462) 2024-02-06 09:28:44 +05:30
Kovid Goyal f179b8c9b9 When showing the FTS dialog pre populate the search box with the contents of the main calibre search box if the main search box contains a simple search. Fixes #2052460 [[Enhancement] Automatically search for what is typed in the main calibre Search field when opening the Full text dialog](https://bugs.launchpad.net/calibre/+bug/2052460) 2024-02-06 08:47:07 +05:30
Kovid Goyal 296e74e7d7 Merge branch 'recipe_el_diplo' of https://github.com/tdido/calibre 2024-02-06 08:37:39 +05:30
Tomás Di Domenico 3ad8452879 Update recipe for El Diplo (Le Monde Diplimatique Cono Sur)
Complete rewrite of the recipe. A more conservative and minimalistic
approach, it updates the look and feel to closely match the
one from the original publication, including adding internal article
images. It also fixes internal links which are now fully functional.
2024-02-05 17:39:34 +01:00
Kovid Goyal a725dd21ac Move panose-1 error nuking to new CSS checking code
Fixes #2052427 [After converting to epub and running a check-up for errors on the epub editor, always the following message appears: Unexpected unknown property “panose-1” (property-no-unknown).](https://bugs.launchpad.net/calibre/+bug/2052427)
2024-02-05 18:36:07 +05:30
Kovid Goyal 1f1e08980c ruff changed how it likes to be configured 2024-02-05 14:42:13 +05:30
Kovid Goyal d4245a018b pep8 2024-02-05 14:39:28 +05:30
Kovid Goyal 39505b9d55 Fix #2051207 [Editor: Insert Link produces two undo actions](https://bugs.launchpad.net/calibre/+bug/2051207) 2024-02-05 14:36:21 +05:30
Kovid Goyal d38baa022c pep8 2024-02-05 14:34:09 +05:30
Kovid Goyal aaeee5f7a3 Fix #2049968 [[Enhancement - E-book viewer] Unnecessary separator in Preferences > Shortcuts sections](https://bugs.launchpad.net/calibre/+bug/2049968) 2024-02-05 14:23:06 +05:30
Kovid Goyal f5c5a149e9 Show a warning when configuring colors with system user interface style 2024-02-05 12:11:14 +05:30
Kovid Goyal bdc000d2ec Wire up the color palette preferences into the main preferences GUI 2024-02-05 12:03:56 +05:30
Kovid Goyal 95c28f6ab4 Output the full path to the exe as part of basic debug info 2024-02-05 08:05:35 +05:30
Kovid Goyal 496815f1b1 Merge branch 'ugeskriftet-recipe' of https://github.com/morusn/calibre 2024-02-05 07:59:57 +05:30
morusn be521ff419 add ugeskriftet recipe 2024-02-04 20:18:10 +01:00
Kovid Goyal 1392a95abc Fix restore defaults 2024-02-04 22:32:05 +05:30
Kovid Goyal b7382d6f52 ... 2024-02-04 22:26:04 +05:30
Kovid Goyal b47e0d5125 UI for customizing palettes
Needs integration in to calibre preferences
2024-02-04 22:24:42 +05:30
Kovid Goyal 085862b062 Change to using a fixed standard light palette
This fixes all manner of subtle issues introduced by Qt's broken
attempts to map system colors to a QPalette.

1) Highlight color being same as Windows' accent color (this is anyway
   reverted in Qt 6.6)

2) Window titlebars not following system light/dark changes on Windows.

3) All the custom code that I wrote for tracking system light/dark
   changes can be dropped in favor of the new QStyleHints::colorScheme
   property

4) We had a fixed dark mode palette but not a fixed light mode palette.

I am sure people, especially on Linux, are going to complain about this,
but there are simply too many upsides. I will perhaps add a way to
configure the details of the light and dark palettes for people that
need it. This dialog could theoretically have a button to try to import
the standard system palette automatically to create the custom palette.
2024-02-04 11:52:10 +05:30
Kovid Goyal 3c70c1d90b Merge branch 'deprecated_urlopen_cafile' of https://github.com/salty-horse/calibre 2024-02-04 09:25:34 +05:30
Kovid Goyal 3a4787577b ... 2024-02-04 09:19:53 +05:30
Kovid Goyal 90a0a33723 Windows: Fix a regression in 7.0 that caused images referring to files on the disk within comments columns to not display in some circumstances 2024-02-04 09:18:30 +05:30
Ori Avtalion 5bd831665a Replace deprecated urlopen cafile parameter 2024-02-03 14:04:06 +02:00
Kovid Goyal 7e3ac04222 E-book viewer: Fix clock showing hour as zero instead of 12 between 12 and 1 am/pm 2024-02-03 09:13:33 +05:30
Kovid Goyal eebec37dc8 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2024-02-02 18:58:06 +05:30
unkn0w7n 26f78ac70a science_news update 2024-02-02 18:55:15 +05:30
Kovid Goyal c48d0700a4 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2024-02-01 19:13:12 +05:30
unkn0w7n 298ffba0b7 ... 2024-02-01 18:05:28 +05:30
unkn0w7n ad85cc9734 Update barrons.recipe 2024-02-01 18:04:02 +05:30
Kovid Goyal e1956f3cff Ignore a filenotfound error that happens during folder removal on windows despite exists() succeeding 2024-01-30 12:23:33 +05:30
Kovid Goyal 0c66368c9e Merge branch 'master' of https://github.com/unkn0w7n/calibre 2024-01-30 10:59:10 +05:30
unkn0w7n 4ebbe584fa Update financial_times.recipe 2024-01-30 09:49:05 +05:30
unkn0w7n a5ca38430b ... 2024-01-30 09:44:39 +05:30
Kovid Goyal 3fd6c7f915 ... 2024-01-29 11:30:25 +05:30
Kovid Goyal f01474325e Fix tooltips not being displayed for layout buttons in layout menu 2024-01-29 08:21:14 +05:30
Kovid Goyal a8dfb5885f pep8 2024-01-28 07:54:08 +05:30
Kovid Goyal d5a4741e99 Merge branch 'feat/martin-fowler-blog-recipe' of https://github.com/lucasloisp/calibre 2024-01-28 07:53:49 +05:30
Kovid Goyal 1289403dfb Merge branch 'feat/github-blog-recipe' of https://github.com/lucasloisp/calibre 2024-01-28 07:53:24 +05:30
Lucas Lois cb7343796c feat: creates a recipe for the Martin Fowler Blog 2024-01-27 18:44:07 -03:00
Lucas Lois e07173be3b feat: creates a recipe for the Github Blog 2024-01-27 18:29:06 -03:00
Kovid Goyal a44731fde4 Merge branch 'master' of https://github.com/cbhaley/calibre 2024-01-27 17:08:56 +05:30
Charles Haley c1b727ff52 Minor changes:
- Correct some comments so they reflect what the code is now doing.
- Make return None explicit in a few places.
- Wrap render_cover() in an if to check that cover_tuple is valid. This doesn't change behavior because the thrown exception would do the same thing, but being explicit is nice.
2024-01-27 11:35:32 +00:00
Kovid Goyal f3e214903b Merge branch 'master' of https://github.com/unkn0w7n/calibre 2024-01-27 13:03:06 +05:30
unkn0w7n fe60dd936f Update Business Today 2024-01-27 12:55:10 +05:30
Kovid Goyal 6f82b8e36c If there is an error rendering the cover thumbnail report it to the GUI with thumb=None 2024-01-27 09:06:01 +05:30
Kovid Goyal f97147afec Some optimizations for previous PR
1) Set device pixel ratio on generated QPixmap
2) Avoid copying image data when loading cover from library
3) Convert thumbnail to RGBA in cover thread so as to do less work in
   GUI thread
2024-01-27 09:01:52 +05:30