xcb: list & padding

Peter Harris pharris2 at rocketsoftware.com
Tue Aug 13 13:29:05 UTC 2024


https://gitlab.freedesktop.org/xorg/lib/libxcb/-/merge_requests/14 changes it so that lists always require explicit padding (and therefore allows unpadded lists). This MR is stalled. With a little review, I think it can be merged.

As long as you're looking at xkb, see also https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/merge_requests/39

Peter Harris

> -----Original Message-----
> From: xorg-devel <xorg-devel-bounces at lists.x.org> On Behalf Of Enrico Weigelt,
> metux IT consult
> Sent: Tuesday, August 13, 2024 8:04 AM
> To: xorg-devel at lists.x.org
> Subject: xcb: list & padding
>
> EXTERNAL EMAIL
>
>
>
>
>
> Hi folks,
>
>
> does anyone know a way for declaring list fields that explicitly aren't padded ?
>
> I'm currently trying to fix XkbGetKbdByName call and tried adding the variable
> length parameters as lists of bytes (still not fully satisfying as one needs to
> prepend length field). Unfortunately doens't work here due padding of the
> individual lists.
>
>
> thx
> --mtx
>
> --
> ---
> Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert
> werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren GPG/PGP-
> Schlüssel zu.
> ---
> Enrico Weigelt, metux IT consult
> Free software and Linux embedded engineering info at metux.net -- +49-151-
> 27565287

================================
Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA 02451 ■ Main Office Toll Free Number: +1 855.577.4323
Contact Customer Support: https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport
Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - http://www.rocketsoftware.com/manage-your-email-preferences
Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy
================================

This communication and any attachments may contain confidential information of Rocket Software, Inc. All unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify Rocket Software immediately and destroy all copies of this communication. Thank you.


More information about the xorg-devel mailing list