Montel Laurent
3b4ee788b8
Fix includes
12 years ago
Frederik Gladhorn
6c602bf0e7
Use categorized logging even more
12 years ago
Frederik Gladhorn
e28dbc6c00
Port to QMime
...
compressedMimeFor now already does the inheritance check, so another
check was removed.
12 years ago
Frederik Gladhorn
83d3f1f6b7
Revert "Some more kDebug->qDebug"
...
Seems like kDebug doesn't spam the user, so this needs to use qCDebug.
This reverts commit 34fbdf8c85 .
12 years ago
Frederik Gladhorn
34fbdf8c85
Some more kDebug->qDebug
12 years ago
Albert Astals Cid
55011e0588
Don't create pages for files that are not images
...
The zip in bug #328182 has one
12 years ago
David Palacio
82c29939ea
Merge pages, pageSize and extractImageFiles.
...
This fixes change 39fc2a471e
which does not work on archives (zip, rar, etc.).
15 years ago
Aleix Pol
39fc2a471e
Properly check if a file is a readable image by asking QImageReader.
...
Reviewed by Albert Astals.
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
Glen Kaukola
122fab0eee
Krazy: Check single-char QString operations for efficiency.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1110335
16 years ago
Pino Toscano
d091beab16
allow TIFF files
...
BUG: 227784
svn path=/trunk/KDE/kdegraphics/okular/; revision=1093114
16 years ago
Harsh Chouraria J
da899f862e
FEATURE:204195
...
Add support for application/x-cbt filetypes using KArchive/KTar support. All kinds of tar (.cbt) files
should now be supported. Changed appropriate .desktop files to detect as well.
svn path=/trunk/KDE/kdegraphics/okular/; revision=1072400
16 years ago
Harsh Chouraria J
f5bbebd879
Generalize the code for KArchive support instead of using KZip directly. This will be helpful in
...
adding other supported formats, such as Tar. (Review ticket: 2181)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1072399
16 years ago
Pino Toscano
6968d1d1a8
isNull() -> !isValid(), as it checks for non-null-but-invalid sizes as well
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=979620
17 years ago
Pino Toscano
36924a897f
When loading a comicbook, try to get just the size of the various images without loading them if possible.
...
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
17 years ago
Pino Toscano
211f082f1e
Scan recursively for images in CBZ archives.
...
BUG: 178029
svn path=/trunk/KDE/kdegraphics/okular/; revision=899134
17 years ago
Pino Toscano
e0987c2989
fix logic error
...
BUG: 178028
svn path=/trunk/KDE/kdegraphics/okular/; revision=898354
17 years ago
Albert Astals Cid
38a3e18279
fix typo spotted by Yuri Chornoivan
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=882560
18 years ago
Pino Toscano
008fce9421
Hack around the fact that CBR or CBZ documents can ahve the wrong extension.
...
(And I wonder, if the only way to recognize them is via extension, wtf?)
BUG: 174701
svn path=/trunk/KDE/kdegraphics/okular/; revision=882007
18 years ago
Pino Toscano
169df555d5
report a message when there is no unrar, or the unrar is not suitable
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=809958
18 years ago
Pino Toscano
f697cdf007
Add a close() method for the comicbook document so:
...
- resources can be freed when closing the Okular document for real (and not just when opening a new comicbook document or quitting)
- we do not crash when doing an opening sequence like: cbz -> cbr -> cbz
svn path=/trunk/KDE/kdegraphics/okular/; revision=798868
18 years ago
Pino Toscano
3c64c3232a
Start adding a minimal way to handle the different flavours of unrar.
...
For now, deny the usage of the "unrar-free", as it does not seem to be much usable...
svn path=/trunk/KDE/kdegraphics/okular/; revision=754056
18 years ago
Tobias Koenig
7e16285d28
Add a new helper functions which allow sorting of strings which
...
contains numbers in natural order
svn path=/trunk/KDE/kdegraphics/okular/; revision=706529
19 years ago
Tobias Koenig
cde58f48ba
* Check for Landscape or Portrait mode (patch by Pino)
...
* Fixed bug by clearing the page map on opening
svn path=/trunk/KDE/kdegraphics/okular/; revision=706496
19 years ago
Albert Astals Cid
0d47b62715
krazy include order issues
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
19 years ago
Tobias Koenig
deabbae3bf
Say hello to the new ComicBook generator for okular.
...
Information about this format and testfiles can be found at
http://en.wikipedia.org/wiki/CDisplay_RAR_Archived_Comic_Book_File
svn path=/trunk/playground/graphics/okular/; revision=624702
19 years ago