Commit graph

4015 commits

Author SHA1 Message Date
Pino Toscano 4060ef669e Make the document closing a bit more safe wrt internal threading - the closing waits for the background threads, to avoid aving them running with stale stuff.
This affects all the generators that use the internal generator threading, own threading models have to be fixed properly.

svn path=/trunk/KDE/kdegraphics/okular/; revision=723161
2007-10-08 21:49:27 +00:00
Pino Toscano 15155d8824 Rename the virtual closeDocument() to doCloseDocument(), and make it protected.
Added a non-virtual closeDocument() in the base Generator class: this way, particular closing routines can be implemented in the "low level" of a generator.
Apart the renaming, the logic of doCloseDocument() remains the same.

CCMAIL: okular-devel@kde.org

svn path=/trunk/KDE/kdegraphics/okular/; revision=723046
2007-10-08 16:46:51 +00:00
Pino Toscano 8ff3d1d705 more use of standard actions
svn path=/trunk/KDE/kdegraphics/okular/; revision=722702
2007-10-07 23:09:08 +00:00
Pino Toscano 0b26a91f1f use the standard action names
svn path=/trunk/KDE/kdegraphics/okular/; revision=722687
2007-10-07 22:21:13 +00:00
Pino Toscano a580378469 no need for the PageViewToolBar to have the mouse tracking enabled
svn path=/trunk/KDE/kdegraphics/okular/; revision=722555
2007-10-07 15:30:02 +00:00
Pino Toscano 5e0c1a1671 hm, we always need to 'transform' all the annotations, so the internal data are (re)set correctly
svn path=/trunk/KDE/kdegraphics/okular/; revision=722543
2007-10-07 15:10:58 +00:00
Pino Toscano b321f9ea21 when adding a rotated annotation to a rotated page, rotate its base coordinates to 0-degrees, then rotate again all its stuff correctly
svn path=/trunk/KDE/kdegraphics/okular/; revision=722456
2007-10-07 11:00:57 +00:00
Pino Toscano b654434a0e add private helpers to properly transform the base coordinates of an annotation
svn path=/trunk/KDE/kdegraphics/okular/; revision=722451
2007-10-07 10:52:05 +00:00
Pino Toscano 8d2b86906e okular -> graphics-viewer-document
svn path=/trunk/KDE/kdegraphics/okular/; revision=722448
2007-10-07 10:44:59 +00:00
Albert Astals Cid 498c0fc0e0 QPixmap::toImage does not always give us QImage::Format_ARGB32_Premultiplied so enforce it
svn path=/trunk/KDE/kdegraphics/okular/; revision=722225
2007-10-06 23:04:28 +00:00
Pino Toscano e38e9b397b no more need to show the 'debug' config page
svn path=/trunk/KDE/kdegraphics/okular/; revision=722138
2007-10-06 17:54:33 +00:00
Pino Toscano 61a5cee757 revert nonsense
svn path=/trunk/KDE/kdegraphics/okular/; revision=721905
2007-10-06 09:07:18 +00:00
Thomas Georgiou 5908d4e67d Compile. Thanks to hdh.
svn path=/trunk/KDE/kdegraphics/okular/; revision=721771
2007-10-06 03:08:55 +00:00
Andreas Pakulat 8cac1e3509 Merge KConfig branch
svn path=/trunk/KDE/kdegraphics/okular/; revision=721735
2007-10-06 00:01:16 +00:00
David Faure 6fddec063f Merged KIO::JobFlags branch
svn path=/trunk/KDE/kdegraphics/okular/; revision=721447
2007-10-05 09:14:03 +00:00
David Faure ec14632b2c Merged revisions 721075-721429 via svnmerge from
svn+ssh://dfaure@svn.kde.org/home/kde/trunk/KDE

svn path=/branches/work/kde4_jobflags/KDE/kdegraphics/okular/; revision=721435
2007-10-05 08:52:47 +00:00
Pino Toscano a5940e0132 correctly initialize the history; crash spotted by Bram, thanks!
svn path=/trunk/KDE/kdegraphics/okular/; revision=721277
2007-10-04 21:41:19 +00:00
Pino Toscano 42372d4dfb fix layout of the Created/Modified labels
svn path=/trunk/KDE/kdegraphics/okular/; revision=721216
2007-10-04 20:15:43 +00:00
Pino Toscano b44e127990 use a grid layout for the 'general' tab; align the labels of the edit fields to the right
svn path=/trunk/KDE/kdegraphics/okular/; revision=721094
2007-10-04 15:00:39 +00:00
David Faure 52f8e0905e Merged revisions 721024-721074 via svnmerge from·
svn+ssh://dfaure@svn.kde.org/home/kde/trunk/KDE
to get the kdevplatform compile fix

svn path=/branches/work/kde4_jobflags/KDE/kdegraphics/okular/; revision=721075
2007-10-04 13:58:33 +00:00
David Faure 1a463cb358 Merged revisions 720689-721023 via svnmerge from
svn+ssh://dfaure@svn.kde.org/home/kde/trunk/KDE
+ resolved conflicts, fixed compilation in a number of places.

svn path=/branches/work/kde4_jobflags/KDE/kdegraphics/okular/; revision=721065
2007-10-04 13:23:29 +00:00
Jakob Petsovits 433c44499c Icon naming spec compliance (code changes):
arrow-* -> go-*

svn path=/trunk/KDE/kdegraphics/okular/; revision=721061
2007-10-04 13:03:22 +00:00
Script Kiddy d5dc96cb3b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=720951
2007-10-04 05:56:53 +00:00
Bernhard Loos 5412b15459 port parts of kdegraphics
svn path=/branches/work/kde4_kconfig/kconfig/port_trunk/kdegraphics/okular/; revision=720917
2007-10-04 01:19:39 +00:00
David Faure 56eecebe3f Ported
svn path=/branches/work/kde4_jobflags/KDE/kdegraphics/okular/; revision=720904
2007-10-03 23:53:38 +00:00
Pino Toscano 6e6eaab798 when drawing a normalized path, use a polygon to draw the path when the path has no filling
svn path=/trunk/KDE/kdegraphics/okular/; revision=720899
2007-10-03 23:48:38 +00:00
Pino Toscano c47c606f5b all of these functions should have a valid pointer as parameter, so assert instead of silently return
svn path=/trunk/KDE/kdegraphics/okular/; revision=720880
2007-10-03 22:53:27 +00:00
Pino Toscano 76008f84da use the new icon here as well
svn path=/trunk/KDE/kdegraphics/okular/; revision=720879
2007-10-03 22:51:11 +00:00
Pino Toscano bc5aeb2bb8 dear line in the annotation tooltip, please use less vertical space, thanks
svn path=/trunk/KDE/kdegraphics/okular/; revision=720874
2007-10-03 22:45:20 +00:00
Pino Toscano f2684504bc remove the "advanced" tab, whose only purpouse was debugging
add a ' %' suffix for the opacity spinbox

svn path=/trunk/KDE/kdegraphics/okular/; revision=720873
2007-10-03 22:44:11 +00:00
Pino Toscano 6582af2a38 text proofread by mwoehlke
svn path=/trunk/KDE/kdegraphics/okular/; revision=720792
2007-10-03 18:23:22 +00:00
Pino Toscano 27f624d1f7 check whether the document is open
svn path=/trunk/KDE/kdegraphics/okular/; revision=720717
2007-10-03 15:03:49 +00:00
Pino Toscano 4a429ecd7b when shutting down, close the current document
svn path=/trunk/KDE/kdegraphics/okular/; revision=720716
2007-10-03 14:59:57 +00:00
Pino Toscano bdcfe1ee03 proper graphics-viewer-document icon
svn path=/trunk/KDE/kdegraphics/okular/; revision=720714
2007-10-03 14:50:20 +00:00
Pino Toscano 5df1895ec0 don't use deprecated api of KUser
svn path=/trunk/KDE/kdegraphics/okular/; revision=720663
2007-10-03 12:43:44 +00:00
Pino Toscano cba7ce25cc bump version to 0.5.92
svn path=/trunk/KDE/kdegraphics/okular/; revision=720302
2007-10-02 22:48:39 +00:00
Pino Toscano 175cc2bce6 use the same about data for both the part and the shell, so:
- the part uses the same app share for its specific stuff
- no manual need to load another catalog ("okular") in the part

svn path=/trunk/KDE/kdegraphics/okular/; revision=720296
2007-10-02 22:42:59 +00:00
Pino Toscano 02d6dab204 adapt to the new icon names
svn path=/trunk/KDE/kdegraphics/okular/; revision=720180
2007-10-02 16:23:28 +00:00
Pino Toscano e461f0c113 don't include kpixmapeffect.h
svn path=/trunk/KDE/kdegraphics/okular/; revision=720047
2007-10-02 08:05:52 +00:00
Pino Toscano 424ebb655d use better icons for a couple of sections in the preferences dialog, and in the File menu
svn path=/trunk/KDE/kdegraphics/okular/; revision=719820
2007-10-01 22:49:47 +00:00
Pino Toscano 49166c17aa simplify a bit, and assign the temporary file name only if the whole extraction procedure succeeded
svn path=/trunk/KDE/kdegraphics/okular/; revision=719677
2007-10-01 17:06:42 +00:00
Rafael Fernández López 396bcc107b Code adaptation because of changes on libraries related to revision 719630
svn path=/trunk/KDE/kdegraphics/okular/; revision=719644
2007-10-01 15:10:42 +00:00
Pino Toscano d51e9fa4d8 remove the private methods of PixmapRequest, and make the Document work with its private class
svn path=/trunk/KDE/kdegraphics/okular/; revision=719319
2007-09-30 21:44:31 +00:00
Pino Toscano 7e150aeb43 don't leak the internal documents, but properly delete them
svn path=/trunk/KDE/kdegraphics/okular/; revision=719297
2007-09-30 20:51:19 +00:00
Pino Toscano 211ab15c2e use KAboutData by value, and remove an old static method of the part
svn path=/trunk/KDE/kdegraphics/okular/; revision=719241
2007-09-30 16:52:27 +00:00
Pino Toscano 35d64add5c fix a couple of memory leaks
svn path=/trunk/KDE/kdegraphics/okular/; revision=719233
2007-09-30 16:37:10 +00:00
Pino Toscano 5dc92c5824 use qint64 for the document size
svn path=/trunk/KDE/kdegraphics/okular/; revision=719107
2007-09-30 10:49:38 +00:00
Pino Toscano 20c96df680 Respect a bit more the HIG guidelines: align the labels of buttons and combos to the right.
svn path=/trunk/KDE/kdegraphics/okular/; revision=718787
2007-09-29 17:55:56 +00:00
Pascal Létourneau d0fd4b6f26 Take the margin into account in mouse{Press,Release}Event
svn path=/trunk/KDE/kdegraphics/okular/; revision=718756
2007-09-29 16:36:14 +00:00
Script Kiddy 44dd16d127 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=717659
2007-09-27 09:33:48 +00:00