1. 27 8月, 2019 2 次提交
  2. 20 6月, 2019 1 次提交
  3. 15 5月, 2019 1 次提交
  4. 13 4月, 2019 1 次提交
  5. 05 3月, 2019 6 次提交
  6. 14 12月, 2018 2 次提交
    • D
      Enforce a standard header file guard symbol name · 568a4172
      Daniel P. Berrangé 提交于
      Require that all headers are guarded by a symbol named
      
        LIBVIRT_$FILENAME
      
      where $FILENAME is the uppercased filename, with all characters
      outside a-z changed into '_'.
      
      Note we do not use a leading __ because that is technically a
      namespace reserved for the toolchain.
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      568a4172
    • D
      Remove all Author(s): lines from source file headers · 60046283
      Daniel P. Berrangé 提交于
      In many files there are header comments that contain an Author:
      statement, supposedly reflecting who originally wrote the code.
      In a large collaborative project like libvirt, any non-trivial
      file will have been modified by a large number of different
      contributors. IOW, the Author: comments are quickly out of date,
      omitting people who have made significant contribitions.
      
      In some places Author: lines have been added despite the person
      merely being responsible for creating the file by moving existing
      code out of another file. IOW, the Author: lines give an incorrect
      record of authorship.
      
      With this all in mind, the comments are useless as a means to identify
      who to talk to about code in a particular file. Contributors will always
      be better off using 'git log' and 'git blame' if they need to  find the
      author of a particular bit of code.
      
      This commit thus deletes all Author: comments from the source and adds
      a rule to prevent them reappearing.
      
      The Copyright headers are similarly misleading and inaccurate, however,
      we cannot delete these as they have legal meaning, despite being largely
      inaccurate. In addition only the copyright holder is permitted to change
      their respective copyright statement.
      Reviewed-by: NErik Skultety <eskultet@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      60046283
  7. 20 9月, 2018 2 次提交
  8. 13 8月, 2018 1 次提交
  9. 18 7月, 2018 1 次提交
  10. 28 5月, 2018 3 次提交
  11. 18 4月, 2018 1 次提交
  12. 18 1月, 2018 5 次提交
  13. 08 11月, 2017 3 次提交
  14. 03 11月, 2017 1 次提交
    • A
      Remove backslash alignment attempts · 3e7db8d3
      Andrea Bolognani 提交于
      Right-aligning backslashes when defining macros or using complex
      commands in Makefiles looks cute, but as soon as any changes is
      required to the code you end up with either distractingly broken
      alignment or unnecessarily big diffs where most of the changes
      are just pushing all backslashes a few characters to one side.
      
      Generated using
      
        $ git grep -El '[[:blank:]][[:blank:]]\\$' | \
          grep -E '*\.([chx]|am|mk)$$' | \
          while read f; do \
            sed -Ei 's/[[:blank:]]*[[:blank:]]\\$/ \\/g' "$f"; \
          done
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      3e7db8d3
  15. 02 11月, 2017 1 次提交
    • J
      cputest: Skip tests requiring JSON_MODELS if QEMU is disabled · 49c945a6
      Jiri Denemark 提交于
      Some tests require JSON_MODELS to be parsed into qemuCaps and applied
      when computing CPU models and such test cannot succeed if QEMU driver is
      disabled. Let's mark the tests with JSON_MODELS_REQUIRED and skip the
      appropriate parts if building without QEMU.
      
      On the other hand, CPU tests with JSON_MODELS should succeed even if
      model definitions from QEMU are not parsed and applied. Let's explicitly
      test this by repeating the tests without JSON_MODELS set.
      
      This fixes the build with QEMU driver disabled, e.g., on some
      architectures on RHEL/CentOS.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
      49c945a6
  16. 18 10月, 2017 2 次提交
  17. 16 10月, 2017 7 次提交