1. 24 Jun, 2019 3 commits
    • Chun-wei Fan's avatar
      GObject: Fix mkenums.py and genmarshal.py tests on Windows · 75e3f92c
      Chun-wei Fan authored
      The two test scripts actually assumed some *NIX paradigms, so we need
      to adapt them so that they can work on Windows as well, the changes are
      -Call the glib-mkenums and glib-genmarshal Python scripts with the
       Python interpreter, not just relying on shebang lines, on Windows.
       This is because the native Windows console (cmd.exe) does not support
       shebang lines, for subprocess.run().
      -Use NamedTemporaryFile with delete=False, otherwise Windows cannot find
       the temp files we need when running the tests.
      -Use universal_newlines=True for subprocess.run() so that we do not need
       to worry out line ending differences on different systems.
      -Make sure we are not in the temp directories we create, where the tests
       are being run, upon cleanup.  Windows does not like deleting
       directories that we are currently in.
    • Chun-wei Fan's avatar
      gobject/tests/mkenums.py: Fix _write_rspfile() · 108a8d84
      Chun-wei Fan authored
      The 'return f.name' should be in the same level as the body of
      'with tempfile.NamedTemporaryFile(...) as f:'
    • Chun-wei Fan's avatar
      gobject/tests/signals.c: Fix tests on Windows · e1e1e8ee
      Chun-wei Fan authored
      On Windows and possibly other platforms the '%p' printf modifier does
      not prefix printed values with '0x', so do not expect the warning
      message to contain the '0x' prefix for the handler pointer value.
  2. 21 Jun, 2019 1 commit
  3. 17 Jun, 2019 2 commits
    • Christian Hergert's avatar
      gobject: remove use of generic marshaller from GObject · 2a4b5caa
      Christian Hergert authored
      Using the generic marshaller has drawbacks beyond performance. One such
      drawback is that it breaks the stack unwinding from the Linux kernel due
      to having unsufficient data to walk past ffi_call_unixt64. That means that
      performance profiling by application developers looks grouped among
      seemingly unrelated code paths.
      Related to Initiatives#10
    • Christian Hergert's avatar
      gsignal: update documentation about va_marshaller · 266a292a
      Christian Hergert authored
      If we specify a c_marshaller, g_signal_newv() will never assign an
      va_marshaller automatically. So either use NULL (for simple cases), or
      specify both to avoid the generic performance penalty.
  4. 07 Jun, 2019 5 commits
  5. 04 Jun, 2019 1 commit
    • Emmanuele Bassi's avatar
      Allow calling get_property() with an uninitialized GValue · 56a56f1e
      Emmanuele Bassi authored
      We already have the GType with which the GValue should be initialized,
      so requiring an initialized GValue is not really necessary, and it
      actually complicates code that wraps GObject, by requiring the retrieval
      of the GParamSpec in order to get the property type. Additionally, it
      introduces a mostly unnecessary g_value_reset().
      We already changed g_object_getv() to allow passing uninitialized
      GValues, but this fell through the cracks.
      Closes: #737
  6. 30 May, 2019 2 commits
  7. 21 May, 2019 2 commits
  8. 20 May, 2019 2 commits
  9. 17 May, 2019 1 commit
  10. 14 May, 2019 1 commit
  11. 08 May, 2019 1 commit
  12. 02 May, 2019 1 commit
  13. 26 Apr, 2019 1 commit
  14. 22 Apr, 2019 1 commit
    • Michael Gratton's avatar
      build: Remove */.gitignore files · 6b61395c
      Michael Gratton authored
      Since out-of-source-tree builds are now used after switching to meson,
      we don't need .gitignore files in the source directories to ignore
      build artifacts.
      This fixes build errors when doing a meson build after an autotools
      build, because generated files such as gio/xdp-dbus.c won't show up in
      a `git status`, or be removed by a `git clean -f`, and so it won't be
      obvious that such files need to be removed for the meson build to
  15. 16 Apr, 2019 1 commit
    • Adam Duskett's avatar
      Only build tests if certain conditions are met. · e7b0d89a
      Adam Duskett authored
      Currently, there is no way to prevent tests from building using meson.
      When cross-compiling, building the tests isn't necessary.
      Instead, only build the tests on the following conditions:
      1) If not cross-compiling.
      2) If cross-compiling, and there is an exe wrapper.
  16. 16 Mar, 2019 1 commit
    • Emmanuele Bassi's avatar
      Revert "headers: Add various missing G_DISABLE_DEPRECATED guards" · e5ba5845
      Emmanuele Bassi authored
      This reverts commit 80fcb1bc.
      G_DISABLE_DEPRECATED should never be used by anybody, least of all by
      GLib. We have deprecation annotations for the compiler, these days, and
      they are much better suited than a macro that makes symbols appear and
      disappear. The fact that gtk-doc doesn't understand the deprecation
      annotations is a limitation of gtk-doc, and it's gtk-doc that ought to be
      Commit 80fcb1bc broke GStreamer, which disables old API that was
      deprecated before the introduction of the deprecation annotations, but
      still uses newly deprecated one, and relies on the deprecation
      annotations to do their thing. It also broke libsoup, as it uses
      GValueArray in its own API.
  17. 15 Mar, 2019 2 commits
  18. 08 Mar, 2019 2 commits
  19. 07 Mar, 2019 1 commit
  20. 04 Mar, 2019 5 commits
  21. 28 Feb, 2019 1 commit
  22. 27 Feb, 2019 3 commits