1. 09 Jul, 2020 5 commits
  2. 08 Jul, 2020 7 commits
  3. 06 Jul, 2020 2 commits
  4. 05 Jul, 2020 7 commits
  5. 04 Jul, 2020 4 commits
  6. 27 Jun, 2020 1 commit
  7. 26 Jun, 2020 1 commit
    • verdre's avatar
      function: Only get function name if we actually warn · de24d1bb
      verdre authored
      Getting the function name for logging a warning/error message using
      format_function_name() is expensive and shows up with quite a few
      percent in the profiler.
      Luckily, we can completely get rid of that overhead by only getting the
      function name in case we actually have to warn. To do that, check the
      number of arguments ourselves instead of using args.requireAtLeast() and
      then move the call to format_function_name() into the if-conditions of
      those checks.
  8. 23 Jun, 2020 2 commits
  9. 22 Jun, 2020 1 commit
  10. 21 Jun, 2020 1 commit
    • Andy Holmes's avatar
      examples: add GListModel implementation · 7b7f9ee7
      Andy Holmes authored
      Add a simple implementation of GListModel, primarily as a demonstration
      of implementing interfaces in genera, but particularly this interface as
      it will be used quite a bit in Gtk4.
  11. 16 Jun, 2020 1 commit
  12. 04 Jun, 2020 1 commit
  13. 03 Jun, 2020 7 commits
    • Philip Chimento's avatar
      Merge branch 'iwyu-job' into 'master' · d0d87770
      Philip Chimento authored
      Add include-what-you-use CI job
      See merge request GNOME/gjs!449
    • Philip Chimento's avatar
      importer: Fix includes · a1e3fd58
      Philip Chimento authored
      These are caught by the newest version of IWYU.
    • Philip Chimento's avatar
      CI: Add iwyu jobs · d57d56b6
      Philip Chimento authored
      This adds an 'iwyu' job that runs only on the changed files, hopefully
      quickly, when pushing a branch or creating a merge request. There is
      also an 'iwyu-full' job that runs on all files, and takes 5 to 10
      minutes, so is only run when manually triggered.
    • Philip Chimento's avatar
      CI: Fix exit code of IWYU script · d38db7f2
      Philip Chimento authored
      When this was mainly being run manually, the exit code didn't matter
      much since the main thing was to look at the output. Running in CI, it
      does matter, so make sure it is correct everywhere.
    • Philip Chimento's avatar
      CI: Refresh index before running git-diff-index · c7f8123d
      Philip Chimento authored
      Very obscure, but it seems that git-diff-index can think that every file
      in the index has been modified due to their mtime, even if their
      contents are the same. This seems to happen on CI, so refresh the index
      (using git's "convenient" --really-refresh switch).
    • Philip Chimento's avatar
      CI: Always run IWYU with python3 · 664668cb
      Philip Chimento authored
      iwyu_tool.py has /usr/bin/env python, which is not what we want on
      python3-only systems.
    • Philip Chimento's avatar
      CI: Only setup the builddir in run_iwyu · a7501717
      Philip Chimento authored
      There's no need to build the whole project, as we are only analyzing the
      source code. We just need to run 'meson setup' on the builddir so that
      we have the compilation database.
      Also print the list of affected files after running Meson so they don't
      scroll out of sight.