1. 03 Feb, 2014 10 commits
  2. 14 Jan, 2014 1 commit
  3. 04 Nov, 2013 1 commit
  4. 14 Oct, 2013 3 commits
    • Simon Feltman's avatar
      Fix GArray, GList, GSList, and GHashTable marshaling leaks · fe217e0a
      Simon Feltman authored
      Remove calling of cleanup code for transfer-everything modes by ensuring
      cleanup_data is set to NULL in from_py marshalers. Use array and hash
      table ref/unref functions for container transfer mode to ensure we have a
      valid container ref after invoke and during from_py cleanup of contents.
      Rework restrictions with to_py marshaling cleanup so we always unref the
      container for transfer-everything and transfer-container modes.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=693402
      fe217e0a
    • Simon Feltman's avatar
      Add cleanup_data argument used for Python to C marshaler cleanup · 7407367f
      Simon Feltman authored
      Add a new output argument to all from_py marshalers which is used for
      keeping track of marshaling data that later needs cleanup. Previously most
      marshalers would rely on the GIArgument->v_pointer as the means for data
      cleanup. However, this pointer would get clobbered in the case of
      bi-directional arguments (inout) and the memory lost.
      Use the new cleanup_data for storing temporarily wrapped C arrays so we
      don't need to re-calculate the length argument during cleanup.
      
      Additionally delay the from_py marshaling cleanup function until after
      _invoke_marshal_out_args is called. This gives inout arguments which don't
      modify the pointer sufficient time to exist until they marshaled back to
      Python (gi_marshalling_tests_gvalue_inout).
      
      https://bugzilla.gnome.org/show_bug.cgi?id=693402
      7407367f
    • Simon Feltman's avatar
      Add support for variable user data arguments · 9456e832
      Simon Feltman authored
      Support a variable number of user data arguments for all callback
      connection function where the user data is the last explicit argument.
      This adds convience as well as consistency with the rest of PyGObject.
      Cleanup overrides for GLib.idle_add, timeout_add, timeout_add_seconds,
      io_add_watch, and child_watch_add which manually implemented this
      feature.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=640812
      9456e832
  5. 09 Oct, 2013 1 commit
  6. 08 Oct, 2013 2 commits
  7. 07 Oct, 2013 1 commit
  8. 26 Sep, 2013 4 commits
  9. 16 Sep, 2013 1 commit
  10. 02 Sep, 2013 1 commit
  11. 29 Jul, 2013 1 commit
  12. 27 Jul, 2013 2 commits
  13. 26 Jul, 2013 6 commits
  14. 25 Jul, 2013 1 commit
  15. 24 Jul, 2013 1 commit
  16. 10 Jul, 2013 1 commit
  17. 03 Jul, 2013 1 commit
  18. 05 Apr, 2013 2 commits