Skip to content

Commit

Permalink
Update to version 1.17.0
Browse files Browse the repository at this point in the history
New: Added support AlReaderX reader app on the Boox Android-based devices. Thanks to @aik099.
Change: Some code cleanup.
Fix: Handle change collections library.
  • Loading branch information
davidfor committed Apr 10, 2022
1 parent 06f93c1 commit 8f0104a
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 7 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Expand Up @@ -13,7 +13,7 @@ class AnnotationsPlugin(InterfaceActionBase):
description = 'Import annotations'
supported_platforms = ['linux', 'osx', 'windows']
author = 'David Forrester'
version = (1, 16, 0)
version = (1, 17, 0)
minimum_calibre_version = (1, 0, 0)

actual_plugin = 'calibre_plugins.annotations.action:AnnotationsAction'
Expand Down
5 changes: 5 additions & 0 deletions about.txt
@@ -1,4 +1,9 @@
Version history:
1.17.0 - 10 April 2022
• New: Added support AlReaderX reader app on the Boox Android-based devices. Thanks to @aik099.
• Change: Some code cleanup.
• Fix: Handle change collections library.

1.16.0 - 19 July 2021
• New: Add PocketBooks support - Thanks to @wold.
• Fix: Error "TypeError: unhashable type: 'SortableTableWidgetItem'" when importing from Kindle.
Expand Down
5 changes: 1 addition & 4 deletions action.py
Expand Up @@ -52,7 +52,7 @@
from calibre_plugins.annotations.annotations import merge_annotations, merge_annotations_with_comments
from calibre_plugins.annotations.annotations_db import AnnotationsDB

from calibre_plugins.annotations.common_utils import (CompileUI,
from calibre_plugins.annotations.common_utils import (
CoverMessageBox, HelpView, ImportAnnotationsDialog, IndexLibrary,
Logger, ProgressBar, Struct,
get_cc_mapping, get_clippings_cid, get_icon, get_pixmap, get_resource_files,
Expand Down Expand Up @@ -473,9 +473,6 @@ def genesis(self):
# Populate dialog resources
self.inflate_dialog_resources()

# Compile .ui files as needed
CompileUI(self)

# Populate the help resources
self.inflate_help_resources()

Expand Down
14 changes: 14 additions & 0 deletions help/help.html
Expand Up @@ -221,6 +221,20 @@ <h3><a name="supported_readers" id="supported_readers"></a>2. <a href="#toc">Sup
<td class="supported">&nbsp;</td>
<td class="supported">&#x2713;</td>
</tr>
<tr style="border-bottom:1px solid black;">
<td class="reader"><a href="https://pocketbook.ch/en-ch" title="PocketBook" target="_blank">PocketBook</a></td>
<td class="supported">hardware</td>
<td class="supported">&nbsp;</td>
<td class="supported">&nbsp;</td>
<td class="supported">&#x2713;</td>
</tr>
<tr style="border-bottom:1px solid black;">
<td class="reader"><a href="https://onyxboox.com/" title="Boox" target="_blank">Boox</a></td>
<td class="supported">hardware</td>
<td class="supported">&nbsp;</td>
<td class="supported">&nbsp;</td>
<td class="supported">&#x2713;</td>
</tr>
</tbody>
</table>
</div>
Expand Down
4 changes: 2 additions & 2 deletions readers/SampleExportingApp.py
Expand Up @@ -80,10 +80,10 @@ class SampleExportingApp(ExportingReader):
</body>
</html>''')

initial_dialog_text = ''
initial_dialog_text = 'Junk'

# Change this to True when developing a new class from this template
SUPPORTS_EXPORTING = False
SUPPORTS_EXPORTING = True

# Sample annotations, indexed by timestamp. Note that annotations may have
# highlight_text, note_text, or both. 'location' might reference a page number from
Expand Down

0 comments on commit 8f0104a

Please sign in to comment.