41369 Commits

Author SHA1 Message Date
Kovid Goyal
37022b6a91
Dont require git master on CI in POT 2020-08-23 11:35:19 +05:30
Kovid Goyal
fcdcf1bc84
Fix #1892594 [[Enhancement] Remove unnecessary empty lines in No library found screen](https://bugs.launchpad.net/calibre/+bug/1892594) 2020-08-23 07:52:03 +05:30
Kovid Goyal
836397603d
String changes 2020-08-23 07:33:32 +05:30
Kovid Goyal
0b202f78ca
String changes 2020-08-22 18:48:40 +05:30
Kovid Goyal
15e1ad7d7e
forkserver is not available on windows 2020-08-22 18:48:39 +05:30
Kovid Goyal
c7c3d1382c
Get multiprocessing to work
Some calibre plugins apparently use multiprocessing. In python 3.8
multiprocessing on macOS was changed to use spawn instead of fork. So
those plugins broke. This fixes multiprocessing+spawn by monkeypatching
the stdlib to use calibre-debug as the python interpreter
2020-08-22 18:48:39 +05:30
Kovid Goyal
940e655bef
Change default for asciiizing filenames on save to disk to false
By now most platforms support unicode filenames.
2020-08-22 18:48:39 +05:30
Kovid Goyal
05ccd5c348
Render plain text comments in book file metadata as HTML 2020-08-22 18:48:39 +05:30
Kovid Goyal
e3e588c901
Workaround for Firefox sending null data in messages 2020-08-22 18:48:39 +05:30
Kovid Goyal
25adbe6bd6
Fix focus outline in dark mode 2020-08-22 18:48:39 +05:30
Kovid Goyal
d1a5850619
When creating range wrappers, normalize parent nodes to ensure there are no empty text nodes, as these mess up CFI calculations 2020-08-22 18:48:39 +05:30
Kovid Goyal
11d00b59ea
Reduce handle size by 30% 2020-08-22 18:48:39 +05:30
Kovid Goyal
ef7222d007
Modernize future import 2020-08-22 18:48:39 +05:30
Kovid Goyal
0e3c79ef70
Use a darker shade of red in dark mode 2020-08-22 18:48:39 +05:30
Kovid Goyal
9dadd1a1a4
Fix a regression that broke scrolling to CFIs with zero offset pointing to text surrounded by a range wrapper 2020-08-22 18:48:38 +05:30
Kovid Goyal
1f1d8024cb
Fix lib names for OpenSSL 1.1 2020-08-22 18:48:38 +05:30
Kovid Goyal
2d342d3429
Bump beta version 2020-08-22 18:48:38 +05:30
Kovid Goyal
69beb825ad
Allow exporting annotations from the annotations browser 2020-08-22 18:48:38 +05:30
Kovid Goyal
9034ea03de
Fix building of certgen module with openssl 1.1.1 on windows 2020-08-22 18:48:38 +05:30
Kovid Goyal
be0ed348fd
Make rating clickable in the book details page 2020-08-22 18:48:38 +05:30
Kovid Goyal
f758320251
Fix re-opening a book in the content server viewer not preserving last read position
Fixes #1891328
2020-08-22 18:48:38 +05:30
Kovid Goyal
f34b132c69
Fix scrolling to last column immediately after load not working in some books on Chrome
It's insane how buggy browsers are
2020-08-22 18:48:38 +05:30
Kovid Goyal
10d123dedf
Use bound methods 2020-08-22 18:48:38 +05:30
Kovid Goyal
5ceb657088
Fix test failing on CI 2020-08-22 18:48:37 +05:30
Kovid Goyal
fd896540d7
Better error message for failed test 2020-08-22 18:48:37 +05:30
Kovid Goyal
6e155612b4
py3: Workaround for lxml choking while parsing unicode strings with non-BMP characters on windows 2020-08-22 18:48:37 +05:30
Kovid Goyal
8fbf98aac2
On closing highlights panel go back to text 2020-08-22 18:48:37 +05:30
Kovid Goyal
bc1aa48632
Highlights should be displayed sorted by appearance order 2020-08-22 18:48:37 +05:30
Kovid Goyal
7db1a9d0a4
Fix notes indicator not being updated when editing notes from the highlights panels 2020-08-22 18:48:37 +05:30
Kovid Goyal
832211b904
Missed debug print 2020-08-22 18:48:37 +05:30
Kovid Goyal
2523c0ebfc
Implement editing of notes 2020-08-22 18:48:37 +05:30
Kovid Goyal
beffb64f3b
Implement searching in the highlights panel 2020-08-22 18:48:37 +05:30
Kovid Goyal
455f40f2da
Implement the remove highlight action 2020-08-22 18:48:37 +05:30
Kovid Goyal
b93da5d3b8
Fix changing annot not updating in IndexedDB 2020-08-22 18:48:36 +05:30
Kovid Goyal
607fc44919
Bump versions of openssl and glib 2020-08-22 18:48:36 +05:30
Kovid Goyal
9e91907268
Start work on highlights panel for browser viewer 2020-08-22 18:48:36 +05:30
Kovid Goyal
8343e8165a
Selection bar: Allow customizing to add quick highlight buttons with specific styles 2020-08-22 18:48:36 +05:30
Kovid Goyal
1ef9d7b7da
Give custom highlight styles a name 2020-08-22 18:48:36 +05:30
Kovid Goyal
c290f4e1cb
Sync annots from browser to server when using the sync button 2020-08-22 18:48:36 +05:30
Kovid Goyal
f2e7f3e924
UI to remove bookmarks 2020-08-22 18:48:36 +05:30
Kovid Goyal
3f30103802
Content server viewer: Add user interface for bookmarking 2020-08-22 18:48:36 +05:30
Kovid Goyal
7edad3048e
When focusing iframe if the selection bar is visible focus that instead 2020-08-22 18:48:36 +05:30
Kovid Goyal
9eea78f092
Allow adding a create bookmark button to the selection bar 2020-08-22 18:48:35 +05:30
Kovid Goyal
f228431fb9
Minor fixes from merge to viewport
Also remove an unused function
2020-08-22 18:48:35 +05:30
Kovid Goyal
5da5d527c4
brackets for clarity 2020-08-22 18:48:35 +05:30
Kovid Goyal
7359b314b3
Fix incorrect single screen detection
This detection runs on first layout, before columns are created,
therefore, the block direction is the appropriate thing to check
2020-08-22 18:48:35 +05:30
Kovid Goyal
448651d2fc
Fix next_screen_location()
The change to column_at() to consider points on the boundary as
belonging to the left column broke next_screen_location()
2020-08-22 18:48:35 +05:30
Kovid Goyal
3818b5e1c4
Use block and inline rather than X and Y for anchor_funcs in flow mode 2020-08-22 18:48:35 +05:30
Kovid Goyal
9a9f35ae43
Fix visibility() which was broken similar to pos_for_elem() 2020-08-22 18:48:35 +05:30
Kovid Goyal
d7259dd2e2
Fix pos_for_elem() in flow mode changed to return only one co-ordinate 2020-08-22 18:48:35 +05:30