| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Ninja has a compdb task which just generates the compile database, which
is what we need here.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Based on looking at the git logs, add copyright notices to files which
were missing them, assuming the copyright belongs to people who made major
contributions to each file.
Some assumptions were made as to who to assign the copyright to, such as,
what copyright assignment did the contributor make in other files added in
the same commit? What email address did they use to make the commit? What
copyright assignment did they make in other commits using the same email
address?
|
|
|
|
|
|
|
| |
This is needed because we are about to upgrade to a newer version of
cppcheck than the one on the DockerHub image. It ships a "library file"
for the GNOME platform, enabling some extra checks when using GLib and GTK
APIs. It also requires configuration of some of the macros that we use.
|
|
|
|
|
|
|
|
|
|
| |
Various changes to avoid false positives in cppcheck.
The 'alternative int' specifier isn't known to cppcheck so always run the
checks as if it is not defined.
Cppcheck has trouble deducing the type of one 'auto' variable, so just
replace it with its real type.
|
|
|
|
|
| |
Cppcheck ships a "library file" for the GNOME platform, enabling some
extra checks when using GLib and GTK APIs.
|
|
|
|
|
|
| |
This adds a SPDX-License-Identifier comment to all files that are part
of GJS, part of its unit tests, or auxiliary tools. (Except for some
files like the debugger scripts that don't support comments.)
|
|
Using Meson, we get a compilation database in the build directory, which
makes it much easier to run cppcheck. We remove the 'make cppcheck'
target from the Autotools makefile and instead add a new
tools/run_cppcheck.sh script to use the compilation database generated
by Meson.
|