[PULL v2] XResource extension v1.2

Alan Coopersmith alan.coopersmith at oracle.com
Mon Apr 16 22:07:55 PDT 2012


BTW, I was just looking at libXRes, and unless I'm missing something,
it appears these changes never got pulled/pushed to it, nor did the
xcb-proto ones.   We seem to have the resourceproto changes and the
server changes, but I don't see any way for clients to use.   Oops?

Is the below pull request still the best source to use for libXRes
& xcb-proto?

	-alan-

On 03/11/11 06:38 AM, Erkki Seppala wrote:
> Hello,
> 
> Here is the pull request for introducing and implementing XResource
> extension v1.2. The previous pull request with some more information
> about this extension, that didn't make it to 1.10, can be viewed at
> 
>   http://www.mail-archive.com/xorg-devel@lists.x.org/msg18418.html 
> 
> .
> 
> These branches have been rebased against the corresponding master
> branches.
> 
> This version has been tested on 64-bit platforms as well and libXRes
> has been slightly amended to fix an issue (hi, Tiago!).
> 
> Cc'd to interested parties.
> 
> ========================================================================
> xorg/xserver:
> 
> The following changes since commit a19771e4337d1c4600550314bbc42a1495a023ff:
>   Erkki Seppälä (1):
>         xfree86/common: Remove a configScreen leak when conf_screen is NULL
> 
> are available in the git repository at:
> 
>   git://gitorious.org/erkkise/fdo-xserver.git client-tracking
> 
> Erkki Seppälä (6):
>       Implemented first part of XResource extension v1.2: X_XResQueryClientIds
>       dix: add a mechanism for iterating through all subresources
>       dix: add hashing functions to resource.h for others to use.
>       dix: add a generic hashtable implementation
>       dix: add reference count of the resource to ResourceSizeRec
>       Xext: add support for X_XResQueryResourceBytes
> 
> Rami Ylimäki (3):
>       render: Report pixmap usage of pictures to resource extension.
>       composite: Report pixmap usage of client windows to resource extension.
>       dix: Add reverse resource name lookup function to registry.
> 
>  Xext/xres.c                  |  830 +++++++++++++++++++++++++++++++++++++++++-
>  composite/compext.c          |   24 ++
>  dix/Makefile.am              |    1 +
>  dix/hashtable.c              |  240 ++++++++++++
>  dix/registry.c               |   10 +
>  dix/resource.c               |  375 ++++++++++++++++++-
>  hw/xfree86/loader/sdksyms.sh |    1 +
>  include/Makefile.am          |    1 +
>  include/hashtable.h          |  113 ++++++
>  include/protocol-versions.h  |    2 +-
>  include/registry.h           |    6 +
>  include/resource.h           |   59 +++
>  render/picture.c             |   24 ++
>  test/Makefile.am             |    3 +-
>  test/hashtabletest.c         |  143 ++++++++
>  15 files changed, 1813 insertions(+), 19 deletions(-)
>  create mode 100644 dix/hashtable.c
>  create mode 100644 include/hashtable.h
>  create mode 100644 test/hashtabletest.c
> 
> ========================================================================
> xorg/proto/resourceproto:
> 
> The following changes since commit 386946098f97b9137af3265b5608fdcf22c7d49a:
>   Alan Coopersmith (1):
>         Add missing XFree86 copyright notice to COPYING
> 
> are available in the git repository at:
> 
>   git://git.gitorious.org/erkkise/fdo-resourceproto.git client-tracking
> 
> Erkki Seppälä (1):
>       Protocol records for XRes v1.2
> 
> Rami Ylimäki (1):
>       Added protocol description for XRes v1.2
> 
>  XResproto.h  |  100 +++++++++++++-
>  resproto.txt |  462 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 561 insertions(+), 1 deletions(-)
>  create mode 100644 resproto.txt
> 
> ========================================================================
> xcb/proto:
> 
> The following changes since commit c4497cdbf0640c376cdebb0a9e5ea62458e6ba51:
>   Peter Harris (1):
>         Merge branch 'master' of git://anongit.freedesktop.org/~peterh/xcbproto
> 
> are available in the git repository at:
> 
>   git://gitorious.org/erkkise/fdo-xcb-proto.git client-tracking
> 
> Erkki Seppälä (1):
>       Prototype for XRes v1.2
> 
>  src/res.xml |   70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
>  1 files changed, 69 insertions(+), 1 deletions(-)
> 
> ========================================================================
> xorg/lib/libXRes:
> 
> The following changes since commit 455c02ee9143b2bfbfd99b6481a1b22a0ce2a2bf:
>   Gaetan Nadon (1):
>         config: comment, minor upgrade, quote and layout configure.ac
> 
> are available in the git repository at:
> 
>   git://gitorious.org/erkkise/fdo-libXRes.git client-tracking
> 
> Erkki Seppälä (2):
>       Implemented first part of XResource extension v1.2: XResQueryClientIds
>       Implemented second part of XResource extension v1.2: XResQueryResourceBytes
> 
>  include/X11/extensions/XRes.h |   79 ++++++++++++++
>  src/XRes.c                    |  230 ++++++++++++++++++++++++++++++++++++++++-
>  2 files changed, 306 insertions(+), 3 deletions(-)
> 
> ========================================================================
> end of pull requests :).


-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list