<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/NetworkManager.git/libnm/nm-libnm-utils.c, branch lr/python3</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/utils: drop part after a dash in product name</title>
<updated>2018-02-23T18:47:19+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2018-02-23T13:52:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=4c963d719c4892e82c997e63bd21ac88f23dcb17'/>
<id>4c963d719c4892e82c997e63bd21ac88f23dcb17</id>
<content type='text'>
It's always garbage.

At this point we seem to reasonably handle all product names that come
from hwdb.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's always garbage.

At this point we seem to reasonably handle all product names that come
from hwdb.
</pre>
</div>
</content>
</entry>
<entry>
<title>libnm/utils: extend the product fixup phrase list</title>
<updated>2018-02-23T18:47:19+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2018-02-23T13:52:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=0c151ae39db5dc924e521fdcb40d189b455b2c9e'/>
<id>0c151ae39db5dc924e521fdcb40d189b455b2c9e</id>
<content type='text'>
The product names are generally of rather poor quality. The product name
is no place to enumerate product capabilities, the bus it's attached on
and similar nonsense.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The product names are generally of rather poor quality. The product name
is no place to enumerate product capabilities, the bus it's attached on
and similar nonsense.
</pre>
</div>
</content>
</entry>
<entry>
<title>libnm/utils: ignore parts of vendor name after a slash</title>
<updated>2018-02-23T18:47:19+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2018-02-23T13:52:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=e22b1c1d9457a4c03d2a8033239229ec7b4b3ac4'/>
<id>e22b1c1d9457a4c03d2a8033239229ec7b4b3ac4</id>
<content type='text'>
At this point the test suite also contains all network vendor names
known to hwdb.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
At this point the test suite also contains all network vendor names
known to hwdb.
</pre>
</div>
</content>
</entry>
<entry>
<title>libnm/utils: deal with the square brackets on producr/vendor fixup</title>
<updated>2018-02-23T18:47:19+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2018-02-23T13:52:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=f7805ab602df78b5828ef361988d1c4559dd5de2'/>
<id>f7805ab602df78b5828ef361988d1c4559dd5de2</id>
<content type='text'>
If there's a [&lt;string&gt;] that survived the substitution, then the string
is supposed to be a short form that is generally preferrable.

That's great in theory, but actually it's rather often pure garbage for
product names. Let's prefer it just for vendors and provide an option to
drop it (will be useful for fixing up product names).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If there's a [&lt;string&gt;] that survived the substitution, then the string
is supposed to be a short form that is generally preferrable.

That's great in theory, but actually it's rather often pure garbage for
product names. Let's prefer it just for vendors and provide an option to
drop it (will be useful for fixing up product names).
</pre>
</div>
</content>
</entry>
<entry>
<title>libnm/utils: ignore stuff in parentheses for vendor/product fixups</title>
<updated>2018-02-23T18:47:19+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2018-02-23T13:52:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=280d095fdffd569c64bc7516cce1a2ea8751f5f9'/>
<id>280d095fdffd569c64bc7516cce1a2ea8751f5f9</id>
<content type='text'>
It's always useless.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's always useless.
</pre>
</div>
</content>
</entry>
<entry>
<title>libnm/utils: add more phrases to vendor fixup list</title>
<updated>2018-02-23T18:47:19+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2018-02-23T13:52:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=e974261e895661bed67277bcacdb2389a1c27258'/>
<id>e974261e895661bed67277bcacdb2389a1c27258</id>
<content type='text'>
Along with known correctly fixed up vendor names.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Along with known correctly fixed up vendor names.
</pre>
</div>
</content>
</entry>
<entry>
<title>libnm/utils: split out vendor fixup</title>
<updated>2018-02-23T18:47:19+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2018-02-23T13:52:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=8e32d8fc230e593368ee7e5c85005c7b4281d88c'/>
<id>8e32d8fc230e593368ee7e5c85005c7b4281d88c</id>
<content type='text'>
The hwdb generally contains the strings of rather poor quality,
especially when it comes to sensibly presenting them to the user and
they need various cleanups.

While the following patches add fixups, this one splits out vendor
fixups, because it turns out that a different set of fixups is needed
than for products.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The hwdb generally contains the strings of rather poor quality,
especially when it comes to sensibly presenting them to the user and
they need various cleanups.

While the following patches add fixups, this one splits out vendor
fixups, because it turns out that a different set of fixups is needed
than for products.
</pre>
</div>
</content>
</entry>
<entry>
<title>libnm: fix building libnm without WITH_FAKE_TYPELIBS and without gir</title>
<updated>2018-01-08T15:56:59+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2018-01-08T15:30:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=fc8d1d6f9fd112cc96a45a982cd8079798a64e21'/>
<id>fc8d1d6f9fd112cc96a45a982cd8079798a64e21</id>
<content type='text'>
Fixes: 4d1f090aedf05c0e2955d431638e311d1e18a52f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes: 4d1f090aedf05c0e2955d431638e311d1e18a52f
</pre>
</div>
</content>
</entry>
<entry>
<title>libnm: register empty NMClient and NetworkManager when loading libnm with GIR</title>
<updated>2017-11-06T10:47:05+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2017-11-04T19:41:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=4d1f090aedf05c0e2955d431638e311d1e18a52f'/>
<id>4d1f090aedf05c0e2955d431638e311d1e18a52f</id>
<content type='text'>
Register empty "NMClient" and "NetworkManager" GIR modules as soon as libnm is
loaded witch gnome-introspection. This prevents the real modules from being
loaded because they would in turn load libnm-glib and abort() and crash.

In particular this prevents the GNOME shell from crashing with
libnm-glib abort and allows gracefully disabling the extensions which
use the obsolete library.

Test:

  $ cat test.js
  const NM = imports.gi.NM;
  print (NM.SecretAgentGetSecretsFlags.ALLOW_INTERACTION);

  const NMClient = imports.gi.NMClient;
  print (NMClient.SecretAgentGetSecretsFlags.ALLOW_INTERACTION);

Before:

  $ gjs test.js
  1

  (gjs:16253): libnm-util-ERROR **: libnm symbols detected; Mixing libnm with libnm-util/libnm-glib is not supported
  Trace/breakpoint trap (core dumped)
  $

After:

  $ gjs test.js
  1
  Gjs-Message: JS WARNING: [test.js 5]: reference to undefined property "SecretAgentGetSecretsFlags"

  (gjs:16228): Gjs-WARNING **: JS ERROR: TypeError: NMClient.SecretAgentGetSecretsFlags is undefined
  @test.js:5:1

  JS_EvaluateScript() failed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Register empty "NMClient" and "NetworkManager" GIR modules as soon as libnm is
loaded witch gnome-introspection. This prevents the real modules from being
loaded because they would in turn load libnm-glib and abort() and crash.

In particular this prevents the GNOME shell from crashing with
libnm-glib abort and allows gracefully disabling the extensions which
use the obsolete library.

Test:

  $ cat test.js
  const NM = imports.gi.NM;
  print (NM.SecretAgentGetSecretsFlags.ALLOW_INTERACTION);

  const NMClient = imports.gi.NMClient;
  print (NMClient.SecretAgentGetSecretsFlags.ALLOW_INTERACTION);

Before:

  $ gjs test.js
  1

  (gjs:16253): libnm-util-ERROR **: libnm symbols detected; Mixing libnm with libnm-util/libnm-glib is not supported
  Trace/breakpoint trap (core dumped)
  $

After:

  $ gjs test.js
  1
  Gjs-Message: JS WARNING: [test.js 5]: reference to undefined property "SecretAgentGetSecretsFlags"

  (gjs:16228): Gjs-WARNING **: JS ERROR: TypeError: NMClient.SecretAgentGetSecretsFlags is undefined
  @test.js:5:1

  JS_EvaluateScript() failed
</pre>
</div>
</content>
</entry>
<entry>
<title>libnm: move fixup_desc_string() to nm-libnm-utils.c</title>
<updated>2017-05-19T10:45:45+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2017-05-19T08:32:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=e255ad2a03c84f806f9606b420fa12757bbd883f'/>
<id>e255ad2a03c84f806f9606b420fa12757bbd883f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
