1. 12 Jan, 2021 3 commits
  2. 08 Jan, 2021 1 commit
  3. 02 Jan, 2021 1 commit
  4. 22 Dec, 2020 2 commits
  5. 18 Dec, 2020 2 commits
  6. 15 Dec, 2020 1 commit
  7. 14 Dec, 2020 1 commit
  8. 13 Dec, 2020 1 commit
  9. 09 Dec, 2020 3 commits
  10. 08 Dec, 2020 1 commit
    • O H's avatar
      use strict CFLAGS to catch common mistakes in ci pipeline · b7e6c14a
      O H authored and Romain Bouvier's avatar Romain Bouvier committed
      A number of common coding errors are missed by the compiler.
      They turn up only after release once packages are build with full CFLAGS.
      Adjust the gitlab CI to catch such errors:
      -Wall enables a number of diagnostics
      -Wno-deprecated-declarations will hide a bogus warning.
      As long as an API exists it can be used. Noone beside a curious developer
      will actually take the time to do research and look for the replacment.
      In the wild this warning is just noise in the build log.
      -Werror=implicit-function-declaration will point out missing includes.
      In case such errors are not fixed, the resulting code will assume int
      for function arguments and function return values.
      -Werror=return-type will point out incorrect return values. The caller
      will most likely receive just garbage.
      Signed-off-by: O H's avatarOlaf Hering <olaf@aepfle.de>
  11. 04 Dec, 2020 1 commit
  12. 09 Nov, 2020 1 commit
  13. 02 Nov, 2020 1 commit
  14. 22 Oct, 2020 1 commit
  15. 03 Oct, 2020 3 commits
    • Gaël Bonithon's avatar
      xdt-autogen: Various small improvements · ec0295a9
      Gaël Bonithon authored
      - quoting
      - replace backticks with $()
      - replace 'test "x$var"' with 'test "$var"'
      - replace $(pwd) with $PWD
      - simplify the command to search for languages
      - do not use subshell when unneeded
      - do not use redirection when unneeded
      - directly test command exit codes instead of using $?
      - readability (useless ";", indenting)
    • Gaël Bonithon's avatar
      xdt-autogen: Properly handle whitespaces in filenames · 72483f0e
      Gaël Bonithon authored
      and more generally special characters different from '\1'.
      This is achieved by replacing the filename separator ' ' with '\1' in
      lookup_configure_ac_*(), and the default IFS=' \t\n' with IFS='\1', but
      only where necessary: the default IFS is usually required for things to
      go as expected.
      So we have to do an IFS round-trip substitution around each "for" loop
      on filenames, just before and just after pathname expansion by the
      Additionally, when running $XDT_PROG_ACLOCAL, one has to define some
      new variables ACLOCAL_DIR and use conditional parameter expansion, to
      properly set the program flags:
      Finally, one has to take care of some non optional quoting
      (strictly speaking, some are optional in this commit, but I preferred
      not to cut as close as possible and to keep an overall coherence).
    • Gaël Bonithon's avatar
      xdt-autogen: Use sed instead of tr to replace strings · 3e01e213
      Gaël Bonithon authored
      The purpose of the current code seems to be to replace the strings
      '\t', '\n' and '\\' by a single space ' ', not the characters
      "horizontal tab", "line feed" and "backslash" by a single space.
      So the right command to do this is sed, not tr, which doesn't do the
      job expected here.
  16. 18 Sep, 2020 1 commit
  17. 18 Jul, 2020 1 commit
  18. 12 Jul, 2020 2 commits
  19. 09 Jul, 2020 4 commits
  20. 08 Jul, 2020 2 commits
  21. 07 Jul, 2020 4 commits
  22. 24 Jun, 2020 3 commits