Permalink
Switch branches/tags
Commits on Mar 24, 2011
  1. dsextras.py: ensure eol characters are preserved when writing templat…

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

    John (J5) Palmieri committed Mar 23, 2011
  2. prep 2.28.2 release

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

     * 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
    John (J5) Palmieri committed Mar 22, 2011
  2. Fix GSchema tests for separate build tree

    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.
    martinpitt committed Mar 22, 2011
  3. GIO tests: Fix for separate build tree

    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.
    martinpitt committed Mar 22, 2011
Commits on Mar 21, 2011
  1. prep for 2.28.1 release

    John (J5) Palmieri committed Mar 21, 2011
  2. [gi] marshal raw closures

    * 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
    John (J5) Palmieri committed Mar 16, 2011
  3. Revert "Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES"

    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
    martinpitt committed Mar 21, 2011
Commits on Mar 18, 2011
Commits on Mar 16, 2011
  1. [gi-overrides] fix marshalling pygobjects in treemodels

     * 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
    John (J5) Palmieri committed Mar 16, 2011
  2. [gi] Respect the MessageType for Gtk.MessageDialog

    Don't just ignore the type argument, actually pass it on. Thanks to Tualatrix
    Chou for spotting this!
    martinpitt committed Mar 16, 2011
Commits on Mar 15, 2011
  1. [gi] Do not require signature for D-BUS methods without arguments

    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
    martinpitt committed Mar 15, 2011
Commits on Mar 11, 2011
  1. [gi-demos] add pickers demo

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

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

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

    John (J5) Palmieri committed Mar 8, 2011
  2. prep 2.28.0 release

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

    John (J5) Palmieri committed Mar 7, 2011
  2. [gi-demos] catch the correct error class

    John (J5) Palmieri committed Mar 7, 2011
  3. Try not to sink objects returned by C functions.

    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
    nud committed Mar 7, 2011
  4. Do not leak python references when using the gobject.property() helper.

    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
    nud committed with John (J5) Palmieri Mar 6, 2011
  5. [gi] fix try except blocks so they work in Python 2.5

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

    * 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
    John (J5) Palmieri committed Mar 4, 2011
  2. [gi-overrides] handle unichar gvalues when setting treemodels

    John (J5) Palmieri committed Mar 4, 2011
  3. [gi-overrides] special case python 2 keywords that crept in

    John (J5) Palmieri committed Mar 4, 2011
  4. [gi-demos] add iconview demo

    John (J5) Palmieri committed Mar 4, 2011