Commit graph

1389 commits

Author SHA1 Message Date
Thomas Haller 0420fa1f2c wifi-p2p: rename files for consistent Wi-Fi P2P naming
We named the types inconsistently:

  - "p2p-wireless" ("libnm-core/nm-setting-p2p-wireless.h")

  - "p2p" ("libnm/nm-p2p-peer.h")

  - "p2p-wifi" ("src/devices/wifi/nm-device-p2p-wifi.h")

It seems to me, "libnm/nm-p2p-peer.h" should be qualified with a "Wi-Fi"
specific name. It's not just peer-to-peer, it's Wi-Fi P2P.
Yes, there is an inconsistency now, because there is already
"libnm/nm-access-point.h".

It seems to me (from looking at the internet), that the name "Wi-Fi P2P"
is more common than "P2P Wi-Fi" -- although both are used. There is also
the name "Wi-Fi Direct". But it's not clear which name should be
preferred here, so stick to "Wi-Fi P2P".

In this first commit only rename the files. The following commit will
rename the content.
2019-02-01 17:02:57 +01:00
Rafael Fontenelle 4cc54941cc po: update Brazilian Portuguese (pt_BR) translation
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/71
2019-01-29 12:44:03 +01:00
Benjamin Berg 6420a2c1fd libnm: Add NMDeviceP2PWifi 2019-01-27 23:45:12 +01:00
Benjamin Berg 42e60e327f core: Add basic P2P Wi-Fi Settings
The support is rather basic and only allows connecting to a specific
peer. However, this is actually already enough for many usecases.
2019-01-27 23:45:11 +01:00
Yuri Chornoivan d79ae0f149 Update Ukrainian translation 2019-01-24 15:25:43 +02:00
Dennis Brakhane 687be0d017 po/de: fix typo
https://github.com/NetworkManager/NetworkManager/pull/289
2019-01-24 08:32:48 +01:00
Lubomir Rintel c8560bcc4a po: translations from the Red Hat translators 2019-01-08 19:06:56 +01:00
Lubomir Rintel a8c58baffc po: update-po for the translations that are going to be updated
Just so that we get a nicer diff when pulling from the Red Hat Zanata.
2019-01-08 19:06:56 +01:00
Thomas Haller 70fab489db keyfile: add nm_keyfile_plugin_kf_get_int64() helper 2019-01-07 10:09:10 +01:00
Lubomir Rintel b385ad0159 all: say Wi-Fi instead of "wifi" or "WiFi"
Correct the spelling across the *entire* tree, including translations,
comments, etc. It's easier that way.

Even the places where it's not exposed to the user, such as tests, so
that we learn how is it spelled correctly.
2018-11-29 17:53:35 +01:00
garywill faba9b12de po: update zh_CN.po fix "Infra" translation
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/48
2018-11-16 08:07:58 +01:00
Yuri Chornoivan 60dda78b74 po: update Ukrainian (uk) translation (#36)
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/36
2018-10-26 12:34:31 +02:00
Lubomir Rintel 7b8510a7e8 po: update from Red Hat translators
https://bugzilla.redhat.com/show_bug.cgi?id=1608323
(cherry picked from commit d7d085a88d)
2018-10-16 16:48:27 +02:00
Rafael Fontenelle fea3d11883 po: update Brazilian Portuguese (pt_BR) translation
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/22
2018-10-01 11:08:42 +02:00
AsciiWolf b595232021 po: update Czech (cz) translation
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/18
2018-09-30 22:06:35 +02:00
AsciiWolf 210e28f7e9 po: update Czech (cz) translation
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/13
(cherry picked from commit 69b4b28bb8)
2018-09-13 17:07:46 +02:00
Thomas Haller 4106f2968d libnm/crypto: rename libnm's crypto files
"crypto.h" did not follow our common NM style naming. Rename
the files.
2018-09-04 07:38:30 +02:00
Dingzhong Chen dc4db093c7 po: update Chinese (zh_CN) translation
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/10
2018-08-30 07:35:17 +02:00
Christian K cd79a22d18 po: update German translation
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/9
2018-08-21 17:59:02 +02:00
Lubomir Rintel de615e3136 po: fix a typo in fr translation
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/5
2018-08-20 19:18:14 +02:00
Lubomir Rintel 0004404cb1 ip4-config: fix a typo
(cherry picked from commit 0550003ef0)
2018-08-19 13:56:14 +02:00
Lubomir Rintel 2d3d1bbc96 po/ja: translations from the Red Hat translators
(cherry picked from commit 7af38dc4fc)
2018-08-19 13:56:12 +02:00
Rafael Fontenelle 02c11bb349 po: update Brazilian Portuguese translation
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/3
2018-08-15 11:30:22 +02:00
Thomas Haller df30651b89 libnm, cli, ifcfg-rh: add NMSettingEthtool setting
Note that in NetworkManager API (D-Bus, libnm, and nmcli),
the features are called "feature-xyz". The "feature-" prefix
is used, because NMSettingEthtool possibly will gain support
for options that are not only -K|--offload|--features, for
example -C|--coalesce.

The "xzy" suffix is either how ethtool utility calls the feature
("tso", "rx"). Or, if ethtool utility specifies no alias for that
feature, it's the name from kernel's ETH_SS_FEATURES ("tx-tcp6-segmentation").
If possible, we prefer ethtool utility's naming.

Also note, how the features "feature-sg", "feature-tso", and
"feature-tx" actually refer to multiple underlying kernel features
at once. This too follows what ethtool utility does.

The functionality is not yet implemented server-side.
2018-08-10 10:38:19 +02:00
Yuri Chornoivan acb975043e po: update Ukrainian (uk) translation (bgo#796728)
https://bugzilla.gnome.org/show_bug.cgi?id=796728
2018-07-12 07:37:25 +02:00
Beniamino Galvani a9b4532fa7 libnm-core: add SR-IOV setting
Add a setting containing SR-IOV parameters.
2018-07-11 16:16:22 +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 7c1f3650a1 core: add NMSetting6Lowpan 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 8884b2cb5e core: add NMSettingWpan 2018-06-26 16:21:54 +02:00
Piotr Drąg f4bef9a12e po: update Polish (pl) translation (bgo #796610)
https://bugzilla.gnome.org/show_bug.cgi?id=796610
2018-06-19 16:55:39 +02:00
Piotr Drąg eb54fc0bef po: fix broken strings in Japanese translation (bgo#796611)
https://bugzilla.gnome.org/show_bug.cgi?id=796611
2018-06-19 16:53:20 +02:00
Thomas Haller 5975e4a39e cli: add helper methods for implementing NmcMetaGenericInfo's get_fcn() 2018-05-14 17:53:03 +02:00
Stas Solovey 416b2c020b po: updated Russian (ru) translation (bgo #794738)
https://bugzilla.gnome.org/show_bug.cgi?id=794738
2018-04-27 13:33:58 +02:00
Thomas Haller 21f6058cfe libnm/keyfile: merge keyfile sources (pt2, merge nm-keyfile-writer.c)
Splitting keyfile handling in two "reader.c" and "writer.c" files
is not helpful. What is most interesting, is to see how property XYZ
is serialized to keyfile, and to verify that the parser does the
inverse. For that, it's easier if both the write_xzy() and parse_xyz()
function are beside each other, and not split accross files.

The more important reason is, that both reader and writer have their
separate handler arrays, for special handling of certain properties:
@key_parsers and @key_writers. These two should not be separate but will
be merged. Since they reference static functions, these functions must
all be in the same source file (unless, we put them into headers, which
would be unnecessary complex).

No code was changed, only moved.
2018-04-19 09:36:41 +02:00
Thomas Haller f99dc6b936 libnm/keyfile: merge keyfile sources (pt1, rename nm-keyfile-reader.c)
I am going to merge the files for keyfile handling in libnm-core.
There is a reason for that, I'll tell you next.
2018-04-19 09:36:41 +02:00
Thomas Haller 684bf31150 all: unify spelling of translators hint in source code
Use the same form everywhere: "TRANSLATORS" instead of "Translators".
The manual also seems to prefer the upper-case form [1].

  $ sed 's/\<Translators\>: /TRANSLATORS: /g' $(git grep -l Translators) -i

[1] https://www.gnu.org/software/gettext/manual/gettext.html
2018-04-13 10:00:09 +02:00
AsciiWolf ddc2c5f215 po: update Czech translation
https://github.com/NetworkManager/NetworkManager/pull/84
2018-03-30 22:01:50 +02:00
Yuri Chornoivan 64cb0f5cfb po: update Ukrainian (uk) translation (bgo#794443)
https://bugzilla.gnome.org/show_bug.cgi?id=794443
2018-03-19 16:17:51 +01:00
Stas Solovey 371af1f8b9 po: updated Russian (ru) translation (bgo #794338)
https://bugzilla.gnome.org/show_bug.cgi?id=794338
2018-03-15 08:28:17 +01:00
Andika Triwidada e3214f8d95 po: updated Indonesian translation (bgo #794103)
https://bugzilla.gnome.org/show_bug.cgi?id=794103
2018-03-08 00:29:13 +01:00
Thomas Haller 49985a890f po: drop Changelog file
The file is badly outdated and obviously unused. Replace the existing entries
with a comment where to find the outdated changelog.
2018-02-07 13:32:01 +01:00
Piotr Drąg fa8a90a28e po: update Polish (pl) translation (bgo #792436)
https://bugzilla.gnome.org/show_bug.cgi?id=792436
2018-02-05 10:46:47 +01:00
Thomas Haller be13c75a3c po: skip translation for file in meson build directory
Otherwise, having a meson build directory along autotools,
lets `make check` fail with

    The following files contain translations and are currently not in use. Please
    consider adding these to the POTFILES.in file, located in the po/ directory.

    build/data/org.freedesktop.NetworkManager.policy.in

    If some of these files are left out on purpose then please add them to
    POTFILES.skip instead of POTFILES.in. A file 'missing' containing this list
    of left out files has been written in the current directory.
    Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager
    if [ -r missing -o -r notexist ]; then \
      exit 1; \
    fi

Yes, meson does not require that the build directory is named "build"
and this fix only works for the default case.
2018-01-12 09:51:12 +01:00
Iñigo Martínez 7b34c3cf3e build: Rename settings-docs.c file
The `settings-docs.c` file is generated by processing the
`nm-property-docs.xml` file. Although this works in autotools,
the `.c` extension makes meson not to handle it properly.

Given the fact that it only contains a number of defines it
makes sense to change its extension to `.h` an use it as a header.
This also makes meson to handle it properly and build it before
its used.

https://mail.gnome.org/archives/networkmanager-list/2018-January/msg00057.html
2018-01-12 09:39:06 +01:00
Iñigo Martínez 03637ad8b5 build: add initial support for meson build system
meson is a build system focused on speed an ease of use, which
helps speeding up the software development. This patch adds meson
support along autotools.

[thaller@redhat.com: rebased patch and adjusted for iwd support]

https://mail.gnome.org/archives/networkmanager-list/2017-December/msg00022.html
2017-12-13 15:48:50 +01:00
Lubomir Rintel f4419783b7 po: translations from the Red Hat translators 2017-12-12 10:49:37 +01:00
Lubomir Rintel 4103c72c15 po: update-po for the translations that are going to be updated
Just so that we get a nicer diff when pulling from the Red Hat Zanata.
2017-12-12 10:49:37 +01:00
Lubomir Rintel da13c7a1a4 libnm-core: add NMSettingTCConfig with qdisc support
Currently is only able to hold the queueing disciplines.
2017-12-11 10:52:22 +01:00
Josef Andersson 9b23f97290 po: update Swedish (sv) translation (bgo #791222)
https://bugzilla.gnome.org/show_bug.cgi?id=791222
2017-12-05 11:48:40 +01:00
Yuri Chornoivan 1e02ee4dc0 po: update Ukrainian (uk) translation (bgo#790215)
https://bugzilla.gnome.org/show_bug.cgi?id=790215
2017-11-13 12:36:42 +01:00
Josef Andersson 80687ed0ce po: update Swedish (sv) translation (bgo #790018)
Reviewed-by: Anders Jonsson <anders.jonsson@norsjovallen.se>

https://bugzilla.gnome.org/show_bug.cgi?id=790018
2017-11-07 19:26:07 +01:00
Piotr Drąg b7b052c41e po: update Polish (pl) translation (bgo #789874)
https://bugzilla.gnome.org/show_bug.cgi?id=789874
2017-11-06 12:28:23 +01:00
Thomas Haller d7d9759d56 docs: fix typo in NMSettingBridge:group-forward-mask doc
Fixes: 17ec3aef2f

https://bugzilla.gnome.org/show_bug.cgi?id=789662
2017-10-30 21:49:50 +01:00
Lubomir Rintel 3f74528a0b libnm: add support for ovs-bridge devices 2017-10-30 17:40:09 +01:00
Lubomir Rintel c536d7e666 libnm: add support for ovs-port devices 2017-10-30 17:40:09 +01:00
Lubomir Rintel e5c19377ec libnm: add support for ovs-interface devices 2017-10-30 17:40:08 +01:00
Lubomir Rintel cb9b024ddb libnm-core: add ovs-bridge setting 2017-10-30 17:40:08 +01:00
Lubomir Rintel 8a1ae40a80 libnm-core: add ovs-port setting 2017-10-30 17:40:08 +01:00
Lubomir Rintel 27790fa976 libnm-core: add ovs-interface setting 2017-10-30 17:40:08 +01:00
Lubomir Rintel d4a7fe4679 libnm-core: add ovs-patch setting 2017-10-30 17:40:08 +01:00
Christian Kirbach 2a5b04d06d po: update German (de) translation (bgo#788638)
https://bugzilla.gnome.org/show_bug.cgi?id=788638
2017-10-12 10:58:52 +02:00
Piotr Drąg 5ad6c8471d po: mark broken strings in Japanese translation as fuzzy (bgo#787382)
https://bugzilla.gnome.org/show_bug.cgi?id=787382
2017-09-07 12:22:44 +02:00
Piotr Drąg b13ba34acb po: update Polish (pl) translation (bgo #787380)
https://bugzilla.gnome.org/show_bug.cgi?id=787380
2017-09-07 12:19:45 +02:00
Thomas Haller 752afada0b docs: fix spelling errors in tranlated strings and documentation
https://bugzilla.gnome.org/show_bug.cgi?id=786131
2017-08-11 11:05:12 +02:00
Yuri Chornoivan b535ecc23a po: update Ukrainian (uk) translation (bgo#784529)
https://bugzilla.gnome.org/show_bug.cgi?id=784529
2017-07-07 13:28:50 +02:00
Yuri Chornoivan 5fad8aeb51 po: update Ukrainian (uk) translation (bgo#784166)
https://bugzilla.gnome.org/show_bug.cgi?id=784166
2017-06-29 09:34:36 +02:00
Lubomir Rintel 2a5076f9ee po: bring back Polish translation fixes
Zanata seems to corrupt the translations: https://zanata.atlassian.net/browse/ZNTA-2007
2017-05-29 19:00:58 +02:00
Lubomir Rintel 6b3c7b60c2 po: update Japanese translation
From the Red Hat translators. Fix up the bad msgmerge.
2017-05-29 17:45:11 +02:00
Lubomir Rintel 9d1bf05eda po: fix line ending in Japan translation 2017-05-29 17:40:20 +02:00
Lubomir Rintel 0fcae6c260 po: update translations from Zanata
And make -C po update-po to canonicalize them.
2017-05-29 17:36:32 +02:00
Adonis Papaderos 700c42fe1c po: small translation fix for the Greek language.
https://bugzilla.gnome.org/show_bug.cgi?id=783182
2017-05-29 17:17:15 +02:00
Lubomir Rintel 9c272e2612 po: update Japanese translation
From the Red Hat translators.
2017-05-29 16:25:37 +02:00
Lubomir Rintel c859caa520 po: update translations from Zanata 2017-05-29 16:24:42 +02:00
Adonis Papaderos 6b6d7e411a po: small translation fix for the Greek language.
https://bugzilla.gnome.org/show_bug.cgi?id=783182
2017-05-29 07:59:11 +02:00
Thomas Haller 4dc905a954 po: make update-po 2017-05-10 15:06:30 +02:00
Thomas Haller 8b3c35a13e po: make update-po 2017-04-23 23:51:32 +02:00
Thomas Haller 7aab314cef cli: fix marking settings docs for translation
Text for translation cannot contain defines (or variables). We must
generate the description docs with plain N_() values.
2017-04-23 23:45:02 +02:00
Piotr Drąg fbf40a23ad po: update Polish (pl) translation (bgo #780277)
https://bugzilla.gnome.org/show_bug.cgi?id=780277

[thaller@redhat.com: with `make -C po NetworkManager.pot update-po`]
2017-04-19 17:33:37 +02:00
Thomas Haller 4f5464a914 po: make update-po 2017-04-19 11:52:28 +02:00
Piotr Drąg 70eb4c3dba po: update Polish (pl) translation (bgo #780277)
https://bugzilla.gnome.org/show_bug.cgi?id=780277
2017-04-19 11:52:28 +02:00
Thomas Haller ef6787364a po: import Zanata translations 2017-04-19 11:52:27 +02:00
Thomas Haller ef25459377 po: make update-po 2017-04-19 11:52:26 +02:00
Thomas Haller 886dad49d4 cli: move parsing of meta data fields 2017-04-13 10:10:12 +02:00
Thomas Haller 23298bfc88 cli: move utils function from common.h to nm-meta-setting-desc.c
These functions are only used by nm-meta-setting-desc.c. Make them internal.
Unfortunately, they are part of "common.h" which cannot be used without
the rest of nmcli. Still todo.
2017-03-30 13:09:58 +02:00
Thomas Haller b5c8622ad3 cli: split nm-meta-setting-desc out of settings
This part contains static functions and variables to describe
settings. It is distinct from the mechanism to use them, or
access them.

Split it out.

It still uses clients/cli/common.h and clients/cli/utils.h
which shall be fixed next.
2017-03-30 13:09:58 +02:00
Thomas Haller 4ec7dd987e libnm: add NMSettingUser
This only adds new API for a NMSettingUser. The setting class
is still entirely unused.

The point is getting the new API into 1.8.0 release of libnm.
It's easier to backport the use of the API to a stable branch
then backporting public API.

https://bugzilla.gnome.org/show_bug.cgi?id=776276
https://bugzilla.redhat.com/show_bug.cgi?id=1421429
2017-03-28 14:58:21 +02:00
Thomas Haller 9749fdbf34 po: make update-po 2017-03-21 15:07:17 +01:00
Piotr Drąg 531b05f3d6 po: update Polish (pl) translation (bgo #780277)
https://bugzilla.gnome.org/show_bug.cgi?id=780277
2017-03-21 14:58:08 +01:00
Yuri Chornoivan e2c526f071 po: update Ukrainian (uk) translation (bgo#780201)
https://bugzilla.gnome.org/show_bug.cgi?id=780201
2017-03-21 14:55:24 +01:00
Thomas Haller 6c2895f875 po: import Zanata translations 2017-03-21 14:55:00 +01:00
Beniamino Galvani b42f780e04 core: add support for dummy devices
Add support for creating dummy devices. This commit adds a D-Bus
interface 'org.freedesktop.NetworkManager.Device.Dummy' which is used
primarily for determining the device type but does not carry any
properties.
2017-02-22 21:05:04 +01:00
Piotr Drąg 034d75fb79 po: update Polish (pl) translation (bgo #777402)
https://bugzilla.gnome.org/show_bug.cgi?id=777402
(cherry picked from commit 2131e98511)
2017-01-25 18:18:09 +01:00
Piotr Drąg e1d3759712 po: update Polish (pl) translation (bgo #777402)
https://bugzilla.gnome.org/show_bug.cgi?id=777402
(cherry picked from commit 39455bb99f)
2017-01-17 23:04:14 +01:00
Lubomir Rintel 40a5e845b8 po: import Zanata translations 2017-01-16 22:14:48 +01:00
Beniamino Galvani d252a99fa2 libnm-core: add NMSettingMacsec
The new NMSettingMacsec contains information necessary to establish a
MACsec connection. At the moment we support two different MACsec
modes, both using wpa_supplicant: PSK and EAP.

PSK mode is based on a static CAK key for the MACsec key agreement
protocol, while EAP mode derives keys from a 802.1x authentication and
thus requires the presence of a NMSetting8021x in the connection.
2017-01-16 17:37:14 +01:00
Piotr Drąg b08dd30b09 po: update Polish (pl) translation (bgo #775181)
https://bugzilla.gnome.org/show_bug.cgi?id=775181
2016-11-28 11:16:11 +01:00
Thomas Haller 62c2e6ccda build: rename "src/dns-manager" to "src/dns"
The dns directory does not only contain the manager
instance, but various files related to DNS.

Rename.
2016-11-21 14:07:47 +01:00
Thomas Haller e053996881 build: rename "src/dhcp-manager" to "src/dhcp"
The dhcp directory does not only contain the manager
instance, but various files related to DHCP.

Rename.
2016-11-21 14:07:47 +01:00
Mario Blättermann 167bddb333 po: update German (de) translation (bgo #774461)
https://bugzilla.gnome.org/show_bug.cgi?id=774461
2016-11-15 11:11:06 +01:00
Beniamino Galvani cd73f281cc tui: add support for IP tunnel connections 2016-11-09 17:45:39 +01:00
Thomas Haller 4be9b4a2cb build: move policy file from "policy/" to "data/" 2016-11-03 14:18:23 +01:00
Thomas Haller 254f892c9c ifcfg-rh: rename files 2016-10-11 11:37:46 +02:00
Thomas Haller 912526f543 ibft: rename files to "nms-ibft-*" 2016-10-11 11:37:46 +02:00
Thomas Haller 1213a47faf po: fix POTFILES.in after renaming "nm-wifi-ap-utils.c"
Fixes: 44b2044faa
2016-10-06 21:01:53 +02:00
Thomas Haller 0a9d1e001b po: translate libnm-core/nm-setting-proxy.c 2016-10-04 11:44:44 +02:00
Atul Anand 3ef7d316f6 TODO: Remove Proxies from the list of TODO
Remove Proxies from the list once proxy patches are successfully merged.
2016-10-04 11:44:44 +02:00
Thomas Haller 1a54ac0a1f po: fix adding libnm-core/nm-setting-team.c to po/POTFILES.in
Fixes: 146e0d23bc
2016-09-27 12:02:14 +02:00
Christian Kirbach 899d5e5c82 po: update German (de) translation (bgo#771732)
https://bugzilla.gnome.org/show_bug.cgi?id=771732
2016-09-21 11:24:27 +02:00
Lubomir Rintel 2724ec53b7 po: add translations from Red Hat
https://bugzilla.redhat.com/show_bug.cgi?id=887771
2016-09-06 15:38:38 +02:00
Yuri Chornoivan d1f1c2f18c po: update Ukrainian (uk) translation (bgo#770447)
https://bugzilla.gnome.org/show_bug.cgi?id=770447
2016-08-26 19:04:50 +02:00
Piotr Drąg 3d9a0fda33 po: update Polish (pl) translation (bgo #769463)
https://bugzilla.gnome.org/show_bug.cgi?id=769463
(cherry picked from commit 5e41e1634d)
2016-08-17 20:00:14 +02:00
Piotr Drąg c53eed13e9 po: update Polish (pl) translation (bgo #769463)
https://bugzilla.gnome.org/show_bug.cgi?id=769463
2016-08-15 14:41:59 +02:00
Christian Kirbach 86ad508534 po: update German (de) translation (bgo #766927)
https://bugzilla.gnome.org/show_bug.cgi?id=766927
2016-07-10 10:57:26 +02:00
Lubomir Rintel 1f6d060008 po: sync translations from Zanata 2016-06-22 15:03:22 +02:00
Thomas Haller 5d55492bac shared: add "nm-utils/nm-vpn-plugin-utils.h"
This file is only used by plugins and copied between them.

It's purpose is to contain general utility functions that are
only relevant for implementing NetworkManager's VPN plugins.

In principle the utility functions could be part of libnm, however,
there are a few problems with that:
  - if they are part of libnm, adding and using a new utility function
    requires the plugin to bump the required libnm version. Since you
    usally can work around/reimplement utility functions, this results
    in not using the API from libnm, not adding the API to libnm,
    and reimplementing it over and over in the plugin.
  - plugins compile both against libnm and libnm-glib. Thus, either
    the utility function would also be needed in libnm-glib, or again,
    it is not usable by the plugin.

We must avoid that the utility functions diverge and no local
modifications to these files should be made in the plugin.
Instead, one special location of the utility functions shall be
extended and re-imported (copied) to the plugin as needed.

Add the files to NetworkManager's repository. Although they are not
needed for NetworkManager itself, they are a different API provided
by NetworkManager. An API that is reused and shared by copying the files
around.
2016-06-16 10:45:54 +02:00
Thomas Haller 4b288136e1 shared: move shared files to subdirectory "shared/nm-utils/"
The "shared" directory contains files that are possibly used by all components
of NetworkManager repository.

Some of these files are even copied as-is to other projects (VPN plugins, nm-applet)
and used there without modification. Move those files to a separate directory.
By moving them to a common directory, it is clearer that they belong
together. Also, you can easier compare the copied versions to their
original via

  $ diff -r ./shared/nm-utils/ /path/to/nm-vpn-plugin/shared/nm-utils/
2016-06-16 10:45:53 +02:00
Thomas Haller cf34211c90 libnm/vpn: add nm_vpn_editor_plugin_load_vt()
Let VPN plugins return a virtual function table to extend
the API while bypassing libnm. This allows to add and use
new functionality to VPN plugins without updating libnm.

The actual definitions are in a header-only file
"nm-vpn-editor-plugin-call.h", which can be copied to the
caller/plugin.
2016-06-15 15:01:12 +02:00
Thomas Haller 1d0e0eeffd manager: add Reload() D-Bus command
Add new Reload D-Bus command to reload NetworkManager configuration.

For now, this is like sending SIGHUP to the process. There are several
advantages here:

  - it is guarded via PolicyKit authentication while signals
    can only be sent by root.

  - the user can wait for the reload to be complete instead of sending
    an asynchronous signal. For now, we operation completes after
    nm_config_reload() returns, but later we could delay the response
    further until specific parts are fully reloaded.

  - SIGHUP reloads everything including re-reading configuration from
    disk while SIGUSR1 reloads just certain parts such as writing out DNS
    configuration anew.
    Now, the Reload command has a flags argument which is more granular
    in selecting parts which are to be reloaded. For example, via
    signals the user can:

      1) send SIGUSR1: this writes out the DNS configuration to
         resolv.conf and possibly reloads other parts without
         re-reading configuration and without restarting the DNS plugin.
      2) send SIGHUP: this reloads configuration from disk,
         writes out resolv.conf and restarts the DNS plugin.

    There is no way, to only restart the DNS plugin without also reloading
    everything else.
2016-06-01 19:06:34 +02:00
Mingye Wang (Arthur2e5) e27b571081 po: update Simplified Chinese (zh_CN) translation (bgo #765787)
https://bugzilla.gnome.org/show_bug.cgi?id=765787
2016-05-10 19:41:43 +02:00
Rafael Fontenelle 2347ec762f po: update Brazilian Portuguese (pt_BR) translation (bgo#765974)
https://bugzilla.gnome.org/show_bug.cgi?id=765974
2016-05-10 19:12:36 +02:00
Piotr Drąg d5c192201a po: update Polish (pl) translation (bgo #765985)
https://bugzilla.gnome.org/show_bug.cgi?id=765985
2016-05-09 18:43:06 +02:00
Thomas Haller bf9a74c69f po: remove file "src/nm-sleep-monitor-systemd.c" from POTFILES.in as it has no translations
Fixes: 753f727af5
2016-04-28 13:00:11 +02:00
Francesco Giudici 3c67a1ec5e cli: remove version check against NM
When performing NM package upgrade the new version of nmcli will be immediately
available while NM daemon will not, as it would not restart in order to avoid
to disrupt connectivity. This could create issues with tools leveraging
on nmcli output (till reboot). As apart from this case it is very unlikely
that a user can have this nmcli / NM daemon version mismatch situation,
the check could cause more harm than benefit in real user case
scenarios.

https://bugzilla.redhat.com/show_bug.cgi?id=1291785
2016-04-28 09:35:20 +02:00
Anders Jonsson be34518dc1 po: update Swedish (sv) translation (bgo #764750)
https://bugzilla.gnome.org/show_bug.cgi?id=764750
2016-04-13 11:13:05 +02:00
Piotr Drąg ed9a25773a po: update Polish (pl) translation (bgo #764955)
https://bugzilla.gnome.org/show_bug.cgi?id=764955
2016-04-13 00:21:40 +02:00
Piotr Drąg 2cec85ed92 po: fix syntax error in Telugu (te) translation 2016-04-12 18:42:07 +02:00
Piotr Drąg 4eedbb067a po: fix syntax error in French (fr) translation 2016-04-12 18:41:39 +02:00
Rafael Fontenelle 2a485060c9 po: update Brazilian Portuguese (pt_BR) translation (bgo#764690)
https://bugzilla.gnome.org/show_bug.cgi?id=764690
2016-04-07 16:27:59 +02:00
Lubomir Rintel 9a68f12737 po: update Slovak translation 2016-04-05 15:29:11 +02:00
Lubomir Rintel b0862e759a po: fix line terminations
Seems like Zanata makes it easy to make this mistake if it's just a
warning.

Turn the string back to fuzzy if unsure.
2016-04-05 14:58:33 +02:00
Lubomir Rintel 23b39eb2da po: pull translations from Red Hat 2016-04-05 14:35:53 +02:00
Lubomir Rintel 89d035d061 po: pull translations from Fedora Zanata 2016-04-05 14:35:52 +02:00
Lubomir Rintel 41de730d23 po: update-po 2016-04-05 14:35:52 +02:00
Lubomir Rintel 6701cb8f23 po: remove bad character from Italian translation 2016-04-05 14:35:51 +02:00
Piotr Drąg 743107e163 po: update Polish (pl) translation (bgo #764317)
https://bugzilla.gnome.org/show_bug.cgi?id=764317
2016-03-29 18:20:30 +02:00
Thomas Haller 88655999df shared: add nm_g_object_set_property() 2016-03-26 12:10:54 +01:00
Christian Kirbach 96f937bb3d po: update German (de) translation (bgo #764175)
https://bugzilla.gnome.org/show_bug.cgi?id=764175
2016-03-25 21:04:09 +01:00
Piotr Drąg 634888aff8 po: update Polish (pl) translation (bgo #763327)
https://bugzilla.gnome.org/show_bug.cgi?id=763327
2016-03-08 16:40:28 +01:00
Jiří Klimeš 0f4ddf7882 po: update translations for "m[monitor]" -> "m[onitor]" change 2016-02-03 10:16:24 +01:00
GunChleoc 4441dbf3f3 po: add Gaelic (gd) translation (bgo #761282)
https://bugzilla.gnome.org/show_bug.cgi?id=761282
2016-01-31 22:14:47 +01:00
Piotr Drąg 9cbf3be779 po: update Polish (pl) translation (bgo #761367)
https://bugzilla.gnome.org/show_bug.cgi?id=761367
2016-01-31 19:19:22 +01:00
Christian Kirbach 9e0ca0058b po: update German (de) translation (bgo #760806)
https://bugzilla.gnome.org/show_bug.cgi?id=760806
2016-01-19 12:04:28 +01:00
Jordi Mas d85b57946a ca: update Catalan (ca) translation (bgo #760147)
https://bugzilla.gnome.org/show_bug.cgi?id=760147
2016-01-08 15:09:43 +01:00
Lubomir Rintel dff1829c99 po: fix some typos in Galician translation 2015-12-23 14:40:47 +01:00
Lubomir Rintel aa10b4233f po: update Brazilian Portuguese translation
https://bugzilla.gnome.org/show_bug.cgi?id=759747
2015-12-23 14:38:54 +01:00
Lubomir Rintel 6e98dab526 po: merge in nm-1-0 translations 2015-12-23 14:38:54 +01:00
Lubomir Rintel 7015932e90 po: update-po 2015-12-23 14:38:53 +01:00
Yuri Chornoivan 37cc168a5b po: update Ukrainian translation
https://bugzilla.gnome.org/show_bug.cgi?id=759659
2015-12-23 14:38:40 +01:00
Thomas Haller 0959109b19 cli: fix spelling in user visible texts
https://bugzilla.gnome.org/show_bug.cgi?id=759555

Reported-by: Anders Jonsson <anders.jonsson@norsjovallen.se>
2015-12-17 12:25:26 +01:00
Piotr Drąg d612cccc4f po: update Polish (pl) translation (bgo #759562)
https://bugzilla.gnome.org/show_bug.cgi?id=759562
2015-12-17 12:17:27 +01:00
Beniamino Galvani d6a0b2c28f libnm: add NMDeviceVxlan 2015-12-09 16:36:46 +01:00
Beniamino Galvani a448854b44 device/vxlan: support device creation 2015-12-09 16:36:46 +01:00
Beniamino Galvani 95dfd99afc libnm-core: add NMSettingVxlan
Add a new NMSettingVxlan which describes properties of VXLAN
connections.
2015-12-09 16:36:46 +01:00
Beniamino Galvani f841f17882 libnm: add NMDeviceMacvlan 2015-12-09 14:30:08 +01:00
Beniamino Galvani 4de8851eca device/macvlan: support device creation 2015-12-09 14:30:08 +01:00
Beniamino Galvani 4d0192e661 libnm-core: add NMSettingMacvlan
The setting contains properties that are specific to macvlans and
macvtaps.
2015-12-09 14:30:08 +01:00
Lubomir Rintel fccd48fce8 clients: add clients/common/nm-vpn-helpers.c to POTFILES.in
Fixes: b8d6bd1a98
2015-12-07 10:18:55 +01:00
Beniamino Galvani e2da055f90 libnm: add NMDeviceIPTunnel 2015-12-01 17:39:41 +01:00
Beniamino Galvani 570fdce93f device: add NMDeviceIPTunnel
The new object type represents tunnels over IPv4 and IPv6.

We have a single setting type (NMSettingIPTunnel) for tunnels and it
can't be shared among different device factories. So we define also a
single device type for all tunnels.

This new object will also represent GRE tunnels, which before were
instantiated as NMDeviceGre and had a ".Device.Gre" D-Bus
interface. This commit introduces a change in behavior.
2015-12-01 17:39:41 +01:00
Beniamino Galvani ae8c7a8967 libnm-core: add NMSettingIPTunnel
Add a generic NMSettingTunnel which describes properties of tunnels
over IPv4 and IPv6 (GRE, SIT, IPIP, IPIP6, IP6GRE, etc.). Since those
tunnel types all have similar properties it makes sense to have a
single setting type for them.
2015-12-01 17:39:40 +01:00
Jiří Klimeš b8d6bd1a98 clients: move clients/tui/vpn-helpers.c to clients/common/nm-vpn-helpers.c
The file has not been used up to now. But it is going to be used by both
nmtui and nmcli later.
2015-11-26 11:08:44 +01:00
Beniamino Galvani 337304f19d libnm: add NMDeviceTun 2015-11-25 11:39:57 +01:00
Beniamino Galvani 9110ad39c5 device/tun: support device creation
Allow the creation of a new TUN/TAP interface when a tun connection is
activated.
2015-11-25 11:39:57 +01:00
Beniamino Galvani 1f30147a7a libnm-core: add NMSettingTun
Add a new NMSettingTun which contains configuration properties for TUN/TAP
interfaces.
2015-11-25 11:39:57 +01:00
Lubomir Rintel c0f59cdb2c po: remove special characters from translations
Makes Zanata unhappy, in the Java way.

  for i in po/*.po; do awk '
    /^"  0 = / { print "\"%s\""; n=1; next; }
    /^"  8 = / { n=0; next }
    { if (!n) print }' $i >x
    mv x $i
  done

Fixes: 3641ddb00a
2015-11-24 15:34:33 +01:00
Jiří Klimeš 2c8c4ce2e4 nm-online: do not put \r to a translatable string (bgo #758102)
msgmerge complains with
"warning: internationalized messages should not contain the '\r' escape sequence"

Found by Anders Jonsson <anders.jonsson@norsjovallen.se>

https://bugzilla.gnome.org/show_bug.cgi?id=758102
2015-11-16 15:19:53 +01:00
Jiří Klimeš b92397f925 all: fix typos in the code and update translations for that (bgo #758102)
Found by Anders Jonsson <anders.jonsson@norsjovallen.se>

https://bugzilla.gnome.org/show_bug.cgi?id=758102
2015-11-16 14:29:14 +01:00
Yuri Chornoivan 32ea25eaf2 pi: update Ukrainian (uk) translation (bgo #758136)
https://bugzilla.gnome.org/show_bug.cgi?id=758136
2015-11-16 13:24:43 +01:00
Piotr Drąg ec46ddf113 po: update Polish (pl) translation (bgo #758067)
https://bugzilla.gnome.org/show_bug.cgi?id=758067
2015-11-16 13:01:12 +01:00
Christian Kirbach 817ce6f72c po: update German (de) translation (bgo #756768)
https://bugzilla.gnome.org/show_bug.cgi?id=756768
2015-10-19 17:00:48 +02:00
Piotr Drąg 12746da039 po: update Polish (pl) translation (bgo #754798)
https://bugzilla.gnome.org/show_bug.cgi?id=754798
2015-09-10 11:25:07 +02:00
Yuri Chornoivan 1bebb91860 po: updated Ukranian translation (bgo #752817)
https://bugzilla.gnome.org/show_bug.cgi?id=752817
2015-08-04 12:58:12 +02:00
Thomas Haller 867227dd4a libnm/vpn: add new NMVpnServicePlugin class
After copying "nm-vpn-plugin-old.*" to "nm-vpn-service-plugin.*",
rename the class and add it to the Makefile.

This will become the new VPN Service API for libnm 1.2. No changes
done yet except renaming of the classes and functions.

Rename the previous classes NMVpnPlugin(Old) to NMVpnServicePlugin
to have a distinct name from NMVpnEditorPlugin. Buth are plugins, but
with a different use.

https://bugzilla.gnome.org/show_bug.cgi?id=749951
2015-07-29 22:34:35 +02:00
Thomas Haller eed0d0c58f libnm: add nm_vpn_editor_plugin_load_from_file() function 2015-07-29 22:34:35 +02:00
Thomas Haller d6226bd987 libnm: add NMVpnPluginInfo class
NMVpnPluginInfo is little more then a wrapper around
the GKeyFile that describes the VPN plugin settings,
i.e. the name files under "/etc/NetworkManager/VPN/".

Add this class to make the VPN API more explicit. Clients
now can use NMVpnPluginInfo instead of concerning themselves
with loading the keyfile and the meaning of its properties.

Also add support for a new VPN plugins directory
"/usr/lib/NetworkManager/VPN", which should replace
"/etc/NetworkManager/VPN" in the future. But we have to
consider both locations for backward compatibility.

The content of the VPN directory is not user configuration,
hence it should not be under "/etc". See related bug 738853.
2015-07-29 22:34:35 +02:00
Josef Andersson ea58caef36 po: update Swedish (sv) translation (bgo #752725)
https://bugzilla.gnome.org/show_bug.cgi?id=752725
2015-07-24 11:44:18 +02:00
Piotr Drąg 66e2c29346 po: update Polish (pl) translation (bgo #751998)
https://bugzilla.gnome.org/show_bug.cgi?id=751998
2015-07-10 12:25:02 +02:00
Cédric Valmary 58ed063c71 po: update Occitan (oc) translation (bgo #749754)
https://bugzilla.gnome.org/show_bug.cgi?id=749754
2015-05-25 11:58:22 +02:00
Muhammet Kara 9a49fa7fb1 po: update Turkish (tr) translation (bgo #749503)
https://bugzilla.gnome.org/show_bug.cgi?id=749503
2015-05-18 11:58:00 +02:00
Piotr Drąg 10d03ed5f5 po: update Polish (pl) translation (bgo #749164)
https://bugzilla.gnome.org/show_bug.cgi?id=749164
2015-05-12 13:05:49 +02:00
Lubomir Rintel 66c3b673e3 build: work around automake-1.15 & intltool complaining about translations in build dir
make distcheck runs a build in dist directory subtirs and then runs intltool -m
which in turn complains about translations in a built file:

  The following files contain translations and are currently not in use. Please
  consider adding these to the POTFILES.in file, located in the po/ directory.

  sub/policy/org.freedesktop.NetworkManager.policy.in

The issue is reported to intltool upstream already:
https://bugs.launchpad.net/intltool/+bug/1117944
2015-05-05 13:34:19 +02:00
Yuri Chornoivan e397553acc po: updated Ukranian translation (bgo #748905)
https://bugzilla.gnome.org/show_bug.cgi?id=748905
2015-05-04 18:44:39 +02:00
Dan Winship 721e917cb6 wimax: drop WiMAX support (bgo #747846)
Even Fedora is no longer shipping the WiMAX SDK, so it's likely we'll
eventually accidentally break some of the code in src/devices/wimax/
(if we haven't already). Discussion on the list showed a consensus for
dropping support for WiMAX.

So, remove the SDK checks from configure.ac, remove the WiMAX device
plugin and associated manager support, and deprecate all the APIs.

For compatibility reasons, it is still possible to create and save
WiMAX connections, to toggle the software WiMAX rfkill state, and to
change the "WIMAX" log level, although none of these have any effect,
since no NMDeviceWimax will ever be created.

nmcli was only compiling in support for most WiMAX operations when NM
as a whole was built with WiMAX support, so that code has been removed
now as well. (It is still possible to use nmcli to create and edit
WiMAX connections, but those connections will never be activatable.)
2015-04-17 12:42:23 -04:00
Thomas Haller b5b568a49a libnm-core: add libnm-core/nm-dbus-utils.c to POTFILES.in
Fixes: 9668bfd682
2015-04-05 11:17:09 +02:00
Christian Kirbach 1d0a50778c po: update German (de) translation (bgo #746855)
https://bugzilla.gnome.org/show_bug.cgi?id=746855
2015-03-30 10:39:20 +02:00
Thomas Haller 04df4edf48 libnm: add keyfile support to libnm-core
https://bugzilla.gnome.org/show_bug.cgi?id=744699
2015-03-12 18:12:26 +01:00
Stas Solovey f610ae7265 po: updated Russian (ru) translation (bgo #745262)
https://bugzilla.gnome.org/show_bug.cgi?id=745262
2015-02-27 22:48:36 +01:00
Josef Andersson 0994949ae1 po: update Swedish (sv) translation (bgo #744937)
https://bugzilla.gnome.org/show_bug.cgi?id=744937
2015-02-22 18:48:31 +01:00
Yuri Chornoivan 5803854761 po: updated Ukranian translation (bgo #743852)
https://bugzilla.gnome.org/show_bug.cgi?id=743852
2015-02-03 12:44:58 +01:00
Ankit Patel 7274ffedcd po: update Gujarati translation 2015-02-03 12:31:07 +01:00
Hedda Peters c7e89c6e65 po: update German (de) translation 2015-02-03 12:30:42 +01:00
Dan Williams aba9dbc52e po: fix small error in Telugu translation
The fuzzy tag is wrong.
2015-01-29 18:21:06 -06:00
Dan Williams a35c7cfee6 po: fix small issues in German translation
Remove one unused string, fix up another, and remove the fuzzy
tag on one that is OK.
2015-01-29 18:19:34 -06:00
Piotr Drąg 2d08e701a0 po: update Polish (pl) translation (bgo #743500)
https://bugzilla.gnome.org/show_bug.cgi?id=743500
2015-01-26 12:13:51 +01:00
Piotr Drąg 17017f0831 po: update Polish (pl) translation (bgo #741839)
https://bugzilla.gnome.org/show_bug.cgi?id=741839
2014-12-21 20:17:05 +01:00
Piotr Drąg ab9c57fd9a po: fix broken Telugu (te) and Turkish (tr) translations
https://bugzilla.gnome.org/show_bug.cgi?id=741838
2014-12-21 19:54:28 +01:00
Shantha kumar 58836a9fee po: update Tamil (ta) translation (bgo #741752)
https://bugzilla.gnome.org/show_bug.cgi?id=741752
2014-12-19 11:47:16 +01:00
Necdet Yücel 2420f62296 po: update Turkish (tr) translation (bgo #741737)
https://bugzilla.gnome.org/show_bug.cgi?id=741737
2014-12-19 11:36:53 +01:00
Thomas Haller 6399170ff3 libnm: add function nm_utils_file_search_in_paths()
We now also use a similar function in VPN plugins. It makes
sense to provide a generic implementation in libnm.

Signed-off-by: Thomas Haller <thaller@redhat.com>

https://bugzilla.gnome.org/show_bug.cgi?id=740783
2014-12-05 11:07:42 +01:00
Yuri Chornoivan 5b75e00d43 po: updated Ukranian translation (bgo #740533)
https://bugzilla.gnome.org/show_bug.cgi?id=740533
2014-11-23 13:55:23 +01:00
Dan Winship 2afb1acb2d tui: rework how editor pages work
Instead of having NmtEditorPage be a widget itself, have it just be an
object that returns a list of NmtEditorSections, where
NmtEditorSection is a subclass of NmtNewtSection.

(This will be important when adding VPN pages, which will be split up
into multiple sections, but with the different sections needing to
cooperate on updating the NMSettingVpn. This reorganization lets us
have an NMPageVpn containing multiple sections, with the NMPageVpn
object handling the coordination between the sections.)
2014-11-21 09:01:01 -05:00
Dan Winship 84d875546b tui: merge NmtPageMain into NmtEditor
All page types except NmtPageMain are displayed as collapsible
sections. NmtPageMain behaved quite differently from everything else.
So merge it into its container, NmtEditor.
2014-11-21 09:00:16 -05:00
Thomas Haller 1f61cb82de po/test: add contrib/rpm directory to POTFILES.skip
Add contrib/fedora/rpm/ directory to POTFILES.skip.
Otherwise, after building an RPM, make check would fail
due to the source files from the rpmbuild.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-11-07 21:50:43 +01:00
Dan Williams 5149fd120d iface-helper: add nm-iface-helper for dynamic configure-then-quit support
When quitting, the Manager asks each device to spawn the interface helper,
which persists and manages dynamic address on the interface after NetworkManager
is gone.  If the dynamic address cannot be maintaned, the helper quits and
the interface's address may be removed when their lifetime runs out.

To keep the helper as simple as possible, NetworkManager passes most of the
configuration on the command-line, including some properties of the device's
current state, which are necessary for the helper to maintain DHCP leases
or IPv6 SLAAC addresses.
2014-11-07 12:18:33 -06:00
Dan Williams ee25503636 core: split signal/pidfile/option handling into separate source file
We'll use this from more than one spot.
2014-11-07 12:18:32 -06:00
Dan Winship 3f30c6f1c2 libnm-core: extract NMSettingIPConfig superclass out of IP4, IP6 classes
Split a base NMSettingIPConfig class out of NMSettingIP4Config and
NMSettingIP6Config, and update things accordingly.

Further simplifications of now-redundant IPv4-vs-IPv6 code are
possible, and should happen in the future.
2014-11-07 07:49:40 -05:00
Jiří Klimeš 3a551664df cli: add 'nmcli agent' command (bgo #739568)
Synopsis:
nmcli agent { secret | polkit | all }

The command runs separate NetworkManager secret agent or session polkit agent, or both.
It is useful when
- no other secret agent is available (such as GUI nm-applet, gnome-shell, KDE applet)
- no other polkit agent is available (such as polkit-gnome-authentication-agent-1,
  polkit-kde-authentication-agent-1 or lxpolkit)

https://bugzilla.gnome.org/show_bug.cgi?id=739568
2014-11-07 11:58:25 +01:00
Jiří Klimeš e517061203 cli: add a polkit agent support for nmcli
Example: nmcli --ask general hostname computer007
2014-11-07 11:37:42 +01:00
Jiří Klimeš ca5d6be99c clients: add common code for polkit agent listener
that can be used by nmcli and nmtui
2014-11-07 11:37:42 +01:00
Jiří Klimeš 801fc34d6f clients: move secret agent to common directory
The agent code will be shared by both nmtui and nmcli.
2014-11-07 09:32:24 +01:00
Josef Andersson bd2829f355 po: update Swedish (sv) translation (bgo #739304)
https://bugzilla.gnome.org/show_bug.cgi?id=739304

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-29 09:36:27 +01:00
Dan Winship af3d604e4f po: fix up for NMVpnPlugin rename 2014-10-28 17:07:42 -04:00
Dan Winship 388a0c5e78 libnm: consolidate NMClientError and NMObjectError
Consolidate NMClientError and NMObjectError (such that there is now
only one libnm-API-specific error domain). In particular, merge
NM_CONNECTION_ERROR_CONNECTION_REMOVED with
NM_OBJECT_ERROR_OBJECT_CREATION_FAILURE as the new
NM_CONNECTION_ERROR_OBJECT_CREATION_FAILED.

Also make object_creation_failed() be a plain method rather than a
signal, since there's no reason for anyone to be connecting to it on
another object. And remove its GError argument because the subclass
can just create its own more-specific error.
2014-10-22 08:29:10 -04:00
Dan Winship 69099f3e80 libnm: merge device-type-specific errors into NMDeviceError
As with the settings, each device type was defining its own error
type, containing either redundant or non-useful error codes. Drop all
of the subtype-specific errors, and reduce things to just
NM_DEVICE_ERROR_FAILED, NM_DEVICE_ERROR_INCOMPATIBLE_CONNECTION, and
NM_DEVICE_ERROR_INVALID_CONNECTION.

The device-type-specific errors were only returned from their
nm_device_connection_compatible() implementations, so this is also a
good opportunity to simplify those, by moving duplicated functionality
into the base NMDevice implementation, and then allowing the
subclasses to assume that the connection has already been validated in
their own code. Most of the implementations now just check that the
connection has the correct type for the device (which can't be done at
the NMDevice level since some device types (eg, Ethernet) support
multiple connection types.)

Also, make sure that all of the error messages are localized.
2014-10-22 08:29:08 -04:00
Dan Winship 2d8e7bd247 libnm-core: merge NMSetting*Error into NMConnectionError
Each setting type was defining its own error type, but most of them
had exactly the same three errors ("unknown", "missing property", and
"invalid property"), and none of the other values was of much use
programmatically anyway.

So, this commit merges NMSettingError, NMSettingAdslError, etc, all
into NMConnectionError. (The reason for merging into NMConnectionError
rather than NMSettingError is that we also already have
"NMSettingsError", for errors related to the settings service, so
"NMConnectionError" is a less-confusable name for settings/connection
errors than "NMSettingError".)

Also, make sure that all of the affected error messages are localized,
and (where appropriate) prefix them with the relevant property name.

Renamed error codes:

NM_SETTING_ERROR_PROPERTY_NOT_FOUND -> NM_CONNECTION_ERROR_PROPERTY_NOT_FOUND
NM_SETTING_ERROR_PROPERTY_NOT_SECRET -> NM_CONNECTION_ERROR_PROPERTY_NOT_SECRET

Remapped error codes:

NM_SETTING_*_ERROR_MISSING_PROPERTY -> NM_CONNECTION_ERROR_MISSING_PROPERTY
NM_SETTING_*_ERROR_INVALID_PROPERTY -> NM_CONNECTION_ERROR_INVALID_PROPERTY
NM_SETTING_ERROR_PROPERTY_TYPE_MISMATCH -> NM_CONNECTION_ERROR_INVALID_PROPERTY
NM_SETTING_BLUETOOTH_ERROR_TYPE_SETTING_NOT_FOUND -> NM_CONNECTION_ERROR_INVALID_SETTING
NM_SETTING_BOND_ERROR_INVALID_OPTION -> NM_CONNECTION_ERROR_INVALID_PROPERTY
NM_SETTING_BOND_ERROR_MISSING_OPTION -> NM_CONNECTION_ERROR_MISSING_PROPERTY
NM_SETTING_CONNECTION_ERROR_TYPE_SETTING_NOT_FOUND -> NM_CONNECTION_ERROR_MISSING_SETTING
NM_SETTING_CONNECTION_ERROR_SLAVE_SETTING_NOT_FOUND -> NM_CONNECTION_ERROR_MISSING_SETTING
NM_SETTING_IP4_CONFIG_ERROR_NOT_ALLOWED_FOR_METHOD -> NM_CONNECTION_ERROR_INVALID_PROPERTY
NM_SETTING_IP6_CONFIG_ERROR_NOT_ALLOWED_FOR_METHOD -> NM_CONNECTION_ERROR_INVALID_PROPERTY
NM_SETTING_VLAN_ERROR_INVALID_PARENT -> NM_CONNECTION_ERROR_INVALID_PROPERTY
NM_SETTING_WIRELESS_SECURITY_ERROR_MISSING_802_1X_SETTING -> NM_CONNECTION_ERROR_MISSING_SETTING
NM_SETTING_WIRELESS_SECURITY_ERROR_LEAP_REQUIRES_802_1X -> NM_CONNECTION_ERROR_INVALID_PROPERTY
NM_SETTING_WIRELESS_SECURITY_ERROR_LEAP_REQUIRES_USERNAME -> NM_CONNECTION_ERROR_MISSING_PROPERTY
NM_SETTING_WIRELESS_SECURITY_ERROR_SHARED_KEY_REQUIRES_WEP -> NM_CONNECTION_ERROR_INVALID_PROPERTY
NM_SETTING_WIRELESS_ERROR_CHANNEL_REQUIRES_BAND -> NM_CONNECTION_ERROR_MISSING_PROPERTY

Dropped error codes (were previously defined but unused):

NM_SETTING_CDMA_ERROR_MISSING_SERIAL_SETTING
NM_SETTING_CONNECTION_ERROR_IP_CONFIG_NOT_ALLOWED
NM_SETTING_GSM_ERROR_MISSING_SERIAL_SETTING
NM_SETTING_PPP_ERROR_REQUIRE_MPPE_NOT_ALLOWED
NM_SETTING_PPPOE_ERROR_MISSING_PPP_SETTING
NM_SETTING_SERIAL_ERROR_MISSING_PPP_SETTING
NM_SETTING_WIRELESS_ERROR_MISSING_SECURITY_SETTING
2014-10-22 08:29:07 -04:00
Nilamdyuti Goswami b6cf21543e po: update Assamese (as) translation (bgo #738105)
https://bugzilla.gnome.org/show_bug.cgi?id=738105

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-08 22:41:57 +02:00
sray 9c02e1c742 po: update Bengali bn_IN translation (rh #738055)
https://bugzilla.gnome.org/show_bug.cgi?id=738055

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-07 12:31:28 +02:00
Dimitris Spingos c2cd6c8315 po: update Greek (el) translation (bgo #737972)
https://bugzilla.gnome.org/show_bug.cgi?id=737972

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-07 11:39:17 +02:00
Thomas Haller bdea7d61d0 logging: add new logging level "TRACE"
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-05 18:24:36 +02:00
Thomas Haller aadae3256e cli: fix NetworkManager.pot after renmaing network-manager.[ch] to general.[ch]
Fixes: f585085907
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-01 14:34:56 +02:00
Josef Andersson dfe63f8b0e po: update Swedish (sv) translation (bgo #737086)
https://bugzilla.gnome.org/show_bug.cgi?id=737086
2014-09-29 09:49:38 +02:00
Nilamdyuti Goswami 78b089210b po: update Assamese (as) translation (bgo #736849)
https://bugzilla.gnome.org/show_bug.cgi?id=736849
2014-09-29 09:42:00 +02:00
Sandeep Shedmake d5a9765ed1 po: update Marathi (mr) translation (bgo #737057)
https://bugzilla.gnome.org/show_bug.cgi?id=737057
2014-09-29 09:38:21 +02:00
Rajesh Ranjan 974b12950c po: update Hindi (hi) translation (bgo #737097)
https://bugzilla.gnome.org/show_bug.cgi?id=737097
2014-09-29 09:34:11 +02:00
Krishna Babu K 0ae263d017 po: update Telugu (te) translation (bgo #737204)
https://bugzilla.gnome.org/show_bug.cgi?id=737204
2014-09-29 09:30:32 +02:00
Shankar Prasad d483a87746 po: update Kannada (kn) translation (bgo #737131)
https://bugzilla.gnome.org/show_bug.cgi?id=737131
2014-09-29 09:25:48 +02:00
Shantha kumar b6e7fb9101 po: update Tamil (ta) translation (bgo #737419)
https://bugzilla.gnome.org/show_bug.cgi?id=737419
2014-09-29 09:18:21 +02:00
Shantha kumar 53f3967026 po: update Tamil (ta) translation (bgo #736652)
https://bugzilla.gnome.org/show_bug.cgi?id=736652
2014-09-26 11:02:46 +02:00
Nilamdyuti Goswami 579ceea931 po: update Assamese (as) translation (bgo #736753)
https://bugzilla.gnome.org/show_bug.cgi?id=736753
2014-09-16 18:26:17 +02:00
Dan Winship c1cf2b06e5 po: update POTFILES.in for nmtui PPPoE files 2014-09-16 08:38:47 -04:00
Dan Williams beb18050b5 settings: create default wired connection from NMDeviceEthernet
Instead of creating it in NMSettings, where we must use
NM_IS_DEVICE_ETHERNET() (not NM_DEVICE_TYPE_ETHERNET because various generic
devices masquerade as NM_DEVICE_TYPE_ETHERNET too), push knowledge
of which device types create default wired connections into the device
types themselves.  This solves a problem with testcases where
libNetworkManager.a (which testcases link to) requires the symbol
nm_type_device_ethernet().
2014-09-11 12:47:07 -05:00
Nilamdyuti Goswami 1e1bde7d83 po: update Assamese (as) translation (bgo #736024)
https://bugzilla.gnome.org/show_bug.cgi?id=736024
2014-09-04 14:36:21 +02:00
Dan Williams 448254f761 ibft: add settings plugin for reading iBFT configuration (bgo #734009)
Instead of handling iBFT (iSCSI Boot Firmware Table) in the ifcfg-rh plugin,
create a new plugin for it.  This allows all distributions to use iBFT
configuration, and makes both iBFT handling and ifcfg-rh less complicated.

The plugin (like the old ifcfg-rh code) creates read-only connections backed
by the data exported by iscsiadm.  The plugin does not support adding new
connections or modifying existing connections (since the iBFT data is
read-only anyway).  Instead, users should change their iBFT data through
the normal firmware interfaces.

Unmanaged devices can be configured through NetworkManager.conf and the
normal 'keyfile' mechanisms.

(In the future, we'll read this data directly from the kernel's
/sys/firmware/ibft/ethernetX directory instead of iscsiadm, since the
kernel has all the information we need and that's where iscsiadm gets
it from anyway.)

https://bugzilla.gnome.org/show_bug.cgi?id=734009
2014-08-29 18:46:11 -05:00
Piotr Drąg 509ac4cae7 po: update Polish (pl) translation (bgo #735470)
https://bugzilla.gnome.org/show_bug.cgi?id=735470

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-08-27 08:46:00 +02:00
Thomas Haller ed20177d27 core: refactor nm_utils_complete_generic() not to use a dynamic format string
For NMDeviceWifi and NMDeviceWimax, the printf format string for
nm_utils_complete_generic() was created based on ssid/nsp. Since
these input strings are untrusted, this is a serious bug.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-08-25 16:46:14 +02:00
Jiří Klimeš 6de4a548df po: fix an error in a plural form of a Russian translation (bgo #735186)
The error was produced by:
msgfmt -vc ru.po

https://bugzilla.gnome.org/show_bug.cgi?id=735186
2014-08-25 09:47:54 +02:00
Thomas Haller 7279e7e150 libnm-core: normalize slave-type and slave-settings of connections
Some NMSettingConnection:slave-type types require a matching slave #NMSetting.
Add normalization of either the 'slave-type' property or the slave-setting.

Also be more strict in NMSettingConnection:verify() to enforce an
existing slave-setting depending on the slave-type.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-08-22 15:24:31 +02:00
Sandeep Shedmake 1a9f6bcbd3 po: updated Marathi (mr) translation (bgo #735212)
https://bugzilla.gnome.org/show_bug.cgi?id=735212

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-08-22 11:10:53 +02:00
Christian Kirbach 7eb6f5128a po: update German (de) translation (bgo #734150)
https://bugzilla.gnome.org/show_bug.cgi?id=734150

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-08-02 00:53:33 +02:00
Dan Winship eedcf185a7 libnm: add libnm/libnm-core (part 2)
This fixes up the code from the previous "clean" import, and adds
build infrastructure.

[There are two slightly orthogonal sets of changes in this patch.
First, the files added in the previous commit were modified as followed:

  # Replace internal references to "libnm-util" and "libnm-glib" with "libnm"
  perl -pi -e 's/libnm-(util|glib)/libnm/;' libnm-core/*.[ch] libnm-core/tests/*.[ch] libnm/*.[ch] libnm/tests/*.[ch]

  # Fix includes of the enum-types files
  perl -pi -e 's/nm-utils-enum-types/nm-core-enum-types/;' libnm-core/*.[ch] libnm-core/tests/*.[ch] libnm/*.[ch] libnm/tests/*.[ch]
  perl -pi -e 's/nm-glib-enum-types/nm-enum-types/;' libnm/*.[ch] libnm/tests/*.[ch]

  # Fix some python example code
  perl -pi -e 's/import NMClient/import NM/;' -e 's/NMClient.Client\(\)/NM.Client()/;' libnm/nm-client.c

Then, the build infrastructure was added (without further modifying
any existing files in libnm-core or libnm.)

Note: to regenerate libnm.ver after rebase:
  (head -2 libnm-util/libnm-util.ver; (grep -h '\s'nm_ libnm-util/libnm-util.ver libnm-glib/libnm-glib.ver | env LANG=C sort); tail -3 libnm-util/libnm-util.ver) > libnm/libnm.ver
]
2014-08-01 14:34:04 -04:00
Dan Winship 8aa3b9859b core: merge src/config, src/logging, src/posix-signals into src/
Some subdirectories of src/ encapsulate large chunks of functionality,
but src/config/, src/logging/, and src/posix-signals/ are really only
separated out because they used to be built into separate
sub-libraries that were needed either for test programs, or to prevent
circular dependencies. Since this is no longer relevant, simplify
things by moving their files back into the main source directory.
2014-07-30 15:56:29 -04:00
Dan Winship 3d25d70461 clients: reorganize source tree, put all the installed clients together
Create a new clients/ subdirectory at the top level, and move cli/ and
tui/ into it, as well as nm-online.c (which was previously in test/,
which made no sense).

cli/ was split into two subdirectories, src/ and completion/. While
this does simplify things (given that the completion file and the
binary both need to be named "nmcli"), it bloats the source tree, and
we can work around it by just renaming the completion file at install
time. Then we can combine the two directories into one and just have
it all under clients/cli/.
2014-07-30 15:56:19 -04:00
Terry Chuang 49463a9e7b po: update Traditional Chinese translation (rh #1046891) 2014-07-15 12:18:12 -05:00
Leah Liu d9713d30b5 po: update Simplified Chinese translation (rh #1046891) 2014-07-15 12:18:12 -05:00
ypoyarko e6e1a6a4b9 po: update Russian translation (rh #1046891) 2014-07-15 12:18:12 -05:00
asaini ff9a4d2800 po: update Punjabi translation (rh #1046891) 2014-07-15 12:18:12 -05:00
Ani Peter 3bcacec009 po: update Malayalam translation (rh #1046891) 2014-07-15 12:18:12 -05:00