- 01 Aug, 2014 5 commits
-
-
Dan Winship authored
Add NetworkManager.h, which includes all of the other NM header, and require all external users of libnm to use that rather than the individual headers. (An exception is made for nm-dbus-interface.h, nm-vpn-dbus-interface.h, and nm-version.h, which can be included separately.)
-
Dan Winship authored
"NetworkManager.h"'s name (and non-standard capitalization) suggest that it's some sort of high-level super-important header, but it's really just low-level D-Bus stuff. Rename it to "nm-dbus-interface.h" and likewise "NetworkManagerVPN.h" to "nm-vpn-dbus-interface.h"
-
Dan Winship authored
Remove _nm_object_ensure_inited(), etc; objects that implement GInitable are now mandatory-to-init(). Remove constructor() implementations that sometimes return NULL; do all the relevant checking in init() instead. Make nm_client_new() and nm_remote_settings_new() take a GCancellable and a GError**.
-
Dan Winship authored
Most D-Bus interface name macros used "INTERFACE" in their name (eg, NM_DBUS_INTERFACE), but a few used "IFACE" instead (eg, NM_DBUS_IFACE_SETTINGS). Make them consistent.
-
Dan Winship authored
Since the API has not changed at this point, this is mostly just a matter of updating Makefiles, and changing references to the library name in comments. NetworkManager cannot link to libnm due to the duplicated type/symbol names. So it links to libnm-core.la directly, which means that NetworkManager gets a separate copy of that code from libnm.so. Everything else links to libnm.
-
- 15 Jul, 2014 2 commits
-
-
Dan Winship authored
nm-version.h was getting disted, making srcdir!=builddir work for tarball builds, but not for git builds. Also, remove "-I${top_builddir}/include" from all Makefile.ams, since there's nothing generated in include/ any more.
-
Dan Winship authored
NetworkManager.h, NetworkManagerVPN.h, and nm-version.h are part of the libnm-util API, so move them to libnm-util. include/ still contains headers that are strictly NM-internal (eg, nm-glib-compat.h).
-
- 20 Jun, 2014 1 commit
-
-
Dan Williams authored
-
- 10 Jun, 2014 1 commit
-
-
Dan Williams authored
-
- 09 Jun, 2014 1 commit
-
-
Jiří Klimeš authored
-
- 07 Jun, 2014 1 commit
-
-
Thomas Haller authored
nm_access_point_get_hw_address() is already deprecated since pre-0.9.0-beta3 (f30e15a0). However, it also is defined as NM_DEPRECATED_IN_0_9_10, because there are no deprecated macros for previous version. Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
- 27 May, 2014 1 commit
-
-
Jiří Klimeš authored
g_type_init() deprecation: https://bugzilla.gnome.org/show_bug.cgi?id=686161
-
- 28 Apr, 2014 1 commit
-
-
Dan Williams authored
Tighten up with suggestions from Johannes Buchner and mention his contribution. Also fixes operation with current nmcli since it changed from "802-3-ethernet" -> "ethernet" and thus the script was broken. https://bugzilla.gnome.org/show_bug.cgi?id=513488
-
- 04 Apr, 2014 2 commits
-
-
Thomas Haller authored
The function toStdString() is only available when QT was compiled with STL support. The configure script does not check STL support and might build the QT examples even if toStdString() is not available. Fix this, by not using the function. This fixes the previous commit f73e3669 that I pushed accidentally. https://bugzilla.gnome.org/show_bug.cgi?id=727608Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
The function toStdString() is only available when QT was compiled with STL support. The configure script does not check STL support and might build the QT examples even if toStdString() is not available. Fix this, by not using the function. https://bugzilla.gnome.org/show_bug.cgi?id=727608Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
- 01 Apr, 2014 1 commit
-
-
Jiří Klimeš authored
-
- 07 Mar, 2014 1 commit
-
-
Jiří Klimeš authored
-
- 05 Mar, 2014 1 commit
-
-
Jiří Klimeš authored
-
- 03 Mar, 2014 2 commits
-
-
Jiří Klimeš authored
-
Jiří Klimeš authored
-
- 24 Jan, 2014 1 commit
-
-
Jiří Klimeš authored
-
- 23 Jan, 2014 1 commit
-
-
Jiří Klimeš authored
-
- 16 Jan, 2014 1 commit
-
-
Jiří Klimeš authored
-
- 17 Dec, 2013 1 commit
-
-
William Jon McCann authored
Various GNOME services moved around so links need updating.
-
- 29 Nov, 2013 1 commit
-
-
Jiří Klimeš authored
-
- 13 Nov, 2013 1 commit
-
-
Thomas Haller authored
These are (most likely) only warnings and not severe bugs. Some of these changes are mostly made to get a clean run of Coverity without any warnings. Error found by running Coverity scan https://bugzilla.redhat.com/show_bug.cgi?id=1025894Co-Authored-By:
Jiří Klimeš <jklimes@redhat.com> Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
- 22 Oct, 2013 1 commit
-
-
Thomas Haller authored
When freeing one of the collections such as GArray, GPtrArray, GSList, etc. it is common that the items inside the connections must be freed/unrefed too. The previous code often iterated over the collection first with e.g. g_ptr_array_foreach and passing e.g. g_free as GFunc argument. For one, this has the problem, that g_free has a different signature GDestroyNotify then the expected GFunc. Moreover, this can be simplified either by setting a clear function (g_ptr_array_set_clear_func) or by passing the destroy function to the free function (g_slist_free_full). Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
- 26 Sep, 2013 1 commit
-
-
Jiří Klimeš authored
-
- 24 Sep, 2013 3 commits
-
-
Jiri Popelka authored
jklimes: made the change for new firewall-zone.py example as well.
-
Jiří Klimeš authored
Move examples using dbus-python ('dbus' module) and GObject introspection into their own directories.
-
Jiří Klimeš authored
-
- 22 Aug, 2013 1 commit
-
-
Dan Winship authored
Unfortunately, $(AM_CPPFLAGS) gets overridden by per-target _CPPFLAGS variables, which $(INCLUDES) did not, so this requires some additional changes. In most places, I have just gotten rid of the per-target _CPPFLAGS variables; in directories with a single target, the per-target variable is unnecessary, and in directories with multiple targets, the per-target variable is often undesirable, since it forces some files to be compiled twice, even though there ends up being no difference between the two files.
-
- 06 Aug, 2013 1 commit
-
-
Thomas Haller authored
There where cases, where TAB was mixed with SPACES. Replace TAB with SPACES. Additionally, make the script nm-state.py executable Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
- 15 Jul, 2013 1 commit
-
-
Jiří Klimeš authored
-
- 29 Apr, 2013 1 commit
-
-
Pavel Šimerda authored
-
- 19 Apr, 2013 1 commit
-
-
Martin Pitt authored
The various need_secrets() implementation do allocate a fresh GPtrArray, but add static strings to them without dup'ing. Thus callers must _not_ free the array elements, only the array itself. Adjust documentation and annotations accordingly. Also adjust the corresponding comment in the goi-list-connections.py example. https://bugzilla.gnome.org/show_bug.cgi?id=698175
-
- 25 Mar, 2013 1 commit
-
-
Jiří Klimeš authored
It makes the initializations more explicit. G_VALUE_INIT is available since glib 2.30, and NM now require glib >= 2.32
-
- 26 Feb, 2013 1 commit
-
-
Dan Winship authored
-
- 07 Dec, 2012 1 commit
-
-
Jiří Klimeš authored
-
- 01 Nov, 2012 1 commit
-
-
Jiří Klimeš authored
-