48 Commits

Author SHA1 Message Date
Kovid Goyal
52e855b130
Add slower and faster buttons to the TTS bar 2020-12-10 08:59:50 +05:30
Kovid Goyal
eaccc523af
More work on Read Aloud 2020-11-29 13:42:29 +05:30
Kovid Goyal
24b2e5f07f
Start work on simple read aloud button for selection popup bar 2020-11-17 17:36:14 +05:30
Mark W. Gabby-Li
9b79d6a5fa Support Selection Handles on Vertical/RTL Books
- Pass vertical/rtl mode into selection code.
 - Added new image for vertical selection handle.

selection_bar.pyj:
 - Made code agnostic to text direction.
 - Changed names to start and end rather than left and right to reflect new behavior.
 - Track vertical/rtl state from selection message.
 - Handle selection position modified to support all possible text orientations.
 - Switch to vertical selection handle in vertical mode.
 - Cap selection size at 60px to avoid comically large (and unusable) handles when selecting large element, such as an image.

select.pyj:
 - Improved selection behavior when selected range extents are on nodes by search the node's DOM tree for something with a reasonable bounding box.
 - To work around bugs with collapsed range rects and vertical text, use character bounding boxes in most cases.
 - Add width to selection range extents.
2020-08-28 00:26:18 -07:00
Kovid Goyal
e0f142f1c8
Better internet search icon 2020-08-22 18:48:30 +05:30
Kovid Goyal
d69efedb2f
Allow adding a search in book button to the selection bar
Also have the keyboard shortcuts to run a search work when the selection
bar is visible.
2020-08-22 18:48:28 +05:30
Kovid Goyal
8fa67e7bfd
Track annot over entire selection
Also work on notes/color editor panel
2020-08-22 18:48:25 +05:30
Kovid Goyal
4c05616e7d
Buttons to finish editing highlight 2020-08-22 18:48:18 +05:30
Kovid Goyal
74897b4ec2
Icon for highlights 2020-08-22 18:48:11 +05:30
Kovid Goyal
9ff27782de
Remove useless __future__ imports
Not needed on python3
2020-08-22 18:47:55 +05:30
Kovid Goyal
29cd8d64ea
Change shebangs to python from python2
Also remove a few other miscellaneous references to python2
2020-08-22 18:47:51 +05:30
Kovid Goyal
8d217a8878
Make the selection handles a bit nicer 2020-04-03 09:45:38 +05:30
Kovid Goyal
26d405a957
Work on controls for highlighting UI 2020-03-22 19:50:51 +05:30
Kovid Goyal
18a7ad73a4
Initial positioning of selection handles works 2020-03-18 09:28:19 +05:30
Kovid Goyal
a370e028a3
Viewer: Add a control to quit the viewer useful on touchscreens. Fixes #1862441 [Feature request: dedicated 'quit' option in viewer menu](https://bugs.launchpad.net/calibre/+bug/1862441) 2020-02-11 20:20:12 +05:30
Kovid Goyal
746381d179
A few more etree.fromstring 2019-12-29 22:02:16 +05:30
Kovid Goyal
38736d9412
Add an auto-scroll button to the viewer controls 2019-12-28 20:49:37 +05:30
Kovid Goyal
b861197248
Unify reference mode icon 2019-12-15 11:03:28 +05:30
Kovid Goyal
5774a6ef9a
Use the same ToC icon for viewer as for rest of calibre 2019-12-06 17:12:01 +05:30
Kovid Goyal
74303fe6d8
Viewer: Restore print to PDF functionality 2019-10-09 17:30:41 +05:30
Kovid Goyal
afd483f11a
Actions to copy text/URL and view image 2019-09-13 09:12:33 +05:30
Eli Schwartz
45ca4c7934
py3: merge multiline __future__ imports to not confuse 2to3 2019-05-27 00:41:14 -04:00
Kovid Goyal
2d21a8efa2
Some more fixes for the unicode type
Now replaced in all dynamically loaded code. Recipes/metadata
sources/etc. In the case of recipes, since they get compiled by calibre
we simply make the unicode/unichr names available, no need for any
changes to the actual recipes themselves.
2019-03-13 12:04:47 +05:30
Kovid Goyal
91dcd80f8c
Start work on conversion for the content server 2018-06-20 07:46:24 +05:30
Kovid Goyal
26aee58453
Use three toolbars for comments editor so they dont wrap even on small screens 2018-03-22 12:15:52 +05:30
Kovid Goyal
2ddfa2aa43
Color controls for the comments editor on the EM page 2018-03-22 12:06:12 +05:30
Kovid Goyal
71c18acc7b
Actions to insert images/links for the comments editor on the EM page 2018-03-22 11:16:25 +05:30
Kovid Goyal
c2a92ad678
Justification actions for comments editor on EM page 2018-03-22 09:31:17 +05:30
Kovid Goyal
dddc916082
More actions for comments editor on EM page 2018-03-21 22:47:27 +05:30
Kovid Goyal
8d0f8ba765
Format block command for comments editor on EM page 2018-03-21 22:12:27 +05:30
Kovid Goyal
2645ef6209
More actions for EM page comments editor 2018-03-21 21:40:20 +05:30
Kovid Goyal
2d2d66113d
A few more actions for the EM page comments editor 2018-03-21 08:34:34 +05:30
Kovid Goyal
88d4772ec8
Add basic formatting buttons to comments editor toolbar on EM page 2018-03-21 07:28:29 +05:30
Kovid Goyal
e877ef90e8
Start work on metadata edit widgets for the content server 2018-02-28 12:30:12 +05:30
Kovid Goyal
3e35fab553
Adda button on the home page to show the currently logged in user 2017-05-21 13:39:38 +05:30
Kovid Goyal
b5b7b9798a
forgot the file in my last commit 2017-05-21 13:39:35 +05:30
Kovid Goyal
52f04cb714 Use buttons for the library chooser on the home page 2017-02-18 10:24:26 +05:30
Kovid Goyal
145b39859e Use a home icon instead of close for the book list 2017-02-15 08:30:46 +05:30
Kovid Goyal
09b852959b More work on the viewer search 2017-01-03 16:47:06 +05:30
Kovid Goyal
718bb559b2 Finish up UI for viewer color scheme preferences 2016-09-25 10:47:19 +05:30
Kovid Goyal
73585a5dc0 Start work on the color preferences UI 2016-09-22 11:06:45 +05:30
Kovid Goyal
0961e31719 Use icons + text for the preferences UI instead of just icons 2016-09-17 10:33:01 +05:30
Kovid Goyal
494ccb9a82 Add support for half stars to the new content server 2016-09-04 20:00:32 +05:30
Kovid Goyal
908b098912 Show indicator when hovering over side margins 2016-08-23 14:58:01 +05:30
Kovid Goyal
231ee3bcfb Add missing random icon 2016-06-11 11:24:17 +05:30
Kovid Goyal
c295219a28 A simple TreeView widget 2016-06-10 09:41:17 +05:30
Kovid Goyal
638ab15bf1 The button bar 2016-05-26 14:35:19 +05:30
Kovid Goyal
bb442dee28 Use SVG icons instead of an icon font 2016-04-07 22:12:42 +05:30