43942 Commits

Author SHA1 Message Date
Kovid Goyal
e416b1c30b
Edit book: Set semantics tool: Add support for EPUB 3 landmarks 2021-10-23 16:21:24 +05:30
Kovid Goyal
47143b0506
Fix #1948520 [[Enhancement] Change icon for Filter button in the User categories window](https://bugs.launchpad.net/calibre/+bug/1948520) 2021-10-23 14:30:32 +05:30
Kovid Goyal
ce6e97260c
Make functionality to set landmarks re-useable 2021-10-23 11:37:30 +05:30
Kovid Goyal
bd7d859ac2
Make functionality to ensure nav re-useable 2021-10-23 11:29:03 +05:30
Kovid Goyal
be73536c26
... 2021-10-23 10:44:46 +05:30
Kovid Goyal
9a295fad07
Add an entry to the Connect/share menu to open the content server in a local browser when it is running. Fixes #1948493 [Enhancement Request: Open content server in browser](https://bugs.launchpad.net/calibre/+bug/1948493) 2021-10-23 09:40:06 +05:30
Kovid Goyal
e22319199b
typo 2021-10-22 20:02:03 +05:30
Kovid Goyal
baf215b0c8
version 5.30.0 v5.30.0 2021-10-22 04:54:50 +05:30
Kovid Goyal
b8c95130c2
Clean up the icon removal dialog box 2021-10-22 04:46:16 +05:30
Kovid Goyal
375eebf783
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1947948 [[Enhancement] Scrollable list for removing custom icons](https://bugs.launchpad.net/calibre/+bug/1947948)
2021-10-22 04:38:47 +05:30
Charles Haley
7320a9a7b3 Enhancement #1947948: Scrollable list for removing custom icons 2021-10-21 20:23:15 +01:00
Kovid Goyal
88cf8ff2bb
E-book viewer: Read aloud: Allow right clicking to play/pause reading. Fixes #1946439 [[Enhancement - E-book viewer] Right mouse click to pause/play Read aloud](https://bugs.launchpad.net/calibre/+bug/1946439) 2021-10-21 19:55:20 +05:30
Kovid Goyal
dd4da79f8f
Merge branch 'master' of https://github.com/davidfor/calibre 2021-10-21 18:03:37 +05:30
David
3bb4031cc7 Bump Kobo firmware for Sage and Libra 2 2021-10-21 22:54:21 +11:00
Kovid Goyal
ba2bd3f01b
pep8 2021-10-21 11:20:08 +05:30
Kovid Goyal
f9694a218c
Merge branch 'py2-cleanup' of https://github.com/eli-schwartz/calibre 2021-10-21 10:38:56 +05:30
Eli Schwartz
fd467c4527
perform various automated cleanups of python2-compatible code
performed using:

```
pyupgrade --keep-percent-format --py3-only
```

and committing the results.

This changes various things, including:
- remove u from u'' strings, since python3 strings are always unicode
- consolidate on OSError for various exceptions that are deprecated aliases
- dict/set literals and comprehensions
- yield from
- remove extraneous () produced by accident by some modernization code
- modern super()
- remove __future__ imports

etc.
2021-10-20 21:45:51 -04:00
Eli Schwartz
39a22268b9
py3 porting cleanup: drop str proxy
We don't need unicode_type anymore, because the str/unicode split
disappeared.

In addition to converting all unicode_type to str, there are some cases
where string literals were converted to unicode_type, e.g. for r''
strings, since ur'' didn't work. These can now be dropped entirely.
2021-10-20 21:45:24 -04:00
Eli Schwartz
e794b388b4
fix incorrect log message referencing python type alias
During porting work, this got changed from "Unicode" to "unicode_type",
which was wrong.
2021-10-20 21:45:24 -04:00
Eli Schwartz
34f3033444
py3 porting cleanup: drop os.getenv/getcwd proxies
The stdlib getenv/getcwd is suitable everywhere now, so that is all that
is used.
2021-10-20 21:45:01 -04:00
Eli Schwartz
e592d895ea
py3 porting cleanup: drop raw_input compat alias 2021-10-20 21:43:47 -04:00
Eli Schwartz
887f620406
py3 porting cleanup: remove unneeded indirect import of builtins
filter, map, range, and zip were proxied through polyglot.builtins to
ensure that their `future_builtins` forms were used. In python3 this is
no longer needed and they don't need to be imported at all, from
anywhere. So, don't.
2021-10-20 21:43:43 -04:00
Kovid Goyal
ae41b9b4aa
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1947841 [Rules editor: Title & Author is/is not set](https://bugs.launchpad.net/calibre/+bug/1947841)
2021-10-20 18:13:16 +05:30
Charles Haley
63b61ee0c9 Bug #1947841: Title & Author is/is not set. Implemented option 1. 2021-10-20 12:39:35 +01:00
Kovid Goyal
fad59ba7c7
ToC Editor: Ignore in succession clicks on the OK and Cancel buttons to avoid accidentally closing the window when finishing creating a new entry 2021-10-19 22:27:14 +05:30
Kovid Goyal
016a62b95e
Comments editor: Fix the formatting buttons not showing the current state correctly 2021-10-19 14:45:23 +05:30
Kovid Goyal
1e5b4d373d
Fix #1905479 [Edit Metadata: Non-default layout and custom longtext column breaks formatting shortcuts](https://bugs.launchpad.net/calibre/+bug/1905479)
Yet again
2021-10-19 14:35:22 +05:30
Kovid Goyal
83ced64197
Merge branch 'template-assign' of https://github.com/dtardon/calibre 2021-10-19 13:23:36 +05:30
Kovid Goyal
fae5391146
Map a few more shortcuts from JS to Qt for the viewer toolbar
Fixes #1946791 [[Enhancement - E-book viewer] Add shortcuts to tooltips of the viewer controls](https://bugs.launchpad.net/calibre/+bug/1946791)
2021-10-19 13:16:43 +05:30
Kovid Goyal
5afde7a808
... 2021-10-19 12:41:53 +05:30
Kovid Goyal
db074fd8f3
Fix #1947308 [Verbose PermissionError when trying to modify author sort](https://bugs.launchpad.net/calibre/+bug/1947308) 2021-10-19 11:49:49 +05:30
David Tardon
22b32638e8 Fix parsing of assign() template function
This fixes a regression from commit
bde8cd5e65984786471851309bd9c95be1f354a5, which allowed expression lists
as function arguments. However, assign() still expects simple expression
as its first argument. I don't think allowing expression list there
makes much sense, so let's restrict this.
2021-10-18 21:35:12 +02:00
Kovid Goyal
1796df09b4
Merge branch 'patch-3' of https://github.com/reportxx/calibre 2021-10-17 13:28:42 +05:30
reportxx
1411eab43d
Fix capitalization 2021-10-17 07:49:40 +00:00
Kovid Goyal
1332db808a
string changes 2021-10-17 11:29:01 +05:30
Kovid Goyal
e8e571c03c
Fix #1506 (Fix potential crash in ebook-edit due to type mismatch.) 2021-10-17 06:14:41 +05:30
Kovid Goyal
4b7a9ee39e
Update Private Eye 2021-10-15 19:37:18 +05:30
Kovid Goyal
5cb4be9000
Fix #1947178 [[Enhancement - E-book viewer] Make string translatable](https://bugs.launchpad.net/calibre/+bug/1947178) 2021-10-14 21:37:44 +05:30
Kovid Goyal
ed7d57358e
string changes 2021-10-14 18:06:27 +05:30
Kovid Goyal
e7e53e84f4
Merge branch 'patch-2' of https://github.com/reportxx/calibre 2021-10-14 14:32:15 +05:30
reportxx
fa77614711
Mistake in last pr 2021-10-14 09:00:47 +00:00
Kovid Goyal
4c78d85eb3
Merge branch 'patch-1' of https://github.com/reportxx/calibre 2021-10-14 11:48:23 +05:30
reportxx
e12a0fdd65
Fixed capitalizations
Fixed capitalizations. Please check my changes.
2021-10-14 05:05:42 +00:00
Kovid Goyal
ee64e604a8
string changes 2021-10-13 21:30:07 +05:30
Kovid Goyal
d452eea2b6
Update Foreign Policy 2021-10-12 18:55:48 +05:30
Kovid Goyal
4391311d56
Sending books by e-mail: Preserve non-English characters in attached filenames 2021-10-12 15:57:25 +05:30
Kovid Goyal
8bc11e1d91
avoid lrf metadata read failure on malformed meta blocks 2021-10-12 15:53:22 +05:30
Kovid Goyal
d8c118cbb4
Fix #1946674 [[Enhancement] Add icons to the Category editor context menu](https://bugs.launchpad.net/calibre/+bug/1946674) 2021-10-12 08:34:11 +05:30
Kovid Goyal
2d074400e2
E-book viewer: Fix cover and full screen images not centered in paged mode when more than one page is displayed per screen. 2021-10-12 08:21:25 +05:30
Kovid Goyal
9197b55d72
String changes 2021-10-11 21:33:08 +05:30