Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/epubadapter.py
Commit message (Collapse)AuthorAgeFilesLines
* Pyflakes fixesGonzalo Odiard2013-09-051-0/+3
|
* Pep8 fixesGonzalo Odiard2013-09-051-10/+10
|
* Add rotate buttons - SL #4583Gonzalo Odiard2013-09-051-0/+3
| | | | | | Right now, is implemented only for pdf files. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Fix crash in search with epub files - part of SL #3924Gonzalo Odiard2012-09-271-2/+1
| | | | | | This patch also highligth the results as in Browse. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Comment the code related to tts in epub backendGonzalo Odiard2012-09-261-4/+4
| | | | | | Needed to work with sugar-build until error with espeak plugin is fixed Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Fix index management in epub files - SL #3853Gonzalo Odiard2012-09-101-0/+12
| | | | | | | | | | 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>
* Show the table of contents in a panelGonzalo Odiard2012-09-101-6/+7
| | | | | | | | | | | | 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>
* Save and restore zoom level in epub and text backendsGonzalo Odiard2012-08-171-1/+9
| | | | Siogned-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Save and restore the page with epub files - SL #3413Gonzalo Odiard2012-04-091-1/+1
| | | | | | | | | | | | | | | | | 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>
* Disable text to speech because of SL #3349Gonzalo Odiard2012-03-081-1/+1
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Fix utf-8 code management in the text to speech in epub backendGonzalo Odiard2012-03-071-1/+2
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Add a stop button to the speech toolbarGonzalo Odiard2012-03-071-0/+7
| | | | | | This is needed to restart reading from the start of the page. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Import only the needed backendGonzalo Odiard2012-03-061-0/+1
| | | | | | | | 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>
* Initial port to Gtk3Gonzalo Odiard2011-12-081-3/+3
|
* Text to speech in epub backend skipped one word.Gonzalo Odiard2011-07-051-1/+0
|
* Fix text to speech restart after 40 words in epub backendGonzalo Odiard2011-06-101-0/+1
|
* Disable word highlighting in epub backendGonzalo Odiard2011-05-311-0/+5
| | | | | The solution implemented using javascript is not good. There are a problema also, creating tmp files and not removing them.
* Highligh of spoken word in epub backend implemented.Gonzalo Odiard2011-02-251-0/+1
| | | | Is not working right - Temporary Patch
* Initial implementation of text to speech in epub backendGonzalo Odiard2011-02-241-1/+34
| | | | No highlight of spoken word yet.
* Add text to speech capability to text backendGonzalo Odiard2011-02-211-0/+3
| | | | Too much code stolen from Read EText activity
* Add highlight support to thetext backendGonzalo Odiard2011-02-181-0/+3
| | | | | | - 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.
* Move title metadata extraction to the backendsv88Gonzalo Odiard2011-02-141-1/+7
|
* Get back functionalities in EPUB frameworkGonzalo Odiard2011-02-121-4/+64
| | | | | | - 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
* adapt to evince 2.30 API (SL#1900)Lucian Branescu Mihaila2011-01-201-3/+0
| | | | | | | | | | | | 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>
* pep8 cleanup: fix whitespaceSascha Silbe2011-01-201-1/+7
| | | | Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org>
* fix EOL spacesSascha Silbe2011-01-201-1/+1
| | | | Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org>
* Remove update_view_size from epubadapterSayamindu Dasgupta2009-09-161-3/+0
|
* Minor tweaks to page numbering related stuffSayamindu Dasgupta2009-06-301-4/+5
|
* Implement initial find support in EpubSayamindu Dasgupta2009-06-281-7/+7
|
* Add a adapter class for handling Epub filesSayamindu Dasgupta2009-06-271-0/+66
The adapter extends EpubView, Epub and JobFind to make them compatible with the Evince API as much as possible