1. 15 Jun, 2019 4 commits
  2. 03 May, 2019 5 commits
    • Chun-wei Fan's avatar
      build: Force-include msvc_recommended_pragmas.h on Visual Studio · 76396d4c
      Chun-wei Fan authored
      By doing so, we essentially cover the various compiler flags that we
      want to use for non-Visual Studio builds to check for warnings that
      might cause real concern.
      This also skips the checks for the various GCC-isque CFlag checks that
      are scattered in the various build files on Visual Studio builds, since
      they are essentially meaningless on Visual Studio builds.
    • Chun-wei Fan's avatar
      giscanner/scannerlexer.l: Include io.h on Windows · d1602127
      Chun-wei Fan authored
      This is to compensate the for the lack of unistd.h on Visual Studio
      builds, and to avoid the compiler warning about the implicit declaration
      of access() as a result.  This is to also prepare for the next commit
      when we force-include msvc_recommended_pragmas.h from GLib on Visual
      Studio builds.
    • Chun-wei Fan's avatar
      MSVC.README.rst: Update VS 2008/x64 build notes · d52338f0
      Chun-wei Fan authored
      It appears that tests/repository/gitypelibtest.c needs to be added to
      the list of files that we must change the optimization flag from /O2 to
      /O1 in order that the Visual Studio 2008 x64 compiler does not hang, due
      to compiler optimization issues.
    • Chun-wei Fan's avatar
      gi-test: Fix gir file tests · 4c5d7d61
      Chun-wei Fan authored
      Meson unfortunately does not normalize the paths for us, so we couldn't
      just rely on it to give us the correct target name without the full
      target path when the path separator is not '/' (such as on Visual Studio
      builds, where the path separator is '\\' (with escape character).
      This means that, that on Visual Studio builds, targetname would be:
      instead of:
      Since we have the targetbase variable which actually has the correct
      info we need, use that to deduce the correct reference .gir file to
      compare to.
    • Christoph Reiter's avatar
      ci: work around mingw python detection issue · 8e283ff6
      Christoph Reiter authored
      Some recent MSYS2 update made autotools no longer detect python3.
      I don't have to time to debug atm, so force the interpreter with
      the PYTHON env var for now.
  3. 21 Apr, 2019 1 commit
  4. 20 Apr, 2019 1 commit
  5. 08 Apr, 2019 2 commits
  6. 07 Apr, 2019 6 commits
  7. 15 Mar, 2019 1 commit
  8. 10 Mar, 2019 2 commits
  9. 08 Mar, 2019 1 commit
  10. 04 Mar, 2019 4 commits
  11. 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.
  12. 13 Feb, 2019 2 commits
  13. 04 Feb, 2019 2 commits
  14. 02 Feb, 2019 2 commits
  15. 01 Feb, 2019 1 commit
  16. 16 Jan, 2019 2 commits
  17. 13 Jan, 2019 1 commit
  18. 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.
  19. 10 Jan, 2019 1 commit
    • 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.