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
2b7265066b
add a tooltip to the button
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1050253
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
f18659612f
Use the just created Okular::TextPage::CentralPixelTextAreaInclusionBehaviour flag when copying text selected with the text selection tool
...
so we include the text the user really selected
BUGS: 208857
svn path=/trunk/KDE/kdegraphics/okular/; revision=1048200
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
Jonathan Schmidt-Dominé
3fad1f66b5
Old Presentation-Mode (the small CMakeLists-change was kept)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1047244
17 years ago
Jonathan Schmidt-Dominé
d6ad4b9b31
Better Presentationmode:
...
-more intuitive computation of the speed
-play/pause
-change the speed from presentation-mode
Contact me on the mailing-list if you do not like it!
svn path=/trunk/KDE/kdegraphics/okular/; revision=1046853
17 years ago
Script Kiddy
443012afc3
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1046621
17 years ago
Script Kiddy
c85b38a6a8
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1045571
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
3e4b406aea
stop the search when pressing the [x] button in the find bar
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1045398
17 years ago
Script Kiddy
a4a4008bb3
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1045143
17 years ago
Script Kiddy
0d90a1db53
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1043347
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
45c8faee16
using Part as class name makes it very easy to collide with other Parts out there and very ugly things will happen, add a namespace
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1040789
17 years ago
Albert Astals Cid
f074fc2e15
do not ask spectre to rotate pages as it seems not to work at all
...
fixes rendering of bug210499.ps
svn path=/trunk/KDE/kdegraphics/okular/; revision=1039609
17 years ago
Albert Astals Cid
4d730a34ca
use the correct variable to calculate dpis
...
Fixes scrolling on a rotated page being SLOOOOOOOOOOOOW and also fixes bug 211467
BUGS: 211467
svn path=/trunk/KDE/kdegraphics/okular/; revision=1039570
17 years ago
Albert Astals Cid
baa4f0113b
not only request next and previous page pixmaps, take into account the viewmode so if we are viewing in facing mode we request the two next and the two previous
...
Patch based in a patch by Igor Stirbu
svn path=/trunk/KDE/kdegraphics/okular/; revision=1039528
17 years ago
Pino Toscano
ab2ef23f4b
right, better use the semaphore it is being used already
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1039167
17 years ago
Pino Toscano
a5564fa6dd
use a queue for the rendering requests of the rendering thread
...
this should avoid multiple generator instance to step on each other toes, making spectre crashing
svn path=/trunk/KDE/kdegraphics/okular/; revision=1039159
17 years ago
Albert Astals Cid
d6d9ff0e5c
crop area needs to be just against user rotation, not taking account page orientation since the cropbox is done on page orientation coords
...
BUGS: 196761
svn path=/trunk/KDE/kdegraphics/okular/; revision=1039155
17 years ago
Albert Astals Cid
eb9a8dc093
add some X-KDE-Keywords to okularApplication_*.desktop so Okular appears in krunner when searching those keywords
...
BUGS: 209983
svn path=/trunk/KDE/kdegraphics/okular/; revision=1038813
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
Albert Astals Cid
2fd0a0124a
Fix the name of the tool to represent what it is
...
BUGS: 210313
svn path=/trunk/KDE/kdegraphics/okular/; revision=1037764
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
Elvis Stansvik
4154fa8665
Support case sensitivity and regular expressions in the
...
Contents and Reviews side panel. The search options are
accessed using a context sub-menu in the search input
field. Fixes bug 204787.
I'm intentionally leaving out support for saving the current
search options to the config, as pinotree said he was
researching a more maintainable approach to this.
BUG: 204787
svn path=/trunk/KDE/kdegraphics/okular/; revision=1035766
17 years ago
Script Kiddy
fd6072ae69
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1034715
17 years ago
Eike Hein
1f3536bc83
Kill two superfluous empty lines I added by mistake. SVN_SILENT
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1034542
17 years ago
Eike Hein
796958b1a7
Fix the mouse interaction model of the sidebar icon list
...
to allow changing sidebar pages by keeping the left mouse
button pressed and moving the cursor over the icon list,
similar to a popup menu or the treelist version of the
tab bar in Konversation.
A remaining bug in the sidebar is that switching iconlist
items using the keyboard arrow keys won't switch sidebar
pages. I will fix that next time, unless someone else is
faster.
svn path=/trunk/KDE/kdegraphics/okular/; revision=1034540
17 years ago
Pino Toscano
87320d1f08
Better check for libchmfile loading errors.
...
BUG: 210234
svn path=/trunk/KDE/kdegraphics/okular/; revision=1034049
17 years ago
Pino Toscano
a7bdec3b40
Fix _synctex_error() on mingw: _vscprintf() is specific for MSVC, so for !MSVC use _vsnprintf() and grow the buffer until necessary.
...
Patch provided by Patrick Spendrin <ps_ml@gmx.de>, thanks!
svn path=/trunk/KDE/kdegraphics/okular/; revision=1033539
17 years ago
Pino Toscano
a355d9fea4
isolate the argument -> url conversion code in an own function in the ShellUtils namespace
...
make the function able to be reused in unit tests (ie adding a function hook for the filename existance check)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1032962
17 years ago
Pino Toscano
d5dd8fce01
when we remove the file:/ from the argument, do the precent-encoding removal to avoid being percent-encoded more than needed
...
based on a patch by Albert, slightly changed + unit test by me
BUG: 207461
svn path=/trunk/KDE/kdegraphics/okular/; revision=1032944
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
Pino Toscano
ca9b4a14ec
improve/add tests
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1032934
17 years ago
Pino Toscano
b4e301c0e0
start adding a unit test for the shell-related stuff
...
the single test case so far is for testing the url splitting
svn path=/trunk/KDE/kdegraphics/okular/; revision=1032845
17 years ago
Pino Toscano
f04afe8220
hide the top bar when moving out of the presentation widget
...
for example when moving the cursor to another screen
svn path=/trunk/KDE/kdegraphics/okular/; revision=1032482
17 years ago
Burkhard Lück
78b1079c7f
fix typos reported on kde-i18n-doc + use entities
...
svn path=/trunk/KDE/kdegraphics/doc/okular/; revision=1031605
17 years ago
Script Kiddy
326c235e17
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1031173
17 years ago
Albert Astals Cid
2ea878f4d9
return the mimetype in the kimgio generator
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1029805
17 years ago
Laurent Montel
a61ccaa761
Fix warning
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1026023
17 years ago
Script Kiddy
309a641160
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1024784
17 years ago
Christian Ehrlicher
42354f1a7f
add CheckCXXSourceCompiles
...
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=1024495
17 years ago
Albert Astals Cid
966369332b
move usage of m_dviRenderer to below the if it checks if it exists
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1023096
17 years ago
Albert Astals Cid
4d36e1d1ad
Remove special casing for saving local files where we don't use the temporary file, fixes saving a pdf file over itself
...
BUGS: 207214
svn path=/trunk/KDE/kdegraphics/okular/; revision=1023085
17 years ago
Albert Astals Cid
2ca70770dd
add a stretch at the end of the dialog so making it bigger is less ugly
...
BUG: 206856
svn path=/trunk/KDE/kdegraphics/okular/; revision=1023064
17 years ago
Script Kiddy
3d403bc66b
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1020829
17 years ago
Aaron J. Seigo
5deac8b65b
api change
...
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=1019128
17 years ago