Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Commit adapted for atril, picked up from:
https://gitlab.gnome.org/GNOME/evince/-/commit/c3de8e75d6d0920478af210ba19a2d94b0734917
Credits to Benjamin Berg <[email protected]>
| For large documents the linear search for the first link that is on a
| certain page is really slow. Because of this scrolling becomes slow
| whenever the page changes.
|
| Replace the linear search with a search in a binary tree populated with
| the first link on each page and the corresponding GtkTreePath. This way
| a specialized binary tree lookup can be used to find the closest
| matching link and select that in the treeview.
|
| https://bugzilla.gnome.org/show_bug.cgi?id=779614
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Taken from evince commit: 200d6798c462e3669c01020dc5a7e2ee22e1b039
From: Carlos Garcia Campos <[email protected]>
|
|
Getting the page of a named destination requires to take the doc lock,
so it might block the main thread.
Taken from evince commit: b6f2f6c391fa83cb9532e98f561057f022522147
From: Carlos Garcia Campos <[email protected]>
|
|
Instead of ev_link_get_page() that doesn't work for named destinations.
Based on evince commits:
eb1c4c8ab5f0a179a3e5836f4540a70859cba106
a5ebb853858e5e2121a35a369d52fc8dd86c92ae
From: Carlos Garcia Campos <[email protected]>
|
|
|
|
|
|
|