Commit graph

5086 commits

Author SHA1 Message Date
Pino Toscano 25365be867 temporary restore back old behaviour, so margin people are happy but page size ones are not
CCBUG: 196590

svn path=/trunk/KDE/kdegraphics/okular/; revision=986019
2009-06-23 22:30:55 +00:00
Pino Toscano 401b928bdb bump to 0.8.90 for kde 4.3rc1
svn path=/trunk/KDE/kdegraphics/okular/; revision=985876
2009-06-23 16:10:09 +00:00
Script Kiddy c6101baa9e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=985259
2009-06-22 14:14:42 +00:00
Script Kiddy d2c2dc8f1e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=984809
2009-06-21 13:46:21 +00:00
Pino Toscano bd2cc5715f format the PDF version as string
BUG: 196629

svn path=/trunk/KDE/kdegraphics/okular/; revision=982664
2009-06-16 14:19:30 +00:00
Tobias Koenig 037034392c Scale TIFF without RESUNIT entry correctly by using default values
svn path=/trunk/KDE/kdegraphics/okular/; revision=982340
2009-06-15 15:02:52 +00:00
Script Kiddy 14ed111d0b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=981516
2009-06-13 15:25:05 +00:00
Pino Toscano 6968d1d1a8 isNull() -> !isValid(), as it checks for non-null-but-invalid sizes as well
svn path=/trunk/KDE/kdegraphics/okular/; revision=979620
2009-06-10 10:03:18 +00:00
Pino Toscano 76126bf29a swapping was needed... 3 years ago, but it is not anymore
BUG: 194572

svn path=/trunk/KDE/kdegraphics/okular/; revision=979245
2009-06-09 11:16:26 +00:00
Pino Toscano 1faa6e2fac Allow the Enter key for starting and continuing a search.
BUG: 194953

svn path=/trunk/KDE/kdegraphics/okular/; revision=979227
2009-06-09 10:30:13 +00:00
Pino Toscano cd9a4f248b SVN_SILENT fix doxygen @since tag
svn path=/trunk/KDE/kdegraphics/okular/; revision=979130
2009-06-09 01:03:50 +00:00
Pino Toscano bd33e9467c Use the starting screen X/Y DPI values for calculating the page sizes, using the real values instead of the Xrdb values.
BUG: 191614

svn path=/trunk/KDE/kdegraphics/okular/; revision=979129
2009-06-09 00:50:14 +00:00
Pino Toscano 399f64beef Introduce realDpi{X,Y}(), that (on X11) can return the ral DPI values w/o any Xrdb setting.
Otherwise, they return the same as dpi{X,Y}().

svn path=/trunk/KDE/kdegraphics/okular/; revision=979128
2009-06-09 00:45:02 +00:00
Tobias Koenig b84d4a3432 The default-style can miss the master-page reference, so
don't depend on it.

BUG 195308

svn path=/trunk/KDE/kdegraphics/okular/; revision=977959
2009-06-05 17:47:19 +00:00
Tobias Koenig ea8c21630b Make parsing ODT files more robust if page width/height is wrong or missing
svn path=/trunk/KDE/kdegraphics/okular/; revision=977958
2009-06-05 17:45:59 +00:00
Urs Wolfer 913c95f58f optimizegraphics: Losslessly optimized PNG and SVGZ files with "optipng -o5" and "advdef -z -4".
Reduced disk space: 3180KB (3MB)

svn path=/trunk/KDE/kdegraphics/doc/okular/; revision=977313
2009-06-03 20:56:09 +00:00
Pino Toscano 00b24315ec try to skip one level of printing redirection madness, let's see how it behaves in 4.3beta2
CCBUG: 185296

svn path=/trunk/KDE/kdegraphics/okular/; revision=977210
2009-06-03 15:16:30 +00:00
Script Kiddy cb4b2847bd SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=975961
2009-05-31 14:22:38 +00:00
Pino Toscano 01001d2c61 Add a D-Bus function 'documentMetaData(QString)' to get a metadata of the open document, if available.
svn path=/trunk/KDE/kdegraphics/okular/; revision=975670
2009-05-30 17:00:16 +00:00
Script Kiddy ae2fecbba5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=975656
2009-05-30 16:29:33 +00:00
Script Kiddy 18d59ca1b3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=974480
2009-05-29 13:52:50 +00:00
Pierre Ducroquet f62df2548c I don't speak norvegian, but I think it is safe to assume that this was wrong ...
svn path=/trunk/KDE/kdegraphics/okular/; revision=973942
2009-05-28 09:16:39 +00:00
Pino Toscano 2dcee6883a actually, there's no need to register the bookmark items menu actions to the action collection, as they are transient atm
svn path=/trunk/KDE/kdegraphics/okular/; revision=973699
2009-05-27 17:26:53 +00:00
Pino Toscano 80b9ea46eb the kpart does already loop when refreshing a document, so doing the "wait and try again" ourselves is not useful
thus, then just do the check for document completeness before the actual opening attempt, should be enough
CCBUG: 189623

thanks to Albert for remembering me okular already does many things automagically

svn path=/trunk/KDE/kdegraphics/okular/; revision=973366
2009-05-26 22:53:40 +00:00
Pino Toscano d50180f0a5 0 is a valid value for font style, so use -1 as "not exlicitly set"
svn path=/trunk/KDE/kdegraphics/okular/; revision=973250
2009-05-26 17:23:39 +00:00
Pino Toscano 685d737f21 properly calculate the page size, converting from points to pixels using the current screen dpi
CCBUG: 171463
CCBUG: 193916
also, it seems to fix the crash of testcase documents in #193542 (not that the resulting quality when open is that good...)
BUG: 193542

svn path=/trunk/KDE/kdegraphics/okular/; revision=973209
2009-05-26 14:50:34 +00:00
Pino Toscano fb8fb5da35 read the font-style property of styles
CCBUG: 193916

svn path=/trunk/KDE/kdegraphics/okular/; revision=973180
2009-05-26 14:19:14 +00:00
Pino Toscano 70ed987347 simplify the target_link_libraries(), calling it always with the mandatory libs and then adding qca2 if found
svn path=/trunk/KDE/kdegraphics/okular/; revision=972784
2009-05-25 17:07:29 +00:00
Pino Toscano 12e601b733 when attempting to open a DVI file, check whether the file is correct
if not (for example it is still being (re)generated), then wait 800ms and try again, doing at most 10 waits
this should protect against opening incomplete documents
CCBUG: 189623

svn path=/trunk/KDE/kdegraphics/okular/; revision=972763
2009-05-25 16:04:36 +00:00
Pino Toscano 372968eb6c remember to always intialize your vars; m_init, in this case
BUG: 192293

svn path=/trunk/KDE/kdegraphics/okular/; revision=972753
2009-05-25 15:33:08 +00:00
Script Kiddy 1d133e2016 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=972720
2009-05-25 14:04:14 +00:00
Pino Toscano 7baf96fb77 SVN_SILENT stop telling the measure unit is unknown when asking to convert empty strings
svn path=/trunk/KDE/kdegraphics/okular/; revision=972336
2009-05-24 16:28:15 +00:00
Pino Toscano d9404a544d use the proper "page-zoom" icon for the zoom tool and the zoom selector
BUG: 193770

svn path=/trunk/KDE/kdegraphics/okular/; revision=972330
2009-05-24 16:09:19 +00:00
Script Kiddy 9f0d409189 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=972275
2009-05-24 13:44:10 +00:00
Brad Hards 78ef56d4b4 Improve text layout handling in XPS document generator.
Fixes bug 185532 (about RTL text), helps some more complex documents where characters often ended up overstriking characters from the next text run.

Add preliminary support for BiDi text.

OK'd by Pino at http://reviewboard.kde.org/r/715/

Blog request for additional testing produced no results, which I guess indicates a lack of interest.

svn path=/trunk/KDE/kdegraphics/okular/; revision=972031
2009-05-24 04:40:10 +00:00
Pino Toscano 983392095d sort the bookmarks in the side panel by file name first, and then by page number for each file
svn path=/trunk/KDE/kdegraphics/okular/; revision=971761
2009-05-23 13:03:45 +00:00
Pino Toscano fede15ed60 implement <strikethrough> in <p> tags
svn path=/trunk/KDE/kdegraphics/okular/; revision=971612
2009-05-22 22:56:52 +00:00
Burkhard Lück 544676ba20 update version to 0.9, this will be the kde 4.3 version as pino told me on irc
svn path=/trunk/KDE/kdegraphics/doc/okular/; revision=971584
2009-05-22 19:53:26 +00:00
Burkhard Lück 02833bfbb3 screenshot update
svn path=/trunk/KDE/kdegraphics/doc/okular/; revision=971576
2009-05-22 19:24:24 +00:00
Burkhard Lück 73d3d1d94a update date+releaseinfo, add missing config listitem
svn path=/trunk/KDE/kdegraphics/doc/okular/; revision=971573
2009-05-22 19:07:45 +00:00
Tobias Koenig 911f8eaeca tab -> whitespace fixes
svn path=/trunk/KDE/kdegraphics/okular/; revision=971089
2009-05-21 16:46:05 +00:00
Script Kiddy af1302e36b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=969584
2009-05-18 13:49:56 +00:00
Pino Toscano 37403a031a Small rework on the system used to pass parameters of the document:
- on command line, properly read the URL ref ('#foobar' at the end), avoiding a KCmdLineArgs behaviour which encodes it as part of the file name
- pass what was specified as ref or the page (as specified with -p/--page) to the kpart
- make the okularpart take out the ref from the URL it opens and then:
  a) if it is a number, assume it is the destination page number
  b) otherwise, use that string as named destination

CCMAIL: okular-devel@kde.org

svn path=/trunk/KDE/kdegraphics/okular/; revision=969227
2009-05-17 18:08:43 +00:00
Pino Toscano 6e6ea57068 check whether normalized values of viewport targets are in the proper [0,1] range, and use a default value if not
svn path=/trunk/KDE/kdegraphics/okular/; revision=969017
2009-05-17 10:17:35 +00:00
Pino Toscano 32ca783be8 add named viewport resolution
the destination are source specials anchors

svn path=/trunk/KDE/kdegraphics/okular/; revision=968860
2009-05-16 19:38:00 +00:00
Pino Toscano dc7583eb8b Add the concept of "next destination" next to the "next viewport" one.
This allows a resolution, if set, of that named destination when opening a document.
CCBUG: 192032

svn path=/trunk/KDE/kdegraphics/okular/; revision=967542
2009-05-13 14:24:30 +00:00
Pino Toscano aea558050e make use of the very recent new poppler api to create named destination actions
svn path=/trunk/KDE/kdegraphics/okular/; revision=967521
2009-05-13 14:06:54 +00:00
Pino Toscano 3f47351217 add detection for poppler 0.11 (development version of poppler 0.12)
svn path=/trunk/KDE/kdegraphics/okular/; revision=967387
2009-05-13 11:20:07 +00:00
Pino Toscano 5b1276dc57 Add for GotoAction the possibility to represent a named destination, instead of a viewport.
svn path=/trunk/KDE/kdegraphics/okular/; revision=967385
2009-05-13 11:13:04 +00:00
Pino Toscano 16db4f6a0d use the width and heightof the view, it seems to slightly improve the placement of the text areas
(although the problem is not solved yet)
also, skip text nodes with a null area (we wouldn't be able to place them anywhere, anyway)

svn path=/trunk/KDE/kdegraphics/okular/; revision=966802
2009-05-11 21:32:28 +00:00