[Xlibs] Janitorial works

Jamey Sharp jamey@minilop.net
Mon, 17 Nov 2003 11:44:59 -0800


--O8/n5iBOhiUtMkxf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 11/17 10:20AM, Luciano Montanaro wrote:
> On Sunday 16 November 2003 20:56, Jamey Sharp wrote:
> > Still, note that part of my work with XCL and XCB involves replacing
> > a big chunk of the protocol implementation functions with
> > automatically generated code.
>=20
> Fine. I'll have a look at that also. I see the number of CVS trees
> (and branches) to track is growing.

Sorry. :-)

> I'll try the XCL branch of X11 too, as time permits.

Thanks! It would be a big help.

> I would be interested to know what part of the sources are not
> affected by the port to XCB, so that I could work on code that's not
> going to be useless too soon.

Naturally. XCB is relevant only to the X protocol, by design. There are
some mildly complex protocol wrappers that will probably last a while -
XPutImage comes to mind - but basically you can expect XCL to only
affect these portions of Xlib:

 * Modify XlibInt.c, OpenDis.c;
 * Remove ClDisplay.c, ConnDis.c, x11_trans.[ch];
 * Modify anything that uses the GetReq* macros, etc.

Now, whether much of the rest of Xlib will last long, I couldn't say. I
expect that other peoples' projects, like making Xlib use iconv, will
together have some pretty drastic effects.

> Do you have some timeframe in mind as to when XCL will be generally
> usable?

Well, I've been running it exclusively on my laptop for 10 days now. I
continue finding bugs, but all in all it's working pretty well. I hope
that in a couple of weeks I'll be confident that XCL and XCB are both
ready for widespread testing.

I won't actually touch most of Xlib until after that point, when I'm
confident the core is solid: all my work in XCL right now is in
XlibInt.c and OpenDis.c.

> In the meantime I'll read the XCB docs, and I will try to sort out its
> working.

Cool! Feel free to ask questions of me or the xcb mailing list.
--=20
Jamey Sharp <jamey@minilop.net> - http://minilop.net/

--O8/n5iBOhiUtMkxf
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/uSU7NgAXSpyH6VcRAg9BAJsGgJ8oXl0zn57qHdzn64wRkq7nuACeN7K4
k3J+9pHB1Q0P3d0hzBU6JA8=
=j5Qc
-----END PGP SIGNATURE-----

--O8/n5iBOhiUtMkxf--