[Xcb] support popcount of a list and associated xml changes

Christian Linhart chris at DemoRecorder.com
Thu Sep 4 08:45:00 PDT 2014


Hi all,

In this thread I'll post 
* support for popcount of a list,
  using sumof in order to maximize usage of already existing stuff.

* and all the xml-definitions which can be finished based on that.

Popcount of a list looks like the following in the xml:

        <list type="FP3232" name="axisvalues">
            <sumof ref="valuator_mask">
                <popcount>
                    <listelement-ref/>
                </popcount>
            </sumof>
        </list>

where listelement-ref represents the currently iterated list-element when used inside
a list-iteration expression such as <sumof>.

It was also necessary to fix a few bugs in the generator due to some bugs which were
triggered by the specifics of the xml-definitions of these events.
These are rather unrelated to the popcount topic.
(see the patches for details)

You can also get these patches. including all of my prior patches, at the following git-repos:
http://infra-srv1.demorecorder.com/git/free-sw/xcb/20140904-2/proto
http://infra-srv1.demorecorder.com/git/free-sw/xcb/20140904-2/libxcb

After this patchset, only one request and one reply in xinput.xml are unfinished.

Chris




More information about the Xcb mailing list