Permalink
Commits on Mar 25, 2012
  1. Fix another offset-argument bug

    tych0 committed Mar 25, 2012
  2. Pass an offset when creating events

    Event creation now requires an offset to the parent. We know the offset is
    always zero (we got it from PyBuffer_FromMemory after all...), but we need to
    tell the Event constructors that.
    tych0 committed Mar 25, 2012
  3. Merge remote-tracking branch 'freedesktop/master'

    Conflicts:
    	configure.ac
    tych0 committed Mar 25, 2012
Commits on Mar 23, 2012
  1. Release xpyb 1.3.1

    Signed-off-by: Julien Danjou <julien@danjou.info>
    jd committed Mar 23, 2012
  2. Pack requests using standard size and no alignment.

    By default, Python's struct module automatically adds alignment padding
    between successive structure members. We need precise control over the
    layout of requests, so it's important that we not let it do that.
    
    Signed-off-by: Julien Danjou <julien@danjou.info>
    plotnick committed with jd Mar 23, 2012
  3. Depends on xcb-proto 1.7.1

    Signed-off-by: Julien Danjou <julien@danjou.info>
    jd committed Mar 23, 2012
  4. Fix length field handling, again.

    This revises commit c5ff7fb, which did
    fix the build, but generated invalid code for (at least) QueryTextExtents.
    
    Signed-off-by: Julien Danjou <julien@danjou.info>
    plotnick committed with jd Mar 23, 2012
  5. Fix up our protobj implementation after merge

    The merge made offset a visible parameter, so now we need to pass it along.
    tych0 committed Mar 23, 2012
  6. Merge remote-tracking branch 'freedesktop/master'

    Conflicts:
    	configure.ac
    	src/Makefile.am
    	src/event.c
    	src/protobj.h
    	src/reply.h
    	tools/py_client.py
    	xcb/cookie.c
    tych0 committed Mar 23, 2012
Commits on Mar 22, 2012
  1. Release xpyb 1.3

    Signed-off-by: Julien Danjou <julien@danjou.info>
    jd committed Mar 22, 2012
  2. Avoid reference cycles in response instances.

    The issue is with fields that use self as the parent buffer; we end
    up with cycles that the GC can't collect, since buffer objects aren't
    GC-aware.
    
    Also took the opportunity to replace separate "count" variables with
    offsets wherever possible, and skip size calculations entirely for
    fixed-size Unions.
    
    Signed-off-by: Julien Danjou <julien@danjou.info>
    plotnick committed with jd Feb 29, 2012
  3. Fix building with latest xcbgen

    Signed-off-by: Julien Danjou <julien@danjou.info>
    jd committed Mar 22, 2012
  4. Disable DRI2 building

    It does not build for now, but it should not disable building the rest of xpyb.
    
    Signed-off-by: Julien Danjou <julien@danjou.info>
    jd committed Mar 22, 2012
Commits on Mar 19, 2012
  1. Remember to decrement refcount of constructed List elements.

    After we append a constructed object to self->list, we no longer
    need a reference to it. Failing to decrement its refcount results
    in a memory leak.
    
    Signed-off-by: Julien Danjou <julien@danjou.info>
    plotnick committed with jd Mar 17, 2012
Commits on Mar 9, 2012
  1. Don't leak reply data.

    Signed-off-by: Julien Danjou <julien@danjou.info>
    plotnick committed with jd Feb 29, 2012
Commits on Mar 8, 2012
  1. Ensure that there's still a valid connection to the X server before a…

    …ttempting to send a request.
    
    Signed-off-by: Julien Danjou <julien@danjou.info>
    plotnick committed with jd Feb 29, 2012
  2. Removed unused data field from xpybProtobj.

    Signed-off-by: Julien Danjou <julien@danjou.info>
    plotnick committed with jd Feb 29, 2012
  3. Removed prototype for obsolete xpybReply_populate routine.

    Signed-off-by: Julien Danjou <julien@danjou.info>
    plotnick committed with jd Feb 29, 2012
  4. Don't blindly access the connection object in xpybCookie_dealloc; it …

    …may be NULL.
    
    Signed-off-by: Julien Danjou <julien@danjou.info>
    plotnick committed with jd Feb 29, 2012
  5. Only use the low-order 7 bits of the type code in determining event t…

    …ypes.
    
    Signed-off-by: Julien Danjou <julien@danjou.info>
    plotnick committed with jd Feb 29, 2012
Commits on Feb 29, 2012
Commits on Feb 26, 2012
Commits on Feb 16, 2012
Commits on Feb 13, 2012
Commits on Feb 12, 2012
  1. Fix setup.py to install the .pc file to the right place when in maint…

    …ainer
    
    mode. Also wrote a little note about the nasty hack that it is :-)
    tych0 committed Feb 12, 2012
Commits on Feb 11, 2012
  1. fix typo

    tych0 committed Jan 24, 2012
Commits on Jan 5, 2011
Commits on Dec 3, 2010
Commits on Nov 28, 2010
  1. Implemented xcb.Protobj subclasses in python

    This includes: Struct, Union, Request, Response, Event, Reply, Error.
    
    The Protobj base class itself can't be translated to python because it
    must expose a buffer interface for PyObject_AsReadBuffer, which is also
    called outside of this project, in pycairo.
    dequis committed Nov 28, 2010
  2. Adjust INSTALL and README files.

    cortesi committed Nov 28, 2010