27bcf40cda 
								
							 
						 
						
							
							
								
								XACE: Fix instances of DixUnknownAccess at hook callsites.  
							
							
							
						 
						
							2008-02-28 16:43:43 -05:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								453661a9e1 
								
							 
						 
						
							
							
								
								Xi: swap the control attached to a ChangeDeviceControl request. Bug  #14170  
							
							... 
							
							
							
							Just swapping the request's data isn't enough, we need to swap the actual
control as well.
X.Org Bug 14170 <http://bugs.freedesktop.org/show_bug.cgi?id=14170 > 
							
						 
						
							2008-02-28 15:47:26 +10:30 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								ae43d835bd 
								
							 
						 
						
							
							
								
								XACE: Change access modes for some device-related requests.  
							
							... 
							
							
							
							Opening a device is not really "reading" it.
Requests that globally configure a device should require "manage" access. 
							
						 
						
							2008-02-13 20:20:49 -05:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								dd5e0f5cd5 
								
							 
						 
						
							
							
								
								Fix for CVE-2007-6427 - Xinput extension memory corruption.  
							
							
							
						 
						
							2008-01-17 15:27:34 +01:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								d0308b6465 
								
							 
						 
						
							
							
								
								Xi: specify correct struct when calculating size of GetDeviceControl reply.  
							
							... 
							
							
							
							This doesn't change much, as the struct previously given has the same size as
the ones now anyway. Still, we should be pendantic.
Thanks to Simon Thum for reporting. 
							
						 
						
							2007-12-19 18:18:10 +10:30 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								c8feb73f58 
								
							 
						 
						
							
							
								
								Merge branch 'master' into XACE-SELINUX  
							
							... 
							
							
							
							Conflicts:
	Xext/EVI.c
	Xext/bigreq.c
	Xext/cup.c
	Xext/dpms.c
	Xext/fontcache.c
	Xext/mitmisc.c
	Xext/xcmisc.c
	Xext/xf86bigfont.c
	Xext/xtest.c
	configure.ac
	dbe/dbe.c
	hw/darwin/darwin.h
	hw/darwin/darwinEvents.c
	hw/darwin/iokit/xfIOKit.h
	hw/darwin/iokit/xfIOKitCursor.c
	hw/darwin/quartz/fullscreen/fullscreen.c
	hw/darwin/quartz/fullscreen/quartzCursor.c
	hw/darwin/quartz/quartz.c
	hw/darwin/quartz/quartzCommon.h
	hw/darwin/quartz/quartzCursor.c
	hw/darwin/quartz/xpr/dri.c
	hw/darwin/quartz/xpr/dristruct.h
	hw/darwin/quartz/xpr/xprCursor.c
	hw/darwin/quartz/xpr/xprFrame.c
	hw/xfree86/modes/xf86RandR12.c
	include/cursor.h
	miext/rootless/rootlessCommon.h
	miext/rootless/rootlessScreen.c
	miext/rootless/rootlessWindow.c
	render/picturestr.h
Trying to pick up the pieces from the darwin churn here... 
							
						 
						
							2007-12-13 18:38:25 -05:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								0fccb24aa9 
								
							 
						 
						
							
							
								
								ProcessOtherEvent: Don't do double translation of button events  
							
							... 
							
							
							
							We already deal with the button mapping in GetPointerEvents, so don't
do the remapping again in ProcessOtherEvent. 
							
						 
						
							2007-12-05 18:29:54 +00:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								edebe76cfd 
								
							 
						 
						
							
							
								
								Xi: set DeviceXXXState's length fields to the correct size of the struct.  
							
							... 
							
							
							
							Setting it to the size of a pointer is an interesting but equally wrong
approach. Luckily Xlib never used this field anyway so nobody got hurt so far.
Spotted by Simon Thum.
(cherry picked from commit 0f2398d06c 
							
						 
						
							2007-11-27 13:15:28 +10:30 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								17b0c729b5 
								
							 
						 
						
							
							
								
								registry: Remove registry code from XInput extension.  
							
							... 
							
							
							
							Moving all the names into dix/registry.c 
							
						 
						
							2007-11-20 18:46:43 -05:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								a52c9b2a59 
								
							 
						 
						
							
							
								
								Merge branch 'master' into XACE-SELINUX  
							
							... 
							
							
							
							Conflicts:
	dix/dispatch.c
	dix/property.c
	hw/xfree86/common/xf86VidMode.c
	include/xkbsrv.h
	render/glyph.c
	xkb/xkbActions.c 
							
						 
						
							2007-11-05 19:08:36 -05:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								fb32bb9839 
								
							 
						 
						
							
							
								
								Xi: Remove usage of alloca  
							
							... 
							
							
							
							Replace with xalloc/xfree. 
							
						 
						
							2007-11-05 14:34:46 +00:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								6107a24503 
								
							 
						 
						
							
							
								
								dix: Add client parameter to AddPassiveGrabsToList().  
							
							
							
						 
						
							2007-10-18 12:24:55 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								5277a6ff58 
								
							 
						 
						
							
							
								
								registry: Register Input extension protocol names.  
							
							
							
						 
						
							2007-10-15 14:14:37 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								8b54865720 
								
							 
						 
						
							
							
								
								xace: add hooks + new access codes: XKB extension.  
							
							... 
							
							
							
							Removes "LookupKeyboardDevice" and "LookupPointerDevice" in favor of
inputInfo.keyboard and inputInfo.pointer, respectively; all use cases
are non-XI compliant anyway. 
							
						 
						
							2007-09-28 13:34:18 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								5c03d13181 
								
							 
						 
						
							
							
								
								xace: add new hooks + access controls: XInput extension.  
							
							... 
							
							
							
							Introduces new dix API to lookup a device, dixLookupDevice(), which
replaces LookupDeviceIntRec and LookupDevice. 
							
						 
						
							2007-09-28 08:02:00 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								3b114f2603 
								
							 
						 
						
							
							
								
								Input: Properly swap DevicePresenceNotify events.  
							
							
							
						 
						
							2007-09-26 07:26:59 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								31a7994ac7 
								
							 
						 
						
							
							
								
								Input: Return errors to the dispatcher instead of sending them ourself.  
							
							... 
							
							
							
							Also fixed two "unused variable: stuff" warnings. 
							
						 
						
							2007-09-26 07:26:59 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								27ad5d74c2 
								
							 
						 
						
							
							
								
								Input: Generate XKB mapping changes for all core-sending devices (bug  #12523 )  
							
							... 
							
							
							
							When we change the mapping on a core device, make sure we propagate this
through to XKB for all extended devices as well. 
							
						 
						
							2007-09-23 17:17:20 +03:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								cd8e99e56e 
								
							 
						 
						
							
							
								
								Input: Don't enable devices when we open them  
							
							... 
							
							
							
							Thanks to Xi's braindead design, it's otherwise impossible to query input
devices without enabling them.  Hurrah. 
							
						 
						
							2007-08-01 03:33:06 +03:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								87564543d9 
								
							 
						 
						
							
							
								
								Only decrement buttonsDown when the button count is greater than 0.  
							
							... 
							
							
							
							Device drivers flush their buttons on device init and cause a button down
event to be generated. If we unconditionally decrease the buttons, we won't be
able to ever get a passive device grab.
Format documentation for CheckDeviceGrabs to make it readable.
(cherry picked from commit 3e894974cd 
							
						 
						
							2007-06-25 09:35:30 +09:30 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								aecbc71214 
								
							 
						 
						
							
							
								
								Input: Allow a pointer to a device to be returned in NIDR  
							
							... 
							
							
							
							Allow a pointer to the first device added to be returned, so we know which
device(s) were added by the NIDR call. 
							
						 
						
							2007-04-11 00:38:16 +03:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								82962bbae2 
								
							 
						 
						
							
							
								
								Input: Add DeleteInputDeviceRequest  
							
							... 
							
							
							
							Add DIDR, which asks the DDX to remove a device, analogous to
NewInputDeviceRequest.  Only implemented for XFree86 at the moment. 
							
						 
						
							2007-04-10 23:58:20 +03:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								307d2b57bb 
								
							 
						 
						
							
							
								
								Xi:     remove 'register' keywords.  
							
							
							
						 
						
							2007-03-29 15:23:41 +09:30 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								e88fa75c9b 
								
							 
						 
						
							
							
								
								Static cleanup on Xi/  
							
							
							
						 
						
							2007-03-25 21:18:39 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								9a0f25de7c 
								
							 
						 
						
							
							
								
								Static cleanups, dead code deletion.  
							
							
							
						 
						
							2007-03-25 12:27:01 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								04c721854f 
								
							 
						 
						
							
							
								
								Convert callers of LookupWindow() to dixLookupWindow().  
							
							
							
						 
						
							2006-12-15 14:19:54 -05:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								96e32805d1 
								
							 
						 
						
							
							
								
								Xi: disallow changing core keyboard and pointer  
							
							... 
							
							
							
							Just short-circuit the change core keyboard/pointer requests. 
							
						 
						
							2006-10-29 03:43:34 +03:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								b03e2f7029 
								
							 
						 
						
							
							
								
								xi: fix NIDR return yet again  
							
							... 
							
							
							
							For a one-line function, it was pretty broken. 
							
						 
						
							2006-10-22 19:56:49 +03:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								90de7ce25a 
								
							 
						 
						
							
							
								
								xi: fix return type for NIDR  
							
							
							
						 
						
							2006-10-22 19:54:36 +03:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								f46dc27291 
								
							 
						 
						
							
							
								
								xi: add NewInputDeviceRequest to stubs  
							
							
							
						 
						
							2006-10-22 19:51:35 +03:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								31a6307b7b 
								
							 
						 
						
							
							
								
								xi: change DEVICE_TOUCHSCREEN to ABS_{AREA_CALIB} for stubs  
							
							
							
						 
						
							2006-10-22 19:49:31 +03:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								eae6594d03 
								
							 
						 
						
							
							
								
								Xi: swap control in DevicePresenceNotify  
							
							
							
						 
						
							2006-10-22 16:39:44 +03:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								be21630164 
								
							 
						 
						
							
							
								
								dix, Xi: make use of deviceid in DevicePresenceNotify  
							
							... 
							
							
							
							Use the deviceid and control fields in DevicePresenceNotify since
the last push to inputproto to send a DPN whenever a control changes
on a device. 
							
						 
						
							2006-10-22 16:33:02 +03:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								e26a494f41 
								
							 
						 
						
							
							
								
								Merge branch 'input-hotplug' of git+ssh://git.freedesktop.org/git/xorg/xserver  
							
							
							
						 
						
							2006-10-21 04:26:14 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								736b0d5078 
								
							 
						 
						
							
							
								
								DEVICE_TOUCHSCREEN becomes DEVICE_ABS_CALIB.  
							
							... 
							
							
							
							Update the DEVICE_ABS_CALIB stuff to include the new elements.
New DEVICE_ABS_AREA support.
dev->touchscreen becomes dev->absolute, with _CALIB and _AREA stuff in it.
Update xfree86 to compile with this, kdrive needs an update too. 
							
						 
						
							2006-10-21 04:24:49 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								a8d3dad9d9 
								
							 
						 
						
							
							
								
								xi: add DEVICE_ENABLE control  
							
							... 
							
							
							
							Add DEVICE_ENABLE control, which allows runtime enabling and disabling
of specific devices. 
							
						 
						
							2006-10-20 00:43:11 +03:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								ca474e0920 
								
							 
						 
						
							
							
								
								Xi: move SendEventToAllWindows and FindInterestedChildren to exevents  
							
							... 
							
							
							
							Move SendEventToAllWindows and FindInterestedChildren from chgptr to exevents,
so the DIX can more easily use it.
Clean up two warnings (type mismatch, unused variable) in exevents.c. 
							
						 
						
							2006-10-08 20:30:49 +03:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								0a3740a000 
								
							 
						 
						
							
							
								
								Typo correction, 'i' is not a '1', so no longer crash on some Xi requests.  
							
							
							
						 
						
							2006-09-10 15:49:25 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								458c63a841 
								
							 
						 
						
							
							
								
								enable adding devices after removal of a middle device  
							
							... 
							
							
							
							Allow new devices to be added after a device that _wasn't_ the last on the
list was removed, by ensuring inputInfo.numDevices always increases, and
never decreases. 
							
						 
						
							2006-08-07 23:02:17 +03:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								d32dc8bf19 
								
							 
						 
						
							
							
								
								be more careful in IVAS  
							
							... 
							
							
							
							Don't walk off the end of a NULL pointer in InitValuatorAxisStruct. 
							
						 
						
							2006-07-21 15:19:54 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								0a2068d123 
								
							 
						 
						
							
							
								
								Xi: add XExtension{Keyboard,Pointer} types  
							
							... 
							
							
							
							Report XExtensionKeyboard for non-core keyboards, and XExtensionPointer for
non-core pointers/mice. 
							
						 
						
							2006-07-21 15:19:52 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								c7577f9b88 
								
							 
						 
						
							
							
								
								Xi: add DevicePresenceNotify  
							
							... 
							
							
							
							Add support for DevicePresenceNotify events. 
							
						 
						
							2006-07-21 15:19:52 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								b308dbf273 
								
							 
						 
						
							
							
								
								add DEVICE_TOUCHSCREEN and DEVICE_CORE Xi controls (DeviceIntRec ABI break)  
							
							... 
							
							
							
							Add DEVICE_TOUCHSCREEN and DEVICE_CORE controls to the Xi code, and the
TouchscreenClassRec and a coreEvents flag, to toggle propagation of core
events. 
							
						 
						
							2006-07-21 15:19:50 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								84683f19b4 
								
							 
						 
						
							
							
								
								get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULE  
							
							... 
							
							
							
							Get rid of almost all uses of these definitions.  They're still defined for
delinquent out-of-tree drivers, and also for the Mesa build.  As well as
for miinitext.c.  But largely gone. 
							
						 
						
							2006-07-18 18:17:38 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								d5bc41b882 
								
							 
						 
						
							
							
								
								Coverity  #323 ,  #445 ,  #446 ,  #447 : Fix potential NULL dereferences.  
							
							
							
						 
						
							2006-04-09 17:15:51 +00:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								710bb2e6c8 
								
							 
						 
						
							
							
								
								Reindent with -cbi0.  
							
							
							
						 
						
							2006-03-31 14:52:57 +00:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								6d7083bd69 
								
							 
						 
						
							
							
								
								indent fixes (OMG SO UGLY), and nuke old RCS keywords.  
							
							
							
						 
						
							2006-02-20 22:16:49 +00:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								5480c537ce 
								
							 
						 
						
							
							
								
								ANSIfy Xi/. Mostly automated via protoize(1).  
							
							
							
						 
						
							2006-02-20 21:50:49 +00:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								f105b8da11 
								
							 
						 
						
							
							
								
								Mark everything in dixsym.c as _X_EXPORT.  
							
							
							
						 
						
							2006-02-15 20:44:13 +00:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								7c00afd0ec 
								
							 
						 
						
							
							
								
								Define XFree86Server only where it is required.  
							
							
							
						 
						
							2005-12-02 06:02:45 +00:00