Laurent Montel
a3287b38c7
Don't try to use pkg-config on win32
...
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=804224
2008-05-05 11:44:53 +00:00
Albert Astals Cid
bb23209234
limit the number of text pages we keep in memory so that searching does not bring your system to its knees
...
BUG: 161213
svn path=/trunk/KDE/kdegraphics/okular/; revision=803949
2008-05-04 15:10:32 +00:00
Pino Toscano
e13e74db92
add a private slot for hooks on config change
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=803946
2008-05-04 15:02:35 +00:00
Kåre Särs
51e58cc949
move FindKSane.cmake (for ksaneplugin) to kdegraphics
...
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=803911
2008-05-04 12:44:49 +00:00
Script Kiddy
c72e98f876
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=803889
2008-05-04 12:27:34 +00:00
Albert Astals Cid
bdd4fa1c0d
make sure we keep next and previous pages if we are on aggresive mode
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=803592
2008-05-03 12:34:49 +00:00
Pino Toscano
d1305c265b
Implement the canBeMoved() check for an annotation in the Annotation class itself.
...
Use this new version and remove the one in GuiUtils.
svn path=/trunk/KDE/kdegraphics/okular/; revision=803073
2008-05-01 20:59:51 +00:00
Pino Toscano
e8e93ee179
Internally replace a TextEntity with a "lighter version", that stores the raw UTF-16 data of the text.
...
This way, we can save about 4 int's for each text entity; this is not much for small documents,
but with big documents with lots of text (eg, the PDF specs) we can save a lot (more than 50MB!).
CCBUG: 161213
svn path=/trunk/KDE/kdegraphics/okular/; revision=803048
2008-05-01 19:03:02 +00:00
Script Kiddy
da6f2d204e
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=802309
2008-04-29 06:00:21 +00:00
Albert Astals Cid
3fd8f39b77
make sure we don't detach
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=801823
2008-04-27 21:01:05 +00:00
Albert Astals Cid
048a879e32
Fordwardport commit 801781:
...
Correctly calculate the amount of memory to free, should fix bug 153675
svn path=/trunk/KDE/kdegraphics/okular/; revision=801782
2008-04-27 18:08:14 +00:00
Pino Toscano
7042bd4cc2
add viewId()
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=801718
2008-04-27 14:30:26 +00:00
Albert Astals Cid
6772c5f061
do not search twice
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=801665
2008-04-27 11:56:00 +00:00
Pino Toscano
76531028ba
Make the page view a View, able to get and set the zoom level, and register it in the document.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=801660
2008-04-27 11:17:05 +00:00
Pino Toscano
5851ddf6a8
Start a View class for managing the "views" of a document.
...
Provide ways to register & unregister the view from a Document, and to get/set the view capabilities.
svn path=/trunk/KDE/kdegraphics/okular/; revision=801657
2008-04-27 11:05:59 +00:00
Pino Toscano
1ed3928811
set the about data icon name in the right place
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=801281
2008-04-26 09:10:12 +00:00
Pino Toscano
e6a93e2f38
Add a very simple configuration widget for caret annotations.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=800059
2008-04-23 07:55:39 +00:00
Pino Toscano
8a3dda1142
fix the portability fixes:
...
- include stdint.h to use the uint*_t types
- do not delcare static an extern-C function
svn path=/trunk/KDE/kdegraphics/okular/; revision=799329
2008-04-21 08:30:45 +00:00
Pino Toscano
e1d9b6dd1a
make the text of the creation and modification date labels copyable
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=799321
2008-04-21 08:12:43 +00:00
Pino Toscano
f56e78aac1
apply an optional new icon for file attachment annotations
...
(even if we cannot construct them so far)
svn path=/trunk/KDE/kdegraphics/okular/; revision=799319
2008-04-21 08:08:01 +00:00
Adriaan de Groot
59479a6169
Quiet complaints that a function with C++ linkage is being passed to a C function expecting a function pointer with C linkage.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=799311
2008-04-21 07:28:13 +00:00
Adriaan de Groot
23e114f2a3
Missed one set of u_int -> uint; the latter is available on more platforms.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=799309
2008-04-21 07:27:17 +00:00
Adriaan de Groot
837bb55306
u_int types are less portable than uint types; if this gives problems we can use quint as the most general solution.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=799304
2008-04-21 06:47:51 +00:00
Friedrich W. H. Kossebau
56e1842069
set global program icon via KAboutData, not directly
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=799282
2008-04-20 23:35:54 +00:00
Pino Toscano
33fabf80b4
the plucker generator uss also zlib, so look for and link to it
...
issue found by the Debian packager Modestas Vainius, thanks!
svn path=/trunk/KDE/kdegraphics/okular/; revision=799258
2008-04-20 22:21:20 +00:00
Pino Toscano
eaea89500f
instead of a squeezed text label, use a normal label and word wrap its text; there's enough room for long descriptions
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=799253
2008-04-20 22:09:34 +00:00
Adriaan de Groot
608c465480
Correct peculiar typedef construct
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=799241
2008-04-20 21:56:17 +00:00
Pino Toscano
557f199395
SVN_SILENT set svn:mime-type as image/png
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=799098
2008-04-20 11:18:16 +00:00
Pino Toscano
a8294eb55f
- add oxygen icons for the 'pushpin' and 'paperclip' symbols for file attachment annotations
...
- add oxygen icon for the 'stamp' tool, and use it in the review toolbar tools
svn path=/trunk/KDE/kdegraphics/okular/; revision=799092
2008-04-20 10:55:08 +00:00
Pino Toscano
18c8cf59e8
- when the loading of a textdocument-based document fails, cleanup all the stuff eventually gathered from the converter
...
- cleanup also the annotation position when closing a textdocument
svn path=/trunk/KDE/kdegraphics/okular/; revision=799076
2008-04-20 09:49:20 +00:00
Pino Toscano
4500f491ef
when a file attachment annotation has no description, show that there's no description available, instead of nothing
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=799073
2008-04-20 09:40:23 +00:00
Script Kiddy
135c3752f1
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=799017
2008-04-20 03:05:18 +00:00
Pino Toscano
34a697a16b
clear the document information when a plucker document is closed
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=798897
2008-04-19 20:30:28 +00:00
Pino Toscano
242891d48e
create the style information object only during the conversion; this way, there are no stale information across multiple openings
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=798890
2008-04-19 20:15:40 +00:00
Pino Toscano
890367943b
clear TOC and document info when closing a textdocument-based document
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=798886
2008-04-19 20:06:31 +00:00
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
2008-04-19 18:46:02 +00:00
Pino Toscano
2634a4b8d4
Show the icon of file attachment annotations in the annotation properties dialog.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=798746
2008-04-19 10:00:19 +00:00
Pino Toscano
eb3215b4c2
properly align the text labels to the right, as per HIG
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=798693
2008-04-18 21:56:17 +00:00
Pino Toscano
5fc6a887c0
Optionally create an extra widget to be shown as third tab in the annotation properties dialog.
...
Use this possibility for file attachment annotations, for showing details about the embedded file.
svn path=/trunk/KDE/kdegraphics/okular/; revision=798689
2008-04-18 21:37:41 +00:00
Pino Toscano
48058c4743
rename to "style widget" the configuration widget for annotations that have one so far,
...
and centralize its creation in a single place
(just shuffling around some code)
svn path=/trunk/KDE/kdegraphics/okular/; revision=798679
2008-04-18 20:34:35 +00:00
Script Kiddy
0273c563fd
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=798574
2008-04-18 15:52:17 +00:00
Pino Toscano
93c57bac43
add a simpler ctor for the private class of textpage
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=798434
2008-04-18 09:57:55 +00:00
Script Kiddy
1aa906ea20
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=797854
2008-04-16 21:41:32 +00:00
Pino Toscano
13e05a7894
factorize the creation of pens with "standard" annotation style settings
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=797655
2008-04-16 16:37:59 +00:00
Pino Toscano
522f72a302
geometric annotations: draw a dashed border if set so
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=797613
2008-04-16 14:36:22 +00:00
Pino Toscano
c123fd1aa7
when we are requested to paint but the pixmap has not been rendered yet, fill the paint area with the background color
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=797553
2008-04-16 11:12:21 +00:00
Pino Toscano
ada6be8c58
properly detect when the visible pixmap request is called as result of scollbar event
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=797549
2008-04-16 11:04:59 +00:00
Angelo Naselli
0ea8aa75a1
Added base kipi support
...
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=797438
2008-04-15 21:19:55 +00:00
Angelo Naselli
8728b8b2de
Added kipi support
...
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=797437
2008-04-15 21:19:52 +00:00
Script Kiddy
043adbf19a
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=797204
2008-04-15 02:02:37 +00:00