1. 03 Feb, 2014 4 commits
  2. 08 Oct, 2013 1 commit
    • Simon Feltman's avatar
      Fix GValue array marshaling leaks and crash fallout · 4623caa7
      Simon Feltman authored
      * Decrement references for results of PySequence_GetItem. There were a few
      places we were not decrementing the Python reference, leaking the value.
      * Add tracking of Python arguments with recursive marshaling cleanup. This
      allows arrays of GValues which have been coerced from Python types to be
      properly free'd (also fixes bug 703662).
      * Use g_variant_ref for variant arguments marked as transfer everything.
      This fixes double free's caused by the decrementing of PySequence_GetItem
      results.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=693402
      4623caa7
  3. 12 Oct, 2012 1 commit
  4. 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
  5. 31 May, 2011 2 commits
  6. 26 May, 2011 1 commit
  7. 23 May, 2011 1 commit
  8. 12 May, 2011 1 commit
  9. 05 May, 2011 1 commit
  10. 29 Apr, 2011 1 commit
  11. 28 Apr, 2011 1 commit
  12. 12 Apr, 2011 1 commit
    • John (J5) Palmieri's avatar
      [gi-invoke-ng] create new framework for cleaning up args · 12aa4e63
      John (J5) Palmieri authored
      * we now have a state machine so we know what point in the marshalling process
        we are and which args need to be cleaned up
      * call the cleanup functions after invoking the gi callable, after marshalling
        the out parameters and at any time an error occures
      12aa4e63