Permalink
Switch branches/tags
Nothing to show
Commits on Apr 15, 2012
  1. Fix another offset-argument bug

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

    tych0 committed Mar 25, 2012
    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.
  3. Release xpyb 1.3.1

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

    plotnick committed with tych0 Mar 23, 2012
    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>
  5. Fix length field handling, again.

    plotnick committed with tych0 Mar 23, 2012
    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>
  6. Fix up our protobj implementation after merge

    tych0 committed Mar 23, 2012
    The merge made offset a visible parameter, so now we need to pass it along.
  7. Release xpyb 1.3

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

    plotnick committed with tych0 Feb 29, 2012
    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>
  9. Fix building with latest xcbgen

    jd committed with tych0 Mar 22, 2012
    Signed-off-by: Julien Danjou <julien@danjou.info>
  10. Remember to decrement refcount of constructed List elements.

    plotnick committed with tych0 Mar 17, 2012
    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>
  11. Don't leak reply data.

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

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

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

    plotnick committed with tych0 Feb 29, 2012
    …may be NULL.
    
    Signed-off-by: Julien Danjou <julien@danjou.info>
  15. Add m4 directory to fix autogen.

    sigalrm committed with tych0 Jan 5, 2011
  16. Fix installing the .pc file to the right place

    tych0 committed Feb 12, 2012
    When in maintainer mode, packages would sometimes not install to the right
    locations. Also wrote a little note about the nasty hack that it is :-)
Commits on Feb 11, 2012
  1. fix typo

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

    dequis committed Nov 28, 2010
    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.
  2. Adjust INSTALL and README files.

    cortesi committed Nov 28, 2010
Commits on Nov 23, 2010
  1. Added test_event

    dequis committed Nov 23, 2010
  2. Remove iter from extensions and import it from __init__

    dequis committed Nov 23, 2010
    This branch is now working and can be used as a xpyb-git replacement
  3. Compile everything as a single .so file

    dequis committed Nov 23, 2010
    This way, changes are not required for modules to work.
Commits on Nov 22, 2010
  1. Renamed src/xpyb.h -> xcb/xpyb.h

    dequis committed Nov 22, 2010
  2. Merge remote branch 'freedesktop/master' into restructure

    dequis committed Nov 22, 2010
    Conflicts:
    	.gitignore
    	Makefile.am
    	autogen.sh
    	configure.ac
    	src/Makefile.am
Commits on Aug 3, 2010
  1. Borrow XCB_EXTENSION autoconf macro from libxcb.

    sigalrm committed Aug 3, 2010
    Brings configure flags into line with libxcb.
    
    Signed-off-by: Eamon Walsh <efw@eamonwalsh.com>
Commits on Aug 2, 2010
  1. Miscellaneous autotools warning fixes.

    sigalrm committed Aug 2, 2010
    Signed-off-by: Eamon Walsh <efw@eamonwalsh.com>
  2. Use LIBXCB_CFLAGS so that locally installed XCB headers get preferred.

    sigalrm committed Aug 2, 2010
    Signed-off-by: Eamon Walsh <efw@eamonwalsh.com>
  3. Fix previous commit.

    sigalrm committed Aug 2, 2010
    First argument to xcb_discard_reply() is an xcb_connection_t,
    and it can be NULL in the event of a disconnect.
    
    Signed-off-by: Eamon Walsh <efw@eamonwalsh.com>