Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: pygobject-2-28
Commits on Mar 24, 2011
  1. @dieterv

    dsextras.py: ensure eol characters are preserved when writing templat…

    dieterv authored
    …e files (so \n does not become \r\n)
  2. @dieterv
Commits on Mar 23, 2011
  1. fix a typo when converting objects to strings gvalues

    John (J5) Palmieri authored
  2. prep 2.28.2 release

    John (J5) Palmieri authored
Commits on Mar 22, 2011
  1. fix static ABI for setting string gvalues from python objects

    John (J5) Palmieri authored
     * the static bindings used to be able to set a string gvalue to any python
       object that implemented __str__, for instance when setting a treemodel column
     * this restores that code while still keeping unicode and python 3
       compatability
  2. @martinpitt

    Fix GSchema tests for separate build tree

    martinpitt authored
    When using a separate build tree, the compiled GSettings schema will be in the
    build tree, but as the test scripts are only in the source tree they won't find
    the compiled schema. Pass the build dir as environment variable and prefer it
    over test_overrides.py's directory.
  3. @martinpitt
  4. @martinpitt

    GIO tests: Fix for separate build tree

    martinpitt authored
    When using a separate build tree, "test_gio.py" is not in the current working
    dir (which is the build tree), but in the srcdir. Use __file__ instead.
Commits on Mar 21, 2011
  1. prep for 2.28.1 release

    John (J5) Palmieri authored
  2. pygi-convert.sh add GObject.xxx and webkit

    authored John (J5) Palmieri committed
  3. [gi] marshal raw closures

    John (J5) Palmieri authored
    * before we were able to marshal python callables into methods that took
      GClosures but we had no way to take a GClosure returned from one
      method and pass it to another - this enables that usecase
    
    https://bugzilla.gnome.org/show_bug.cgi?id=644757
  4. @martinpitt

    Revert "Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES"

    martinpitt authored
    This reverts commit fc7d7f7.
    
    This introduces additional libpython dependencies, which breaks distributions
    which support multiple Python versions, and also causes the python interpreter
    to be in memory twice in some cases.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=620215
Commits on Mar 18, 2011
  1. @dieterv
Commits on Mar 16, 2011
  1. [gi-overrides] fix marshalling pygobjects in treemodels

    John (J5) Palmieri authored
     * PyGObjects wern't being marshalled correctly as python objects when a
       treemodel column was set to take pyobjects
     * Fix this by explicetly marshalling all PyObjects as boxed gvalue types
       in the overrides
  2. @martinpitt

    [gi] Respect the MessageType for Gtk.MessageDialog

    martinpitt authored
    Don't just ignore the type argument, actually pass it on. Thanks to Tualatrix
    Chou for spotting this!
Commits on Mar 15, 2011
  1. @martinpitt

    [gi] Do not require signature for D-BUS methods without arguments

    martinpitt authored
    Calling methods on DBusProxy objects usually requires specifying the signature
    as first argument. However, if the D-BUS method does not take any arguments,
    specifying the empty '()' signature does not give any additional information,
    so allow the caller to just call the proxy method without any arguments.
    
    Also ensure that passing a non-string signature raises a comprehensible
    exception, instead of crashing deep in the GVariant leaf constructor.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=644260
Commits on Mar 11, 2011
  1. [gi-demos] add pickers demo

    John (J5) Palmieri authored
Commits on Mar 10, 2011
  1. [gi-demos] add menu demo

    John (J5) Palmieri authored
Commits on Mar 9, 2011
  1. [gi-overrides] fix exception block so it works in Python 2.5

    John (J5) Palmieri authored
Commits on Mar 8, 2011
  1. post release version bump

    John (J5) Palmieri authored
  2. prep 2.28.0 release

    John (J5) Palmieri authored
Commits on Mar 7, 2011
  1. [gi-demos] some python 3 compat fixes

    John (J5) Palmieri authored
  2. [gi-demos] catch the correct error class

    John (J5) Palmieri authored
  3. @nud

    Try not to sink objects returned by C functions.

    nud authored
    When creating a wrapper around an object to call a python function, we
    try to avoid calling pygobject_sink() when the object was not created by
    pygobject or the static bindings because otherwise we can end up leaking
    one reference for GInitiallyUnowned subclasses if the object was already
    owned by someone else.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=644067
  4. @nud

    Do not leak python references when using the gobject.property() helper.

    nud authored John (J5) Palmieri committed
    Since this helper was storing plain references in a long-lived dict, the
    refcount for the instances would never drop to zero, and so they would
    never get finalized.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=644039
  5. [gi] fix try except blocks so they work in Python 2.5

    John (J5) Palmieri authored
    * use etype, e = sys.exc_info[:2] to extract error details instead of
      except Exception as e or except Exception, e
Commits on Mar 4, 2011
  1. handle uchar as bytes, not strings in python 3

    John (J5) Palmieri authored
    * This worked in Python2 because bytes and strings are equivilant and the macro
      PYGLIB_PyString_FromStringAndSize evaluated to a PyString
    * In Python 3 PYGLIB_PyString_FromStringAndSize evaluates to a PyUnicode
    * PYGLIB_PyBytes_FromStringAndSize evaluates to a PyString in Python 2
      and a PyBytes object in Python 3
  2. [gi-overrides] handle unichar gvalues when setting treemodels

    John (J5) Palmieri authored
  3. [gi-overrides] special case python 2 keywords that crept in

    John (J5) Palmieri authored
  4. [gi-demos] add iconview demo

    John (J5) Palmieri authored
Commits on Mar 3, 2011
  1. [gi] wrap the keyword argument in a dict so we don't break Python 2.5

    John (J5) Palmieri authored
    * python < 2.6 does not allow sending in keyword litterals after sending in
      *args.  You can only send in **kwds.
Something went wrong with that request. Please try again.