summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-04-17security: remove debugging code.Eamon Walsh1-53/+0
2007-04-17Merge branch 'master' into XACE-SELINUXEamon Walsh64-639/+1363
Conflicts: dix/privates.c
2007-04-16Allow outputs to be explicitly enabled in config, overriding detect.Keith Packard1-10/+35
Option "Enable" "True" will force the server to enable an output at startup time, even if the output is not connected. This also causes the default modes to be added for this output, allowing even sync ranges to be used to pick out standard modes. (cherry picked from commit a3d73ba2cb7e13a6d129cd88d6a7f7d756e2ced2)
2007-04-16Use default screen monitor for one of the outputs.Keith Packard2-4/+39
By default, use the screen monitor section for output 0, however, a driver can change which output gets the screen monitor by calling xf86OutputUseScreenMonitor. (cherry picked from commit f4a8e54caf6b9431711383a39f55a18e7fd654f4)
2007-04-16Using wrong log level in extension to built-in messageKeith Packard1-1/+1
was: typo in built-in module log message (cherry picked from commit 00cfd1f765895b4d1b2234f3203727a8871b64b0)
2007-04-16remove sources deleted in MesaBrian1-2/+0
2007-04-16Changes for single-entity multi-screen DRI.Thomas Hellstrom4-173/+382
The entity (device) has a locking SAREA and a master file descriptor that optionally isn't closed between server generation. The locking SAREA contains the device hardware lock. Each DRI screen creates an new SAREA containing the drawable lock, drawable-and private info, the drawable SAREA. The first screen optionally shares its drawable SAREA with the device SAREA. Default is to close the master descriptor between server generations, and to share the drawable SAREA of the first screen with the device locking SAREA. Thus we should (hopefully) have full backwards compatibility. Mesa changes to support single-device multiple screens are pending.
2007-04-16RandR 1.2 spec says CRTC info contains screen-relative geometry.Keith Packard1-2/+4
Was reporting mode size instead of adjusting for rotation. (cherry picked from commit e2e7c47a528447e90cff6cf10d2ce457742ef48d)
2007-04-16Add quirk for Acer AL1706 monitor to force 60hz refresh.Keith Packard1-0/+5
This Acer monitor reports support for 75hz refresh via EDID, and yet when that rate is delivered, the monitor does not sync and reports out of range. Use the existing 60hz quirk for this monitor. (cherry picked from commit 1328a288e9030a472a915077160f090d1afd4126)
2007-04-14glx: move __glXMesaProvider from GLcore module to glx module.George Sapountzis3-3/+2
This treats the GLcore provider similar to DRI provider, using a subset of XMesa as the GLcore interface.
2007-04-14glx: drop xmesaP.h include from xf86glx.cGeorge Sapountzis1-1/+0
The declarations for the xfree86-specific XMesa functions were moved up to xmesa.h, requires Mesa as of 2007-04-13.
2007-04-14glx: drop stray CAPI define.George Sapountzis2-6/+0
SI imports/exports were dropped from Mesa.
2007-04-13Documentation for events.c.Peter Hutterer1-6/+444
2007-04-11XFree86: DGA: Don't call ProcessInputEvents from CloseScreenDaniel Stone1-3/+0
By the time CloseScreen gets called, we can't call ProcessInputEvents, as the event queue will get unhappy. So just unregister our hooks instantly, and hope that they don't get called.
2007-04-11Config: Extend D-BUS APIRemigiusz Marcinkiewicz1-15/+71
Return device ID where available. Add listDevices call, which does what it says on the box.
2007-04-11Input: Allow a pointer to a device to be returned in NIDRRemigiusz Marcinkiewicz4-4/+12
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-10Input: Always add devices with first available IDMagnus Vigerlöf1-2/+15
Scan the device list when adding a new device, and make sure we can use the first available ID, instead of always incrementing.
2007-04-10Config: Fix memory leaksMagnus Vigerlöf1-15/+12
Fix memory leaks that could occur along the error path.
2007-04-10Input: Add DeleteInputDeviceRequestMagnus Vigerlöf6-1/+43
Add DIDR, which asks the DDX to remove a device, analogous to NewInputDeviceRequest. Only implemented for XFree86 at the moment.
2007-04-10XFree86: Fix memory leaks, option parsing, in NewInputDeviceRequestMagnus Vigerlöf1-15/+53
Plugged some possible memory leaks, and added some more checks on the options, particular for driver/identifier. Added an unwind.
2007-04-10XFree86: Fix memory leak in option parsingMagnus Vigerlöf5-27/+30
Fix option parsing functions and callers thereof to not leak memory.
2007-04-10Input: Plug memory leak in device freeMagnus Vigerlöf1-1/+6
Remember to also free the motion history, if we're using the DIX-managed history.
2007-04-10getevents: Copy modifier state from extended to core devicesDaniel Stone1-0/+20
Make core events carry the same modifier state as the extended events, so that holding down Ctrl on keyboard A and pressing Q on keyboard B won't cause your app to quit.
2007-04-10mieq: Use larger default queue sizeDaniel Stone1-1/+1
Use a default queue size of 512 rather than 256, else Xephyr is too slow without a host cursor, so events get stuck in the queue.
2007-04-10Add a real xf86EnableIO/xf86DisableIO for NetBSD/PPC.Jared D. McNeill2-2/+34
2007-04-10Rotate screen size as needed from RandR 1.1 change requests.Keith Packard1-3/+10
Screen size must reflect rotated mode size when setting rotated mode using RandR 1.1 SetScreenConfig request. (cherry picked from commit efcec7dbd3c2736c7b421d29c4d37e231aa681d2)
2007-04-10Disable CRTC when SetSingleMode has no matching mode. Update RandR as well.Keith Packard3-2/+31
xf86SetSingleMode tries to resize all crtcs to match the selected mode. When a CRTC has no matching mode, it now disables the CRTC (instead of crashing). Also, poke the RandR extension when xf86SetSingleMode is done so that appropriate events can be delivered, and so that future RandR queries return correct information. (cherry picked from commit dc6c4f6989f87149d8605604f4514f5cbf11de67)
2007-04-09Look for the PCI ROM file elsewhere in sysfs.Adam Jackson1-2/+2
/sys/devices reflects the bus topology, and we don't care that much. Easier (and more reliable) to just look in /sys/bus/pci/devices, which is a flat view.
2007-04-09VT activate or waitactive are fatal if they fail.Adam Jackson1-5/+9
Also, be sure to waitactive on the way down, to make sure we're off the VT before exiting.
2007-04-09Don't write out empty sections from the parser.Adam Jackson1-6/+12
2007-04-09Bug #10560: Code-Cleanup: function declarations () -> (void)Stefan Huehner23-68/+68
X.Org Bugzilla #10560: <https://bugs.freedesktop.org/show_bug.cgi?id=10560> Patch #9511 <https://bugs.freedesktop.org/attachment.cgi?id=9511>
2007-04-09In AIGLX EnterVT processing, invoke driver EnterVT before resuming glx.Keith Packard1-1/+5
As the driver EnterVT function generally re-enables the hardware and prepares it for rendering, it must be called before any gl functions are called which could touch the hardware.
2007-04-09Add setrlimit call in -core option to make dumps occur.Keith Packard1-0/+8
Default core size limit for most environments is 0, which disables core dumps. Add code in the -core option processing path to set the core limit to the maximum value.
2007-04-08XFree86: Treat evdev and vmmouse as mouse drivers (bug #10512, #10559)Daniel Stone1-1/+5
When we see an evdev or vmmouse section, assume that it's a mouse, and don't add a default mouse device. This will break users who have an evdev keyboard section but no mouse, and want the mouse to get added by default.
2007-04-07regenerated to fix bug 10371Brian1-3/+3
2007-04-06GLcore: fix after moving xf86glx_util.[hc] to Mesa.George Sapountzis5-258/+5
2007-04-05Merge branch 'master' into XACE-SELINUXEamon Walsh77-532/+875
Conflicts: configure.ac
2007-04-05devPrivates rework: properly free devPrivates on compatibility structures,Eamon Walsh12-1/+20
type pixmap. Requires ddx'es to call the free function from DestroyPixmap.
2007-04-05configure: minor cosmetic, move GLX extension options together.George Sapountzis1-9/+15
2007-04-05glx: Remove stray __GLinterface.George Sapountzis2-2/+2
__GLinterface was droped from glcore.h
2007-04-05glx: fix symlink, glcontextmodes.c was moved to mesa/src/glx/George Sapountzis1-3/+0
2007-04-05devPrivates rework: minor fix; use calloc and avoid initialization.Eamon Walsh3-14/+8
2007-04-04dix: add new, combined resource lookup function. Move all dix lookup APIEamon Walsh7-171/+265
deprecated so far to a new file dix/deprecated.c. Remove the deprecation warnings for the time being.
2007-04-04devPrivates rework: properly free devPrivates on compatibility structures,Eamon Walsh7-0/+15
excluding pixmap.
2007-04-04Add an EXA driver callback to determine whether a pixmap isThomas Hellstrom2-1/+21
"offscreen" in exa terms, which means accessible to the GPU. Bump exa minor. The change is backwards-compatible.
2007-04-03Swap RRScreenChangeNotifyEvent dimensions when the screen has one crtc and ↵Aaron Plattner1-5/+13
it's rotated. RandR 1.1 clients expect the size fields in this event to be the unrotated dimensions of the screen. This behavior is "weird", but that's the way the old code worked so we need to be bug-compatible with it.
2007-04-03security: rewrite to use new devPrivates support.Eamon Walsh1-37/+38
2007-04-03xace: forgot one of the hook call arguments. Add it.Eamon Walsh1-1/+2
2007-04-03devPrivates rework: zero out newly allocated private space.Eamon Walsh1-1/+1
2007-04-03Implement a minor hack in dmxCheckFunctionKeys() to detect special keys.Brian1-3/+22
Keep track of status of (left) alt/ctrl keys so that ctrl-alt-q to exit can be detected. Not ideal, but works for now.