Pino Toscano
4da5b7a105
Add a configuration page for the text editor used for source references links (that is, the ones used also for inverse search).
...
Factor out the editor commands structure.
svn path=/trunk/KDE/kdegraphics/okular/; revision=873570
18 years ago
Pino Toscano
97335bf267
simple optimization in the Google-like search: split the search terms just once
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=873283
18 years ago
Pino Toscano
e0f2e1dd13
disable the "no results found" dialog when searching. search users should use the proper signal to get the search result (and do proper feedback)
...
CCBUG: 155858
svn path=/trunk/KDE/kdegraphics/okular/; revision=870011
18 years ago
Pino Toscano
27e703f878
always deal with memory measures as ulonglong, this way systems with >4 GB of memory work for real now
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=867871
18 years ago
Pino Toscano
d3b0b62cfc
Make Okular able to distinguish the LilyPond "Point and click" links,
...
and make them act as source references when activated.
FEATURE: 163569
svn path=/trunk/KDE/kdegraphics/okular/; revision=863572
18 years ago
Pino Toscano
0eab41cc97
do not use the specified widget as parent for the Document, but just keep it
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=863377
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
Pino Toscano
830fcef561
handle relative paths in browse actions, second and hopefully better try
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=817344
18 years ago
Pino Toscano
3cc607ff69
handle relative paths in browse links, as shown by the testcase provided by knusperfrosch
...
and, btw, master dfaure rocks once again!
svn path=/trunk/KDE/kdegraphics/okular/; revision=817340
18 years ago
Pino Toscano
e4dc8d8126
Load and save in the XML document info all the properties of the various View's, that are specific to each document.
...
At the moment, they are the zoom mode and level of the page view.
BUG: 155752
svn path=/trunk/KDE/kdegraphics/okular/; revision=814998
18 years ago
Pino Toscano
afc6f89727
Check whether the document to open is absolute as first thing, so we can open it directly even with no document open.
...
BUG: 162459
svn path=/trunk/KDE/kdegraphics/okular/; revision=811109
18 years ago
Pino Toscano
18f486c2c1
add the possibility to store an useful bounding box of a page, and for generators to notify the document (and its observers) on its change
...
original patch by kde2eran@tromer.org, thanks!
CCMAIL: kde2eran@tromer.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=809467
18 years ago
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
18 years ago
Pino Toscano
e13e74db92
add a private slot for hooks on config change
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=803946
18 years ago
Albert Astals Cid
3fd8f39b77
make sure we don't detach
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=801823
18 years ago
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
18 years ago
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
18 years ago
Pino Toscano
39463af93b
stop the audio playbacks when closing the current document, not just once when exiting
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=797093
18 years ago
Pino Toscano
513c7cf225
Add a scripter class to execute scripts on request.
...
Trigger its execution at the document loading, if there are "top level" scripts,
and when a script action is activated.
svn path=/trunk/KDE/kdegraphics/okular/; revision=796637
18 years ago
Malcolm Hunter
2f62610563
More typo fixes
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=795917
18 years ago
Malcolm Hunter
b6124a900b
Typo fixes
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=795906
18 years ago
Pino Toscano
8a858a9449
Core implementation of the backward text search, to be used now in the search bar.
...
Works pretty well -- the only problem left is that when changing the search direction, the first match is the current match.
svn path=/trunk/KDE/kdegraphics/okular/; revision=785629
18 years ago
Pino Toscano
8b6a259b48
Add a continueSearch() for optionally changing the search direction
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=785619
18 years ago
Pino Toscano
87fc624534
count only the consecutive pages with no search results
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=785613
18 years ago
Pino Toscano
c9089f3160
Add the possibility to save a copy of the document with the changes to it (only for form fields at the moment).
...
On the Document/Generator side, introduce a proper interface for the purpouse.
On the GUI side, add a new "Save As" function that save the changed document to a location.
The action is enabled only if the current backend can provide the functionality.
svn path=/trunk/KDE/kdegraphics/okular/; revision=784661
18 years ago
Pino Toscano
e023effb15
Add a requestPixmaps() overload that takes options as flags.
...
This way we can tell to "merge" in a smart way the new pixmap request with the enqueued ones of the same ID.
Add a (private) slot to refresh all the pixmaps of a page.
svn path=/trunk/KDE/kdegraphics/okular/; revision=783259
18 years ago
Pino Toscano
e9bd289993
Keep a list of the currently active pixmap requests (usually one at most), and wait for their finish when closing the document.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=769281
18 years ago
Pino Toscano
a0a3c239e2
Standardize our naming: Okular.
...
CCMAIL: okular-devel@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=763904
18 years ago
Pino Toscano
f238c3d95d
Start adding a configuration to toggle anti-aliasing for both text and graphics.
...
Let the Document propagate these settings to the backends, if they query for them.
svn path=/trunk/KDE/kdegraphics/okular/; revision=757647
18 years ago
Pino Toscano
4a71603ab6
take the list of the supported mimetypes from the kpart .desktop, as they contain more mimetypes (including the compressed versions)
...
[the compressed versions are not in the "generator" .desktop files because okular can deal natively with any gzip- or bzip2- compressed version of the supported document types]
svn path=/trunk/KDE/kdegraphics/okular/; revision=755661
18 years ago
Pino Toscano
02dde1035c
for now, don't create xml storage files for non-local urls, as the local name will always change
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=755447
18 years ago
Pino Toscano
1aab311b5c
Slightly change the indexes used to query the generator for fonts:
...
- 0..n-1 are the page indexes again
- -1 is for the fonts not reall belonging to a single page (or when no selective page extraction can be done)
svn path=/trunk/KDE/kdegraphics/okular/; revision=753866
18 years ago
Pino Toscano
a8758221fe
Return the current configuration for gfx and text antialias.
...
For now they are always true, as no GUI can be added due to feature+string freeze.
svn path=/trunk/KDE/kdegraphics/okular/; revision=749280
19 years ago
Pino Toscano
fb2a432097
update the free memory check timer on win32 as well
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=747259
19 years ago
Pino Toscano
66376cf31f
make swap() private
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=744918
19 years ago
Pino Toscano
6aa123656a
Port the plugin system to the standard KDE factory and loader, getting rid of the custom system okular had so far.
...
This requires a generator to have a
MyGenerator(QObject *parent, const QVariantList &args)
constructor in order to be successfully loaded.
The OKULAR_EXPORT_PLUGIN macro was adapted, and the generators to provide it the about data; the protected Generator::setAboutData() is no more needed.
Remove the 'lib' prefix from plugins, unneeded now.
CCMAIL: okular-devel@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=744169
19 years ago
John Layt
1b1ed9451b
Enable Okular printing features:
...
* Add FilePrinter class to enable printing via postscript files
* DJVU, PDF, and PS backends print FilePrinter
* All backends enable printing of bookmarked pages
* Print and Print Preview actions enabled/disabled depending on backends
printing ability
Note that FilePrinter only works on *NIX platforms with Cups, lpr, or lp.
svn path=/trunk/KDE/kdegraphics/okular/; revision=741990
19 years ago
Pino Toscano
dfce0d1fcd
centralize the way we know whether a generator is configurable, and properly manage i18n loading in that case
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=741325
19 years ago
Pino Toscano
07dd3fe824
give the debug area to the kWarning() calls
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=741314
19 years ago
Pino Toscano
1214468229
directly take the componentdata
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=741313
19 years ago
Pino Toscano
1e08dc6a95
correctly check whether a generator was already loaded, even when no generator was previously loaded
...
fixes the ghostcript config page not showing when starting an empty okular
svn path=/trunk/KDE/kdegraphics/okular/; revision=741308
19 years ago
Pino Toscano
ba7d0732c1
ignore any "empty" component data
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=741067
19 years ago
Pino Toscano
2340d9c6d8
Save the rotation of the document, so when reopening the document the last rotation is kept.
...
This also fixed the problem of the lost rotation when reloading because of document change.
CCBUG: 151130
svn path=/trunk/KDE/kdegraphics/okular/; revision=731697
19 years ago
Christian Ehrlicher
ec72d7e654
mingw compile++
...
warnings--
svn path=/trunk/KDE/kdegraphics/okular/; revision=731467
19 years ago
Pino Toscano
6d375af868
Move all the bookmarking stuff into the BookmarkManager, that now updates the Document observers automatically.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=730404
19 years ago
John Layt
070285e039
Port from KPrinter to QPrinter, remove dependency on KDE4_KDEPRINT_LIBS.
...
*** Note this is not a complete port, most of the generators use the
printFiles method which Qt 4.3 does not support, these have simply
been commented out until we find a solution. At least it removes
the dependency so we can remove from kdelibs.
svn path=/trunk/KDE/kdegraphics/okular/; revision=725660
19 years ago
Pino Toscano
a5940e0132
correctly initialize the history; crash spotted by Bram, thanks!
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=721277
19 years ago