1. 02 Apr, 2019 3 commits
  2. 25 Mar, 2019 1 commit
    • Christoph Reiter's avatar
      shlibs: fall back to basename on macOS for relative paths. Fixes #222 · fd9125f1
      Christoph Reiter authored
      On macOS we ideally want to write the final absolute path of the library
      into the gir and typelib. Up until now we inferred the install path from
      the .la file in case we used libtool and through otool in case we weren't
      using libtool hoping that the install_name was matching the install path.
      meson currently sets the install_name of libraries to "@rpath/foo.dylib"
      and adds rpaths to the executables in the build dir. Only during install does
      it change the install_name to the absolute target path in all places.
      Since we get called during build time we only get the @rpath from otool,
      which then makes things fail at runtime since the executables don't have
      the matching rpath set.
      To make this somewhat work just fall back to the basename for relative
      paths, so we dlopen "foo.dylib" and depend on things being in /usr/local/lib
      or DYLD_FALLBACK_LIBRARY_PATH including the lib path (see man dlopen)
  3. 24 Mar, 2019 1 commit
  4. 15 Mar, 2019 2 commits
  5. 11 Mar, 2019 2 commits
  6. 10 Mar, 2019 1 commit
  7. 07 Mar, 2019 1 commit
  8. 04 Mar, 2019 4 commits
  9. 02 Mar, 2019 1 commit
    • Christoph Reiter's avatar
      ccompiler: restore customize_compiler() setup for macOS. See #268 · d7524c9d
      Christoph Reiter authored
      The original customize_compiler() calls into  _osx_support.customize_compiler()
      the first time it is used and I didn't copy it in !118 because it is private API.
      Issue #268 points out that the macOS build is broken now so I guess that was important
      in some way. Make sure the setup code is run by calling the original customize_compiler()
      with a dummy compiler instance.
  10. 13 Feb, 2019 2 commits
  11. 04 Feb, 2019 2 commits
  12. 02 Feb, 2019 2 commits
  13. 01 Feb, 2019 1 commit
  14. 16 Jan, 2019 2 commits
  15. 13 Jan, 2019 1 commit
  16. 12 Jan, 2019 1 commit
    • Christoph Reiter's avatar
      autotools: don't pass all the libregress cflags to the scanner. Fixes #226 · 329b71b7
      Christoph Reiter authored
      They contain things like -fvisibility=hidden which, in case of building with
      CFLAGS="-flto -O2" LDFLAGS="-Wl,--as-needed -flto", results in the linker
      throwing out unused symbols and not linking the dumper against libregress.
      This results in errors like:
        Invalid GType function: 'regress_test_enum_get_type'
        Failed to find symbol 'regress_test_enum_get_type'
      Fix this by only passing the required CFLAGS to the scanner instead.
  17. 10 Jan, 2019 5 commits
    • Tomasz Mi膮sko's avatar
      Restore original meaning of disguised attribute. · f606183a
      Tomasz Mi膮sko authored
      > Certain types like GIConv and GdkAtom are pointers internally but don't
      > look like pointers when referenced. They have the form.
      >  typedef struct _X *X;
      > Parse these as structures/records but mark them in the gir with a 'disguised'
      > attribute so that we know that they need special handling.
      Additionally, stop relaying on disguised attribute when deciding whether
      to render a page. Check number of fields instead, so as to avoid
      introducing large regression in the docs.
      Fixes #101.
    • Christoph Reiter's avatar
    • Christoph Reiter's avatar
      maintransformer: when the namespace is empty use error() instead of fatal() · 3b630bfb
      Christoph Reiter authored
      network-manager is calling things like this during configure:
      g-ir-scanner --namespace=test --library=c /dev/null --output /dev/null
      to test if the scanner is working. This results in a fatal error, but
      beause of #229 was ignored.
      Do keep this working after we fix #229 downgrade this to a simple recoverable
      error message. An empty namespace doesn't prevent the scanner from creating
      a .gir file so this should be fine.
    • Christoph Reiter's avatar
      message: simplify handling of error levels · 06a460b3
      Christoph Reiter authored
      Instead of allowing each error level to be enabled just enable all of them
      through the enable_warnings() method. This matches what the code is currently
      doing (minus that one helper script) and simplifies things.
      Also remove the error count, it's not used.
    • Colin Walters's avatar
      repository: g_irepository_get_object_gtype_interfaces · 9826d952
      Colin Walters authored
      Bindings in some cases need to look up information from a GType
      dynamically.  Support that better by supplying a cache for this
      (Rebased and versioning / gtk-doc stuff added by Philip Chimento.)
      Closes #38.
      See gjs#55.
  18. 09 Jan, 2019 2 commits
  19. 08 Jan, 2019 6 commits