1. 13 Mar, 2020 1 commit
    • Tim-Philipp Müller's avatar
      meson: improve summary() printout · 5f5b9b12
      Tim-Philipp Müller authored
      Pass bool_yn kwarg to summary() to make it
      print boolean arguments as nice coloured YES/NO
      instead of true/false.
      
      We can also pass multiple arguments like a bool
      and a disabled_reason string. In meson 0.54 these
      can be printed on one line if we set the line_sep
      kwarg. In meson 0.53 these will always be printed
      on two lines (and it will warn about the line_sep
      arg), so only pass two args if docs are disabled
      and otherwise just pass one arg, so we don't end
      up with an ugly empty line with meson 0.53.
      5f5b9b12
  2. 08 Feb, 2020 2 commits
  3. 02 Nov, 2019 1 commit
  4. 14 Oct, 2019 1 commit
  5. 20 Sep, 2019 1 commit
  6. 14 Sep, 2019 4 commits
  7. 13 Sep, 2019 5 commits
  8. 10 Sep, 2019 1 commit
  9. 09 Sep, 2019 2 commits
  10. 08 Sep, 2019 11 commits
  11. 31 Aug, 2019 1 commit
  12. 27 Aug, 2019 1 commit
    • Matthew Waters's avatar
      build: fix werror build with clang · 63f6cfac
      Matthew Waters authored
      ../subprojects/orc/orc-test/orcarray.c:230:47: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value]
                if ((a[i] < 0.0) == (b[i] < 0.0) && abs(*(orc_uint32 *)&a[i] - *(orc_uint32 *)&b[i]) <= 2) continue;
                                                    ^
      ../subprojects/orc/orc-test/orcarray.c:230:47: note: remove the call to 'abs' since unsigned values cannot be negative
                if ((a[i] < 0.0) == (b[i] < 0.0) && abs(*(orc_uint32 *)&a[i] - *(orc_uint32 *)&b[i]) <= 2) continue;
                                                    ^~~
      ../subprojects/orc/orc-test/orcarray.c:247:47: error: taking the absolute value of unsigned type 'unsigned long' has no effect [-Werror,-Wabsolute-value]
                if ((a[i] < 0.0) == (b[i] < 0.0) && abs(*(orc_uint64 *)&a[i] - *(orc_uint64 *)&b[i]) <= 2) continue;
                                                    ^
      ../subprojects/orc/orc-test/orcarray.c:247:47: note: remove the call to 'abs' since unsigned values cannot be negative
                if ((a[i] < 0.0) == (b[i] < 0.0) && abs(*(orc_uint64 *)&a[i] - *(orc_uint64 *)&b[i]) <= 2) continue;
                                                    ^~~
      ../subprojects/orc/orc-test/orctest.c:525:63: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value]
            if ((*(float *)ptr1 < 0.0) == (*(float *)ptr2 < 0.0) && abs(*(orc_uint32 *)ptr1 - *(orc_uint32 *)ptr2) <= 2) return TRUE;
                                                                    ^
      ../subprojects/orc/orc-test/orctest.c:525:63: note: remove the call to 'abs' since unsigned values cannot be negative
            if ((*(float *)ptr1 < 0.0) == (*(float *)ptr2 < 0.0) && abs(*(orc_uint32 *)ptr1 - *(orc_uint32 *)ptr2) <= 2) return TRUE;
                                                                    ^~~
      ../subprojects/orc/orc-test/orctest.c:530:65: error: taking the absolute value of unsigned type 'unsigned long' has no effect [-Werror,-Wabsolute-value]
            if ((*(double *)ptr1 < 0.0) == (*(double *)ptr2 < 0.0) && abs(*(orc_uint64 *)ptr1 - *(orc_uint64 *)ptr2) <= 2) return TRUE;
                                                                      ^
      ../subprojects/orc/orc-test/orctest.c:530:65: note: remove the call to 'abs' since unsigned values cannot be negative
            if ((*(double *)ptr1 < 0.0) == (*(double *)ptr2 < 0.0) && abs(*(orc_uint64 *)ptr1 - *(orc_uint64 *)ptr2) <= 2) return TRUE;
                                                                      ^~~
      63f6cfac
  13. 20 Aug, 2019 2 commits
  14. 18 Aug, 2019 3 commits
  15. 13 Aug, 2019 2 commits
  16. 07 Aug, 2019 2 commits