1. 08 Oct, 2019 1 commit
  2. 21 Jul, 2019 1 commit
  3. 09 Feb, 2019 1 commit
  4. 29 Jan, 2019 1 commit
  5. 28 Jan, 2019 2 commits
  6. 21 Jan, 2019 1 commit
  7. 18 Jan, 2019 1 commit
  8. 17 Jan, 2019 2 commits
  9. 15 Jan, 2019 2 commits
  10. 12 Jan, 2019 1 commit
  11. 09 Jan, 2019 1 commit
    • Ondrej Holy's avatar
      gunixmounts: Fix segfaults caused by new filter of mounts · e695ca9f
      Ondrej Holy authored
      Commit ed88b23f added libmount-based implementation to filter out mounts
      with repeated device path. Unfortunately, this introduced a new bug, which
      may cause segfaults from in certain configurations.
      The problem is that `mnt_table_uniq_fs ()` is called from the loop which
      already operates with the `fs` structs from that table. It may happen that
      the current `fs` is removed from the table, which may consequently lead to
      Closes: #1645
  12. 04 Jan, 2019 2 commits
  13. 03 Jan, 2019 1 commit
  14. 21 Dec, 2018 1 commit
    • Kouhei Sutou's avatar
      Suppress -Wint-in-bool-context warning with G_DEFINE_INTERFACE and g++ · 32bdd718
      Kouhei Sutou authored
      Note that it's not reported with gcc. It's only reported with g++.
      C++ code to reproduce this warning:
          #include <glib-object.h>
          #define GARROW_TYPE_FILE (garrow_file_get_type())
          struct _GArrowFileInterface {
            GTypeInterface g_iface;
          static void
          garrow_file_default_init(GArrowFileInterface *iface)
      Build command line:
          % g++ -Wall -shared -o liba.so a.cpp $(pkg-config --cflags --libs gobject-2.0)
          In file included from /tmp/local.glib/include/glib-2.0/gobject/gobject.h:24,
                           from /tmp/local.glib/include/glib-2.0/gobject/gbinding.h:29,
                           from /tmp/local.glib/include/glib-2.0/glib-object.h:23,
                           from a.cpp:1:
          a.cpp: In function 'GType garrow_file_get_type()':
          /tmp/local.glib/include/glib-2.0/gobject/gtype.h:219:50: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context]
           #define G_TYPE_MAKE_FUNDAMENTAL(x) ((GType) ((x) << G_TYPE_FUNDAMENTAL_SHIFT))
          /tmp/local.glib/include/glib-2.0/gobject/gtype.h:2026:11: note: in definition of macro '_G_DEFINE_INTERFACE_EXTENDED_BEGIN'
                 if (TYPE_PREREQ) \
          /tmp/local.glib/include/glib-2.0/gobject/gtype.h:1758:47: note: in expansion of macro 'G_DEFINE_INTERFACE_WITH_CODE'
           #define G_DEFINE_INTERFACE(TN, t_n, T_P)      G_DEFINE_INTERFACE_WITH_CODE(TN, t_n, T_P, ;)
          a.cpp:16:1: note: in expansion of macro 'G_DEFINE_INTERFACE'
          /tmp/local.glib/include/glib-2.0/gobject/gtype.h:178:25: note: in expansion of macro 'G_TYPE_MAKE_FUNDAMENTAL'
           #define G_TYPE_OBJECT   G_TYPE_MAKE_FUNDAMENTAL (20)
          a.cpp:18:20: note: in expansion of macro 'G_TYPE_OBJECT'
  15. 19 Dec, 2018 2 commits
  16. 18 Dec, 2018 4 commits
  17. 17 Dec, 2018 7 commits
  18. 11 Dec, 2018 4 commits
    • Will Thompson's avatar
      gdbus-codegen: test --interface-info-{header,body} · 0569daeb
      Will Thompson authored
      This test is rudimentary but better than nothing.
      (Backport to glib-2-58: Fix minor merge conflict.)
    • Will Thompson's avatar
      gdbus-codegen: sort input files · fe7b608f
      Will Thompson authored
      This means the output (including lists of filenames) does not depend on
      the order of the input files, which may matter if this tool is invoked
      with a glob or some other mechanism that doesn't guarantee an order.
    • Will Thompson's avatar
      gdbus-codegen: don't sort args in --interface-info-body · 4c4acb6f
      Will Thompson authored
      Previously, method and signal arguments were sorted by name, which
      (assuming you don't happen to give your arguments
      lexicographically-ordered names) means the generated signatures were
      incorrect when there is more than 1 argument.
      While sorting the methods and signals themselves (and properties, and
      annotations on all these) is fine, it's easiest to not sort anything.
    • Will Thompson's avatar
      gdbus-codegen: make --interface-info-{header,body} not crash · 06e1d72f
      Will Thompson authored
      Since 1217b1bc, LICENSE_STR has taken two
      parameters, not one. Without this change, running either mode fails
      with a traceback like:
          Traceback (most recent call last):
            File "../gdbus-codegen", line 55, in <module>
            File ".../codegen_main.py", line 294, in codegen_main
            File ".../codegen.py", line 896, in generate
            File ".../codegen.py", line 682, in generate_body_preamble
          IndexError: tuple index out of range
      8916874e, which introduced these flags,
      was actually merged after that commit, but I assume it was written
  19. 10 Dec, 2018 2 commits
  20. 07 Dec, 2018 1 commit
  21. 02 Dec, 2018 1 commit
  22. 28 Nov, 2018 1 commit