Commit Graph

41388 Commits

Author SHA1 Message Date
Kovid Goyal 8774db35fd pep8 v5.0.1 2020-09-25 17:44:22 +05:30
Kovid Goyal 0e9904e3dd version 5.0.1 2020-09-25 17:43:04 +05:30
Kovid Goyal bf5434be4e Linux: Fix a regression that broke file dialogs on systems where kdialog fails. Fixes #1897257 [Calibre 5.0 - import cover hangs](https://bugs.launchpad.net/calibre/+bug/1897257) 2020-09-25 16:33:15 +05:30
Kovid Goyal 7e19788078 Merge branch 'master' of https://github.com/davidfor/calibre into master 2020-09-25 16:26:44 +05:30
David d77b6da883 Fix Error displaying Kobo book details in logs
Found an error when in debug mode, so decided to remove dependencies on polygot while there.
2020-09-25 20:47:33 +10:00
Kovid Goyal 36700e8eb2 Use canonical download URL when getting binary to build translations 2020-09-25 14:28:32 +05:30
Kovid Goyal ea2b8922cc macOS: Fix a regression that broke connecting to devices 2020-09-25 14:10:54 +05:30
Kovid Goyal 99680529d3 Edit book: Fix a regression in the previous release that broke the Insert Inline Table of Contents tool. Fixes #1897229 [bug with insert inline toc](https://bugs.launchpad.net/calibre/+bug/1897229) 2020-09-25 13:28:47 +05:30
Kovid Goyal 011bba1a58 More py3 compat 2020-09-25 09:25:28 +05:30
Kovid Goyal bb3a1f700d py3 compat for upload to github 2020-09-25 09:22:03 +05:30
Kovid Goyal 135bfcbefe py3 compat for fosshub upload 2020-09-25 09:19:20 +05:30
Kovid Goyal eab1237969 version 5.0.0 v5.0.0 2020-09-25 08:11:28 +05:30
Kovid Goyal 937bb880a3 Ensure controls help is not shown more than once in a single session 2020-09-25 07:58:13 +05:30
Kovid Goyal a6b10869cf ... 2020-09-25 07:55:04 +05:30
Kovid Goyal bba090a7b3 Fix #1897136 [Viewer: Default values for the numbers of pages per screen aren't restored](https://bugs.launchpad.net/calibre/+bug/1897136) 2020-09-25 07:49:09 +05:30
Kovid Goyal 2967f13297 Prevent duplication of controls help if shown multiple times in one session 2020-09-25 07:44:35 +05:30
Kovid Goyal e176f58ce8 Fix error if merged annotations contain non-string timestamps 2020-09-25 07:36:44 +05:30
Kovid Goyal 200e9d0602 String changes 2020-09-25 07:32:38 +05:30
Kovid Goyal 9b696217a4 Fix #1233 (Update opds cover and thumb rel to match OPDS 1.0 and higher) 2020-09-24 20:42:03 +05:30
Kovid Goyal 6ab2331f93 pep8 2020-09-24 10:23:44 +05:30
Kovid Goyal 06d0ba341b Merge branch 'master' of https://github.com/davidfor/calibre into master 2020-09-24 10:23:19 +05:30
David 489e43ead1 Bump supported Kobo firmware versions
And fix handling of the ignored shelves as it wasn't being sanitized.
2020-09-24 14:45:45 +10:00
Kovid Goyal b69386b46e Add some text to highlighting section in manual 2020-09-24 08:30:31 +05:30
Kovid Goyal 4d5b25bf0e Fix #1896844 [Private bug](https://bugs.launchpad.net/calibre/+bug/1896844) 2020-09-24 07:42:21 +05:30
Kovid Goyal 103659f267 Have the sort and resort actions work in all views 2020-09-23 17:46:34 +05:30
Kovid Goyal 6c0d3efca7 When re-applying the current sort, preserve sub-sorts 2020-09-23 14:37:54 +05:30
Kovid Goyal 69d44f9e00 Add entry for resort shortcut to manual 2020-09-23 14:24:35 +05:30
Kovid Goyal f461c24fb2 Add shortcuts to reverse and re-apply current sort
Fixes #1889298 [Enhancement Request: Hotkey to resort current view/reverse current sort](https://bugs.launchpad.net/calibre/+bug/1889298)
2020-09-23 14:23:34 +05:30
Kovid Goyal c40c538cc1 Fix #1896362 [[Enhancement] Selecting entries holding down the Shift key](https://bugs.launchpad.net/calibre/+bug/1896362) 2020-09-23 13:25:01 +05:30
Kovid Goyal 061803f201 Have clicking on author in device view search the device for the author if the action is set to search calibre
Fixes #1895365 [Device view ignores author name behavior](https://bugs.launchpad.net/calibre/+bug/1895365)
2020-09-23 12:35:41 +05:30
Kovid Goyal e9351ae870 Fix #1896559 [feature request: edit book name of TOC blank](https://bugs.launchpad.net/calibre/+bug/1896559) 2020-09-23 10:11:00 +05:30
Kovid Goyal 754ebf854b Get Books: Fix detection of author name from Amazon search results
Fixes #1895084 [Searching Amazon in "Get Books" fails](https://bugs.launchpad.net/calibre/+bug/1895084)
2020-09-23 09:59:03 +05:30
Kovid Goyal db1c0a117b Get Books: Fix extraction of price data from amazon.com search results 2020-09-23 09:40:39 +05:30
Kovid Goyal 38012bd21c Update Houston Chronicle 2020-09-22 18:26:16 +05:30
Kovid Goyal c28a031735 Merge branch 'master' of https://github.com/cbhaley/calibre into master 2020-09-22 07:49:46 +05:30
Charles Haley 951f1199c8 Add a new formatter function 'connected_device_name' 2020-09-21 22:25:13 +01:00
Kovid Goyal ec3110920b Merge branch 'usbms-device-walk-loop-fix' of https://github.com/shastry/calibre into master 2020-09-20 14:45:43 +05:30
shastry fa7d8e30da Nested loop continue logic fix
Continue the outer loop, break of the inner loop.

Else you get a usb_dir NoneType exception in os.path.join if there's a device without idProduct, idVendor, bcdDevice sysfs files.

```
Unable to open device <calibre.devices.kindle.driver.KINDLE2 object at 0x7f7a05c23e90>
Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/device.py", line 201, in do_connect
    dev.open(detected_device, self.current_library_uuid)
  File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 809, in open
    self.open_linux()
  File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 560, in open_linux
    main, carda, cardb = self.find_device_nodes()
  File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 471, in find_device_nodes
    ven, prod, bcd = map(e, ('idVendor', 'idProduct', 'bcdDevice'))
  File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 470, in <lambda>
    e = lambda q : raw2num(open(j(usb_dir, q), 'rb').read().decode('utf-8'))
  File "/usr/lib/python2.7/posixpath.py", line 70, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
```
2020-09-20 14:35:06 +05:30
Kovid Goyal ecfb6fc692 String changes 2020-09-20 10:30:54 +05:30
Kovid Goyal 582e3baede String changes 2020-09-20 10:07:01 +05:30
Kovid Goyal 162c32a362 Fix translatable strings not being extracted from .ui files 2020-09-20 09:20:07 +05:30
Kovid Goyal d0d0bdd998 Fix warnings from sphinx and gettext 2020-09-20 09:15:50 +05:30
Kovid Goyal 27811374ba py3 compat 2020-09-20 08:32:21 +05:30
Kovid Goyal a8c3ebe418 Add to_raw() needed by some plugins apparently 2020-09-19 22:30:23 +05:30
Kovid Goyal f2384437ca py3 compat 2020-09-19 10:28:43 +05:30
Kovid Goyal 44790fb7a2 Bump beta version v4.99.17 2020-09-19 09:34:04 +05:30
Kovid Goyal bc572ecc76 Forgot the get() method on db.prefs wrapper 2020-09-19 07:27:54 +05:30
Kovid Goyal 065becd6a6 Remove use of legacy db.prefs API where possible 2020-09-19 07:17:47 +05:30
Kovid Goyal 99bf8b9dac Apparently write_serialized is needed 2020-09-19 06:49:20 +05:30
Kovid Goyal a6587b1f3d oops forgot to protect set_namespaced() 2020-09-19 06:46:01 +05:30