summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-07-18Update README for the last timeHEADmasterAlan Coopersmith1-8/+4
As previously stated in the README, with no one stepping up to maintain, even 2 years past the original 2020 deadline, we are archiving this now. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-03-21Update README for hopefully the second-to-last timeAdam Jackson1-5/+9
Point the URLs at gitlab, note that this project is unmaintained, and point people at xcffib instead. Fixes: xorg/lib/xpyb#1
2017-04-12Add CARD64/INT64 protocol typesMatt Turner1-0/+2
The following commit to xcb/proto, included in the 1.9 release, added CARD64 and INT64 types. commit 4d8241c67c83957aa0f612da6823db2d18fdd314 Author: Keith Packard <keithp@keithp.com> Date: Thu Jul 11 15:56:54 2013 -0700 Add CARD64/INT64 protocol types Signed-off-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Uli Schlachter <psychon@znc.in>
2013-08-18xpybConn_call should ensure ext is not NULL before using itAlan Coopersmith1-1/+1
Found by Oracle's Parfait 1.2 static analyzer: Null pointer dereference (CWE 476): Read from null pointer ext at line 322 of /export/alanc/X.Org/amd64-parfait/xcb/xpyb/src/conn.c in function 'xpybConn_call'. Function xpybConn_load_ext may return constant 'NULL' at line 141, called at line 321. Null pointer introduced at line 141 in function 'xpybConn_load_ext'. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-03-23Release xpyb 1.3.11.3.1Julien Danjou2-1/+7
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-03-23Pack requests using standard size and no alignment.Alex Plotnick1-5/+5
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>
2012-03-23Depends on xcb-proto 1.7.1Julien Danjou1-1/+1
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-03-23Fix length field handling, again.Alex Plotnick1-10/+6
This revises commit c5ff7fbf5a53cc20984a20d5461be2fc1f1eac39, which did fix the build, but generated invalid code for (at least) QueryTextExtents. Signed-off-by: Julien Danjou <julien@danjou.info>
2012-03-22Release xpyb 1.31.3Julien Danjou2-11/+25
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-03-22Avoid reference cycles in response instances.Alex Plotnick1-32/+35
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>
2012-03-22Fix building with latest xcbgenJulien Danjou1-1/+5
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-03-22Disable DRI2 buildingJulien Danjou2-5/+5
It does not build for now, but it should not disable building the rest of xpyb. Signed-off-by: Julien Danjou <julien@danjou.info>
2012-03-19Remember to decrement refcount of constructed List elements.Alex Plotnick1-0/+1
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>
2012-03-09Don't leak reply data.Alex Plotnick1-1/+10
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-03-08Ensure that there's still a valid connection to the X server before ↵Alex Plotnick1-0/+4
attempting to send a request. Signed-off-by: Julien Danjou <julien@danjou.info>
2012-03-08Removed unused data field from xpybProtobj.Alex Plotnick2-2/+0
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-03-08Removed prototype for obsolete xpybReply_populate routine.Alex Plotnick1-2/+0
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-03-08Don't blindly access the connection object in xpybCookie_dealloc; it may be ↵Alex Plotnick1-1/+1
NULL. Signed-off-by: Julien Danjou <julien@danjou.info>
2012-03-08Only use the low-order 7 bits of the type code in determining event types.Alex Plotnick1-1/+1
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-01-05Add m4 directory to fix autogen.Eamon Walsh1-0/+1
2010-08-02Borrow XCB_EXTENSION autoconf macro from libxcb.Eamon Walsh3-47/+50
Brings configure flags into line with libxcb. Signed-off-by: Eamon Walsh <efw@eamonwalsh.com>
2010-08-02Miscellaneous autotools warning fixes.Eamon Walsh3-8/+10
Signed-off-by: Eamon Walsh <efw@eamonwalsh.com>
2010-08-02Use LIBXCB_CFLAGS so that locally installed XCB headers get preferred.Eamon Walsh1-1/+1
Signed-off-by: Eamon Walsh <efw@eamonwalsh.com>
2010-08-02Fix previous commit.Eamon Walsh1-1/+3
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>
2010-07-29xpyb bugletAldo Cortesi1-1/+1
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-03-15Add XML files, backup files, and py-compile to .gitignore.Eamon Walsh1-0/+3
Signed-off-by: Eamon Walsh <efw@eamonwalsh.com>
2010-03-15Use xcb_discard_request() when deallocating a cookieJulien Danjou2-1/+2
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-02-02Rename response type field to response_type.Julien Danjou1-1/+1
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-01-25Remove atom constant definitions for xcb-proto 1.6.Eamon Walsh3-75/+1
Based on a patch by Julien Danjou. Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
2010-01-24Fix enum number generation.Julien Danjou1-1/+4
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-01-24Rename reply to reply_type.Julien Danjou3-4/+4
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-01-24Fix check on bad pointerJulien Danjou1-1/+1
Fix last commit. :-( Signed-off-by: Julien Danjou <julien@danjou.info>
2010-01-24Do not raise if poll_for_event has no eventJulien Danjou1-2/+4
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-01-11Do not provide .py built files in dist packagesJulien Danjou1-1/+2
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-01-09Make xpybConn a base typeEamon Walsh3-84/+87
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-01-09Export API for other Python modulesJulien Danjou4-14/+38
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-12-17Fix scope error in generated definition of QueryTextExtents.1.2Aldo Cortesi1-1/+5
(cherry picked from commit aa0fc947a6533bd0b61602ab27304e974eef3dd9)
2009-12-17Release xpyb 1.2Eamon Walsh2-1/+7
2009-12-17Install documentation and README files.Eamon Walsh3-2/+4
2009-12-17Add a copy of the documentation from the wiki.Eamon F Walsh1-0/+218
2009-12-17Add a COPYING file.Eamon F Walsh1-0/+1
2009-08-27Multilib install fixAdam Jackson1-1/+1
2009-04-08Release xpyb 1.11.1Eamon Walsh2-1/+7
2009-04-08Remove auto-generated file.Eamon Walsh1-55/+0
2009-04-07Add a wrap() function to create a Connection object from a raw C pointer.Eamon Walsh3-1/+48
This is necessary to work with xcb_connection_t pointers obtained with a ctype call to XGetXCBConnection() for making XCB calls on a previously opened display, for example by GtkPython. Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
2008-10-22Print the expected and actual buffer size when a list length calculatedEamon Walsh1-2/+3
from a size field is larger than the remaining buffer space. This error is unfortunately getting triggered by incorrect XML specs.
2008-10-17Release xpyb 1.01.0Eamon Walsh2-1/+7
2008-09-12Fix connect call when authorization info is not passed in.Eamon Walsh1-2/+4
2008-09-12Use correct conversion specifier for Py_ssize_t arguments.Eamon Walsh4-7/+7
Fixes x86_64 builds.
2008-07-29Add NEWS file for 0.9 release.0.9Eamon Walsh1-0/+4