Dirk Gómez
d473641f81
Make El Pais recipe work with redesigned site
2021-12-11 12:51:23 +01:00
Kovid Goyal
e15227eb0c
Supernote needs Documents not NOOK
2021-12-11 12:08:43 +05:30
Kovid Goyal
6db6e338e3
Add local virtual-machines.conf to gitignore
2021-12-11 08:33:15 +05:30
Kovid Goyal
6a921b2396
MTP driver: Dont send the calibre device db files to the root folder on the supernote a5 x as it fails. Fixes #1954460 [Supernote ax5]( https://bugs.launchpad.net/calibre/+bug/1954460 )
2021-12-11 08:31:48 +05:30
Kovid Goyal
fe7c125d6d
Use NOOK_COLOR for the Glowlight 4
2021-12-10 20:49:43 +05:30
Kovid Goyal
95b852684e
Need the qt5 branch of bypy for calibre 5
2021-12-10 20:21:23 +05:30
Kovid Goyal
ef87339298
Use a private copy of the bypy scripts so it doesnt conflict with the developments for the qt6 branch
2021-12-10 14:26:17 +05:30
Kovid Goyal
8169268ee3
Driver for Nook Glowlight 4
2021-12-10 08:03:30 +05:30
Kovid Goyal
425152cda2
Fix langauge not being detected on amazon.de
2021-12-08 20:53:14 +05:30
Kovid Goyal
0f56a27b97
ToC Editor: Workaround an occasional error when closing on Windows if the file being edited is in a DropBox/antivirus prone area
2021-12-08 20:28:54 +05:30
Kovid Goyal
631bb7652f
Fix a regression in the previous release that broke creating new keyboard shortcuts
2021-12-06 20:13:39 +05:30
Kovid Goyal
59a732d181
Merge branch 'master' of github.com:kovidgoyal/calibre
2021-12-06 20:09:36 +05:30
Kovid Goyal
48a09b77f9
Update American Prospect
2021-12-06 20:09:14 +05:30
Kovid Goyal
cb07ca7b70
pyqt6: Use QStylePainter for separators
...
In pyqt6 QApplication::style() returns QCommonStyle instead of the proxy
calibre style I install using C++. QStylePainter gets around that.
2021-12-06 20:09:07 +05:30
Kovid Goyal
56dd01a591
FlowToolbar: Move entire groups rather than individual buttons
2021-12-06 20:09:02 +05:30
Kovid Goyal
f4c3fb26c1
Update Mediapart
2021-12-06 05:28:38 +05:30
Kovid Goyal
d8f28f669c
version 5.33.2
v5.33.2
2021-12-04 14:57:39 +05:30
Kovid Goyal
918d9dbd50
...
2021-12-04 14:54:13 +05:30
Kovid Goyal
e113bf1657
Use py_ssize_t for a # format when calling py_buildvalue
2021-12-04 14:52:15 +05:30
Kovid Goyal
869f556365
Fix comments editor toolbars not appearing after a hide/show toggle
...
Also, move the initial creation update geometry call into the comments
edit widget itself
2021-12-04 13:27:22 +05:30
Kovid Goyal
08792b74df
...
v5.33.1
2021-12-04 11:00:00 +05:30
Kovid Goyal
8c58e3b822
version 5.33.1
2021-12-04 10:58:37 +05:30
Kovid Goyal
a475b97cef
Fix double text draw and centering in centered button
2021-12-04 10:56:42 +05:30
Kovid Goyal
260a59b17f
Fix dark mode rendering of download metadata button incorrect on windows
...
There is a bug in Qt where using a proxy style with dark mode breaks
rendering. So instead draw the button directly.
2021-12-04 10:44:43 +05:30
Kovid Goyal
10572c8746
Fix comments editor dialog not displaying toolbar until resized
2021-12-04 08:30:53 +05:30
Kovid Goyal
0ef264056f
Set an appropriate size hint for the comments dialog
2021-12-04 08:21:34 +05:30
Kovid Goyal
414fc5f669
Get rid of another .ui file
2021-12-04 08:14:34 +05:30
Kovid Goyal
4df7935799
Fix getting branch name not working if HEAD is also a tag
2021-12-03 10:59:05 +05:30
Kovid Goyal
44c460627b
Dont need python 3 annotations since we no longer build on python 2
v5.33.0
2021-12-03 08:17:15 +05:30
Kovid Goyal
8f0e6b607f
version 5.33.0
2021-12-03 07:54:04 +05:30
Kovid Goyal
519832f263
Install sgmlib3k on arch CI
2021-12-03 07:51:34 +05:30
Kovid Goyal
1372fe239b
Merge branch 'misc-fixups' of https://github.com/eli-schwartz/calibre
2021-12-03 07:46:23 +05:30
Kovid Goyal
7837389034
Better error message when trying to print book with no book open
2021-12-03 07:39:20 +05:30
Eli Schwartz
d5fa341d13
fix the linux desktop filename mapping for lrfviewer
...
In commit e7e0aea6958b1419a5e72c85da0e0f920d36fb53, this was added with
the wrong name -- the "lrfviewer" application doesn't have a hyphenated
name, oddly enough, even though it is in fact "ebook-viewer" not
"ebookviewer".
On the other hand, it's probably not worth fixing the inconsistency,
because changing desktop filenames can be (a bit) disruptive if people
have pinned or modified them, and it's not worth it just for a stray
hyphen. Changing the actual program executable name is even less worth
it...
2021-12-02 10:49:04 -05:00
Eli Schwartz
030c80a68c
fix the linux desktop filename mapping for ebook-edit
...
This was initially added in commit
efb83eb6fcd1b175e70281fc0776ca2e53422ad0 with a filler name that,
however, didn't match the usual style of desktop filenames. When the
actual desktop file was added in commit
a87092ba4f5e61aa51149c2c34880582613037f0 it didn't match the filename.
Although it was mass renamed from "tweak" to "edit" in commit
289ef5f0b9a4a87e6918744af64ff0d80f6a6c42, the word ordering was still
wrong.
As a result, application menus failed to correlate open windows to
pinned icons, or (on application menus that support it) group the
windows together.
2021-12-02 10:49:04 -05:00
Eli Schwartz
4761866fa3
tests: fix exclusion of FreeBSD code
...
calibre.devices.usbms.hal was added as a FreeBSD backend, but the test
exclusion only tries importing it on Linux. It does import on Linux, but
what we actually care about is that it imports on FreeBSD.
2021-12-02 10:49:04 -05:00
Eli Schwartz
c2f76f2932
viewer: error out if print book is used when no book is open
...
This is slightly nicer than erroring out, but with a traceback due to
trying to access a nonexistent pathtoebook attribute.
2021-12-02 10:49:04 -05:00
Eli Schwartz
14aa61d246
Do not print error messages during plugin initialization to stdout.
...
This non-fatal warning emits output during calibredb commands and breaks
scripting.
2021-12-02 10:49:04 -05:00
Eli Schwartz
2302cb6a96
De-vendor sgmllib
...
The upstream feedparser 6.0 beta introduces a hard dependency on
PyPI sgmllib3k, while 5.2.1 (released in 2015) doesn't properly support
python3 except via 2to3 and documentation about manually copying over
sgmllib.py
Let's just rely on sgmllib3k.
2021-12-02 10:49:04 -05:00
Eli Schwartz
4be01e7000
use tuple up front instead of list which must later be converted to tuple
...
We don't need a mutable type, anyway, and the only other use of it is
recreating the list as = tuple(map(...)) so why convert *again* to a
tuple?
2021-12-02 10:49:04 -05:00
Eli Schwartz
d62d8b9111
remove function attribute that was never used
2021-12-02 10:49:03 -05:00
Eli Schwartz
da8092c58a
do not use a side effect of allocating list(map(...)) to execute functions for each member of a list
2021-12-02 10:49:03 -05:00
Kovid Goyal
929879dc10
Mens Day Out by Vishwas Vasuki
...
Fixes #1538 (Another recipe)
2021-12-02 21:10:49 +05:30
Kovid Goyal
d76bf7a13d
pep8
2021-12-01 18:21:56 +05:30
Kovid Goyal
ec77b13303
Merge branch 'master' of https://github.com/davidfor/calibre
2021-12-01 18:21:09 +05:30
David
71b297dbd1
Show audiobooks and fix subtitle handling
...
Kobo now has purchased audiobooks. Plus there was an error in handling subtitle when the template returned an empty string.
2021-12-01 23:35:00 +11:00
Kovid Goyal
0b532f6974
calibre-server --manage-users: Allow managing users while the server is running
2021-12-01 11:42:17 +05:30
Kovid Goyal
872613f5f3
Fix a few places where ints were passed to PyArg_Parse instead of Py_ssize_t
2021-12-01 10:55:09 +05:30
Kovid Goyal
055f5b0979
Add the Py_SSIZE_T_CLEAN definition needed for python 3.10
...
Ideally someone needs to go through all the code and check that nothing
breaks because of this macro, but, I dont have that kind of time
2021-12-01 10:47:51 +05:30
Kovid Goyal
f2add0b2aa
calibre-server --manage-users: Add commands for automating readonly and restriction management. Fixes #1952764 [[Enhancement] command for automatically editing userdb]( https://bugs.launchpad.net/calibre/+bug/1952764 )
2021-12-01 10:45:40 +05:30