| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
Right now, is implemented only for pdf files.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
| |
This patch also highligth the results as in Browse.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
| |
Needed to work with sugar-build until error with espeak plugin is fixed
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
|
|
|
| |
Epub index can point to internal links in the content files.
This patch manage this cases. A particular case was found in a
file generated in UY (see attachment in the ticket) where the links
don't point to the start of a file, but to the end of the previous file.
Then, if the index is at the end of a file, we open the next file.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The table of contents, actually implemented in epub backend,
is displayed in a later panel, instead of in a combo,
to do easier the interaction with touch, and provide context.
The code is now more general to allow the implementation
in the pdf backend too.
The button used to display the table of contents, was moved
from the main toolbar to the view subtoolbar.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
| |
Siogned-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the user closed and reopened the activity, reading a epub file,
the page was lost.
The problem had two sources:
The invisible webkit widget used to measure the document height,
can add a scrollbar (randomly) then the inner width change,
the text folw differently and the inner height change. This problem is solved
setting document.documentElement.style.overflow = hidden in the widget
when is used to measure.
The second problem was, after the document was loaded and positioned
the epubview tried to change the scroll position again.
This patch include a minor change in readactivity.py, only to avoid
call many times view.get_current_page.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
| |
This is needed to restart reading from the start of the page.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
|
| |
The activity only open one tipe of file at time, but was importing
all the backends. Now import the needed backend after having the mimetype,
to have better startup times and lower memory use.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The solution implemented using javascript is not good.
There are a problema also, creating tmp files and not removing them.
|
|
|
|
| |
Is not working right - Temporary Patch
|
|
|
|
| |
No highlight of spoken word yet.
|
|
|
|
| |
Too much code stolen from Read EText activity
|
|
|
|
|
|
| |
- The highlights are saved in the same db we save the bookmarks.
- The highlights can be removed selecting again the same tex, or a subportion of the text
or puting the cursos inside the highlighted area.
|
| |
|
|
|
|
|
|
| |
- TOC, zoom and find are working in epub
- All the code specific to a backend is moved outsude of readactivity.py, readtoolbar.py and readtopbar.py
- Rename adapter classes to avoid confusion
|
|
|
|
|
|
|
|
|
|
|
|
| |
PDFs are working fine, EPub support is limited:
- search not working
- copy to clipboard disabled
- zoom disabled
- page next/prev disabled
Tested-by: Sascha Silbe <sascha-pgp@silbe.org>
[combined into a single patch, wrote patch description, minor style clean-ups]
Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org>
|
|
|
|
| |
Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org>
|
|
|
|
| |
Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org>
|
| |
|
| |
|
| |
|
|
The adapter extends EpubView, Epub and JobFind to make them compatible with the Evince API as much as possible
|