Commit graph

967 commits

Author SHA1 Message Date
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
eukim a6caffd60a po: update Korean translation (rh #1046891) 2014-07-15 12:18:12 -05:00
Noriko Mizumoto 5dd8465225 po: update Japanese translation (rh #1046891) 2014-07-15 12:18:12 -05:00
Sam Friedmann 90ce0a5ff1 po: update French translation (rh #1046891) 2014-07-15 12:18:11 -05:00
gguerrer 93192f3926 po: update Spanish translation (rh #1046891) 2014-07-15 12:18:11 -05:00
sray a391e4f61a po: update Bengali bn_IN translation (rh #1046891) 2014-07-15 12:18:11 -05:00
Thomas Haller 2deaa5397a libnm-util: normalize virtual_iface_name in NMSettings
Some type-specific NMSetting implementations (bond, bridge, team, vlan)
have their own 'interface-name' property. This property will be
deprecated in favour of 'interface-name' in NMSettingConnection.

Change verify() and normalize() to check that the redundant
values match and repair/normalize the properties.

Force the virtual interface name of the type-specific setting to be
equal to NMSettingConnection:interface_name. This way, the depreacted
field stays valid and backward compatible.

NMSettingInfiniband is special, because it does not have a backing
property for the interface name, although it implements
get_virtual_iface_name(). To account for this, some special handling
is needed in order not to change the behaviour of get_virtual_iface_name().

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-06-30 18:35:46 +02:00
Thomas Haller 3e9b6666de po: remove obsolete reference to nm-modem-old.c file
This breaks `make check`.

Regression introduced by commit 1a3a5c4526.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-06-27 20:13:25 +02:00
Thomas Haller 38a83e15a2 team: make team support a plugin
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-06-27 13:27:01 +02:00
Yuri Chornoivan 65068af303 po: updated Ukranian translation (bgo #732172)
https://bugzilla.gnome.org/show_bug.cgi?id=732172

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-06-25 18:51:03 +02:00
Jiří Klimeš 4b1dd4647e Revert "po: updated Ukranian translation (bgo #732172)"
This reverts commit 586851b86c.

The translation file was for PulseAudio, not NetworkMananger.
2014-06-25 15:29:31 +02:00
Yuri Chornoivan 586851b86c po: updated Ukranian translation (bgo #732172)
https://bugzilla.gnome.org/show_bug.cgi?id=732172

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-06-25 12:10:12 +02:00
Piotr Drąg f5681d15ba po: update Polish (pl) translation (bgo #732013)
https://bugzilla.gnome.org/show_bug.cgi?id=732013

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-06-23 12:13:01 +02:00
Christian Kirbach 258e3cfdf4 po: update German (de) translation (bgo #730330)
https://bugzilla.gnome.org/show_bug.cgi?id=730330

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-05-23 11:19:10 +02:00
Dan Williams 06e3c6d02f wifi: make Wi-Fi support a plugin
Make Wi-Fi support a plugin using the new device factory interface.
Provides a 7% size reduction in the core NM binary.

        Before    After
NM:    1154104  1071992  (-7%)
Wi-Fi:       0   110464

(all results from stripped files)
2014-05-13 12:38:43 -05:00
Matt Soucy 3c211760c5 po: fix spelling of "successfully" in msgid strings
Typo in messages was already fixed in commit
61de24ba35.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-04-08 11:26:40 +02:00
Jiří Klimeš cb80daa942 po: fix "MB/s" -> "Mbit/s" 2014-04-01 15:15:18 +02:00
Yuri Chornoivan 254d9a4850 po: updated Ukranian translation (bgo #727033) 2014-03-28 17:15:32 -05:00
Dan Winship a18248dd1b devices: rename "atm" plugin to "adsl", and "bt" to "bluetooth"
The atm/adsl plugin really is a generic ATM plugin but (a) it needs a
bit of work to do IPoATM rather than just PPPoATM and PPPoEoATM, and
(b) most people currently using NM's ATM support are using DSL devices
not actual ATM cards anyway, and have no idea what "ATM" even means.
If we add the necessary IPoATM support later we can rename the plugin
back to -atm
2014-03-19 14:56:47 -04:00
Piotr Drąg efeca14293 po: fix syntax errors in Hindi (hi) and Tamil (ta) translations (bgo #726554)
https://bugzilla.gnome.org/show_bug.cgi?id=726554

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-03-17 21:28:41 +01:00
Milo Casagrande 350b6d612c po: updated Italian (it) translation (bgo #725988)
https://bugzilla.gnome.org/show_bug.cgi?id=725988

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-03-10 09:58:36 +01:00
Dan Williams aeb1e103d8 mobile: make WWAN support a plugin
Make WWAN support a plugin using the new device factory interface.
Provides a 5% size reduction in the core NM binary.

     Before    After
NM: 1187224  1125208  (-5%)
MM:       0   100576

(all results from stripped files)
2014-03-03 09:32:41 -06:00
Dan Williams a9591aecaf bluez: make Bluetooth support a plugin
Make Bluetooth support a plugin using the new device factory interface.
Provides a 5% size reduction in the core NM binary.

     Before   After
NM: 1253016 1187224 (-5%)
BT:       0   85752

(all results from stripped files)
2014-03-03 09:32:41 -06:00