<feed xmlns='http://www.w3.org/2005/Atom'>
<title>atril/libview, branch v1.22.3</title>
<subtitle>MATE document viewer</subtitle>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/'/>
<entry>
<title>libview: fixing memory leak</title>
<updated>2019-12-08T18:16:54+00:00</updated>
<author>
<name>Giselle Reis</name>
<email>gisellemnr@src.gnome.org</email>
</author>
<published>2014-08-29T22:23:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=1e9f259b8e5cee2750fb42c4469112560e5b23ce'/>
<id>1e9f259b8e5cee2750fb42c4469112560e5b23ce</id>
<content type='text'>
The memory leak was caused by a g_signal_connect
which was never disconnected. This patch makes
sure the signal is disconnected and the job is
cancelled before creating another rendering job.
It additionally introduces a helper function to
cleanly finalize the job.

origin commit:
https://gitlab.gnome.org/GNOME/evince/commit/939c434
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The memory leak was caused by a g_signal_connect
which was never disconnected. This patch makes
sure the signal is disconnected and the job is
cancelled before creating another rendering job.
It additionally introduces a helper function to
cleanly finalize the job.

origin commit:
https://gitlab.gnome.org/GNOME/evince/commit/939c434
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "First page should not reloaded"</title>
<updated>2019-12-08T18:16:40+00:00</updated>
<author>
<name>raveit65</name>
<email>mate@raveit.de</email>
</author>
<published>2019-11-27T10:37:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=018d33c2c8c863ecdbfa46c52e9ff374c24ae6f3'/>
<id>018d33c2c8c863ecdbfa46c52e9ff374c24ae6f3</id>
<content type='text'>
This reverts commit 00fad2c0d0fcdade570a08f046e85a4558f1fc0c.

and fixes https://github.com/mate-desktop/atril/issues/404
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 00fad2c0d0fcdade570a08f046e85a4558f1fc0c.

and fixes https://github.com/mate-desktop/atril/issues/404
</pre>
</div>
</content>
</entry>
<entry>
<title>libview: Reset `pressed_button` when starting Drag and Drop</title>
<updated>2019-11-23T13:44:21+00:00</updated>
<author>
<name>Martin Wimpress</name>
<email>code@flexion.org</email>
</author>
<published>2019-11-04T18:57:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=ecd0d8cbf4851d36f2fe859b38740d0203949c4d'/>
<id>ecd0d8cbf4851d36f2fe859b38740d0203949c4d</id>
<content type='text'>
If view-&gt;pressed_button is left set, when the Drag and Drop operation completes, Atril will act as if it is still in a selection event.

Adapted from: https://gitlab.gnome.org/GNOME/evince/commit/92828bb797742e04aadbfdd62ba1da36837c37cf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If view-&gt;pressed_button is left set, when the Drag and Drop operation completes, Atril will act as if it is still in a selection event.

Adapted from: https://gitlab.gnome.org/GNOME/evince/commit/92828bb797742e04aadbfdd62ba1da36837c37cf
</pre>
</div>
</content>
</entry>
<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>
</feed>
