Pino Toscano
0f08bfbcf0
check for the data pointer, not for the size
...
this way we can load resources of 0 bytes (not much useful per-se, but at least we know they are actually existing in the epub archive)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1182899
16 years ago
Pino Toscano
b10baf2d19
SVN_SILENT whitespace cleanup
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1182878
16 years ago
Burkhard Lück
ac12b000e8
adapt to 4.6 menu strings
...
svn path=/trunk/KDE/kdegraphics/doc/okular/; revision=1182828
16 years ago
Pino Toscano
a55004e6d3
qDebug -> kDebug
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1182639
16 years ago
Pino Toscano
f9424bbeee
Apply a way to resolve the real location of resources to load.
...
When iterating through the document HTML files, set in the epub document the URL of the current file being loaded,
so it is possible to resolve the locations of resources based on the base URL of the current file.
This makes it possible to load resources like "foo.css", "somedir/foo.css", "../somedir/foo.css" and so on.
BUG: 198764
FIXED-IN: 4.6
svn path=/trunk/KDE/kdegraphics/okular/; revision=1182629
16 years ago
David Faure
605c31e27c
Make executable the Type=Application .desktop files we install,
...
so that they can be used even from a KDE running in another prefix (http://markmail.org/message/4p3krovtnzwx35zd )
svn path=/trunk/KDE/kdegraphics/okular/; revision=1182571
16 years ago
Pino Toscano
515f9c7ac1
resolve numeric destinations of outline items
...
pages can have identifiers made up only with numbers; this needs to be taken
into account when resolving the destination of outline items, otherwise the
previous algorithm would assume that a numeric destination is a page number,
and thus potentially accessing to wrong pages (and crashing)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1182195
16 years ago
Pino Toscano
00288db0ba
move the caching of the name->index page mapping to the private pageWithName()
...
so it can be reused within other methods in the private class
svn path=/trunk/KDE/kdegraphics/okular/; revision=1182194
16 years ago
Christophe Giboudeaux
d89779c871
Compat fix. FindOkular.cmake used to set OKULAR_FOUND.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1181948
16 years ago
Albert Astals Cid
64063fe996
Alex says FindOkular.cmake is not the way to go and that we need to install an OkularConfig.cmake
...
That get_filename_component thing seems quite fragile and hacky to me but he is the expert :-)
CCMAIL: neundorf@kde.org
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=1179984
16 years ago
Laurent Montel
a86bbe9053
Use QLatin1String
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1178207
16 years ago
Burkhard Lück
a24d98e3bc
change KTTSD to the new name Jovie
...
CCMAIL:jpwhiting@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=1175907
16 years ago
Burkhard Lück
92227541b3
doc upf´date
...
svn path=/trunk/KDE/kdegraphics/doc/okular/; revision=1175370
16 years ago
Eike Hein
71298c5d04
Don't show the Web Shortcuts submenu if DRM disallows copying.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1174215
16 years ago
Eike Hein
44c7cf932a
Add support for KDE's Web Shortcuts to the page view popup menus of
...
the two text selection tools.
BUG:119685
FIXED-IN:4.6
svn path=/trunk/KDE/kdegraphics/okular/; revision=1174208
16 years ago
Albert Astals Cid
a2905602ae
Protect us against "impossible" things (Qt not knowing a font we just added), probably fixes 250728
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1173928
16 years ago
Andrius Štikonas
c663b27305
i18n: Add translation context.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1172675
16 years ago
Albert Astals Cid
3675bc6575
restore sidebar visibility correctly
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1171494
16 years ago
Albert Astals Cid
d5b20ed7f2
Adapt to changes about Ctrl+Home/Ctrl+End
...
svn path=/trunk/KDE/kdegraphics/doc/okular/; revision=1171439
16 years ago
Albert Astals Cid
66c5ad47b4
Make Ctrl+End/Ctrl+Home go to end up document/beginning of documents instead of lastpage/firstpage
...
BUGS: 241197
svn path=/trunk/KDE/kdegraphics/okular/; revision=1171437
16 years ago
Albert Astals Cid
6ad8e94d53
make the forward and backward search code more similar
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1170644
16 years ago
Albert Astals Cid
649722af24
add some const makes the code a bit easier to understand
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1170640
16 years ago
Albert Astals Cid
3ee7d84ebe
forwardport r1170081 okular/branches/KDE/4.5/kdegraphics/okular/ui/pageview.cpp:
...
Do not crash if we are in dummy mode and the user tries to "select an area"
svn path=/trunk/KDE/kdegraphics/okular/; revision=1170085
16 years ago
Jeff Mitchell
c4a4a08a17
Patch KDE Security Advisory 2010-08-25-1 and CVE-2010-2575
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1167828
16 years ago
Pino Toscano
d882e96d8b
fix the message displaying to work when the osd is disabled:
...
- really hide error messages, instead of show them after the proper message dialog box of the case
- if there are details, show a message box with details
svn path=/trunk/KDE/kdegraphics/okular/; revision=1166478
16 years ago
Albert Astals Cid
f57ddfd726
do not rely on extract-messages.sh doing the work for us
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1166364
16 years ago
Pino Toscano
3c25f99a7c
take into account also the width of the details text
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1166348
16 years ago
Pino Toscano
88a6d10888
use a simple char[] for the buffer, instead of a QByteArray, and make it bigger (64K instead of 1K)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1166346
16 years ago
Pino Toscano
ba6bff6552
add the possibility to pass details to PageView::displayMessage()
...
also, use that string when calculating the duration time of the message
svn path=/trunk/KDE/kdegraphics/okular/; revision=1166345
16 years ago
Pino Toscano
6db209b595
port the users of PageViewMessage::display() to call the version with "details", and remove the old version
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1166344
16 years ago
Pino Toscano
b7e955e2c3
add the possibility to show a "details text" in PageViewMessage
...
in case it is not empty, show such details text with a 60% line spacing wrt the "main text";
also add an inline version of display() using the previous api, so we can port the usages of it to the new display()
svn path=/trunk/KDE/kdegraphics/okular/; revision=1166254
16 years ago
Pino Toscano
578b535877
when the user cancels the loading of a non-local document, just show an info message in the page view instead of an error message box
...
move the generic error for local files to openUrl()
svn path=/trunk/KDE/kdegraphics/okular/; revision=1166044
16 years ago
Pino Toscano
5d884febb0
rename slot: setMimeTypes -> slotJobStarted
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1166032
16 years ago
Albert Astals Cid
89f0eb01fb
Factor out static methods for determining the event type and button when dealing with annotations
...
Patch by Radu Voicilas
svn path=/trunk/KDE/kdegraphics/okular/; revision=1165294
16 years ago
Pino Toscano
c20db0e025
dynamically check for the availability of the bzip2 filter
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1163613
16 years ago
Pino Toscano
14aec8a8dd
open XZ-compressed documents, if the kde filter supports such type of compression
...
CCBUG: 216635
svn path=/trunk/KDE/kdegraphics/okular/; revision=1163601
16 years ago
Pino Toscano
efcd020e2a
port TTS to QDBusServiceWatcher
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1163584
16 years ago
Albert Astals Cid
e0cbb82cc4
make sure we wrap correctly when zoooming too
...
BUGS: 247797
svn path=/trunk/KDE/kdegraphics/okular/; revision=1163568
16 years ago
Albert Astals Cid
8a6b687e1b
Typo fix by Radu Voicilas
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1162803
16 years ago
Albert Astals Cid
724223d4ec
at the moment i'm current not former
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1162411
16 years ago
Albert Astals Cid
3aa8f6aaa4
fix docu
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1162332
16 years ago
Pino Toscano
ba0dd22f71
when archiving, resolve the symlink if the document path is that
...
CCBUG: 245243
svn path=/trunk/KDE/kdegraphics/okular/; revision=1161859
16 years ago
Pino Toscano
72e53fd4f0
save the original "data" pointer and delete[] the copy
...
this way, if we move "data" (for ghostscript/PC research faxes -- see FAXMAGIC) we are always sure to free the right memory buffer
CCBUG: 247300
svn path=/trunk/KDE/kdegraphics/okular/; revision=1161849
16 years ago
Pino Toscano
4deb743fc1
ask for the annotation author before creating the actual annotator, so we can avoid it if needed
...
also, no need to iterate again, as the input dialog will not accept an empty (not totally blank) value
furthermore, abort annotator creation if the user aborts the input dialog
BUG: 236865
svn path=/trunk/KDE/kdegraphics/okular/; revision=1160649
16 years ago
Pino Toscano
88b00717de
do not process the user events while executing the rar processes
...
BUG: 245499
svn path=/trunk/KDE/kdegraphics/okular/; revision=1160615
16 years ago
Burkhard Lück
986bcc5ac0
fix wrong decription to get this into 4.5.1
...
CCBUG:246294
svn path=/trunk/KDE/kdegraphics/doc/okular/; revision=1157984
16 years ago
Albert Astals Cid
007de723db
Forwardport aacid * r1157336 okular/branches/KDE/4.5/kdegraphics/okular/ui/pageview.cpp:
...
make the action name unique
Fixes bug 246228
svn path=/trunk/KDE/kdegraphics/okular/; revision=1157337
16 years ago
Mathieu Lornac
8c3fe2aa28
BUG:193132
...
Checks if a file exists before trying to open it.
Prevents from having 2 error messages when the file is an archive
acked by tsdgeos
svn path=/trunk/KDE/kdegraphics/okular/; revision=1156880
16 years ago
Albert Astals Cid
47801bc4ab
forwardport aacid * r1156334 okular/branches/KDE/4.5/kdegraphics/okular/ui/pageview.cpp:
...
Fix mouse scrolling when wrapping sometimes sending you where you did not want
Patch by Mathieu Lornac
svn path=/trunk/KDE/kdegraphics/okular/; revision=1156337
16 years ago
Albert Astals Cid
d0b9699732
Allow dragging in thumbnails view to drag from one page to other
...
Patch by Mathieu Lornac
Will *not* be in KDE 4.5.0
Might backport it to stable branch for some KDE 4.5.x if noone finds any problem
BUGS: 201669
svn path=/trunk/KDE/kdegraphics/okular/; revision=1156320
16 years ago