Adam Jackson
1834cfb447
Fix an error message to not point to @xfree86.org.
2007-08-21 10:44:37 -04:00
Keith Packard
265a633cf1
Screen size changing should leave FB alone when X is inactive.
...
xf86RandR12ScreenSetSize must protect calls to EnableDisableFBAccess with
suitable vtSema checks to avoid invoking driver code while the X server is
inactive.
2007-08-20 23:24:22 -07:00
Keith Packard
7dc8531548
Ref count cursors used in hw/xfree86/modes code.
...
The multi-crtc cursor code in hw/xfree86/modes holds a reference to the
current cursor. This reference must be correctly ref counted so the cursor
is not freed out from underneath this code.
2007-08-20 23:24:12 -07:00
Alex Deucher
1f6ddae003
add xf86_crtc_clip_video_helper to xf86sym.c
2007-08-21 00:37:33 -04:00
David Nusinow
c839859d1b
Move module defaults from the header to the source file.
...
This is where they should have been in the first place. All the rest of
the code in the server defines such things in the source files, not the
headers.
2007-08-20 21:09:27 -04:00
Alex Deucher
53c04351c4
move intel crtc xv clipping helper to the xserver
...
The code is generic and can be used by any overlay-based card when
adding randr 1.2 support. Tested on radeon.
2007-08-20 19:47:55 -04:00
Julien Cristau
a1fe36b772
xfree86: Fix build on Linux/alpha.
...
A bunch of CFLAGS had gone missing, so the build failed with errors like:
../../../../../hw/xfree86/os-support/linux/lnx_ev56.c:7:19: error: input.h: No such file or directory
../../../../../hw/xfree86/os-support/linux/lnx_ev56.c:8:24: error: scrnintstr.h: No such file or directory
2007-08-21 00:26:33 +02:00
Blair Sadewitz
65a49f0ca1
Autoconfiguration of wsmouse for NetBSD.
2007-08-19 20:29:22 +02:00
Jeremy C. Reed
be536b79f2
Update for support on NetBSD and DragonFly. From
...
Joerg Sonnenberger and pkgsrc.
2007-08-16 11:23:28 -05:00
Jeremy C. Reed
1d4bea6106
Add some more support for DragonFly. From Joerg Sonnenberger
...
and pkgsrc.
2007-08-16 11:20:12 -05:00
Alan Coopersmith
026534f945
Update pci.ids to 2007-08-15 snapshot
...
Remove nvidia ids in extrapci.ids that are now in pci.ids
2007-08-15 16:47:53 -07:00
Samuel Thibault
03f9da6724
xfree86: Improve default mouse handling on the Hurd
...
Make /dev/mouse the default device. This makes Xorg works with empty
or missing InputDevice sections.
2007-08-12 03:08:49 +02:00
Eric Anholt
ff4bd3addb
Fix the swapped decode of the EDID DTD h/v sync polarity fields.
...
As a result, we can remove the quirks that existed to flip the bits back around
for us. This is not confirmed in all cases due to lack of bugs containing EDID
blocks associated with the quirks, but is likely true.
2007-08-08 14:39:27 -07:00
Gustavo Pichorim Boiko
2926cf1da7
[PATCH] Allocate the right number of entries for saving crtcs
2007-08-08 12:31:11 -07:00
Roland "Test-tools" Bär
f6aa2200f2
Probable off by one buffer overflow in .../xorgconfig/xorgconfig.c
...
X.Org Bug #11858 <http://bugs.freedesktop.org/show_bug.cgi?id=11858 >
Patch #11005 <http://bugs.freedesktop.org/attachment.cgi?id=11005 >
2007-08-06 12:37:52 -07:00
Dave Airlie
e717eb82dc
xserver: stop bcopy from going really slow
...
The outport is most likely unnecessary on any currently used hardware,
the byte copy is necessary from what I know on IA64 and friends so leave it.
Add a new API entry point which lets a driver select the old behaviour if
such a needs is ever found.
This gives me ~20% speed up on startup on 945 hardware.
2007-08-05 09:51:36 +10:00
Arkadiusz Miskiewicz
f3955c0a02
XFree86: xf1bpp: distclean generated files as well
...
Make sure we clean up after ourselves: not sure why distcheck didn't flag
this one.
2007-08-01 21:05:04 +03:00
Daniel Stone
43e71a5450
XFree86: xf1bpp: Fix previous build system commit
...
Amateur error.
2007-08-01 08:16:35 +03:00
Daniel Stone
505ec436af
XFree86: Properly clean up after ourselves
...
CLEAN is not a useful variable. CLEANFILES/DISTCLEANFILES, on the other hand,
are useful variables.
2007-08-01 08:11:08 +03:00
Daniel Drake
cacbdf18ee
Remove duplicated licenses
...
Some files had two copies of the same license.
2007-08-01 08:08:37 +03:00
Arkadiusz Miskiewicz
7fa5838572
XFree86: xf1bpp: Fix parallel build
...
One of the constructs wasn't parallel-build safe: fix that.
2007-08-01 08:01:28 +03:00
Daniel Stone
0e0174d45e
XFree86: Allow disabling of HAL
...
If NoAutoAddDevices is given as a server flag, then no devices will be added
from HAL events at all. If NoAutoEnableDevices is given, then the devices will
be added (and the DevicePresenceNotify sent), but not enabled, thus leaving
policy up to the client.
2007-08-01 03:33:06 +03:00
Daniel Stone
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
Daniel Stone
89f628394f
XFree86: Input: Fix whitespace
2007-08-01 03:33:05 +03:00
Daniel Stone
a93033b0bc
XFree86: Module: Bump input version
...
config_info changes the size (and ordering) of DeviceIntRec, so bump the
input major.
2007-08-01 01:53:31 +03:00
Daniel Stone
1150969b82
Convert all my license statements to the standard form
...
Convert all my license statements to the standard, accepted form:
cf. <20070717142307.GD13478@fooishbar.org>
http://lists.freedesktop.org/archives/xorg/2007-July/026451.html
keithp's license on configure.ac changed with his verbal permission.
2007-08-01 01:53:31 +03:00
Daniel Stone
7c9e8fd56e
Input: Allow enabling and disabling of devices
...
Add DEVICE_ENABLE to KDrive and XFree86 to allow us to enable and disable
devices on the fly.
2007-08-01 01:53:31 +03:00
Daniel Stone
4d3379d418
Fonts: Fix builtin fonts
...
Make sure the font path is always 'built-ins' when we use built-in fonts,
rather than having it as a fixed path for a while, then clobbering it
halfway through startup.
2007-08-01 01:53:31 +03:00
Dave Airlie
722d73a0ef
Revert "Fix RandR 1.2 conversion of two colour to ARGB cursor on MSB first platforms."
...
This reverts commit 0f057ebb27
.
This screws my cursor up just starting a bare X server on Intel,
I get the X more like <> than ><..
2007-07-31 10:34:56 +10:00
Adam Jackson
f62beb6f36
Remove all trace of Option "BiosLocation".
...
This code was deeply dangerous. If anyone actually had a use for this code,
we should find a better way of doing it.
2007-07-27 13:24:38 -04:00
Kristian Høgsberg
50cb6c7e44
Don't map the front buffer in libdri if the ddx driver doesn't set the size.
...
This lets drivers map the front buffer themselves
by setting dontMapFramebuffer.
2007-07-27 09:55:27 -07:00
Aaron Plattner
cec793ef7a
Include picturestr.h in xf86Crtc.h to pick up definition of PictTransform.
2007-07-26 11:49:46 -07:00
Brice Goglin
eba2be448b
Minor fixes in cvt and gtf manpages
...
Reported by "A. Costa" <agcosta@gis.net> in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432065
2007-07-25 20:53:45 +02:00
Michel Dänzer
0f057ebb27
Fix RandR 1.2 conversion of two colour to ARGB cursor on MSB first platforms.
...
Doesn't seem necessary to do anything here...
2007-07-25 17:04:04 +02:00
Gustavo Pichorim Boiko
5b424b562e
Set the crtc before the output change is notified
...
Set the new randr crtc of the output before the output change notification is
delivered to the clients.
Remove RROutputSetCrtc as it is not really necessary. All we have to do is set
the output's crtc on RRCrtcNotify
2007-07-23 14:47:45 -07:00
Julien Cristau
0f91abd5c6
Fix alpha build failures
...
Don't include <asm/pci.h> in os-support/linux/lnx_axp.c, use "lnx.h" and
<unistd.h> instead
2007-07-19 20:37:26 -04:00
Keith Packard
dc9c519628
Make PreferredMode option in config file override EDID mode preferences.
...
When the PreferredMode option is selected in the config file, remove the
M_T_PREFERRED bit from all other preferred modes to force the config file
mode to be selected.
2007-07-19 13:31:07 -07:00
Keith Packard
73a93c5a6b
Query modes on disabled (but not ignored) outputs.
...
Code that disabled mode detection on disabled outputs would confuse
applications by listing said outputs as connected but without any modes.
This makes the disabled state in the config file affect only the initial
configuration and not subsequent modifications by RandR.
2007-07-19 13:31:00 -07:00
Keith Packard
9fc36a391c
Make pending property changes trigger mode setting.
...
The DDX code was ignoring pending properties for computing when mode setting
was required. This meant that configurations differing only in property
values would not cause the mode to be set.
2007-07-19 13:30:51 -07:00
Adam Jackson
21bbd7d64b
Delete some pre-dlloader debugging scaffolding.
...
If your loader is as bad as elfloader, then it makes sense for the
server to have some stubs for you to assign to / break on. However it
is no longer 1996.
2007-07-18 15:45:11 -04:00
Adam Jackson
1f71f0c057
Remove (long-)deprecated xf86EnablePciBusMaster.
2007-07-18 15:44:45 -04:00
Adam Jackson
0a63d874e9
Always normalize the module name.
2007-07-18 15:44:45 -04:00
Adam Jackson
9a1c6afd12
Remove dead code for screen crossing.
2007-07-18 15:44:44 -04:00
Adam Jackson
8ca2fe8914
Delete dead module test code.
2007-07-18 15:44:44 -04:00
Adam Jackson
e2413cc7ca
Remove MEMDEBUG
...
This existed (but may not have worked) in the monolith, but is gone now.
2007-07-18 15:43:40 -04:00
Adam Jackson
d1d65a8415
Dead ifdefs for BITMAP_SCANLINE_UNIT == 64
...
This appears to be a legacy of cfb24 not being smart enough to deal with this
case. But since cfb24 unexists, die die die.
2007-07-18 15:42:30 -04:00
Adam Jackson
cbe74394a5
Nuke dead X -configure code.
2007-07-18 15:39:44 -04:00
Alan Coopersmith
bbe7ce10fa
Update pci.ids to 2007-07-16 snapshot
...
Remove nvidia ids in extrapci.ids that are now in pci.ids
Add nvidia ids to extrapci.ids that are in xf86-video-nv but not pci.ids
2007-07-16 17:25:59 -07:00
Keith Packard
ac979c1651
MakeAtom needs length without trailing NUL. sizeof("string") includes NUL.
...
I made a mistake in some new code using MakeAtom, passing the size of the
string instead of the length of the string. Figuring there might be other
such mistakes, I reviewed the server code and found four bugs of the same
form.
2007-07-14 12:13:17 -07:00
Keith Packard
393171034c
Add RandR reflection support.
...
Replace the ad-hoc transformation mechanisms with matrices.
Prepares for more general transformation as well.
2007-07-14 09:03:47 -07:00
Keith Packard
881a620b4d
When sync'ing logfile, also flush it.
...
When the logfile is set to sync, the actual sync occurs whenever the log
file is flushed. If the log file is not also set to flush, no syncing
occurs.
2007-07-14 09:03:46 -07:00
Alan Coopersmith
031b009ea6
Use %S instead of %s for strftime seconds when printing build time
2007-07-13 14:54:45 -07:00
Alan Coopersmith
6b4231e3b5
Use kbd driver when xorg.conf specifies "keyboard" or "Keyboard" (bug #11301 )
...
X.Org Bug #11301 <https://bugs.freedesktop.org/show_bug.cgi?id=11301 >
Sun Bug #6560332 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6560332 >
2007-07-12 16:36:27 -07:00
Alan Coopersmith
9fcb30ebf7
Make SOLARIS_INOUT_ARCH substitutions work better with automake-1.10
2007-07-12 13:00:32 -07:00
Adam Jackson
e316fa59fe
Add per-monitor config file option for maximum pixel clock.
2007-07-10 14:20:55 -04:00
Michel Dänzer
4abd00dab7
Make sure DRI drawables are cleaned up when client dies.
...
The previous scheme didn't work when the client didn't create the core drawable,
e.g. the root or composite overlay window. Use refcounting via special client
resources to fix that.
2007-07-10 09:02:08 +02:00
Jonathan Lim
16e429bcbf
Bug 5000: Fix domain support for SGI Altix
2007-07-04 20:08:49 +02:00
Michel Dänzer
0ede39a25c
Fix build when int10 doesn't use x86emu.
2007-07-03 10:55:13 +02:00
Adam Jackson
028a00bc51
Make x86emu's I/O cycle tracing more useful.
...
Print debug messages only when the appropriate debug bit is set in the
8086 state vector, so you can focus in on the call you're actually
interested in.
2007-07-02 18:41:55 -04:00
Gero Mudersbach
00e8295b7e
Bug #10814 : Add needed quirk for Samsung 225BW like the 226BW.
2007-07-02 11:40:11 -07:00
Eric Anholt
667e95f2e8
Correct the xf86EdidModes.c file description.
2007-07-02 11:36:11 -07:00
Eric Anholt
3de1f0d03b
Fix documentation of association of outputs to monitor sections in xorg.conf(5)
2007-07-02 11:27:25 -07:00
Adam Jackson
4d76075dbb
Death to RCS tags.
2007-06-29 14:06:52 -04:00
Adam Jackson
f7f3fe7fe7
Remove the remnants of OS/2 support.
...
This has never worked in any modular server release, and as far as I know
was never tested in 6.7 through 6.9.
2007-06-28 18:59:05 -04:00
Adam Jackson
8a06ff9ffa
Fix another usage of MAX_PCI_DEVICES.
...
Fixes cases where the VGA device is above the 128th device on the system.
2007-06-28 16:41:28 -04:00
Adam Jackson
928836a5ab
Bug #10770 : "Inputdevs" isn't a valid config file keyword.
2007-06-28 16:29:28 -04:00
Adam Jackson
bf1ad1aa42
Add VBE PanelID support.
...
Originally found only in the i810 driver.
2007-06-27 09:19:28 -04:00
Tiago Vignatti
38f8e53668
Janitor work. Remove 'defined but not used' warnings from xorg and other cosmetic.
2007-06-27 03:19:37 -03:00
Michel Dänzer
edb9ccf3ec
Make sure DRIScreenPrivIndex is -1 when no DRI screen private is allocated.
...
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=11340 .
2007-06-25 10:51:38 +02:00
Peter Hutterer
4c601b904e
configFiles(): don't return anything when declared as void.
2007-06-25 10:53:05 +09:30
Peter Hutterer
bec4e47d12
NULL-terminate device list when synthesizing core devices.
...
This fix is required for 93ca526892
to work.
2007-06-25 10:51:42 +09:30
Peter Hutterer
93ca526892
Split up memory for devices configured in the config file.
...
If we're using a continuous block here, we segfault when a device removal
triggers an xfree call.
2007-06-25 09:35:30 +09:30
Keith Packard
d2177c8091
Skip driver mode detection/configuration when !vtSema.
...
When the server is not active, make sure the driver functions related to
mode setting are not called.
2007-06-22 02:12:58 +01:00
Alan Coopersmith
e523859a95
Include module name in "already built-in" message
2007-06-20 17:54:38 -07:00
Ian Romanick
ab7a6d860d
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
...
Conflicts:
hw/xfree86/os-support/bus/Pci.c
hw/xfree86/os-support/bus/linuxPci.c
2007-06-18 16:51:13 -07:00
Adam Jackson
2e7fef7d08
Make xf86{En,Dis}ableInterrupts no-ops on Linux.
2007-06-18 12:08:39 -04:00
Lennart Buytenhek
831d3b7f8d
Compile fixes for Linux ARM platforms.
2007-06-18 12:05:55 -04:00
Zephaniah E. Hull
562ca3f2f9
In NewInputDeviceRequest, only call EnableDevice if xf86Screens[0]->vtSema is
...
true, preventing unwanted behavior in the case where a device is added while
the user is in a different VT.
2007-06-18 12:00:49 -04:00
Clark Rawlins
8d5f4368ea
Really make sure BUILD_TIME doesn't have a leading zero.
...
date +'%k%M%S' still gives a leading zero in the hour after midnight...
Add a leading 1 and remove it in xf86PrintBanner().
2007-06-11 16:53:38 +02:00
Michel Dänzer
1aceec61ff
DRI: Clip cliprects obtained from DRIGetDrawableInfo to screen dimensions.
...
This is to avoid issues with redirected windows which are located partly or
fully outside of a screen edge, resulting in unusual cliprects which the 3D
drivers generally can't handle. The symptoms in such cases would be incorrect
rendering or even crashes or hangs.
2007-06-11 09:23:19 +02:00
Michel Dänzer
5d896e43fd
DRITreeTraversal: Stop walking tree when we've seen all DRI windows.
2007-06-11 09:23:19 +02:00
Michel Dänzer
0fb44c6f9a
DRI: Fix build warning.
2007-06-11 09:23:19 +02:00
Daniel Ciocea
c079cce9d8
Fix sync polarity on Samsung SyncMaster 205BW monitor.
...
need to use standard VESA sync polarity instead of the
EDID provided -hsync -vsync values.
2007-06-08 18:12:21 -07:00
Zephaniah E. Hull
75dece08fb
xf86PostMotionEvents[P] calls xf86SendDragEvents, xf86SendDragEvents
...
unconditionally checks device->button->buttonsDown.
Let's make it possible to have a device with motion, but no buttons.
Without segfaulting.
2007-06-04 09:09:20 -04:00
Zephaniah E. Hull
fbb9b20395
Let's not do a calloc and a free on every call to xf86PostMotionEvents.
2007-06-04 06:59:42 -04:00
Zephaniah E. Hull
3f4295e643
Add xf86PostMotionEventP, takes a pointer instead of a variable number of
...
arguments.
Bump input ABI to 1.1 since we export this.
2007-06-04 06:48:06 -04:00
Zephaniah E. Hull
0cbc3a4da2
Print the build time as well as the date if we can.
2007-06-04 02:03:44 -04:00
Daniel Stone
9a7aaeb3f6
XFree86: Input: Assume core events per default
...
Assume that a device will be sending core events, unless explicitly
specified otherwise.
2007-06-03 18:38:53 +03:00
Daniel Stone
94361cbba7
XFree86: Input: Perform case-insensitive comparisons on option names
2007-06-03 18:38:42 +03:00
Adam Jackson
90eb22656c
Minor cleanup/robustification to config parsing.
2007-06-02 16:49:26 -04:00
Adam Jackson
f6a983533b
Don't warn about default behaviour when autoconfigging.
2007-06-02 16:37:39 -04:00
Adam Jackson
0e1384d831
Delete VDIF support; it was never used anyway.
2007-06-02 16:07:20 -04:00
Henry Zhao
66702f3c1c
Need to use minPitch in miScanLineWidth() to get the shrinked
...
linePitch.
2007-06-01 23:55:40 -07:00
Alan Hourihane
fa877d7ff2
Fix mode validation against the maximum X/Y values configured
...
at server startup, and not against the virtual X/Y parameters
as they can change.
This fixes an issue when canGrow is TRUE and modes get dropped
when using the virtual X/Y parameters.
2007-05-30 13:06:45 +01:00
Samuel Thibault
99eae8bea6
I/O enable/disable update for the Hurd
2007-05-29 22:04:36 -04:00
Julien Cristau
3c6f142848
Make sure that the ramdac symbols are present in the server
...
The former ramdac module is now built into the server, so its symbols need to
be explicitly exported to drivers (Debian #423129 ).
2007-05-29 22:01:30 -04:00
Matthieu Herrb
ee20c481ee
Remove wscons keyboard handling stuff that doesn't belong there anymore.
2007-05-29 14:54:27 -06:00
Matthieu Herrb
60de6c7ef9
Merge branch 'master' of ssh://herrb@git.freedesktop.org/git/xorg/xserver
2007-05-29 12:14:49 -06:00
Matthieu Herrb
3a6549a163
Make this build on OpenBSD
2007-05-29 12:14:23 -06:00
Bastian Blank
2267bf48b3
Fixes for s390
2007-05-28 21:55:05 -04:00