33789 Commits

Author SHA1 Message Date
Kovid Goyal
5075fc2d36
Keep annotations sorted in CFI order when merging 2020-08-22 18:48:11 +05:30
Kovid Goyal
b6cbf67e4c
Make cfi_cmp re-useable 2020-08-22 18:48:11 +05:30
Kovid Goyal
94ee4035e2
Toolbar actions for highlighting 2020-08-22 18:48:11 +05:30
Kovid Goyal
5422fb170b
DRYer 2020-08-22 18:48:11 +05:30
Kovid Goyal
067e82083f
Hide annots UI behind develop mode in preparation for merge into master 2020-08-22 18:48:11 +05:30
Kovid Goyal
c9fe151075
Add actions for highlighting to viewer chrome 2020-08-22 18:48:11 +05:30
Kovid Goyal
74897b4ec2
Icon for highlights 2020-08-22 18:48:11 +05:30
Kovid Goyal
655c9c950c
Skip legacy db test when python sqlite3 module does not have FTS support 2020-08-22 18:48:11 +05:30
Kovid Goyal
1f253580b5
Wire up open annotations button and add button to select book in calibre 2020-08-22 18:48:11 +05:30
Kovid Goyal
b958361a18
typo 2020-08-22 18:48:11 +05:30
Kovid Goyal
5a0da12942
Start work on annotations browser action 2020-08-22 18:48:10 +05:30
Kovid Goyal
ded52279fc
Fix existing notes not being prefilled when editing an annotation 2020-08-22 18:48:10 +05:30
Kovid Goyal
c5c3182a59
Wire up signals to open annotation in viewer 2020-08-22 18:48:10 +05:30
Kovid Goyal
88b749c875
Details display in annots browser 2020-08-22 18:48:10 +05:30
Kovid Goyal
2c530d7c78
Implement query params for annotation browser 2020-08-22 18:48:10 +05:30
Kovid Goyal
f53ecbf7ba
More work n annotations browser 2020-08-22 18:48:10 +05:30
Kovid Goyal
95dcc16073
Render annots browser list 2020-08-22 18:48:10 +05:30
Kovid Goyal
a283014fe4
Order FTS results by rank 2020-08-22 18:48:10 +05:30
Kovid Goyal
9b7f69e4bb
More work on annotations browser 2020-08-22 18:48:10 +05:30
Kovid Goyal
7ed580cad4
Fix viewer shutdown guard 2020-08-22 18:48:09 +05:30
Kovid Goyal
8e2ff38dd5
Make the highlight shortcuts always available 2020-08-22 18:48:09 +05:30
Kovid Goyal
dbc9700329
Start work on annotations browser 2020-08-22 18:48:09 +05:30
Kovid Goyal
3670ec8d27
Raise a defined error when invalid query passed to FTS engine 2020-08-22 18:48:09 +05:30
Kovid Goyal
6092abe13c
Implement highlight and snippet for FTS 2020-08-22 18:48:09 +05:30
Kovid Goyal
5916fd1f5d
Initial implementation of FTS on annotations 2020-08-22 18:48:09 +05:30
Kovid Goyal
cda8dffc3a
Dont modify database when no dirtied annotations are present 2020-08-22 18:48:09 +05:30
Kovid Goyal
3a9cc685dd
Backup annotations in the metadata.opf files as well 2020-08-22 18:48:09 +05:30
Kovid Goyal
3301487aeb
Hook annotations up with the dirtied book mechanism
Add some simple tests
2020-08-22 18:48:09 +05:30
Kovid Goyal
1002a9bcdd
Move code that deals with the dirtied table into backend 2020-08-22 18:48:09 +05:30
Kovid Goyal
6bda5e6aad
Code to read and write annotations to the calibre db 2020-08-22 18:48:08 +05:30
Kovid Goyal
628ce9aa84
Add an annotations table to the database 2020-08-22 18:48:08 +05:30
Kovid Goyal
4ab24b8ea2
Remove wrap/unwrap for bytes in plistlib not needed on py3 2020-08-22 18:48:08 +05:30
Kovid Goyal
7f7204e6eb
py3 compat 2020-08-22 18:48:08 +05:30
Kovid Goyal
ee44316ac2
Remove some __future__ imports 2020-08-22 18:48:08 +05:30
Kovid Goyal
388165f824
py3 compat 2020-08-22 18:48:08 +05:30
Kovid Goyal
5e783de560
Bump beta version 2020-08-22 18:48:08 +05:30
Kovid Goyal
9a5a84069b
another useless __future__ 2020-08-22 18:48:07 +05:30
Kovid Goyal
8cbda9e18a
Build fixes 2020-08-22 18:48:07 +05:30
Kovid Goyal
fb1b0162fa
Bump beta version 2020-08-22 18:48:06 +05:30
Kovid Goyal
9a22962e54
py3ize new file header 2020-08-22 18:48:06 +05:30
Kovid Goyal
34b9c1f178
Remove ispy3 conditional 2020-08-22 18:48:06 +05:30
Kovid Goyal
520adcafc0
... 2020-08-22 18:48:06 +05:30
Kovid Goyal
761466ed10
Remove unused py2 code 2020-08-22 18:48:06 +05:30
Kovid Goyal
484fb7e3d7
Remove backported ipaddress module 2020-08-22 18:48:06 +05:30
Kovid Goyal
97a2b6ebd7
Missed one instance of ispy3 2020-08-22 18:48:06 +05:30
Kovid Goyal
9cab833728
Remove py2 code paths 2020-08-22 18:48:06 +05:30
Kovid Goyal
f250c39406
Remove another ispy3 2020-08-22 18:48:05 +05:30
Kovid Goyal
97fdef3cff
Remove __future__ imports from newly created py files 2020-08-22 18:48:05 +05:30
Kovid Goyal
152e301111
Bump beta version 2020-08-22 18:48:05 +05:30
Kovid Goyal
d3c84fdecc
py3ize new file header 2020-08-22 18:48:05 +05:30