Commit Graph

43829 Commits

Author SHA1 Message Date
Charles Haley 4dec0e2c91 Bug #1946342: nesting composite columns sometimes fails with a list index exception. 2021-10-07 17:36:03 +01:00
Kovid Goyal ce1df69885 Merge branch 'master' of https://github.com/davidfor/calibre 2021-10-07 08:49:13 +05:30
David 9470dcc40c Add support for Kobo devices Sage and Libra 2
Two new devices. Adding the device ids and strings so they will be recognised when released. But, have not bumped firmware version as the exact version has not been confirmed. And while it is unlikely other changes will be needed, this has not been confirmed.
2021-10-07 11:12:59 +11:00
Kovid Goyal a16c9b6807 Add a clear button 2021-10-06 21:45:20 +05:30
Kovid Goyal ce37adcef7 Implement save/load for multisorts 2021-10-06 21:41:02 +05:30
Kovid Goyal ed9703a522 string change 2021-10-06 15:33:18 +05:30
Kovid Goyal ecdc1007c1 Allow creating sorts based on multiple columns (Add the Sort action to the toolbar via Preferences->Toolbars & menus)
Fixes #1945891 [[Enhancement] Select sortable columns in a separate window](https://bugs.launchpad.net/calibre/+bug/1945891)
2021-10-06 14:38:52 +05:30
vvasuki 9249e92c0a More Indian news sources by Vishvas Vasuki
Fixes #1499 (Another feed)
2021-10-05 18:03:48 +05:30
Kovid Goyal 200b62d25c Allow drag and drop of books onto formats in the Tag Browser to convert them. Fixes #1945890 [[Enhancement] Drag book to format in the Tag browser to convert it to that format](https://bugs.launchpad.net/calibre/+bug/1945890) 2021-10-05 13:17:38 +05:30
Kovid Goyal afe7d69681 Update Entrepreneur Magazine
Fixes #1945569 [Fetching news from Entrepreneur Magazine fails](https://bugs.launchpad.net/calibre/+bug/1945569)
2021-10-05 10:03:10 +05:30
Kovid Goyal 5862e8057a Update Dawn 2021-10-05 09:20:48 +05:30
Kovid Goyal 645cf5eff9 Auto adding: Run onimport filetype plugins before reading metadata. Matches behavior of manual adding. Fixes #1945889 [Metadata wrong for auto-added books](https://bugs.launchpad.net/calibre/+bug/1945889) 2021-10-05 08:27:37 +05:30
Kovid Goyal 573693a052 Cleaner rexec logic 2021-10-04 21:12:51 +05:30
Kovid Goyal 47bf99c214 ... 2021-10-04 20:59:25 +05:30
Kovid Goyal b8fce28cb7 oops 2021-10-04 20:58:08 +05:30
Kovid Goyal f70125774e string changes 2021-10-04 16:05:01 +05:30
Kovid Goyal f577625504 ... 2021-10-04 14:51:15 +05:30
Kovid Goyal 48102a6b8a Merge branch 'master' of https://github.com/cbhaley/calibre 2021-10-04 14:40:32 +05:30
Kovid Goyal f027fac8a2 Use the new env var to disable RTLD_DEEPBIND for pycryptodome when running the tests with sanitization enabled 2021-10-04 14:39:42 +05:30
Charles Haley 59982dc78f Make the formatter function raw_field() account for column aliases such as "date" for "timestamp". 2021-10-04 10:05:39 +01:00
Kovid Goyal 05a327688c Various Indian News sources by Vishvas Vasuki
Clean up the recipes a little.
2021-10-04 10:18:41 +05:30
Kovid Goyal d17c88ac9b fix recipe file naming to match repo standard 2021-10-04 10:14:18 +05:30
Kovid Goyal 4dbf42a5a0 Merge branch 'master' of https://github.com/vvasuki/calibre 2021-10-04 10:10:21 +05:30
vvasuki c3c83eb14b Add some indic feeds 2021-10-04 09:28:53 +05:30
Kovid Goyal e5fb43ea6a Merge branch 'master' of https://github.com/reportxx/calibre 2021-10-03 19:14:05 +05:30
reportxx 56d3813a15 Small typo fix
One capitalization was missed in the last merge.
2021-10-03 13:41:38 +00:00
Kovid Goyal ab15421c43 Content server: Fix category collapse by partition not working. Fixes #1945882 [[Content Server] "Search for books" setting error](https://bugs.launchpad.net/calibre/+bug/1945882) 2021-10-03 18:15:43 +05:30
Kovid Goyal aaae134a0f Merge branch 'master' of https://github.com/reportxx/calibre 2021-10-03 15:29:47 +05:30
reportxx c229bf6e5c Fix typos
Fix mostly capitalizations. Please review so that I didn't make any changes that cause something bad.
2021-10-03 08:38:05 +00:00
Kovid Goyal 88a517cf53 fix bugs introduced in previous PR 2021-10-03 13:53:30 +05:30
Kovid Goyal ba54c46ca8 Merge branch 'codespell-src' of https://github.com/cclauss/calibre 2021-10-03 13:52:00 +05:30
Christian Clauss fb1d7c40f8 Fix the remaining typos 2021-10-03 10:00:15 +02:00
Kovid Goyal a1982c2c7e Merge branch 'codespell' of https://github.com/cclauss/calibre 2021-10-03 07:05:02 +05:30
Christian Clauss 3e81179175 Fix more typos 2021-10-02 17:15:24 +02:00
Kovid Goyal 698f3bc4ff Merge branch 'patch-1' of https://github.com/cclauss/calibre 2021-10-02 07:35:54 +05:30
Christian Clauss 5852ac2eb4 fixup! 2021-10-02 04:04:07 +02:00
Christian Clauss 9173d4edf9 Fix typos 2021-10-02 04:02:43 +02:00
Kovid Goyal 89708329e1 Merge branch 'master' of https://github.com/cbhaley/calibre 2021-10-01 16:51:14 +05:30
Charles Haley 7711c98950 The tag browser focus PR I made yesterday didn't work when the node has expanded children. 2021-10-01 11:27:40 +01:00
Kovid Goyal 2013482afb Fix #1945040 [[Enhancement] Remove separator between drop down menu restart options](https://bugs.launchpad.net/calibre/+bug/1945040) 2021-10-01 10:19:39 +05:30
Kovid Goyal 14ec131766 Prevent Tab from causing focus to leave the tag browser
Merge branch 'master' of https://github.com/cbhaley/calibre
2021-09-30 20:15:48 +05:30
Charles Haley a9541405e8 Ensure that once the tag browser has the focus, Tab and Backtab don't move the focus to another widget.
See https://www.mobileread.com/forums/showthread.php?p=4158532#post4158532
2021-09-30 15:09:56 +01:00
Charles Haley c4d9b25446 Fix labels being interchanged for two tag browser shortcuts 2021-09-30 15:08:56 +01:00
Kovid Goyal 33353ef3a7 Dont use an f-string in check_version_info since it will cause a syntaxerror on older python 2021-09-30 13:44:56 +05:30
Kovid Goyal cc682db2ba Merge branch 'deobjectify-classes' of https://github.com/keszybz/calibre 2021-09-30 13:41:09 +05:30
Kovid Goyal bc6e9cff20 Merge branch 'suppress-brokenpipeerror' of https://github.com/keszybz/calibre 2021-09-30 13:32:03 +05:30
Kovid Goyal bc61cf92d2 Merge branch 'setup-version-check' of https://github.com/keszybz/calibre 2021-09-30 13:20:20 +05:30
Zbigniew Jędrzejewski-Szmek 9d63b6ae56 Drop (object) from class definitions
Python2 had old-style classes (no "(object)"), and new style classes (with
"object"). Under Py3 this is a noop, so let's drop it to make the code
a bit shorter.
2021-09-30 09:23:56 +02:00
Kovid Goyal 0db1b7662d Merge branch 'makedirs-crash' of https://github.com/keszybz/calibre 2021-09-30 12:44:49 +05:30
Zbigniew Jędrzejewski-Szmek fa8bbfda15 Suppress BrokenPipeError in logging
https://bugzilla.redhat.com/show_bug.cgi?id=1903583 sports the following traceback:
Traceback (most recent call last):
  File "/usr/bin/ebook-convert", line 20, in <module>
    sys.exit(main())
  File "/usr/lib64/calibre/calibre/ebooks/conversion/cli.py", line 401, in main
    plumber.run()
  File "/usr/lib64/calibre/calibre/ebooks/conversion/plumber.py", line 1135, in run
    pr(0., _('Running transforms on e-book...'))
  File "/usr/lib64/calibre/calibre/ebooks/conversion/plumber.py", line 67, in __call__
    self.global_reporter(global_frac, msg)
  File "/usr/lib64/calibre/calibre/ebooks/conversion/cli.py", line 288, in __call__
    self.log('%d%% %s'%(percent, msg))
  File "/usr/lib64/calibre/calibre/utils/logging.py", line 179, in __call__
    self.info(*args, **kwargs)
  File "/usr/lib64/calibre/calibre/utils/logging.py", line 171, in print_with_flush
    self.flush()
  File "/usr/lib64/calibre/calibre/utils/logging.py", line 191, in flush
    o.flush()
  File "/usr/lib64/calibre/calibre/utils/logging.py", line 53, in flush
    self.stream.flush()
BrokenPipeError: [Errno 32] Datenübergabe unterbrochen (broken pipe)

If logging fails because somebody closed the output pipe, this is not an error.
Let's just ignore this this silently.

I removed the two .flush() implementations because those two classes inherit
from Stream.
2021-09-30 09:11:16 +02:00