1. 20 Sep, 2020 4 commits
  2. 17 Sep, 2020 1 commit
  3. 12 Sep, 2020 1 commit
  4. 07 Sep, 2020 2 commits
    • Mathieu Duponchelle's avatar
      Merge branch 'fix-350' into 'master' · 8b0a7f4c
      Mathieu Duponchelle authored
      giscanner: Fix section matching for documentation
      
      Closes #350
      
      See merge request !237
      8b0a7f4c
    • James Westman's avatar
      giscanner: Fix section matching for documentation · de6512b3
      James Westman authored
      When writing documentation to the GIR files, GIR tries to match
      classes with their matching SECTION: comment in the source code. Some codebases
      use kebab-case or CamelCase for their section names, but GIR always expects
      them to be flatcase or the matching will fail.
      
      This commit converts all section names to flatcase (by removing "-" and
      converting to lowercase) while they are being parsed, so that they are matched
      properly later on.
      
      Fixes #350.
      de6512b3
  5. 05 Sep, 2020 1 commit
  6. 02 Sep, 2020 1 commit
  7. 25 Aug, 2020 1 commit
  8. 24 Aug, 2020 1 commit
    • Chun-wei Fan's avatar
      giscanner: Add support for using clang-cl · b0ffd96e
      Chun-wei Fan authored
      This adds quick support for using 'clang-cl' (CLang's emulation of the Visual
      Studio compiler) to run giscanner.
      
      This will still initialize things mostly in the MSVC fashion, except that it
      will also check whether both 'CC' and 'CXX' envvars are set to
      'clang-cl [args]', as per the way that Meson supports using 'clang-cl'.
      
      Since we are using distutils to set up the compiler instance, when we enable
      'clang-cl' support, we trick distutils that we have already initialized the
      MSVCCompiler parameters as needed.  We just leave out the compiler flags as
      we don't really care about debug symbols nor optimization with the built
      dumper binary, as it is gone as soon as the .gir file is generated.
      
      This will build G-I successfully with all the tests passed.
      b0ffd96e
  9. 23 Aug, 2020 1 commit
  10. 08 Aug, 2020 1 commit
  11. 04 Aug, 2020 1 commit
  12. 03 Aug, 2020 1 commit
  13. 01 Aug, 2020 1 commit
  14. 22 Jul, 2020 3 commits
  15. 14 Jul, 2020 1 commit
  16. 12 Jul, 2020 2 commits
    • Mathieu Duponchelle's avatar
      Add the notion of standalone doc sections. · b8c92fdd
      Mathieu Duponchelle authored
      Up to now, section annotations had to match a class or interface
      name in order to be serialized in the gir.
      
      With this commit, they now get serialized as docsection nodes,
      for potential use by documentation tools.
      b8c92fdd
    • Mathieu Duponchelle's avatar
      giscanner: parse block comments for members and fields · d7504419
      Mathieu Duponchelle authored
      There was previously no mechanism for tagging enum members
      and struct fields with Since tags (or other, eg deprecation tags).
      
      While the customary place to add Since tags for these symbols
      is inline in the parent symbol's documentation eg:
      
      /**
       * Foo:
       *
       * @FOO_BAR: some bar. Since X.Y
       */
      
      And variations on that theme, implementing parsing for that scheme
      would result in a pretty ambiguous grammar, especially if we also
      want support for multiple tags.
      
      Instead, the solution implemented here is to allow providing
      documentation for individual members and fields through their
      own separate block, as is done for virtual functions already.
      
      Inline comments are still used, with a lower precedence.
      
      Fixes #348
      d7504419
  17. 26 Jun, 2020 1 commit
  18. 24 Jun, 2020 2 commits
  19. 17 Jun, 2020 2 commits
  20. 07 Jun, 2020 1 commit
  21. 26 May, 2020 1 commit
  22. 19 May, 2020 5 commits
  23. 18 May, 2020 1 commit
  24. 17 May, 2020 4 commits