Lubomir Rintel
4fa1a49542
docs: include missing documentation in libnm and D-Bus docs
...
Check that we don't repeat the omission in future.
(cherry picked from commit cb1172ee3d )
2018-06-28 20:43:26 +02:00
Lubomir Rintel
79fe82753d
examples/qt/meson: drop dbus-glib dependency
...
It's not actually required.
(cherry picked from commit 22813fdc60 )
2018-06-28 20:41:12 +02:00
Lubomir Rintel
b478b77558
libnm/meson: make generate_setting_docs depend on the typelib
...
Otherwise it would attempt to use a system-wide installed one, resulting
in sadness and misery.
(cherry picked from commit d6c08691d9 )
2018-06-28 20:41:12 +02:00
Lubomir Rintel
03733911cb
meson: generate-setting-docs.py environment correctly
...
It's ugly, because meson doesnt' seem to provide any useful facilities for
dealing with environment variables. Not my fault.
(cherry picked from commit 21840f5321 )
2018-06-28 20:41:12 +02:00
Timothy Redaelli
bb9ce74a59
contrib/rpm: Use Open vSwitch instead of OpenVSwitch
...
The correct naming is Open vSwitch so use it instead of OpenVSwitch
[lkundrak@v3.sk: added some more cases of the same]
https://github.com/NetworkManager/NetworkManager/pull/150
Fixes: 830a5a14cb
(cherry picked from commit 9be0c3330d )
2018-06-28 20:40:13 +02:00
Lubomir Rintel
e53a7365ca
docs: provide soft descriptions for NM{Simple,Remote}Connection
...
...and order them on more logical places in the libnm manual.
2018-06-28 20:38:52 +02:00
Lubomir Rintel
cb1172ee3d
docs: include missing documentation in libnm and D-Bus docs
...
Check that we don't repeat the omission in future.
2018-06-28 20:38:52 +02:00
Lubomir Rintel
bfc7af301a
docs: update copyright year
2018-06-28 20:38:52 +02:00
Lubomir Rintel
1491efa5d8
meson: run the check-export.sh in test phase
...
Targets not depended on by anything are not useful and likely never get run.
2018-06-28 20:38:52 +02:00
Lubomir Rintel
22813fdc60
examples/qt/meson: drop dbus-glib dependency
...
It's not actually required.
2018-06-28 20:38:52 +02:00
Lubomir Rintel
d6c08691d9
libnm/meson: make generate_setting_docs depend on the typelib
...
Otherwise it would attempt to use a system-wide installed one, resulting
in sadness and misery.
2018-06-28 20:38:52 +02:00
Lubomir Rintel
21840f5321
meson: generate-setting-docs.py environment correctly
...
It's ugly, because meson doesnt' seem to provide any useful facilities for
dealing with environment variables. Not my fault.
2018-06-28 20:38:52 +02:00
Lubomir Rintel
0eafdcd572
mailmap: add mailmap
...
This allows us to disambiguate committers. The list was compiled
manually, with preference of latter e-mail addresses if more were used
throughout the history.
2018-06-28 20:38:52 +02:00
Timothy Redaelli
9be0c3330d
contrib/rpm: Use Open vSwitch instead of OpenVSwitch
...
The correct naming is Open vSwitch so use it instead of OpenVSwitch
[lkundrak@v3.sk: added some more cases of the same]
https://github.com/NetworkManager/NetworkManager/pull/150
Fixes: 830a5a14cb
2018-06-28 20:31:32 +02:00
Javier Arteaga
f92af371e6
platform-linux: add support function for genl
...
Resolves Generic Netlink family ID by name.
2018-06-28 16:04:43 +01:00
Thomas Haller
a5a2a92618
libnm/keyfile: add static assertion for ParseInfoProperty
2018-06-28 09:48:34 +02:00
Thomas Haller
9b3b90fc7c
libnm/trivial: fix indentation
2018-06-27 14:50:49 +02:00
Francesco Giudici
7443e75d22
manager/trivial: fix typo in comment
2018-06-27 14:44:24 +02:00
Thomas Haller
f18c673f4e
libnm/trivial: fix indentation
2018-06-27 11:23:57 +02:00
Thomas Haller
f550674d25
logging: merge branch 'th/logging-rh1593519'
...
https://github.com/NetworkManager/NetworkManager/pull/145
https://bugzilla.redhat.com/show_bug.cgi?id=1593519
(cherry picked from commit 71a26617d8 )
2018-06-27 09:21:52 +02:00
Thomas Haller
dbd48f260e
logging: warn about invalid logging backends and drop "debug" backend
...
"debug" was documentation in `man NetworkManager.conf` as a valid
logging backend. However, it was completely ignored by
nm_logging_syslog_openlog().
In fact, it makes not sense. Passing debug = TRUE to
nm_logging_syslog_openlog(), means that all messages will be
printed to stderr in addition to syslog/journal. However, when
NetworkManager is daemonizing, stderr is closed.
Whether NetworkManager is daemonizing depends entirely on command
line options --no-daemon and --debug. Hence, the logging backend "debug"
from the configuration file either conflicts or is redundant.
Also, adjust logging backend description in `man NetworkManager.conf`.
Also, log a warning about invalid/unsupported logging backend.
(cherry picked from commit 2ccf6168dc )
2018-06-27 09:21:33 +02:00
Thomas Haller
a64b424da3
logging/trivial: add code comment about logging-backend
...
(cherry picked from commit 504ad2aeed )
2018-06-27 09:21:33 +02:00
Thomas Haller
1b83cab13b
logging: move fetching monotonic timestamp to end of nm_logging_syslog_openlog()
...
It just makes more sense to first fully setup logging, and then fetching
the timestamp. In practice, the effect previously was very similar.
(cherry picked from commit 2912155584 )
2018-06-27 09:21:33 +02:00
Thomas Haller
64e14855f7
main: warn about invalid logging domains configuration using nm-log
...
Delay warning about invalid domains until we setup syslog and nm-logging.
Preferably, we don't log anything by directly printing to stdout/stderr.
(cherry picked from commit 4439b6a35d )
2018-06-27 09:21:33 +02:00
Thomas Haller
b4844435be
main: accept invalid logging configuration in NetworkManager.conf gracefully
...
https://bugzilla.redhat.com/show_bug.cgi?id=1593519
(cherry picked from commit 11303fd2d1 )
2018-06-27 09:21:33 +02:00
Thomas Haller
5be0ad48e8
main: free error variable in main() at exit
...
Just try to free everything that was allocated. Don't leak
error in case of failure.
(cherry picked from commit 9e20ba6646 )
2018-06-27 09:21:33 +02:00
Thomas Haller
71a26617d8
logging: merge branch 'th/logging-rh1593519'
...
https://github.com/NetworkManager/NetworkManager/pull/145
https://bugzilla.redhat.com/show_bug.cgi?id=1593519
2018-06-27 09:19:46 +02:00
Thomas Haller
2ccf6168dc
logging: warn about invalid logging backends and drop "debug" backend
...
"debug" was documentation in `man NetworkManager.conf` as a valid
logging backend. However, it was completely ignored by
nm_logging_syslog_openlog().
In fact, it makes not sense. Passing debug = TRUE to
nm_logging_syslog_openlog(), means that all messages will be
printed to stderr in addition to syslog/journal. However, when
NetworkManager is daemonizing, stderr is closed.
Whether NetworkManager is daemonizing depends entirely on command
line options --no-daemon and --debug. Hence, the logging backend "debug"
from the configuration file either conflicts or is redundant.
Also, adjust logging backend description in `man NetworkManager.conf`.
Also, log a warning about invalid/unsupported logging backend.
2018-06-27 09:16:04 +02:00
Thomas Haller
504ad2aeed
logging/trivial: add code comment about logging-backend
2018-06-27 09:14:36 +02:00
Thomas Haller
2912155584
logging: move fetching monotonic timestamp to end of nm_logging_syslog_openlog()
...
It just makes more sense to first fully setup logging, and then fetching
the timestamp. In practice, the effect previously was very similar.
2018-06-27 09:14:36 +02:00
Thomas Haller
4439b6a35d
main: warn about invalid logging domains configuration using nm-log
...
Delay warning about invalid domains until we setup syslog and nm-logging.
Preferably, we don't log anything by directly printing to stdout/stderr.
2018-06-27 09:14:36 +02:00
Thomas Haller
11303fd2d1
main: accept invalid logging configuration in NetworkManager.conf gracefully
...
https://bugzilla.redhat.com/show_bug.cgi?id=1593519
2018-06-27 09:14:36 +02:00
Thomas Haller
9e20ba6646
main: free error variable in main() at exit
...
Just try to free everything that was allocated. Don't leak
error in case of failure.
2018-06-27 09:14:36 +02:00
Lubomir Rintel
191c9c7f0d
merge: branch 'lr/6lowpan'
...
https://github.com/NetworkManager/NetworkManager/pull/120
2018-06-26 16:22:23 +02:00
Lubomir Rintel
09d296a1a2
NEWS: add an entry for WPAN & 6LowPAN support
2018-06-26 16:21:55 +02:00
Lubomir Rintel
29636535b2
client: support 6lowpan setting
2018-06-26 16:21:55 +02:00
Lubomir Rintel
3cd9322298
libnm: add support form 6LoWPAN devices
2018-06-26 16:21:55 +02:00
Lubomir Rintel
b7173ad7a7
devices: add NMDevice6Lowpan
2018-06-26 16:21:55 +02:00
Lubomir Rintel
56a6c53de0
introspection: add o.fd.NM.Device.Lowpan interface
...
It's for 6LoWPAN devices. "o.fd.NM.Device.6Lowpan" wouldn't be a valid
interface name -- just skip the leading numeral, that's what kernel also
does on similiar occassions.
2018-06-26 16:21:55 +02:00
Lubomir Rintel
7c1f3650a1
core: add NMSetting6Lowpan
2018-06-26 16:21:55 +02:00
Lubomir Rintel
2af11440f9
platform/linux: add support for 6LoWPAN links
2018-06-26 16:21:55 +02:00
Lubomir Rintel
47c51b3f26
platform: add support for 6LoWPAN links
...
The 6LoWPAN devices tunnel IPv6 over IEEE 802.14.5 WPAN links.
They are software devices without any interesting properties but the
parent linke.
2018-06-26 16:21:55 +02:00
Lubomir Rintel
49844ea55f
device: generate pseudo 48-bit address from the WPAN short one
...
If an IEEE 802.15.4 WPAN device has a short address it is to be used to
get an interface identifier.
2018-06-26 16:21:55 +02:00
Lubomir Rintel
1d396e9972
core-utils: use 64-bit WPAN address for a 6LoWPAN IID
...
If the hardware address is a 64-bit value it can be used directly as an
IEEE EUI-64 address when generating an interface identifier.
2018-06-26 16:21:55 +02:00
Lubomir Rintel
5da77c0e2c
client: support wpan setting
2018-06-26 16:21:55 +02:00
Lubomir Rintel
8901193816
clients/meta: allow formatting 16-bit values formatted as 0x%04x
...
This is the preferred way to format WPAN short addresses and PAN IDs.
2018-06-26 16:21:55 +02:00
Lubomir Rintel
a3baf1ca21
libnm: add support for WPAN devices
2018-06-26 16:21:55 +02:00
Lubomir Rintel
179909a4f2
devices: add NMDeviceWpan
2018-06-26 16:21:54 +02:00
Lubomir Rintel
9a92468ac2
introspection: add o.fd.NM.Device.Wpan interface
2018-06-26 16:21:54 +02:00
Lubomir Rintel
8884b2cb5e
core: add NMSettingWpan
2018-06-26 16:21:54 +02:00