1. 16 Apr, 2020 2 commits
  2. 05 Apr, 2018 1 commit
    • Christoph Reiter's avatar
      build: use -Wconversion -Wno-sign-conversion. Fixes #191 · 5f961b42
      Christoph Reiter authored
      In some cases changing the type used was enough, in some others I just force
      casted things as too many changes would be required and overflow unlikely
      (for array marshalling the cache uses gssize while the marshalling code uses
      garray and thus guint)
      
      My hope is that having this enabled will improve things gradually with
      future cleanups.
      5f961b42
  3. 30 Mar, 2018 1 commit
  4. 23 Mar, 2018 2 commits
  5. 01 Jun, 2016 1 commit
  6. 26 Oct, 2015 1 commit
  7. 22 Sep, 2015 1 commit
    • Christoph Reiter's avatar
      Don't emit require_version warning if namespace was loaded previously using g_irepository_require · ea75a89a
      Christoph Reiter authored
      Instead of tracking loaded dependencies ourself to hide warnings if they
      were loaded by a previous import just look if the namespace was loaded
      before the import. This (a) makes the implementation much simpler and
      (b) also takes into account namespaces loaded outside of Python/PyGObject
      using the libgirepository C API (as is common in applications using
      libpeas with Python plugins)
      
      This also introduces a new Python wrapper for g_irepository_is_registered()
      to allow checking the loading state of namespaces before imports.
      
      This fixes unnecessary require_version warnings in gedit, gnome-builder,
      totem, rhythmbox etc.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=754491
      ea75a89a
  8. 24 Jan, 2015 1 commit
  9. 15 Mar, 2014 1 commit
  10. 18 Apr, 2013 1 commit
  11. 30 Jan, 2013 1 commit
  12. 25 Sep, 2012 1 commit
  13. 22 Feb, 2011 1 commit
  14. 25 Aug, 2010 2 commits
  15. 28 Jul, 2010 1 commit
  16. 27 Jul, 2010 1 commit
    • Tomeu Vizoso's avatar
      Allow specifying a version when loading a typelib · 2082ee35
      Tomeu Vizoso authored
      * gi/importer.py: Defer loading the typelib until first usage.
      * gi/module.py: Load the typelib in IntrospectionModule().
      * gi/overrides/*.py: Adapt to API change.
      * gi/pygi-repository.c: Add wrappers for g_irepository_enumerate and
        g_irepository_get_version.
      2082ee35
  17. 26 May, 2010 1 commit
  18. 08 Nov, 2009 1 commit