Ian Romanick [Fri, 2 Dec 2011 23:08:57 +0000 (15:08 -0800)]
glx: Replace some 'reserved' fields with explicit padding
In the GLX protocol specs, the various fields named 'reserved' are
just there to provide alignment padding.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
Mike Frysinger [Tue, 8 Nov 2011 21:57:44 +0000 (16:57 -0500)]
add libdir/exec_prefix to xcb-xproto.pc
If we want to base other paths off of exec_prefix or libdir (like the
python path), we can't because the xcb-proto.pc.in file omits those
variables. Add them so people can leverage them in their own builds.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
Alex Plotnick [Thu, 13 Oct 2011 19:08:23 +0000 (15:08 -0400)]
Corrected type of FakeInput rootX & rootY fields
The FakeInput request defined by the XTEST extension has two fields, rootX and
rootY, that are used to indicate relative or absolute pointer coordinates for
fake motion events. These fields are of type INT16, not CARD16. (They must be
signed to allow for negative relative motions and to align with the root-x and
root-y fields of MotionNotify events.)
Signed-off-by: Peter Harris <pharris@opentext.com>
Alex Plotnick [Mon, 3 Oct 2011 15:21:45 +0000 (11:21 -0400)]
Add missing padding bytes to ChangeKeyboardMapping request
https://bugs.freedesktop.org/show_bug.cgi?id=41392
Signed-off-by: Peter Harris <pharris@opentext.com>
Uli Schlachter [Sat, 11 Jun 2011 18:57:23 +0000 (20:57 +0200)]
Add RENDER 0.11 definitions
RENDER 0.11 added PDF blend modes, but no one updated xcb/proto.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Peter Harris <pharris@opentext.com>
James Jones [Tue, 10 May 2011 22:55:09 +0000 (15:55 -0700)]
Add support for fence sync objects
-Add XML to define the fence sync objects and operations
added in XSync version 3.1.
-Bump sync module version to 3.1
Signed-off-by: James Jones <jajones@nvidia.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
David Coles [Fri, 8 Apr 2011 23:49:30 +0000 (16:49 -0700)]
Use absolute imports in xcbgen for Python 3 compatibility
Python 3 has stricter syntax for relative imports. Use absolute imports to
ensure compatibility with all versions of Python. Also break cyclical module
import between state.py and matcher.py by deferring import.
Signed-off-by: David Coles <dcoles@gaikai.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
Peter Harris [Thu, 23 Dec 2010 18:02:52 +0000 (13:02 -0500)]
Merge branch 'master' of git://anongit.freedesktop.org/~peterh/xcbproto
Julien Cristau [Thu, 21 Oct 2010 12:59:37 +0000 (14:59 +0200)]
xproto: fix TranslateCoordinates reply
dst_x and dst_y are signed values (listed as INT16 in the spec).
Signed-off-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
Peter Harris [Wed, 20 Oct 2010 16:05:37 +0000 (12:05 -0400)]
[xkb] Rename type, sequence, and length
These fields are already defined by the protocol. Rename them to avoid
potential name collisions.
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Wed, 20 Oct 2010 14:24:09 +0000 (10:24 -0400)]
Revert "xproto.xml: turned valueparam in CreateWindow request into switch"
This reverts commit
9895cf562c5842813782ce494253c9127e699354.
This is intended to be a temporary revert. When we are ready to migrate
to switch, we should migrate all of the valueparams at the same time.
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Thu, 23 Sep 2010 03:26:16 +0000 (23:26 -0400)]
Fix 'make check'
Adds support for optional bitcase names.
Partially reverts
76ca2c0b152 which appears to have added fixed_type to
xproto.xml by accident.
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Wed, 8 Sep 2010 18:35:32 +0000 (14:35 -0400)]
Merge branch 'gsoc2010' of git://anongit.freedesktop.org/~chr/xcb_proto
Signed-off-by: Peter Harris <pharris@opentext.com>
Christoph Reimann [Mon, 16 Aug 2010 16:32:13 +0000 (18:32 +0200)]
xcbgen: small fix to store anchestor objects more systematic
xml: small fixes according to Xlib or the spec
Christoph Reimann [Mon, 2 Aug 2010 21:27:06 +0000 (23:27 +0200)]
small fix wrt bitcase type names
Christoph Reimann [Thu, 22 Jul 2010 20:53:49 +0000 (22:53 +0200)]
support name attribute for bitcases and set BitcaseType.has_name accordingly
Christoph Reimann [Thu, 15 Jul 2010 08:44:12 +0000 (10:44 +0200)]
xproto.xml: turned valueparam in CreateWindow request into switch
Christoph Reimann [Wed, 14 Jul 2010 23:06:49 +0000 (01:06 +0200)]
assign switch name to bitcases as well (important in case of switch that appear inside another switch)
Christoph Reimann [Tue, 13 Jul 2010 05:59:58 +0000 (07:59 +0200)]
- changed handling of anchestor types (may be more than one now)
- added SwitchType and BitcaseType
Christoph Reimann [Tue, 13 Jul 2010 05:58:24 +0000 (07:58 +0200)]
add support for new expr tags popcount, enumref, sumof
Julien Cristau [Wed, 23 Jun 2010 17:56:26 +0000 (18:56 +0100)]
xf86dri: fix GetDrawableInfo reply
Add missing fields and list of clip rects.
Reviewed-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
Christoph Reimann [Sat, 12 Jun 2010 21:25:08 +0000 (23:25 +0200)]
xcbgen: perform lenfield lookup within all anchestors
Christoph Reimann [Sat, 22 May 2010 16:04:53 +0000 (18:04 +0200)]
changed Exception message in case of unknown/unhandled XML tags
Marcin Kościelnicki [Thu, 13 May 2010 21:06:00 +0000 (21:06 +0000)]
dri2: Add proper padding before driver_name
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
Marcin Kościelnicki [Thu, 13 May 2010 21:05:59 +0000 (21:05 +0000)]
xf86vidmode: Fix padding expressions
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
Marcin Kościelnicki [Thu, 13 May 2010 21:05:58 +0000 (21:05 +0000)]
xcbgen: Add unop support
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
Mikhail Gusarov [Thu, 13 May 2010 21:24:27 +0000 (04:24 +0700)]
Revive support for hex literals in protocol
As a side-effect it also adds octal and binary literals. Exact syntax is
described at http://docs.python.org/reference/lexical_analysis.html#numbers
It is unwise to use full syntax, as there might be other binding generators,
octal, binary and hex literals seem to be safe though.
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
Peter Harris [Mon, 29 Mar 2010 19:26:38 +0000 (15:26 -0400)]
xkb: Fix opcode for Bell and GetState requests
Reviewed-by: Ian Osgood <iano@quirkster.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Wed, 10 Feb 2010 21:07:16 +0000 (16:07 -0500)]
Collection of small fixes for xkb.xml
These were discovered while updating the wireshark dissector:
- Clean up "ID" enum definition and usage
- Clean up XIFeature masks
- Use SetOfGroup (not Group) for masks
- Use LedClass as an enum, not as a mask
Peter Harris [Wed, 11 Nov 2009 19:41:38 +0000 (14:41 -0500)]
Add XKEYBOARD protocol description
Thanks to Mariusz Ceier <mceier@gmail.com> for starting this work, and
to Google's Summer of Code for sponsoring the initial work.
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Wed, 11 Nov 2009 19:41:16 +0000 (14:41 -0500)]
Add description of new protocol elements
These new elements will be used to support XKEYBOARD (and potentially
other troublesome extensions in the future).
Thanks to Mariusz Ceier <mceier@gmail.com> for starting this work, and
to Google's Summer of Code for sponsoring the initial work.
Signed-off-by: Peter Harris <pharris@opentext.com>
Julien Danjou [Wed, 2 Dec 2009 09:06:23 +0000 (10:06 +0100)]
Release xcb-proto 1.6
Signed-off-by: Julien Danjou <julien@danjou.info>
Peter Harris [Fri, 6 Nov 2009 20:48:00 +0000 (15:48 -0500)]
Add pre-defined atoms to Atom enum
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Wed, 28 Oct 2009 20:05:26 +0000 (16:05 -0400)]
Fix length calculation for xfixes/FetchRegion reply
Signed-off-by: Peter Harris <pharris@opentext.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Eamon Walsh [Wed, 21 Oct 2009 22:37:33 +0000 (18:37 -0400)]
Re-fix the ConfigureWindow request padding issue.
We rely on the fact that the valueparam field is treated as a list,
and, like any other list, the Python code will check if the length
field is previously defined in the structure before adding a new one.
This allows us to insert the necessary 2-byte padding.
Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
Eamon Walsh [Wed, 21 Oct 2009 22:22:06 +0000 (18:22 -0400)]
Revert "made changes to support new value-mask-pad field of valueparam structures"
This change fixes a ConfigureWindow request padding issue,
but has a bug that affects xpyb (#24507).
This reverts commit
57934caa3fb207320c33312646d8e98290950f51.
Eric Anholt [Thu, 15 Oct 2009 20:12:50 +0000 (13:12 -0700)]
Add DRI2 protocol, based off of dri2proto.h and the server code. (v2)
v2: Incorporate comments from jcristau, and convert to 2-space indents to
match the dominant style.
Jamey Sharp [Fri, 9 Oct 2009 17:13:33 +0000 (10:13 -0700)]
xf86dri.xml seems to have been wrong forever. Fixes bug #16894.
Guillem Jover [Tue, 22 Sep 2009 17:43:23 +0000 (19:43 +0200)]
Add py-compile to .gitignore
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Peter Harris <pharris@opentext.com>
Julien Danjou [Sun, 16 Aug 2009 09:05:17 +0000 (11:05 +0200)]
shape: add missing padding bytes to GetRectangles
Signed-off-by: Julien Danjou <julien@danjou.info>
Peter Harris [Mon, 1 Jun 2009 18:16:09 +0000 (14:16 -0400)]
Fix typo in xf86vidmode.xml
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Thu, 21 May 2009 19:29:13 +0000 (15:29 -0400)]
Add XML description for the XFree86VidMode extension.
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Thu, 21 May 2009 18:12:24 +0000 (14:12 -0400)]
Add XML description for the Generic Event extension.
Signed-off-by: Peter Harris <pharris@opentext.com>
Julien Danjou [Fri, 29 May 2009 06:12:16 +0000 (08:12 +0200)]
Release xcb-proto 1.5
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Cristau [Tue, 26 May 2009 08:59:26 +0000 (10:59 +0200)]
Fix ShmCompletion event
Reported-by: Remi Denis-Courmont <rdenis@simphalempin.com>
Signed-off-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Tue, 26 May 2009 09:32:18 +0000 (11:32 +0200)]
Revert "shm: fix Completion event fields"
This reverts commit
51c5112d18fc4359c8a3cbe82cb884dcef1a320e.
Julien Danjou [Tue, 26 May 2009 08:45:57 +0000 (10:45 +0200)]
shm: fix Completion event fields
This should fix Debian bug #530560.
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Sat, 9 May 2009 15:58:59 +0000 (17:58 +0200)]
bump version to 1.5
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Cristau [Wed, 22 Apr 2009 17:14:28 +0000 (19:14 +0200)]
Add RandR 1.3 requests
Signed-off-by: Julien Cristau <jcristau@debian.org>
Peter Harris [Tue, 21 Apr 2009 16:33:15 +0000 (12:33 -0400)]
Merge branch 'enum'
Peter Harris [Thu, 9 Apr 2009 19:30:13 +0000 (15:30 -0400)]
Add enum references to fields in SYNC
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Thu, 9 Apr 2009 01:22:56 +0000 (21:22 -0400)]
Add enum references to fields in RENDER
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Tue, 31 Mar 2009 19:54:59 +0000 (15:54 -0400)]
Add enum references to fields in XVideo
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Tue, 17 Mar 2009 19:02:16 +0000 (15:02 -0400)]
Add enum references to fields in XInputExtension
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Mon, 16 Mar 2009 18:57:36 +0000 (14:57 -0400)]
Add enum references to fields in RANDR
Signed-off-by: Peter Harris <pharris@opentext.com>
Julien Danjou [Sat, 11 Apr 2009 23:41:35 +0000 (01:41 +0200)]
xtest: rename window field
The XTest specs call this field 'root' window, which is really more clear
than just 'window'.
Signed-off-by: Julien Danjou <julien@danjou.info>
Eamon Walsh [Wed, 8 Apr 2009 03:56:33 +0000 (23:56 -0400)]
Correct the length calculation for the value field of GetPropertyReply.
value_len only contains the number of data units, which are 1, 2, or 4
bytes depending on the value of the format field. The length of the
value field is thus value_len multiplied by the bytes per unit,
which is format / 8.
Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
Julien Danjou [Mon, 6 Apr 2009 08:55:41 +0000 (10:55 +0200)]
Fix miter spelling
This fixes bug #13140.
Signed-off-by: Julien Danjou <julien@danjou.info>
Peter Harris [Fri, 6 Mar 2009 16:34:11 +0000 (11:34 -0500)]
Add enum references to fields in DPMS
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Wed, 18 Mar 2009 20:39:29 +0000 (16:39 -0400)]
Move enums above their first use in xproto.xml
This change makes it easier to process the xml file in a single streamy
pass.
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Fri, 6 Mar 2009 16:20:17 +0000 (11:20 -0500)]
Add enum references to fields in Damage
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Fri, 6 Mar 2009 16:20:09 +0000 (11:20 -0500)]
Add enum references to fields in XFIXES
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Fri, 6 Mar 2009 15:44:10 +0000 (10:44 -0500)]
Add enum references to fields in Composite
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Thu, 5 Mar 2009 23:26:21 +0000 (18:26 -0500)]
Add enum references to fields in Shape
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Thu, 19 Mar 2009 17:42:19 +0000 (13:42 -0400)]
xinput tweaks
- The 'present' field is boolean
- The spec seems to imply that AxisInfo should be signed.
In actual usage, some devices center on 0, and transmit signed values.
- Add error definitions
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Wed, 25 Feb 2009 21:46:00 +0000 (16:46 -0500)]
Add a variety of 'None' enum types and altenum references.
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Thu, 19 Feb 2009 19:49:11 +0000 (14:49 -0500)]
Add (and use) KeyButMask enum.
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Thu, 19 Feb 2009 19:44:46 +0000 (14:44 -0500)]
Add (and use) Time/CurrentTime enum.
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Thu, 5 Feb 2009 21:09:05 +0000 (16:09 -0500)]
Document enum, altenum, and mask
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Thu, 5 Feb 2009 21:42:50 +0000 (16:42 -0500)]
Add altenum (non-exhaustive enum)
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Thu, 19 Feb 2009 19:37:37 +0000 (14:37 -0500)]
Most usages of ModMask may also take the special value "Any".
Signed-off-by: Peter Harris <pharris@opentext.com>
Julien Danjou [Mon, 16 Feb 2009 10:35:46 +0000 (11:35 +0100)]
Release xcb-proto 1.4
Peter Harris [Thu, 5 Feb 2009 21:01:49 +0000 (16:01 -0500)]
Move the definition of "enum" and "mask" from <field> to "var".
In theory, anything that may contain a value may contain an enum value.
In practise, the Render extension has a <list> of enum in the
QueryPictFormats reply.
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Thu, 5 Feb 2009 21:16:09 +0000 (16:16 -0500)]
Remove obsolete references to XSLT
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Mon, 5 Jan 2009 16:35:10 +0000 (11:35 -0500)]
Add missing enum references to xproto.xml
Fix enum typos in xproto.xml
Signed-off-by: Peter Harris <pharris@opentext.com>
Antoine Latter [Mon, 5 Jan 2009 02:13:13 +0000 (20:13 -0600)]
Associate fields with the enum which describes their allowed values.
Two optional attributes are added to the field element:
enum - This fieled may assume one of the values in the named enum
mask - This fieled is a bitmask of the values in the named enum
Signed-off-by: Julien Danjou <julien@danjou.info>
Antoine Latter [Sun, 28 Dec 2008 00:50:13 +0000 (19:50 -0500)]
Add padding to the setup request struct as required by the protocol.
Add padding to QueryExtension as required by the protocol.
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Wed, 10 Dec 2008 10:33:43 +0000 (11:33 +0100)]
Release xcb-proto 1.3
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Wed, 10 Dec 2008 10:29:30 +0000 (11:29 +0100)]
NEWS: add 1.2 release NEWS
Signed-off-by: Julien Danjou <julien@danjou.info>
Peter Harris [Fri, 17 Oct 2008 20:10:48 +0000 (16:10 -0400)]
Change CARD8 to char when referring to a string in xfixes.xml
Thomas Hunger [Wed, 4 Jul 2007 11:58:25 +0000 (13:58 +0200)]
Change type="CARD8" to type="char" where the X specs require a STRING8
Peter Harris [Tue, 4 Nov 2008 21:19:12 +0000 (16:19 -0500)]
randr: Use xidtype where appropriate
Signed-off-by: Peter Harris <peter.harris@hummingbird.com>
Peter Harris [Wed, 5 Nov 2008 19:08:16 +0000 (14:08 -0500)]
randr: Update to match protocol specification
From
5334bcd14310dd9bf99df5d1391ce119366c6085 Mon Sep 17 00:00:00 2001
From: Peter Harris <peter.harris@hummingbird.com>
Date: Wed, 5 Nov 2008 11:40:40 -0500
Subject: [PATCH] randr: Update to match protocol specification
Some of these changes are semi-cosmetic
- CARD vs INT
- pad vs "status" in some replies
Some of these changes are actual bug fixes:
- ConfigureOutputProperty values
- ChangeOutputProperty data
- SetCrtcConfig outputs
Signed-off-by: Peter Harris <peter.harris@hummingbird.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
Alberto Milone [Wed, 22 Oct 2008 19:59:41 +0000 (15:59 -0400)]
RandR: add missing outputs list to GetCrtcInfoReply.
Peter Harris [Thu, 16 Oct 2008 23:04:40 +0000 (19:04 -0400)]
Move the defintion of STRING8 above its first use in xprint.xml
Signed-off-by: Julien Danjou <julien@danjou.info>
Peter Harris [Thu, 16 Oct 2008 22:58:38 +0000 (18:58 -0400)]
Move structures above their first uses in xinput.xml
This change makes it easier to process the xml file in a single streamy pass.
Signed-off-by: Julien Danjou <julien@danjou.info>
Peter Harris [Thu, 16 Oct 2008 22:40:00 +0000 (18:40 -0400)]
Move Format above its first use in xv.xml
This change makes it easier to process the xml file in a single streamy
pass.
Signed-off-by: Julien Danjou <julien@danjou.info>
Eamon Walsh [Mon, 20 Oct 2008 18:05:37 +0000 (14:05 -0400)]
RandR: Remove extraneous field from GetCrtcInfoReply.
Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
minami [Thu, 16 Oct 2008 21:42:23 +0000 (23:42 +0200)]
render: fix missing field in gradient proto
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Mon, 1 Sep 2008 13:05:46 +0000 (15:05 +0200)]
xv: add missing padding bytes
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Mon, 1 Sep 2008 13:05:44 +0000 (15:05 +0200)]
sync: add missing padding bytes
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Mon, 1 Sep 2008 13:05:43 +0000 (15:05 +0200)]
xproto: add missing padding bytes
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Mon, 1 Sep 2008 13:05:42 +0000 (15:05 +0200)]
shm: add missing padding bytes
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Mon, 1 Sep 2008 13:05:41 +0000 (15:05 +0200)]
shape: add missing padding bytes
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Mon, 1 Sep 2008 13:05:40 +0000 (15:05 +0200)]
render: add missing padding bytes
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Mon, 1 Sep 2008 13:05:39 +0000 (15:05 +0200)]
randr: add missing padding bytes
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Mon, 1 Sep 2008 13:05:38 +0000 (15:05 +0200)]
dpms: add missing padding bytes
Signed-off-by: Julien Danjou <julien@danjou.info>
Carsten Meier [Wed, 3 Sep 2008 10:55:04 +0000 (12:55 +0200)]
Make bit-numbers available to code-generators
The Enum-class now exports the bit numbers in the 'bits'-list
if they have been specified in the protocol description.
Signed-off-by: Bart Massey <bart@cs.pdx.edu>
Carsten Meier [Wed, 3 Sep 2008 10:50:26 +0000 (12:50 +0200)]
Generate values instead of shift-expressions for enum-bits
Now more language independent as some languages don't have
C-like shift-operators.
Signed-off-by: Bart Massey <bart@cs.pdx.edu>
Bart Massey [Wed, 3 Sep 2008 18:37:03 +0000 (11:37 -0700)]
did remaining replacements of hex constants with decimal