Albert Astals Cid
50e3519ffc
Fix off by one error on setting the search boundary limits
...
Fix researched by Christopher Reichert
Will backport to 4.6 if works fine in trunk for a while
BUGS: 266535
svn path=/trunk/KDE/kdegraphics/okular/; revision=1224201
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
Script Kiddy
6754fbd1c4
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1213671
15 years ago
Pino Toscano
f1fee7ebf8
bump devel version to 0.12.80
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1212172
15 years ago
Albert Astals Cid
870fd3ba12
Fix point #1 of 213258, open the dialog editor just after adding a note, because adding a note without text is probably not what you want to do.
...
Will be in KDE *4.7*
Patch by Victor Blazquez <victor.blazquez@gmail.com>
BUGS: 213258
svn path=/trunk/KDE/kdegraphics/okular/; revision=1209674
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
Laurent Montel
a86bbe9053
Use QLatin1String
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1178207
16 years ago
Albert Astals Cid
6ad8e94d53
make the forward and backward search code more similar
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1170644
16 years ago
Albert Astals Cid
649722af24
add some const makes the code a bit easier to understand
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1170640
16 years ago
Albert Astals Cid
3aa8f6aaa4
fix docu
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1162332
16 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
Pino Toscano
e44da2085d
bump development version to 0.11.80
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1156081
16 years ago
Albert Astals Cid
4e551e6867
Improve error message
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1148688
16 years ago
John Layt
80a04bd577
Whoops! Didn't relise we had an API/BIC guarantee on Okular. Restore previous
...
API and make it call the new API.
CCMAIL: kde-bindings@kde.org
CCMAIL: aacid@kde.org
CCBUG: 194586
svn path=/trunk/KDE/kdegraphics/okular/; revision=1134631
16 years ago
John Layt
b30305b668
Enable Current Page option in Okular print dialog if running Qt >= 4.7
...
Changed exported api so cc: to bindings.
CCMAIL: kde-bindings@kde.org
CCBUG: 194586
svn path=/trunk/KDE/kdegraphics/okular/; revision=1134379
16 years ago
Pino Toscano
561b688bc9
percent-decode lilypond references
...
BUG: 236967
svn path=/trunk/KDE/kdegraphics/okular/; revision=1129748
16 years ago
Pino Toscano
45e62fa320
make sure actionsForUrl() returns actions sorted by page number
...
CCBUG: 205952
svn path=/trunk/KDE/kdegraphics/okular/; revision=1129512
16 years ago
Luigi Toscano
2bacaf9e14
New method to get the proper PrintError from the printFile* return value
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1115578
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
Albert Astals Cid
ce41955ab8
avoid copying a file if we can just rename it
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1114913
16 years ago
Tobias Koenig
d5a2d53d21
Do not crash in case of false calculations in a generator
...
BUG: 233944
svn path=/trunk/KDE/kdegraphics/okular/; revision=1113765
16 years ago
Glen Kaukola
122fab0eee
Krazy: Check single-char QString operations for efficiency.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1110335
16 years ago
Glen Kaukola
45c82f8636
Krazy: Check for spelling errors
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1110329
16 years ago
Script Kiddy
ff913d232f
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1108213
16 years ago
Albert Astals Cid
4a1d8bb025
Do not use the title to store the url because it will get mangled by KBoomark::fullText, use the url field
...
CCMAIL: 229141
svn path=/trunk/KDE/kdegraphics/okular/; revision=1108063
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
John Layt
9122f0db26
Improve CUPS detection to always match Qt, including if remote CUPS server
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1088926
16 years ago
Script Kiddy
bf36e688a5
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1085570
16 years ago
Pino Toscano
e29debc508
bump development version to 0.10.80
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1082008
16 years ago
Pino Toscano
c3f75f13c2
add a function to remove a list of bookmark belonging to the specified url
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1072132
16 years ago
Christian Ehrlicher
9e2f6edcf5
KUrl::path() -> KUrl::toLocalFile()
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1071713
16 years ago
Pino Toscano
f31db87a63
add a ExternallyDrawn flag to mark annotations which are drawn elsewhere (eg by the generator)
...
mostly useful with External annotations, it is not applied yet
svn path=/trunk/KDE/kdegraphics/okular/; revision=1068014
16 years ago
Pino Toscano
873689b1d4
small optimization in the internal TinyTextEntity storage:
...
instead of always creating (with new[]) the memory buffer for the chars, try to pack them into the space of the QChar*, if they are very few (2 on 32bit, 4 on 64bit)
this way the number of new[]+delete[] needed for storing text is slightly reduced, especially for documents with fine-grained text extraction (pdf, dvi, fb2, odt)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1066934
16 years ago
Pino Toscano
192c0a0880
refactor a bit the string matching in text search, using a intermediate comparer function
...
this way, we can choose the comparing strategy before starting the search
also, make the comparer function use stringref, so we avoid copying data from the original strings (meaning less memory used, and slightly faster)
provide two comparing strategies, case sensitive and case insensitive, to continue doing the same job done so far
svn path=/trunk/KDE/kdegraphics/okular/; revision=1066591
16 years ago
Pino Toscano
aa84e31316
Change the saving strategy for bookmarks: instead of saving them manually or at closing, save them after each action.
...
This should avoid any bookmark loss due to premature crash or similar abnormal closing.
BUG: 157246
BUG: 213206
Also, the above change triggers the D-Bus synchronisation of the internal bookmark manager of the various Okular instances;
react to those changes properly by updating the own info (because of the changes in the bookmark manager of another instance).
BUG: 216239
On the technical note, keep the cache of known file just with the bookmark address instead of the group itself
(which gets changed behind our back).
svn path=/trunk/KDE/kdegraphics/okular/; revision=1066286
16 years ago
John Layt
ed9bbddace
Print correct number of copies using new Qt api
...
Add eror code if print to file fails
BUG: 155695
svn path=/trunk/KDE/kdegraphics/okular/; revision=1065863
16 years ago
Script Kiddy
c2390f3197
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1065022
16 years ago
Script Kiddy
9f6f5a3947
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1060240
17 years ago
Script Kiddy
d819d858bd
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1053122
17 years ago
Luigi Toscano
4fbb5676c1
Add support for DVI fonts (TeX font type) to FontInfo, as they can not mapped
...
to the existing ones.
Remove human-readable descriptions of fonts from TeXFontDefinition, this is
something that belongs to the PropertiesDialog.
svn path=/trunk/KDE/kdegraphics/okular/; revision=1052191
17 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
8f045d06a7
add a text() function that returns characters not containing any pixel inside the given area but the center pixel of the char rectangle
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1048193
17 years ago
Albert Astals Cid
81d255bafb
add a function that returns the center of a given normalized rect
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1048191
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