[Xcb] [PATCH 0/2] xcb: Underscore placement in extension name

Vincent Torri vtorri at univ-evry.fr
Mon Apr 9 22:38:37 PDT 2007



while speaking of extension names, why naming the X Fixes extension 
xfixes, and not just fixes ? Same question for xevie, xprint and xtest.

Remark that I do not mention xv ;)

Vincent

On Mon, 9 Apr 2007, Josh Triplett wrote:

> Eamon Walsh wrote:
>> Ian Osgood wrote:
>>> I would argue that extension-oneword should be the default. Of all
>>> the extensions, I think only xc_misc disobeys this rule (and
>>> inconsistently; its version constants are named XCB_XCMISC_*). This
>>> would result in a smaller patchset.
>>
>> Also XPrint -> x_print.  I agree that oneword should be the default
>> behavior (perhaps even the only behavior) but was concerned about
>> backwards compatibility.  If you don't mind breaking XPrint and xc_misc
>> I'd say go for it.
>
> We mind breaking them (the function names for those two extensions should not
> change at this point), but we could certainly change the special case in
> c-client.xsl to only address xc_misc and x_print, and then have all other
> current and future extensions use one word for the extension name.  That seems
> like a reasonable approach to me, and it would remove the need to expand the
> list of special cases in the future.  Please do submit a patch doing that, and
> we'll happily apply it.
>
> Thanks,
> Josh Triplett
>
>
>


More information about the Xcb mailing list