<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/NetworkManager.git/src/main.c, branch th/NMStringTable</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: don't ref the Manager singleton</title>
<updated>2014-03-03T15:32:40+00:00</updated>
<author>
<name>Dan Williams</name>
<email>dcbw@redhat.com</email>
</author>
<published>2014-02-10T12:56:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=fe6b86a0789551e364908bf21e205c21b75dc0a1'/>
<id>fe6b86a0789551e364908bf21e205c21b75dc0a1</id>
<content type='text'>
The OLPC mesh code did rely on nm_manager_get() referencing the
singleton when returning it, but all other callers of nm_manager_get()
did not.  Thus the manager's refcount would always increase and
almost never decrease.  Fix the refcounting so that the manager
always has only one ref, and it's lifetime is controlled by
main() and nothing else.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The OLPC mesh code did rely on nm_manager_get() referencing the
singleton when returning it, but all other callers of nm_manager_get()
did not.  Thus the manager's refcount would always increase and
almost never decrease.  Fix the refcounting so that the manager
always has only one ref, and it's lifetime is controlled by
main() and nothing else.
</pre>
</div>
</content>
</entry>
<entry>
<title>replace snprintf by g_snprintf</title>
<updated>2014-02-24T20:35:33+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-02-17T12:14:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=d3a2219cee966b2469b8a457edd3035d876859a8'/>
<id>d3a2219cee966b2469b8a457edd3035d876859a8</id>
<content type='text'>
Use the glib wrapper for snprintf.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the glib wrapper for snprintf.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>core: report which option is unknown</title>
<updated>2014-02-15T10:50:07+00:00</updated>
<author>
<name>Guido Günther</name>
<email>agx@sigxcpu.org</email>
</author>
<published>2014-02-14T21:59:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=0e8901fbd162240c4ef533724c2b97f76ee3f1a7'/>
<id>0e8901fbd162240c4ef533724c2b97f76ee3f1a7</id>
<content type='text'>
So far NetworkManager didn't tell which option it didn't know about:

  Invalid option.  Please use --help to see a list of valid options.

Now it is a bit more informative:

  Unknown option --asdf.  Please use --help to see a list of valid options.

The "Unknown option" string is marked as translatable in glib so i18n
doesn't suffer.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So far NetworkManager didn't tell which option it didn't know about:

  Invalid option.  Please use --help to see a list of valid options.

Now it is a bit more informative:

  Unknown option --asdf.  Please use --help to see a list of valid options.

The "Unknown option" string is marked as translatable in glib so i18n
doesn't suffer.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>logging: ignore unrecognized domains on startup</title>
<updated>2013-12-20T15:04:10+00:00</updated>
<author>
<name>Dan Winship</name>
<email>danw@gnome.org</email>
</author>
<published>2013-11-26T16:33:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=111603212ce7b2a96276abf5cfc68d217bd3e6aa'/>
<id>111603212ce7b2a96276abf5cfc68d217bd3e6aa</id>
<content type='text'>
If the command line or NetworkManager.conf mentions a non-existent
domain, just print a warning and ignore it. That way if you switch to
using an older NM that doesn't have that domain, it will still work.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the command line or NetworkManager.conf mentions a non-existent
domain, just print a warning and ignore it. That way if you switch to
using an older NM that doesn't have that domain, it will still work.
</pre>
</div>
</content>
</entry>
<entry>
<title>core: make NMSessionMonitor non-refcounted</title>
<updated>2013-12-03T21:39:37+00:00</updated>
<author>
<name>Dan Winship</name>
<email>danw@gnome.org</email>
</author>
<published>2013-11-05T19:43:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=37b8983c39d8dcb8402da186dbd3245b019af7a9'/>
<id>37b8983c39d8dcb8402da186dbd3245b019af7a9</id>
<content type='text'>
and ensure that main() frees the singleton before exiting
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and ensure that main() frees the singleton before exiting
</pre>
</div>
</content>
</entry>
<entry>
<title>trivial: consistently #include "libgsystem.h" rather than just gsystem-local-alloc.h</title>
<updated>2013-08-29T21:16:35+00:00</updated>
<author>
<name>Colin Walters</name>
<email>walters@verbum.org</email>
</author>
<published>2013-08-29T19:37:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=ff89e98fac6b7ffdcc20798aaef710e340ab0ef0'/>
<id>ff89e98fac6b7ffdcc20798aaef710e340ab0ef0</id>
<content type='text'>
libgsystem contains more than just the local allocation macros; in the
future we will likely want to make use of some of this such as the
structured logging support.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
libgsystem contains more than just the local allocation macros; in the
future we will likely want to make use of some of this such as the
structured logging support.
</pre>
</div>
</content>
</entry>
<entry>
<title>core: make NMPolicy a GObject</title>
<updated>2013-08-28T14:58:49+00:00</updated>
<author>
<name>Dan Winship</name>
<email>danw@gnome.org</email>
</author>
<published>2013-08-22T14:10:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=5c716c8af8ddca1d3f7510494754d875b01a8889'/>
<id>5c716c8af8ddca1d3f7510494754d875b01a8889</id>
<content type='text'>
And make it owned by NMManager, rather than being a separate top-level
object.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And make it owned by NMManager, rather than being a separate top-level
object.
</pre>
</div>
</content>
</entry>
<entry>
<title>trivial: remove unused system.h includesl</title>
<updated>2013-07-05T15:22:34+00:00</updated>
<author>
<name>Pavel Šimerda</name>
<email>psimerda@redhat.com</email>
</author>
<published>2013-07-05T15:22:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=019dd1b7d83ce9c986e9f71ddc0d9a8101edb15c'/>
<id>019dd1b7d83ce9c986e9f71ddc0d9a8101edb15c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>config: Include overrides in parsed config file message</title>
<updated>2013-06-24T20:48:53+00:00</updated>
<author>
<name>Colin Walters</name>
<email>walters@verbum.org</email>
</author>
<published>2013-06-14T20:05:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=c70ffd6f9b4fccb738539449789f95a8a50d3367'/>
<id>c70ffd6f9b4fccb738539449789f95a8a50d3367</id>
<content type='text'>
Useful to see which files are being read.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Useful to see which files are being read.
</pre>
</div>
</content>
</entry>
<entry>
<title>main+logging: Allow early logging before config files</title>
<updated>2013-06-24T20:48:53+00:00</updated>
<author>
<name>Colin Walters</name>
<email>walters@verbum.org</email>
</author>
<published>2013-06-14T18:51:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=2269b708ace1a035bb367ec6126b19d2c0e6cc09'/>
<id>2269b708ace1a035bb367ec6126b19d2c0e6cc09</id>
<content type='text'>
The new setup phase goes like this:

- main()
- parse command line options
- logging is configured, targeting stdout/stderr
- ...other stuff...
- do or do not daemonize, depending on commandline option and config files
- Call openlog() - further log messages go to syslog (and potentially
  stderr as well, if the -d option was specified so we use LOG_PERROR).

Basically, this allows us to log messages about config file parsing
and such, which *greatly* helps with debugging.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new setup phase goes like this:

- main()
- parse command line options
- logging is configured, targeting stdout/stderr
- ...other stuff...
- do or do not daemonize, depending on commandline option and config files
- Call openlog() - further log messages go to syslog (and potentially
  stderr as well, if the -d option was specified so we use LOG_PERROR).

Basically, this allows us to log messages about config file parsing
and such, which *greatly* helps with debugging.
</pre>
</div>
</content>
</entry>
</feed>
