<feed xmlns='http://www.w3.org/2005/Atom'>
<title>atril/libview, branch v1.22.2</title>
<subtitle>MATE document viewer</subtitle>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/'/>
<entry>
<title>EvView: Fix cursor movement when logical and visual line order differs</title>
<updated>2018-10-20T16:04:55+00:00</updated>
<author>
<name>Colomban Wendling</name>
<email>cwendling@hypra.fr</email>
</author>
<published>2018-09-04T12:22:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=c9ea2a34dc33224bdcc34286b3424eff44ddbe8f'/>
<id>c9ea2a34dc33224bdcc34286b3424eff44ddbe8f</id>
<content type='text'>
Make sure not to move the caret in the wrong direction when restoring
the visual line X offset, in case the visual and logical order is
slightly different.

The algorithm used to move the cursor on the next line and restore the
X position across lines works as follows:

1. Move `cursor_offset` to the next line by incrementing it until
   reaching a line break;
2. Find the Y coordinate corresponding to the new cursor_offset;
3. Find the text closest to the new Y coordinate and the previous X
   coordinate.
4. Move cursor_offset to the text at this new (X, Y) location.

The issue lies in step 3, which can find a position on a different line
than expected in case several lines have a nearly the same Y position.

Evince references:
* https://gitlab.gnome.org/GNOME/evince/issues/889
* https://gitlab.gnome.org/GNOME/evince/merge_requests/81
* https://gitlab.gnome.org/GNOME/evince/commit/dddd98b4c7922e2906bba6a31afa07837ae6c39c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make sure not to move the caret in the wrong direction when restoring
the visual line X offset, in case the visual and logical order is
slightly different.

The algorithm used to move the cursor on the next line and restore the
X position across lines works as follows:

1. Move `cursor_offset` to the next line by incrementing it until
   reaching a line break;
2. Find the Y coordinate corresponding to the new cursor_offset;
3. Find the text closest to the new Y coordinate and the previous X
   coordinate.
4. Move cursor_offset to the text at this new (X, Y) location.

The issue lies in step 3, which can find a position on a different line
than expected in case several lines have a nearly the same Y position.

Evince references:
* https://gitlab.gnome.org/GNOME/evince/issues/889
* https://gitlab.gnome.org/GNOME/evince/merge_requests/81
* https://gitlab.gnome.org/GNOME/evince/commit/dddd98b4c7922e2906bba6a31afa07837ae6c39c
</pre>
</div>
</content>
</entry>
<entry>
<title>presentation: avoid deprecated 'gtk_style_context_set_background'</title>
<updated>2018-07-18T10:49:40+00:00</updated>
<author>
<name>Pablo Barciela</name>
<email>scow@riseup.net</email>
</author>
<published>2018-07-13T23:55:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=6e195911f2b4b2383382b60bc850f7852da1365e'/>
<id>6e195911f2b4b2383382b60bc850f7852da1365e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>libview: replace deprecated gdk_flush</title>
<updated>2018-05-10T20:45:31+00:00</updated>
<author>
<name>raveit65</name>
<email>mate@raveit.de</email>
</author>
<published>2018-05-04T07:03:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=3168191efb8b4407012ef26ecd338b0d88bec9b1'/>
<id>3168191efb8b4407012ef26ecd338b0d88bec9b1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>view: Fix page background rendering while loading</title>
<updated>2018-04-05T15:52:41+00:00</updated>
<author>
<name>Carlos Garcia Campos</name>
<email>carlosgc@gnome.org</email>
</author>
<published>2012-12-23T10:28:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=e5c8ce732dc1907f975edd11112a6f0222f70a53'/>
<id>e5c8ce732dc1907f975edd11112a6f0222f70a53</id>
<content type='text'>
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&amp;id=38528f9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&amp;id=38528f9
</pre>
</div>
</content>
</entry>
<entry>
<title>view: Use a rendered frame instead of custom border</title>
<updated>2018-04-05T15:52:41+00:00</updated>
<author>
<name>William Jon McCann</name>
<email>jmccann@redhat.com</email>
</author>
<published>2012-12-23T09:49:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=dc1432d75bf5650b6f17d4d95df58758a05a4cf6'/>
<id>dc1432d75bf5650b6f17d4d95df58758a05a4cf6</id>
<content type='text'>
So it can be styled with CSS.

https://bugzilla.gnome.org/show_bug.cgi?id=653294

origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&amp;id=7a6b53a
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&amp;id=4657961
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So it can be styled with CSS.

https://bugzilla.gnome.org/show_bug.cgi?id=653294

origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&amp;id=7a6b53a
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&amp;id=4657961
</pre>
</div>
</content>
</entry>
<entry>
<title>a11y: Return correct start and end offsets</title>
<updated>2018-04-05T15:11:43+00:00</updated>
<author>
<name>Jason Crain</name>
<email>jason@inspiresomeone.us</email>
</author>
<published>2017-03-26T18:33:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=bc7af6015676aee9d14c2c4dd522c484c4551d2a'/>
<id>bc7af6015676aee9d14c2c4dd522c484c4551d2a</id>
<content type='text'>
This modifies ev_page_accessible_get_range_for_boundary to ensure that
the start and end offsets it returns are within the allowed range.

https://bugzilla.gnome.org/show_bug.cgi?id=777992

origin commit:
https://git.gnome.org/browse/evince/commit/?id=e95a4e3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This modifies ev_page_accessible_get_range_for_boundary to ensure that
the start and end offsets it returns are within the allowed range.

https://bugzilla.gnome.org/show_bug.cgi?id=777992

origin commit:
https://git.gnome.org/browse/evince/commit/?id=e95a4e3
</pre>
</div>
</content>
</entry>
<entry>
<title>a11y: Fix crash with Orca screen reader</title>
<updated>2018-04-05T15:11:43+00:00</updated>
<author>
<name>Jason Crain</name>
<email>jason@inspiresomeone.us</email>
</author>
<published>2017-03-22T03:55:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=7c7c7ef28efd900ef0cb3e1ae302f202fce92ea9'/>
<id>7c7c7ef28efd900ef0cb3e1ae302f202fce92ea9</id>
<content type='text'>
ev_page_accessible_get_substring gets called with out of bounds values
leading to a crash.  Clamp start_offset to a valid range.

https://bugzilla.gnome.org/show_bug.cgi?id=777992

origin commit:
https://git.gnome.org/browse/evince/commit/?id=b34f357
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ev_page_accessible_get_substring gets called with out of bounds values
leading to a crash.  Clamp start_offset to a valid range.

https://bugzilla.gnome.org/show_bug.cgi?id=777992

origin commit:
https://git.gnome.org/browse/evince/commit/?id=b34f357
</pre>
</div>
</content>
</entry>
<entry>
<title>libview: drop deprecated unneeded code</title>
<updated>2018-04-04T10:32:55+00:00</updated>
<author>
<name>raveit65</name>
<email>mate@raveit.de</email>
</author>
<published>2018-04-01T08:16:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=f3e061c86842a3d377e03765cd9d2b34152e746a'/>
<id>f3e061c86842a3d377e03765cd9d2b34152e746a</id>
<content type='text'>
inspired by:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&amp;id=a56186e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
inspired by:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&amp;id=a56186e
</pre>
</div>
</content>
</entry>
<entry>
<title>libview: fix text selection with mouse in annotation window</title>
<updated>2018-04-02T15:04:47+00:00</updated>
<author>
<name>monsta</name>
<email>monsta@inbox.ru</email>
</author>
<published>2018-04-02T12:18:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=68166966cd7a3a646fe33c622837938b86364405'/>
<id>68166966cd7a3a646fe33c622837938b86364405</id>
<content type='text'>
taken from:
https://github.com/GNOME/evince/commit/91ac78bc587eb2ac931136c9da9609b142410209
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
taken from:
https://github.com/GNOME/evince/commit/91ac78bc587eb2ac931136c9da9609b142410209
</pre>
</div>
</content>
</entry>
<entry>
<title>libview: fix build without epub</title>
<updated>2018-03-27T09:23:40+00:00</updated>
<author>
<name>raveit65</name>
<email>mate@raveit.de</email>
</author>
<published>2018-03-27T09:20:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=efe29e6c72178f0970ded735560dc34e6fd05d87'/>
<id>efe29e6c72178f0970ded735560dc34e6fd05d87</id>
<content type='text'>
Fixes https://github.com/mate-desktop/atril/issues/308
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes https://github.com/mate-desktop/atril/issues/308
</pre>
</div>
</content>
</entry>
</feed>
