Skip to content
Snippets Groups Projects
  1. Feb 12, 2020
  2. Feb 11, 2020
  3. Feb 10, 2020
  4. Feb 03, 2020
  5. Jan 20, 2020
  6. Jan 17, 2020
    • Simon McVittie's avatar
      system-info: Add an undocumented --ignore-extra-drivers option · 51df4b71
      Simon McVittie authored
      
      This is basically never going to be useful, except to test the previous
      commit, so I haven't bothered to include it in the man page.
      
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      51df4b71
    • Simon McVittie's avatar
      system-info: Make SRT_DRIVER_FLAGS_NONE the absence of flags · ed82693b
      Simon McVittie authored
      
      GLib flags conventionally have a NONE value that is numerically zero
      and represents default behaviour, with any deviation from default
      behaviour being represented by a nonzero flag.
      
      In particular, for the flags we currently know (INCLUDE_ALL and NONE),
      there are only two states that make sense to have numerically distinct:
      NONE and INCLUDE_ALL. If NONE is non-zero, then 0 makes no sense
      (it would request behaviour that differs from the behaviour of not
      setting any flags, but what would that mean?), while NONE|INCLUDE_ALL
      logically ought to be equivalent to INCLUDE_ALL.
      
      Fixing this requires some adjustments to the logic for skipping extra
      drivers, because (NONE & flags) will never be nonzero. It's the
      presence or absence of INCLUDE_ALL that we should care about, not the
      presence or absence of NONE.
      
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      ed82693b
  7. Jan 10, 2020
  8. Jan 09, 2020
  9. Jan 08, 2020
  10. Jan 07, 2020
  11. Dec 13, 2019
  12. Dec 09, 2019
Loading