1. 19 Dec, 2018 1 commit
    • Tomasz Mi膮sko's avatar
      tests: Drop autogeneration of offsets tests · 50ca8395
      Tomasz Mi膮sko authored
      Generating offsets test makes them quite hard to understand. The fact
      that they parse C code with custom regular expressions don't help
      either.
      
      Replace offsets test with their generated form.
      50ca8395
  2. 16 Dec, 2018 1 commit
    • Christoph Reiter's avatar
      girepository: Add version macros and functions. Fixes #200 · 9c339f8b
      Christoph Reiter authored
      This adds the following macros and functions: GI_MAJOR_VERSION, GI_MICRO_VERSION,
      GI_MINOR_VERSION, GI_CHECK_VERSION, gi_get_major_version,gi_get_micro_version,
      gi_get_minor_version.
      
      Since we share a prefix with glib we have to namespace these by using the gi_
      prefix. g_gi would also work but we already export symbols with gi_ like
      gi_cclosure_marshal_generic(), gi_type_tag_get_ffi_type() and
      gi_type_info_extract_ffi_return_value(), so let's not add another naming scheme.
      9c339f8b
  3. 11 Aug, 2018 1 commit
  4. 23 Jun, 2018 1 commit
  5. 07 Jun, 2018 1 commit
    • Chun-wei Fan's avatar
      build: Drop Visual Studio projects · 57d59d54
      Chun-wei Fan authored
      We now have Meson build files which can handle builds using Visual
      Studio now, so we should focus maintenance efforts on the build system
      for Visual Studio on Meson.
      
      This will also allow build options to be more flexible, and has the
      advantage of being able to build directly out of a GIT checkout, without
      needing to generate source dist tarballs.
      57d59d54
  6. 16 Feb, 2017 1 commit
  7. 15 Jun, 2016 1 commit
  8. 26 Jun, 2015 2 commits
  9. 21 Jun, 2015 1 commit
    • Garrett Regier's avatar
      girepository: Add g_struct_info_find_field() · cf6ea680
      Garrett Regier authored
      Add find_field utility function for finding a field info by name.
      Beyond convenience, this should be faster than manually using
      the get_n_fields and get_field functions because get_field does
      an additional iteration for each field to calculate offsets O(n^2).
      Thus find_field combines the offset and comparison
      computations into a single loop O(n).
      
      Based on a patch by Simon Feltman.
      cf6ea680
  10. 20 Apr, 2015 1 commit
  11. 13 Feb, 2015 3 commits
  12. 10 Oct, 2013 1 commit
  13. 08 Oct, 2013 1 commit
  14. 16 Jun, 2013 1 commit
  15. 06 May, 2013 2 commits
  16. 15 Feb, 2013 1 commit
  17. 11 Feb, 2013 1 commit
    • Jasper St. Pierre's avatar
      tests: Use Regress GIR for doctool · 86f7acf0
      Jasper St. Pierre authored
      This makes us test a lot more functionality in the doc tool, and
      removes the need to have a lot of different test libraries, and
      different test infrastructure.
      86f7acf0
  18. 07 Feb, 2013 4 commits
  19. 01 Feb, 2013 1 commit
  20. 09 Jan, 2013 2 commits
    • Jasper St. Pierre's avatar
      .gitignore: Ignore most .page files · 98ee0f55
      Jasper St. Pierre authored
      While testing g-ir-doctool, it's common to generate a directory
      full of a large number of small .page files inside the source
      directory, which slows down git a lot while searching for untracked
      files. Ignore the .page files for now, so git doesn't have to look
      in its database for every one.
      98ee0f55
    • Jasper St. Pierre's avatar
      .gitignore: Add WarnLib · b31ec576
      Jasper St. Pierre authored
      b31ec576
  21. 28 Nov, 2012 1 commit
  22. 15 Nov, 2012 1 commit
  23. 29 Aug, 2012 1 commit
  24. 06 Jul, 2012 1 commit
  25. 06 Mar, 2012 1 commit
    • Matthew Booth's avatar
      Fix matching of methods named *_get_type() · ab8a6d96
      Matthew Booth authored
      The code which heuristically turned functions into class methods would always
      ignore any function called *_get_type or *_get_gtype. However, the code which
      looked for GI metadata functions to execute them was much more comprehensive,
      checking not just the name, but also that it had no parameters and that it
      returned a GType.
      
      This change abstracts the more comprehensive check into the Function class, and
      uses the same check in both places.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=671218
      ab8a6d96
  26. 21 Feb, 2012 1 commit
  27. 20 Dec, 2011 1 commit
  28. 29 Aug, 2011 1 commit
  29. 13 Aug, 2011 3 commits
  30. 27 Jul, 2011 1 commit