Commit graph

4533 commits

Author SHA1 Message Date
Pino Toscano
9b8d15bab3 Add a search option for start searching from the current page instead of the first page.
BUG: 163149

svn path=/trunk/KDE/kdegraphics/okular/; revision=845858
2008-08-12 14:10:49 +00:00
Pino Toscano
5bb000ed8b add a way to set the "from start" search option
svn path=/trunk/KDE/kdegraphics/okular/; revision=845857
2008-08-12 14:09:14 +00:00
Pino Toscano
751d15bbe2 add the possibility to read the form actions, using poppler of around 5 minutes ago
svn path=/trunk/KDE/kdegraphics/okular/; revision=845793
2008-08-12 12:02:31 +00:00
Pino Toscano
0960b00b95 un-static-ize createLinkFromPopplerLink()
svn path=/trunk/KDE/kdegraphics/okular/; revision=845788
2008-08-12 11:53:44 +00:00
Albert Astals Cid
6b106c32ca If we are cancelling move, make sure we are where we should be
CCMAIL: 165809

svn path=/trunk/KDE/kdegraphics/okular/; revision=844880
2008-08-10 20:26:33 +00:00
Pino Toscano
e00b99bba1 add ODT in the export format class
svn path=/trunk/KDE/kdegraphics/okular/; revision=843642
2008-08-07 13:45:43 +00:00
Pino Toscano
d51be3729b add a way to disable the internal page cache, and disable it by default in the generator
svn path=/trunk/KDE/kdegraphics/okular/; revision=843095
2008-08-06 12:42:44 +00:00
Pino Toscano
a9227aff93 SVN_SILENT bump version, update copyright notice and slightly improve the description
svn path=/trunk/KDE/kdegraphics/okular/; revision=843089
2008-08-06 12:31:16 +00:00
Pino Toscano
2f12a3a3d6 allocate less temporary buffers; this should make the backend use less memory when rendering
svn path=/trunk/KDE/kdegraphics/okular/; revision=843088
2008-08-06 12:28:14 +00:00
Pino Toscano
16b864fe24 statically allocate the format mask instead of creating+deleting
svn path=/trunk/KDE/kdegraphics/okular/; revision=843087
2008-08-06 12:16:30 +00:00
Pino Toscano
27fc7f9144 Apply workaround as suggested by DjVuLibre's maintainer Leon Bottou to avoid a potential crash in rare situations.
The real fix should be applied already in DjVuLibre's CVS.
Thanks Leon!

BUG: 168030

svn path=/trunk/KDE/kdegraphics/okular/; revision=842846
2008-08-06 04:16:15 +00:00
Pino Toscano
6fe1576442 Correctly get the filename from the original url, not from the local file name of the real file being open.
BUG: 168068

svn path=/trunk/KDE/kdegraphics/okular/; revision=842324
2008-08-05 09:15:24 +00:00
Pino Toscano
8d83f021a8 Enable the text-to-speech actions only when there is a document loaded (other than KTTS being present, of course).
BUG: 168310

svn path=/trunk/KDE/kdegraphics/okular/; revision=841918
2008-08-04 10:16:47 +00:00
Pino Toscano
9308f9b1af SVN_SILENT i feel to have contributed in a significant way, so add me too
svn path=/trunk/KDE/kdegraphics/okular/; revision=841468
2008-08-03 10:31:56 +00:00
Pino Toscano
2eb4dd8147 - extract the painter-based paint procedure of the XpsPage in an own method
- add printing support for the XPS backend

svn path=/trunk/KDE/kdegraphics/okular/; revision=841450
2008-08-03 10:19:05 +00:00
Pino Toscano
9748b1e6a7 update all the configuration (not just the AA settings) each time a document is open
svn path=/trunk/KDE/kdegraphics/okular/; revision=841347
2008-08-03 08:43:33 +00:00
Albert Astals Cid
61964b930f And now okular coupled with poppler from 5 minutes ago has the hability to let you save to file fonts embedded into a pdf file
svn path=/trunk/KDE/kdegraphics/okular/; revision=840789
2008-08-01 20:26:22 +00:00
Albert Astals Cid
128825907f KUIT++
svn path=/trunk/KDE/kdegraphics/okular/; revision=840781
2008-08-01 20:12:09 +00:00
Albert Astals Cid
267f8c8ea3 some KUIT
svn path=/trunk/KDE/kdegraphics/okular/; revision=840780
2008-08-01 20:11:51 +00:00
Pino Toscano
2329f93b84 more qreal/double mismatches
svn path=/trunk/KDE/kdegraphics/okular/; revision=839972
2008-07-31 09:26:11 +00:00
Pino Toscano
fbeff5ae7c do not assume there is always a configuration dialog around (eg, when doing a print preview)
BUG: 167734

svn path=/trunk/KDE/kdegraphics/okular/; revision=839616
2008-07-30 12:24:01 +00:00
Pino Toscano
4d1a48cddb when saving the internal xml, be sure to save it as utf-8, and to advertize the encoding in the main processing instruction
svn path=/trunk/KDE/kdegraphics/okular/; revision=839566
2008-07-30 10:57:08 +00:00
Albert Astals Cid
87d361282d Repeat with me, it's image/jp2, not image/jpeg2000
And now i can see jp2 images in okular and gwenview :-)

svn path=/trunk/KDE/kdegraphics/okular/; revision=839378
2008-07-29 22:01:00 +00:00
Script Kiddy
9830f4e2aa SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=839175
2008-07-29 13:27:46 +00:00
Pino Toscano
bd833bdd5c hopefully make it compile and work also where qreal is not double but float
svn path=/trunk/KDE/kdegraphics/okular/; revision=837842
2008-07-25 20:51:42 +00:00
Albert Astals Cid
a56c456bf8 delete pdfConv
svn path=/trunk/KDE/kdegraphics/okular/; revision=837829
2008-07-25 20:24:14 +00:00
Pino Toscano
dab65cd4fd properly keep a reference to the print option widget, and create it only when necessary
BUG: 167353

svn path=/trunk/KDE/kdegraphics/okular/; revision=837341
2008-07-24 13:31:42 +00:00
Pino Toscano
8bad2a8629 & is different than |
fix a condition that made the view loading and saving vanish into the hyperspace

BUG: 167220

svn path=/trunk/KDE/kdegraphics/okular/; revision=836658
2008-07-22 18:14:44 +00:00
Albert Astals Cid
c8485c5bf2 fix two typos detected by Yuri Chornoivan
svn path=/trunk/KDE/kdegraphics/doc/okular/; revision=836220
2008-07-21 22:08:58 +00:00
Pino Toscano
67e7823b46 it uses QDom*, so link to QtXml
svn path=/trunk/KDE/kdegraphics/okular/; revision=836123
2008-07-21 19:00:19 +00:00
Luigi Toscano
66d2f6be65 Correctly intercept standard output.
Thanks, Pino!

BUG: 164900


svn path=/trunk/KDE/kdegraphics/okular/; revision=832543
2008-07-14 22:30:41 +00:00
Laurent Montel
3d3e63ce0e Fix mem leak
svn path=/trunk/KDE/kdegraphics/okular/; revision=831766
2008-07-13 09:51:04 +00:00
Pino Toscano
7b76ec7e67 bump development version to 0.7.80
svn path=/trunk/KDE/kdegraphics/okular/; revision=830498
2008-07-10 16:16:10 +00:00
Dirk Mueller
41afd26ba3 link all direct dependencies
svn path=/trunk/KDE/kdegraphics/okular/; revision=829219
2008-07-07 20:57:40 +00:00
Pino Toscano
a656adee13 bump version to 0.6.90
svn path=/trunk/KDE/kdegraphics/okular/; revision=829004
2008-07-07 08:02:34 +00:00
Pino Toscano
83350dc0d6 On UNIX, make use of a pty process instead of a normal process, as unrar opens pty connections for getting passwords.
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
2008-07-07 07:32:56 +00:00
Pino Toscano
64617bd429 implement the PolyQuadraticBezierSegment
svn path=/trunk/KDE/kdegraphics/okular/; revision=825763
2008-06-29 10:40:49 +00:00
Pino Toscano
674c8536d3 read and apply the opacity for canvas
svn path=/trunk/KDE/kdegraphics/okular/; revision=825717
2008-06-29 08:00:17 +00:00
Pino Toscano
73c67b1822 read and apply the clipping for glyphs
svn path=/trunk/KDE/kdegraphics/okular/; revision=825710
2008-06-29 04:26:09 +00:00
Pino Toscano
4225aac69e Read and apply the transformations of <PathGeometry> and <Canvas> elements.
Now lots more document (of the test suite) display better, yay! :)
(although, there are regressions in very few documents, but that is due to other unhandled stuff in them.)

svn path=/trunk/KDE/kdegraphics/okular/; revision=825707
2008-06-29 03:09:08 +00:00
Pino Toscano
dc827f1ff3 start reading the geometries child of the Path element;
introduce ah-hoc structores for handling them;
so far, read PolyLineSegment and PolyBezierSegment only

svn path=/trunk/KDE/kdegraphics/okular/; revision=825705
2008-06-29 02:15:17 +00:00
Pino Toscano
a2d22d791b SVN_SILENT update comments
svn path=/trunk/KDE/kdegraphics/okular/; revision=825482
2008-06-28 11:34:51 +00:00
Pino Toscano
075f0302cd consider also the Stroke child of Path elements
svn path=/trunk/KDE/kdegraphics/okular/; revision=825466
2008-06-28 10:58:57 +00:00
Pino Toscano
76af0c2c40 add a method to load entries from the archive, also in a case-insensitive way, and apply it for image and font loading
svn path=/trunk/KDE/kdegraphics/okular/; revision=825457
2008-06-28 10:15:43 +00:00
Pino Toscano
b81251ead3 I feel worth bumping the version to 0.2, after all the work that has been done for Okular0.7/KDE 4.1.
svn path=/trunk/KDE/kdegraphics/okular/; revision=825378
2008-06-27 23:57:25 +00:00
Pino Toscano
aa0ceffea3 SVN_SILENT unused includes
svn path=/trunk/KDE/kdegraphics/okular/; revision=825377
2008-06-27 23:51:45 +00:00
Pino Toscano
018045758f do not draw text in some situations the XPS spec tell us to not do that:
- missing Fill attribute and Glyphs.Fill child element
- brush color with alpha == 0
- Opacity attribute explicitely 0

svn path=/trunk/KDE/kdegraphics/okular/; revision=825375
2008-06-27 23:44:33 +00:00
Pino Toscano
046637703b slightly refactor absolutePath(), and optionally un-percent-encode if the path contains any '%' char
svn path=/trunk/KDE/kdegraphics/okular/; revision=825370
2008-06-27 23:10:18 +00:00
Pino Toscano
0e86eef685 the document relationship file can be splitted too, so take care of that
svn path=/trunk/KDE/kdegraphics/okular/; revision=825362
2008-06-27 22:36:14 +00:00
Pino Toscano
fdd5704f8f do not draw text with fontsize of 0 (as the specs say)
svn path=/trunk/KDE/kdegraphics/okular/; revision=825360
2008-06-27 22:18:00 +00:00