Commit graph

5561 commits

Author SHA1 Message Date
Albert Astals Cid 4d8ba36488 Add greedy preloading option
Based on a patch by Sebastian Rose <s.rose@semkath.de>
REVIEW: 103129
BUGS: 184196
2012-03-09 00:12:20 +01:00
Albert Astals Cid 3e3a504d3c Allow the renaming of bookmark "parent" items (i.e. file names)
Patch heavily inspired on a patch by Constantin Serban-Radoi <costashsrc@gmail.com>
2012-03-08 23:26:44 +01:00
Albert Astals Cid 5e6e54dbb0 Do not delete m_annowindows directly
If we do that slotAnnotationWindowDestroyed bites us and the list gets out of sync
2012-03-07 23:51:36 +01:00
Albert Astals Cid d34bc7f263 Do not cache end() of a QList you are removing stuff from...
...makes it crash :D
BUGS: 294633
FIXED-IN: 4.8.1
2012-02-22 23:23:47 +01:00
Albert Astals Cid cee823fa35 Make search from current page the default 2012-02-20 20:35:05 +01:00
Script Kiddy 5778a66e7c SVN_SILENT made messages (.desktop file) 2012-02-16 10:52:04 +01:00
Script Kiddy 5cfe3b8575 SVN_SILENT made messages (.desktop file) 2012-02-05 09:41:48 +01:00
Albert Astals Cid 56e356df61 Fix crash on close 2012-02-02 19:55:40 +01:00
Albert Astals Cid 80d7cf0b8a Merge branch 'textfind-enhancement'
Conflicts:
	core/textpage.cpp
2012-02-02 19:31:08 +01:00
Albert Astals Cid 12ab23e631 Add a note why we can't use rightRef 2012-02-02 19:27:57 +01:00
Albert Astals Cid d6c1ead1b0 More small adaptations 2012-02-02 19:24:11 +01:00
Albert Astals Cid e74894ce94 Put duplicate code in a function 2012-02-02 19:13:11 +01:00
Albert Astals Cid 7825e4c545 Fix stuff for a better merge 2012-02-02 19:07:13 +01:00
Jonathan Marten 06326f7311 Allow the page number selector to be added to the toolbar
Ok, this is not really the review Jonathan did, i did rewrite the code partially because i did not really
want to have a new observer, but the code is heavily inspired in his patch.

Also the page number selector is not in the toolbar as the review had, it'd be silly to have it in both places
by default, so if you want to have it you have to go, edit the toolbar and add the "Page Number" action to it.

REVIEW: 103427
BUGS: 279128
FIXED-IN: 4.9.0
2012-01-31 19:54:15 +01:00
Script Kiddy 76f96438e7 SVN_SILENT made messages (.desktop file) 2012-01-29 11:39:01 +01:00
Mohammad Mahfuzur Rahman Mamun 92e3c16066 all len-1 are replaced with str.endsWith 2012-01-27 10:15:46 +06:00
Albert Astals Cid 7f519abe78 Increase poppler required version to 0.12.1
Released Sun Oct 18, 2009, if you want to build this new Okular with that old poppler version you should really think updating it too, there's been lots of fixes since then
2012-01-26 23:48:27 +01:00
Mohammad Mahfuzur Rahman Mamun 0c02a163ea Some minor changes and cleanup of Backward textfind 2012-01-23 15:08:07 +06:00
Albert Astals Cid 2d857f8727 Set the correct buddy for the label
FIXED-IN: 4.8.1
BUGS: 292209
2012-01-22 19:02:27 +01:00
Dario Freddi ca1c209ec0 Since KDE 4.8, suppressing screen power management also inhibits the screensaver. Removing relevant now redundant code paths which are no longer needed since 4.8
REVIEW:103723
(cherry picked from commit 551d00a972)
2012-01-18 21:36:22 +01:00
Albert Astals Cid cc3d80dc33 bump devel version to 0.14.80 2012-01-18 18:05:35 +01:00
Albert Astals Cid 81c5c540df Update versions for KDE 4.8
(cherry picked from commit 51a77e6a51)
2012-01-18 18:04:31 +01:00
Mohammad Mahfuzur Rahman Mamun 9afba5c75d Some textfind change 2012-01-18 14:50:34 +06:00
Dario Freddi bc182d3a00 Make Okular inhibit sleep and screen power management when in Presentation mode
REVIEW:103713
(cherry picked from commit 1a31dffca9)
2012-01-18 01:14:57 +01:00
Albert Astals Cid b2dfb910e8 Small rework of AnnotWindow
* We do not keep them around any more time than needed (they are cheap to create)
 * AnnotWindow::slotsaveWindowText calls m_document->modifyPageAnnotation so
   edition of inline notes happens immediately
2012-01-17 23:46:37 +01:00
Albert Astals Cid 52d118fc4b Reduce the uses of mAnnotations.first(), less confusing 2012-01-17 23:06:06 +01:00
Albert Astals Cid 948ea54026 Decided i don't want to use a QPair here, just use a struct with two fields 2012-01-17 23:01:26 +01:00
Albert Astals Cid 7884c879a7 Qt decided to start passing invalid indexes to mapFromSource, do not crash on them
BUGS: 291278
FIXED-IN: 4.8.0
2012-01-16 21:09:10 +01:00
Mohammad Mahfuzur Rahman Mamun 746414b86b changing the branch name 2012-01-13 12:21:27 +06:00
Mohammad Mahfuzur Rahman Mamun 1dd139736f both forward and backward find implemented and tested a bit 2012-01-12 19:34:11 +06:00
Mohammad Mahfuzur Rahman Mamun f6a3ccf8b5 some printinfo and unnecessary comments has been removed 2012-01-12 13:51:47 +06:00
Mohammad Mahfuzur Rahman Mamun 7062308214 textfind with hyphenation working - simple test with pdf and djvu done 2012-01-12 12:57:48 +06:00
Patrick von Reth 47c036cfe1 fixed windows build, dont export the pure virtual interface 2012-01-08 14:01:12 +01:00
Dirk Mueller c9242ad8e2 add format string marker for better warnings 2012-01-03 20:57:01 +01:00
Elvis Stansvik d066fb0004 Remember collapse state of sidebar when file is auto-reloaded
BUGS: 289010
REVIEW: 103517
2011-12-28 00:49:44 +01:00
Stephen Anthony cdc1b0c78d Several variables aren't 'const' in PageView::slotRelayoutPages when they probably should be
REVIEW: 103486
2011-12-26 00:48:03 +01:00
Script Kiddy 92360f704a SVN_SILENT made messages (.desktop file) 2011-12-21 09:59:21 +01:00
Stephen Anthony a6dba2434f Improve facing pages (center first page) mode when document contains only 1 or 2 pages
REVIEW: 103424
2011-12-21 01:44:33 +01:00
Script Kiddy ee684dc516 SVN_SILENT made messages (.desktop file) 2011-12-20 16:26:22 +01:00
Script Kiddy 16d92557a0 SVN_SILENT made messages (.desktop file) 2011-12-19 15:36:45 +01:00
Script Kiddy 417e8b0359 SVN_SILENT made messages (.desktop file) 2011-12-17 09:46:38 +01:00
Albert Astals Cid ac79610a8b Set a focus proxy in case this widget ends up with focus
Should never happen, but as it is the "main" widget of the part it might end up there if someone just says part->mainwidget->setfocus or something like that
At least this way the focus does not go down the drain and ends up in the sidebar list, which is not optimal but is better than getting the keyboard focus lost
2011-12-16 00:27:51 +01:00
Albert Astals Cid 6176e29256 Use a queued connection instead of direct call
It seems some shells (like konqueror and kile) are too smart and play with the focus and the focus ends up in the wrong place because they "overwrite" our setFocus call, now we workaoround that by using the queuedconnection
BUGS: 214020
BUGS: 240516
FIXED-IN: 4.8.0
2011-12-16 00:25:24 +01:00
Albert Astals Cid 8df96e9e64 ThumbnailListPrivate does not handle keypresses
So don't give it the focus while using tab to change focus
2011-12-16 00:23:33 +01:00
Albert Astals Cid ed052f4fa1 l00p -> loop :D 2011-12-13 19:52:48 +01:00
Albert Astals Cid 73ab9e8e75 make some stuff const 2011-12-13 19:52:48 +01:00
Albert Astals Cid 89e2611f32 Stop playing videos when they are no longer visible
This mimics Adobe Reader behaviour
BUGS: 286932
FIXED-IN: 4.8.0
2011-12-13 19:52:48 +01:00
Script Kiddy e56df195f0 SVN_SILENT made messages (.desktop file) 2011-12-13 15:52:26 +01:00
Albert Astals Cid 38e35ff7e4 The schema wants the include line to be the first 2011-12-11 23:22:04 +01:00
Albert Astals Cid 83a052b3ac Revert 604187b7a3 and 258cd6562a
I did not have time to finish the poppler work and even if this will probably be good for using the poppler work, this adds new API and I don't want to commit to this since having a proper look at making it work
Sorry i failed to fulfill my promise
2011-12-11 22:20:45 +01:00