Switch branches/tags
sigc1_1_before_patch short-class-names-branch-anchor python22-branch-anchor pygtk-2-6-anchor pygtk-2-4-anchor pygtk-2-0-anchor PYGTK_2_8_2 PYGTK_2_8_1 PYGTK_2_8_0 PYGTK_2_7_4 PYGTK_2_7_3 PYGTK_2_7_2 PYGTK_2_7_1 PYGTK_2_7_0 PYGTK_2_6_3 PYGTK_2_6_2 PYGTK_2_6_1 PYGTK_2_6_0 PYGTK_2_5_4 PYGTK_2_5_3 PYGTK_2_5_2 PYGTK_2_5_1 PYGTK_2_5_0 PYGTK_2_4_1 PYGTK_2_4_0 PYGTK_2_3_97 PYGTK_2_3_96 PYGTK_2_3_95 PYGTK_2_3_94 PYGTK_2_3_93 PYGTK_2_3_92 PYGTK_2_3_91 PYGTK_2_3_90 PYGTK_2_2_0 PYGTK_2_0_0 PYGTK_1_99_18 PYGTK_1_99_17 PYGTK_1_99_16 PYGTK_1_99_14 PYGTK_1_99_13 PYGTK_1_99_12 PYGTK_1_99_11 PYGTK_1_99_10 PYGTK_1_99_9 PYGTK_1_99_8 PYGTK_1_99_7 PYGTK_1_99_6 PYGTK_1_99_5 PYGTK_1_99_4 PYGTK_1_99_3 PYGTK_1_99_2 PYGTK_1_99_1 PYGTK_1_99 PYGTK_0_6_11 PYGTK_0_6_10 PYGTK_0_6_7 PYGOBJECT_2_28_6 PYGOBJECT_2_28_4 PYGOBJECT_2_28_3 PYGOBJECT_2_28_3_tag_correction PYGOBJECT_2_28_3_WINDOWS PYGOBJECT_2_28_2 PYGOBJECT_2_28_1 PYGOBJECT_2_28_0 PYGOBJECT_2_27_91 PYGOBJECT_2_27_90 PYGOBJECT_2_26_0_1_WINDOWS PYGOBJECT_2_26_0 PYGOBJECT_2_21_5 PYGOBJECT_2_21_4 PYGOBJECT_2_21_3 PYGOBJECT_2_21_2 PYGOBJECT_2_21_1 PYGOBJECT_2_21_0 PYGOBJECT_2_20_0 PYGOBJECT_2_19_0 PYGOBJECT_2_19_0_WINDOWS PYGOBJECT_2_18_0 PYGOBJECT_2_17_0 PYGOBJECT_2_16_0 PYGOBJECT_2_15_4 PYGOBJECT_2_15_3 PYGOBJECT_2_15_2 PYGOBJECT_2_15_1 PYGOBJECT_2_15_0 PYGOBJECT_2_14_2 PYGOBJECT_2_14_1 PYGOBJECT_2_14_0 PYGOBJECT_2_13_2 PYGOBJECT_2_13_1 PYGOBJECT_2_13_0 PYGOBJECT_2_12_3 PYGOBJECT_2_12_2 PYGOBJECT_2_12_1 PYGOBJECT_2_12_0 PYGOBJECT_2_11_4 PYGOBJECT_2_11_3 PYGOBJECT_2_11_2 PYGOBJECT_2_11_1 PYGOBJECT_2_11_0
Nothing to show
Commits on Sep 30, 2011
  1. Post release bump version

    nacho committed Sep 30, 2011
  2. Release 3.0.1

    nacho committed Sep 30, 2011
  3. when checking instances union members are same type as parent

    * this is so we can support sending Gdk.Event members in place of
      the Event union into methods
    * we only support this if the union member has a type of GI_INTERFACE for now
    John (J5) Palmieri committed with nacho Sep 22, 2011
Commits on Sep 22, 2011
  1. add a floating flag to pygobjects

    * this allows us to correctly refcount when custom gobjects are instantiated
      via g_object_new
    John (J5) Palmieri committed Sep 22, 2011
  2. Revert "Fix refcount bug by not creating python wrapper during gobjec…

    …t init stage"
    This reverts commit f6fa5dd.
    John (J5) Palmieri committed Sep 22, 2011
  3. make sure to commit the NEWS file

    John (J5) Palmieri committed Sep 22, 2011
Commits on Sep 19, 2011
  1. prep for 3.0 release

    John (J5) Palmieri committed Sep 19, 2011
Commits on Sep 16, 2011
  1. up version required of gobject-introspection to 1.29.0

    John (J5) Palmieri committed Sep 16, 2011
  2. fix most warnings

    * remove some unused vars
    * correctly cast vars
    * handle deprecated enums in switch statments by using default:
    * unused wanrings still remain in some places
    John (J5) Palmieri committed Sep 16, 2011
  3. post release bump

    John (J5) Palmieri committed Sep 16, 2011
Commits on Sep 15, 2011
  1. edit HACKING file to show correct tag format

    John (J5) Palmieri committed Sep 15, 2011
  2. update NEWS file to prep for release

    John (J5) Palmieri committed Sep 15, 2011
  3. fix typo s/lenth/length

    John (J5) Palmieri committed Sep 15, 2011
  4. fix typo in docstring

    John (J5) Palmieri committed Sep 15, 2011
  5. do not pass in len(str) to the length argument of gtk_test_buffer_ins…

    …ert* apis
    * in python 3 len(str) returns the number of characters while the length
      parameter is expecting the number of bytes.  It also excepts -1 for null
      terminated string.  Since all of our strings are null terminated, just
      set length to that.
    John (J5) Palmieri committed Sep 15, 2011
  6. Remove pygtk_version attribute from internal gi._gobject module.

    This used to be provided for backwards compatibility with older PyGTK
    versions. As PyGObject3 no longer provides support for static bindings
    like PyGTK, the pygtk_version attribute has become obsolete.
    committed with John (J5) Palmieri Sep 15, 2011
  7. remove overridesdir from the .pc file and add it to the gi module

    * having the variable in the .pc file caused issues parallel installing
      for different versions of python
    * putting it into the module allows us to give the correct directory
      based on which version of python you run the script from
    * access the var as such:
        import gi
        installdir = gi._overridesdir
    John (J5) Palmieri committed Sep 15, 2011
  8. fix tests to correctly construct a dummy Gtk.TargetEntry

    * structs are sometimes a pain in gi.  Simply constructing them using the
       the standard constructor (e.g. Gtk.TargetEntry()) will malloc the struct
       but not correctly initialize the fields which can cause a crash.
     * tests didn't crash before because they were sending in bogus data that
       somehow did not trigger the issue
     * now with the C struct array marshallers doing the right thing, the incorrect
       use of TargetEntry was causing a crash
    John (J5) Palmieri committed Sep 15, 2011
  9. we now assume that C arrays of structs are flat so memcpy them when m…

    * there is no way in GI to tell if a C array is flat or an array of pointers
      so we assume that all arrays of simple structs and gvalues are flat and
      all arrays of objects and boxed structs are pointer arrays.
    * this will be removed once GI gets the ability to annotate level of indirection
      for arrays
    John (J5) Palmieri committed Sep 15, 2011
  10. only update the arg counts once if child arg comes before parent arg

    * if the child arg comes before the parent arg we need to update the
       argument counts and take the child arg out of the marshalling lists
       since it is handled by the parent
     * when two parents reference the same child arg as is the case with
       two arrays which have a single length argument we only want to update
       the count once
     * to do this we introduce the PYGI_META_ARG_CHILD_NEEDS_UPDATE meta type
       and only do the count update if this is set
     * APIs should keep in mind that this take extra processing so child args
       should really come after their parents
    John (J5) Palmieri committed Sep 15, 2011
  11. Fix refcount bug by not creating python wrapper during gobject init s…

    * This only applys to python subclasses of GObject which are instantiated
     * Because we were creating the wrapper when the gobject is initialized
       and then again calling pygobject_new_full the wrapper would get
       ref'ed twice.
     * we could not simply Py_DECREF the wrapper due to the fact that
       non-subclassed objects (e.g. GObject.Object) instantiated via
       new do not run the same initialization code and would not have the
       extra ref
     * solution was to simply not create the wrapper during initialization
       because if it doesn't exist when pygobject_new_full is called
       it gets created and registered there
     * move the call to __init__ into pyg_object_new
    John (J5) Palmieri committed Sep 15, 2011
Commits on Sep 13, 2011
  1. Drop legacy __gobject_init__ method of GObject.Object.

    This method was used in gobject initialization at some point, but now
    using GObject.__init__() is sufficient, so let's not keep this old
    method around and let people misuse it.
    nud committed with John (J5) Palmieri Sep 2, 2011
  2. AM_CHECK_PYTHON_LIBS does not work for lib64

    But on Windows, Python extension modules need to be explicitly
    linked to libpython.
    committed with John (J5) Palmieri Sep 13, 2011
  3. cast params for PyObject_IsInstance to suppress warnings

    John (J5) Palmieri committed Sep 13, 2011
  4. check if object is actually a PyGFlag before trying to access g_type

     * we are lucky this bit of code worked for as long as it did but when
       checking if an object is a PyGFlag we can't just rely on looking
       at the g_type field because if a regular gobject is passed in
       as is the case when you compare a long to a gflag, the gobject
       will not have a g_type field.  Accessing a non-existant field
       could at best give you a false positive and at worse read
       memory beyond the bounds of the actual structure passed in
    John (J5) Palmieri committed Sep 13, 2011
  5. fix regression - add instance type checks since Py3 no longer does th…

    …is for us
    John (J5) Palmieri committed Sep 13, 2011
Commits on Sep 12, 2011
  1. refactor in/out marshalling to be to_py/from_py

    * 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
    John (J5) Palmieri committed Sep 2, 2011
Commits on Sep 9, 2011