<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/glib.git/gio/gdocumentportal.c, branch require-python34</title>
<subtitle>gitlab.gnome.org: GNOME/glib.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/'/>
<entry>
<title>Do not use g_autofree</title>
<updated>2018-03-28T10:49:59+00:00</updated>
<author>
<name>Emmanuele Bassi</name>
<email>ebassi@gnome.org</email>
</author>
<published>2018-03-27T15:06:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=07731ff3fc6ede1155a690d71b8ae2caedf680ba'/>
<id>07731ff3fc6ede1155a690d71b8ae2caedf680ba</id>
<content type='text'>
The g_auto macros are available only with GCC-compatible compilers on
Unix, but having __attribute__((cleanup)) is not part of our toolchain
requirements, so we shouldn't use it — even if we are building on
Unix-compatible systems.

https://bugzilla.gnome.org/show_bug.cgi?id=794732
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The g_auto macros are available only with GCC-compatible compilers on
Unix, but having __attribute__((cleanup)) is not part of our toolchain
requirements, so we shouldn't use it — even if we are building on
Unix-compatible systems.

https://bugzilla.gnome.org/show_bug.cgi?id=794732
</pre>
</div>
</content>
</entry>
<entry>
<title>Consistently save errno immediately after the operation setting it</title>
<updated>2017-08-03T09:21:13+00:00</updated>
<author>
<name>Philip Withnall</name>
<email>withnall@endlessm.com</email>
</author>
<published>2017-07-31T10:30:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=5cddde1fb2b8466d8104595008eafabd0728de5d'/>
<id>5cddde1fb2b8466d8104595008eafabd0728de5d</id>
<content type='text'>
Prevent the situation where errno is set by function A, then function B
is called (which is typically _(), but could be anything else) and it
overwrites errno, then errno is checked by the caller.

errno is a horrific API, and we need to be careful to save its value as
soon as a function call (which might set it) returns. i.e. Follow the
pattern:
  int errsv, ret;
  ret = some_call_which_might_set_errno ();
  errsv = errno;

  if (ret &lt; 0)
    puts (strerror (errsv));

This patch implements that pattern throughout GLib. There might be a few
places in the test code which still use errno directly. They should be
ported as necessary. It doesn’t modify all the call sites like this:
  if (some_call_which_might_set_errno () &amp;&amp; errno == ESOMETHING)
since the refactoring involved is probably more harmful than beneficial
there. It does, however, refactor other call sites regardless of whether
they were originally buggy.

https://bugzilla.gnome.org/show_bug.cgi?id=785577
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prevent the situation where errno is set by function A, then function B
is called (which is typically _(), but could be anything else) and it
overwrites errno, then errno is checked by the caller.

errno is a horrific API, and we need to be careful to save its value as
soon as a function call (which might set it) returns. i.e. Follow the
pattern:
  int errsv, ret;
  ret = some_call_which_might_set_errno ();
  errsv = errno;

  if (ret &lt; 0)
    puts (strerror (errsv));

This patch implements that pattern throughout GLib. There might be a few
places in the test code which still use errno directly. They should be
ported as necessary. It doesn’t modify all the call sites like this:
  if (some_call_which_might_set_errno () &amp;&amp; errno == ESOMETHING)
since the refactoring involved is probably more harmful than beneficial
there. It does, however, refactor other call sites regardless of whether
they were originally buggy.

https://bugzilla.gnome.org/show_bug.cgi?id=785577
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a wrapper for the AddFull document portal api</title>
<updated>2017-05-29T21:57:39+00:00</updated>
<author>
<name>Matthias Clasen</name>
<email>mclasen@redhat.com</email>
</author>
<published>2017-05-24T02:08:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=60a1cc9facaa29414213066fddf8507575f6ff3f'/>
<id>60a1cc9facaa29414213066fddf8507575f6ff3f</id>
<content type='text'>
This is a wrapper which takes a list of uris and rewrites
them by calling AddFull with the file:// uris.

https://bugzilla.gnome.org/show_bug.cgi?id=783130
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a wrapper which takes a list of uris and rewrites
them by calling AddFull with the file:// uris.

https://bugzilla.gnome.org/show_bug.cgi?id=783130
</pre>
</div>
</content>
</entry>
<entry>
<title>gio/: LGPLv2+ -&gt; LGPLv2.1+</title>
<updated>2017-05-29T17:53:34+00:00</updated>
<author>
<name>Sébastien Wilmet</name>
<email>swilmet@gnome.org</email>
</author>
<published>2017-05-27T16:21:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=3bf4a720c315b5015c8d51edf0b458348f796674'/>
<id>3bf4a720c315b5015c8d51edf0b458348f796674</id>
<content type='text'>
Sub-directories inside gio/ already processed in a previous commit:
- fam/
- gdbus-2.0/ (which contains only codegen/)
- gvdb/
- inotify/
- tests/
- win32/
- xdgmime/

Other sub-directories inside gio/:
- completion/: no license headers
- kqueue/: not LGPL, BSD-style license

https://bugzilla.gnome.org/show_bug.cgi?id=776504
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sub-directories inside gio/ already processed in a previous commit:
- fam/
- gdbus-2.0/ (which contains only codegen/)
- gvdb/
- inotify/
- tests/
- win32/
- xdgmime/

Other sub-directories inside gio/:
- completion/: no license headers
- kqueue/: not LGPL, BSD-style license

https://bugzilla.gnome.org/show_bug.cgi?id=776504
</pre>
</div>
</content>
</entry>
<entry>
<title>Deal with lack of O_CLOEXEC</title>
<updated>2016-07-21T15:54:14+00:00</updated>
<author>
<name>Matthias Clasen</name>
<email>mclasen@redhat.com</email>
</author>
<published>2016-07-21T15:52:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=d5efa64539f71dc705826e2c0dc4ecb8354b9a77'/>
<id>d5efa64539f71dc705826e2c0dc4ecb8354b9a77</id>
<content type='text'>
Some platforms don't have it. We fall back to fcntl() in other
places, so do it here as well.

https://bugzilla.gnome.org/show_bug.cgi?id=769042
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some platforms don't have it. We fall back to fcntl() in other
places, so do it here as well.

https://bugzilla.gnome.org/show_bug.cgi?id=769042
</pre>
</div>
</content>
</entry>
<entry>
<title>documents portal: Make sure O_PATH is defined</title>
<updated>2016-07-13T16:38:22+00:00</updated>
<author>
<name>Matthias Clasen</name>
<email>mclasen@redhat.com</email>
</author>
<published>2016-07-13T16:37:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=63654183a890502fe8d97f6e5d2be23589413a7a'/>
<id>63654183a890502fe8d97f6e5d2be23589413a7a</id>
<content type='text'>
FreeBSD doesn't have it.

https://bugzilla.gnome.org/show_bug.cgi?id=768780
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
FreeBSD doesn't have it.

https://bugzilla.gnome.org/show_bug.cgi?id=768780
</pre>
</div>
</content>
</entry>
<entry>
<title>documentportal: print warnings when document portal fails to initialize</title>
<updated>2016-07-12T22:12:35+00:00</updated>
<author>
<name>Cosimo Cecchi</name>
<email>cosimo@endlessm.com</email>
</author>
<published>2016-07-12T22:11:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=bc7c030480ee9d9edbdacc91fd3d61a3e5092592'/>
<id>bc7c030480ee9d9edbdacc91fd3d61a3e5092592</id>
<content type='text'>
Instead of siletly failing or calling a method on a NULL instance.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of siletly failing or calling a method on a NULL instance.
</pre>
</div>
</content>
</entry>
<entry>
<title>appinfo: support opening files through document portal</title>
<updated>2016-07-12T01:20:48+00:00</updated>
<author>
<name>Cosimo Cecchi</name>
<email>cosimo@endlessm.com</email>
</author>
<published>2016-07-11T22:14:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=62bd8f54bbf46b0c34151d6f8b6bd1003155f4a8'/>
<id>62bd8f54bbf46b0c34151d6f8b6bd1003155f4a8</id>
<content type='text'>
In addition to URIs, we now also support opening files internal to the
sandboxed application through the document portal.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In addition to URIs, we now also support opening files internal to the
sandboxed application through the document portal.
</pre>
</div>
</content>
</entry>
</feed>
