Pino Toscano
f3799d700e
xps: allow also 'e' when parsing numbers from path strings
...
it indicates the exponential part of a real number, e.g. "3.54824e-005"
15 years ago
Pino Toscano
31a2e0af57
xps: use readFileOrDirectoryParts() also when creating a text page
...
just like it is done when rendering
CCBUG: 274482
15 years ago
Pino Toscano
7e0cfa2319
xps: load fonts with readFileOrDirectoryParts()
...
apparently, even those can be split in multiple chunks
CCBUG: 274482
15 years ago
Pino Toscano
a4ba73feb1
xps: split loadFile() in loadEntry() + loadFile()
...
loadEntry() retains the main entry loading logic (with the case insensitivity),
return just generic KArchiveEntry pointers
loadFile() just calls loadEntry(), returning the result if the entry is a file
15 years ago
Pino Toscano
fbe0c0764f
xps: more debug when parseAbbreviatedPathData() fails
15 years ago
Pino Toscano
0507090d8c
pdf: abstractTextPage() does not use 'rot', so declare it unused
15 years ago
Pino Toscano
82313448fa
pdf: add prefix for poppler messages, silent warning
15 years ago
Pino Toscano
933ef384d7
pdf: claim support for the WWF file type
15 years ago
Pino Toscano
505139af31
generators: fix core #includes removing the okular prefix
15 years ago
Pino Toscano
a6e1ee3f8f
remove the mobipocket generator
...
it has been moved to the separate mobipocket repository
15 years ago
Albert Astals Cid
fb78a4c1b8
correctly update pos (shouldn't matter but let's do it correctly)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1233921
15 years ago
Albert Astals Cid
87e98d5cc6
I have a few mobi files with
...
<font size="+2" face="AdobeGaramondPro" color="rgb(0,0,0)">
convert the color to something Qt understands
svn path=/trunk/KDE/kdegraphics/okular/; revision=1233920
15 years ago
Script Kiddy
84cc400fd0
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1231700
15 years ago
Script Kiddy
b815d7356d
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1231185
15 years ago
Script Kiddy
805a8e7f89
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230986
15 years ago
Albert Astals Cid
e1ae8200d2
fix typo uncovereted by gcc4.6 new warnings
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230922
15 years ago
Albert Astals Cid
439e7b9799
remove unused variables
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230896
15 years ago
Script Kiddy
64b8965b35
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230852
15 years ago
Script Kiddy
1b38da667b
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230663
15 years ago
David Palacio
fedc888dd5
Fix invalid index access:
...
FilePathA is a substring of FilePathB: E.g:
/foo/bar
/foo/barr
A Filepath ends in space
/foo/bar
/foo/ba_ <- _ is a space
In debug build this code fails this assert:
qstring.h:
inline const QChar QString::operator[](int i) const
{ Q_ASSERT(i >= 0 && i < size()); return d->data[i]; }
REVIEW: 6672
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230522
15 years ago
David Palacio
4aa3ebe4c6
Add support for reading a directory as a comicbook.
...
REVIEW: 6667
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230519
15 years ago
Albert Astals Cid
57cdf76407
pdfdoc->page can return 0 protect against it
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1222775
15 years ago
Script Kiddy
6754fbd1c4
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1213671
15 years ago
Pino Toscano
e6b98db3d0
bump some generators version number to the values of the 4.5 branch, plus increase if there was work/fixes done
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1212170
15 years ago
Albert Astals Cid
537f2618bb
pipe poppler debug through kdebug
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1209701
15 years ago
Albert Astals Cid
0fdc76180d
QImageReader is a bit dumb and does not know how to open jpeg files with .png extension so use kmimetype that is somehow smarter
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1209685
15 years ago
Script Kiddy
a54fdcb923
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1207664
15 years ago
Pino Toscano
26d462e143
do not crash when handling links pointing to pages not in the document
...
CCBUG: 254610
svn path=/trunk/KDE/kdegraphics/okular/; revision=1189015
16 years ago
Pino Toscano
adf32b88bf
support also application/oxps, which is the new mimetype name for XPS documents
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1187566
16 years ago
Laurent Montel
28fff2c988
Install as programs
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1187515
16 years ago
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
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
Laurent Montel
a86bbe9053
Use QLatin1String
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1178207
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
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
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
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
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
Pino Toscano
14521f54a7
bump plugins versions to be in sync with kde 4.4 and, in case, consider more work being done
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1156088
16 years ago
Script Kiddy
2aa8b4b5d3
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1155394
16 years ago
Script Kiddy
34cef01317
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1150134
16 years ago
Albert Astals Cid
cc1c99b410
Interpret the char as utf8, fixes inverse search from dvi to tex not working if tex-file's path indicated in dvi contains non-latin letters
...
Patch by mathieu lornac
BUGS: 243473
svn path=/trunk/KDE/kdegraphics/okular/; revision=1149143
16 years ago
Script Kiddy
829f5d7c51
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1141647
16 years ago
Script Kiddy
59eec2c961
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1139821
16 years ago
Script Kiddy
2ae4b74ca6
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1135864
16 years ago