Commit Graph

41369 Commits

Author SHA1 Message Date
Charles Haley 35acb2ccbd Save intermediate changes 2020-09-25 09:28:37 +01:00
Charles Haley c8d35b735b Change the separator to make it easier to read and to write: #@#:[tdnb]: 2020-09-23 21:32:06 +01:00
Charles Haley 3a9435e537 Some tests for the search template stuff 2020-09-23 16:02:35 +01:00
Kovid Goyal bfbccea138 Have the sort and resort actions work in all views 2020-09-23 16:00:30 +01:00
Charles Haley dd7a28abb2 Use the template cache to speed up evaluation when searching using templates. 2020-09-23 11:43:50 +01:00
Charles Haley 740bfd26db Enhancement: allow using templares in search strings 2020-09-23 11:37:26 +01:00
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
Kovid Goyal 06a665012b Make ThreadSafePrefs an instance of MutableMapping
So dict(prefs) works and th etest does not need to be changed
2020-09-19 06:43:00 +05:30
Kovid Goyal 4e766ab401 Make the legacy db.prefs object thread safe 2020-09-19 06:37:54 +05:30
Kovid Goyal f4e1d5cc01 Add get/set of namespaced prefs to new DB API 2020-09-19 06:37:26 +05:30
Kovid Goyal 9ec29bb548 TXT Input: Fix incorrect splitting of txt with large chunks causing some text to be dropped. Fixes #1895888 [txt to epub missing lines](https://bugs.launchpad.net/calibre/+bug/1895888) 2020-09-17 14:05:40 +05:30
Kovid Goyal 7a4b3f61ff Move to SIP v5 2020-09-16 21:52:25 +05:30
Kovid Goyal 4659db231c Use non-monospace fonts for textarea 2020-09-15 07:30:39 +05:30
Kovid Goyal 36fd18c621 Add a context menu to the viewer highlights panel 2020-09-15 07:23:40 +05:30
Kovid Goyal 78cd807494 Fix #1895586 [[Enhancement] Show a warning before deleting a bookmark in the Bookmarks panel](https://bugs.launchpad.net/calibre/+bug/1895586) 2020-09-15 07:02:36 +05:30
Kovid Goyal 50557eb1ae Nicer error message for invalid search queries to calibredb search 2020-09-15 06:47:13 +05:30
Kovid Goyal 2196b708fa Show a dot next to highlights with notes in the viewer highlights panel 2020-09-14 20:22:32 +05:30
Kovid Goyal a4df5cc67b Dont use -b flag when calling sip
Was inexplicably removed from SIP5
2020-09-14 12:26:08 +05:30
Kovid Goyal 52cf15fc23 Fix #1895472 [Private bug](https://bugs.launchpad.net/calibre/+bug/1895472) 2020-09-14 09:04:40 +05:30
Kovid Goyal 940342b1b1 Fix removal of multi-line highlights leaving handles in incorrect location 2020-09-14 08:35:44 +05:30
Kovid Goyal a75933fd13 pep8 2020-09-14 07:38:51 +05:30
Kovid Goyal 62b2583d0c Merge branch 'master' of https://github.com/cbhaley/calibre into master 2020-09-14 07:38:09 +05:30
Charles Haley fb9a388c08 Unreported bug: the V4 template language treated None values as zero. These changes make the new processor do the same thing. Also update the documentation, 2020-09-14 00:59:38 +01:00
Kovid Goyal aa1482d782 Update ProPublica
Fixes #1895457 [Pro Publica news only creates Table of Contents, no articles.](https://bugs.launchpad.net/calibre/+bug/1895457)
2020-09-13 21:39:44 +05:30
Kovid Goyal 4b58b7e550 Merge branch 'master' of https://github.com/cbhaley/calibre into master 2020-09-13 19:21:56 +05:30
Charles Haley 327e267177 Fix incorrect inlined raw_field function.
Sorry about this.
2020-09-13 14:43:27 +01:00