<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/NetworkManager.git, branch bg/next</title>
<subtitle>gitlab.freedesktop.org: NetworkManager/NetworkManager.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/'/>
<entry>
<title>core: fix emitting ip-config properties-changed signals</title>
<updated>2021-09-30T08:13:33+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2021-09-30T08:13:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=66a09f6cb36f64ffceb8d32e97bf833a602180d4'/>
<id>66a09f6cb36f64ffceb8d32e97bf833a602180d4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>dns: fix evaluation of changed flag</title>
<updated>2021-09-30T06:36:09+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2021-09-30T06:35:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=f4810353f3174d773bdfae0085f50d2f84e1e697'/>
<id>f4810353f3174d773bdfae0085f50d2f84e1e697</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fixup! core: rework IP configuration in NetworkManager using layer 3 configuration</title>
<updated>2021-09-29T20:29:52+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2021-09-29T16:40:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=8f33569e159598dfe3cc06c800d7c4a4b8afd85f'/>
<id>8f33569e159598dfe3cc06c800d7c4a4b8afd85f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fixup! core: rework IP configuration in NetworkManager using layer 3 configuration</title>
<updated>2021-09-29T20:29:50+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2021-09-29T16:53:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=0da0144f6325728dd3b1b0a030f64c2ea663674d'/>
<id>0da0144f6325728dd3b1b0a030f64c2ea663674d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>l3cfg: accept NULL NML3ConfigData for several getters</title>
<updated>2021-09-29T20:29:49+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2021-09-29T19:56:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=c26d5928bea4a4dbd579c3a3b7482b29833aa000'/>
<id>c26d5928bea4a4dbd579c3a3b7482b29833aa000</id>
<content type='text'>
We often want to be pedantic about not accepting %NULL for getters (or ref,
unref, etc). Often that is also inconvenient, so we would need to write:

  if (l3cd)
      strv = nm_l3_config_data_get_nameservers(l3cd, addr_family, &amp;len);
  else
      len = 0;

(and, make sure that strv does not trigger a maybe-uninitialized warning).

Being pedanic here is more cumbersome than helpful. Accept NULL to return
the sensible default.

Also add nm_l3_config_data_get_dns_priority_or_default() helper which maps
NULL or a missing value to zero. This is also only for convenience for certain
callers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We often want to be pedantic about not accepting %NULL for getters (or ref,
unref, etc). Often that is also inconvenient, so we would need to write:

  if (l3cd)
      strv = nm_l3_config_data_get_nameservers(l3cd, addr_family, &amp;len);
  else
      len = 0;

(and, make sure that strv does not trigger a maybe-uninitialized warning).

Being pedanic here is more cumbersome than helpful. Accept NULL to return
the sensible default.

Also add nm_l3_config_data_get_dns_priority_or_default() helper which maps
NULL or a missing value to zero. This is also only for convenience for certain
callers.
</pre>
</div>
</content>
</entry>
<entry>
<title>glib-aux: add nm_memcmp_n()/nm_memeq_n() helpers</title>
<updated>2021-09-29T20:29:48+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2021-09-29T18:43:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=3926b50ef23fae4fe0e4332531211b92d7aa7f0b'/>
<id>3926b50ef23fae4fe0e4332531211b92d7aa7f0b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>glib-aux: add nm_strv_equal_n_null() helper (and related)</title>
<updated>2021-09-29T20:28:36+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2021-09-29T17:02:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=3f6df15f389478dedf169314f471cf5e737f348a'/>
<id>3f6df15f389478dedf169314f471cf5e737f348a</id>
<content type='text'>
The plain nm_strv_equal(), nm_strv_equal_n(), nm_strv_cmp_n() functions
treat NULL strv arrays (without specified length) different than strv
arrays of length zero. They do so, because that is useful sometimes.

Sometimes it is not useful and we want to treat empty arrays the same
as a NULL array. Add helpers for that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The plain nm_strv_equal(), nm_strv_equal_n(), nm_strv_cmp_n() functions
treat NULL strv arrays (without specified length) different than strv
arrays of length zero. They do so, because that is useful sometimes.

Sometimes it is not useful and we want to treat empty arrays the same
as a NULL array. Add helpers for that.
</pre>
</div>
</content>
</entry>
<entry>
<title>glib-aux: add nm_g_variant_singleton_{i_0,as,aay,au}() helpers</title>
<updated>2021-09-29T20:27:43+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2021-09-29T16:42:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=ce340df46432c9cd9f15ef3bdddbad253d338492'/>
<id>ce340df46432c9cd9f15ef3bdddbad253d338492</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>core: rework IP configuration in NetworkManager using layer 3 configuration</title>
<updated>2021-09-29T12:59:49+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2021-08-06T13:17:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=db5e25f0b8409db84cd8990ed7bbb0604ecda7a6'/>
<id>db5e25f0b8409db84cd8990ed7bbb0604ecda7a6</id>
<content type='text'>
Completely rework IP configuration in the daemon. Use NML3Cfg as layer 3
manager for the IP configuration of an interface. Use NML3ConfigData as
pieces of configuration that the various components collect and
configure. NMDevice is managing most of the IP configuration at a higher
level, that is, it starts DHCP and other IP methods. Rework the state
handling there.

This is a huge rework of how NetworkManager daemon handles IP
configuration. Some fallout is to be expected.

It appears the patch deletes many lines of code. That is not accurate, because
you also have to count the files `src/core/nm-l3*`, which were unused previously.

Co-authored-by: Beniamino Galvani &lt;bgalvani@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Completely rework IP configuration in the daemon. Use NML3Cfg as layer 3
manager for the IP configuration of an interface. Use NML3ConfigData as
pieces of configuration that the various components collect and
configure. NMDevice is managing most of the IP configuration at a higher
level, that is, it starts DHCP and other IP methods. Rework the state
handling there.

This is a huge rework of how NetworkManager daemon handles IP
configuration. Some fallout is to be expected.

It appears the patch deletes many lines of code. That is not accurate, because
you also have to count the files `src/core/nm-l3*`, which were unused previously.

Co-authored-by: Beniamino Galvani &lt;bgalvani@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>nmcli: show default instead of null adress</title>
<updated>2021-09-29T08:29:31+00:00</updated>
<author>
<name>Vojtech Bubela</name>
<email>vbubela@redhat.com</email>
</author>
<published>2021-09-28T18:39:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=e989cbbd99ee07d10fa4909c294997b75ae0bed4'/>
<id>e989cbbd99ee07d10fa4909c294997b75ae0bed4</id>
<content type='text'>
invoking nmcli command without arguments will now show "default"
instead of null adress in route4 or route6 section.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
invoking nmcli command without arguments will now show "default"
instead of null adress in route4 or route6 section.
</pre>
</div>
</content>
</entry>
</feed>
