- 20 Jan, 2022 1 commit
-
-
Thomas Haller authored
-
- 11 Jan, 2022 2 commits
-
-
Thomas Haller authored
-
Thomas Haller authored
This is the style we have ever since. Spell it out. With the difference that now single line statements may have braces. Recently we were already sloppy about allowing curly braces for single line statements. Maybe there was a point in that. Imagine you start with: if (condition) call(some, parameter); Afterwards you change the code so that the line becomes too long and clang-format wraps the line (requiring you to add braces): if (condition) { call(some, call_another_function(hey)); } The problem now is that this diff is larger than it would have been, if you added curly braces from the start. Also, it means you have to go back and forth to add/remove these braces, as clang-format reformats the code. Also, if you have if-else-if blocks, then mixing multi line statements with single line statements is also cumbersome, because when something needs to change, the diff is may be larger (and the change more cumbersome). So it might be convenient to just always add the braces, and the documented style now allows for that.
-
- 06 Oct, 2021 1 commit
-
-
Thomas Haller authored
-
- 08 Sep, 2021 1 commit
-
-
Thomas Haller authored
We have a copy of a few linux user space headers in `src/linux-headers`. The idea is that we want to use recent kernel API, and not depend on the kernel UAPI headers installed on the build system (and not need to workaround that). However, we may not be able to simply compile them, because they too have dependencies. For example, ../src/linux-headers/ethtool.h:1389:2: error: implicit declaration of function '__KERNEL_DIV_ROUND_UP' [-Werror=implicit-function-declaration] __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; ^ As workaround, don't include headers from "linux-headers" directly, but only include the new "libnm-std-aux/nm-linux-compat.h" adapter header, which tries to solve these incompatibilities. Fixes: 34d48d25 ('platform: clear all BASE types when setting advertised modes for ethernet autoneg')
-
- 27 Aug, 2021 1 commit
-
-
Thomas Haller authored
And move sections around.
-
- 26 Aug, 2021 2 commits
-
-
Thomas Haller authored
-
Thomas Haller authored
-
- 19 Aug, 2021 1 commit
-
-
Thomas Haller authored
-
- 07 Jun, 2021 1 commit
-
-
Thomas Haller authored
-
- 25 May, 2021 1 commit
-
-
Thomas Haller authored
-
- 11 May, 2021 1 commit
-
-
Thomas Haller authored
-
- 24 Mar, 2021 1 commit
-
-
Signed-off-by:
Wen Liang <liangwen12year@gmail.com> !792
-
- 16 Mar, 2021 2 commits
-
-
Thomas Haller authored
-
Thomas Haller authored
We should write our CONTRIBUTING files in markdown syntax, because it's nice to read a plain text and gets nicely rendered. However, if the file doesn't have a ".md" extension, gitlab's web interface shows it as plain text file. Rename the file. This possibly breaks links like [1], but referring to a branch name (and not a commit ID or a tag) is anyway fragile. Hence, I don't try to fix that by adding a symlink or similar, because I think that just makes it more confusing. [1] https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/master/CONTRIBUTING
-
- 27 Oct, 2020 1 commit
-
-
Thomas Haller authored
-
- 06 Oct, 2020 1 commit
-
-
Thomas Haller authored
-
- 29 Sep, 2020 1 commit
-
-
Thomas Haller authored
-
- 05 Aug, 2020 1 commit
-
-
Thomas Haller authored
-
- 01 Oct, 2019 1 commit
-
-
Thomas Haller authored
Historically, libnm claimed to be LGPL-2.0+ licensed. But as keep mixing that with LGPL-2.1+ code (e.g. from systemd), so probably even the parts that claimed to be LGPL-2.0+, were not entirely correctly doing so. Anyway, since we switched to SPDX license identifiers, we now claim everywhere that the right license is LGPL-2.1+. Update the comment to reflect that.
-
- 26 Jun, 2019 1 commit
-
-
Thomas Haller authored
-
- 24 Jun, 2019 1 commit
-
-
Thomas Haller authored
The meaning of "novel" and "new" here is the same, but "novel" als has a meaning related to patents. So avoid that confusion.
-
- 12 Jun, 2019 2 commits
-
-
Thomas Haller authored
Also drop the paragraph about "autoconf mechanism". The general guideline is self evident, while it didn't mention meson builds. Also, a first time contributor likely won't likely be concerned about this, as this is already advanced.
-
Thomas Haller authored
-
- 16 May, 2019 1 commit
-
-
Thomas Haller authored
-
- 25 Jul, 2017 1 commit
- 04 Feb, 2016 1 commit
-
-
Thomas Haller authored
Most of our FIXME/TODO comments are already (rightly) /**/. Just get rid of this non-obvious inconsistancy in our coding style.
-
- 07 Oct, 2009 1 commit
-
-
- 19 Nov, 2008 1 commit
-
-
Dan Williams authored
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4309 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-
- 13 Aug, 2004 1 commit
-
-
Dan Williams authored
* CONTRIBUTING - Add git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@50 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-