1. 12 Oct, 2012 1 commit
  2. 27 Jul, 2012 1 commit
    • Martin Pitt's avatar
      Add missing static declarations · aae4e774
      Martin Pitt authored
      This fixes a lot of -Wmissing-prototype warnings.
      
      Also remove _pygi_marshal_cleanup_closure_unref() which is not used anywhere.
      aae4e774
  3. 20 Apr, 2012 1 commit
  4. 16 Mar, 2012 1 commit
    • Martin Pitt's avatar
      Fix Python to C marshalling of GValue arrays · d7d28d71
      Martin Pitt authored
      For GValues we cannot just copy the GValue memory in
      _pygi_marshal_from_py_array(), as the from_py_cleanup() function clears and
      releases the GValue and with it its v_pointer. Use g_value_copy() to copy by
      value instead.
      
      This uncovered another bug in _pygi_marshal_cleanup_from_py_array(): It always
      assumed that C arrays contained pointers, but this is not the case for GValue
      arrays: these are actual struct arrays, not struct pointer arrays (cf. their
      construction in _pygi_marshal_from_py_array()). Check if an array contains
      pointers or values and compute the correct array item pointer for both cases.
      
      Also add a corresponding test case for marshalling GValue arrays from C back to
      Python, which works fine.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=672065
      d7d28d71
  5. 06 Feb, 2012 1 commit
  6. 24 Jan, 2012 1 commit
  7. 25 Oct, 2011 1 commit
  8. 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
  9. 05 Jul, 2011 1 commit
  10. 24 Jun, 2011 1 commit
  11. 15 Jun, 2011 1 commit
  12. 14 Jun, 2011 1 commit
  13. 31 May, 2011 4 commits
  14. 26 May, 2011 2 commits
  15. 23 May, 2011 1 commit
  16. 12 May, 2011 1 commit
  17. 05 May, 2011 1 commit
  18. 29 Apr, 2011 1 commit
  19. 28 Apr, 2011 1 commit
  20. 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