1. 07 Oct, 2005 1 commit
    • Johan Dahlin's avatar
      Add GstIterator wrapping and tests. · 7534ba04
      Johan Dahlin authored
      Original commit message from CVS:
      * codegen/argtypes.py:
      * gst/Makefile.am:
      * gst/common.h:
      * gst/gst.defs:
      * gst/gstbin.override:
      * gst/gstelement.override:
      * gst/pygstiterator.c: (pygst_iterator_dealloc),
      (pygst_iterator_iter_next), (pygst_iterator_new):
      * testsuite/test_iterator.py:
      Add GstIterator wrapping and tests.
      7534ba04
  2. 05 Oct, 2005 2 commits
  3. 04 Oct, 2005 2 commits
  4. 28 Sep, 2005 2 commits
    • Thomas Vander Stichele's avatar
      gst/: add/move some code to handle wrapping/refcounting of possible · 57686723
      Thomas Vander Stichele authored
      Original commit message from CVS:
      * gst/Makefile.am:
      * gst/common.h:
      * gst/pygstobject.c: (pygstobject_sink), (pygstobject_new),
      (pygst_object_unref):
      * gst/pygstobject.h:
      * gst/gstmodule.c: (init_gst):
      add/move some code to handle wrapping/refcounting of possible
      GstObject
      * codegen/argtypes.py:
      * gst/gstbin.override:
      * gst/gstbus.override:
      * gst/gstelement.override:
      * gst/gstpad.override:
      * gst/interfaces.override:
      use this reffing code
      * gst/gst-types.defs:
      * gst/gst.override:
      add a __gstrefcount__ field to GstObject types
      add tp_traverse, tp_dealloc and tp_clear, so we handle refcounting
      properly related to garbage collection
      * testsuite/test_element.py:
      * testsuite/test_pad.py:
      add more tests, add some refcount checks
      57686723
    • Edward Hervey's avatar
      codegen/argtypes.py: Proper handling of 'caller-owns-return' for miniobjects · 1bc63d73
      Edward Hervey authored
      Original commit message from CVS:
      * codegen/argtypes.py:
      Proper handling of 'caller-owns-return' for miniobjects
      * gst/gst-types.defs:
      Updating parenting of classes,
      added/removed/updated flags&enums
      * gst/gst.defs:
      Updated to current core cvs,
      Added 'caller-owns-return' properties for functions/methods that require
      it
      * gst/gst.override:
      Don't make *_[un]ref() accessible
      * gst/gstbuffer.override:
      * gst/gstevent.override:
      * gst/gstmessage.override:
      * gst/gstquery.override:
      Removed hack-ish wrappers since codegenerator handles
      'caller-owns-return' methods/functions
      * gst/gstmodule.c: (sink_gstobject), (init_gst):
      Re-enabled sink function
      * gst/libs.defs:
      Updated to current core cvs
      Removed Adapter
      * gst/pygstminiobject.c:
      * gst/pygstminiobject.h:
      removed _new_noref() hack
      1bc63d73
  5. 08 Aug, 2005 1 commit
  6. 28 Jun, 2005 1 commit
    • Edward Hervey's avatar
      codegen/codegen.py: let's not forget to wrap the MiniObject :) · 835f29e2
      Edward Hervey authored
      Original commit message from CVS:
      * codegen/codegen.py: (GstMiniObjectWrapper.constructor_tmpl):
      let's not forget to wrap the MiniObject :)
      * gst/gst-types.defs:
      * gst/gst.defs:
      Always keep up to date with the core
      * gst/gstelement.override:
      override for gst_element_query_position
      * gst/pygstminiobject.c:
      * gst/pygstminiobject.h:
      * gst/gst.override:
      PyGstMiniObject now properly wrap GstMiniObject and are referenced in a
      global hash table
      835f29e2
  7. 26 Jun, 2005 3 commits
    • Edward Hervey's avatar
      codegen/: Backport pygtk 2.6.2 codegen · 685c434a
      Edward Hervey authored
      Original commit message from CVS:
      * codegen/argtypes.py:
      * codegen/codegen.py:
      * codegen/definitions.py:
      * codegen/defsparser.py:
      * codegen/h2def.py:
      * codegen/mergedefs.py:
      * codegen/reversewrapper.py:
      Backport pygtk 2.6.2 codegen
      * gst/gst-types.defs:
      Added fields for Buffer, Event, Message and Query
      Added pre-roll for enum ElementStateReturn
      * gst/gst.defs:
      Added (define-method for gst_structure_nth_field_name()
      * gst/gstelement.override:
      Added override for gst_element_get_state
      * gst/gstcaps.override:
      re-enabled structure functions
      685c434a
    • Edward Hervey's avatar
      codegen/: Updated codegen to support miniobject · febd7499
      Edward Hervey authored
      Original commit message from CVS:
      * codegen/argtypes.py:
      * codegen/codegen.py:
      * codegen/definitions.py:
      * codegen/defsparser.py:
      * codegen/defsconvert.py:
      * codegen/docgen.py:
      Updated codegen to support miniobject
      * gst/Makefile.am:
      Use the included (and modified) codegen for code generation.
      * gst/pygstminiobject.c:
      * gst/pygstminiobject.h:
      * gst/pygstminiobject-private.h:
      New GstMiniObject inspired from pygobject.[ch] code
      * gst/common.h:
      * gst/gst-types.defs:
      * gst/gst.override:
      * gst/gstbuffer.override:
      * gst/gstcaps.override:
      * gst/gstmodule.c:
      * gst/gstpad.override:
      Modifications to support MiniObject
      * gst/gst.defs:
      Allow null second parameter for ElementFactory.create()
      and gst.element_factory_make()
      febd7499
    • Edward Hervey's avatar
      codegen/: Updated codegen to support miniobject · 038f11fa
      Edward Hervey authored
      Original commit message from CVS:
      * codegen/argtypes.py:
      * codegen/codegen.py:
      * codegen/definitions.py:
      * codegen/defsparser.py:
      * codegen/docgen.py:
      Updated codegen to support miniobject
      * gst/Makefile.am:
      Use the included (and modified) codegen for code generation.
      * gst/pygstminiobject.c:
      * gst/pygstminiobject.h:
      * gst/pygstminiobject-private.h:
      New GstMiniObject inspired from pygobject.[ch] code
      * gst/common.h:
      * gst/gst-types.defs:
      * gst/gst.override:
      * gst/gstbuffer.override:
      * gst/gstcaps.override:
      * gst/gstmodule.c:
      * gst/gstpad.override:
      Modifications to support MiniObject
      * gst/gst.defs:
      Allow null second parameter for ElementFactory.create()
      and gst.element_factory_make()
      038f11fa
  8. 03 May, 2004 1 commit
    • Johan Dahlin's avatar
      codegen/codegen.py: Resync (add support for tp_as_buffer) · f63c9539
      Johan Dahlin authored
      Original commit message from CVS:
      * codegen/codegen.py: Resync (add support for tp_as_buffer)
      
      * gst/gst.override: Support buffer interface for GstBuffer. Move
      stuff into common.h, fix wrapping for
      gst_pad_template_get_caps_by_name
      f63c9539
  9. 16 Apr, 2004 2 commits
    • Johan Dahlin's avatar
      configure.ac (PYGTK_CODEGEN): Use built in code generator again and don't... · 90579783
      Johan Dahlin authored
      configure.ac (PYGTK_CODEGEN): Use built in code generator again and don't require 2.3.91, 2.0.0 should do fine (FC1 o...
      
      Original commit message from CVS:
      * configure.ac (PYGTK_CODEGEN): Use built in code generator again
      and don't require 2.3.91, 2.0.0 should do fine (FC1 ok, RH9 isn't)
      
      * TODO: Update
      
      * gst/interfaces.override, gst/play.override: Add typedef for
      python < 2.3
      
      * codegen/codegen.py: Readd :/
      90579783
    • Johan Dahlin's avatar
      gst/gst.override (_wrap_gst_element_tp_new): New, just pointing to _wrap_gst_element_factory_make · 9e404971
      Johan Dahlin authored
      Original commit message from CVS:
      * gst/gst.override (_wrap_gst_element_tp_new): New, just pointing
      to _wrap_gst_element_factory_make
      (_wrap_gst_element_tp_new): Stub, return 1  so tp_new can be used.
      
      * gst/gst.defs (element_factory_make): Remove is-constructor-of
      GstElement.
      
      * codegen/: Remove and use the codegen from pygtk instead
      
      * configure.ac (ACLOCAL): Require 2.3.91 of PyGTK
      9e404971
  10. 15 Mar, 2004 1 commit
  11. 12 Mar, 2004 1 commit
    • Johan Dahlin's avatar
      gstinterfaces/Makefile.am: clean up a little bit · 88f7dd3c
      Johan Dahlin authored
      Original commit message from CVS:
      * gstinterfaces/Makefile.am: clean up a little bit
      
      * gstinterfaces/__init__.py (devloc): s/gstreamer/gst/
      
      * codegen: Resync and appy my interface constructor patch
      88f7dd3c
  12. 05 Mar, 2004 1 commit