1. 05 Jun, 2012 1 commit
  2. 01 Jun, 2012 1 commit
  3. 09 May, 2012 1 commit
  4. 05 May, 2012 1 commit
  5. 03 May, 2012 2 commits
    • Martin Pitt's avatar
      Fix building with --disable-cairo · fd7f8eef
      Martin Pitt authored
      Build gobject-introspection's regress.c against cairo, not pycairo/py3cairo. We
      always need cairo to build, so unconditionally check for this in configure.ac.
      
      In test_everything.py, gracefully handle the absence of the "cairo" Python
      module, which we do not have when building without cairo support.
      fd7f8eef
    • Martin Pitt's avatar
      tests: Fix deprecated assertions · 1c5634e6
      Martin Pitt authored
      assertAlmostEquals 鈫 assertAlmostEqual
      assertNotEquals 鈫 assertNotEqual
      1c5634e6
  6. 24 Apr, 2012 2 commits
  7. 22 Apr, 2012 1 commit
  8. 19 Apr, 2012 2 commits
  9. 09 Apr, 2012 1 commit
  10. 27 Mar, 2012 1 commit
  11. 22 Mar, 2012 5 commits
  12. 21 Mar, 2012 2 commits
  13. 19 Mar, 2012 1 commit
  14. 16 Feb, 2012 1 commit
    • Martin Pitt's avatar
      Add test for GPtrArray with transfer full · 0739c39f
      Martin Pitt authored
      This complements the already existing test for a "transfer container" return
      array. We can't verify the internal refcount as these arrays get marshalled
      internally, but at least we can verify that it does not crash due to
      double-free.
      0739c39f
  15. 10 Feb, 2012 1 commit
  16. 06 Feb, 2012 1 commit
  17. 25 Jan, 2012 1 commit
    • Martin Pitt's avatar
      Fix method names of callback tests · f8240403
      Martin Pitt authored
      Change test_everything.TestCallbacks.* test names from camelCase to the
      standard PEP-8 underscore_style. This is now consistent with all other test
      case names.
      f8240403
  18. 24 Jan, 2012 1 commit
  19. 27 Oct, 2011 1 commit
  20. 21 Oct, 2011 1 commit
  21. 14 Oct, 2011 1 commit
  22. 30 Aug, 2011 1 commit
  23. 26 Aug, 2011 1 commit
  24. 13 Aug, 2011 2 commits
  25. 02 Feb, 2011 1 commit
    • Steve Fr茅cinaux's avatar
      Fix wrong refcount when calling introspected widget constructors · 7bc41228
      Steve Fr茅cinaux authored
      Introspected widget constructors, like Gtk.Button.new(), can return
      objects with a floating reference, which was then reffed by pygobject,
      resulting in two references, despite the object is not owned by anyone.
      
      This patch uses ref_sink() when pygobject takes its own reference, to
      avoid adding that extra reference. Hence we now claim ownership on
      objects returned by constructors with transfer=none (which is the case
      for nearly all the widget constructors, despite the floating ref).
      
      https://bugzilla.gnome.org/show_bug.cgi?id=640868
      7bc41228
  26. 17 Jan, 2011 1 commit
    • Laszlo Pandy's avatar
      In IntrospectionModule and DynamicModule classes, make all instance attributes... · 09c21c79
      Laszlo Pandy authored
      In IntrospectionModule and DynamicModule classes, make all instance attributes start with an underscore.
      
      This changes IntrospectionModule.version to _version and DynamicModule.introspection_module to _introspection_module.
      This is done to mark the attributes as private, and also avoid name collisions with attributes from the typelib.
      In Gstreamer, there is a function gst_version, which was previously inaccessible because of IntrospectionModule.version overriding it.
      09c21c79
  27. 13 Jan, 2011 1 commit
  28. 29 Nov, 2010 3 commits
  29. 23 Sep, 2010 1 commit
    • Damien Caliste's avatar
      pygi: always free the invocation_state struct · a08c9fff
      Damien Caliste authored
      In pygi-invoke.c, the invocation_state struct is never freed
      in case of success. Thus, always call _free_invocation_state()
      before leaving.
      Modify _free_invocation_state to avoid double free in case of
      caller-allocated GValue, once as a released argument in the
      _process routine and another time in the _free as the special
      case. So move all argument releasing code from the _process
      routine to the _free one.
      Modify the tests for the callback routines to return an integer
      value as specified in the GIR file.
      
      Make check is as successful as before (already existing error
      related to GVariant is still there).
      
      https://bugzilla.gnome.org/show_bug.cgi?id=630271
      a08c9fff