This removes kdelibs4support for all generators except the mobipocket one.
The test executable for kimgio needs some windows fixes too, so I'll try
to make a separate review for that.
REVIEW: 126375
The old auto_ptr was used for simple RAII. None of the auto_ptr flaws
were apparent in that context, but given that that class is actively
deprecated and that compilers warn about its use, it's better to switch
to its drop-in replacement.
My reason for not using QScopedPointer is that the C++11 version works
well enough, Okular is being built in C++11 mode anyway, unique_ptr
works on the KF5-minimal-mandated-compilers according to their docs, and
therefore there's no point in using something with a different API
(QScopedPointer) just because its name begins with a Q.
REVIEW: 124027
The new unrar version includes the paths in its "bare listing" (unrar lb), while it still extracts only the filename without the path. Thus, the Unrar::list() function fails. This patch strips the path away.
REVIEW: 113163
BUGS: 325677
FIXED-IN: 4.11.3
Instead of just fully loading the images, make use of QImageReader to query for the size if available, and in case just do the old way (full image loading).
This drastically kills the loading time of comicbook documents of at least 50%, even by 75% (and possibly something more) on the average case.
svn path=/trunk/KDE/kdegraphics/okular/; revision=917041
In other cases, when getting password requests via stderr, just kill the process and return with a failure code:
the proper solution would be handling the password request, but this is a non-trivial task that require some more work.
Thus, for now, just do not allow password-protected RARs to be opened.
BUG: 165596
svn path=/trunk/KDE/kdegraphics/okular/; revision=828998
- move in an own function the procedure to recognize an output
- try to detect first unrar-nonfree, then unrar
- keep and print on console the path of the found unrary
svn path=/trunk/KDE/kdegraphics/okular/; revision=809968