48140 Commits

Author SHA1 Message Date
Kovid Goyal
a44bb42eda
Merge branch 'online-dictionaries' of https://github.com/un-pogaz/calibre 2023-10-01 19:59:57 +05:30
Kovid Goyal
5d8d85c649
Fix compatibility with zeroconf >= 0.73
Fixes #2038 (fix compatibility with newer zeroconf)
2023-10-01 15:08:59 +05:30
Kovid Goyal
2858397017
Only use bytes on python >= 3.11 2023-10-01 15:02:51 +05:30
Kovid Goyal
b7fd0dde65
spawnv_passfds expects byte args in python 3.11 2023-10-01 14:59:13 +05:30
Kovid Goyal
f45bda394b
Edit book: Show full path to book being edited in the status bar 2023-10-01 09:04:26 +05:30
Kovid Goyal
e841b4c94d
DRYer 2023-10-01 08:40:42 +05:30
Kovid Goyal
8b5fbe73b3
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2023-10-01 07:39:58 +05:30
unkn0w7n
bd9cd519f6 ... 2023-09-30 23:07:41 +05:30
unkn0w7n
dc586547ce similar changes to natgeo 2023-09-30 22:09:00 +05:30
unkn0w7n
51663c3d27 Update natgeomag.recipe
fix missing images
2023-09-30 21:56:31 +05:30
Kovid Goyal
b4c15a0e55
Edit book: When saving a copy add some convenience actions to edit the copy immediately iether in the current editor window or a new window 2023-09-30 14:28:36 +05:30
Kovid Goyal
c976875ee6
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2023-09-30 10:41:43 +05:30
unkn0w7n
9b1a8bb6fc Bloomberg update 2023-09-30 10:37:55 +05:30
Kovid Goyal
9098657e53
Update Engadget 2023-09-30 08:00:25 +05:30
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
un-pogaz
f0fe25a87d fix downloading files 2023-09-28 19:53:34 +02:00
un-pogaz
44523f9438 Add a online dictionaries importer 2023-09-28 18:09:47 +02:00
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