<feed xmlns='http://www.w3.org/2005/Atom'>
<title>atril/backend, branch v1.26.3</title>
<subtitle>MATE document viewer</subtitle>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/'/>
<entry>
<title>pdf: Always use poppler_document_save to avoid data loss</title>
<updated>2026-05-15T01:31:03+00:00</updated>
<author>
<name>Germán Poo-Caamaño</name>
<email>gpoo@gnome.org</email>
</author>
<published>2017-10-03T11:59:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=a7178b7087355f1bf2fa7e650a5aea6b79b0961e'/>
<id>a7178b7087355f1bf2fa7e650a5aea6b79b0961e</id>
<content type='text'>
We used to use two methods to save a document: poppler_document_save
and poppler_document_save_a_copy. The latter only saves a copy of
the original document, discarding any change done (e.g. forms and
annotations). However, after a document has been modified and saved,
if there is no new change and the user saves the document, it will
discard even the previous saved changes to preserve a copy of the
original document.

By only using poppler_document_save to save the content of the
current document opened in Atril, to avoid data loss made between
saves.

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

Adapted from the original commit at:
https://gitlab.gnome.org/GNOME/evince/-/commit/26dc2f52

Co-authored-by: Eric Park &lt;me@ericswpark.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We used to use two methods to save a document: poppler_document_save
and poppler_document_save_a_copy. The latter only saves a copy of
the original document, discarding any change done (e.g. forms and
annotations). However, after a document has been modified and saved,
if there is no new change and the user saves the document, it will
discard even the previous saved changes to preserve a copy of the
original document.

By only using poppler_document_save to save the content of the
current document opened in Atril, to avoid data loss made between
saves.

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

Adapted from the original commit at:
https://gitlab.gnome.org/GNOME/evince/-/commit/26dc2f52

Co-authored-by: Eric Park &lt;me@ericswpark.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix a incompatible pointer type warning for gcc14</title>
<updated>2024-01-31T11:23:48+00:00</updated>
<author>
<name>raveit65</name>
<email>mate@raveit.de</email>
</author>
<published>2024-01-31T10:47:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=479e927d957f7b66fbfe12ad2324f927be15182a'/>
<id>479e927d957f7b66fbfe12ad2324f927be15182a</id>
<content type='text'>
* fix a incompatible pointer type warning for gcc14

Co-authored-by: Colomban Wendling &lt;cwendling@hypra.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* fix a incompatible pointer type warning for gcc14

Co-authored-by: Colomban Wendling &lt;cwendling@hypra.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>epub: Avoid crash when index list has extraneous entry</title>
<updated>2024-01-31T11:22:25+00:00</updated>
<author>
<name>correctmost</name>
<email>134317971+correctmost@users.noreply.github.com</email>
</author>
<published>2024-01-08T23:08:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=d901a9df71935fc98c0ec59bd27658670f3740ee'/>
<id>d901a9df71935fc98c0ec59bd27658670f3740ee</id>
<content type='text'>
This commit also fixes an incorrect sizeof call detected by
AddressSanitizer.

Closes #599
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit also fixes an incorrect sizeof call detected by
AddressSanitizer.

Closes #599
</pre>
</div>
</content>
</entry>
<entry>
<title>epub: Prevent path traversal when extracting files</title>
<updated>2024-01-17T22:44:10+00:00</updated>
<author>
<name>lukefromdc</name>
<email>lukefromdc@hushmail.com</email>
</author>
<published>2023-12-25T06:40:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=24f197791e9f666d2437a00229515c233b885821'/>
<id>24f197791e9f666d2437a00229515c233b885821</id>
<content type='text'>
Test each file's resolved path against the temporary directory
before extracting.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test each file's resolved path against the temporary directory
before extracting.
</pre>
</div>
</content>
</entry>
<entry>
<title>comics: Use libarchive to unpack documents</title>
<updated>2024-01-09T04:03:44+00:00</updated>
<author>
<name>lukefromdc</name>
<email>lukefromdc@hushmail.com</email>
</author>
<published>2023-12-25T20:11:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=aa8e9dad472cbadc96719a8f521768aeeb0913f0'/>
<id>aa8e9dad472cbadc96719a8f521768aeeb0913f0</id>
<content type='text'>
This commit eliminates the use of external commands for opening
comic documents, and uses libarchive instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit eliminates the use of external commands for opening
comic documents, and uses libarchive instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use a blank line at most</title>
<updated>2024-01-09T04:02:46+00:00</updated>
<author>
<name>rbuj</name>
<email>robert.buj@gmail.com</email>
</author>
<published>2021-10-27T15:30:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=658fab1f008bff7e1ec147d95baa04bc44c2fbcd'/>
<id>658fab1f008bff7e1ec147d95baa04bc44c2fbcd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>epub: add fallback for malformed epub files in check_mime_type</title>
<updated>2023-04-28T19:14:08+00:00</updated>
<author>
<name>rbuj</name>
<email>robert.buj@gmail.com</email>
</author>
<published>2022-08-07T21:08:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=c585b945d27e883908c437d12aa9c453db2143f4'/>
<id>c585b945d27e883908c437d12aa9c453db2143f4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>epub: Fix index loading for certain documents - look for epub:type</title>
<updated>2023-04-28T19:13:42+00:00</updated>
<author>
<name>Michael Webster</name>
<email>miketwebster@gmail.com</email>
</author>
<published>2022-07-18T14:43:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=9f5d7343f79f6ff8295884df3229bc6696b4386c'/>
<id>9f5d7343f79f6ff8295884df3229bc6696b4386c</id>
<content type='text'>
instead of epub:id.

Add a null check as well.

ref:
https://help.apple.com/itc/booksassetguide/en.lproj/itc0f175a5b9.html#apdd3c4c6d1c0904
https://idpf.org/epub/301/spec/epub-contentdocs-20140626.html#sec-xhtml-nav
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
instead of epub:id.

Add a null check as well.

ref:
https://help.apple.com/itc/booksassetguide/en.lproj/itc0f175a5b9.html#apdd3c4c6d1c0904
https://idpf.org/epub/301/spec/epub-contentdocs-20140626.html#sec-xhtml-nav
</pre>
</div>
</content>
</entry>
<entry>
<title>epub: declaration of ‘uL’ shadows a previous local [-Wshadow]</title>
<updated>2021-04-01T16:03:48+00:00</updated>
<author>
<name>rbuj</name>
<email>robert.buj@gmail.com</email>
</author>
<published>2021-03-17T09:26:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=87b2266515ecd6685fd0e3a6402788bfb11ebfb9'/>
<id>87b2266515ecd6685fd0e3a6402788bfb11ebfb9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>epub: fix typo</title>
<updated>2021-04-01T15:33:50+00:00</updated>
<author>
<name>rbuj</name>
<email>robert.buj@gmail.com</email>
</author>
<published>2021-03-17T09:04:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=f14a3157184d0496c77f62731d0a17c6b87d9d1f'/>
<id>f14a3157184d0496c77f62731d0a17c6b87d9d1f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
