- 23 Dec, 2009 7 commits
-
-
Dan Nicholson authored
In order to give NewInputDeviceRequest more information, a new InputAttributes type is introduced. Currently, this collects the product and vendor name, device path, and sets booleans for attributes such as having keys and/or a pointer. Only the HAL backend fills in the attributes, though. Signed-off-by:
Dan Nicholson <dbn.lists@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
-
Dan Nicholson authored
Refactored code into the parser to allow the freeform boolean types used in Option entries to be used in other configuration entries. This isn't as powerful as allowing "No" to precede the option names, but it atleast gives a common handling of "yes", "no", etc. A type xf86TriState has been added to support an optional boolean. This allows the boolean sense of the value to be kept while providing a means to signal that it is unset. Signed-off-by:
Dan Nicholson <dbn.lists@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
-
Peter Hutterer authored
If the keycode range exceeds the allowable length, memory gets overwritten. Catch this case by making sure that only allowed class types are present. X.Org Bug 25492 <http://bugs.freedesktop.org/show_bug.cgi?id=25492> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Dave Airlie <airlied@redhat.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Peter Hutterer authored
I don't think this one has been in use since 2003. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Dave Airlie <airlied@redhat.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Peter Hutterer authored
2003 called, they want their ifdefs back. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Dave Airlie <airlied@redhat.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Keith Packard authored
-
Julien Cristau authored
The number of keycodes needs to be lower than 0xFFFD so that the length field of xXIKeyInfo doesn't overflow. Signed-off-by:
Julien Cristau <jcristau@debian.org> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 22 Dec, 2009 2 commits
-
-
Peter Hutterer authored
This option isn't parsed by anything anymore. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Keith Packard <keithp@keithp.com>
-
Peter Hutterer authored
Reshuffle and reword - InputDevice sections are only necessary if hotplugging is disabled. Put more emphasis on hotplugging and less on HAL since we'll switch backends eventually. CorePointer, CoreKeyboard, and AlwaysCore should be listed as deprecated since they don't do what they used to since 1.4. These days, only SendCoreEvents matters and it's enabled for any driver calling xf86ProcessCommonOptions (== every driver). It only controls the startup behavior too, so document this. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Acked-by:
Keith Packard <keithp@keithp.com> Reviewed-by:
Alan Coopersmith <alan.coopersmith@sun.com>
-
- 20 Dec, 2009 1 commit
-
-
Keith Packard authored
Signed-off-by:
Keith Packard <keithp@keithp.com>
-
- 19 Dec, 2009 4 commits
-
-
Keith Packard authored
Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Alan Coopersmith authored
Convert all calls of CreateNewResourceType to pass name argument Breaks DIX ABI. ABI versions bumped: Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com> Reviewed-by:
Keith Packard <keithp@keithp.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Alan Coopersmith authored
Calls RegisterResourceName to record the type name for use by X-Resource, XACE/SELinux/XTsol, and DTrace. Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com> Reviewed-by:
Keith Packard <keithp@keithp.com>
-
Alan Coopersmith authored
Make sure to check return value before setting bitmask flags. For most calls, just fails to init the extension. Since Xinput already calls FatalError() on initialization failure, so does failure to allocate Xinput's resource type. Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com> Reviewed-by:
Keith Packard <keithp@keithp.com>
-
- 18 Dec, 2009 6 commits
-
-
Alan Coopersmith authored
PC105 is a more useful default for non-American keyboard users, not harmful for American PC101/PC104 keyboard users. Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com> Reviewed-by:
Dan Nicholson <dbn.lists@gmail.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Alan Coopersmith authored
Default remains the same - on for most OS'es on i386 (except Solaris), off for everyone else. Can be manually toggled via --enable-pc98 or --disable-pc98. Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Peter Hutterer authored
SpecialKeyHandling was removed from the kbd driver with version 1.4.0. Since this is the only version that will build against server 1.7+ it's not reasonable to mention it in the man page. Reword, point to XKB instead and make clear that some key combinations _may_ not be available in any given config. Reported-by: Derek Fawcus Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Alan Coopersmith <alan.coopersmith@sun.com>
-
Peter Hutterer authored
1.7 always shipped with DontZap disabled, it's just the default keymaps that may not include the symbol to trigger it. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Alan Coopersmith <alan.coopersmith@sun.com>
-
- 17 Dec, 2009 9 commits
-
-
Keith Packard authored
-
Keith Packard authored
-
Ville Syrjälä authored
Most of the Xv Put/Get operations have an off by one error in the viewport clipping. Apparently PutImage was fixed at some point but the same code was already copy-pasted all over the place, and so the other operations still suffer from the bug. Signed-off-by:
Ville Syrjälä <ville.syrjala@nokia.com> Reviewed-by:
Tiago Vignatti <tiago.vignatti@nokia.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Peter Hutterer authored
On Fri, Dec 11, 2009 at 10:19:01AM -0800, Keith Packard wrote: > On Wed, 9 Dec 2009 11:55:14 +1000, Peter Hutterer <peter.hutterer@who-t.net> wrote: > > On Tue, Dec 08, 2009 at 05:24:06PM -0800, Aaron Plattner wrote: > > > On Tue, Dec 08, 2009 at 03:52:27PM -0800, Peter Hutterer wrote: > > > > Xorg +xinerama crashes immediately due to whacky dependency between Xinerama > > > > and RandR12. The latter doesn't initialize if Xinerama is enabled, but if > > > > only one screen is found, Xinerama is disabled again and RandR12 tries to > > > > access data it never initialized. > > I'd sure like to have RandR get enabled when xinerama doesn't; is there > an easy way of making that happen here? Perhaps having the RandR12 code > disable Xinerama when only one screen is found? Or some other kludge? you know the dependency better than I do so any hints are apreciated. afaict, the screenInfo.numScreens (the check used by Xinerama) isn't necessarily initialized at this point so we can't use the same check. The following seems to work though: From 670b3ebdb7312a6433a8f093d0820785db2aea20 Mon Sep 17 00:00:00 2001 From: Peter Hutterer <peter.hutterer@who-t.net> Date: Mon, 14 Dec 2009 11:00:58 +1000 Subject: [PATCH] xfree86: if only one screen was found, disable Xinerama (#24627) Xorg +xinerama crashes immediately due to whacky dependency between Xinerama and RandR12. The latter doesn't initialize if Xinerama is enabled, but if only one screen is found, Xinerama is disabled again and RandR12 tries to access data it never initialized. Dependency chain is: - ProcessCommandLine sets noPanoramiXExtension to FALSE - xf86RandR12Init() is a noop - PanoramiXExtensionInit sets noPanoramiXExtension to TRUE - xf86RandR12CreateScreenResources tries to use the devPrivates key it never initialized. This hack checks if there's only one screen at the time RandR12 is initialized. If so, we expect Xinerama to fail anyhow so we disable it ourselves and proceed as planned. X.Org Bug 24627 <http://bugs.freedesktop.org/show_bug.cgi?id=24627> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Tiago Vignatti authored
Previously it was trying to set the same value as the default one. Sigh. Signed-off-by:
Tiago Vignatti <tiago.vignatti@nokia.com> Acked-by:
Rami Ylimaki <ext-rami.ylimaki@nokia.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Tiago Vignatti authored
FWIW default log verbosity is 0, so this will affect only if one start the server with a different -verbose argument. Signed-off-by:
Tiago Vignatti <tiago.vignatti@nokia.com> Acked-by:
Rami Ylimaki <ext-rami.ylimaki@nokia.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Tiago Vignatti authored
Signed-off-by:
Tiago Vignatti <tiago.vignatti@nokia.com> Acked-by:
Rami Ylimaki <ext-rami.ylimaki@nokia.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com> Acked-by:
Adam Jackson <ajax@redhat.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com> Acked-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 16 Dec, 2009 2 commits
-
-
Jeremy Huddleston authored
This is not portable, and accodring to Paulo should not be required any more. Signed-off-by:
Jeremy Huddleston <jeremyhu@freedesktop.org>
-
Jeremy Huddleston authored
Signed-off-by:
Jeremy Huddleston <jeremyhu@freedesktop.org> Reviewed-by:
Alan Coopersmith <alan.coopersmith@sun.com>
-
- 15 Dec, 2009 3 commits
-
-
Alan Coopersmith authored
Update the comment about "a modification is currently under discussion" since there hasn't been any such discussion for some time and this is the consensus agreed upon preferred format. Also throw in a pointer to the OSI discussion page about the MIT license. Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com> Signed-off-by:
Daniel Stone <daniel@fooishbar.org> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com> Acked-by:
Adam Jackson <ajax@redhat.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com> Acked-by:
Adam Jackson <ajax@redhat.com>
-
- 14 Dec, 2009 1 commit
-
-
Adam Jackson authored
Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com> Signed-off-by:
Adam Jackson <ajax@redhat.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
- 11 Dec, 2009 5 commits
-
-
Keith Packard authored
Windows (or even pixmaps, in some cases) may not sit at the origin of the containing pixmap, so any coordinates relative to the drawable must be adjusted. For destinations and untransformed sources, the operation coordinates are adjusted. For transformed sources, the transform matrix is adjusted. Signed-off-by:
Keith Packard <keithp@keithp.com> Acked-by:
Soeren Sandmann <sandmann@daimi.au.dk>
-
Keith Packard authored
These two sub-macros each perform half of the original macro work and the old macro is now implemented in terms of the new ones. This makes way for new code which wants to know the underlying pixmap for a window instead of just getting a pointer to the bits. Signed-off-by:
Keith Packard <keithp@keithp.com> Acked-by:
Soeren Sandmann <sandmann@daimi.au.dk>
-
Keith Packard authored
This reverts commit e9aa61e9. Conflicts: fb/fbpict.c Signed-off-by:
Keith Packard <keithp@keithp.com> Acked-by:
Soeren Sandmann <sandmann@daimi.au.dk>
-
Keith Packard authored
This reverts commit 7c7f0c2c. Signed-off-by:
Keith Packard <keithp@keithp.com> Acked-by:
Soeren Sandmann <sandmann@daimi.au.dk>
-
Keith Packard authored
This reverts commit 08df2455. Signed-off-by:
Keith Packard <keithp@keithp.com> Acked-by:
Soeren Sandmann <sandmann@daimi.au.dk>
-