A new home for xscope?
josh at freedesktop.org
Tue Aug 2 20:11:07 PDT 2005
Jamey Sharp wrote:
> On Tue, 2005-08-02 at 13:39 -0700, Alan Coopersmith wrote:
>>Mark McLoughlin wrote:
>>> Its such an incredibly useful little that I'd love to add support for
>>>more extensions, get it released and then packaged in Fedora.
>>I think even cooler than adding more extensions would be modifying it to use
>>the XML protocol descriptions from XCB, so we don't have to write code for each
>>new extension. (Generating the code from these would be a start, but ideally,
>>xscope would be able to read the XML files at runtime so we don't have to
>>recompile to add new extensions.)
That sounds amazingly familiar. :) I'd like exactly the same thing.
> That would be great: it's certainly one of the things I hoped would
> happen with those descriptions.
> Anyone wanting to work on this should prod Josh Triplett into putting
> his work on Xamine up somewhere that the world can get at it. (You know
> the XCB CVS repository is open to you, Josh.) My understanding is that
> the Xamine library does for you all of the work except for providing a
> user interface. If I'm not mistaken, Josh has a Ethereal plug-in already
> that uses it, and I assume something like xscope should be easy to build
> as well.
> But of course I haven't seen any of his code. *prod prod* ;-)
Thanks for the reminder. Check out the new libXamine module in XCB CVS.
Note, BTW, that the current state of libXamine is that it doesn't
currently track requests and replies. However, most of the necessary
code to do so is already there; the main missing piece is the code to
associate replies with requests (much like XCB does), and map both to
the corresponding XamineDescription.
I also have a sample implementation of xev on top of libXamine; where
would be a good place to put that? I didn't want to put it in xcb-util
or xcb-demos, since that stuff doesn't depend on Xamine. As it's quite
small, I've attached it to this mail so you can look at it while we find
a place for it; it gives a good flavor to working with libXamine. Note
that if you ignore printing code and window setup code, the actual code
that deals with Xamine is quite small.
Hope this helps.
- Josh Triplett
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 251 bytes
Desc: OpenPGP digital signature
More information about the xorg