Commit Graph

47674 Commits

Author SHA1 Message Date
Kovid Goyal 0872843a8b Merge branch 'patch-sci-am-recipe' of https://github.com/ping/calibre 2023-09-29 16:03:18 +05:30
ping 6a9c1e6a86 [recipe] Fix cover url for Scientific American 2023-09-29 17:33:32 +08:00
Kovid Goyal e9303159d0 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2023-09-29 13:08:40 +05:30
unkn0w7n ba368aba92 Update toiprint.recipe 2023-09-29 10:36:59 +05:30
Kovid Goyal 79fb9a96b7 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2023-09-28 20:55:08 +05:30
unkn0w7n a97991d8aa horizons update 2023-09-28 20:49:28 +05:30
Kovid Goyal 82846b43c7 PDF metadata: Fix a regression that broke updating metadata in PDF files without an /Info dictionary 2023-09-28 18:08:49 +05:30
Kovid Goyal 1f296569f3 Use a timestamp of now rather than 0 for the sdist tarball 2023-09-28 09:56:42 +05:30
Kovid Goyal f0d2639930 NOOK driver: For the Glowlight 2023 write the calibre metadata files into the NOOK sub-folder as the firmware doesnt allow writing files into the root folder 2023-09-28 09:48:01 +05:30
Kovid Goyal 597c47917f E-book viewer: Workaround bug in Chromium where getBoundingClientRect() fails sometimes leading to incorrect calculation of anchor positions. Fixes #2037543 [E-book viewer: incorrect ToC item is gets highlighted](https://bugs.launchpad.net/calibre/+bug/2037543) 2023-09-28 09:36:08 +05:30
Kovid Goyal 879ebdf68e Reset all dates to zero in sdist tarball 2023-09-28 08:39:28 +05:30
Kovid Goyal 921d99f810 Merge branch 'uic-regen' of https://github.com/eli-schwartz/calibre 2023-09-28 08:04:25 +05:30
Eli Schwartz f4fe3f254d fix crash in Get Books when regenerating UIC files
Current versions of PyQt seem to generate code incompatible with our
class definition:

```
Traceback (most recent call last):
  File "/home/eschwartz/git/calibre/src/calibre/gui2/actions/store.py", line 49, in do_search
    return self.search()
           ^^^^^^^^^^^^^
  File "/home/eschwartz/git/calibre/src/calibre/gui2/actions/store.py", line 55, in search
    sd = SearchDialog(self.gui, self.gui, query)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/eschwartz/git/calibre/src/calibre/gui2/store/search/search.py", line 38, in __init__
    self.setupUi(self)
  File "/home/eschwartz/git/calibre/src/calibre/gui2/store/search/search_ui.py", line 84, in setupUi
    self.results_view = ResultsView(parent=self.verticalLayoutWidget)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: ResultsView.__init__() got an unexpected keyword argument 'parent'
```

The issue is that arguments forwarded to the PyQt class are now being
generated using keyword arguments rather than non-keyword args. As a
direct wrapper over a class belonging to another project, we really
should forward both types just in case.
2023-09-27 21:59:15 -04:00
Kovid Goyal 8c3ff7e7aa Edit book: Fix a regression in the previous release that caused Text search to sometimes not select matches correctly. Fixes #2034900 [Editor - Report: UnboundLocalError: local variable 'raw' referenced before assignment](https://bugs.launchpad.net/calibre/+bug/2034900) 2023-09-27 20:19:35 +05:30
Kovid Goyal ff3af3ac15 E-book viewer: Make CFI calculation more robust especially on pages with very little content. Fixes #2037454 [E-book viewer: "Back" button doesn't work under some conditions](https://bugs.launchpad.net/calibre/+bug/2037454)
We were only testing two x values per y value. Instead test all 48.
2023-09-27 19:54:56 +05:30
Kovid Goyal a3ae1ad46e Convenience function to run the image popup 2023-09-27 07:47:07 +05:30
Kovid Goyal 209f04025f ... 2023-09-26 20:14:54 +05:30
Kovid Goyal 3c83a23a88 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2023-09-26 20:14:49 +05:30
unkn0w7n ed9f7ac0c7 Create business_standard_print.png 2023-09-26 19:22:20 +05:30
unkn0w7n 135218f24f Business Standard Print Edition 2023-09-26 19:20:06 +05:30
Kovid Goyal 994a51da11 Merge branch 'qmake-compiler-env' of https://github.com/eli-schwartz/calibre 2023-09-26 11:37:49 +05:30
Kovid Goyal cabc458155 Merge branch 'shrink_new_yorker' of https://github.com/gregallen/calibre
Fixes #2037334 [new yorker epub recipe too large to email](https://bugs.launchpad.net/calibre/+bug/2037334)
2023-09-26 09:46:31 +05:30
Kovid Goyal 728546eea1 Merge branch 'master' of https://github.com/cbhaley/calibre 2023-09-26 09:40:51 +05:30
Eli Schwartz 0eca1bd9ca build: pass on the user's compiler and compiler-flags settings to qmake
PyQt-builder uses qmake under the hood, which has a frustrating habit of
not respecting standard stuff like $CC / $CFLAGS unless the project
authors go out of their way to manually specify to use the same value as
gotten from the environment.

Implement this for the same environment variables that we currently respect
when building internal extensions *without* PyQt-builder.
2023-09-25 22:13:57 -04:00
Greg Allen d8c0328143 New Yorker recipe reduce image quality to keep file size below amazon's email threshold when the output profile is set to a kindle profile 2023-09-25 21:54:46 +01:00
Charles Haley f68293c7dd Clean up setting the preference controlling whether library view columns can be moved with the mouse. Use a checkbox to make the current state clearer. 2023-09-25 20:28:56 +01:00
Kovid Goyal 7bde152ed3 Fix errors caused by .DS_Store files inserted into the .caltrash directory on macOS if the user happens to open .caltrash in Finder. Fixes #2037237 [NotADirectoryError when merging books on MacOS](https://bugs.launchpad.net/calibre/+bug/2037237) 2023-09-25 10:27:23 +05:30
Kovid Goyal 3d045fb230 Fix #2037172 [[Enhancement] "Find item in the Tag browser" input field should have a "Clear search history" context menu item](https://bugs.launchpad.net/calibre/+bug/2037172) 2023-09-24 10:24:25 +05:30
Kovid Goyal 34b3ee1138 Edit book: When copying files do it in order so that the files are pasted in the same order when pasting into another editor instance. Fixes #2037198 [Calibre Editor: "Paste # files from other editor instance" > Files Pasted Out of Order](https://bugs.launchpad.net/calibre/+bug/2037198) 2023-09-24 10:03:16 +05:30
Kovid Goyal 4af337c571 Fix #2037199 [[Enhancement] Calibre Editor: "Bulk rename the selected files" > Increase "Starting number" Field Input Digits](https://bugs.launchpad.net/calibre/+bug/2037199) 2023-09-24 07:40:03 +05:30
Kovid Goyal a2e06b5132 DRYer 2023-09-23 08:29:14 +05:30
Kovid Goyal 807ba2fe8b Fix #2037117 [[Enhancement] "Add multiple books from archive" should include 7z](https://bugs.launchpad.net/calibre/+bug/2037117) 2023-09-23 07:57:55 +05:30
Kovid Goyal be2ab41feb Apparently the Glowlight 2023 is an MTP device 2023-09-23 07:28:25 +05:30
Kovid Goyal ceb1d9d222 Fix #2035340 [[Enhancement] Save window size of the 'Create library based on' popup](https://bugs.launchpad.net/calibre/+bug/2035340) 2023-09-22 19:54:23 +05:30
Kovid Goyal dd419a92b1 E-book viewer: Highlights panel: Allow right clicking to export only selected highlights 2023-09-22 13:56:17 +05:30
Kovid Goyal 6f6bd4b32f Edit book: Fix smart tag insert not working correctly if the selected text starts with the closing angle bracket of a tag 2023-09-22 13:33:55 +05:30
Kovid Goyal 2feb109fba version 6.27.0 v6.27.0 2023-09-22 08:25:34 +05:30
Kovid Goyal 0768e046eb Fix #2036993 [Unhandled exception error when removing books](https://bugs.launchpad.net/calibre/+bug/2036993) 2023-09-21 22:13:22 +05:30
Kovid Goyal 1304e1c119 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2023-09-21 11:57:04 +05:30
unkn0w7n 6c0bcf75cc Update ambito.recipe 2023-09-21 11:34:25 +05:30
Kovid Goyal 85ec0e6fbf EPUB Output: Fix duplicated title page entry in spine for books that define a titlepage that ends up getting split. Fixes #2035579 [Private bug](https://bugs.launchpad.net/calibre/+bug/2035579) 2023-09-21 09:53:31 +05:30
Kovid Goyal ded1932795 E-book viewer: Fix searching does not jump to first match if all matches are before current position in book. Fixes #2034977 [Ebook-viewer: viewer doesn't jump to search match position in *.fb2 books under some conditions](https://bugs.launchpad.net/calibre/+bug/2034977) 2023-09-20 16:07:20 +05:30
Kovid Goyal 2aa94956ac Merge branch 'master' of https://github.com/unkn0w7n/calibre 2023-09-20 11:18:05 +05:30
unkn0w7n c5b0f893ef Update toiprint.recipe 2023-09-20 10:28:10 +05:30
Kovid Goyal cae829301b Merge branch 'master' of https://github.com/unkn0w7n/calibre 2023-09-19 13:23:34 +05:30
unkn0w7n e2fa3b6f17 ... 2023-09-19 13:11:42 +05:30
unkn0w7n 182ca73155 ... 2023-09-19 13:11:00 +05:30
Kovid Goyal 9aeb25d9ac pep8 2023-09-19 12:41:49 +05:30
Kovid Goyal b75eae4a65 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2023-09-19 12:41:12 +05:30
unkn0w7n 64359fbbe5 Times of India Print edition 2023-09-19 12:17:22 +05:30