summaryrefslogtreecommitdiff
path: root/.gitignore
Commit message (Collapse)AuthorAgeFilesLines
* wwan/tests: test service-providers.xml parserLubomir Rintel2019-09-111-0/+1
| | | | Just a handful of unit tests.
* COPYING: make sure we ship the relevant license textsLubomir Rintel2019-09-101-1/+0
| | | | | | | | | | | | | This adds LGPL and GFDL texts from the GNU web site and updates the GPL one: COPYING: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt COPYING.LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt COPYING.GFDL: https://www.gnu.org/licenses/old-licenses/fdl-1.1.txt The update to the GPL text is purely cosmetic. However, shipping the exact same file as GNU publishes may help distros that deduplicate the license texts or hardlink duplicates.
* initrd: add devicetree supportLubomir Rintel2019-09-101-0/+1
| | | | | | | | | | | | This adds capability to hand over the network configuration from OpenFirmware (and potentially other boot loaders with openfirmware support such as U-Boot) to NetworkManager. It's done analogously to ACPI/iBFT. In fact, the same ip=ibft command line option is used, adding a more general ip=fw alias. This probably deserves some documentation, but I'm not adding any at this time. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/257
* settings: drop ibft settings pluginth/drop-ibft-settings-pluginThomas Haller2019-06-201-1/+1
| | | | | | | | | | | | | | | The functionality of the ibft settings plugin is now handled by nm-initrd-generator. There is no need for it anymore, drop it. Note that ibft called iscsiadm, which requires CAP_SYS_ADMIN to work ([1]). We really want to drop this capability, so the current solution of a settings plugin (as it is implemented) is wrong. The solution instead is nm-initrd-generator. Also, on Fedora the ibft was disabled and probably on most other distributions as well. This was only used on RHEL. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1371201#c7
* gitignore: merge gitignore filesThomas Haller2019-05-191-2/+21
| | | | | | | | | For the most part, we only have one main .gitignore file. There were a few nested files, merge them into the main file. I find it better to have only one gitignore file, otherwise the list of ignored files is spread out through the working directory.
* src/tests: rename core's "test-general*" to "test-core*"Thomas Haller2019-05-191-2/+4
|
* libnm/tests: rename libnm's "test-general" to "test-libnm"Thomas Haller2019-05-191-1/+2
|
* clients/tests: rename clients/common's "test-general" to "test-clients-common"Thomas Haller2019-05-191-1/+2
|
* wifi/tests: rename Wi-Fi's "test-general" to "test-devices-wifi"Thomas Haller2019-05-191-1/+2
| | | | We already have 4 other tests that are named "test-general". Rename.
* keyfile/tests: rename core's "test-keyfile" to "test-keyfile-settings"Thomas Haller2019-05-191-1/+2
| | | | | | | | | | | | | | | | | | We already have "libnm-core/tests/test-keyfile.c" from which we build "test-keyfile". Our test binaries should be named the following: - "*/tests/test-*" - the test binary "*/tests/test-*" should be build from a source file "*/tests/test-*.c". Meaning: the source's and executable's name should correspond. - test binaries should be named uniquely. Also, because older meson versions don't like having the same binary name more than once. Rename to avoid the duplicate name.
* gitignore: move ignored libnm-glib/libnm-util files to the bottom of the ↵Thomas Haller2019-05-191-60/+56
| | | | | | | .gitignore The bottom contains the tombstones for files that we ignored in the past, but no longer actually have. Move the lines.
* shared/tests: add tests for libnm-core-auxThomas Haller2019-04-251-4/+4
| | | | | | | | | | These tests cannot (easily) be under "shared/nm-libnm-core-aux/tests" because libnm/libnm-core requires code under shared while "nm-libnm-core-aux" requires libnm/libnm-core. With autotools that is not problem, but with meson we include sub directories in a particular order and there is no way to foward declare stuff (AFAIK). To avoid the circular dependency, add the tests to "clients/common/tests", which is always built last.
* shared/tests: add test for "shared/nm-utils"Thomas Haller2018-10-181-0/+1
| | | | | | | | | "shared/nm-utils" is a loose collection of utility functions. There is a certain aim that they can be used independently. However, they also rely on each other. Add a test that we can build a minimal shared library with these tools, independent of libnm-core.
* initrd: add configuration generatorLubomir Rintel2018-09-181-0/+1
| | | | | | nm-initrd-generator scans the command line for options relevant to network configuration and creates configuration files for an early instance of NetworkManager run from the initial ramdisk during early boot.
* initrd: add command line parserLubomir Rintel2018-09-181-0/+1
|
* initrd: add iBFT readerLubomir Rintel2018-09-181-0/+1
| | | | | | | | | | | | | This is loosely based on nms-ibft-reader, but with some significant changes. Notably, it parses /sys/firmware/ibft directly instead of iscsiadm output. iscsiadm is not available on early boot (perhaps it's too large) and turns out that parsing sysfs directly is easier and more straightforwared anyways. A win-win situation. It is not useful alone, it's in a separate commit just for the sake of easier review.
* gitignore: Fix *.stamp ignoreJan Alexander Steffens (heftig)2018-09-131-1/+1
| | | | | | ripgrep complains about the invalid `**`. (cherry picked from commit 1fad494c3464ded6c59cd321a2c6e5f88064e757)
* build: create "config-extra.h" header instead of passing directory variables ↵Thomas Haller2018-07-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | via CFLAGS 1) the command line gets shorter. I frequently run `make V=1` to see the command line arguments for the compiler, and there is a lot of noise. 2) define each of these variables at one place. This makes it easy to verify that for all compilation units, a particular define has the same value. Previously that was not obvious or even not the case (see commit e5d1a71396e107d1909744d26ad401f206c0c915 and commit d63cf1ef2faba57595112a82e962b9643cce4718). The point is to avoid redundancy. 3) not all compilation units need all defines. In fact, most modules would only need a few of these defines. We aimed to pass the necessary minium of defines to each compilation unit, but that was non-obvious to get right and often we set a define that wasn't used. See for example "src_settings_plugins_ibft_cppflags" which needlessly had "-DSYSCONFDIR". This question is now entirely avoided by just defining all variables in a header. We don't care to find the minimum, because every component gets anyway all defines from the header. 4) this also avoids the situation, where a module that previously did not use a particular define gets modified to require it. Previously, that would have required to identify the missing define, and add it to the CFLAGS of the complation unit. Since every compilation now includes "config-extra.h", all defines are available everywhere. 5) the fact that each define is now available in all compilation units could be perceived as a downside. But it isn't, because these defines should have a unique name and one specific value. Defining the same name with different values, or refer to the same value by different names is a bug, not a desirable feature. Since these defines should be unique accross the entire tree, there is no problem in providing them to every compilation unit. 6) the reason why we generate "config-extra.h" this way, instead of using AC_DEFINE() in configure.ac, is due to the particular handling of autoconf for directory variables. See [1]. With meson, it would be trivial to put them into "config.h.meson". While that is not easy with autoconf, the "config-extra.h" workaround seems still preferable to me. [1] https://www.gnu.org/software/autoconf/manual/autoconf-2.63/html_node/Installation-Directory-Variables.html
* core: rename 'arping' to 'acd'Beniamino Galvani2018-04-181-1/+2
| | | | | | Now that the ACD functionality is no longer using arping, rename nm-arping-manager to nm-acd-manager and other occurences of arping as well.
* gitignore: ignore *.pyc filesThomas Haller2018-04-041-0/+1
|
* dhcp: remove unused nm_utils_resolve_conf_parse() functionThomas Haller2018-03-201-1/+1
|
* gitignore: ignore generated clients/common/settings-docs.h fileThomas Haller2018-01-121-1/+2
|
* settings: drop unmaintained ifnet settings plugin of GentooThomas Haller2017-12-211-2/+1
| | | | | | | | | | | | Even Gentoo disables this plugin since before 0.9.8 release of NetworkManager. Time to say goodbye. If somebody happens to show up to maintain it, we may resurrect it later. If "$distro_plugins=ifnet" was set, configure.ac would use that to autodetect --with-hostname-persist=gentoo. Replace that autodetect part by checking for /etc/gentoo-release file.
* gitignore: ignore default meson build directory "build"Thomas Haller2017-12-151-0/+2
|
* gitignore: readd removed libnm-core/tests/test-setting* programsThomas Haller2017-12-081-0/+3
| | | | | Although removed, they show up whenever switching to an old branch. Keep ignoring them.
* gitignore: ignore libnm-core/tests/test-settingFrancesco Giudici2017-12-081-3/+1
| | | | | | We now have merged in libnm-core/tests/test-setting test file the test files for 8021x, bond and dcb... add the new test file to .gitignore and remove the old ones.
* libnm: register empty NMClient and NetworkManager when loading libnm with GIRLubomir Rintel2017-11-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Register empty "NMClient" and "NetworkManager" GIR modules as soon as libnm is loaded witch gnome-introspection. This prevents the real modules from being loaded because they would in turn load libnm-glib and abort() and crash. In particular this prevents the GNOME shell from crashing with libnm-glib abort and allows gracefully disabling the extensions which use the obsolete library. Test: $ cat test.js const NM = imports.gi.NM; print (NM.SecretAgentGetSecretsFlags.ALLOW_INTERACTION); const NMClient = imports.gi.NMClient; print (NMClient.SecretAgentGetSecretsFlags.ALLOW_INTERACTION); Before: $ gjs test.js 1 (gjs:16253): libnm-util-ERROR **: libnm symbols detected; Mixing libnm with libnm-util/libnm-glib is not supported Trace/breakpoint trap (core dumped) $ After: $ gjs test.js 1 Gjs-Message: JS WARNING: [test.js 5]: reference to undefined property "SecretAgentGetSecretsFlags" (gjs:16228): Gjs-WARNING **: JS ERROR: TypeError: NMClient.SecretAgentGetSecretsFlags is undefined @test.js:5:1 JS_EvaluateScript() failed
* gitignore: ignore temporary ifcfg-rh tests directoryThomas Haller2017-06-291-0/+1
|
* libnm: add testable libnm/nm-libnm-utils.c fileThomas Haller2017-05-191-0/+1
| | | | | | | Previously, internal parts of libnm were not testable. Instead, add "libnm/nm-libnm-utils.c" and "libnm/libnm-utils.la" to contain code that can be statically linked with a new test "libnm/tests/test-general".
* gitignore: ignore .zanata-cache directoryThomas Haller2017-04-191-0/+1
|
* cli/tests: add "clients/common/tests/test-general.c"Thomas Haller2017-04-051-0/+2
|
* gitignore: fix ignoring "clients/common/settings-docs.c" (2)Thomas Haller2017-03-301-0/+1
| | | | Fixes: d720f0955ffda93e0fc1f7b69eb6a01395246229
* gitignore: fix ignoring "clients/common/settings-docs.c"Thomas Haller2017-03-301-1/+1
| | | | Fixes: d720f0955ffda93e0fc1f7b69eb6a01395246229
* build: rename intermediate doc xmlsThomas Haller2016-11-241-4/+8
| | | | | | | Allows to use pattern rules by making the related files having a common naming scheme. This commit only renames files.
* all: rename the introspection data to use the interface paths in namesLubomir Rintel2016-11-231-4/+6
| | | | | | | | This makes it easier to install the files with proper names. Also, it makes the makefile rules slightly simpler. Lastly, the documentation is now generated into docs/api, which makes it possible to get rid of the awkward relative file names in docbook.
* build: rename "src/dnsmasq-manager" to "src/dnsmasq"Thomas Haller2016-11-211-1/+2
| | | | | | | The dnsmasq directory does not only contain the manager instance, but various files related to dnsmasq. Rename.
* build: rename "src/dhcp-manager" to "src/dhcp"Thomas Haller2016-11-211-4/+8
| | | | | | | The dhcp directory does not only contain the manager instance, but various files related to DHCP. Rename.
* build: rename "src/supplicant-manager" to "src/supplicant"Thomas Haller2016-11-211-2/+3
| | | | | | | The supplicant directory does not only contain the manager instance, but various files related to wpa-supplicant. Rename.
* build: generate src/NetworkManager.ver during buildThomas Haller2016-11-101-0/+1
| | | | | | | | | | This adds 0.4 seconds to the build time. You can disable it by setting $NM_BUILD_NO_CREATE_EXPORTS environment variable. This is useful in the unexpected case that the script is broken. Or, if you just want to use a different, non-generated version-script. Or, if you want to save 0.4 seconds build-time.
* rdisc: rename to ndiscLubomir Rintel2016-11-091-2/+3
| | | | | | We'll soon not only do the router discovery, but announce ourselves as a reouter. "Neighbor discovery" sounds to be a more appropriate name for the class than "Router discovery".
* build: move policy file from "policy/" to "data/"Thomas Haller2016-11-031-3/+4
|
* build: merge "introspection/Makefile.am" into toplevel Makefile.amThomas Haller2016-10-191-1/+2
|
* callouts/dispatcher: rename directory calloutsThomas Haller2016-10-131-5/+10
| | | | | | | | Originally, the "callouts" directory contained various programs that NetworkManager would call, for example the dhcp helper. For a while, it only contains nm-dispatcher. Thus rename the directory to indicate that it's for dispatcher.
* ifcfg-rh/tests: merge test-ifcfg-rh-utils into test-ifcfg-rhThomas Haller2016-10-111-1/+1
| | | | | | | | | | We don't need need separate unit tests for basic tests that can just run in the same test-run. If you really need to run only a particular set of tests, try ./src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh -p /settings/plugins/ifcfg-rh/utils Results in less compilation (time), and less binaries to test during `make check`.
* gitignore: ignore test-wifi-ap-utilsThomas Haller2016-10-081-1/+1
| | | | | Although the test "test-wifi-ap-utils" got already renamed to "test-general", keep ignoring the old binary when switching between branches.
* wifi: rename NMAccessPoint to NMWifiAPThomas Haller2016-10-061-1/+1
| | | | | | | | | | | NMAccessPoint was in file "nm-wifi-ap.h" with method nm_ap_*(). Make the naming consistent. Also rename "nm-wifi-ap-utils.*" as it contains general purpose wifi utilities. No need to have special "ap" utilities. Same for "test-wifi-ap-utils.c". It just contains general wifi tests.
* docs: include the D-Bus enums reference with the API documentationLubomir Rintel2016-04-221-0/+2
| | | | | | Otherwise the types links would be dangling or resolved to slightly irrelevant documentation in libnm or completely irrelevant documentation in libnm-util.
* man: don't template NetworkManager.conf.xmlLubomir Rintel2016-04-081-1/+0
| | | | Use XML entities instead.
* man: gitignore man7Lubomir Rintel2016-04-051-1/+1
|
* dbus: remove the telepathy annotationsLubomir Rintel2016-04-051-1/+0
| | | | | We now generate documentation with gdbus-codegen and these are now useless.