summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-03-14XkbCopyKeymap: Fix broken indentationDaniel Stone1-4/+4
An astute observer will note that the entirety of XkbCopyKeymap is indented with spaces, and no tabs whatsoever, and not commit changes which break the otherwise consistent indentation. A non-astute observer will note the breakage when the commit mail comes through with clearly broken indentation. A polite, non-astute, observer will then fix it. C'est la vie.
2008-03-14mi: More meaningful assert crashesDaniel Stone1-3/+8
When we fail an assert in miregion.c (which happens every now and then, though I haven't yet checked up why), at least generate a segfault, so we'll get a backtrace.
2008-03-14Fix a stray use of ALLOCATE_LOCAL.Adam Jackson1-3/+3
2008-03-14RANDR 1.2: Fix initial mode aspect ratio match in a corner case.Adam Jackson1-24/+27
Actually more like in the mainline case, where the ideal mode happens to be the very first aspect match on the first monitor. But let's not split hairs.
2008-03-13Bug #14332: Fix PCI access cycles from x86emu.Bart Trojanowski1-7/+50
The address written to 0xcf8 contains the PCI slot address to send the config cycle to. However, we would ignore that and always send the cycle to the device whose BIOS we were running. This breaks some integrated graphics platforms that have explicit knowledge about the system's host bridge, for example.
2008-03-13Bug #14091: Fix build (and runtime) on ia64.Doug Chapman4-70/+2
2008-03-13RANDR 1.2: Fix the RANDR 1.1 screen size estimation to approach reality.Adam Jackson1-2/+2
While the ScreenRec's notion of size in millimeters would get updates, the RANDR 1.1 notion wouldn't, so your screen would appear to be square and probably at some ludicrous DPI.
2008-03-13RANDR 1.2: Don't report a square resolution to RANDR 1.1 clients.Adam Jackson1-17/+0
It can't possibly do anything useful, and older versions of Gnome (and proably others) get very confused by it. So do the drivers, for that matter.
2008-03-12OpenBSD support for libpciaccess.Mark Kettenis3-1/+6
xserver and libpciaccess both need to open /dev/xf86, which can only be opened once. I implemented pci_system_init_dev_mem() like Ian suggested. This requires some minor changes to the BSD-specific os-support code. Since pci_system_init_dev_mem() is a no-op on FreeBSD this should be no problem.
2008-03-12Return randr interface version in xf86CrtcScreenInit()Matthias Hopf3-2/+17
Necessary to allow drivers to be run-time backwards compatible when using the modes/ functions w/o providing their own copy.
2008-03-11Silence REGION_INIT() warning.Kristian Høgsberg1-1/+1
Evaluating the address of a BoxRec as a boolean gives this warning: i830_driver.c:2317: warning: the address of 'ScreenBox' will always evaluate as 'true' which is pretty annoying. This patch compares the address to NULL to avoid the pointer->bool conversion and gets rid of the warning. Seems like a lame hack, but the warning is worse.
2008-03-11Make WriteToClient take a const void * like any decent IO write function.Kristian Høgsberg3-7/+9
Enough with the casting. Doesn't break API or even ABI, but does make a lot of silly casts superfluos.
2008-03-11DRI2: Add DRI2AuthConnection().Kristian Høgsberg2-0/+13
DRI2 uses the same authentication scheme as XF86DRI, so implement this entry point so DRI2 protocol code can access it.
2008-03-10XkbCopyKeymap was mangling doodads and overlaysKeith Packard1-2/+5
2008-03-10Add the "amd" driver to magic driver selection.Adam Jackson1-2/+3
2008-03-10Bug #14927: Fix the math for xf86NumDefaultModes.Adam Jackson1-1/+1
2008-03-09GLX: Track changes to DRI_TEX_BUFFER extension.Kristian Høgsberg1-5/+2
We now just pass in the __DRIdrawable.
2008-03-09DRI2: Return event buffer head index in DRI2CreateDrawable.Kristian Høgsberg4-6/+10
And pass it to the DRI driver in AIGLX.
2008-03-07Programs in hw/dmx/examples/ want client-side xkb headers.Julien Cristau2-2/+2
2008-03-07Fix DRI2 texture target for GLX_EXT_texture_from_pixmap.Kristian Høgsberg1-13/+2
Thanks to Dennis Kasprzyk for pointing it out and for reminding me to commit it.
2008-03-07Size xf86DefaultModes explicitly.Adam Jackson4-45/+17
i.e., don't check for the end of the list by ->name == NULL, since that won't work now. Fix the consumers of xf86DefaultModes to use the new explicit size as well.
2008-03-07Fix segfault when a monitor exists but has no modes.Adam Jackson1-0/+3
Thanks to Zhenyu Wang for finding this.
2008-03-06Get modes code building with old X servers again.Aaron Plattner5-4/+60
This change uses XORG_VERSION_CURRENT < 7.0 to mean "server newer than 1.2" since XORG_VERSION current went backwards at some point.
2008-03-06Allow RandR get output property to call into driversJesse Barnes5-6/+74
In order to report accurate values to users of the RandR property interface, it's sometimes necessary to ask the driver to update the value (for example when backlight brightness changes without the server's knowledge, due to hotkey events or direct sysfs banging). This patch wires up the core server code with a new xf86CrtcFuncs callback, get_property, to allow for this. The new code is available under the RANDR_13_INTERFACE define, which in turn depends on the RANDR_12_INTERFACE code.
2008-03-05Fix distcheck.Adam Jackson4-7/+8
(cherry picked from commit 2a47accff8dccded4dfe031f9366c028ba927824)
2008-03-04xselinux: Implement polyinstantiation support and related protocol.Eamon Walsh2-423/+695
2008-03-04Make sure SIOGLIFCONF buffer is properly aligned for socket structuresAlan Coopersmith1-8/+10
2008-03-04Make xf86InitialConfiguration slightly smarter.Adam Jackson1-77/+299
Old heuristic was to find the first monitor that expressed a preference, then attempt to get all other monitors to agree. This doesn't work particularly well when the two sets of modes don't precisely intersect, you get overlapping-but-not-identical output geometry and things go wrong. New heuristic is: - Exact user preference, if given - Exact output preference, if the same for all outputs - Best (largest) mode of modes common to all outputs: - with the same aspect ratio as all outputs (may be NULL) - with 4:3 aspect ratio - Then the old heuristic to try to get something lit Note that it is simply not doable to have a reliable initial output guess if you insist on trying to clone all outputs together. It's far too easy to end up with displays that simply don't have modes in common. We need to switch to right-of placement someday, once we're not limited to CRTC size limits and we have working multi-GPU in RANDR.
2008-03-04Remove all mention of the vga driver from the config logic.Adam Jackson2-4/+1
2008-03-04XACE: Check the return value of the selection create hook call.Eamon Walsh1-1/+6
2008-03-04dix: Convert selection list to a linked list.Eamon Walsh1-26/+22
Fixes a bug where pointers were being invalidated after a realloc.
2008-03-04XKB: Fix initial map setting on startupDaniel Stone2-6/+25
Due to an unwitting sense inversion when eliminating XkbFileInfo, we were setting the complete wrong keymap on startup (non-XKB map if we had an XKB map available, or the XKB map if we didn't have any available). Invert the sense properly, and add two small bits that also went missing in that commit.
2008-03-03Fix some documentation typosJames Cloos1-8/+8
2008-03-03Add cscope files to .gitignoreJesse Barnes1-0/+1
2008-03-03RANDR 1.2: Inherit PreferredMode from the global configuration, if any.Adam Jackson1-2/+18
If you don't do this, then Modes "800x600" in the Display subsection will be dutifully ignored and the driver will start at whatever resolution it feels like.
2008-03-03Fix Motif menu drawing in Xnest.Adam Jackson1-2/+2
See also Red Hat bug #229350, OpenSolaris bug #6366490.
2008-03-03xf86DDCMonitorSet: Honor the DisplaySize from the config file.Adam Jackson1-2/+4
We honor sync ranges and pixel clock settings from the config here, no reason to ignore DisplaySize.
2008-03-031.5 has branched, start 1.5.99.x.Adam Jackson1-1/+1
2008-03-02Add missing file from previous commit.David Nusinow1-0/+9
2008-03-02Bug #13860: Ensure that the DRI mode is in octal format.David Nusinow2-0/+7
2008-03-02use UTILS_SYS_LIBS to pass SYS_LIBS to utils/ioports correctlyMatthieu Herrb2-1/+4
2008-03-01bug #10008: Make Xvfb.1 document the correct default depthDavid Nusinow1-3/+3
2008-03-01fix typoGeorge Sapountzis1-1/+1
2008-03-01clean some "unused" warningsGeorge Sapountzis13-183/+2
2008-03-01glcore: split mesa and X in build systemGeorge Sapountzis2-24/+21
2008-03-01configure: minor cleanupGeorge Sapountzis1-64/+54
- dmx - darwin: remove from xorg options - xephyr: libxv is client lib
2008-03-01Fix big mistake in commit fd41f46ac62033a724bd1f4612f19448a21c1224.Maarten Maathuis1-1/+8
- When a mode is deleted, the name pointer is also free()'ed. - This leaves other modes with an invalid pointer.
2008-02-29dix: Modify callers of property and selection API to use new interfaces.Eamon Walsh11-77/+58
2008-02-29XACE: Add generic support for property and selection polyinstantiation.Eamon Walsh7-31/+36
2008-02-29dix: Refactoring of selection code to allow for polyinstantiation.Eamon Walsh8-311/+352
Introduces dixLookupSelection() API. Removes NumCurrentSelections from API.