2001-04-21 08:04:43 +00:00
|
|
|
#
|
|
|
|
# Fields for X11 dissector.
|
|
|
|
#
|
|
|
|
# Copyright 2000, Christophe Tronche <ch.tronche@computer.org>
|
|
|
|
#
|
2004-07-18 00:24:25 +00:00
|
|
|
# $Id$
|
2001-04-21 08:04:43 +00:00
|
|
|
#
|
2006-05-21 05:12:17 +00:00
|
|
|
# Wireshark - Network traffic analyzer
|
|
|
|
# By Gerald Combs <gerald@wireshark.org>
|
2001-04-21 08:04:43 +00:00
|
|
|
# Copyright 1998 Gerald Combs
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
# of the License, or (at your option) any later version.
|
2010-04-21 00:47:55 +00:00
|
|
|
#
|
2001-04-21 08:04:43 +00:00
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
2010-04-21 00:47:55 +00:00
|
|
|
#
|
2001-04-21 08:04:43 +00:00
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
#
|
|
|
|
|
* X11 dissector:
- in decoding of replies: 0 is not an unknown opcode, it means that the
request was unseen or that the opcode of the request is unknown
(e.g. due to unseen / undecoded QueryExtension replies)
- add special processing for QueryExtension requests & replies in order to
store new opcodes in a value_string of opcodes saved per conversation
- try to resynchronize sequence number once at first reply if no initial
connection request was seen
- add decoding of SendEvent request
- add decoding of many replies (AllocColor, GetInputFocus, GetGeometry,
GetPointerControl, GetScreenSaver, GetSelectionOwner, GrabKeyboard,
GrabPointer, InternAtom, ListProperties, LookupColor, QueryBestSize,
QueryKeymap, QueryPointer, TranslateCoordinates)
- fix decoding of EnterNotify / LeaveNotify events
- add decoding of most events (FocusIn, FocusOut, Expose, GraphicsExpose,
NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, UnmapNotify,
MapNotify, MapRequest, ReparentNotify, ConfigureNotify, GravityNotify,
ResizeRequest, CirculateNotify, CirculateRequest, PropertyNotify,
SelectionClear, SelectionRequest, SelectionNotify, ColormapNotify,
ClientMessage)
- miscellaneous changes & code cleaning
svn path=/trunk/; revision=10442
2004-03-22 22:53:56 +00:00
|
|
|
above-sibling UINT32 HEX
|
2001-04-20 04:16:19 +00:00
|
|
|
acceleration-denominator INT16 DEC
|
|
|
|
acceleration-numerator INT16 DEC
|
2001-04-20 06:01:10 +00:00
|
|
|
access-mode UINT8 DEC VALS
|
2001-04-20 04:16:19 +00:00
|
|
|
address BYTES NONE
|
2002-04-17 08:33:09 +00:00
|
|
|
ip-address IPv4 NONE
|
2001-04-20 04:16:19 +00:00
|
|
|
address-length UINT16 DEC
|
2001-04-20 06:01:10 +00:00
|
|
|
alloc UINT8 DEC VALS
|
|
|
|
allow-events-mode UINT8 DEC VALS
|
|
|
|
allow-exposures UINT8 DEC VALS(yes_no_default)
|
2001-04-20 04:16:19 +00:00
|
|
|
arcs NONE NONE
|
|
|
|
|
|
|
|
arc NONE NONE
|
|
|
|
x INT16 DEC
|
|
|
|
y INT16 DEC
|
|
|
|
width UINT16 DEC
|
|
|
|
height UINT16 DEC
|
|
|
|
angle1 INT16 DEC
|
|
|
|
angle2 INT16 DEC
|
|
|
|
|
2003-07-09 05:23:50 +00:00
|
|
|
arc-mode UINT8 DEC VALS Tell us if we're drawing an arc or a pie
|
2001-04-20 04:16:19 +00:00
|
|
|
atom UINT32 HEX
|
2002-04-16 09:42:31 +00:00
|
|
|
authorization-protocol-name-length UINT16 DEC
|
2009-06-24 02:07:16 +00:00
|
|
|
authorization-protocol-name STRING NONE
|
2002-04-16 09:42:31 +00:00
|
|
|
authorization-protocol-data-length UINT16 DEC
|
2009-06-24 02:07:16 +00:00
|
|
|
authorization-protocol-data STRING NONE
|
2001-04-20 06:01:10 +00:00
|
|
|
auto-repeat-mode UINT8 DEC VALS
|
From Michael Shuldman:
Add support for parsing some X11 replies and events (and
the framework for handling X11 errors it looks like) to the
existing X11 code, which parses X11 requests.
It parses what is the most difficult part of the replies/events,
they Keycode stuff by parsing the Keyboardmapping replies and etc,
and then KeyPress, KeyRelease events and some related stuff (used
for a specific project).
Adding support for parsing the rest of the event/replies should not
be difficult, I think it will mostly consist of going through every
event/reply and add the missing calls for each dataitem i.e. register
the data, the remaining the eventcodes/replies are pretty
straightforward if I remember correctly.
All events and replies are reported, it's the "detailed" (-V option)
that's missing for most.
The replies, events and errors are listed in the Info column,
and are summarized in the protocol summary line.
Bogus if (tree) { } constructs have also been fixed.
List over other misc. stuff added:
- handle multiple outstanding requests.
- add AllocNamedColor to list of requests expecting a reply.
- body for parsing error replies.
- each packet can be sent to us multiple times, try to handle that.
- change request_length display to be what the client actually sends
for x11_request, not what it means (don't multiply by four).
- add some more opcodes expecting a reply (gone through all listed
in the ref. now, so should be complete).
- use hashtable and sequencenumber for matching reply to request.
svn path=/trunk/; revision=9520
2004-01-02 12:52:45 +00:00
|
|
|
|
|
|
|
bitmap-format-bit-order UINT8 HEX VALS(image_byte_order)
|
|
|
|
bitmap-format-scanline-pad UINT8 DEC bitmap format scanline-pad
|
|
|
|
bitmap-format-scanline-unit UINT8 DEC bitmap format scanline unit
|
|
|
|
bytes-after UINT32 DEC bytes after
|
2001-04-20 04:16:19 +00:00
|
|
|
back-blue UINT16 DEC Background blue value for a cursor
|
|
|
|
back-green UINT16 DEC Background green value for a cursor
|
|
|
|
back-red UINT16 DEC Background red value for a cursor
|
|
|
|
background UINT32 HEX Background color
|
|
|
|
background-pixel UINT32 HEX Background color for a window
|
2001-04-20 06:28:34 +00:00
|
|
|
background-pixmap UINT32 HEX VALS Background pixmap for a window
|
2001-04-20 04:16:19 +00:00
|
|
|
backing-pixel UINT32 HEX
|
|
|
|
backing-planes UINT32 HEX
|
2001-04-20 06:01:10 +00:00
|
|
|
backing-store UINT8 DEC VALS
|
2001-04-20 04:16:19 +00:00
|
|
|
bell-duration INT16 DEC
|
|
|
|
bell-percent INT8 DEC
|
|
|
|
bell-pitch INT16 DEC
|
2001-04-20 06:01:10 +00:00
|
|
|
bit-gravity UINT8 DEC VALS(gravity)
|
2003-01-31 05:15:23 +00:00
|
|
|
bit-plane UINT32 HEX
|
2001-04-20 04:16:19 +00:00
|
|
|
blue UINT16 DEC
|
|
|
|
blues UINT16 DEC
|
|
|
|
border-pixel UINT32 HEX
|
2001-04-20 06:28:34 +00:00
|
|
|
border-pixmap UINT32 HEX VALS
|
2001-04-20 04:16:19 +00:00
|
|
|
border-width UINT16 DEC
|
2001-04-20 06:01:10 +00:00
|
|
|
button UINT8 DEC VALS
|
2002-04-16 09:42:31 +00:00
|
|
|
byte-order UINT8 HEX VALS
|
From Michael Shuldman:
Add support for parsing some X11 replies and events (and
the framework for handling X11 errors it looks like) to the
existing X11 code, which parses X11 requests.
It parses what is the most difficult part of the replies/events,
they Keycode stuff by parsing the Keyboardmapping replies and etc,
and then KeyPress, KeyRelease events and some related stuff (used
for a specific project).
Adding support for parsing the rest of the event/replies should not
be difficult, I think it will mostly consist of going through every
event/reply and add the missing calls for each dataitem i.e. register
the data, the remaining the eventcodes/replies are pretty
straightforward if I remember correctly.
All events and replies are reported, it's the "detailed" (-V option)
that's missing for most.
The replies, events and errors are listed in the Info column,
and are summarized in the protocol summary line.
Bogus if (tree) { } constructs have also been fixed.
List over other misc. stuff added:
- handle multiple outstanding requests.
- add AllocNamedColor to list of requests expecting a reply.
- body for parsing error replies.
- each packet can be sent to us multiple times, try to handle that.
- change request_length display to be what the client actually sends
for x11_request, not what it means (don't multiply by four).
- add some more opcodes expecting a reply (gone through all listed
in the ref. now, so should be complete).
- use hashtable and sequencenumber for matching reply to request.
svn path=/trunk/; revision=9520
2004-01-02 12:52:45 +00:00
|
|
|
|
2009-07-08 07:48:13 +00:00
|
|
|
childwindow UINT32 HEX
|
2001-04-20 06:01:10 +00:00
|
|
|
cap-style UINT8 DEC VALS
|
|
|
|
change-host-mode UINT8 DEC VALS(insert_delete)
|
2001-04-20 04:16:19 +00:00
|
|
|
cid UINT32 HEX
|
2001-04-20 06:01:10 +00:00
|
|
|
class UINT8 DEC VALS
|
2001-04-20 06:28:34 +00:00
|
|
|
clip-mask UINT32 HEX VALS(zero_is_none)
|
2001-04-20 04:16:19 +00:00
|
|
|
clip-x-origin INT16 DEC
|
|
|
|
clip-y-origin INT16 DEC
|
2001-04-20 06:01:10 +00:00
|
|
|
close-down-mode UINT8 DEC VALS
|
2001-04-20 04:16:19 +00:00
|
|
|
cmap UINT32 HEX
|
|
|
|
colormap UINT32 HEX
|
* X11 dissector:
- in decoding of replies: 0 is not an unknown opcode, it means that the
request was unseen or that the opcode of the request is unknown
(e.g. due to unseen / undecoded QueryExtension replies)
- add special processing for QueryExtension requests & replies in order to
store new opcodes in a value_string of opcodes saved per conversation
- try to resynchronize sequence number once at first reply if no initial
connection request was seen
- add decoding of SendEvent request
- add decoding of many replies (AllocColor, GetInputFocus, GetGeometry,
GetPointerControl, GetScreenSaver, GetSelectionOwner, GrabKeyboard,
GrabPointer, InternAtom, ListProperties, LookupColor, QueryBestSize,
QueryKeymap, QueryPointer, TranslateCoordinates)
- fix decoding of EnterNotify / LeaveNotify events
- add decoding of most events (FocusIn, FocusOut, Expose, GraphicsExpose,
NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, UnmapNotify,
MapNotify, MapRequest, ReparentNotify, ConfigureNotify, GravityNotify,
ResizeRequest, CirculateNotify, CirculateRequest, PropertyNotify,
SelectionClear, SelectionRequest, SelectionNotify, ColormapNotify,
ClientMessage)
- miscellaneous changes & code cleaning
svn path=/trunk/; revision=10442
2004-03-22 22:53:56 +00:00
|
|
|
colormap-state UINT8 DEC VALS
|
2001-04-20 04:16:19 +00:00
|
|
|
color-items NONE NONE
|
|
|
|
|
|
|
|
coloritem NONE NONE
|
|
|
|
pixel UINT32 HEX
|
|
|
|
red UINT16 DEC
|
|
|
|
green UINT16 DEC
|
|
|
|
blue UINT16 DEC
|
|
|
|
flags UINT8 HEX
|
|
|
|
do-red BOOLEAN 8 0x01
|
|
|
|
do-green BOOLEAN 8 0x02
|
|
|
|
do-blue BOOLEAN 8 0x04
|
|
|
|
unused BOOLEAN 8 0xf8
|
|
|
|
unused NONE NONE
|
|
|
|
|
2001-04-20 06:01:10 +00:00
|
|
|
colors UINT16 DEC The number of color cells to allocate
|
2001-04-20 04:16:19 +00:00
|
|
|
|
|
|
|
configure-window-mask UINT16 HEX
|
|
|
|
x BOOLEAN 16 0x0001
|
|
|
|
y BOOLEAN 16 0x0002
|
|
|
|
width BOOLEAN 16 0x0004
|
|
|
|
height BOOLEAN 16 0x0008
|
|
|
|
border-width BOOLEAN 16 0x0010
|
|
|
|
sibling BOOLEAN 16 0x0020
|
|
|
|
stack-mode BOOLEAN 16 0x0040
|
|
|
|
|
2001-04-20 06:28:34 +00:00
|
|
|
confine-to UINT32 HEX VALS(zero_is_none)
|
2001-04-20 06:01:10 +00:00
|
|
|
contiguous BOOLEAN NONE
|
|
|
|
coordinate-mode UINT8 DEC VALS
|
2001-04-20 04:16:19 +00:00
|
|
|
count UINT8 DEC
|
2001-04-20 06:28:34 +00:00
|
|
|
cursor UINT32 HEX VALS(zero_is_none)
|
2001-04-20 04:16:19 +00:00
|
|
|
dash-offset UINT16 DEC
|
|
|
|
dashes BYTES NONE
|
|
|
|
dashes-length UINT16 DEC
|
2001-04-20 06:01:10 +00:00
|
|
|
do-acceleration BOOLEAN NONE
|
|
|
|
do-threshold BOOLEAN NONE
|
2001-04-20 04:16:19 +00:00
|
|
|
|
2009-07-08 07:48:13 +00:00
|
|
|
detail UINT8 DEC
|
2001-04-20 04:16:19 +00:00
|
|
|
do-not-propagate-mask UINT32 HEX
|
|
|
|
KeyPress BOOLEAN 32 0x00000001
|
|
|
|
KeyRelease BOOLEAN 32 0x00000002
|
|
|
|
ButtonPress BOOLEAN 32 0x00000004
|
|
|
|
ButtonRelease BOOLEAN 32 0x00000008
|
|
|
|
PointerMotion BOOLEAN 32 0x00000040
|
|
|
|
Button1Motion BOOLEAN 32 0x00000100
|
|
|
|
Button2Motion BOOLEAN 32 0x00000200
|
|
|
|
Button3Motion BOOLEAN 32 0x00000400
|
|
|
|
Button4Motion BOOLEAN 32 0x00000800
|
|
|
|
Button5Motion BOOLEAN 32 0x00001000
|
|
|
|
ButtonMotion BOOLEAN 32 0x00002000
|
|
|
|
erroneous-bits BOOLEAN 32 0xffffc0b0
|
|
|
|
|
2009-07-08 07:48:13 +00:00
|
|
|
event-sequencenumber UINT16 DEC
|
|
|
|
error UINT8 DEC
|
From Michael Shuldman:
Add support for parsing some X11 replies and events (and
the framework for handling X11 errors it looks like) to the
existing X11 code, which parses X11 requests.
It parses what is the most difficult part of the replies/events,
they Keycode stuff by parsing the Keyboardmapping replies and etc,
and then KeyPress, KeyRelease events and some related stuff (used
for a specific project).
Adding support for parsing the rest of the event/replies should not
be difficult, I think it will mostly consist of going through every
event/reply and add the missing calls for each dataitem i.e. register
the data, the remaining the eventcodes/replies are pretty
straightforward if I remember correctly.
All events and replies are reported, it's the "detailed" (-V option)
that's missing for most.
The replies, events and errors are listed in the Info column,
and are summarized in the protocol summary line.
Bogus if (tree) { } constructs have also been fixed.
List over other misc. stuff added:
- handle multiple outstanding requests.
- add AllocNamedColor to list of requests expecting a reply.
- body for parsing error replies.
- each packet can be sent to us multiple times, try to handle that.
- change request_length display to be what the client actually sends
for x11_request, not what it means (don't multiply by four).
- add some more opcodes expecting a reply (gone through all listed
in the ref. now, so should be complete).
- use hashtable and sequencenumber for matching reply to request.
svn path=/trunk/; revision=9520
2004-01-02 12:52:45 +00:00
|
|
|
error-badvalue UINT32 DEC error badvalue
|
|
|
|
error_sequencenumber UINT16 DEC error sequencenumber
|
2009-07-08 07:48:13 +00:00
|
|
|
errorcode UINT8 DEC VALS
|
From Michael Shuldman:
Add support for parsing some X11 replies and events (and
the framework for handling X11 errors it looks like) to the
existing X11 code, which parses X11 requests.
It parses what is the most difficult part of the replies/events,
they Keycode stuff by parsing the Keyboardmapping replies and etc,
and then KeyPress, KeyRelease events and some related stuff (used
for a specific project).
Adding support for parsing the rest of the event/replies should not
be difficult, I think it will mostly consist of going through every
event/reply and add the missing calls for each dataitem i.e. register
the data, the remaining the eventcodes/replies are pretty
straightforward if I remember correctly.
All events and replies are reported, it's the "detailed" (-V option)
that's missing for most.
The replies, events and errors are listed in the Info column,
and are summarized in the protocol summary line.
Bogus if (tree) { } constructs have also been fixed.
List over other misc. stuff added:
- handle multiple outstanding requests.
- add AllocNamedColor to list of requests expecting a reply.
- body for parsing error replies.
- each packet can be sent to us multiple times, try to handle that.
- change request_length display to be what the client actually sends
for x11_request, not what it means (don't multiply by four).
- add some more opcodes expecting a reply (gone through all listed
in the ref. now, so should be complete).
- use hashtable and sequencenumber for matching reply to request.
svn path=/trunk/; revision=9520
2004-01-02 12:52:45 +00:00
|
|
|
event-x UINT16 DEC event x
|
|
|
|
event-y UINT16 DEC event y
|
2009-07-08 07:48:13 +00:00
|
|
|
eventbutton UINT8 DEC
|
|
|
|
eventcode UINT8 DEC VALS
|
|
|
|
eventwindow UINT32 HEX
|
From Michael Shuldman:
Add support for parsing some X11 replies and events (and
the framework for handling X11 errors it looks like) to the
existing X11 code, which parses X11 requests.
It parses what is the most difficult part of the replies/events,
they Keycode stuff by parsing the Keyboardmapping replies and etc,
and then KeyPress, KeyRelease events and some related stuff (used
for a specific project).
Adding support for parsing the rest of the event/replies should not
be difficult, I think it will mostly consist of going through every
event/reply and add the missing calls for each dataitem i.e. register
the data, the remaining the eventcodes/replies are pretty
straightforward if I remember correctly.
All events and replies are reported, it's the "detailed" (-V option)
that's missing for most.
The replies, events and errors are listed in the Info column,
and are summarized in the protocol summary line.
Bogus if (tree) { } constructs have also been fixed.
List over other misc. stuff added:
- handle multiple outstanding requests.
- add AllocNamedColor to list of requests expecting a reply.
- body for parsing error replies.
- each packet can be sent to us multiple times, try to handle that.
- change request_length display to be what the client actually sends
for x11_request, not what it means (don't multiply by four).
- add some more opcodes expecting a reply (gone through all listed
in the ref. now, so should be complete).
- use hashtable and sequencenumber for matching reply to request.
svn path=/trunk/; revision=9520
2004-01-02 12:52:45 +00:00
|
|
|
|
* X11 dissector:
- in decoding of replies: 0 is not an unknown opcode, it means that the
request was unseen or that the opcode of the request is unknown
(e.g. due to unseen / undecoded QueryExtension replies)
- add special processing for QueryExtension requests & replies in order to
store new opcodes in a value_string of opcodes saved per conversation
- try to resynchronize sequence number once at first reply if no initial
connection request was seen
- add decoding of SendEvent request
- add decoding of many replies (AllocColor, GetInputFocus, GetGeometry,
GetPointerControl, GetScreenSaver, GetSelectionOwner, GrabKeyboard,
GrabPointer, InternAtom, ListProperties, LookupColor, QueryBestSize,
QueryKeymap, QueryPointer, TranslateCoordinates)
- fix decoding of EnterNotify / LeaveNotify events
- add decoding of most events (FocusIn, FocusOut, Expose, GraphicsExpose,
NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, UnmapNotify,
MapNotify, MapRequest, ReparentNotify, ConfigureNotify, GravityNotify,
ResizeRequest, CirculateNotify, CirculateRequest, PropertyNotify,
SelectionClear, SelectionRequest, SelectionNotify, ColormapNotify,
ClientMessage)
- miscellaneous changes & code cleaning
svn path=/trunk/; revision=10442
2004-03-22 22:53:56 +00:00
|
|
|
first-event UINT8 DEC
|
|
|
|
first-error UINT8 DEC
|
|
|
|
|
2003-01-31 03:17:56 +00:00
|
|
|
gc-dashes UINT8 DEC
|
2001-04-20 04:16:19 +00:00
|
|
|
|
|
|
|
gc-value-mask UINT32 HEX
|
|
|
|
function BOOLEAN 32 0x00000001
|
|
|
|
plane-mask BOOLEAN 32 0x00000002
|
|
|
|
foreground BOOLEAN 32 0x00000004
|
|
|
|
background BOOLEAN 32 0x00000008
|
|
|
|
line-width BOOLEAN 32 0x00000010
|
|
|
|
line-style BOOLEAN 32 0x00000020
|
|
|
|
cap-style BOOLEAN 32 0x00000040
|
|
|
|
join-style BOOLEAN 32 0x00000080
|
|
|
|
fill-style BOOLEAN 32 0x00000100
|
|
|
|
fill-rule BOOLEAN 32 0x00000200
|
|
|
|
tile BOOLEAN 32 0x00000400
|
|
|
|
stipple BOOLEAN 32 0x00000800
|
|
|
|
tile-stipple-x-origin BOOLEAN 32 0x00001000
|
|
|
|
tile-stipple-y-origin BOOLEAN 32 0x00002000
|
|
|
|
font BOOLEAN 32 0x00004000
|
|
|
|
subwindow-mode BOOLEAN 32 0x00008000
|
|
|
|
graphics-exposures BOOLEAN 32 0x00010000
|
|
|
|
clip-x-origin BOOLEAN 32 0x00020000
|
|
|
|
clip-y-origin BOOLEAN 32 0x00040000
|
|
|
|
clip-mask BOOLEAN 32 0x00080000
|
|
|
|
dash-offset BOOLEAN 32 0x00100000
|
|
|
|
gc-dashes BOOLEAN 32 0x00200000
|
|
|
|
arc-mode BOOLEAN 32 0x00400000
|
|
|
|
|
|
|
|
green UINT16 DEC
|
|
|
|
greens UINT16 DEC
|
|
|
|
data BYTES NONE
|
2010-04-21 00:47:55 +00:00
|
|
|
data16 NONE NONE
|
|
|
|
item UINT16 HEX
|
|
|
|
data32 NONE NONE
|
|
|
|
item UINT32 HEX
|
2001-04-20 04:16:19 +00:00
|
|
|
data-length UINT32 DEC
|
2001-04-20 06:01:10 +00:00
|
|
|
delete BOOLEAN NONE Delete this property after reading
|
2001-04-20 04:16:19 +00:00
|
|
|
delta INT16 DEC
|
|
|
|
depth UINT8 DEC
|
* X11 dissector:
- in decoding of replies: 0 is not an unknown opcode, it means that the
request was unseen or that the opcode of the request is unknown
(e.g. due to unseen / undecoded QueryExtension replies)
- add special processing for QueryExtension requests & replies in order to
store new opcodes in a value_string of opcodes saved per conversation
- try to resynchronize sequence number once at first reply if no initial
connection request was seen
- add decoding of SendEvent request
- add decoding of many replies (AllocColor, GetInputFocus, GetGeometry,
GetPointerControl, GetScreenSaver, GetSelectionOwner, GrabKeyboard,
GrabPointer, InternAtom, ListProperties, LookupColor, QueryBestSize,
QueryKeymap, QueryPointer, TranslateCoordinates)
- fix decoding of EnterNotify / LeaveNotify events
- add decoding of most events (FocusIn, FocusOut, Expose, GraphicsExpose,
NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, UnmapNotify,
MapNotify, MapRequest, ReparentNotify, ConfigureNotify, GravityNotify,
ResizeRequest, CirculateNotify, CirculateRequest, PropertyNotify,
SelectionClear, SelectionRequest, SelectionNotify, ColormapNotify,
ClientMessage)
- miscellaneous changes & code cleaning
svn path=/trunk/; revision=10442
2004-03-22 22:53:56 +00:00
|
|
|
destination UINT8 DEC VALS
|
2001-04-20 06:01:10 +00:00
|
|
|
direction UINT8 DEC VALS
|
2001-04-20 04:16:19 +00:00
|
|
|
drawable UINT32 HEX
|
|
|
|
dst-drawable UINT32 HEX
|
|
|
|
dst-gc UINT32 HEX
|
|
|
|
dst-window UINT32 HEX
|
|
|
|
dst-x INT16 DEC
|
|
|
|
dst-y INT16 DEC
|
* X11 dissector:
- in decoding of replies: 0 is not an unknown opcode, it means that the
request was unseen or that the opcode of the request is unknown
(e.g. due to unseen / undecoded QueryExtension replies)
- add special processing for QueryExtension requests & replies in order to
store new opcodes in a value_string of opcodes saved per conversation
- try to resynchronize sequence number once at first reply if no initial
connection request was seen
- add decoding of SendEvent request
- add decoding of many replies (AllocColor, GetInputFocus, GetGeometry,
GetPointerControl, GetScreenSaver, GetSelectionOwner, GrabKeyboard,
GrabPointer, InternAtom, ListProperties, LookupColor, QueryBestSize,
QueryKeymap, QueryPointer, TranslateCoordinates)
- fix decoding of EnterNotify / LeaveNotify events
- add decoding of most events (FocusIn, FocusOut, Expose, GraphicsExpose,
NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, UnmapNotify,
MapNotify, MapRequest, ReparentNotify, ConfigureNotify, GravityNotify,
ResizeRequest, CirculateNotify, CirculateRequest, PropertyNotify,
SelectionClear, SelectionRequest, SelectionNotify, ColormapNotify,
ClientMessage)
- miscellaneous changes & code cleaning
svn path=/trunk/; revision=10442
2004-03-22 22:53:56 +00:00
|
|
|
event-detail UINT8 DEC VALS
|
2001-04-20 04:16:19 +00:00
|
|
|
|
|
|
|
event-mask UINT32 HEX
|
|
|
|
KeyPress BOOLEAN 32 0x00000001
|
|
|
|
KeyRelease BOOLEAN 32 0x00000002
|
|
|
|
ButtonPress BOOLEAN 32 0x00000004
|
|
|
|
ButtonRelease BOOLEAN 32 0x00000008
|
|
|
|
EnterWindow BOOLEAN 32 0x00000010
|
|
|
|
LeaveWindow BOOLEAN 32 0x00000020
|
|
|
|
PointerMotion BOOLEAN 32 0x00000040
|
|
|
|
PointerMotionHint BOOLEAN 32 0x00000080
|
|
|
|
Button1Motion BOOLEAN 32 0x00000100
|
|
|
|
Button2Motion BOOLEAN 32 0x00000200
|
|
|
|
Button3Motion BOOLEAN 32 0x00000400
|
|
|
|
Button4Motion BOOLEAN 32 0x00000800
|
|
|
|
Button5Motion BOOLEAN 32 0x00001000
|
|
|
|
ButtonMotion BOOLEAN 32 0x00002000
|
|
|
|
KeymapState BOOLEAN 32 0x00004000
|
|
|
|
Exposure BOOLEAN 32 0x00008000
|
|
|
|
VisibilityChange BOOLEAN 32 0x00010000
|
|
|
|
StructureNotify BOOLEAN 32 0x00020000
|
|
|
|
ResizeRedirect BOOLEAN 32 0x00040000
|
|
|
|
SubstructureNotify BOOLEAN 32 0x00080000
|
|
|
|
SubstructureRedirect BOOLEAN 32 0x00100000
|
|
|
|
FocusChange BOOLEAN 32 0x00200000
|
|
|
|
PropertyChange BOOLEAN 32 0x00400000
|
|
|
|
ColormapChange BOOLEAN 32 0x00800000
|
|
|
|
OwnerGrabButton BOOLEAN 32 0x01000000
|
|
|
|
erroneous-bits BOOLEAN 32 0xfe000000
|
|
|
|
|
* X11 dissector:
- in decoding of replies: 0 is not an unknown opcode, it means that the
request was unseen or that the opcode of the request is unknown
(e.g. due to unseen / undecoded QueryExtension replies)
- add special processing for QueryExtension requests & replies in order to
store new opcodes in a value_string of opcodes saved per conversation
- try to resynchronize sequence number once at first reply if no initial
connection request was seen
- add decoding of SendEvent request
- add decoding of many replies (AllocColor, GetInputFocus, GetGeometry,
GetPointerControl, GetScreenSaver, GetSelectionOwner, GrabKeyboard,
GrabPointer, InternAtom, ListProperties, LookupColor, QueryBestSize,
QueryKeymap, QueryPointer, TranslateCoordinates)
- fix decoding of EnterNotify / LeaveNotify events
- add decoding of most events (FocusIn, FocusOut, Expose, GraphicsExpose,
NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, UnmapNotify,
MapNotify, MapRequest, ReparentNotify, ConfigureNotify, GravityNotify,
ResizeRequest, CirculateNotify, CirculateRequest, PropertyNotify,
SelectionClear, SelectionRequest, SelectionNotify, ColormapNotify,
ClientMessage)
- miscellaneous changes & code cleaning
svn path=/trunk/; revision=10442
2004-03-22 22:53:56 +00:00
|
|
|
exact-blue UINT16 DEC
|
|
|
|
exact-green UINT16 DEC
|
|
|
|
exact-red UINT16 DEC
|
2001-04-20 06:01:10 +00:00
|
|
|
exposures BOOLEAN NONE
|
|
|
|
family UINT8 DEC VALS
|
2001-04-20 04:16:19 +00:00
|
|
|
fid UINT32 HEX Font id
|
2001-04-20 06:01:10 +00:00
|
|
|
fill-rule UINT8 DEC VALS
|
|
|
|
fill-style UINT8 DEC VALS
|
2001-04-20 04:16:19 +00:00
|
|
|
first-keycode UINT8 DEC
|
2001-04-20 06:01:10 +00:00
|
|
|
focus UINT8 DEC VALS
|
* X11 dissector:
- in decoding of replies: 0 is not an unknown opcode, it means that the
request was unseen or that the opcode of the request is unknown
(e.g. due to unseen / undecoded QueryExtension replies)
- add special processing for QueryExtension requests & replies in order to
store new opcodes in a value_string of opcodes saved per conversation
- try to resynchronize sequence number once at first reply if no initial
connection request was seen
- add decoding of SendEvent request
- add decoding of many replies (AllocColor, GetInputFocus, GetGeometry,
GetPointerControl, GetScreenSaver, GetSelectionOwner, GrabKeyboard,
GrabPointer, InternAtom, ListProperties, LookupColor, QueryBestSize,
QueryKeymap, QueryPointer, TranslateCoordinates)
- fix decoding of EnterNotify / LeaveNotify events
- add decoding of most events (FocusIn, FocusOut, Expose, GraphicsExpose,
NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, UnmapNotify,
MapNotify, MapRequest, ReparentNotify, ConfigureNotify, GravityNotify,
ResizeRequest, CirculateNotify, CirculateRequest, PropertyNotify,
SelectionClear, SelectionRequest, SelectionNotify, ColormapNotify,
ClientMessage)
- miscellaneous changes & code cleaning
svn path=/trunk/; revision=10442
2004-03-22 22:53:56 +00:00
|
|
|
focus-detail UINT8 DEC VALS
|
|
|
|
focus-mode UINT8 DEC VALS
|
2001-04-20 04:16:19 +00:00
|
|
|
font UINT32 HEX
|
|
|
|
fore-blue UINT16 DEC
|
|
|
|
fore-green UINT16 DEC
|
|
|
|
fore-red UINT16 DEC
|
|
|
|
foreground UINT32 HEX
|
|
|
|
format UINT8 DEC
|
* X11 dissector:
- in decoding of replies: 0 is not an unknown opcode, it means that the
request was unseen or that the opcode of the request is unknown
(e.g. due to unseen / undecoded QueryExtension replies)
- add special processing for QueryExtension requests & replies in order to
store new opcodes in a value_string of opcodes saved per conversation
- try to resynchronize sequence number once at first reply if no initial
connection request was seen
- add decoding of SendEvent request
- add decoding of many replies (AllocColor, GetInputFocus, GetGeometry,
GetPointerControl, GetScreenSaver, GetSelectionOwner, GrabKeyboard,
GrabPointer, InternAtom, ListProperties, LookupColor, QueryBestSize,
QueryKeymap, QueryPointer, TranslateCoordinates)
- fix decoding of EnterNotify / LeaveNotify events
- add decoding of most events (FocusIn, FocusOut, Expose, GraphicsExpose,
NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, UnmapNotify,
MapNotify, MapRequest, ReparentNotify, ConfigureNotify, GravityNotify,
ResizeRequest, CirculateNotify, CirculateRequest, PropertyNotify,
SelectionClear, SelectionRequest, SelectionNotify, ColormapNotify,
ClientMessage)
- miscellaneous changes & code cleaning
svn path=/trunk/; revision=10442
2004-03-22 22:53:56 +00:00
|
|
|
from-configure BOOLEAN NONE
|
2001-04-20 06:01:10 +00:00
|
|
|
function UINT8 DEC VALS
|
2001-04-20 04:16:19 +00:00
|
|
|
gc UINT32 HEX
|
2001-04-20 06:28:34 +00:00
|
|
|
get-property-type UINT32 HEX VALS(zero_is_any_property_type)
|
* X11 dissector:
- in decoding of replies: 0 is not an unknown opcode, it means that the
request was unseen or that the opcode of the request is unknown
(e.g. due to unseen / undecoded QueryExtension replies)
- add special processing for QueryExtension requests & replies in order to
store new opcodes in a value_string of opcodes saved per conversation
- try to resynchronize sequence number once at first reply if no initial
connection request was seen
- add decoding of SendEvent request
- add decoding of many replies (AllocColor, GetInputFocus, GetGeometry,
GetPointerControl, GetScreenSaver, GetSelectionOwner, GrabKeyboard,
GrabPointer, InternAtom, ListProperties, LookupColor, QueryBestSize,
QueryKeymap, QueryPointer, TranslateCoordinates)
- fix decoding of EnterNotify / LeaveNotify events
- add decoding of most events (FocusIn, FocusOut, Expose, GraphicsExpose,
NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, UnmapNotify,
MapNotify, MapRequest, ReparentNotify, ConfigureNotify, GravityNotify,
ResizeRequest, CirculateNotify, CirculateRequest, PropertyNotify,
SelectionClear, SelectionRequest, SelectionNotify, ColormapNotify,
ClientMessage)
- miscellaneous changes & code cleaning
svn path=/trunk/; revision=10442
2004-03-22 22:53:56 +00:00
|
|
|
grab-mode UINT8 DEC VALS
|
|
|
|
grab-status UINT8 DEC VALS
|
|
|
|
grab-window UINT32 HEX
|
2001-04-20 06:01:10 +00:00
|
|
|
graphics-exposures BOOLEAN NONE
|
2001-04-20 04:16:19 +00:00
|
|
|
height UINT16 DEC
|
From Michael Shuldman:
Add support for parsing some X11 replies and events (and
the framework for handling X11 errors it looks like) to the
existing X11 code, which parses X11 requests.
It parses what is the most difficult part of the replies/events,
they Keycode stuff by parsing the Keyboardmapping replies and etc,
and then KeyPress, KeyRelease events and some related stuff (used
for a specific project).
Adding support for parsing the rest of the event/replies should not
be difficult, I think it will mostly consist of going through every
event/reply and add the missing calls for each dataitem i.e. register
the data, the remaining the eventcodes/replies are pretty
straightforward if I remember correctly.
All events and replies are reported, it's the "detailed" (-V option)
that's missing for most.
The replies, events and errors are listed in the Info column,
and are summarized in the protocol summary line.
Bogus if (tree) { } constructs have also been fixed.
List over other misc. stuff added:
- handle multiple outstanding requests.
- add AllocNamedColor to list of requests expecting a reply.
- body for parsing error replies.
- each packet can be sent to us multiple times, try to handle that.
- change request_length display to be what the client actually sends
for x11_request, not what it means (don't multiply by four).
- add some more opcodes expecting a reply (gone through all listed
in the ref. now, so should be complete).
- use hashtable and sequencenumber for matching reply to request.
svn path=/trunk/; revision=9520
2004-01-02 12:52:45 +00:00
|
|
|
image-byte-order UINT8 HEX VALS
|
|
|
|
initial-connection NONE NONE undecoded
|
2001-04-20 06:01:10 +00:00
|
|
|
image-format UINT8 DEC VALS
|
|
|
|
image-pixmap-format UINT8 DEC VALS
|
2001-04-20 04:16:19 +00:00
|
|
|
interval INT16 DEC
|
|
|
|
items NONE NONE
|
2001-04-20 06:01:10 +00:00
|
|
|
join-style UINT8 DEC VALS
|
|
|
|
key UINT8 DEC VALS
|
2001-04-20 04:16:19 +00:00
|
|
|
key-click-percent INT8 DEC
|
|
|
|
keyboard-key UINT8 DEC
|
2001-04-20 06:01:10 +00:00
|
|
|
keyboard-mode UINT8 DEC VALS(pointer_keyboard_mode)
|
From Michael Shuldman:
Add support for parsing some X11 replies and events (and
the framework for handling X11 errors it looks like) to the
existing X11 code, which parses X11 requests.
It parses what is the most difficult part of the replies/events,
they Keycode stuff by parsing the Keyboardmapping replies and etc,
and then KeyPress, KeyRelease events and some related stuff (used
for a specific project).
Adding support for parsing the rest of the event/replies should not
be difficult, I think it will mostly consist of going through every
event/reply and add the missing calls for each dataitem i.e. register
the data, the remaining the eventcodes/replies are pretty
straightforward if I remember correctly.
All events and replies are reported, it's the "detailed" (-V option)
that's missing for most.
The replies, events and errors are listed in the Info column,
and are summarized in the protocol summary line.
Bogus if (tree) { } constructs have also been fixed.
List over other misc. stuff added:
- handle multiple outstanding requests.
- add AllocNamedColor to list of requests expecting a reply.
- body for parsing error replies.
- each packet can be sent to us multiple times, try to handle that.
- change request_length display to be what the client actually sends
for x11_request, not what it means (don't multiply by four).
- add some more opcodes expecting a reply (gone through all listed
in the ref. now, so should be complete).
- use hashtable and sequencenumber for matching reply to request.
svn path=/trunk/; revision=9520
2004-01-02 12:52:45 +00:00
|
|
|
keybut-mask-erroneous-bits BOOLEAN 16 0xe000 keybut mask erroneous bits
|
2009-07-08 07:48:13 +00:00
|
|
|
keycode UINT8 HEX
|
2001-04-20 04:16:19 +00:00
|
|
|
|
|
|
|
keyboard-value-mask UINT32 HEX
|
|
|
|
key-click-percent BOOLEAN 32 0x0001
|
|
|
|
bell-percent BOOLEAN 32 0x0002
|
|
|
|
bell-pitch BOOLEAN 32 0x0004
|
|
|
|
bell-duration BOOLEAN 32 0x0008
|
|
|
|
led BOOLEAN 32 0x0010
|
|
|
|
led-mode BOOLEAN 32 0x0020
|
|
|
|
keyboard-key BOOLEAN 32 0x0040
|
|
|
|
auto-repeat-mode BOOLEAN 32 0x0080
|
|
|
|
|
|
|
|
keycode-count UINT8 DEC
|
|
|
|
|
|
|
|
keycodes NONE NONE
|
|
|
|
item BYTES NONE
|
|
|
|
|
|
|
|
keycodes-per-modifier UINT8 DEC
|
|
|
|
|
2004-03-23 07:40:23 +00:00
|
|
|
keys BYTES NONE
|
* X11 dissector:
- in decoding of replies: 0 is not an unknown opcode, it means that the
request was unseen or that the opcode of the request is unknown
(e.g. due to unseen / undecoded QueryExtension replies)
- add special processing for QueryExtension requests & replies in order to
store new opcodes in a value_string of opcodes saved per conversation
- try to resynchronize sequence number once at first reply if no initial
connection request was seen
- add decoding of SendEvent request
- add decoding of many replies (AllocColor, GetInputFocus, GetGeometry,
GetPointerControl, GetScreenSaver, GetSelectionOwner, GrabKeyboard,
GrabPointer, InternAtom, ListProperties, LookupColor, QueryBestSize,
QueryKeymap, QueryPointer, TranslateCoordinates)
- fix decoding of EnterNotify / LeaveNotify events
- add decoding of most events (FocusIn, FocusOut, Expose, GraphicsExpose,
NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, UnmapNotify,
MapNotify, MapRequest, ReparentNotify, ConfigureNotify, GravityNotify,
ResizeRequest, CirculateNotify, CirculateRequest, PropertyNotify,
SelectionClear, SelectionRequest, SelectionNotify, ColormapNotify,
ClientMessage)
- miscellaneous changes & code cleaning
svn path=/trunk/; revision=10442
2004-03-22 22:53:56 +00:00
|
|
|
|
2001-04-20 04:16:19 +00:00
|
|
|
keysyms NONE NONE
|
|
|
|
item NONE NONE
|
|
|
|
keysym UINT32 HEX
|
|
|
|
|
|
|
|
keysyms-per-keycode UINT8 DEC
|
Move "XConvertCase()" from a header file to "packet-x11.c".
Handle the failure reply from the initial connection request.
"proto_item_append_text()" accepts "printf"-like formats; we don't need
to generate a string with a formatting routine and hand it to
"proto_item_append_text()", so don't do so.
When doing reassembly, the length that should be checked is the length
remaining in the tvbuff, not the length remaining in the packet, and
that length should be fetched with "tvb_ensure_length_remaining()" so
that if we *do* go past the end of the tvbuff we throw the appropriate
exception.
To determine whether a reply is a reply to the initial connection, check
the connection state and "initial connection reply" frame - don't check
the first byte of the message unless we've determined that the message
isn't an initial connection reply (the first byte of the initial
connection reply is the success/failure flag, so it could be 0 or 1).
Display window IDs in hex in replies, as we do in requests.
Fix the masks for Button3, Button4, and Button5 (it's a bitset, not a
button number - more than one mouse button can be down in an event,
although it can be a pain to try to click more than one button at the
same time).
svn path=/trunk/; revision=9544
2004-01-04 10:57:18 +00:00
|
|
|
length-of-reason UINT8 DEC length of reason
|
From Michael Shuldman:
Add support for parsing some X11 replies and events (and
the framework for handling X11 errors it looks like) to the
existing X11 code, which parses X11 requests.
It parses what is the most difficult part of the replies/events,
they Keycode stuff by parsing the Keyboardmapping replies and etc,
and then KeyPress, KeyRelease events and some related stuff (used
for a specific project).
Adding support for parsing the rest of the event/replies should not
be difficult, I think it will mostly consist of going through every
event/reply and add the missing calls for each dataitem i.e. register
the data, the remaining the eventcodes/replies are pretty
straightforward if I remember correctly.
All events and replies are reported, it's the "detailed" (-V option)
that's missing for most.
The replies, events and errors are listed in the Info column,
and are summarized in the protocol summary line.
Bogus if (tree) { } constructs have also been fixed.
List over other misc. stuff added:
- handle multiple outstanding requests.
- add AllocNamedColor to list of requests expecting a reply.
- body for parsing error replies.
- each packet can be sent to us multiple times, try to handle that.
- change request_length display to be what the client actually sends
for x11_request, not what it means (don't multiply by four).
- add some more opcodes expecting a reply (gone through all listed
in the ref. now, so should be complete).
- use hashtable and sequencenumber for matching reply to request.
svn path=/trunk/; revision=9520
2004-01-02 12:52:45 +00:00
|
|
|
length-of-vendor UINT16 DEC length of vendor
|
2001-04-20 04:16:19 +00:00
|
|
|
led UINT8 DEC
|
2001-04-20 06:01:10 +00:00
|
|
|
led-mode UINT8 DEC VALS(on_off)
|
2001-04-20 04:16:19 +00:00
|
|
|
left-pad UINT8 DEC
|
2001-04-20 06:01:10 +00:00
|
|
|
line-style UINT8 DEC VALS
|
2001-04-20 04:16:19 +00:00
|
|
|
line-width UINT16 DEC
|
|
|
|
long-length UINT32 DEC The maximum length of the property in bytes
|
|
|
|
long-offset UINT32 DEC The starting position in the property bytes array
|
|
|
|
map BYTES NONE
|
|
|
|
map-length UINT8 DEC
|
2008-10-24 18:45:03 +00:00
|
|
|
mapping-request UINT8 DEC VALS(mapping_request)
|
2001-04-20 06:28:34 +00:00
|
|
|
mask UINT32 HEX VALS(zero_is_none)
|
2001-04-20 04:16:19 +00:00
|
|
|
mask-char UINT16 DEC
|
2001-04-20 06:28:34 +00:00
|
|
|
mask-font UINT32 HEX VALS(zero_is_none)
|
2001-04-20 04:16:19 +00:00
|
|
|
max-names UINT16 DEC
|
|
|
|
mid UINT32 HEX
|
2001-04-20 06:01:10 +00:00
|
|
|
mode UINT8 DEC VALS
|
From Michael Shuldman:
Add support for parsing some X11 replies and events (and
the framework for handling X11 errors it looks like) to the
existing X11 code, which parses X11 requests.
It parses what is the most difficult part of the replies/events,
they Keycode stuff by parsing the Keyboardmapping replies and etc,
and then KeyPress, KeyRelease events and some related stuff (used
for a specific project).
Adding support for parsing the rest of the event/replies should not
be difficult, I think it will mostly consist of going through every
event/reply and add the missing calls for each dataitem i.e. register
the data, the remaining the eventcodes/replies are pretty
straightforward if I remember correctly.
All events and replies are reported, it's the "detailed" (-V option)
that's missing for most.
The replies, events and errors are listed in the Info column,
and are summarized in the protocol summary line.
Bogus if (tree) { } constructs have also been fixed.
List over other misc. stuff added:
- handle multiple outstanding requests.
- add AllocNamedColor to list of requests expecting a reply.
- body for parsing error replies.
- each packet can be sent to us multiple times, try to handle that.
- change request_length display to be what the client actually sends
for x11_request, not what it means (don't multiply by four).
- add some more opcodes expecting a reply (gone through all listed
in the ref. now, so should be complete).
- use hashtable and sequencenumber for matching reply to request.
svn path=/trunk/; revision=9520
2004-01-02 12:52:45 +00:00
|
|
|
major-opcode UINT16 DEC major opcode
|
|
|
|
max-keycode UINT8 DEC max keycode
|
|
|
|
maximum-request-length UINT16 DEC maximum request length
|
|
|
|
min-keycode UINT8 DEC min keycode
|
|
|
|
minor-opcode UINT16 DEC minor opcode
|
2001-04-20 04:16:19 +00:00
|
|
|
|
|
|
|
modifiers-mask UINT16 HEX
|
|
|
|
Shift BOOLEAN 16 0x0001
|
|
|
|
Lock BOOLEAN 16 0x0002
|
|
|
|
Control BOOLEAN 16 0x0004
|
|
|
|
Mod1 BOOLEAN 16 0x0008
|
|
|
|
Mod2 BOOLEAN 16 0x0010
|
|
|
|
Mod3 BOOLEAN 16 0x0020
|
|
|
|
Mod4 BOOLEAN 16 0x0040
|
|
|
|
Mod5 BOOLEAN 16 0x0080
|
Move "XConvertCase()" from a header file to "packet-x11.c".
Handle the failure reply from the initial connection request.
"proto_item_append_text()" accepts "printf"-like formats; we don't need
to generate a string with a formatting routine and hand it to
"proto_item_append_text()", so don't do so.
When doing reassembly, the length that should be checked is the length
remaining in the tvbuff, not the length remaining in the packet, and
that length should be fetched with "tvb_ensure_length_remaining()" so
that if we *do* go past the end of the tvbuff we throw the appropriate
exception.
To determine whether a reply is a reply to the initial connection, check
the connection state and "initial connection reply" frame - don't check
the first byte of the message unless we've determined that the message
isn't an initial connection reply (the first byte of the initial
connection reply is the success/failure flag, so it could be 0 or 1).
Display window IDs in hex in replies, as we do in requests.
Fix the masks for Button3, Button4, and Button5 (it's a bitset, not a
button number - more than one mouse button can be down in an event,
although it can be a pain to try to click more than one button at the
same time).
svn path=/trunk/; revision=9544
2004-01-04 10:57:18 +00:00
|
|
|
Button1 BOOLEAN 16 0x0100
|
|
|
|
Button2 BOOLEAN 16 0x0200
|
|
|
|
Button3 BOOLEAN 16 0x0400
|
|
|
|
Button4 BOOLEAN 16 0x0800
|
|
|
|
Button5 BOOLEAN 16 0x1000
|
2001-04-20 04:16:19 +00:00
|
|
|
AnyModifier UINT16 HEX 0x8000
|
|
|
|
erroneous-bits BOOLEAN 16 0xff00
|
|
|
|
|
From Michael Shuldman:
Add support for parsing some X11 replies and events (and
the framework for handling X11 errors it looks like) to the
existing X11 code, which parses X11 requests.
It parses what is the most difficult part of the replies/events,
they Keycode stuff by parsing the Keyboardmapping replies and etc,
and then KeyPress, KeyRelease events and some related stuff (used
for a specific project).
Adding support for parsing the rest of the event/replies should not
be difficult, I think it will mostly consist of going through every
event/reply and add the missing calls for each dataitem i.e. register
the data, the remaining the eventcodes/replies are pretty
straightforward if I remember correctly.
All events and replies are reported, it's the "detailed" (-V option)
that's missing for most.
The replies, events and errors are listed in the Info column,
and are summarized in the protocol summary line.
Bogus if (tree) { } constructs have also been fixed.
List over other misc. stuff added:
- handle multiple outstanding requests.
- add AllocNamedColor to list of requests expecting a reply.
- body for parsing error replies.
- each packet can be sent to us multiple times, try to handle that.
- change request_length display to be what the client actually sends
for x11_request, not what it means (don't multiply by four).
- add some more opcodes expecting a reply (gone through all listed
in the ref. now, so should be complete).
- use hashtable and sequencenumber for matching reply to request.
svn path=/trunk/; revision=9520
2004-01-02 12:52:45 +00:00
|
|
|
motion-buffer-size UINT16 DEC motion buffer size
|
|
|
|
|
* X11 dissector:
- in decoding of replies: 0 is not an unknown opcode, it means that the
request was unseen or that the opcode of the request is unknown
(e.g. due to unseen / undecoded QueryExtension replies)
- add special processing for QueryExtension requests & replies in order to
store new opcodes in a value_string of opcodes saved per conversation
- try to resynchronize sequence number once at first reply if no initial
connection request was seen
- add decoding of SendEvent request
- add decoding of many replies (AllocColor, GetInputFocus, GetGeometry,
GetPointerControl, GetScreenSaver, GetSelectionOwner, GrabKeyboard,
GrabPointer, InternAtom, ListProperties, LookupColor, QueryBestSize,
QueryKeymap, QueryPointer, TranslateCoordinates)
- fix decoding of EnterNotify / LeaveNotify events
- add decoding of most events (FocusIn, FocusOut, Expose, GraphicsExpose,
NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, UnmapNotify,
MapNotify, MapRequest, ReparentNotify, ConfigureNotify, GravityNotify,
ResizeRequest, CirculateNotify, CirculateRequest, PropertyNotify,
SelectionClear, SelectionRequest, SelectionNotify, ColormapNotify,
ClientMessage)
- miscellaneous changes & code cleaning
svn path=/trunk/; revision=10442
2004-03-22 22:53:56 +00:00
|
|
|
new BOOLEAN NONE
|
From Michael Shuldman:
Add support for parsing some X11 replies and events (and
the framework for handling X11 errors it looks like) to the
existing X11 code, which parses X11 requests.
It parses what is the most difficult part of the replies/events,
they Keycode stuff by parsing the Keyboardmapping replies and etc,
and then KeyPress, KeyRelease events and some related stuff (used
for a specific project).
Adding support for parsing the rest of the event/replies should not
be difficult, I think it will mostly consist of going through every
event/reply and add the missing calls for each dataitem i.e. register
the data, the remaining the eventcodes/replies are pretty
straightforward if I remember correctly.
All events and replies are reported, it's the "detailed" (-V option)
that's missing for most.
The replies, events and errors are listed in the Info column,
and are summarized in the protocol summary line.
Bogus if (tree) { } constructs have also been fixed.
List over other misc. stuff added:
- handle multiple outstanding requests.
- add AllocNamedColor to list of requests expecting a reply.
- body for parsing error replies.
- each packet can be sent to us multiple times, try to handle that.
- change request_length display to be what the client actually sends
for x11_request, not what it means (don't multiply by four).
- add some more opcodes expecting a reply (gone through all listed
in the ref. now, so should be complete).
- use hashtable and sequencenumber for matching reply to request.
svn path=/trunk/; revision=9520
2004-01-02 12:52:45 +00:00
|
|
|
number-of-formats-in-pixmap-formats UINT8 DEC number of formats in pixmap formats
|
|
|
|
number-of-screens-in-roots UINT8 DEC number of screens in roots
|
|
|
|
|
2009-06-24 02:07:16 +00:00
|
|
|
name STRING NONE
|
2001-04-20 04:16:19 +00:00
|
|
|
name-length UINT16 DEC
|
2001-04-20 06:01:10 +00:00
|
|
|
odd-length BOOLEAN NONE
|
|
|
|
only-if-exists BOOLEAN NONE
|
|
|
|
opcode UINT8 DEC VALS
|
|
|
|
ordering UINT8 DEC VALS
|
|
|
|
override-redirect BOOLEAN NONE Window manager doesn't manage this window when true
|
2001-04-20 06:28:34 +00:00
|
|
|
owner UINT32 HEX VALS(zero_is_none)
|
2001-04-20 06:01:10 +00:00
|
|
|
owner-events BOOLEAN NONE
|
2001-04-20 04:16:19 +00:00
|
|
|
parent UINT32 HEX
|
|
|
|
|
|
|
|
path NONE NONE
|
|
|
|
string STRING NONE
|
|
|
|
|
2009-06-24 02:07:16 +00:00
|
|
|
pattern STRING NONE
|
2001-04-20 04:16:19 +00:00
|
|
|
pattern-length UINT16 DEC
|
|
|
|
percent UINT8 DEC
|
|
|
|
pid UINT32 HEX
|
|
|
|
pixel UINT32 HEX
|
|
|
|
pixels NONE NONE
|
|
|
|
pixels_item UINT32 HEX
|
|
|
|
pixmap UINT32 HEX
|
* X11 dissector:
- in decoding of replies: 0 is not an unknown opcode, it means that the
request was unseen or that the opcode of the request is unknown
(e.g. due to unseen / undecoded QueryExtension replies)
- add special processing for QueryExtension requests & replies in order to
store new opcodes in a value_string of opcodes saved per conversation
- try to resynchronize sequence number once at first reply if no initial
connection request was seen
- add decoding of SendEvent request
- add decoding of many replies (AllocColor, GetInputFocus, GetGeometry,
GetPointerControl, GetScreenSaver, GetSelectionOwner, GrabKeyboard,
GrabPointer, InternAtom, ListProperties, LookupColor, QueryBestSize,
QueryKeymap, QueryPointer, TranslateCoordinates)
- fix decoding of EnterNotify / LeaveNotify events
- add decoding of most events (FocusIn, FocusOut, Expose, GraphicsExpose,
NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, UnmapNotify,
MapNotify, MapRequest, ReparentNotify, ConfigureNotify, GravityNotify,
ResizeRequest, CirculateNotify, CirculateRequest, PropertyNotify,
SelectionClear, SelectionRequest, SelectionNotify, ColormapNotify,
ClientMessage)
- miscellaneous changes & code cleaning
svn path=/trunk/; revision=10442
2004-03-22 22:53:56 +00:00
|
|
|
place UINT8 DEC VALS
|
2001-04-20 06:28:34 +00:00
|
|
|
plane-mask UINT32 HEX VALS
|
2001-04-20 04:16:19 +00:00
|
|
|
planes UINT16 DEC
|
|
|
|
point NONE NONE
|
|
|
|
points NONE NONE
|
|
|
|
point-x INT16 DEC
|
|
|
|
point-y INT16 DEC
|
|
|
|
|
|
|
|
pointer-event-mask UINT16 HEX
|
|
|
|
ButtonPress BOOLEAN 16 0x0004
|
|
|
|
ButtonRelease BOOLEAN 16 0x0008
|
|
|
|
EnterWindow BOOLEAN 16 0x0010
|
|
|
|
LeaveWindow BOOLEAN 16 0x0020
|
|
|
|
PointerMotion BOOLEAN 16 0x0040
|
|
|
|
PointerMotionHint BOOLEAN 16 0x0080
|
|
|
|
Button1Motion BOOLEAN 16 0x0100
|
|
|
|
Button2Motion BOOLEAN 16 0x0200
|
|
|
|
Button3Motion BOOLEAN 16 0x0400
|
|
|
|
Button4Motion BOOLEAN 16 0x0800
|
|
|
|
Button5Motion BOOLEAN 16 0x1000
|
|
|
|
ButtonMotion BOOLEAN 16 0x2000
|
|
|
|
KeymapState BOOLEAN 16 0x4000
|
|
|
|
erroneous-bits BOOLEAN 16 0x8003
|
|
|
|
|
2001-04-20 06:01:10 +00:00
|
|
|
pointer-mode UINT8 DEC VALS(pointer_keyboard_mode)
|
|
|
|
prefer-blanking UINT8 DEC VALS(yes_no_default)
|
* X11 dissector:
- in decoding of replies: 0 is not an unknown opcode, it means that the
request was unseen or that the opcode of the request is unknown
(e.g. due to unseen / undecoded QueryExtension replies)
- add special processing for QueryExtension requests & replies in order to
store new opcodes in a value_string of opcodes saved per conversation
- try to resynchronize sequence number once at first reply if no initial
connection request was seen
- add decoding of SendEvent request
- add decoding of many replies (AllocColor, GetInputFocus, GetGeometry,
GetPointerControl, GetScreenSaver, GetSelectionOwner, GrabKeyboard,
GrabPointer, InternAtom, ListProperties, LookupColor, QueryBestSize,
QueryKeymap, QueryPointer, TranslateCoordinates)
- fix decoding of EnterNotify / LeaveNotify events
- add decoding of most events (FocusIn, FocusOut, Expose, GraphicsExpose,
NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, UnmapNotify,
MapNotify, MapRequest, ReparentNotify, ConfigureNotify, GravityNotify,
ResizeRequest, CirculateNotify, CirculateRequest, PropertyNotify,
SelectionClear, SelectionRequest, SelectionNotify, ColormapNotify,
ClientMessage)
- miscellaneous changes & code cleaning
svn path=/trunk/; revision=10442
2004-03-22 22:53:56 +00:00
|
|
|
present BOOLEAN NONE
|
|
|
|
propagate BOOLEAN NONE
|
2001-04-20 04:16:19 +00:00
|
|
|
|
|
|
|
properties NONE NONE
|
|
|
|
item UINT32 HEX
|
|
|
|
|
|
|
|
property UINT32 HEX
|
|
|
|
property-number UINT16 DEC
|
* X11 dissector:
- in decoding of replies: 0 is not an unknown opcode, it means that the
request was unseen or that the opcode of the request is unknown
(e.g. due to unseen / undecoded QueryExtension replies)
- add special processing for QueryExtension requests & replies in order to
store new opcodes in a value_string of opcodes saved per conversation
- try to resynchronize sequence number once at first reply if no initial
connection request was seen
- add decoding of SendEvent request
- add decoding of many replies (AllocColor, GetInputFocus, GetGeometry,
GetPointerControl, GetScreenSaver, GetSelectionOwner, GrabKeyboard,
GrabPointer, InternAtom, ListProperties, LookupColor, QueryBestSize,
QueryKeymap, QueryPointer, TranslateCoordinates)
- fix decoding of EnterNotify / LeaveNotify events
- add decoding of most events (FocusIn, FocusOut, Expose, GraphicsExpose,
NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, UnmapNotify,
MapNotify, MapRequest, ReparentNotify, ConfigureNotify, GravityNotify,
ResizeRequest, CirculateNotify, CirculateRequest, PropertyNotify,
SelectionClear, SelectionRequest, SelectionNotify, ColormapNotify,
ClientMessage)
- miscellaneous changes & code cleaning
svn path=/trunk/; revision=10442
2004-03-22 22:53:56 +00:00
|
|
|
property-state UINT8 DEC VALS
|
2002-04-16 09:42:31 +00:00
|
|
|
protocol-major-version UINT16 DEC
|
|
|
|
protocol-minor-version UINT16 DEC
|
2009-07-08 07:48:13 +00:00
|
|
|
reason STRING NONE
|
2001-04-20 04:16:19 +00:00
|
|
|
rectangle-height UINT16 DEC
|
|
|
|
rectangles NONE NONE
|
|
|
|
rectangle NONE NONE
|
|
|
|
rectangle-width UINT16 DEC
|
|
|
|
rectangle-x INT16 DEC
|
|
|
|
rectangle-y INT16 DEC
|
|
|
|
red UINT16 DEC
|
|
|
|
reds UINT16 DEC
|
2001-04-20 06:01:10 +00:00
|
|
|
request UINT8 DEC VALS(opcode)
|
2001-04-20 04:16:19 +00:00
|
|
|
requestor UINT32 HEX
|
|
|
|
request-length UINT16 DEC Request length
|
2001-04-20 06:28:34 +00:00
|
|
|
resource UINT32 HEX VALS(all_temporary)
|
2001-04-20 06:01:10 +00:00
|
|
|
revert-to UINT8 DEC VALS
|
From Michael Shuldman:
Add support for parsing some X11 replies and events (and
the framework for handling X11 errors it looks like) to the
existing X11 code, which parses X11 requests.
It parses what is the most difficult part of the replies/events,
they Keycode stuff by parsing the Keyboardmapping replies and etc,
and then KeyPress, KeyRelease events and some related stuff (used
for a specific project).
Adding support for parsing the rest of the event/replies should not
be difficult, I think it will mostly consist of going through every
event/reply and add the missing calls for each dataitem i.e. register
the data, the remaining the eventcodes/replies are pretty
straightforward if I remember correctly.
All events and replies are reported, it's the "detailed" (-V option)
that's missing for most.
The replies, events and errors are listed in the Info column,
and are summarized in the protocol summary line.
Bogus if (tree) { } constructs have also been fixed.
List over other misc. stuff added:
- handle multiple outstanding requests.
- add AllocNamedColor to list of requests expecting a reply.
- body for parsing error replies.
- each packet can be sent to us multiple times, try to handle that.
- change request_length display to be what the client actually sends
for x11_request, not what it means (don't multiply by four).
- add some more opcodes expecting a reply (gone through all listed
in the ref. now, so should be complete).
- use hashtable and sequencenumber for matching reply to request.
svn path=/trunk/; revision=9520
2004-01-02 12:52:45 +00:00
|
|
|
release-number UINT32 DEC release number
|
2009-07-08 07:48:13 +00:00
|
|
|
reply UINT8 DEC
|
From Michael Shuldman:
Add support for parsing some X11 replies and events (and
the framework for handling X11 errors it looks like) to the
existing X11 code, which parses X11 requests.
It parses what is the most difficult part of the replies/events,
they Keycode stuff by parsing the Keyboardmapping replies and etc,
and then KeyPress, KeyRelease events and some related stuff (used
for a specific project).
Adding support for parsing the rest of the event/replies should not
be difficult, I think it will mostly consist of going through every
event/reply and add the missing calls for each dataitem i.e. register
the data, the remaining the eventcodes/replies are pretty
straightforward if I remember correctly.
All events and replies are reported, it's the "detailed" (-V option)
that's missing for most.
The replies, events and errors are listed in the Info column,
and are summarized in the protocol summary line.
Bogus if (tree) { } constructs have also been fixed.
List over other misc. stuff added:
- handle multiple outstanding requests.
- add AllocNamedColor to list of requests expecting a reply.
- body for parsing error replies.
- each packet can be sent to us multiple times, try to handle that.
- change request_length display to be what the client actually sends
for x11_request, not what it means (don't multiply by four).
- add some more opcodes expecting a reply (gone through all listed
in the ref. now, so should be complete).
- use hashtable and sequencenumber for matching reply to request.
svn path=/trunk/; revision=9520
2004-01-02 12:52:45 +00:00
|
|
|
reply-sequencenumber UINT16 DEC VALS(opcode)
|
2009-07-08 07:48:13 +00:00
|
|
|
replylength UINT32 DEC
|
From Michael Shuldman:
Add support for parsing some X11 replies and events (and
the framework for handling X11 errors it looks like) to the
existing X11 code, which parses X11 requests.
It parses what is the most difficult part of the replies/events,
they Keycode stuff by parsing the Keyboardmapping replies and etc,
and then KeyPress, KeyRelease events and some related stuff (used
for a specific project).
Adding support for parsing the rest of the event/replies should not
be difficult, I think it will mostly consist of going through every
event/reply and add the missing calls for each dataitem i.e. register
the data, the remaining the eventcodes/replies are pretty
straightforward if I remember correctly.
All events and replies are reported, it's the "detailed" (-V option)
that's missing for most.
The replies, events and errors are listed in the Info column,
and are summarized in the protocol summary line.
Bogus if (tree) { } constructs have also been fixed.
List over other misc. stuff added:
- handle multiple outstanding requests.
- add AllocNamedColor to list of requests expecting a reply.
- body for parsing error replies.
- each packet can be sent to us multiple times, try to handle that.
- change request_length display to be what the client actually sends
for x11_request, not what it means (don't multiply by four).
- add some more opcodes expecting a reply (gone through all listed
in the ref. now, so should be complete).
- use hashtable and sequencenumber for matching reply to request.
svn path=/trunk/; revision=9520
2004-01-02 12:52:45 +00:00
|
|
|
replyopcode UINT8 DEC VALS(opcode)
|
|
|
|
resource-id-base UINT32 HEX resource id base
|
|
|
|
resource-id-mask UINT32 HEX resource id mask
|
|
|
|
root-x UINT16 DEC root x
|
|
|
|
root-y UINT16 DEC root y
|
2009-07-08 07:48:13 +00:00
|
|
|
rootwindow UINT32 HEX
|
From Michael Shuldman:
Add support for parsing some X11 replies and events (and
the framework for handling X11 errors it looks like) to the
existing X11 code, which parses X11 requests.
It parses what is the most difficult part of the replies/events,
they Keycode stuff by parsing the Keyboardmapping replies and etc,
and then KeyPress, KeyRelease events and some related stuff (used
for a specific project).
Adding support for parsing the rest of the event/replies should not
be difficult, I think it will mostly consist of going through every
event/reply and add the missing calls for each dataitem i.e. register
the data, the remaining the eventcodes/replies are pretty
straightforward if I remember correctly.
All events and replies are reported, it's the "detailed" (-V option)
that's missing for most.
The replies, events and errors are listed in the Info column,
and are summarized in the protocol summary line.
Bogus if (tree) { } constructs have also been fixed.
List over other misc. stuff added:
- handle multiple outstanding requests.
- add AllocNamedColor to list of requests expecting a reply.
- body for parsing error replies.
- each packet can be sent to us multiple times, try to handle that.
- change request_length display to be what the client actually sends
for x11_request, not what it means (don't multiply by four).
- add some more opcodes expecting a reply (gone through all listed
in the ref. now, so should be complete).
- use hashtable and sequencenumber for matching reply to request.
svn path=/trunk/; revision=9520
2004-01-02 12:52:45 +00:00
|
|
|
|
|
|
|
same-screen BOOLEAN NONE same screen
|
2004-04-17 03:38:09 +00:00
|
|
|
same-screen-focus-mask UINT8 HEX
|
|
|
|
focus BOOLEAN 8 0x01
|
|
|
|
same-screen BOOLEAN 8 0x02
|
2009-07-08 07:48:13 +00:00
|
|
|
success UINT8 DEC
|
2001-04-20 06:01:10 +00:00
|
|
|
save-set-mode UINT8 DEC VALS(insert_delete)
|
|
|
|
save-under BOOLEAN NONE
|
|
|
|
screen-saver-mode UINT8 DEC VALS
|
2001-04-20 04:16:19 +00:00
|
|
|
segment NONE NONE
|
|
|
|
segments NONE NONE
|
|
|
|
segment_x1 INT16 DEC
|
|
|
|
segment_x2 INT16 DEC
|
|
|
|
segment_y1 INT16 DEC
|
|
|
|
segment_y2 INT16 DEC
|
|
|
|
selection UINT32 HEX
|
2001-04-20 06:01:10 +00:00
|
|
|
shape UINT8 DEC VALS
|
2001-04-20 04:16:19 +00:00
|
|
|
sibling UINT32 HEX
|
|
|
|
source-pixmap UINT32 HEX
|
|
|
|
source-font UINT32 HEX
|
|
|
|
source-char UINT16 DEC
|
|
|
|
src-cmap UINT32 HEX
|
|
|
|
src-drawable UINT32 HEX
|
|
|
|
src-gc UINT32 HEX
|
|
|
|
src-height UINT16 DEC
|
|
|
|
src-width UINT16 DEC
|
|
|
|
src-window UINT32 HEX
|
|
|
|
src-x INT16 DEC
|
|
|
|
src-y INT16 DEC
|
|
|
|
start UINT32 DEC
|
2001-04-20 06:01:10 +00:00
|
|
|
stack-mode UINT8 DEC VALS
|
2001-04-20 04:16:19 +00:00
|
|
|
stipple UINT32 HEX
|
|
|
|
stop UINT32 DEC
|
|
|
|
str-number-in-path UINT16 DEC
|
2009-06-24 02:07:16 +00:00
|
|
|
string STRING NONE
|
2001-04-20 04:16:19 +00:00
|
|
|
|
2009-06-24 02:07:16 +00:00
|
|
|
string16 STRING NONE
|
2001-04-20 04:16:19 +00:00
|
|
|
bytes BYTES NONE
|
|
|
|
|
|
|
|
string-length UINT32 DEC
|
2001-04-20 06:01:10 +00:00
|
|
|
subwindow-mode UINT8 DEC VALS
|
2001-04-20 04:16:19 +00:00
|
|
|
target UINT32 HEX
|
|
|
|
|
|
|
|
textitem NONE NONE
|
|
|
|
font UINT32 HEX
|
|
|
|
string NONE NONE
|
|
|
|
delta INT8 DEC
|
|
|
|
string8 STRING NONE
|
|
|
|
string16 STRING NONE
|
|
|
|
bytes BYTES NONE
|
|
|
|
|
|
|
|
threshold INT16 DEC
|
|
|
|
tile UINT32 HEX
|
|
|
|
tile-stipple-x-origin INT16 DEC
|
|
|
|
tile-stipple-y-origin INT16 DEC
|
|
|
|
time UINT32 DEC
|
|
|
|
timeout INT16 DEC
|
|
|
|
type UINT32 HEX
|
|
|
|
undecoded NONE NONE Yet undecoded by dissector
|
|
|
|
unused NONE NONE
|
2009-07-08 07:48:13 +00:00
|
|
|
valuelength UINT32 DEC
|
|
|
|
vendor STRING NONE
|
* X11 dissector:
- in decoding of replies: 0 is not an unknown opcode, it means that the
request was unseen or that the opcode of the request is unknown
(e.g. due to unseen / undecoded QueryExtension replies)
- add special processing for QueryExtension requests & replies in order to
store new opcodes in a value_string of opcodes saved per conversation
- try to resynchronize sequence number once at first reply if no initial
connection request was seen
- add decoding of SendEvent request
- add decoding of many replies (AllocColor, GetInputFocus, GetGeometry,
GetPointerControl, GetScreenSaver, GetSelectionOwner, GrabKeyboard,
GrabPointer, InternAtom, ListProperties, LookupColor, QueryBestSize,
QueryKeymap, QueryPointer, TranslateCoordinates)
- fix decoding of EnterNotify / LeaveNotify events
- add decoding of most events (FocusIn, FocusOut, Expose, GraphicsExpose,
NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, UnmapNotify,
MapNotify, MapRequest, ReparentNotify, ConfigureNotify, GravityNotify,
ResizeRequest, CirculateNotify, CirculateRequest, PropertyNotify,
SelectionClear, SelectionRequest, SelectionNotify, ColormapNotify,
ClientMessage)
- miscellaneous changes & code cleaning
svn path=/trunk/; revision=10442
2004-03-22 22:53:56 +00:00
|
|
|
visibility-state UINT8 DEC VALS
|
2001-04-20 04:16:19 +00:00
|
|
|
visual UINT32 HEX
|
* X11 dissector:
- in decoding of replies: 0 is not an unknown opcode, it means that the
request was unseen or that the opcode of the request is unknown
(e.g. due to unseen / undecoded QueryExtension replies)
- add special processing for QueryExtension requests & replies in order to
store new opcodes in a value_string of opcodes saved per conversation
- try to resynchronize sequence number once at first reply if no initial
connection request was seen
- add decoding of SendEvent request
- add decoding of many replies (AllocColor, GetInputFocus, GetGeometry,
GetPointerControl, GetScreenSaver, GetSelectionOwner, GrabKeyboard,
GrabPointer, InternAtom, ListProperties, LookupColor, QueryBestSize,
QueryKeymap, QueryPointer, TranslateCoordinates)
- fix decoding of EnterNotify / LeaveNotify events
- add decoding of most events (FocusIn, FocusOut, Expose, GraphicsExpose,
NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, UnmapNotify,
MapNotify, MapRequest, ReparentNotify, ConfigureNotify, GravityNotify,
ResizeRequest, CirculateNotify, CirculateRequest, PropertyNotify,
SelectionClear, SelectionRequest, SelectionNotify, ColormapNotify,
ClientMessage)
- miscellaneous changes & code cleaning
svn path=/trunk/; revision=10442
2004-03-22 22:53:56 +00:00
|
|
|
visual-blue UINT16 DEC
|
|
|
|
visual-green UINT16 DEC
|
|
|
|
visual-red UINT16 DEC
|
2001-04-20 04:16:19 +00:00
|
|
|
visualid UINT32 HEX
|
|
|
|
warp-pointer-dst-window UINT32 HEX VALS(zero_is_none)
|
|
|
|
warp-pointer-src-window UINT32 HEX VALS(zero_is_none)
|
|
|
|
wid UINT32 HEX Window id
|
|
|
|
width UINT16 DEC
|
2001-04-20 06:01:10 +00:00
|
|
|
win-gravity UINT8 DEC VALS(gravity)
|
* X11 dissector:
- in decoding of replies: 0 is not an unknown opcode, it means that the
request was unseen or that the opcode of the request is unknown
(e.g. due to unseen / undecoded QueryExtension replies)
- add special processing for QueryExtension requests & replies in order to
store new opcodes in a value_string of opcodes saved per conversation
- try to resynchronize sequence number once at first reply if no initial
connection request was seen
- add decoding of SendEvent request
- add decoding of many replies (AllocColor, GetInputFocus, GetGeometry,
GetPointerControl, GetScreenSaver, GetSelectionOwner, GrabKeyboard,
GrabPointer, InternAtom, ListProperties, LookupColor, QueryBestSize,
QueryKeymap, QueryPointer, TranslateCoordinates)
- fix decoding of EnterNotify / LeaveNotify events
- add decoding of most events (FocusIn, FocusOut, Expose, GraphicsExpose,
NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, UnmapNotify,
MapNotify, MapRequest, ReparentNotify, ConfigureNotify, GravityNotify,
ResizeRequest, CirculateNotify, CirculateRequest, PropertyNotify,
SelectionClear, SelectionRequest, SelectionNotify, ColormapNotify,
ClientMessage)
- miscellaneous changes & code cleaning
svn path=/trunk/; revision=10442
2004-03-22 22:53:56 +00:00
|
|
|
win-x INT16 DEC
|
|
|
|
win-y INT16 DEC
|
2001-04-20 04:16:19 +00:00
|
|
|
window UINT32 HEX
|
2001-04-20 06:01:10 +00:00
|
|
|
window-class UINT16 DEC VALS Window class
|
2001-04-20 04:16:19 +00:00
|
|
|
|
|
|
|
window-value-mask UINT32 HEX
|
|
|
|
background-pixmap BOOLEAN 32 0x00000001
|
|
|
|
background-pixel BOOLEAN 32 0x00000002
|
|
|
|
border-pixmap BOOLEAN 32 0x00000004
|
|
|
|
border-pixel BOOLEAN 32 0x00000008
|
|
|
|
bit-gravity BOOLEAN 32 0x00000010
|
|
|
|
win-gravity BOOLEAN 32 0x00000020
|
|
|
|
backing-store BOOLEAN 32 0x00000040
|
|
|
|
backing-planes BOOLEAN 32 0x00000080
|
|
|
|
backing-pixel BOOLEAN 32 0x00000100
|
|
|
|
override-redirect BOOLEAN 32 0x00000200
|
|
|
|
save-under BOOLEAN 32 0x00000400
|
|
|
|
event-mask BOOLEAN 32 0x00000800
|
|
|
|
do-not-propagate-mask BOOLEAN 32 0x00001000
|
|
|
|
colormap BOOLEAN 32 0x00002000
|
|
|
|
cursor BOOLEAN 32 0x00004000
|
|
|
|
|
|
|
|
x INT16 DEC
|
|
|
|
y INT16 DEC
|