1. 26 Jul, 2013 1 commit
  2. 25 Jul, 2013 1 commit
  3. 24 Jul, 2013 1 commit
  4. 10 Jul, 2013 1 commit
  5. 05 Apr, 2013 3 commits
  6. 01 Mar, 2013 1 commit
  7. 28 Feb, 2013 1 commit
    • Martin Pitt's avatar
      Fix leak of caller-allocated boxed values · 105e6738
      Martin Pitt authored
      Add a new "allocated_slice" argument to _pygi_boxed_new() which specifies
      whether its "boxed" pointer was allocated using a slice (by giving its size) or
      malloc (by specifying 0), as _pygi_boxed_new cannot determine that itself any
      more.
      
      Use this in _pygi_marshal_to_py_interface_struct() for caller-allocated boxed
      values, as _caller_alloc() uses _pygi_boxed_alloc() for those (i. e. slices),
      which would otherwise leak.
      
      Thanks to Mike Gorse <mgorse@suse.com> for the original patch!
      
      https://bugzilla.gnome.org/show_bug.cgi?id=691501
      105e6738
  8. 27 Feb, 2013 1 commit
  9. 08 Feb, 2013 1 commit
    • Simon Feltman's avatar
      Fix reference leaks with transient floating objects · 5efe2e5c
      Simon Feltman authored
      Unify and refactor caller and callee GObject argument marshalers.
      Combine code from the large switch statement used to marshal
      arguments to and from vfuncs/closures with the marshalers used
      for direct calls to gi functions. This fixes a reference leak
      when marshalling GObjects to Python with transfer=full due to
      the diverging code paths.
      Replace ability in gobject_new_full to optionally sink objects
      with ability to optionaly "steal" objects. This fits the premise
      that binding layers should always sink objects initially. The
      steal argument is then used for marshalling arguments which are
      transfer=full.
      Add hacks and comments to work around GTK+ bugs 693393 and 693400.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=687522
      5efe2e5c
  10. 15 Jan, 2013 1 commit
  11. 14 Jan, 2013 1 commit
  12. 10 Jan, 2013 1 commit
  13. 14 Nov, 2012 1 commit
  14. 20 Aug, 2012 2 commits
  15. 03 Aug, 2012 1 commit
  16. 21 Mar, 2012 1 commit
  17. 09 Mar, 2012 1 commit
  18. 24 Jan, 2012 1 commit
    • Will Thompson's avatar
      Support functions which return GError · adcfe96d
      Will Thompson authored
      GStreamer has the following method:
      
        void gst_message_parse_error (
            GstMessage *message,
            GError **error,
            gchar **debug_message);
      
      With this patch, we marshal the GError out parameter as a GObject.GError
      exception, but return it rather than throwing it. The test cases cover
      two variations on the theme of the function above (one with (transfer
      full), as in GStreamer, and another with (transfer none)) as well as a
      function with return type GError *.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=666098
      adcfe96d
  19. 03 Jan, 2012 1 commit
  20. 02 Nov, 2011 3 commits
  21. 01 Nov, 2011 1 commit
  22. 25 Oct, 2011 1 commit
  23. 16 Sep, 2011 1 commit
    • John (J5) Palmieri's avatar
      fix most warnings · 225f2111
      John (J5) Palmieri authored
      * remove some unused vars
      * correctly cast vars
      * handle deprecated enums in switch statments by using default:
      * unused wanrings still remain in some places
      225f2111
  24. 12 Sep, 2011 1 commit
    • John (J5) Palmieri's avatar
      refactor in/out marshalling to be to_py/from_py · a4e4318b
      John (J5) Palmieri authored
      * in/out make sense from a C perspective but when you get to the
         python layers it makes more sense to label them as to_py and
         from_py to denote which way we are marshalling
       * this helps clear up the difference between callbacks which
         call into python and invoked functions which call into C
       * in the callback case we marshal in values to Python objects
         and out values to C types but in the invoke case we do the
         reverse.  Dealing with to_py/from_py makes the code much more
         resuable and consistant
      
      https://bugzilla.gnome.org/show_bug.cgi?id=658362
      a4e4318b
  25. 25 Aug, 2011 2 commits
  26. 13 Aug, 2011 1 commit
  27. 18 Jul, 2011 1 commit