Commit graph

14670 commits

Author SHA1 Message Date
Beniamino Galvani
ae879bdeba ppp-manager: don't modify the applied connection
The applied connection must not be modified during the activation. If
the PPP setting needs to be changed when activating a PPPoE
connection, make a copy to prevent the following error:

 could not get secrets:
 GDBus.Error:org.freedesktop.NetworkManager.Settings.Failed:
 The connection was modified since activation

https://bugzilla.redhat.com/show_bug.cgi?id=1324895
(cherry picked from commit 76309ebe79)
2016-04-08 15:15:15 +02:00
Rafael Fontenelle
d9e9a89170 po: update Brazilian Portuguese (pt_BR) translation (bgo#764690)
https://bugzilla.gnome.org/show_bug.cgi?id=764690
(cherry picked from commit 2a485060c9)
2016-04-07 16:29:26 +02:00
Lubomir Rintel
aab24b4e10 release: bump version to 1.1.93 (1.2-rc1) 2016-04-05 22:31:33 +02:00
Lubomir Rintel
f4b4e35c79 release: add version 1.4 macros 2016-04-05 22:22:58 +02:00
Thomas Haller
9152dec99f build: disable deprecation checks for internal compilation
For internal compilation we want to be able to use deprecated
API without warnings.

Define the version min/max macros to effectively disable deprecation
warnings.

However, don't do it via CFLAGS option in the makefiles, instead hack it
to "nm-default.h". After all, *every* source file that is for internal
compilation needs to include this header as first.
2016-04-05 22:22:58 +02:00
Lubomir Rintel
29cfb144a8 man: gitignore man7 2016-04-05 20:30:43 +02:00
Colin Walters
c976f983eb build: make man page hardlinks conditional on having man pages
Otherwise we fail since they don't exist.  We have to carefully
implement an "or" condition for the cases of having prebuilt manpages
in a tarball, vs actually building them from source.
2016-04-05 18:15:38 +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
cc8016073b merge: branch 'lr/docbook'
Various documentation improvements.
2016-04-05 14:38:11 +02:00
Lubomir Rintel
a8e8e76641 dbus: fix up the XML formatting
The conversion script didn't do a very good job. It got fired.
2016-04-05 14:37:51 +02:00
Lubomir Rintel
015c061a16 dbus: correct the NMDevice::StateReason type 2016-04-05 14:37:51 +02:00
Lubomir Rintel
2ae34aef9f dbus: correct the links to types
gdbus-codegen is not smart enough to understand #Type, include raw
docbook directly.
2016-04-05 14:37:51 +02:00
Lubomir Rintel
4e8fdb20d1 Revert "dbus: tool to convert documentation annotations"
Not needed anymore.
2016-04-05 14:37:51 +02:00
Lubomir Rintel
6e2b188361 dbus: convert the annotations to gtk-doc blocks 2016-04-05 14:37:51 +02:00
Lubomir Rintel
5c5fd96d2b dbus: tool to convert documentation annotations 2016-04-05 14:37:51 +02:00
Lubomir Rintel
2c3c83370b dbus: move NMWimaxNspNetworkType to nm-dbus-interface.h
It's an enum used on D-Bus.
2016-04-05 14:37:51 +02:00
Lubomir Rintel
ccf1d5bd94 dbus: remove the telepathy annotations
We now generate documentation with gdbus-codegen and these are now
useless.
2016-04-05 14:37:51 +02:00
Lubomir Rintel
0fc0cc68fc man: move nmcli-examples to section 7
It really is not a configuration file and doesn't belong to section 5.
2016-04-05 14:37:51 +02:00
Lubomir Rintel
20300fd7db man: make the templated manuals a bit more consistent with the rest
Use the docbook tags wherever appropriate.
2016-04-05 14:37:51 +02:00
Lubomir Rintel
60582bf443 man: include version from a XML entity
This way it's consistently used across all manual page without a need
for XSL templating.

Also, the entities file could in future possibly be used to template the
build-time configurables such as filesystem paths or bug tracker URL.
2016-04-05 14:37:51 +02:00
Lubomir Rintel
8035b5b03b man: drop dates
It's injected from the makefile, but not even used consistently or included in
the resulting render of manual page. Which is good, otherwise we'd have a
non-reproducible build with possible multilib conflicts if rendered around
midnight.
2016-04-05 14:37:50 +02:00
Lubomir Rintel
5a4c54c793 man: rename some variables
No functional change, just a readability improvement. No need to prefix
the variables with docbook_ and docbook_generated -- all manual pages
are generated from docbook.
2016-04-05 14:37:50 +02:00
Lubomir Rintel
f457f4ef83 man: drop nm-system-settings.conf.5
It's long deprecated and the last roff manual page.

Instead, NetworkManager.conf(5) documents the file. Let's just link that
one.
2016-04-05 14:37:50 +02:00
Lubomir Rintel
8a9350f3b0 man: convert nm-online(1) manual to docbook refentry 2016-04-05 14:37:50 +02:00
Lubomir Rintel
5216307b5a man: convert nmtui(1) manual to docbook refentry 2016-04-05 14:37:50 +02:00
Lubomir Rintel
b19e4d37b6 man: convert nmcli(1) manual to docbook refentry 2016-04-05 14:37:50 +02:00
Lubomir Rintel
05e467ad53 docs: load the dbus documentation and manuals from original location
There's nothing to expand there.
2016-04-05 14:37:50 +02:00
Lubomir Rintel
322b6e8a32 merge: branch 'lr/translations'
Translation updates & Zanata configuration.
2016-04-05 14:37:00 +02:00
Lubomir Rintel
c5f40c701e po: add Zanata configuration 2016-04-05 14:35:53 +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
Beniamino Galvani
5e78322088 core: fix message format for failed creation of secret key 2016-04-05 14:32:00 +02:00
Thomas Haller
e4c1699a83 build: reorder files for building platform
Build the sources in order so that files that depend on other
files are build after the files they depend on.
2016-04-05 13:38:32 +02:00
Thomas Haller
30302d7157 auth: downgrade g_assert() to nm_assert()
We know that this isn't going to fail. No need to check every time.
2016-04-05 10:39:20 +02:00
Lubomir Rintel
9498ea507e manager: ensure IP config of device is cleared before removal
If the manager removes the device, the IP config objects must
be cleared. The reason is that NMPolicy registers to the IP config
changed signal and passes these object on to NMDnsManager.

If the INTERNAL_DEVICE_REMOVED signal is emited with IP configuration
object pending, those objects will be leaked.

This partly redoes commit f72816bf10,
which was reverted.

Co-Authored-By: Thomas Haller <thaller@redhat.com>

https://bugzilla.gnome.org/show_bug.cgi?id=764483
2016-04-04 23:10:20 +02:00
Thomas Haller
c5d827057e device: ensure @error always set by nm_device_factory_create_device()
https://bugzilla.gnome.org/show_bug.cgi?id=764606
2016-04-04 21:27:05 +02:00
Thomas Haller
fe6940b692 manager: refactor error variable in platform_link_added()
Free the error via gs_free_error and create separate instances.
2016-04-04 21:26:51 +02:00
Thomas Haller
1078935ccb policy: merge branch 'th/policy-cleanup-v2' 2016-04-04 16:48:40 +02:00
Thomas Haller
f7729751da core: use defines for signal names in NMDnsManager and NMFirewallManager 2016-04-04 16:48:10 +02:00
Thomas Haller
1ddc2c59b8 policy: pass private pointer as signal user-data for settings handlers 2016-04-04 16:48:10 +02:00
Thomas Haller
9e886147c9 policy: pass private pointer as signal user-data for manager handlers 2016-04-04 16:48:10 +02:00
Thomas Haller
9a9250e53a policy: pass private pointer as signal user-data for device handlers
We want to unregister the signals at cleanup time via
g_signal_handlers_disconnect_by_data(). This saves us from
storing the signal handler id or by naming the function
explicitly via g_signal_handlers_disconnect_by_func().

However, the registered user-data @self is a public pointer. That
is ugly, because potentially another component could register a
signal with passing the public @self pointer as user-data.
Although that doesn't currently happen, it is more correct to register
with a private pointer to avoid this case altogether.
2016-04-04 16:46:48 +02:00
Thomas Haller
b298d3e279 policy: removed unused signal subscription to "NMManager::state-changed" 2016-04-04 16:45:48 +02:00
Thomas Haller
1dd0693055 policy: refactor tracking registered signals to NMManager's instance 2016-04-04 16:45:48 +02:00
Thomas Haller
ccda474a02 manager: remove unused signal "user-permissions-changed" 2016-04-04 16:45:48 +02:00
Thomas Haller
9cc00d9e26 manager: use defines for signal names 2016-04-04 16:45:48 +02:00
Thomas Haller
aabb63e8b7 policy: refactor tracking registered signals to NMSettings's instance 2016-04-04 15:47:22 +02:00