1. 04 Feb, 2019 2 commits
  2. 02 Feb, 2019 2 commits
  3. 01 Feb, 2019 1 commit
  4. 16 Jan, 2019 2 commits
  5. 13 Jan, 2019 1 commit
  6. 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
  7. 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
  8. 09 Jan, 2019 2 commits
  9. 08 Jan, 2019 6 commits
  10. 07 Jan, 2019 2 commits
  11. 06 Jan, 2019 7 commits
  12. 05 Jan, 2019 3 commits
  13. 04 Jan, 2019 3 commits
  14. 03 Jan, 2019 2 commits
  15. 02 Jan, 2019 1 commit