<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/NetworkManager.git/src/main-utils.c, branch lr/python3</title>
<subtitle>gitlab.freedesktop.org: NetworkManager/NetworkManager.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/'/>
<entry>
<title>all: use nm_close() instead of close()</title>
<updated>2017-11-14T14:10:42+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2017-11-14T13:22:21+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=5b29c2e5b93c30347919b40e0885280fdb83c1a5'/>
<id>5b29c2e5b93c30347919b40e0885280fdb83c1a5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>config: add first_start paramter to NMConfig to detect restart</title>
<updated>2017-04-20T12:29:00+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2017-04-19T13:56:24+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=7fa7d57a8375a499889607ad4e72837a03114b42'/>
<id>7fa7d57a8375a499889607ad4e72837a03114b42</id>
<content type='text'>
(cherry picked from commit 2131954a190244714e8b27b48567594c7b103fb9)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 2131954a190244714e8b27b48567594c7b103fb9)
</pre>
</div>
</content>
</entry>
<entry>
<title>all: use O_CLOEXEC for file descriptors</title>
<updated>2016-12-13T10:26:59+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2016-12-10T14:28:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=4bdee37771ae741f4f9548b52c1db53ddf080fe8'/>
<id>4bdee37771ae741f4f9548b52c1db53ddf080fe8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>main: create /run/NetworkManager/devices runtime directory</title>
<updated>2016-09-26T08:52:12+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2016-04-04T16:18:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=1eca446c8c9044c3643c59f73d4396e7ef18d54d'/>
<id>1eca446c8c9044c3643c59f73d4396e7ef18d54d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>build: avoid compiler warnings about non-constant format strings (-Wformat-nonliteral)</title>
<updated>2016-06-05T10:22:01+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2016-06-05T09:46:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=466bf2f6332e15a447a40e2a92b7f4493502855a'/>
<id>466bf2f6332e15a447a40e2a92b7f4493502855a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>build: cleanup includes of &lt;gmodule.h&gt;</title>
<updated>2016-04-30T01:42:16+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2016-04-30T01:26:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=c5ac69174464521e8d20d8e5e1e8ec1cefe41773'/>
<id>c5ac69174464521e8d20d8e5e1e8ec1cefe41773</id>
<content type='text'>
&lt;gmodule.h&gt; is implicitly included by &lt;gio/gio.h&gt; which is available
everywhere. For that reason, we would not have to include this header
at all. However, it is recommended to explicitly include &lt;gmodule.h&gt;
where needed.

So, include it where needed -- if &lt;gio/gio.h&gt; wouldn't be there --
and drop it from where it is not needed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
&lt;gmodule.h&gt; is implicitly included by &lt;gio/gio.h&gt; which is available
everywhere. For that reason, we would not have to include this header
at all. However, it is recommended to explicitly include &lt;gmodule.h&gt;
where needed.

So, include it where needed -- if &lt;gio/gio.h&gt; wouldn't be there --
and drop it from where it is not needed.
</pre>
</div>
</content>
</entry>
<entry>
<title>main: create parent directories of NMSTATEDIR with permissions 755</title>
<updated>2016-03-21T12:31:40+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2016-03-21T11:01:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=acf9496ccf4c8186fc3d393b3810eaa968abbce6'/>
<id>acf9496ccf4c8186fc3d393b3810eaa968abbce6</id>
<content type='text'>
In case, "$PREFIX/var/lib" does not exist, we want to create those
directories with permissions 755, not 700.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In case, "$PREFIX/var/lib" does not exist, we want to create those
directories with permissions 755, not 700.
</pre>
</div>
</content>
</entry>
<entry>
<title>all: drop str_if_set() in favor of the "?:" operator</title>
<updated>2016-03-08T16:57:20+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2016-03-08T16:41:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=b36d7215255f2adb43341c15d438609d4087cc32'/>
<id>b36d7215255f2adb43341c15d438609d4087cc32</id>
<content type='text'>
str_if_set() was added to replace the non-standard gcc extension "?:".
However, "?:" is supported by clang as well and we already use it at
several places.

Also, str_if_set() did not follow our naming scheme and renaming to
nm_str_if_set() would be ugly. So just drop it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
str_if_set() was added to replace the non-standard gcc extension "?:".
However, "?:" is supported by clang as well and we already use it at
several places.

Also, str_if_set() did not follow our naming scheme and renaming to
nm_str_if_set() would be ugly. So just drop it.
</pre>
</div>
</content>
</entry>
<entry>
<title>all: cleanup includes and let "nm-default.h" include "config.h"</title>
<updated>2016-02-19T16:53:25+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2016-02-19T13:57:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=8bace23bebcc28396460663203d54aac4ec8ffbf'/>
<id>8bace23bebcc28396460663203d54aac4ec8ffbf</id>
<content type='text'>
- All internal source files (except "examples", which are not internal)
  should include "config.h" first. As also all internal source
  files should include "nm-default.h", let "config.h" be included
  by "nm-default.h" and include "nm-default.h" as first in every
  source file.
  We already wanted to include "nm-default.h" before other headers
  because it might contains some fixes (like "nm-glib.h" compatibility)
  that is required first.

- After including "nm-default.h", we optinally allow for including the
  corresponding header file for the source file at hand. The idea
  is to ensure that each header file is self contained.

- Don't include "config.h" or "nm-default.h" in any header file
  (except "nm-sd-adapt.h"). Public headers anyway must not include
  these headers, and internal headers are never included after
  "nm-default.h", as of the first previous point.

- Include all internal headers with quotes instead of angle brackets.
  In practice it doesn't matter, because in our public headers we must
  include other headers with angle brackets. As we use our public
  headers also to compile our interal source files, effectively the
  result must be the same. Still do it for consistency.

- Except for &lt;config.h&gt; itself. Include it with angle brackets as suggested by
  https://www.gnu.org/software/autoconf/manual/autoconf.html#Configuration-Headers
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- All internal source files (except "examples", which are not internal)
  should include "config.h" first. As also all internal source
  files should include "nm-default.h", let "config.h" be included
  by "nm-default.h" and include "nm-default.h" as first in every
  source file.
  We already wanted to include "nm-default.h" before other headers
  because it might contains some fixes (like "nm-glib.h" compatibility)
  that is required first.

- After including "nm-default.h", we optinally allow for including the
  corresponding header file for the source file at hand. The idea
  is to ensure that each header file is self contained.

- Don't include "config.h" or "nm-default.h" in any header file
  (except "nm-sd-adapt.h"). Public headers anyway must not include
  these headers, and internal headers are never included after
  "nm-default.h", as of the first previous point.

- Include all internal headers with quotes instead of angle brackets.
  In practice it doesn't matter, because in our public headers we must
  include other headers with angle brackets. As we use our public
  headers also to compile our interal source files, effectively the
  result must be the same. Still do it for consistency.

- Except for &lt;config.h&gt; itself. Include it with angle brackets as suggested by
  https://www.gnu.org/software/autoconf/manual/autoconf.html#Configuration-Headers
</pre>
</div>
</content>
</entry>
<entry>
<title>core: don't handle SIGUSR1 and SIGUSR2 signals for pre 2.36.0 glib</title>
<updated>2015-11-25T09:54:18+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2015-11-25T09:51:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=8aab22fe4545f69a278351f990ccd021f16e25ff'/>
<id>8aab22fe4545f69a278351f990ccd021f16e25ff</id>
<content type='text'>
https://bugzilla.gnome.org/show_bug.cgi?id=758614

Reported-by: Glenn Washburn &lt;development@efficientek.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugzilla.gnome.org/show_bug.cgi?id=758614

Reported-by: Glenn Washburn &lt;development@efficientek.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
