Peter Hutterer [Fri, 15 May 2009 10:14:16 +0000 (20:14 +1000)]
inputproto 1.9.99.9
Peter Hutterer [Sat, 16 May 2009 01:49:21 +0000 (11:49 +1000)]
Document naming conventions for XI2proto.h.
Peter Hutterer [Sat, 16 May 2009 01:46:44 +0000 (11:46 +1000)]
XI2proto: define Window, Cursor, Atom and Time as uint32_t.
Since we're using stdint in the rest of the file, might as well ignore
CARD32 here.
Peter Hutterer [Sat, 16 May 2009 01:31:03 +0000 (11:31 +1000)]
XI2.h: remove XI2Mask, add XISetMask and friends.
XISetMask, XIClearMask, XIMaskIsSet serve to set, clear or check a bit in
the provided array.
XIMaskLen is a macro to get the minimum length of a mask for a given event
type.
They are expected to be common ways to deal with event masks, i.e. clients
will do:
unsigned char mask[XIMaskLen(XI_ButtonRelease)] = {0};
XISetMask(mask, XI_ButtonPress)
XISetMask(mask, XI_ButtonRelease)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Peter Hutterer [Sat, 16 May 2009 01:25:49 +0000 (11:25 +1000)]
Add XIAnyButton and XIAnyKeysym.
Peter Hutterer [Thu, 14 May 2009 02:09:38 +0000 (12:09 +1000)]
XIQueryPointer needs to include sensible button/modifier state.
This includes shuffling the xXIModifierInfo and xXIGroupInfo structs to the
common structs section.
Peter Hutterer [Thu, 14 May 2009 00:29:49 +0000 (10:29 +1000)]
Add an introduction to XI2proto.txt
Peter Hutterer [Tue, 12 May 2009 09:24:31 +0000 (19:24 +1000)]
XI2proto.txt: remove more mentioning of keycode grabs
Peter Hutterer [Tue, 12 May 2009 06:51:05 +0000 (16:51 +1000)]
Remove superfluous "Device" from protocol requests and events.
Anything with prefix XI is per-device anyway.
Peter Hutterer [Tue, 12 May 2009 06:14:01 +0000 (16:14 +1000)]
Add per-device flags to XIDeviceHierarchyEvents
Peter Hutterer [Tue, 12 May 2009 03:45:48 +0000 (13:45 +1000)]
Define Cursor as CARD32.
Reported-by: Benjamin Close <benjamin.close@clearchain.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Peter Hutterer [Mon, 11 May 2009 04:35:35 +0000 (14:35 +1000)]
XI2proto.h: doxygen-ify
Peter Hutterer [Mon, 11 May 2009 03:46:53 +0000 (13:46 +1000)]
XI2proto.h: s/uint32_t/Time/ where appropriate
Peter Hutterer [Thu, 7 May 2009 06:19:47 +0000 (16:19 +1000)]
Prefix all XI2 constants with "XI" -> inputproto 1.99.9.8
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Peter Hutterer [Wed, 6 May 2009 06:33:34 +0000 (16:33 +1000)]
Add XI2 property requests.
Basically the same as XI 1.5, save the 16 bit deviceids.
Peter Hutterer [Sat, 25 Apr 2009 01:08:21 +0000 (11:08 +1000)]
XI2: add passive grabs.
Most notably XI2 provides keysym grabs instead of keycode grabs.
Peter Hutterer [Sat, 25 Apr 2009 00:43:43 +0000 (10:43 +1000)]
XI2 spec: Add some more Grab/Ungrab/AllowEvents documentation.
Benjamin Close [Wed, 22 Apr 2009 03:40:50 +0000 (13:10 +0930)]
Define the Cursor datasize correctly
On 64 bit machines, without Cursor defined Xlib would allocate 64 bits
rather than 32 to any structs using Cursor. This led to data not
correctly being available on the wire hence the Xserver would do strange
things. We hence define Cursor to what it should be and make sure
we undefine it after we've finished to users of XIproto.h aren't affected
Fix-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Paul "TBBle" Hampson [Tue, 21 Apr 2009 23:00:14 +0000 (09:00 +1000)]
Fix typo in XI2proto.txt
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Peter Hutterer [Thu, 16 Apr 2009 01:37:20 +0000 (11:37 +1000)]
Add XIAllowEvents.
Basically the same as the core protocol AllowEvents.
Peter Hutterer [Sun, 19 Apr 2009 11:33:42 +0000 (21:33 +1000)]
Change FP1616 into a single int32_t.
Peter Hutterer [Fri, 10 Apr 2009 07:31:05 +0000 (17:31 +1000)]
Add GrabDevice and UngrabDevice XI2 requests.
Peter Hutterer [Fri, 10 Apr 2009 04:56:20 +0000 (14:56 +1000)]
Revert "Add major/minor version as supported by client to GetExtensionVersionReq."
This reverts commit
f6e41306f76de966884d4b72c5fb5e5d6d534ce4.
Sending the supported version hidden in another request is potentially
dangerous, so let's not do it.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Peter Hutterer [Fri, 10 Apr 2009 04:35:00 +0000 (14:35 +1000)]
XI2proto.txt: fix typo
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Peter Hutterer [Fri, 10 Apr 2009 04:17:51 +0000 (14:17 +1000)]
We don't need to define KeyCode and Mask.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Peter Hutterer [Fri, 10 Apr 2009 04:17:02 +0000 (14:17 +1000)]
Undef Window, Time, etc. after usage again to avoid pollution.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Peter Hutterer [Tue, 3 Mar 2009 05:15:50 +0000 (15:15 +1000)]
Remove IsFloating - we don't need this in XI 1.x anymore.
Peter Hutterer [Tue, 3 Mar 2009 05:13:22 +0000 (15:13 +1000)]
Move XI_2_Major/Minor to XI2.h
Peter Hutterer [Tue, 3 Mar 2009 06:13:05 +0000 (16:13 +1000)]
Move AttachToMaster, Floating to XI2.h
Peter Hutterer [Tue, 3 Mar 2009 05:58:24 +0000 (15:58 +1000)]
Move CH_* constants to xi2
Peter Hutterer [Wed, 4 Feb 2009 04:33:57 +0000 (14:33 +1000)]
Remove XI2 requests from XIproto.h
All requests been moved to XI2proto.h. Only ExtendedGrabDevice is gone for
good.
Peter Hutterer [Thu, 26 Feb 2009 05:22:55 +0000 (15:22 +1000)]
Bump to 1.9.99.7
Peter Hutterer [Thu, 12 Mar 2009 05:43:26 +0000 (15:43 +1000)]
Add XISetDeviceFocus and XIGetDeviceFocus requests
Peter Hutterer [Wed, 11 Mar 2009 06:32:06 +0000 (16:32 +1000)]
Add focus events
Peter Hutterer [Wed, 11 Mar 2009 03:32:09 +0000 (13:32 +1000)]
Add buttons + modifier/group information to enter/leave events.
Peter Hutterer [Wed, 11 Mar 2009 02:30:16 +0000 (12:30 +1000)]
Define FP1616 as one int16_t, one uint16_t.
Peter Hutterer [Tue, 10 Mar 2009 05:42:28 +0000 (15:42 +1000)]
ValuatorInfo moved to FP3232
Peter Hutterer [Tue, 10 Mar 2009 05:35:04 +0000 (15:35 +1000)]
Add FP3232 typedef.
Peter Hutterer [Tue, 10 Mar 2009 02:26:18 +0000 (12:26 +1000)]
XI2: remove button state from the RawEvent.
A RawEvent is supposed to represent the state posted by the device. If a
client needs button state, then the client must keep track of it.
Peter Hutterer [Thu, 26 Feb 2009 05:10:28 +0000 (15:10 +1000)]
Split CH_ChangeAttachment into CH_AttachSlave and CH_DetachSlave
CH_ChangeAttachment is still there, but won't be for long.
Peter Hutterer [Thu, 5 Feb 2009 05:57:56 +0000 (15:57 +1000)]
Add XI2.h and XI2proto.h, and a few required defines to XI.h
Peter Hutterer [Thu, 5 Feb 2009 04:18:28 +0000 (14:18 +1000)]
Add XI2 protocol specification document.
Peter Hutterer [Wed, 4 Feb 2009 05:21:55 +0000 (15:21 +1000)]
Whitespace cleanups.
Yep. Slow day today.
Paulo Cesar Pereira de Andrade [Tue, 27 Jan 2009 22:06:28 +0000 (20:06 -0200)]
Janitor: Correct make distcheck and dont distribute autogen.sh
Peter Hutterer [Fri, 31 Oct 2008 06:03:25 +0000 (16:33 +1030)]
Bump to 1.9.99.6.
Peter Hutterer [Fri, 31 Oct 2008 07:23:39 +0000 (17:53 +1030)]
PropertyNotify, move deviceid back to last byte.
This way, it can be type-cast to deviceKeyButtonPointer to extract the
deviceid, which is (aside from time) the only thing it has in common with
those anyway.
Peter Hutterer [Wed, 8 Oct 2008 11:09:20 +0000 (21:39 +1030)]
Remove window access protocol requests.
This is a bad idea. It didn't provide security and you can get the same
functionality as you did with normal event registration.
Julien Cristau [Wed, 15 Oct 2008 08:33:51 +0000 (10:33 +0200)]
Undef Atom after we're done so we don't pollute users of XIproto.h
Peter Hutterer [Wed, 15 Oct 2008 00:04:21 +0000 (10:34 +1030)]
Make sure Atoms are defined as CARD32.
Peter Hutterer [Fri, 26 Sep 2008 00:41:04 +0000 (10:11 +0930)]
Bump to 1.9.99.5.
Peter Hutterer [Fri, 26 Sep 2008 00:07:48 +0000 (09:37 +0930)]
Remove default properties (XI_PROP_MODE, XI_PROP_ENABLED)
These should be defined by the server, not the protocol.
Peter Hutterer [Thu, 18 Sep 2008 05:30:54 +0000 (15:00 +0930)]
Remove Configure/QueryDeviceProperty.
Peter Hutterer [Thu, 18 Sep 2008 06:58:09 +0000 (16:28 +0930)]
Add XI_JOYSTICK type.
Peter Hutterer [Thu, 18 Sep 2008 05:30:01 +0000 (15:00 +0930)]
Don't include Xmd.h.
Peter Hutterer [Fri, 15 Aug 2008 05:31:16 +0000 (15:01 +0930)]
inputproto 1.9.99.4
Backported device properties.
Peter Hutterer [Fri, 15 Aug 2008 05:20:23 +0000 (14:50 +0930)]
Protect against C++ includes.
Peter Hutterer [Fri, 15 Aug 2008 04:51:24 +0000 (14:21 +0930)]
Remove RCS tags, typo fix.
Peter Hutterer [Wed, 13 Aug 2008 00:30:12 +0000 (10:00 +0930)]
Back out Device Properties from XI 2, push into XI 1.5.
Alan Hourihane [Tue, 29 Jul 2008 13:15:04 +0000 (14:15 +0100)]
bump to 1.99.9.3
Peter Hutterer [Mon, 28 Jul 2008 23:28:53 +0000 (08:58 +0930)]
Add DeviceControlChanged define.
This value is used for the devchange field in the DevicePresenceNotify event
when a device's control has been modified.
Alan Hourihane [Mon, 21 Jul 2008 09:33:47 +0000 (10:33 +0100)]
Bump to 1.9.99.2 for inputproto
Peter Hutterer [Sun, 13 Jul 2008 11:19:51 +0000 (20:49 +0930)]
Add #defines for XI_PROP_ENABLED, XI_PROP_MODE
These two props are expected to be supported by the server.
Peter Hutterer [Wed, 9 Jul 2008 08:58:26 +0000 (18:28 +0930)]
Set IEVENTS back to 18, got set to 8 inadvertantly.
Peter Hutterer [Mon, 7 Jul 2008 06:08:50 +0000 (15:38 +0930)]
Add XI device property requests and replies.
New requests:
ListDeviceProperties ... list all props of a device
QueryDeviceProperty ... query meta-information about a property
ChangeDeviceProperty ... change the content of a property
DeleteDeviceProperty ... delete a property
GetDeviceProperty ... retrieve a property
New event:
DevicePropertyChangedNotify ... the given property on the device has changed
Peter Hutterer [Wed, 28 May 2008 07:43:49 +0000 (17:13 +0930)]
Bump to 1.9.99.1.
Peter Hutterer [Mon, 12 May 2008 08:00:30 +0000 (17:30 +0930)]
Remove a leftover typedef, the code that requires it has since been removed.
Was part of the FakeDeviceData request, this request does not exist anymore.
Peter Hutterer [Mon, 12 May 2008 08:00:15 +0000 (17:30 +0930)]
Merge branch 'master' into mpx
Conflicts:
XI.h
Peter Hutterer [Sat, 26 Apr 2008 00:33:19 +0000 (10:03 +0930)]
Add major/minor version as supported by client to GetExtensionVersionReq.
This sort-of breaks old clients. Behaviour to be assumed is that if nbytes is
0, major/minorVersion is set and specifies the version as supported by the
client.
If nbytes is non-zero, the request is trailed by the extension name (INAME)
and major/minorVersion is undefined. This is the behaviour of pre-MPX clients.
And then there may be clients who found that no other extension uses this
request and supplying a name wasn't actually necessary since it was XI anyway.
These clients will break. Tough luck. Read the man pages next time.
Peter Hutterer [Fri, 25 Apr 2008 08:39:32 +0000 (18:09 +0930)]
Remove XInput.h. This file is now part of libXi.
XInput.h only belongs to libXi and is should not be part of the protocol
headers. For future revisions of this file refer to
git://anongit.freedesktop.org/git/xorg/lib/libXi
Peter Hutterer [Fri, 25 Apr 2008 01:04:01 +0000 (10:34 +0930)]
Add #define IREQUESTS 45. Specifies the number of requests in XI.
Adam Jackson [Mon, 10 Mar 2008 13:31:51 +0000 (09:31 -0400)]
Typo fix.
Adam Jackson [Mon, 10 Mar 2008 13:08:21 +0000 (09:08 -0400)]
C sucks: define XEventClass in terms of unsigned int, not CARD32.
Apparently pulling in Xmd.h here breaks qt, since they both define an
INT32 type (and incompatible ones even, since Xmd's is unsigned long on
ILP32 because whoever wrote Xmd.h is a C novice).
Adam Jackson [Thu, 6 Mar 2008 03:06:19 +0000 (22:06 -0500)]
inputproto 1.4.3
Peter Hutterer [Tue, 4 Mar 2008 07:40:00 +0000 (18:10 +1030)]
Add deviceid to QueryDevicePointer reply.
Doesn't hurt, we have padding left over anyway.
Peter Hutterer [Mon, 25 Feb 2008 06:21:31 +0000 (16:51 +1030)]
Squash opcode range for MPX XI requests.
This removes the opcode holes that were left by the excessive request removal
of the last weeks.
Peter Hutterer [Mon, 25 Feb 2008 06:15:16 +0000 (16:45 +1030)]
Remove GetPairedPointer, paired device can be found through ListInputDevices.
Peter Hutterer [Mon, 25 Feb 2008 05:58:05 +0000 (16:28 +1030)]
Remove "ungrab" from ExtendedGrabDevice request, remove XUngrabExtDevice().
That's what UngrabDevice is for, it does the same anyway.
Peter Hutterer [Mon, 18 Feb 2008 06:51:37 +0000 (17:21 +1030)]
Add WindowAccessAllowAll constant.
Not surprisingly the inverse of DenyAll.
Peter Hutterer [Thu, 14 Feb 2008 07:55:24 +0000 (18:25 +1030)]
Change XChangeDeviceHieararchy API.
Single-pointer to changes is enough since we have a union now.
Provide array first, then number of elements. This at least gives us
consistency within the MPX-related stuff. The rest of Xlib can't seem to make
its mind up about that.
Peter Hutterer [Thu, 14 Feb 2008 06:03:03 +0000 (16:33 +1030)]
Make XAnyDeviceHierarchyChangeInfo a union of the possible types.
Kinda the same as the XEvent union.
Some whitespace fixes too.
Peter Hutterer [Wed, 13 Feb 2008 22:47:34 +0000 (09:17 +1030)]
Whitespace fixing and sz_RegisterPairedClient removal.
Peter Hutterer [Wed, 13 Feb 2008 22:45:11 +0000 (09:15 +1030)]
Remove GrabAccessControl and FakeDeviceData.
Both aren't thought out enough to justify their inclusion in the first version
of MPX.
Peter Hutterer [Tue, 12 Feb 2008 08:49:58 +0000 (19:19 +1030)]
Remove RawDeviceEvent - for now anyway.
Wasn't quite as thought-out as it should be. Throwing it out for now, to get
the rest of MPX more stable.
Peter Hutterer [Tue, 12 Feb 2008 08:47:51 +0000 (19:17 +1030)]
Remove pairingChangedNotify event.
I swear I already removed that before... Anyway, we don't need it anymore,
since pairings can't be changed anyway. Hooray for the device hierarchy.
Peter Hutterer [Tue, 12 Feb 2008 04:34:24 +0000 (15:04 +1030)]
Remove "shared" field from QueryDevicePointer.
If it's a slave device, it's shared, if it's a master device it has its own
cursor. No need for this field.
Peter Hutterer [Wed, 23 Jan 2008 05:17:56 +0000 (15:47 +1030)]
Add a device id to XiSelectEvent.
Jesse Barnes [Mon, 21 Jan 2008 23:28:49 +0000 (15:28 -0800)]
Use Xmd.h instead of X.h to pull in CARD32 definition
On 64 bit hosts, CARD32 may be undefined unless we use Xmd.h to define it for
us. Apparently X.h is no longer sufficient.
Peter Hutterer [Tue, 18 Dec 2007 05:17:01 +0000 (15:47 +1030)]
Move deviceid in XDeviceCrossingEvent up to follow window.
This makes XDeviceCrossingEvents in line with the other events who have the
same initial ordering of things.
James Cloos [Thu, 6 Dec 2007 21:39:02 +0000 (16:39 -0500)]
Replace static ChangeLog with dist-hook to generate from git log
Peter Hutterer [Tue, 13 Nov 2007 06:52:21 +0000 (17:22 +1030)]
Remove RegisterPairingClient, deprecated with the device hierarchy now.
Peter Hutterer [Tue, 13 Nov 2007 00:59:06 +0000 (11:29 +1030)]
Add DeviceClassesChangedEvent.
Peter Hutterer [Thu, 8 Nov 2007 06:56:35 +0000 (17:26 +1030)]
Add DeviceHierarchyChangedEvent.
Uses same event type as the now removed PointerKeyboardPairingChangedNotify.
(removing the RandomStringEvent too, should have been gone a while ago)
Peter Hutterer [Fri, 19 Oct 2007 00:52:51 +0000 (10:22 +0930)]
Add XChangeDeviceHierarchy and its components.
Peter Hutterer [Thu, 18 Oct 2007 02:53:34 +0000 (12:23 +0930)]
Create new XAttachInfo class for attachment info (slave devices).
Thanks to XLibs design we can't just change XDeviceInfo without breaking the
ABI. So here's a new class that isn't actually a class on the wire.
Peter Hutterer [Thu, 18 Oct 2007 01:09:40 +0000 (10:39 +0930)]
Add XI version 2 defines.
Peter Hutterer [Wed, 17 Oct 2007 03:08:38 +0000 (12:38 +0930)]
xDeviceInfo: add "attached" field (replace previous padding).
If use is set to IsXExtensionPointer/Keyboard/Devices, attached indicates the
device ID of the master device it is attached to. If the device is floating,
attached is set to IsFloating.
Eamon Walsh [Thu, 27 Sep 2007 16:27:19 +0000 (12:27 -0400)]
XI.h needs X.h for CARD32 on 64-bit systems.
James Cloos [Mon, 3 Sep 2007 10:17:20 +0000 (06:17 -0400)]
Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/proto/inputproto
James Cloos [Mon, 3 Sep 2007 09:54:06 +0000 (05:54 -0400)]
Add *~ to .gitignore to skip patch/emacs droppings
Peter Hutterer [Fri, 31 Aug 2007 08:28:27 +0000 (17:58 +0930)]
Bump to 1.4.2.1
No source changes, the 1.4.2 tarball had a busted configure script.