summaryrefslogtreecommitdiff
path: root/hw
AgeCommit message (Collapse)AuthorFilesLines
2009-07-14xwin: switch to byte counting functionsPeter Hutterer1-8/+6
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-14xquartz: switch to byte counting functionsPeter Hutterer2-2/+2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2009-07-14xfree86: switch to byte counting functionsPeter Hutterer9-40/+40
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-14dmx: switch to byte counting functionsPeter Hutterer2-11/+11
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-10Fix int10 module build after typo in commit 2638e9899Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-10configure: introduce --{enable,disable}-int10-moduleTiago Vignatti1-1/+5
Not all chipsets need to rely on the int10 scheme to do its daily work. Well, the ideal would be to remove all int10 module from the server. I'll try to provide some patches "soon" for this. Something like: http://cgit.freedesktop.org/~vignatti/libx86/ Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Acked-by: Oliver McFadden <oliver.mcfadden@nokia.com>
2009-07-10configure: introduce --{enable,disable}-vbeTiago Vignatti1-1/+5
Not all drivers need this kind of access as well. Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Acked-by: Oliver McFadden <oliver.mcfadden@nokia.com>
2009-07-10configure: introduce --{enable,disable}-vgahwTiago Vignatti1-1/+5
Not all drivers need this kind of access. Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Acked-by: Oliver McFadden <oliver.mcfadden@nokia.com>
2009-07-10xfree86: remove unused vbe header fileTiago Vignatti1-1/+0
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Acked-by: Oliver McFadden <oliver.mcfadden@nokia.com>
2009-07-09config: drop i810.Adam Jackson1-1/+0
The driver assuredly no longer builds against 1.7. Please don't feel compelled to fix it.
2009-07-07Xephyr & Xserver man page fixesAlan Coopersmith1-3/+3
Xephyr(1): Fix quote formatting, add missing ' to contraction Xserver(1): Add Xephyr(1) & startx(1) to SEE ALSO section Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-07Cygwin/X: Window positioning improvements for multiwindow modeJon TURNEY1-10/+24
A few tweaks to winUpdateWindowPosition(): * Don't allow window decoration to disappear off to top or left edge of the display as a result of adjustments to add decoration for the window style * Honour the position requested by window geometry for the client area (so windows which save their position don't get moved by the decoration width every time they are created) (unless we need to bump it away from top or left edges) * Fix an issue with initial window placement being offscreen on multimonitor systems when some monitors have negative coordinates (are to the left of or above the primary monitor) Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-07-06Remove old DRI2 buffer alloc/free interfacesKeith Packard4-206/+70
These old interfaces are no longer supported by the server, removing them requires bumping the video driver ABI. Note that this is not guaranteed to be the last change in ABI version 6. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Eric Anholt <eric@anholt.net>
2009-07-06dri2: Preserve compatibility with 1.6 DRI2 API/ABIKeith Packard3-77/+203
The old DRI2 buffer allocation API wasn't great, but there's no reason to make the server stop working with those drivers. This patch has the X server adapting to the API provided by the driver, using the new API where available and falling back to the old API as necessary. A warning will be placed in the log file when the old API is in use. Signed-off-by: Keith Packard <keithp@keithp.com>
2009-07-06Unclaim PCI slot if driver probing fails.Matthias Hopf3-1/+22
Otherwise no subsequent driver will be able to claim this pci slot. Example for this: fbdev tries to claim, but framebuffer device is not available. Later on VESA cannot claim the device.
2009-07-06s/MAX_DEVICES/MAXDEVICES/ updates.Peter Hutterer1-3/+3
The number of input devices is MAXDEVICES, not MAX_DEVICES (f781a752e6) Two comments updated to refer to MAXDEVICES. MAX_FUNCS in sigio.c was set to 16 if MAX_DEVICES was undefined. If more than 15 physical input devices were present, this could result in a failure to install the SIGIO handler for any device above 15. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-03XQuartz: ProcAppleWMAttachTransient to play nice with the new Dock in SLJeremy Huddleston3-2/+69
(cherry picked from commit ddc0242d8f291d0f961ba9aa8c883e39861ce2ad)
2009-07-03Xming: Apply window style hints in -multiwindow modeColin Harrison3-68/+266
Remove frames from 'dock' windows and make them topmost in -multiwindow mode. Remove frames from windows with MOTIF_WM_HINTS of no decorations in -multiwindow mode. Apply some _NET_WM_STATE hints in -multiwindow mode. Apply window styles overrides from .rc file Correctly update region of shaped windows when applying styles Copyright (C) Colin Harrison 2005-2009 http://www.straightrunning.com/XmingNotes/ http://sourceforge.net/projects/xming/
2009-07-03Cygwin/X: Change to a single native window class for all X windowsJoe Krahn2-92/+56
from fd.o Bugzilla #4491: There is no point in having one class for every window, aside from trying to set custom icons via the class, which we no longer do, so converted to using a single class for all client windows. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-07-03xfree86: fix wrong IsMaster() check causing crashes.Peter Hutterer1-2/+1
Crashes caused by dereferencing NULL if the path was executed for a floating slave device. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-30Export symbols needed by the RandR implementation in fglrxFelix Kuehling3-2/+3
GIT change http://cgit.freedesktop.org/xorg/xserver/commit/?id=45c8bd0fe54273039fdaa1eeeafb81b5774f2c75 changed the default symbol visibility of the Xserver. As a result 2 symbols that are needed by the RandR 1.2/1.3 implementation in the fglrx driver are no longer visible: xf86configptr xf86CursorScreenKey We would like to get these two symbols _X_EXPORT'ed before Xserver 1.7 is released. Otherwise it will be problematic for fglrx to support RandR 1.3 on Xserver 1.7. In the future, we may want to sync our RandR implementation to later versions of the RandR implementation in hw/xfree86/modes. Therefore it would be nice if all symbols used by the Xserver RandR implementation were _X_EXPORT'ed in the future.
2009-06-29Cygwin/X: Fix multiwindow extwm mode to build againJon TURNEY4-25/+10
Build and link with rootless extension Update Xwin code for removal of RootlessAccelInit() Fix Xwin code which now has a collision with the type name EventType Based on patches from Colin Harrison, Jon Turney and Yaakov Selkowitz Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-06-29Cygwin/X: Avoid a visual glitch on window move in rootless modesJon TURNEY2-0/+19
Handle and ignore WM_ERASEBKGND since we repaint the entire invalidated region anyhow (this avoids a white flickering on window resize) Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-06-29Cygwin/X: Allow pointer warping to work in rootless modesJon TURNEY1-2/+10
Mouse pointer warping in multiwindow/rootless mode was never implemented, due to concerns that moving the mouse pointer without asking might be rude This patch allows X applications to move the mouse pointer in rootless modes, Let's hope they don't abuse this privilege ;-) Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-06-29Cygwin/X: Improve mouse tracking for moving/resizing undecorated windowsJon TURNEY1-22/+37
In -multiwindow mode, tell Windows we wish to capture the mouse when a button is down. This causes Windows to continue to send movement events for the mouse even if the mouse pointer moves outside the window frame. This helps greatly with undecorated windows which have regions you can grab to move (e.g. gmplayer, xine control panels) or resize (e.g. Songbird) the window, as it means the window continues to receive the mouse motion even if the mouse pointer moves out of the window (which presumably happens if we don't manage to update the window fast enough to track the mouse pointer) Consolidate the multiple instances of the code to start the mouse position polling timer into a new function winStartMousePolling(), and use that to restart the polling timer when we release the mouse. Also, start the timer on WM_SHOW, so that xeyes will track the mouse position when it is first shown, even if the mouse doesn't enter it's window (You probably need focus-stealing turned off to see this problem) Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-06-29Cygwin/X: Man page fixesYaakov Selkowitz3-18/+39
Correct path names in man pages, using cpprules.in Install XWinrc man page into section 5 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-06-29EDID: Fix timing class names to match the specAdam Jackson1-3/+3
2009-06-27XQuartz: Don't leave zombied processes at startupJeremy Huddleston1-2/+38
(cherry picked from commit 40c1406830588fa85d880e9f4e9ca570db1db306)
2009-06-27XQuartz: 64bit fix for screen origin in AppleWMJeremy Huddleston1-1/+1
(cherry picked from commit 60a757d2802a5c34acd91ca9a052937b5a169ede)
2009-06-27XQuartz: More localization updatesJeremy Huddleston8-226/+218
(cherry picked from commit 5925c1f48ad05bf94195b986c1fdefc52a20ae42)
2009-06-24xfree86: DIST_SUBDIRS should not contain variablesRémi Cardona1-1/+1
This patch reverts a change done in commit 800d4ceb946c93724661ebfd28afb658ca63b6b1 to add conditional XAA support Signed-off-by: Rémi Cardona <remi@gentoo.org>
2009-06-24configure: Provide the --enable/disable-xaa option.Tiago Vignatti1-2/+6
Acked-by: Daniel Stone <daniel@fooishbar.org>
2009-06-24xf86Config: Avoid attempting to load non-compiled modules.Oliver McFadden1-0/+6
Acked-by: Daniel Stone <daniel@fooishbar.org>
2009-06-23Cygwin/X: add hebrew to autodetected keyboard layoutsYaakov Selkowitz1-0/+1
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-06-23Cygwin/X: more warnings fixesJon TURNEY4-32/+31
More warning fixes, mainly removing casts on function return values Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-06-23Cygwin/X: Remove an obsolete mention of xf86ConfigJon TURNEY1-1/+1
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-06-23dri2: Don't crash if pPriv is NULL.Michel Dänzer1-2/+10
2009-06-23quirk: use first detailed timing as preferred for PEA prod 9003 (rh#492359)Ben Skeggs1-0/+5
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-19XQuartz: More localization updatesJeremy Huddleston23-2456/+1709
(cherry picked from commit 7fbe974246f54535c545861a57c043d80e127ee7)
2009-06-19pci: Dump vendor/devices ids in the printed device listAdam Jackson1-6/+4
2009-06-19Use pixman_version_string() instead of PIXMAN_VERSION_STRINGSøren Sandmann Pedersen1-1/+1
Pointed out by Julien Cristau.
2009-06-19fbdev: make entity fail if PCI claimed already.Dave Airlie2-0/+10
bad kitty fbdev, been shipping this in Fedora for a while now
2009-06-18Print the current version of pixman.Søren Sandmann Pedersen1-0/+1
2009-06-18xfree86: fix SWCursor check in xf86CursorSetCursor.Peter Hutterer1-3/+4
Wrong check for inputInfo.pointer resulted in a SW cursor being rendered when the pointer left the screen (in a Xinerama setup). We must call the sprite rendering function if - SW cursors are enabled, or - The current device is not the VCP and not attached to the VCP. Reported-by: Gordon Yuan <GordonYuan@viatech.com.cn> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-17Cygwin/X: Fix permuted args to InitPointerDeviceStruct()Jon TURNEY1-1/+1
Fix a minor error in commit a30fef9956b296f59ea18a9ee38d0abafeb15a4e, new btn_labels argument to InitPointerDeviceStruct() wasn't added in the right place
2009-06-17xfree86: correctly define barriers for FreeBSD amd64Benjamin Close1-1/+1
Previously when compiling on freebsd amd64 we'd end up at xi86 block (line 1315) which would define mem_barrier and write_mem_barrier to be NOP's. Instead they should be valid, as per the linux amd64 setup. This stops the hangs experienced by many when using the nv driver which would hang due to out of order dma requests as noticed in http://bugs.freedesktop.org/show_bug.cgi?id=3168 Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com>
2009-06-18input: Add labels to buttons and valuators - ABI_XINPUT_VERSION 7Peter Hutterer8-27/+157
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-17xfree86: fix two compiler warnings in xf86vmode.cPeter Hutterer1-2/+2
xf86vmode.c:1578: warning: pointer targets in passing argument 1 of ‘SwapShorts’ differ in signedness ../../../../include/misc.h:231: note: expected ‘short int *’ but argument is of type ‘CARD16 *’ xf86vmode.c:1543: warning: unused variable ‘i’ Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-17xfree86: silence a few int10 compiler warnings.Peter Hutterer1-14/+14
'format ‘%#x’ expects type ‘unsigned int’, but argument 2 has type ‘CARD32’' and similar. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-16EDID: Carp about 1.4 monitors with no preferred refresh rateAdam Jackson1-2/+6
You would think, having finally tightened down the spec, that monitor vendors would bother to implement what the spec actually mandates. You would be wrong.