David Palacio
db7d8ff608
Test if the file is readable if it is a regular file.
...
*REVIEW: 6667
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230523
15 years ago
Pino Toscano
96ae09cfde
ignore setViewport() for page numbers out of the document
...
CCBUG: 266133
svn path=/trunk/KDE/kdegraphics/okular/; revision=1220028
15 years ago
Pino Toscano
40d20ca58d
in each page, add a pointer to the owner document
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1217914
15 years ago
Albert Astals Cid
6f3667b9d7
forwardport r1216334 okular/branches/KDE/4.6/kdegraphics/okular/core/document.cpp:
...
use prettyUrl to get a prettier url
svn path=/trunk/KDE/kdegraphics/okular/; revision=1216336
15 years ago
Albert Astals Cid
fab89241b2
Implement memory functions for freebsd
...
Patch by Alberto Villa
BUGS: 218418
svn path=/trunk/KDE/kdegraphics/okular/; revision=1207422
15 years ago
Pino Toscano
ba0dd22f71
when archiving, resolve the symlink if the document path is that
...
CCBUG: 245243
svn path=/trunk/KDE/kdegraphics/okular/; revision=1161859
16 years ago
Albert Astals Cid
4e551e6867
Improve error message
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1148688
16 years ago
Albert Astals Cid
25f95bbc9f
duplicate code is evil
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1115314
16 years ago
Albert Astals Cid
3583f6010a
move from virtual to slot to not kick ABI in the nuts
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1114947
16 years ago
Albert Astals Cid
0f0cacd63a
add a way to generators give a bit more info of why printing failed
...
and implement it in the pdf generator, others welcome to implement the function
for other generators
svn path=/trunk/KDE/kdegraphics/okular/; revision=1114944
16 years ago
Glen Kaukola
45c82f8636
Krazy: Check for spelling errors
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1110329
16 years ago
Pino Toscano
7a88256b35
use abs() before comparing to the current time, otherwise the comparison will always fail when the midnight passes
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1105306
16 years ago
Albert Astals Cid
667e07a343
setAttribute with doubles is evil as it uses the current locale and we don't want that, use QString::number
...
BUGS: 211990
svn path=/trunk/KDE/kdegraphics/okular/; revision=1050633
17 years ago
Albert Astals Cid
b9d749bc0d
Commit "Document information" patch by Luigi Toscano, 8 months without a nack from any devel and i like it, so let's commit it
...
Luigi's mail says
********
The attached patch changes a bit the handling of document informations
and the informations shown in the info page.
- document path is added to the information and a button allows you to
toggle between to file name (default) and the complete path;
- the number of the page is added to the information set by
documentInfo() and not by the properties dialog (so the latter will not
modify datas);
- the order of the information shown is the fixed now (see
orderedProperties).
*********
Then there are a few things of my own since some const here and there and adding three values to Key enum
Also it fixes wish 208999
BUGS: 208999
svn path=/trunk/KDE/kdegraphics/okular/; revision=1049872
17 years ago
Albert Astals Cid
4041eb7f5b
empty the pixmaps queue stack before doing the loop waiting for executing pixmap requests to empty, otherwise a single shot timed call to sendGeneratorRequest can kick us in the back cause bad things to happen, ranging from crashes to the app waiting forever in the loop
...
Patch provided by pino and tested by me
BUG: 212066
svn path=/trunk/KDE/kdegraphics/okular/; revision=1047671
17 years ago
Albert Astals Cid
a79fe451fd
check the search we are doing is still alive, otherwise doesn't make sense to keep on doing it and even more doing so might make us crash
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1045410
17 years ago
Albert Astals Cid
0b1124c4a8
do not accept new pixmap requests if we are shutting down
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1041420
17 years ago
Albert Astals Cid
10ba02cbd5
in case we have a new enough poppler give a better error message when we can't save files with /Encrypt
...
BUGS: 208119
svn path=/trunk/KDE/kdegraphics/okular/; revision=1037771
17 years ago
Pino Toscano
90074bef90
check the actual mime type names and not their pointers
...
BUG: 210882
svn path=/trunk/KDE/kdegraphics/okular/; revision=1037414
17 years ago
Albert Astals Cid
27830a988e
Add a [hidden] config option to set hinting to fonts
...
Defaults to disabled
Made the dvi and pdf backends honor the hinting setting
svn path=/trunk/KDE/kdegraphics/okular/; revision=1032936
17 years ago
Albert Astals Cid
b55024cfd7
Do not start a search if it's already running
...
BUGS: 203142
svn path=/trunk/KDE/kdegraphics/okular/; revision=1009822
17 years ago
Armin Berres
555cb3c9a1
add synctex support for pdf files
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1003016
17 years ago
Pino Toscano
df230edd3a
fix signal/slot connection
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=990840
17 years ago
Pino Toscano
b2472bef0d
check that the rotation page notification really refers to a page of a document
...
fixes crash when rotating documents opened in one of more than one okular tabs in konqueror
svn path=/trunk/KDE/kdegraphics/okular/; revision=989681
17 years ago
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
17 years ago
Pino Toscano
42afd676d9
handle relative file names in source reference links correctly
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=942963
17 years ago
Pino Toscano
4d48c59a34
now that we have a small "progress" animation next to the search line edit in the find bar, there's no need for the "searching for ..." dialog
...
feedback about this new "notification" is much welcome
CCBUG: 155858
svn path=/trunk/KDE/kdegraphics/okular/; revision=926301
17 years ago
Patrick Spendrin
3330a5f992
fix crash in okular - forward port r923029
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=923031
17 years ago
Pino Toscano
e449fd1ef0
on document closing, clear the fifo with allocated text pages
...
(fixes potential crash because of references to potentially non-existing pages in the next open document)
svn path=/trunk/KDE/kdegraphics/okular/; revision=923020
17 years ago
Pino Toscano
3b905e3cf4
undefine the internal macros at the end
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=908738
17 years ago
Pino Toscano
46a2bb5273
When the loaded document is empty, consider its loading as failed.
...
(Added a TODO for a proper UI message.)
BUG: 179447
svn path=/trunk/KDE/kdegraphics/okular/; revision=904821
17 years ago
Pino Toscano
cba63bd669
Pass the plugin keyword when creating generators.
...
This should make the Ruby binding work again.
BUG: 177537
svn path=/trunk/KDE/kdegraphics/okular/; revision=895926
18 years ago
Pino Toscano
769a70956f
add more checks against invalid viewports
...
fix crash when activating some of the toc items in the testcase of #176513 (still it would be nice to know why they are "void" items"...)
svn path=/trunk/KDE/kdegraphics/okular/; revision=890803
18 years ago
Pino Toscano
52a666f073
When starting an incremental search, do not consider the start page "done" if there was a match in it.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=890800
18 years ago
Patrick Spendrin
d7c9bcb596
under windows there is no gid yet
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=885793
18 years ago
Pino Toscano
e5b13e2d5b
claim support for application/vnd.kde.okular-archive in the correct way, ie via .desktop files
...
thanks Albert for waking me up
svn path=/trunk/KDE/kdegraphics/okular/; revision=884982
18 years ago
Pino Toscano
938ed4acfa
claim support of the new application/vnd.kde.okular-archive mimetype, and check it where appropriate
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=884851
18 years ago
Pino Toscano
b6c5ba1bc8
Add API to load and save "document archives", ie an .okular archive with document and metadata (currently annotations).
...
Few missing to be done in it:
- more checks when saving
- make it use a proper mimetype
CCBUG: 151614
svn path=/trunk/KDE/kdegraphics/okular/; revision=884597
18 years ago
Pino Toscano
acab77c691
add a loadDocumentInfo() variant that takes the file name to read stuff from, and make the non-parameters one calling the new one
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=884461
18 years ago
Laurent Montel
c2fc9836e8
Fix iterator
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=882957
18 years ago
Pino Toscano
9d8c52b5eb
Shuffle a bit the way documents are opened:
...
- when there are no backends for handling the document mimetype, try harder using the mimetype from the file content only
- when the backend fails loading, try again with the backend that handles the mimetype of the file content
BUG: 166034
svn path=/trunk/KDE/kdegraphics/okular/; revision=881991
18 years ago
Pino Toscano
5542445f04
replace the home-made placeholder replacements with KMacroExpander+KShell, and use KProcess
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=873601
18 years ago
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