Albert Astals Cid
d32e5ec948
Update version for RC1
13 years ago
Albert Astals Cid
8a7587f874
Increase version for devel version
13 years ago
Fabio D'Urso
3656d8ea47
Force minimum AnnotationObjectRect size
...
So that it's easier to select thin horizontal/vertical lines
13 years ago
Albert Astals Cid
2002e0a4b0
Do not ignore spaces on backwards search
...
This ports a change we made to the forward search 4 years ago...
7183c172c2 for more reference
BUGS: 311232
FIXED-IN: 4.9.5
13 years ago
Fabio D'Urso
c69be76122
Added comment to tell when the condition fixed by the previous patch happens
13 years ago
Mailson Menezes
466e402d9e
Remove assertion of request normalized rect
...
normalizedRect is null if the requested page is not visible
BUG: 311238
13 years ago
Fabio D'Urso
4a1c43df66
Do not use pixmaps from tiled requests to calculate the contents bounding box
13 years ago
Albert Astals Cid
4defea8674
Update version for beta2
13 years ago
Albert Astals Cid
57bc499c9a
Update version 0.15.4 for 4.9.4 release
13 years ago
Pino Toscano
4e171fbbfe
add missing ';'
14 years ago
Mailson Menezes
ce7d96dd96
Assert the request have a valid normalized rect
14 years ago
Mailson Menezes
c0ae3d2e9f
Fix issues where some rotated tiles were rejected
14 years ago
Mailson Menezes
7528fb8c88
Change TilesManager::tilesAt use
...
- The second parameter has changed to an enum
- Now Page::tilesAt only returns tiles with pixmaps
14 years ago
Mailson Menezes
66e93136f9
Limit zoom to 400% if document doesn't support tiles
14 years ago
Albert Astals Cid
12b6d1c3d3
Kill the ZoomFactor config
...
It was only used to return 1, that was then used in
CHMGenerator::textPage, that code still looks a bit fishy, but that was already there, it's just now that looks a bit more fishier
14 years ago
Albert Astals Cid
81bf02dc3c
Update for beta1 release
14 years ago
Mailson Menezes
31195f03b3
Document ownership of pixmap in Tile
14 years ago
Mailson Menezes
b762e5f10e
Fix issue where the tiles seemed to be deformed while rotating the page
...
Also, don't mark rotated pixmaps as dirty since we are already updating
them
14 years ago
Fabio D'Urso
d3eb739814
Merged TilesManager::setWidth and setHeight into a single setSize method
14 years ago
Fabio D'Urso
7e12f25ac0
PixmapRequest: Return normalizedRect() by reference
14 years ago
Fabio D'Urso
2b4de7c934
Generator interface: Use the existing setFeature method to report tiled rendering capability
...
instead of adding a new supportsTiles() virtual method
14 years ago
Fabio D'Urso
20ecee1b36
Added @since markers in generator.h
14 years ago
Mailson Menezes
de565cdd2a
Reimplement Tile::operator=
...
QList requires its members to have an assignment operator
14 years ago
Fabio D'Urso
c460b0cd90
Changed a little documentation in tilesmanager_p.h
14 years ago
Fabio D'Urso
68f8dd73e1
TilesManager doesn't need to be exported and doesn't need a virtual dtor
14 years ago
Fabio D'Urso
b8f4cdc808
Packed bool members in PixmapRequestPrivate
14 years ago
Fabio D'Urso
e301aa9099
Re-added private Tile::operator= with no implementation
...
So that no one uses the default one
14 years ago
Fabio D'Urso
85d5f043a2
Removed useless Tile::operator=
14 years ago
Albert Astals Cid
bb9508e2f4
Be const my friend
14 years ago
Fabio D'Urso
437ddad588
Hide tiles manager within okularcore
...
Only the Tile class (tile.h) is visible from the outside
14 years ago
Fabio D'Urso
e12966b259
Removed possibility to have a tiles manager per observer
...
Now only the PageView can have a tiles manager.
14 years ago
Fabio D'Urso
bdbd03f5c9
Misc minor changes in DocumentPrivate::cleanupPixmapMemory
...
1) Fixed underflow when memoryDiff > memoryToFree
2) Use current viewport's page number instead of any visible page as
page from which distances are calculated
3) Renamed currentVieport to visibleRect, because the currentVieport is
a different thing
14 years ago
Fabio D'Urso
f2acce05a3
Count used memory using a qulonglong
14 years ago
Fabio D'Urso
b4b742a575
Fixed sign in rankTiles
14 years ago
Mailson Menezes
f91f55d117
Split tile structure in Tile and TileNode
...
The new class TileNode represents a node in the tree structure
whereas Tile is just a data structure to store the pixmap and tile rect
and is used outside tiles manager.
14 years ago
Mailson Menezes
da54ffdd8e
Improve the evicting algorithm
...
The miss counter was taken away. Now the algorithm relies on the
distance between the tiles and the viewport.
Also the visibleRect() and setVisibleRect() methods were removed from
TilesManager since we now pass this information to
TilesManager::cleanupPixmapMemory()
14 years ago
Mailson Menezes
c13ad1afc3
Rewrite debug messages
...
Fabio D'Urso suggested to rewrite the debug messages showed when a tiles
manager is started to a less scary one.
14 years ago
Mailson Menezes
f798ef22d1
Refactor tiles manager code as suggested by Fabio D'urso
14 years ago
Mailson Menezes
1fc67e9e99
Fix memory leaking on tiles merge
14 years ago
Fabio D'Urso
e9189c0d71
Added support for user strings in editable form combobox fields
14 years ago
Albert Astals Cid
d59ffb4a7a
Fix crash when searching backwards
...
When searching backwards end is not actually words.end but words.begin (since the loop goes backwards) hence we can't pass end to stringLengthAdaptedWithHyphen
I've now renamed end to loop_end to make it a bit more clear.
BUGS: 309030
FIXED-IN: 4.9.4
14 years ago
Albert Astals Cid
84be046806
Update version 0.15.3 for 4.9.3 release
14 years ago
Mailson Menezes
a61e1e0834
Fix annotations bug
...
The annotations created in tiles mode were not shown unless the user
changed the zoom level.
14 years ago
Tobias Koenig
563ad0458e
Extend Document::processAction() to handle RenditionActions
...
REVIEW: 106608
14 years ago
Tobias Koenig
f713dd0fdf
Extended Okular::ScreenAnnotation to take a trigger action
...
REVIEW: 106604
14 years ago
Tobias Koenig
282950d127
Add Okular::RenditionAction class
...
REVIEW: 106603
14 years ago
Mailson Menezes
b87d0f6c5b
Fix bug where outdated requests were used on tiles manager
...
Requests created before the tiles manager has started aren't meant to be
used.
14 years ago
Bogdan Cristea
7ce6990098
Separate settings in core and non core
...
Will make it easier to make separate apps based on the core in the future
Note this will most probably break your settings if you are not running a very up to date kdelibs (4.9 or 4.10)
so be careful on updating
REVIEW: 104947
14 years ago
Albert Astals Cid
30e4830094
Do not crash if start or end layout don't exist
...
BUGS: 308003
FIXED-IN: 4.9.3
14 years ago
Albert Astals Cid
1525dea87d
Fix printing contiguous selected pages with bookmarks
...
BUGS: 308200
FIXED-IN: 4.9.3
14 years ago