- 03 Apr, 2019 1 commit
-
-
Lubomir Rintel authored
We need this for a little little longer :( This reverts commit 1de8383a.
-
- 19 Mar, 2019 1 commit
-
-
Lubomir Rintel authored
This removes libnm-glib, libnm-glib-vpn, and libnm-util for good. The it has been replaced with libnm since NetworkManager 1.0, disabled by default since 1.12 and no up-to-date distributions ship it for years now. Removing the libraries allows us to: * Remove the horrible hacks that were in place to deal with accidental use of both the new and old library in a single process. * Relief the translators of maintenance burden of similar yet different strings. * Get rid of known bad code without chances of ever getting fixed (libnm-glib/nm-object.c and libnm-glib/nm-object-cache.c) * Generally lower the footprint of the releases and our workspace If there are some really really legacy users; they can just build libnm-glib and friends from the NetworkManager-1.16 distribution. The D-Bus API is stable and old libnm-glib will keep working forever. https://github.com/NetworkManager/NetworkManager/pull/308
-
- 30 Apr, 2018 1 commit
-
-
Beniamino Galvani authored
Normalize coding style by removing consecutive empty lines from C sources and headers. https://github.com/NetworkManager/NetworkManager/pull/108
-
- 09 Mar, 2017 1 commit
-
-
Thomas Haller authored
In practice, this should only matter when there are multiple header files with the same name. That is something we try to avoid already, by giving headers a distinct name. When building NetworkManager itself, we clearly want to use double-quotes for including our own headers. But we also want to do that in our public headers. For example: ./a.c #include <stdio.h> #include <nm-1.h> void main() { printf ("INCLUDED %s/nm-2.h\n", SYMB); } ./1/nm-1.h #include <nm-2.h> ./1/nm-2.h #define SYMB "1" ./2/nm-2.h #define SYMB "2" $ cc -I./2 -I./1 ./a.c $ ./a.out INCLUDED 2/nm-2.h Exceptions to this are - headers in "shared/nm-utils" that include <NetworkManager.h>. These headers are copied into projects and hence used like headers owned by those projects. - examples/C
-
- 15 Jul, 2014 1 commit
-
-
Dan Winship authored
- Remove list of authors from files that had them; these serve no purpose except to quickly get out of date (and were only used in libnm-util and not libnm-glib anyway). - Just say "Copyright", not "(C) Copyright" or "Copyright (C)" - Put copyright statement after the license, not before - Remove "NetworkManager - Network link manager" from the few files that contained it, and "libnm_glib -- Access network status & information from glib applications" from the many files that contained it. - Remove vim modeline from nm-device-olpc-mesh.[ch], add emacs modeline to files that were missing it.
-
- 13 Feb, 2014 1 commit
-
-
Dan Winship authored
Add versioned NM_DEPRECATED_IN_* and NM_AVAILABLE_IN_* macros, and tag new/deprecated functions accordingly. (All currently-deprecated functions are assumed to have been deprecated in 0.9.10.) Add NM_VERSION_MIN_REQUIRED and NM_VERSION_MAX_ALLOWED macros which can be set to determine which versions will cause warnings. With the current settings, external consumers of the libnm-util/libnm-glib APIs will have MIN_REQUIRED and MAX_ALLOWED both set to NM_VERSION_0_9_8 by default, meaning they will get warnings about functions added in 0.9.10. NM internally sets NM_VERSION_MAX_ALLOWED to NM_VERSION_NEXT_STABLE to ensure that it is always allowed to use all APIs.
-
- 27 Jan, 2014 1 commit
-
-
Thomas Haller authored
Utility function, to search the list of connections for a connection with a matching id/name. Returns the first match. Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
- 15 Nov, 2013 1 commit
-
-
- 14 Jun, 2013 1 commit
-
-
Dan Winship authored
Add a "monitor-connection-files" config option, which can be set to "false" to disable automatic reloading of connections on file change. To go with this, add a new ReloadConnections method on o.fd.NM.Settings that can be used to manually reload connections, and add an nm-cli command to call it.
-
- 28 May, 2013 1 commit
-
-
Dan Williams authored
-
- 27 Jul, 2012 1 commit
-
-
Jiří Klimeš authored
The argument is 'klass' not 'obj'.
-
- 12 Mar, 2012 1 commit
-
-
Dan Winship authored
When NM was registering all of its enum types by hand, it was using NamesLikeThis rather than the default names-like-this for the "nick" values. When we switched to using glib-mkenums, this resulted in dbus-glib using different strings for the D-Bus error names, causing compatibility problems. Fix this by using glib-mkenums annotations to manually fix all the enum values back to what they were before. (This can't be done in a more automated way, because the old names aren't 100% consistent. Eg, "UNKNOWN" frequently becomes "UnknownError" rather than just "Unknown".)
-
- 15 Feb, 2012 1 commit
-
-
Dan Winship authored
Rather than generating enum classes by hand (and complaining in each file that "this should really be standard"), use glib-mkenums. Unfortunately, we need a very new version of glib-mkenums in order to deal with NM's naming conventions and to fix a few other bugs, so just import that into the source tree temporarily. Also, to simplify the use of glib-mkenums, import Makefile.glib from https://bugzilla.gnome.org/654395. To avoid having to run glib-mkenums for every subdirectory of src/, add a new "generated" directory, and put the generated enums files there. Finally, use Makefile.glib for marshallers too, and generate separate ones for libnm-glib and NetworkManager.
-
- 03 Feb, 2012 1 commit
-
-
Dan Winship authored
Add nm_remote_settings_new_async/_finish, and misc other fixes
-
- 22 Apr, 2011 1 commit
-
-
Dan Williams authored
If the client knows the UUID, add a convenience function to get the connection path directly, instead of having to iterate the whole connection list and get each connection's details and then check the UUID.
-
- 10 Mar, 2011 1 commit
-
-
Dan Williams authored
-
- 21 Jan, 2011 1 commit
-
-
Giovanni Campagna authored
Add the necessary annotations (the mininum required, that is those on return values. NULL parameters or container types may require more), and the Autotools stuff to get a NetworkManager GIR for libnm-util and a NMClient for libnm-glib.
-
- 27 Dec, 2010 1 commit
-
-
Dan Williams authored
-
- 29 Oct, 2010 1 commit
-
-
Dan Williams authored
Finally.
-
- 26 Aug, 2010 1 commit
-
-
Dan Williams authored
Moves the system settings permissions checking into the core service's permissions checking, which at the same time enables 3-way permission reporting (yes, no, auth) instead of the old yes/no that we had for system settings permissions before. This allows UI to show a lock icon or such when the user could authenticate to gain the permission. It also moves the wifi-create permissions' namespace to the main namespace (not .settings) since they really should be checked before starting a shared wifi connection, rather than having anything to do with the settings service.
-
- 06 Aug, 2010 2 commits
-
-
Daniel Gnoutcheff authored
NMSettingsInterface was created to allow code to operate on a settings service without caring about what kind of settings service it was. Now that we have just one settings service, this is no longer needed. More work needs to be done in order to handle errors and permission settings in an appropriate manner.
-
Daniel Gnoutcheff authored
Remove code related to "connection scope" and such. Later, we will also do lots of code flattening and simplification that's possible now that user settings are gone.
-
- 30 Sep, 2009 1 commit
-
-
Dan Williams authored
-
- 23 Sep, 2009 1 commit
-
-
Witold Sowa authored
So that users can actually tell if the remote service is running or not. It doesn't have to be when the object is created.
-
- 23 Jul, 2009 1 commit
-
-
Dan Williams authored
The old NMExportedConnection was used for both client and server-side classes, which was a mistake and made the code very complicated to follow. Additionally, all PolicyKit operations were synchronous, and PK operations can block for a long time (ie for user input) before returning, so they need to be async. But NMExportedConnection and NMSysconfigConnection didn't allow for async PK ops at all. Use this opportunity to clean up the mess and create GInterfaces that both server and client objects implement, so that the connection editor and applet can operate on generic objects like they did before (using the interfaces) but can perform specific operations (like async PK verification of callers) depending on whether they are local or remote or whatever.
-