1. 22 Mar, 2012 2 commits
  2. 21 Mar, 2012 2 commits
  3. 19 Mar, 2012 1 commit
  4. 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
  5. 10 Feb, 2012 1 commit
  6. 06 Feb, 2012 1 commit
  7. 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.
  8. 24 Jan, 2012 1 commit
  9. 27 Oct, 2011 1 commit
  10. 21 Oct, 2011 1 commit
  11. 14 Oct, 2011 1 commit
  12. 30 Aug, 2011 1 commit
  13. 26 Aug, 2011 1 commit
  14. 13 Aug, 2011 2 commits
  15. 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).
  16. 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.
  17. 13 Jan, 2011 1 commit
  18. 29 Nov, 2010 3 commits
  19. 23 Sep, 2010 2 commits
  20. 17 Sep, 2010 1 commit
    • John (J5) Palmieri's avatar
      minor fixes in tests for py3k compat · dec9001d
      John (J5) Palmieri authored
      * add a _bytes wrapper for API that expects bytes in py3k but str in py2
      * fix some more exception handling using sys.exc_info()[:2]
      * use range instead of xrange, items instead of iteritems since py3k
        dropped support for the different ways of accessing iterators
        - this is less efficient in py2 but we plan to target py3k as the
          primary platform
      * use list(dict.items()) since py3k only returns iterables which are not
      * missed some _long wrapping
  21. 08 Sep, 2010 2 commits
  22. 07 Sep, 2010 1 commit
  23. 31 Aug, 2010 1 commit
    • Colin Walters's avatar
      tests: Port to new introspection tests · 720e614a
      Colin Walters authored
      Everything is renamed "Regress", and both it and GIMarshallingTests
      are now in source form, so we compile them.
      The scanner now adds "static methods" to objects, structs, and unions,
      so update the test code to use those.
      In the tests, remove broken (inout) cases - the person writing these
      tests misunderstood the semantics of (inout).  It's not acceptable for
      a C API to mutate e.g. a GSList* passed in, or unref an object.
      The invocation code needed to be updated for this - remove some
      broken hacks.
  24. 27 Jul, 2010 1 commit
  25. 26 Jul, 2010 1 commit
  26. 15 Jul, 2010 1 commit
  27. 25 Jun, 2010 1 commit
  28. 23 Jun, 2010 1 commit
  29. 20 Jun, 2010 2 commits
  30. 14 Jun, 2010 1 commit
  31. 09 Jun, 2010 1 commit
  32. 03 Jun, 2010 1 commit
    • John (J5) Palmieri's avatar
      support for caller-allocates annotations for structs · 1e42ee6e
      John (J5) Palmieri authored
      * out caller-allocates parameters expect an already constructed structure
        to be passed in by reference.  It is then modified and the caller uses the
        modified value.  We support this by using only one level of pointer
      * Only structs are considered to be caller-allocates parameters even if
        they are marked as such by GI.  This is because the GI scanner isn't smart
        enough to correctly guess 100% of the time
      * GValues are a special case of a caller-allocates parameter when cleaning
        up (e.g. g_value_unset is called).  GValues make no sense in a scripting
        language.  Developers should never deal with them.