<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/NetworkManager.git/libnm/nm-device.c, branch th/strsplit</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>libnm/lldp: cleanup asserting for valid NMLldpNeighbor agument</title>
<updated>2019-03-27T09:47:24+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2019-01-30T06:42:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=5b51a1a9f711d7183ad2b11a1803714247b7faed'/>
<id>5b51a1a9f711d7183ad2b11a1803714247b7faed</id>
<content type='text'>
At a few places we checked whether neighbor-&gt;attrs was non-NULL.
That is not necessary, unless we'd like to catch some dangling/invalid
pointers. The attrs hash is always set otherwise.

Instead of just dropping the check, add a NM_IS_LLDP_NEIGHBOR() macro
(inline function).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
At a few places we checked whether neighbor-&gt;attrs was non-NULL.
That is not necessary, unless we'd like to catch some dangling/invalid
pointers. The attrs hash is always set otherwise.

Instead of just dropping the check, add a NM_IS_LLDP_NEIGHBOR() macro
(inline function).
</pre>
</div>
</content>
</entry>
<entry>
<title>libnm/lldp: fix leak and bug in nm_lldp_neighbor_dup()</title>
<updated>2019-03-27T09:47:24+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2019-01-30T06:57:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=8db0319198a9e65e16ef94d8b44801eef5322dd9'/>
<id>8db0319198a9e65e16ef94d8b44801eef5322dd9</id>
<content type='text'>
For one, just reassigning copy-&gt;attrs leaks the previous
hash table. Fix that.

Also, NMLldpNeighbor instances are not immutable. I think that
is an uglyness, and it would be preferable that they can be sealed.
A sealed object could safely share/ref the internal hash-table. However,
as it is, we cannot just have two NMLldpNeighbor instances share the
same hash-table. Do a full copy.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For one, just reassigning copy-&gt;attrs leaks the previous
hash table. Fix that.

Also, NMLldpNeighbor instances are not immutable. I think that
is an uglyness, and it would be preferable that they can be sealed.
A sealed object could safely share/ref the internal hash-table. However,
as it is, we cannot just have two NMLldpNeighbor instances share the
same hash-table. Do a full copy.
</pre>
</div>
</content>
</entry>
<entry>
<title>libnm: add nm_lldp_neighbor_get_attr_value()</title>
<updated>2019-03-27T09:17:39+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2019-01-21T10:53:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=937796f6ea78c320e90e909330799a56df56b911'/>
<id>937796f6ea78c320e90e909330799a56df56b911</id>
<content type='text'>
The function provides access to the GVariant representing a LLDP
attribute.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The function provides access to the GVariant representing a LLDP
attribute.
</pre>
</div>
</content>
</entry>
<entry>
<title>libnm: make attribute name const in LLDP API functions</title>
<updated>2019-03-27T09:17:39+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2019-01-04T08:36:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=8cdc011cd1425333f1817de6821da2b1ebdef40e'/>
<id>8cdc011cd1425333f1817de6821da2b1ebdef40e</id>
<content type='text'>
Add the const qualifier to the attribute name in LLDP API functions so
that const strings and string literals are accepted. This change is
backwards compatible for existing users of the API.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the const qualifier to the attribute name in LLDP API functions so
that const strings and string literals are accepted. This change is
backwards compatible for existing users of the API.
</pre>
</div>
</content>
</entry>
<entry>
<title>libnm: Fix reporting of unknown device types</title>
<updated>2019-03-07T21:26:20+00:00</updated>
<author>
<name>Benjamin Berg</name>
<email>bberg@redhat.com</email>
</author>
<published>2019-03-07T20:31:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=6b2aaba6dfaa70d87a55439206a14b6b1053d5e8'/>
<id>6b2aaba6dfaa70d87a55439206a14b6b1053d5e8</id>
<content type='text'>
nm_device_get_device_type would report the device type as it was send on
DBus, while fetching the property would mean that only a known device
types is reported.

Make both results consistent by coercing in nm_device_get_device_type
rather than when setting the property.

(cherry picked from commit a6a185ba00c6218d9b1ace6e3bd6b57347198246)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
nm_device_get_device_type would report the device type as it was send on
DBus, while fetching the property would mean that only a known device
types is reported.

Make both results consistent by coercing in nm_device_get_device_type
rather than when setting the property.

(cherry picked from commit a6a185ba00c6218d9b1ace6e3bd6b57347198246)
</pre>
</div>
</content>
</entry>
<entry>
<title>core,wifi-p2p: Fix Wi-Fi P2P device type</title>
<updated>2019-03-07T21:26:20+00:00</updated>
<author>
<name>Benjamin Berg</name>
<email>bberg@redhat.com</email>
</author>
<published>2019-03-07T20:20:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=2d547059dc4daa75ee357a6cc19fed55f64ad814'/>
<id>2d547059dc4daa75ee357a6cc19fed55f64ad814</id>
<content type='text'>
The device type was set to the GType rather than a new value in the
NMDeviceType enum.

Add the corresponding enum entry, fix the device type and set the
routing priority to the same value as generic devices.

(cherry picked from commit 8d9365a973025976a15e5e7adb26a6f791957b7c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The device type was set to the GType rather than a new value in the
NMDeviceType enum.

Add the corresponding enum entry, fix the device type and set the
routing priority to the same value as generic devices.

(cherry picked from commit 8d9365a973025976a15e5e7adb26a6f791957b7c)
</pre>
</div>
</content>
</entry>
<entry>
<title>nm: Fix syntax on introspection annotations</title>
<updated>2019-03-07T09:09:23+00:00</updated>
<author>
<name>Marco Trevisan (Treviño)</name>
<email>mail@3v1n0.net</email>
</author>
<published>2019-03-06T19:04:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=b5bbf8edc25c4a13f575ced0356e4b105cc77297'/>
<id>b5bbf8edc25c4a13f575ced0356e4b105cc77297</id>
<content type='text'>
Various annotations were added using multiple colons, while only one has
to be added or g-ir-introspect will consider them part of the description

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/94
(cherry picked from commit 73005fcf5b957a4cf7f8244da85ade0214db7606)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Various annotations were added using multiple colons, while only one has
to be added or g-ir-introspect will consider them part of the description

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/94
(cherry picked from commit 73005fcf5b957a4cf7f8244da85ade0214db7606)
</pre>
</div>
</content>
</entry>
<entry>
<title>all: drop unnecessary includes of &lt;errno.h&gt; and &lt;string.h&gt;</title>
<updated>2019-02-12T07:50:28+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2019-01-31T12:44:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=a3370af3a8a965e41950c5022182730d79614df2'/>
<id>a3370af3a8a965e41950c5022182730d79614df2</id>
<content type='text'>
"nm-macros-interal.h" already includes &lt;errno.h&gt; and &lt;string.h&gt;.
No need to include it everywhere else too.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"nm-macros-interal.h" already includes &lt;errno.h&gt; and &lt;string.h&gt;.
No need to include it everywhere else too.
</pre>
</div>
</content>
</entry>
<entry>
<title>libnm: fix GObject Introspection annotations for functions returning a GPtrArray</title>
<updated>2018-11-12T11:05:19+00:00</updated>
<author>
<name>Corentin Noël</name>
<email>corentin@elementary.io</email>
</author>
<published>2018-11-08T17:50:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=201c153e25990f61421be9984ecca5bc71be5845'/>
<id>201c153e25990f61421be9984ecca5bc71be5845</id>
<content type='text'>
The GPtrArray owns the element so it is a (transfer full).

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/46
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The GPtrArray owns the element so it is a (transfer full).

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/46
</pre>
</div>
</content>
</entry>
<entry>
<title>libnm: add support for per-device &amp; per-AF connectivity status</title>
<updated>2018-09-24T13:37:56+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2018-07-03T18:42:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=276a197c5708a7e565c9266706c4b03afb6b03a5'/>
<id>276a197c5708a7e565c9266706c4b03afb6b03a5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
