1. 11 Mar, 2019 2 commits
  2. 10 Mar, 2019 1 commit
  3. 07 Mar, 2019 1 commit
  4. 04 Mar, 2019 4 commits
  5. 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.
      d7524c9d
  6. 13 Feb, 2019 2 commits
  7. 04 Feb, 2019 2 commits
  8. 02 Feb, 2019 2 commits
  9. 01 Feb, 2019 1 commit
  10. 16 Jan, 2019 2 commits
  11. 13 Jan, 2019 1 commit
  12. 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.
      329b71b7
  13. 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.
      f606183a
    • 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.
      3b630bfb
    • 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.
      06a460b3
    • 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
      information.
      
      (Rebased and versioning / gtk-doc stuff added by Philip Chimento.)
      
      Closes #38.
      See gjs#55.
      9826d952
  14. 09 Jan, 2019 2 commits
  15. 08 Jan, 2019 6 commits
  16. 07 Jan, 2019 2 commits
  17. 06 Jan, 2019 5 commits