Peter Hutterer
d4dad6f84f
Merge branch 'master' into mpx
...
Conflicts:
configure.ac
dix/events.c
hw/xfree86/common/xf86Xinput.c
2007-04-12 11:11:03 +09:30
Daniel Stone
33a5d9605e
XFree86: DGA: Don't call ProcessInputEvents from CloseScreen
...
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-11 18:28:57 +03:00
Remigiusz Marcinkiewicz
aecbc71214
Input: Allow a pointer to a device to be returned in NIDR
...
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-11 00:38:16 +03:00
Magnus Vigerlöf
82962bbae2
Input: Add DeleteInputDeviceRequest
...
Add DIDR, which asks the DDX to remove a device, analogous to
NewInputDeviceRequest. Only implemented for XFree86 at the moment.
2007-04-10 23:58:20 +03:00
Magnus Vigerlöf
7b82a836c6
XFree86: Fix memory leaks, option parsing, in NewInputDeviceRequest
...
Plugged some possible memory leaks, and added some more checks on the
options, particular for driver/identifier. Added an unwind.
2007-04-10 23:58:20 +03:00
Magnus Vigerlöf
4771fa8747
XFree86: Fix memory leak in option parsing
...
Fix option parsing functions and callers thereof to not leak memory.
2007-04-10 23:58:20 +03:00
Jared D. McNeill
4aae2de74b
Add a real xf86EnableIO/xf86DisableIO for NetBSD/PPC.
2007-04-10 12:57:15 -07:00
Keith Packard
bcf17df69a
Disable CRTC when SetSingleMode has no matching mode. Update RandR as well.
...
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-10 12:36:45 -07:00
Adam Jackson
67e1c98895
Look for the PCI ROM file elsewhere in sysfs.
...
/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-09 19:08:52 -04:00
Adam Jackson
a08d5157f7
VT activate or waitactive are fatal if they fail.
...
Also, be sure to waitactive on the way down, to make sure we're off the VT
before exiting.
2007-04-09 19:04:56 -04:00
Adam Jackson
72b477f964
Don't write out empty sections from the parser.
2007-04-09 18:59:01 -04:00
Stefan Huehner
1f6741db19
Bug #10560 : Code-Cleanup: function declarations () -> (void)
...
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-09 14:33:15 -07:00
Peter Hutterer
f1f8b562aa
Alloc sprite memory in devices' devPrivates, allow undisplaying cursors.
...
Improve memory usage by allocating the sprite's memory only to devices that
actually have a sprite and provide means to remove a device's cursor from the
screen (more hotplugging, yay!).
This commit breaks ScreenRec's ABI.
2007-04-09 19:31:59 +09:30
Daniel Stone
4beeab8424
XFree86: Treat evdev and vmmouse as mouse drivers (bug #10512 , #10559 )
...
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-08 13:39:06 +03:00
Eamon Walsh
cf962a849d
Merge branch 'master' into XACE-SELINUX
...
Conflicts:
configure.ac
2007-04-05 14:41:39 -04:00
Eamon Walsh
5ad562565a
devPrivates rework: properly free devPrivates on compatibility structures,
...
type pixmap. Requires ddx'es to call the free function from DestroyPixmap.
2007-04-05 14:18:05 -04:00
Eamon Walsh
ed75b05651
dix: add new, combined resource lookup function. Move all dix lookup API
...
deprecated so far to a new file dix/deprecated.c. Remove the deprecation
warnings for the time being.
2007-04-04 16:00:15 -04:00
Brian
e1dea151db
Implement a minor hack in dmxCheckFunctionKeys() to detect special keys.
...
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.
2007-04-03 11:21:50 -06:00
Brian
23974f20bf
add DDXRingBell() stub to solve link problem
2007-04-03 09:30:24 -06:00
Brian
a240c039c4
Split the xserver/fb/fbcmap.c file into two files.
...
Now, fbcmap_mi.c contains the fb functions which just wrap mi functions.
Previously, these were in fbcmap.c and compiled when XFree86Server was defined.
Now, clients of fbcmap should either use fbcmap.c or fbcmap_mi.c and not worry
about setting the XFree86Server symbol.
2007-04-03 09:28:21 -06:00
Keith Packard
a39f297ada
Don't erase current crtc for outputs on CloseScreen
...
Erasing this variable causes some outputs (SDVO on intel) to fail
to be correctly reset at server reset time.
(cherry picked from commit 56262a4ee943f328d089a8eb4aa70b9a4bd5d135)
2007-04-02 19:12:44 -07:00
Eric Anholt
11797ffdcc
Move modes/ debugging output under Option "ModeDebug" in the Device section.
2007-04-02 18:21:58 -07:00
Brian
e44f106ffc
clean-up, debug code
2007-04-02 16:26:15 -06:00
Brian
8d8bc89277
fix formatting
2007-04-02 16:21:57 -06:00
Brian
3e482de7b1
checkpoint: more clean-up
2007-04-02 15:38:15 -06:00
Brian
76a7a5ca1f
formatting fixes
2007-04-02 15:24:05 -06:00
Brian
69baad321d
clean-up dmxCoreMotion() dmxCoreMotion2()
2007-04-02 15:21:22 -06:00
Brian
44eb15adee
checkpoint clean-up
2007-04-02 15:12:04 -06:00
Brian
0f873a9d4f
remove some debug code
2007-04-02 14:51:38 -06:00
Brian
3a0ce1084a
for completeness, init dummy's min/maxval[1] values (vertical axis)
2007-04-02 14:51:21 -06:00
Brian
12016f20f7
As for normal mouse device, init valuator maxval[] to real values, not zero.
2007-04-02 14:50:48 -06:00
Brian
0aaf28e563
In dmxBackendMouGetInfo() initialize the info->minval[], maxval[] arrays to the size of the backend display.
...
It seems that the changes to X input exposed a problem that wasn't detected
before. The axis clipping code in GetPointerEvents() uses those limits to
constrain the pointer's coordinate range. The max was zero so the pointer
couldn't move.
2007-04-02 12:41:30 -06:00
Brian
0013bf6ddb
undo 1280 valuator hack
2007-04-02 12:39:04 -06:00
Brian
08a88d1803
Pass num_valuators=0 for ButtonPress/Release. This seems to fix the button coordinate problem
2007-04-02 12:29:37 -06:00
Brian
70683e338d
formatting fixes
2007-04-02 12:29:37 -06:00
Peter Hutterer
e8777a91f3
Merge branch 'master' into mpx
...
Conflicts:
Xi/closedev.c
Xi/exevents.c
Xi/extinit.c
Xi/listdev.c
dix/window.c
hw/xfree86/common/xf86Xinput.c
include/extinit.h
mi/mipointer.c
2007-04-02 15:36:26 +09:30
Alberto Mardegan
f2808005f4
Bug #6620 : Fixed a missing 'else' in ATIPseudoDMAInit().
...
Before this, we'd write some registers twice on R200 hardware and also
possibly end up with a bad value in atis->cce_pri_size.
2007-03-31 16:51:24 +02:00
Aaron Plattner
5257b32e49
Bump video driver ABI to 2.0 for cw change (commit 6ed08949af
).
2007-03-30 17:07:44 -07:00
Brian
73fdc16bc4
formatting fixes
2007-03-30 16:07:26 -06:00
Brian
ebdc8ce5c1
Checkpoint DMX updates: things are working much better now, but still not 100% right.
...
Use new dmxCoreMotion2() function which enqueues motion events with
GetPointerEvents()/mieqEnqueue().
The clipAxis() code in GetPointerEvents() is causing some grief. The
limits seem to have always been (0,0) according to the original calls
to InitValuatorAxisStruct() in dmxinputinit.c.
Terrible hack for now: Call InitValuatorAxisStruct() with hard-coded max
values of 1280 (my screen width).
2007-03-30 16:05:46 -06:00
Ian Romanick
e9130b8bac
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
2007-03-30 13:39:15 -07:00
Brian
3c7413e0c2
Tweak some parameters, etc. Things seem a little better now, but still a ways to go.
2007-03-30 14:07:04 -06:00
Brian
7989dacdcb
num_valuators=1 for GetPointerEvents(), hack ButtonPress/Release position
2007-03-30 13:44:24 -06:00
Brian
1ea842960f
more debug
2007-03-30 13:43:15 -06:00
Brian
92e8cdbd32
Checkpoint fixes to DMX for X input changes.
...
Xdmx builds and runs now.
Keyboard seems OK, and mouse pointer moves, but everything else is flakey.
Something is still seriously wrong.
2007-03-30 13:19:33 -06:00
Brian
d92da3d5f3
more formatting fixes
2007-03-30 12:56:34 -06:00
Brian
44acb2517d
Fix some bad formatting.
...
Doing this:
if (something) stmt;
is evil if you're debugging and want to break on stmt!
2007-03-30 12:54:22 -06:00
Brian
9f24798af5
ompile fbcmap.c w/ -DXFree86Server instead of linking libfbcmap.a.
...
The former works, the later doesn't (DMX blows up on visuals/pixel formats).
This undos Daniel's patch, which undid my prev patch. Revisit someday.
2007-03-30 12:49:34 -06:00
Peter Hutterer
63d8f01819
dix: Fix wrong cursor refcount.
...
Calloc cursor struct to ensure devPrivates are zeroed out and don't
increase the refcnt for devices automatically when allocating a new
cursor. Use new DeviceIsPointerType() to detect if device is a pointer
_before_ device has been activated and can thus be identified and set
up grab functions accordingly. This way we can increase the refcnt
when we get a pointer grab.
2007-03-30 14:59:43 +09:30
Adam Jackson
82a8b99a6c
Move the XAA private indices to be static.
...
Technically this is an ABI break, if you aren't smart enough to be using the
getter functions. Cope.
2007-03-28 15:17:02 -04:00
Eamon Walsh
99b220969f
Merge branch 'master' into XACE-SELINUX
2007-03-28 12:54:04 -04:00
Adam Jackson
5ba4d9eedf
Refuse to create tiny modes from EDID detailed timing.
2007-03-28 12:03:19 -04:00
Ian Romanick
2c6d471088
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
...
Conflicts:
hw/xfree86/Makefile.am
hw/xfree86/dri/dri.c
2007-03-28 08:08:04 -07:00
Eric Anholt
6ed08949af
Move libcw setup to the only renderer requiring it (XAA).
...
Additionally, protect libcw setup behind checks for Render, to avoid
segfaulting if Render isn't available (xnest).
The previous setup was an ABI-preserving dance, which is better nuked now.
Now, anything that needs libcw must explicitly initialize it, and
miDisableCompositeWrapper (previously only called by EXA and presumably binary
drivers) is gone.
2007-03-27 17:31:28 -07:00
Eric Anholt
e76b634951
Fix indentation of fakexa help text.
2007-03-27 16:47:07 -07:00
Eamon Walsh
728ad64d97
Merge branch 'master' into XACE-SELINUX
2007-03-27 13:16:40 -04:00
Dave Airlie
d387a3ddf7
fix loading of GLcore after recent loading changes
2007-03-27 11:00:13 +10:00
Eric Anholt
92ba435bd9
Update xorg.conf manpage for new RandR 1.2 monitor options.
2007-03-26 12:44:58 -07:00
Eamon Walsh
0331c6a8fc
Merge branch 'master' into XACE-SELINUX
2007-03-26 10:28:05 -04:00
Adam Jackson
2e3cc861f9
Since ddc, i2c, and ramdac are in core now, remove their ModuleData stubs.
2007-03-25 22:01:34 -04:00
Adam Jackson
62224e3972
Static cleanup for xf86 ddx.
2007-03-25 17:55:15 -04:00
Adam Jackson
e8bc1988d9
Un-staticise VTSwitchEnabled, since kbd wants it apparently.
2007-03-25 15:13:05 -04:00
Adam Jackson
f36bf1a3e4
Delete a dead file.
2007-03-25 12:28:13 -04:00
Adam Jackson
9a0f25de7c
Static cleanups, dead code deletion.
2007-03-25 12:27:01 -04:00
Peter Hutterer
5f9c10e8da
Clean up DeviceIntPtr, prepare for Server 1.4 ABI. Move sprite-related
...
information into a new SpriteInfoRec, remove isMPDev flag.
2007-03-25 15:00:03 +09:30
Dave Airlie
1072b88a8f
loader: fix already built-in message
2007-03-25 10:06:00 +10:00
Keith Packard
804080a709
Make pending properties force mode set. And, remove AttachScreen calls.
...
Yes, two changes in one commit. Sorry 'bout that.
The first change ensures that when pending property values have been
changed, a mode set to the current mode will actually do something, rather
than being identified as a no-op. In addition, the driver no longer needs to
manage the migration of pending to current values, that is handled both
within the xf86 mode setting code (to deal with non-RandR changes) as well
as within the RandR extension itself.
The second change eliminates the two-call Create/AttachScreen stuff that was
done in a failed attempt to create RandR resources before the screen
structures were allocated. Merging these back into the Create function is
cleaner.
(cherry picked from commit 57e87e0d006cbf1f5b175fe02eeb981f741d92f0)
Conflicts:
randr/randrstr.h
randr/rrcrtc.c
I think master and server-1.3-branch are more in sync now.
2007-03-24 00:01:47 -07:00
Keith Packard
1f77120775
Ensure that crtc desired values track most recent mode.
...
desiredX and desiredY were not recorded during xf86InitialConfiguration.
desiredX, desiredY and desiredRotation were not recorded during
xf86SetSingleMode.
(cherry picked from commit 36e5227215e0912ddf8a010db042467f00efe0fc)
2007-03-23 23:44:34 -07:00
Keith Packard
7093367c39
Fix Pending property API, adding RRPostPendingProperty.
...
Pending Properties take effect when the driver says they do, so provide an
API to tell DIX when a property effect is made. Also, allow driver
to reject property values in RRChangeOutputProperty.
(cherry picked from commit 8eb288fbd69e2ffd02521d2c6a964c8180d08ec8)
2007-03-23 01:32:34 -07:00
Keith Packard
510eaa346e
Clean up xf86CrtcRec and xf86OutputRec objects at CloseScreen.
...
Erase pointers to structures which are freed at server reset time.
(cherry picked from commit 492c768065f49306a2194a88edf96b85de0ff4ff)
2007-03-23 01:30:24 -07:00
Keith Packard
b63e0d2545
Clean up Rotate state on server reset.
...
The rotation state is stored in the xf86_config structure which is not
re-initialized at server reset time. Clean it up at CloseScreen time.
(cherry picked from commit f8db7665dcd7af78ca4db2461e0bf787ec662cb1)
2007-03-23 01:30:00 -07:00
Eamon Walsh
1b766ffc06
dix: reorganize property code to better support xace hook; requires new API for
...
changing a property, dixChangeWindowProperty, taking an additional client argument.
2007-03-22 15:55:35 -04:00
Daniel Stone
3e9f7a5504
XFree86 DGA: Guard against NULL pointer dereferences.
...
Ass, u, me ...
2007-03-21 02:35:31 +02:00
Adam Jackson
021fc5cb2c
Static markup and dead code cull over xkb/.
...
The former <X11/extensions/XKBsrv.h> has been pulled into the server now as
include/xkbsrv.h, and the world updated to look for it in the new place,
since it made no sense to define server API in an extension header. Any
further work along this line will need to do similar things with XKBgeom.h
and friends.
2007-03-20 18:37:02 -04:00
Daniel Stone
9398d62f27
XFree86 input: Add backwards compatibility for motion history
...
Add the old motion history API back, as a shim around the new mi API.
2007-03-21 00:18:24 +02:00
Daniel Stone
0f75c47e0c
xfree86 input: Re-enable DGA support
...
Re-enable DGA support for relative mouse motion.
2007-03-21 00:12:02 +02:00
Peter Hutterer
015d728bcd
Merge branch 'master' into mpx
...
Conflicts:
dix/devices.c
dix/events.c
mi/misprite.c
2007-03-19 09:42:56 +10:30
Keith Packard
720f302d24
Slow down DDC I2C bus using a RiseFallTime of 20us for old monitors.
...
This time value makes the bus run slowly enough for even the least reliable
of monitors. Thanks to Pavel Troller for finding the necessary change.
2007-03-17 23:38:53 -07:00
Keith Packard
b5a8a71e64
Remove extra (and wrong) I2C ByteTimeout setting in DDC code.
...
The DDC code sets the I2C timeouts to VESA standards, except that it had an
extra setting of the ByteTimeout value which was wrong (off by a factor of
50). Removing this should help DDC work on many more monitors. Note that the
Intel driver duplicated these settings, along with the error. Yay for cult
and paste coding.
2007-03-17 23:38:43 -07:00
Keith Packard
9d0c3b52f2
Eliminate RRModeRec devPrivate field.
...
The xf86 mode setting code was mis-using this field to try and store a
pointer to a DisplayModeRec, however, each output has its own copy of every
DisplayModeRec leaving the one in in the RRModeRec devPrivate field pointing
at a random DisplayModeRec.
Instead of attempting to rectify this, eliminating the devPrivate entirely
turned out to be very easy; the DDX code now accepts an arbitrary RRModeRec
structure and set that to the hardware, converting it on the fly to a
DisplayModeRec as needed.
(cherry picked from commit 3506b9376c2b0db09bfff58d64e07af88a6e8195)
2007-03-17 23:34:58 -07:00
Keith Packard
2c93083edd
Add support for user-defined modelines in RandR.
...
The RandR protocol spec has several requests in support of user-defined
modes, but the implementation was stubbed out inside the X server. Fill out
the DIX portion and start on the xf86 DDX portion. It might be necessary to
add more code to the DDX to insert the user-defined modes into the output
mode list.
(cherry picked from commit 63cc2a51ef87130c632a874672a8c9167f14314e)
Conflicts:
randr/randrstr.h
Updated code to work in master with recent security API changes.
2007-03-17 23:20:07 -07:00
Peter Hutterer
65b0eb60b0
Xi: move IsPointerDevice into dix.
...
dix: IsPointerDevice and IsKeyboardDevice, use same ways to identify type
of device as XI does for the XListInputDevices reply.
Autopair each non-pointer device with VCP when activating, pair with
real device after activation.
Don't return non-keyboard devices when calling GetPairedKeyboard or
PickKeyboard, otherwise we segfault for 'evdev brain'.
2007-03-16 15:52:24 +10:30
Keith Packard
3bffb28126
Don't wedge when rotating more than one CRTC.
...
Rotation block handler was re-registering the rotation damage structure,
creating an infinite loop in the damage code. Track registration of the
damage structure to avoid this.
(cherry picked from commit b14f003b0ed1252766c9e3b1c086ea2809521047)
2007-03-15 19:32:58 -07:00
Keith Packard
9562b6abe1
Allow xf86_reload_cursors during server init.
...
xf86_reload_cursors is supposed to be called from the crtc mode setting
commit hook; as that happens during server initialization, check for this
case.
(cherry picked from commit 5b77bf2d020b1ee56c1c5f2db089a8f7f64a76a6)
2007-03-15 19:32:48 -07:00
Matthias Hopf
2fe74ef339
Fix calculations in x86 emulator for the long long case (Andreas Schwab).
2007-03-15 16:56:01 +01:00
Keith Packard
ae75019ccf
Create driver-independent CRTC-based cursor layer.
...
This moves most of the cursor management code out of the intel driver and
into the general server code. Of course, the hope is that this code will be
useful for other driver writers as well.
Check out xf86Crtc.h for the usage information, making sure you add the
needed hooks to the crtc funcs structure for your driver.
(cherry picked from commit 4d81c99a4660a0bf9014f789de55edabd185bd14)
2007-03-15 00:02:40 -07:00
Peter Hutterer
c5b07fb717
kdrive: update kdrive to new mi API with additional device argument. Includes
...
an update of ati_cursor.c and i810_cursor.c
2007-03-14 17:42:30 +10:30
Jay Estabrook
c366b82bd5
Ensure domain is stripped from the bus ID.
2007-03-09 12:26:55 +00:00
Eamon Walsh
b9cff1670f
Add ResourceStateCallback similar in function to ClientStateCallback.
2007-03-08 12:13:52 -05:00
Eamon Walsh
947f8d249b
devPrivates rework: redo interface again, dropping parent and type parameters
...
as well as preallocation routine.
2007-03-08 12:13:18 -05:00
Peter Hutterer
ceca5670fe
dix: Each device needs to differ between a core grab and an XI grab,
...
otherwise a Xi grab may overwrite or release a core grab.
Replace grab and associates with coreGrab and deviceGrab structures,
adjust rest of dix/Xi/etc to compile.
xfree86: Don't check for core devices, we'll have the virtual ones anyway.
If we check, the first mouse device is duplicated and sends
double events.
2007-03-08 17:17:23 +10:30
Keith Packard
40ae4f246d
Remove stale monitor data when output becomes disconnected.
...
Remove parsed EDID and EDID property from disconnected outputs.
(cherry picked from commit ae9d5aa479dd50cc81b755079fcf96a0d02f135a)
2007-03-07 20:53:16 -08:00
Adam Jackson
a3d2c5d622
XORG_VERSION_CURRENT, not XF86_VERSION_CURRENT.
...
If only this was the least wrong thing in this code.
2007-03-07 11:02:47 -05:00
Eamon Walsh
bb111291d8
Merge branch 'master' into XACE-SELINUX
2007-03-07 09:03:46 -05:00
Keith Packard
e9bfb2b3d7
Add hw/xfree86/docs/README.modes, documenting new mode setting APIs.
...
This document covers both API and xorg.conf usage of the new mode setting
APIs.
(cherry picked from commit a59c31b0f7b94ed1f395c7586c37ef5fe7ba2a25)
2007-03-06 23:21:05 -08:00
Keith Packard
72a23d88d7
Add xf86CrtcScreenInit to share initialization across drivers.
...
xf86CrtcScreenInit performs initialization that needs to happen at
ScreenInit time.
(cherry picked from commit 558a4f5588ad2ec11254e0b5d6ce9515b137369e)
2007-03-06 23:20:59 -08:00
Eamon Walsh
a7cd53deb9
remove PIXPRIV checks as this flag is always set.
2007-03-06 17:05:03 -05:00
Eric Anholt
024bbc7cbb
Bug #9931 : Fix linear allocations with a non-1-byte granularity.
...
This was introduced in 83080809f9
. Instead of
aligning the offset, it doubled it. Results were appropriately spectacular.
2007-03-06 16:20:34 -08:00
Ben Byer
9d94c13759
updated todo list
2007-03-06 11:09:30 -08:00
Ben Byer
81d581e655
Merge branch 'master' of git+ssh://bbyer@git.freedesktop.org/git/xorg/xserver
2007-03-06 10:37:29 -08:00
Ben Byer
a05ffca8dd
rewrote event handling, Xquartz now has working mouse and keyboard. use it\!
2007-03-06 10:36:51 -08:00
Drew Parsons
d5aba03fef
Xprint: shorten font filename to fit in tar length limit
...
The length of the Xprint font file NewCenturySchlbk-BoldItalic.pmf
pushes the full path over the traditional 100 character limit for
tarballs (when module version number is included). Shorten it to
NewCentSchlbk-BoldItal.pmf to get back below the limit and rename
other font files in that family to match.
2007-03-07 00:02:28 +11:00
Ben Byer
3206e92258
moved new event-handling code from X11Application.m to darwinEvents.c in preparation for making all Darwin servers use it
2007-03-06 02:31:59 -08:00
Ben Byer
0ccd1443fd
Merge branch 'master' of git+ssh://bbyer@git.freedesktop.org/git/xorg/xserver
2007-03-06 01:04:50 -08:00
Ben Byer
ec1ef8a56d
Fixed Darwin's Makefile.am to fix a problem building X11.app
2007-03-06 00:57:23 -08:00
Keith Packard
9b6bb06f13
Allow relative positions to use output names or monitor identifiers.
...
Previous version used monitor identifiers if present, otherwise output
names. That caused existing working configurations to break when additional
information was added to the configuration file.
(cherry picked from commit 3f5cedf00a82f08a433c95ffbb7f8ac69dcf6a50)
2007-03-05 23:50:37 -08:00
Keith Packard
bed76caa6c
Use EDID data to set screen physical size at server startup.
...
Screen physical size is set to a random value before the RandR code gets
control, override that and reset it to a value based on the compat_output
physical size (if available). If that output has no physical size, just use
96dpi as the default resolution and set the physical size as appropriate.
(cherry picked from commit 843077f23a1b49bd712d931421753e3a09d4008c)
2007-03-05 23:37:11 -08:00
Keith Packard
47f8361c3a
Add xf86SetDesiredModes to apply desired modes to crtcs.
...
xf86SetDesiredModes applies the desired modes to each crtc (as selected by
xf86InitialConfiguration initially and modified by successful mode settings
afterwards). For crtcs without a desired mode, pScrn->currentMode is used to
select something workable.
(cherry picked from commit bcade98ccaa18298d844a606cb44271f0254c185)
2007-03-05 22:23:19 -08:00
Keith Packard
33d2cf93fb
Move xf86SetSingleMode into X server from intel driver.
...
This function applies a single mode to the screen (as from RandR 1.1,
XFree86-VidModeExtension or XFree86-DGA) using a policy that selects one
output to reconfigure to the requested mode and then makes all other outputs
fit within that size.
(cherry picked from commit 5a595c1f767a8d666348b845d18934aee0cfe38f)
2007-03-05 20:18:56 -08:00
Eamon Walsh
23fc429aad
Merge branch 'master' into XACE-SELINUX
2007-03-05 12:18:54 -05:00
Eamon Walsh
e684824709
devPrivates rework: redo interface and implementation.
2007-03-05 11:50:45 -05:00
Ben Byer
fe7b8f4237
began to factor out code to move to darwinEvents.c
2007-03-05 03:48:27 -08:00
Ben Byer
537dc5ecde
started moving new input code into darwinEvents.c so that it may be shared by the three servers
2007-03-05 02:30:56 -08:00
Peter Hutterer
39aa791771
dix: Add GuessFreePointerDevice(). Runs through device list and tries to
...
find a pointer that hasn't been paired yet.
xfree86: Use GuessFreePointerDevice() for newly connected non-sprite devices.
2007-03-05 15:31:16 +10:30
Dave Airlie
8ba5e8d820
add a standard connector type and name for us as an output property
2007-03-05 13:46:41 +11:00
Dave Airlie
2e31872e05
modes: add commit/prepare hooks
2007-03-05 13:44:21 +11:00
Peter Hutterer
1f0075786f
Merge branch 'master' into mpx
...
Conflicts:
configure.ac
dix/getevents.c
hw/xfree86/ramdac/xf86Cursor.c
mi/mipointer.c
xkb/xkbUtils.c
2007-03-05 12:37:17 +10:30
Keith Packard
06b01186f6
Remove debugging ErrorF from rotation code.
...
(cherry picked from commit e6af7569f201842b4754aec6e72b30dc2daefdfb)
2007-03-04 17:35:04 -08:00
Keith Packard
c14507b683
Handle non-zero origin rotated crtc. Damage crtc area on re-rotate.
...
Box transformation from source to dest area was broken, leaving the wrong
areas painted when the crtc origin was non-zero.
When rotating from left to right, the pixmap doesn't get reallocated, and so
no damage was left in the pixmap from xf86RotatePrepare. Separately damage
the whole crtc area when this occurs to repaint the area.
(cherry picked from commit 2a50ca2160bc05af1c24421ec079e902ff730277)
2007-03-04 17:34:54 -08:00
Drew Parsons
97978b515b
Xprint: fix font symlinks
...
Change symlinks to Xprint base fonts in model/PSdefault using local
relative links. This facilitates moving the Xprint config files, for
instance for FHS compliance placing data files in /usr/share rather
than /usr/lib. Also ensures NewCenturySchlbk-BoldItalic.pmf is
installed.
2007-03-04 21:05:12 +11:00
Ben Byer
215e3691b7
stopped using XTrans internals in X11.app because they're apparently no longer public
2007-03-03 21:52:56 -08:00
Ben Byer
ea8dcc458e
Makefile fix for X11.app
2007-03-03 21:51:20 -08:00
Ben Byer
1850821259
fixed X11.xcodeproj to get CFLAGS and LDFLAGS from autoconf script
2007-03-03 21:41:33 -08:00
Ben Byer
7f2b9f3790
autoconf fixes for XDarwin (created DARWIN_LIBS)
2007-03-03 19:27:53 -08:00
Aaron Plattner
ea1a72946d
Add a canGrow argument to xf86InitialConfiguration.
...
canGrow indicates to the DDX that the driver can enlarge the desktop via the
xf86_config->funcs->resize hook. If so, xf86InitialConfiguration will set
virtual[XY] to match the configuration it chooses and will leave the crtc config
size ranges alone. If FALSE, it will bloat the screen to fit the largest probed
mode and also set the crtc config max size to limit the desktop to the initial
virtual[XY] size.
2007-03-02 12:06:54 -08:00
Aaron Plattner
04d15da95d
Add a screen resize hook to xf86CrtcConfigRec.
...
This hook is called when the DDX needs to resize the screen. The driver is
responsible for changing virtualX and virtualY, along with any other related
screen properties (devPrivate.ptr, devKind, displayWidth, etc.).
Use the size range from the crtc config instead of randrp->virtual[XY] when
reporting the min and max screen sizes to the DDX.
2007-03-02 12:06:54 -08:00
Peter Hutterer
e43b8a4e40
dix: Add ClientPointer to client, used for picking which pointer to use in
...
ambiguious request. PickPointer and PickKeyboard are used for getting
the appropriate pointer when situation is unclear.
Fix some issues with InitializeSprite.
dix, xfree86: Remove last traces of InitSprite.
2007-03-02 15:21:46 +10:30
Ben Byer
2dafc46e3d
Fixed pointer events in Xquartz -- Keyboard events work, but
...
the keycodes are incorrect.
2007-03-01 17:44:39 -08:00
Eamon Walsh
74f1de1de9
devPrivates rework: unhook resource system; will try a different approach.
2007-03-01 12:17:29 -05:00
Ben Byer
39ecd6fff4
Rewrote parts of the Xquartz event-handling code (thanks daniels and whot!)
...
It should still be considered a work in progress, but mouse events almost work.
2007-03-01 01:45:19 -08:00
Peter Hutterer
43bd35fcf8
dix: Remove InitSprite, work can be done by InitializeSprite.
...
Free sprite struct if a spriteOwner is paired.
xfree86: Use PairDevices instead of passing booleans around when creating a
sprite.
Xext: Switch back to using LookupPointer/KeyboardDevice instead of
inputInfo.xyz.
2007-03-01 17:19:37 +10:30
Jay Cotton
90ca76ba28
Add sun_apm.c for Suspend-and-Resume support on Solaris
...
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6205248 >
2007-02-28 17:40:58 -08:00
Ben Byer
d9bcb22d19
Merge branch 'master' of git+ssh://bbyer@git.freedesktop.org/git/xorg/xserver
2007-02-27 16:28:20 -08:00
Ben Byer
272d9341d0
fix for hw/darwin/Makefile.am to properly use XSERVER_LIBS
2007-02-27 16:27:26 -08:00
Eamon Walsh
c16343ac2c
Make mfb, cfb, and afb support configurable at build-time.
2007-02-27 14:14:47 -05:00
Alan Coopersmith
5680efc0d2
Sun bug 6529003: Xorg should not be including <sys/immu.h> on Solaris
...
<sys/immu.h> was removed from the latest Solaris Nevada build, but it's
been useless to Xorg for a long time (it only declared a couple of kernel
variables)
<http://bugs.opensolaris.org/view_bug.do?bug_id=6529003 >
2007-02-27 09:56:40 -08:00
Ben Byer
ab0fc8c1ad
verbiage corrected per daniels
2007-02-27 00:14:35 -08:00
Ben Byer
cdd4c84572
added hw/darwin/README.apple file with some todo items and props.
2007-02-26 23:57:02 -08:00
Ben Byer
776d4d6587
X11.app now builds correctly
2007-02-26 23:40:00 -08:00
Ben Byer
154d2c13f4
more changes for X11.app
2007-02-26 19:39:26 -08:00
Ben Byer
fa06e11f97
added hw/darwin/apple directory, which contains source and data files to build
...
a version of the X11.app shipped with Mac OS X, using the X.org server.
2007-02-26 17:06:53 -08:00
Jay Estabrook
a16360733e
Fix root bus/domain selection on alpha
2007-02-25 21:00:25 +00:00
Adam Jackson
566610680c
Don't install libi2c.a
2007-02-23 15:20:35 -05:00
Eamon Walsh
81372f9096
devPrivates rework: hook up new interface in resource system; add new
...
resource-adding function that takes an additional ScreenPtr argument.
2007-02-23 13:23:12 -05:00
Eamon Walsh
16f2b8892d
devPrivates rework: add new interface implementation.
2007-02-23 13:22:46 -05:00
Peter Hutterer
bc4ae25433
xfree86: Don't initialize sprites for devices that don't own a sprite (stops
...
keyboard hotplug segfaults)
2007-02-23 12:06:51 +10:30
Michel Dänzer
3344a4eda7
DRI: Make sure number of DRI windows is accurate in driver ClipNotify hook.
...
Always call DRI{De,In}creaseNumberVisible (which in turn calls
DRIDriverClipNotify) after updating pDRIPriv->nrWindows.
2007-02-20 19:21:25 +01:00
Michel Dänzer
3c7a27dc77
DRI: New ClipNotify driver hook.
...
The hook is called whenever the clipList of any DRI window changes, be it via
DRIClipNotify, DRICreateDrawable or DRIDrawablePrivDelete. This allows the
driver to keep track of which DRI windows are visible where.
2007-02-20 19:21:25 +01:00
Michel Dänzer
eedf148e5a
Track number of visible DRI windows separately for transitions.
...
This allows e.g. doing page flipping with multiple DRI windows as long as
only one of them is visible.
2007-02-20 19:21:25 +01:00
Keith Packard
5631a67f64
Don't set subpixel order during startup; the screen won't be ready.
...
in xf86CrtcSetMode, scrn->pScreen will be NULL during server startup time,
so don't try to set the subpixel order. subpixel order will be set in the
randr initialization anyways.
(cherry picked from commit 5f6f8616d862ce4a37f6d3df4bdbc44fd21cc82a)
2007-02-17 17:40:35 -08:00
Keith Packard
096965ec9c
Ensure drivers can use new modes header files.
...
New modes header files required a few minor changes to be used by external
drivers, the most notable of which is the publication of the config file
parser header files.
2007-02-17 15:16:44 -08:00
Keith Packard
55797dd252
Respect rotation in initial screen size computation.
2007-02-17 15:16:34 -08:00
Keith Packard
e4507825bf
Enable startup-time rotation; change rotation pixmap creation API.
...
Add monitor "Rotate" option taking one of "normal", "left", "inverted" or
"right". However, because initial mode selection is made before the screen
is completely initialized, we cannot create the shadow pixmap object at this
point. Pend the shadow pixmap creation until the block handler.
Note that this code is not completely functional yet.
2007-02-17 15:16:20 -08:00
Ben Byer
81876bc5dd
oops, missed a spot
2007-02-17 04:07:11 -08:00
Ben Byer
d287b76471
cleaned up some linking ugliness in hw/darwin/quartz
2007-02-17 03:47:42 -08:00
Ben Byer
81444486be
autoconf goodness for XDarwin, courtesy of pogma
2007-02-17 02:23:11 -08:00
Ben Byer
cf4994b0db
dix mods for Darwin
2007-02-17 01:21:43 -08:00
Ben Byer
93777c7b96
more patches to make the Quartz part of XDarwin work again
...
(thanks Peter and Torrey!)
2007-02-17 00:22:39 -08:00
Ben Byer
612144c811
More build fixes / updates for XDarwin:
...
quartz/cr: "Cocoa Rootless" support (deprecated in favor of xpr?)
quartz/fullscreen: Fullscreen support using Xplugin (not yet functional)
2007-02-17 00:09:58 -08:00
Daniel Stone
68d39d8571
kdrive/ephyr: fix keysym type confusion once and for all
...
Take keysyms in as an XID in hostx_load_keymap() and explicitly
convert them to CARD32 for loading into the server. Fixes Xephyr on
AMD64, wa-hey.
2007-02-16 23:02:46 +02:00
Daniel Stone
5507cb885d
kdrive: delete input debugging, yet again ...
...
I have no idea how this keeps on coming back.
2007-02-16 23:02:45 +02:00
Ben Byer
84efe23ae8
updated darwin/quartz/xpr (libXplugin interface for Mac OS X) support
2007-02-16 04:37:38 -08:00
Keith Packard
f350909d16
Kludge around duplicate code added in hw/xfree86/modes.
...
Code added in hw/xfree86/modes came from the server-1.3-branch.
Portions of this code had previously been integrated into xf86Mode.c
and edid_modes.c.
To preserve hw/xfree86/modes as much as possible, the duplicate code from
the other files has been disabled; a more careful review would figure out
where that code actually belonged.
2007-02-15 21:50:48 -08:00
Keith Packard
258beebc77
Report correct RandR 1.0 sizeID. Report correct subpixel order.
...
RandR 1.0 sizeID must be computed the same way every time, so when reporting
it in the ScreenChangeNotify event, just construct the usual 1.0 data block
and use that.
subpixel geometry information can be computed by looking at the connected
outputs and finding any with subpixel geometry and using one of those for
the global screen subpixel geometry. This might be improved by reporting
None if more than one screen has information and they conflict.
2007-02-15 20:37:44 -08:00
Keith Packard
ef6b1235fd
Allow new modes code to build inside drivers as well as server.
...
Use config.h for driver builds where xorg-config.h isn't available.
2007-02-15 20:37:19 -08:00
Tilman Sauerbeck
3dbe8f6b6e
Distribute hw/xfree86/modes.
2007-02-15 20:37:09 -08:00
Keith Packard
d4eb4d0650
Merge crtc/output-based mode selection code.
...
This code comes from the intel driver, so there's no history in this tree.
As the crtc/output-based mode selection code uses ddc, the ddc and i2c
modules have been merged into the server. Attempts to load them are safely
ignored now.
2007-02-15 20:36:20 -08:00
Eamon Walsh
f452507ca9
Merge branch 'master' into my-XACE-SELINUX
2007-02-15 09:47:20 -05:00
Eamon Walsh
04632835b7
Merge branch 'master' into my-XACE-SELINUX
2007-02-15 09:27:05 -05:00
Daniel Stone
0f6dd4aea6
kdrive/ephyr: free screen struct
...
Free screen->driver on screenFini, instead of just leaking it.
2007-02-15 16:14:57 +02:00
Ben Byer
9ecf79ca01
Beginnings of an update Darwin driver
2007-02-15 05:22:21 -08:00
Ben Byer
136bb4874a
iokit support for XDarwin
2007-02-15 05:14:38 -08:00
Ben Byer
3ead1afe78
Beginning of patches to add XDarwin support to the modular tree;
...
special thanks to Torrey Lyons and Peter O'Gorman for making this possible.
This is the automake framework for the XDarwin.app interface files.
2007-02-15 05:09:29 -08:00
Peter Hutterer
f6c3b9fa97
xfree86: mouse and keyboard hotplugging support. New mouse devices will get
...
new cursors, keyboard devices use VCP's focus until paired.
2007-02-15 13:51:20 +10:30
Ian Romanick
c4fe1bcce1
Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/xorg/xserver into pci-rework
2007-02-14 15:39:52 -08:00
Ian Romanick
e540d572c5
Merge fix missed on previous commit.
2007-02-14 15:38:10 -08:00
Alan Coopersmith
a492d494f5
Update Xvfb man page: remove monolith build instructions, use /var/tmp instead of /usr/tmp
2007-02-13 18:32:59 -08:00
Adam Jackson
a23b0b069c
Typo fix.
2007-02-12 17:50:00 -05:00
Adam Jackson
46784d24c1
Remove spurious LIBADD from xf4bpp
2007-02-12 17:18:29 -05:00
Ian Romanick
16eb7254f8
Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/xorg/xserver into pci-rework
2007-02-09 12:38:49 -08:00
Aaron Plattner
c4b7e9d1c1
Add an RDTSC implementation to the x86 emulator.
...
This instruction is being used in some debug VBIOSes. This implementation
doesn't even try to be accurate. Instead, it just increments the counter by a
fixed amount every time an rdtsc instruction in encountered, to avoid divides by
zero.
2007-02-06 15:45:05 -08:00
Daniel Stone
17d85387d1
dmx, vfb, xnest: fix fbcmap compilation
...
Don't always define XFree86Server, but only for damn fbcmap.c.
Split fbcmap.c into its own library to achieve this.
2007-02-05 03:43:10 +02:00
Alan Coopersmith
5dcad9e9d7
Fix bus error on startup in 64-bit Xephyr
...
hostx_get_visual_masks takes unsigned long * arguments, but was being
passed pointers to CARD32's.
2007-02-02 14:45:16 -08:00
George Sapountzis
cf5b29d75d
dmx: drop leftover __GLXdrawablePrivateRec struct.
2007-02-02 12:57:38 +02:00
Eric Anholt
8bce182568
Restore a few important lines killed in the previous commit.
...
Typical results were failure to sync, and a black screen.
2007-01-29 17:30:59 -08:00
Ian Romanick
3814862a86
Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/xorg/xserver into pci-rework
...
Conflicts:
hw/xfree86/os-support/bus/linuxPci.c
2007-01-29 15:14:31 -08:00
Eric Anholt
31f2d4a57e
Bug #9680 : Remove bogus blank length limiting in xf86SetModeCrtc().
...
Our modes typically come from EDID or default modes, and when the monitor
asks for a specific mode, deciding to tweak it usually results in incorrect
display. And if the user is specifying a mode by hand, tweaking it then is
still pretty rude.
Reviewed by: ajax
2007-01-29 09:45:33 -08:00
Peter Hutterer
4aaaa70d1b
Xi: Adding ChangePointerKeyboardPairing request
...
Adding PointerKeyboardPairingChanged event
Correct error values for XWarpDevicePointer
dix: Adding device argument to SendMappingNotify
Adding spriteOwner flag to devices
2007-01-29 18:23:24 +10:30
Peter Hutterer
15a81b6325
Merge branch 'master'
2007-01-28 17:18:57 +10:30
Jonathan Lim
1627af5449
Call linuxPciOpenFile() for r/w access if applicable.
...
Currently, the call to linuxPciOpenFile() is always made for read
only access which causes the subsequent mmap call to fail when the
memory is mapped read/write.
Xorg #9692
2007-01-26 13:00:45 +01:00
Ian Romanick
a216de9b7f
Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/xorg/xserver into pci-rework
2007-01-25 10:17:32 -08:00
Alan Coopersmith
cf7ca9d09c
Plug memory leak in doLoadModule()
2007-01-24 20:20:48 -08:00
Ian Romanick
24506ea65b
Move xf86ReadLegacyBIOS to the one place that uses it.
...
xf86ReadLegacyBIOS is only used by one function in int10/generic.c.
Move a generic implementation of that function there, rename it to
read_legcay_BIOS, and delete all remnants of it from all other places.
2007-01-24 15:33:49 -08:00
Ian Romanick
39b51e1bfc
Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/xorg/xserver into pci-rework
2007-01-23 13:25:56 -08:00
Michel Dänzer
788cfce911
Bump video driver ABI version to 1.2.
...
This is necessary because server-1.2-branch bumped to 1.1 for xf86CVTMode and
we have xf86XVFillKeyHelperDrawable on top of that.
2007-01-23 10:15:22 +01:00
Ian Romanick
637b19b3ee
Eliminate pciControlBridge, pciGetBridgeBuses, and pciGetBridgeResources.
2007-01-22 09:58:33 -08:00
Ian Romanick
a232e4ae93
Convert xf86GetPciHostConfigFromTag to get_parent_bridge.
...
Convert xf86GetPciHostConfigFromTag to a new function called
get_parent_bridge. This name better represents what
xf86GetPciHostConfigFromTag is used for: walking up the lists of PCI
bridges from a device.
2007-01-22 09:16:45 -08:00
Ian Romanick
844560a02f
Elminiate ARCH_PCI_OS_INIT.
...
Never, ever use the ix86Pci stuff on Linux. This renders the whole
ARCH_PCI_OS_INIT mechanism useless. Remove it.
2007-01-22 09:13:59 -08:00
Ian Romanick
c279d5fdc5
Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/xorg/xserver into pci-rework
2007-01-19 12:59:54 -08:00
Michel Dänzer
14d6a9b327
fbdevhw: Only deal with RGB weight if default visual is True- or DirectColor.
2007-01-19 18:30:21 +01:00
Michel Dänzer
27a01e100b
fbdevhw: Consider mode set equal to mode requested if virtual width is larger.
2007-01-19 18:28:05 +01:00
Alan Coopersmith
8b3a591cd3
Update pci.ids to 2007-01-18 snapshot
...
(includes a whole bunch of ATI device id updates)
2007-01-18 16:03:30 -08:00
Alan Coopersmith
0f0c321adf
Make xf1bpp build correctly with compilers that don't support -include
2007-01-18 15:31:53 -08:00
Ian Romanick
88f248e671
Replace PciBusId with 'struct pci_device *'
...
There's no need to store the slot information for a PCI device as its
ID. Instead, skip the middle man and just store a pointer to the
pci_device structure.
2007-01-17 14:04:43 -08:00
Ian Romanick
0361611080
Convert xf86IsolateDevice to a 'struct pci_slot_match'.
...
This change was accidentally not committed on the previous commit.
2007-01-17 13:06:04 -08:00
Ian Romanick
c1808f1484
Convert xf86IsolateDevice to a 'struct pci_slot_match'.
2007-01-17 13:02:27 -08:00
Ian Romanick
d2f8c42c48
Convert xf86FindPrimaryDevice to use a static buffer and snprintf.
...
Rather than allocate a 9 byte buffer on each invocation, use a static
16 byte buffer. Use snprintf for safety. This commit should probably
be cherry-picked to the trunk.
2007-01-17 12:59:17 -08:00
Ian Romanick
28976bebec
Eliminate unused fields in pciAccRec.
2007-01-17 12:15:09 -08:00
Ian Romanick
f36a447d20
Eliminate use of Tag field.
...
The Tag field was removed from the int10 structures in commit
ca9c41e09d
. This file was over looked.
2007-01-16 14:49:19 -08:00
Ian Romanick
780b55ec6f
Fix accidental commit (bug) in linuxOpenLegacy.
2007-01-15 15:30:16 -08:00
Ian Romanick
31bd8d1507
Fix domain insanity.
...
Eliminate xf86GetPciDomain. The domain from libpciaccess is the
domain. Period. This means that 0 is a valid domain. Make sure that
INCLUDE_XF86_NO_DOMAIN is *not* set. Always run in "domain mode,"
even if the only domain possible is 0.
2007-01-15 15:19:30 -08:00
Ian Romanick
d8bd0c41de
Convert to new pci_device_cfg_write_u* interface.
2007-01-15 11:38:22 -08:00
Ian Romanick
a87af8218f
Remove unnecessary files from the sources list.
2007-01-15 11:21:37 -08:00
Ian Romanick
1c326bf75f
Eliminate unused INCLUDE_XF86_MAP_PCI_MEM define.
2007-01-12 12:07:19 -08:00
Ian Romanick
3936caa005
Refactor pciTagConvertRange2Host and pciConvertRange2Host.
2007-01-12 10:59:35 -08:00
Ian Romanick
1a493509e3
Fix typos in conditionally compiled code.
2007-01-12 10:58:59 -08:00
Ian Romanick
8279444a54
Eliminate unused pciAddrHostToBus infrastructure.
2007-01-12 10:41:03 -08:00
Ian Romanick
e32fa10a04
Remove prototype for pciGetBaseSize.
2007-01-12 10:33:17 -08:00
Ian Romanick
7411f5c389
Eliminate pciHostAddrToBusAddr from interface.
...
pciHostAddrToBusAddr is no longer used anywhere in the tree. Remove
it with extreme prejudice.
2007-01-12 10:32:04 -08:00
Ian Romanick
60c5e023e8
Eliminate some dead code.
2007-01-12 10:24:03 -08:00
Ian Romanick
dd12a94885
Eliminate xf86GetPciEntity from public interface.
...
xf86GetPciEntity was folded into the only place (xf86CheckPciSlot) in
the tree that still called it.
2007-01-12 10:21:25 -08:00
Ian Romanick
c3016a2996
Missed file from previous commit.
...
Convert xf86ReadLegacyVideoBIOS to take a 'struct pci_device *'
parameter instead of a PCITAG.
2007-01-12 09:56:00 -08:00
Ian Romanick
ca9c41e09d
Convert int10 and vgaHW to use 'struct pci_device' instead of PCITAG.
...
Convert all uses of PCITAG in int10 and vgaHW to 'struct pci_device'.
This allows the conversion of xf86ReadLegacyVideoBIOS and
xf86MapDomainMemory to 'struct pci_device' from PCITAG.
2007-01-11 21:09:20 -08:00
Alan Hourihane
78f9592c11
lnx_ev56.c has to be built with -mcpu=ev56. Fix it.
2007-01-10 16:04:20 +00:00
Ian Romanick
da09964a93
Merge branch 'origin' into pci-rework
...
Conflicts:
hw/xfree86/int10/generic.c
2007-01-09 15:27:34 -08:00
Peter Hutterer
a7ab793293
xfree86: fix XI86_SHARED_POINTER flag setting
2007-01-08 17:31:16 +10:30
Eric Anholt
aab2ca2042
Try dlsym(RTLD_DEFAULT) first when finding symbols.
...
The previous mechanism failed when finding drm symbols now that libdrm has
moved to being linked by libdri instead of being linked into the server.
2007-01-04 10:16:08 -08:00
Aaron Plattner
66fa87292e
Fix BSF and BSR instructions in the x86 emulator.
...
Patch courtesy of Michael Yaroslavtsev.
2007-01-03 13:47:01 -08:00
Michel Dänzer
dc5eb45232
fbdevhw: Override RGB offsets and masks after setting initial mode.
...
This is a hack, but it should be a NOP for all the setups that worked before
and actually seems to fix some others...
Based on a patch by Peter Teichmann from
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338241 .
2006-12-31 17:59:44 +01:00
Michel Dänzer
d077c0da47
fbdevhw: Use displayWidth for fbdev virtual width when appropriate.
...
The fbdev API doesn't allow setting the pitch explicitly, so we have to set
the virtual width to the pitch we're using for drawing. This fixes corruption
after changing the virtual width with RandR.
2006-12-31 17:23:31 +01:00
Michel Dänzer
c385bcf0bd
fbdevhw: Fix some issues with the previous commit.
...
Fix a TRACE_ENTER typo and only update the internal fbdev mode state cache
after actually setting a mode.
2006-12-30 16:44:31 +01:00
Michel Dänzer
f6815cb68b
fbdevhw: Consolidate modeset ioctl calling, report failure if it modifies mode.
...
The fbdev API allows the driver to 'accept' modes it doesn't really support by
modifying it to the nearest supported mode. Without this check, e.g. vesafb
would appear to accept all modes, even though it actually can't set any modes
other than the bootup mode at all.
2006-12-30 12:35:16 +01:00
Eric Anholt
083b790515
Switch the default migration heuristic for EXA to "always".
...
This has been what has been used the most successfully post-damagetrack.
The current thinking is that:
1) We should be able to accelerate basically everything. So we don't need to
try to migrate trees of pixmaps permanently out of framebuffer to speed
CPU drawing up.
2) Migration is cheaper in the thrashing case, so we don't want to go to a lot
of effort to try (and fail badly) to find a working set.
2006-12-28 13:21:25 -08:00
Marc Aurele La France
83080809f9
xfree86: deal with pitch that isn't a multiple of the granularity
...
When the pitch isn't a multiple of the granularity, allocate more space to
compensate.
2006-12-24 06:28:52 +02:00
Eamon Walsh
43a4376bd7
Merge branch 'master' into my-XACE-SELINUX
2006-12-22 13:53:55 -05:00
Peter Hutterer
9fd2f167ec
xfree86: fix xf86ProcessCommonOptions() core and shared pointer assignment
...
TAG: mpx-0.3.0
2006-12-20 16:30:36 +10:30
Peter Hutterer
b55e1239ac
xfree86: fix xf86ActivateDevice(): only set to MP device if not a keyboard
2006-12-20 14:43:38 +10:30
Peter Hutterer
202b46eb6b
xfree86: Changing "IsMPDevice" to "SharedPointer" option. Devices will default
...
to MP devices.
Xi: Adding QueryDevicePointer request/reply
Adding WarpDevicePointer request/reply
2006-12-20 13:05:53 +10:30
Alan Coopersmith
e437f357b6
xorg.conf man page should say "XFree86-DGA", not "Xorg-DGA"
2006-12-19 16:38:34 -08:00
Eamon Walsh
a81dbaae05
Merge branch 'master' into my-XACE-SELINUX
2006-12-19 16:11:19 -05:00
Peter Hutterer
2d0a63126b
Merge branch 'master' of git://anongit.freedesktop.org/git/xorg/xserver
2006-12-19 10:31:40 +10:30
Alan Coopersmith
1b029fd896
Xorg & Xserver man page updates for 1.2 release
...
- Added -extension & +extension to Xserver man page
- Changed Xorg synopsis from X11R6 to X11R7
- Clarified Xorg ancestry description
- Moved Solaris to free/Open Source OS list
- Removed references to MetroLink module loader & getconfig
- Converted (1) to (__appmansuffix__) in a few more places
- Replaced http://www.freedesktop.org/cvs/ with http://gitweb.freedesktop.org/
2006-12-18 14:51:04 -08:00
Peter Hutterer
d8b5394eda
Cleaning up ifdef MPX from remaining files, removing it from configure.ac.
...
Removing building mpx extension from Makefile.am
2006-12-18 17:35:34 +10:30
Peter Hutterer
03c554283e
mi: removing MPX ifdefs
...
global sprite renaming in mipointer and misprite
fixed: multiple remove cursor call in miSpriteInstallColormap
fixed: wrong core pointer usage in miSpriteStoreColors
dix: bugfix in CheckCursorConfinement
removing MPX ifdefs
removing MPX event generation (using Xi solely now)
bugfix GrabDevice: uninitialized field in grab struct caused segfault
xfree86: removing MPX fdefs
Xi: removing MPX protocol events
2006-12-18 15:33:54 +10:30
James Steven Supancic III
a5fcf1e5e7
Fix RENDER issues (bug #7555 ) and implement RENDER add/remove screen
...
support (bug #8485 ).
2006-12-16 12:02:38 -05:00
Kevin E Martin
c92f7bef54
For Xvfb, Xnest and Xprt, compile fbcmap.c with -DXFree86Server
2006-12-16 12:01:49 -05:00
Eamon Walsh
f11dafaafc
Convert callers of SecurityLookupDrawable() to dixLookupDrawable().
2006-12-15 16:51:58 -05:00
Eamon Walsh
10aabb729d
Convert callers of LookupDrawable() to dixLookupDrawable().
2006-12-15 16:36:29 -05:00
Eamon Walsh
25d5e0a629
Convert callers of SecurityLookupWindow() to dixLookupWindow().
2006-12-15 15:50:46 -05:00
Eamon Walsh
04c721854f
Convert callers of LookupWindow() to dixLookupWindow().
2006-12-15 14:19:54 -05:00
Eamon Walsh
60cdc592fe
Add new, combined dix lookup functions.
2006-12-14 14:46:03 -05:00
Eamon Walsh
6c46645cfc
Naming change: Security*Access -> Dix*Access
2006-12-14 14:45:42 -05:00
Alan Hourihane
b88ad820fa
Set Int10Current->Tag for the linux native int10 module
...
Fixes bug #9296
(cherry picked from 731952c561a3972d09d1315f4fd31466e459ccb9 commit)
2006-12-13 12:18:22 +00:00
Eamon Walsh
a7f4bbea87
Add SELinux extension to the module/extension loader.
2006-12-12 13:27:02 -05:00
Alan Hourihane
81281cb298
Fix bad commit
2006-12-12 11:28:24 +00:00
Alan Hourihane
792e0f71c6
Fix Xming fails to use xkb bug
...
bug #5049 (Colin Harrison)
2006-12-11 14:54:49 +00:00
Alan Hourihane
27d4b84f26
Fix Tooltip from minimized clients
...
Bug #3678 (Colin Harrison)
2006-12-11 14:51:20 +00:00
Peter Hutterer
ae3c24da34
dix: Moving SpriteRec into DeviceIntRec
...
removing global sprite structure
beginning to remove MPX ifdefs
xnest: Fix to make xnest compile again
2006-12-11 18:09:59 +10:30
Adam Jackson
fb8364bca3
Accept EDID > 1.3 but < 2.0 if we find it, assume it's compatible.
2006-12-10 11:24:05 -05:00
Ian Romanick
e1f73d2208
Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/xorg/xserver into pci-rework
...
Conflicts:
hw/xfree86/common/xf86Configure.c
hw/xfree86/common/xf86Helper.c
hw/xfree86/common/xf86pciBus.c
hw/xfree86/int10/helper_exec.c
hw/xfree86/os-support/bus/Pci.c
hw/xfree86/os-support/bus/linuxPci.c
hw/xfree86/os-support/linux/lnx_pci.c
hw/xfree86/scanpci/Makefile.am
hw/xfree86/utils/pcitweak/Makefile.am
hw/xfree86/utils/scanpci/Makefile.am
2006-12-08 17:24:15 -08:00
Jeremy C. Reed
d56249a15e
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
2006-12-08 15:52:37 -06:00
Jeremy C. Reed
f1f8df1889
For MANDEFS, also replace __mandir__ for $(mandir) which includes
...
the prefix. Noticed wrong path to man pages on both Ubuntu and on
NetBSD with pkgsrc.
2006-12-08 15:51:44 -06:00
Daniel Stone
e59aeac1ff
xfree86: remove stray debug line
2006-12-08 21:31:50 +02:00
Michel Dänzer
729fca33a4
Revert "xfree86 DDX: Delete DDX screens in ddxGiveUp()."
...
This reverts commit a6381e6984
.
See https://bugs.freedesktop.org/show_bug.cgi?id=9224 .
2006-12-07 12:09:18 +01:00
Daniel Stone
8724af248c
kdrive/mga: fix compiler warning
...
Change a case that only made one test for an if, preventing the compiler
warning about all other PICT_* types being unsupported.
2006-12-06 23:24:24 +02:00
Daniel Stone
99378b58db
kdrive/tslib: remove vendor-specific hacks
...
Parts of the KDrive merge accidentally contained a bunch of
vendor-specific hacks; sorry.
2006-12-06 23:24:24 +02:00
Daniel Stone
8884a73a3f
xfree86/input: re-add support for disabling drag events
2006-12-06 23:24:24 +02:00
Daniel Stone
f2903c12bb
SyntheticMotion: don't dereference sprite.screen when not using Xinerama
...
(cherry picked from aa052e43c6c293e14f78837e00c6b7581f9713bb commit)
2006-12-06 23:24:23 +02:00
Daniel Stone
d17ec01e83
remove CID support (bug #5553 )
...
Remove CID from all our fontpaths.
(cherry picked from 69820a10e33e4582c192360996e866007114639d commit)
2006-12-06 23:24:23 +02:00
Alan Coopersmith
abe5e079af
Update pci.ids to 2006-12-06 from pciids.sf.net
2006-12-06 07:58:03 -08:00
Peter Hutterer
3c8f166022
Merge branch 'master' of git://anongit.freedesktop.org/git/xorg/xserver into mpx
...
Conflicts:
dix/events.c
2006-12-05 18:28:33 +10:30
Alan Coopersmith
f9f7d7f3be
Check for __sparc as well as __sparc__ for compatibility with Sun cc
...
(gcc defines __sparc__, Sun cc defines __sparc)
2006-12-04 13:36:30 -08:00
Alan Coopersmith
82912ad770
Make solaris version of xf86OSRingBell return void like other OS'es
2006-11-30 20:13:52 -08:00
Aaron Plattner
ee9bdd3f4a
Add DIX_CFLAGS to util builds.
...
Fixes a build breakage when $(top_srcdir) != $(top_builddir) because
-I$(top_srcdir)/include is missing for the cvt, ioport, pcitweak, and scanpci
builds.
Signed-off-by: Adam Jackson <ajax@nwnk.net>
2006-11-29 12:02:38 -08:00
Michel Dänzer
a6381e6984
xfree86 DDX: Delete DDX screens in ddxGiveUp().
...
This allows video drivers to clean up in the FreeScreen hook things they set up
in the PreInit hook.
2006-11-29 19:25:09 +01:00
Eric Anholt
f62ac3ec39
Separate DDC mode list creation from MonPtr creation.
...
This will be used by the intel driver, and likely other RandR 1.2 drivers.
2006-11-28 11:13:43 -08:00
Eric Anholt
fbd0944338
Replace bad mode name-setting code with xf86SetModeDefaultName().
2006-11-28 11:13:43 -08:00
Eric Anholt
4ad0bde661
Clean up a bunch of long lines and trailing whitespace.
2006-11-28 11:13:43 -08:00
Eric Anholt
05778432dc
Move code to get a mode list from EDID data from ddcProperty.c to edid_modes.c.
2006-11-28 11:13:42 -08:00
Eric Anholt
38ecc66cd9
Typo that was missed in testing.
2006-11-28 11:13:42 -08:00
Eric Anholt
16f8f10dc2
Move mode handling helpers from ddcProperty.c to xf86Mode.c.
2006-11-27 16:21:31 -08:00
Eric Anholt
b4b0d901d9
Merge branch 'randr-1.2'
...
Conflicts:
dix/events.c
dix/getevents.c
hw/xfree86/common/xf86Mode.c
hw/xfree86/dri/Makefile.am
hw/xfree86/os-support/drm/xf86drm.c
hw/xfree86/os-support/xf86drm.h
2006-11-27 15:43:15 -08:00
Eric Anholt
d6cd0313c7
Add some mode helper functions from the intel driver.
...
This also removes static from some other functions that had been copied out
to at least the intel driver, but perhaps others that were doing mode list
handling.
2006-11-27 14:46:50 -08:00
Peter Hutterer
1c7568b8a1
mi: closing memory leak, miPointer is freed in miPointerCloseScreen
...
bugfix: uninitialized pPointer in miPointerGetPosition ifndef MPX
adding DeviceIntPtr parameter to ScreenRec's cursor functions.
cleanup of miPointer code to use same scheme in each function
dix: MPHasCursor() function determines checking whether to invoke
cursor rendering.
animcur: adding DeviceIntPtr parameter to cursor functions but animcur relies
on the core pointer right now.
xfixes: adding DeviceIntPtr parameter to cursor functions but xfixes relies on
the core pointer right now.
rac: adding DeviceIntPtr parameter to cursor functions but RAC relies on
the core pointer right now.
ramdac: adding DeviceIntPtr parameter to cursor functions but ramdac relies on
the core pointer right now.
2006-11-23 17:15:14 +10:30
Aaron Plattner
64de3baf85
Add a -showDefaultLibPath option.
...
A corollary to the previous change, this option prints $libdir.
2006-11-22 14:46:51 -08:00
Aaron Plattner
0a2a6e4070
Add a -showDefaultModulePath option.
...
As discussed on the mailing list, people would rather have an X command-line
option to print the module path so installers can know where to put modules,
rather than the installers using `pkg-config --variable=moduledir xorg-server`,
since some distros choose not to install xorg-server.pc.
2006-11-22 14:43:37 -08:00
Dave Airlie
e2f6dacc73
dri: setup libdrm hooks as early as possible.
...
This is due to radeon doing drm stuff before DRI extension gets initialised
2006-11-18 11:29:00 +11:00
Peter Hutterer
90bea69dfd
mi:
...
added miCursorInfoRec to contain info of the MPX cursors.
calling miUpdatePointerSprite() from event queue for MPX devices.
adding device-specific processing to miPointer*() functions.
dix: Call to SetCursorPosition in CheckMotion() temporarily disabled.
xfree86/common: call to miPointerUpdateSprite() disabled, is done from the EQ
NOTE: This build will not display cursor images.
BUG: The second mouse does to take correct x coordinates.
2006-11-17 18:03:43 +10:30
Peter Hutterer
94e106a898
dix: moved isMPdev field to end of _DeviceIntRec structure
...
mi:
added miMPPointers array to mipointer.c
added DeviceIntPtr to all miPointerSpriteFuncs. Coming from miPointer
we use inputInfo.pointer as standard value. ABI BREAK!
ramdac:
forcing failed HW Cursor initialisation. MPX needs software rendering.
changes to use new miPointerSpriteFunc (this required externing
inputInfo, should probably be fixed at a later point).
RAC: changes to use new miPointerSpriteFuncs.
2006-11-17 15:10:37 +10:30
Bjorn Helgaas
ae3c9ad4ab
Bug 9041: Check the return code in xf86MapDomainMemory().
2006-11-16 17:29:06 +01:00
Peter Hutterer
5388423eb0
mieq: EQ processing handles MP devices
...
global: MPX define added to xorg-server.h.in
xfree86/common: small fix to avoid byte overflow
2006-11-16 20:43:27 +10:30
Peter Hutterer
c957a16180
dix: added isMPdev field to _DeviceIntRec, is used in GetPointerEvents()
...
mieq: avoid merging events from different devices in mieqEnqueue()
xfree86/common
isMPdev field used from xf86ActivateDevice(), xf86PostMotionEvent()
and xf86PostButtonEvent()
2006-11-16 15:11:14 +10:30
Peter Hutterer
7ce2dc5784
dix:
...
merge with code cleanup from master
GetPointerEvents treats events in the same way as XINPUT devices when flag
has POINTER_MULTIPOINTER set.
xfree86/common:
added XI86_MP_DEVICE flag and parsing in xf86ProcessCommonOptions
added POINTER_MULTIPOINTER define. Is used in xf86PostMotionEvent and
xf86PostButtonEvent for the flags that are passed into GetPointerEvents()
global:
added flags to configure.ac to enable/disable MPX define
added flags to dix-config.h.in to define MPX
2006-11-16 12:51:08 +10:30
Eric Anholt
6ff7f2ad6a
Fix build on FreeBSD after input-hotplug.
...
(cherry picked from commit 4e6e4baead
)
2006-11-15 15:35:22 -08:00
Peter Hutterer
bffb1f9b67
removed unused variables drag and local from xf86PostMotionEvent
2006-11-15 17:53:13 +10:30
Matthias Hopf
26d2e45bdb
Bug #9023 : Only check mice for "mouse" or "void" if identifier is != NULL.
2006-11-14 15:33:07 +01:00
Jeremy C. Reed
a724b7f130
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
2006-11-13 20:32:26 -06:00
Jeremy C. Reed
6facd958c2
On DragonFLy, default to /dev/sysmouse (just like on FreeBSD).
...
TODO: use autoconf to handle this so the code is not platform
based but feature based.
2006-11-13 20:23:06 -06:00
George Sapountzis
5bfe7f4dfc
DRI: call drmSetServerInfo() before drmOpen().
...
Also, remove some libdrm remnants.
2006-11-13 01:54:32 +02:00
Eric Anholt
28337cc106
Fix typo before the last commit.
2006-11-09 19:51:17 -08:00
Eric Anholt
e1720b1089
Bug #8868 : Remove drm from SUBDIRS now that the directory is gone.
2006-11-09 18:53:37 -08:00
Keith Packard
ec77a95a02
Allow RandR objects to be created before the associated ScreenRec.
...
xf86 drivers need to create RandR object in the PreInit stage,
before the ScreenRec is allocated. Changing the RandR DIX code
to permit this required the addition of functions that later associate the
objects with the related screen.
An additional change is that modes are now global, and no longer associated
with a specific screen. This change actually makes mode management cleaner
as there is no more per-screen list of modes to deal with.
This changes the RandR 1.2 ABI/API for drivers.
2006-11-08 21:36:35 -08:00
Dave Airlie
fd91630b73
make X server use system libdrm - this requires libdrm >= 2.3.0
...
This patch blacklists the load "drm" line, moves some functions in dri module
links dri module against libdrm, and removes the X copy of libdrm
2006-11-09 09:30:33 +11:00
Adam Jackson
0409e1627a
'make dist' fixes.
2006-11-08 16:17:20 -05:00
Bram Verweij
0567a6337b
xfree86/linux acpi: fix tokenising
...
Split on a space, rather on the 'video' string, as strtok takes a char,
not a string.
2006-11-08 18:00:52 +02:00
Daniel Stone
e7900d68c3
remove trailing whitespace
...
Whitespace police in full effect.
2006-11-08 15:36:47 +02:00
Daniel Stone
2035f115b7
xfree86: remove xf86Keymap.h
2006-11-08 15:30:03 +02:00
Daniel Stone
809e2841aa
xfree86: add general handler, port ACPI to it (bug #5665 )
...
Add 'general' handler registration, which will not trigger DPMS when an
event comes in.
Make ACPI use this.
2006-11-08 15:30:03 +02:00
Daniel Stone
332f179db7
kdrive/sdl: fix compilation
2006-11-08 15:30:03 +02:00
Daniel Stone
844090a5b5
xfree86/xf86misc: warning fixes
2006-11-08 15:29:15 +02:00
Daniel Stone
61b570d0c1
xfree86/os-support: update prototype for OSRingBell
2006-11-08 15:29:15 +02:00
Erik Andren
96f78e3886
remove XFree86 changelogs (bug #7262 )
...
Without being able to tie these to specific commits, the text changelog is
useless, as well as being huge.
2006-11-08 15:29:15 +02:00
Adam Jackson
05f1c30246
Merge branch 'autoconfig-for-7.2'
2006-11-07 18:42:54 -05:00
Eric Anholt
4e6e4baead
Fix build on FreeBSD after input-hotplug.
2006-11-07 13:36:54 -08:00
Keith Packard
20e9144c07
Add $(DIX_CFLAGS) to remaining Makefile.am files
2006-11-07 12:49:28 -08:00
Keith Packard
c20d3bf753
Merge branch 'origin' into randr-1.2
2006-11-07 01:21:28 -08:00
Juliusz Chroboczek
aa0261a98e
Improve vm86 error handling in Xvesa.
2006-11-06 02:29:49 +01:00
Juliusz Chroboczek
6b2c65fdd1
Fix typo in Xvesa: incorrect reporting of DAC capabilities.
2006-11-06 00:30:09 +01:00
Keith Packard
028bbdc041
Merge master back to randr-1.2
2006-11-04 17:46:26 -08:00
Keith Packard
8b87ce1974
Allow X server to build against libdrm 2.1
2006-11-04 17:41:25 -08:00
Keith Packard
7ffbe9d232
Add DIX_CFLAGS to hw/vfb/Makefile.am
2006-11-04 17:41:09 -08:00
Bernhard Rosenkraenzer
8deaaa312a
automake: avoid use of reserved _SOURCES keyword (bug #8866 )
...
Avoid using _SOURCES unless we're directly referencing a program or
library to be built; use _SRCS instead. Shuts automake 1.10 up.
2006-11-04 19:08:28 +02:00
Samuel Thibault
f72927d26c
xfree86/hurd: remove OsMouseProc (bug #5613 )
...
Remove OsMouseProc, let the mouse driver deal with it.
2006-11-04 19:08:27 +02:00
Samuel Thibault
0273610578
xfree86/hurd: add bell support, remove SERVER/LOADER defines (bug #5613 )
...
Add no-op bell ringing support, and remove obsolete @SERVER_DEFINES@ and
@LOADER_DEFINES@ from CFLAGS.
2006-11-04 19:08:25 +02:00
Samuel Thibault
412e93349e
kdrive: make building of Linux support conditional (bug #5613 )
...
Only try to build Linux support on Linux. We should probably disable all
OS-dependent DDXes if we don't have a workable OS (and only build
Xephyr/Xfake), but that's future work.
2006-11-04 19:08:23 +02:00
Aaron Plattner
97fd471a62
Fix standard VESA modes.
...
The built-in mode timings were off slightly for the 640x480@60, 640x480@72,
and 1024x768@75 modes.
2006-11-03 14:06:32 -08:00
Bjorn Helgaas
bd0c829654
Do not map full 0-1MB legacy range
...
If we're mapping something in the "legacy range" (0-1Mb), we shouldn't
expand the requested range to the entire 0-1Mb range. Typically this
is for mapping the VGA frame buffer, and some platforms support mmap of
the frame buffer but not the entire 0-1Mb range.
For example, HP sx1000 and sx2000 ia64 platforms can have memory from
0-0x9ffff, VGA frame buffer from 0xa0000-0xbffff, and memory from
0xc0000-0xfffff. On these platforms, we can't map the entire 0-1Mb
range with the same attribute because the memory only supports WB,
while the frame buffer supports only UC. But an mmap of just the
frame buffer should work fine.
2006-11-03 18:59:52 +01:00
Egbert Eich
c1828a8ff5
Fixing mach64 driver bailing out on ia64
...
Mach64 driver bails out on ia64 because it cannot map device
memory. It turns out that some bogus and unneeded code attempts
to find the root bridge of the device and fails to do so proberly
as there this host-to-pci bridge is not existant. This code has
been around for years although it completely unclear what it had
been intended for. Fixing this by eliminating the bogus code.
2006-11-03 18:59:52 +01:00
Matthias Hopf
d50fc413b3
Fix device path in altixPCI.c to be domain aware.
2006-11-03 18:59:52 +01:00
Matthias Hopf
1d731fc54a
Add domain support to linuxPciOpenFile().
...
Loosely based on patch from David S. Miller <davem@davemloft.net>
See also bug #2368 .
2006-11-03 18:59:51 +01:00
Matthias Hopf
caaa113acf
Fixing domain support for ia64
...
ia64 specific functions + defines.
Still uses /proc interface for some scaning code.
Based on code from Egbert Eich <eich@freedesktop.org>.
2006-11-03 18:59:51 +01:00
Matthias Hopf
16c5043fc0
Fix 2 warnings.
2006-11-03 18:59:51 +01:00
Matthias Hopf
072c022e73
Fix obviously wrong boundary checks + cleanup unused vars.
...
Also disable compilation of code that is no longer used anywhere in the whole
Xserver tree.
2006-11-03 18:59:51 +01:00
Matthias Hopf
5afc6c1a14
Added linux 2.6 compatible domain aware device scanning code.
...
Additional scanning code uses the /sys interface of 2.6 kernels.
Cleaned up the use of tags and already split domain/bus/dev/fn.
2006-11-03 18:59:51 +01:00
Egbert Eich
6319f7d713
Make int10 fully domain aware.
2006-11-03 18:59:51 +01:00
Matthias Hopf
f4dd2665b0
Added missing domain stripping in already domain aware code.
2006-11-03 18:59:51 +01:00
Matthias Hopf
46901063e8
Build with -D_PC on ix86 only.
2006-11-03 18:59:51 +01:00
Keith Packard
543b397277
Merge branch 'origin' into randr-1.2
2006-11-02 19:00:35 -08:00
Alan Coopersmith
037f23e6f8
Convert Xprt DDX to new motion history api
2006-11-02 18:30:58 -08:00
Alan Coopersmith
7dc54a40e9
Remove references to xf86Info.kbd* from solaris code
2006-11-02 16:38:47 -08:00
Alan Coopersmith
e46f7f78b3
sun_bell.c needs to #include "xf86_OSlib.h"
2006-11-02 16:38:12 -08:00
Daniel Stone
01afa533aa
xfree86/os-support: axe more unused files
2006-11-02 04:32:37 +02:00
Daniel Stone
57c1409151
xfree86/os-support: remove unused file from dist
2006-11-02 04:21:06 +02:00
Daniel Stone
1d65429a9e
xfree86: don't attempt to enable and disable non-DIX devices
...
Don't try to enable and disable devices with no entry in the DIX, such as
the evdev brain.
2006-11-02 04:12:55 +02:00
Daniel Stone
18c246a13b
Merge branch 'input-hotplug'
2006-11-02 03:21:37 +02:00
Daniel Stone
ba9f5138fc
xfree86: allow starting with no input devices
...
Add a server flag (AllowEmptyInput), which will inhibit adding the
standard keyboard and mouse drivers, if there are no input devices in the
config file.
2006-11-02 03:16:10 +02:00
Daniel Stone
be291a6d97
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-11-02 03:15:25 +02:00
Daniel Stone
a2d6242106
kdrive:remove Change{Keyboard,Pointer}Device
...
This was removed in the DIX, so just axe it.
2006-11-02 00:46:33 +02:00
Daniel Stone
81728558a0
input: add non-keyboard bell ringing function
...
Add a generic 'ring the bell' function (console bell on Linux and BSD,
/dev/audio on Solaris), and add DDX functions for this. Make this the
core keyboard's bell.
Port Xvfb and Xnest to this.
Port XFree86 to this, with OS-specific hooks for Linux, BSD, and Solaris
taken from foo_io.c in the old layer.
2006-11-01 23:10:26 +02:00
Daniel Stone
3df454719f
kdrive: add KdRingBell prototype
2006-11-01 23:02:57 +02:00
Alan Coopersmith
c03311a1e7
Fix automake error: BUILT_SOURCES was defined multiple times on Solaris
2006-10-31 16:05:48 -08:00
Matthieu Herrb
645d057620
Handle building in a separate objdir
2006-10-29 18:19:56 +01:00
Matthieu Herrb
59584c375f
kill GNU-make'ism.
2006-10-29 17:49:46 +01:00
Thomas Hellstrom
06b6b971d0
Make sure we have 64-bit file-offsets in libdrm.
2006-10-29 15:22:37 +01:00
Daniel Stone
644ee2434a
kdrive: avoid null dereferences
...
Avoid jumping into NULL pointers for OS or card functions which do not
exist.
2006-10-29 03:52:11 +03:00
Daniel Stone
738d2e8817
kdrive: move bell ringing into an OS function
...
Move the bell into an OS function, and use that if it's declared; else,
fall back to using the driver's function.
Remove the Linux keyboard bell function; just move it into the OS layer.
Use named initialisers when converting the old structures, and eliminate
unused functions.
2006-10-29 03:48:02 +03:00
Daniel Stone
96e32805d1
Xi: disallow changing core keyboard and pointer
...
Just short-circuit the change core keyboard/pointer requests.
2006-10-29 03:43:34 +03:00
Thomas Hellstrom
92d04e746b
Import libdrm functions for the drm memory manager.
2006-10-27 18:26:30 +02:00
Myron Stowe
794f2e7291
xfree86: re-enable chipset-specific drivers for Linux/ia64
...
Re-enable chipset-specific support for Linux/ia64, by linking in
lnx_ia64.c.
2006-10-26 20:38:58 +03:00
Daniel Stone
cdc8a4b7b2
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-10-26 00:28:30 +03:00
Michel Dänzer
becbda6d51
Fix test for Option "IgnoreABI".
...
This option has plenty of potential for wasting the time of bug triagers
without pretending it's always on.
2006-10-25 11:39:27 +02:00
Keith Packard
59511974db
Merge branch 'master' into randr-1.2
2006-10-24 17:26:20 -07:00
Daniel Stone
65cd5aa4d7
kdrive/input: remove unnecessary #ifdef XINPUTs
...
Xi is now mandatory, so don't bother with the ifdefs.
2006-10-25 01:12:45 +03:00
Daniel Stone
0514d53e10
xfree86: remove motion history handling
...
Remove motion history handling, as we now deal with this in the DIX.
2006-10-25 01:10:44 +03:00
Daniel Stone
b1debebf8f
mi: remove mi motion history
...
This is now unneeded as we do motion history in the DIX.
2006-10-25 01:10:20 +03:00
Daniel Stone
b9e180e632
port all users to the new DIX motion history API
...
Port KDrive, Xvfb, and Xnest, as well as the virtual core devices, to the
new motion history API. Make GetPointerEvents also update the history.
2006-10-25 01:09:19 +03:00
Daniel Stone
2a74b8a91d
xfree86: re-bump input abi to 1.0, yet again
2006-10-25 01:04:53 +03:00
Ian Romanick
27d682fa03
Fix from HEAD accidentally reverted during merge.
2006-10-24 09:04:14 -07:00
Ian Romanick
8b90913566
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
...
Conflicts:
hw/xfree86/Makefile.am
hw/xfree86/common/xf86.h
hw/xfree86/common/xf86DoScanPci.c
hw/xfree86/os-support/bus/linuxPci.c
hw/xfree86/scanpci/extrapci.ids
hw/xfree86/scanpci/pci.ids
hw/xfree86/scanpci/pciid2c.pl
hw/xfree86/scanpci/xf86PciStdIds.h
2006-10-24 08:57:59 -07:00
Daniel Stone
0cd6a3d8ef
xfree86/input: add proximity support, free valuators
...
Re-add support for proximity events, and remember to both va_end our
varargs, and free our valuators.
2006-10-23 06:56:07 +03:00
Daniel Stone
a7c2d9a15d
kdrive: numerous warning fixes
2006-10-23 06:08:27 +03:00
Daniel Stone
c8f76fb3a4
xfree86/input: disallow pointer device changes, fix drag event calculation
...
Don't allow users to change the core pointer.
Fix xf86SendDragEvents to check the device button state, not the core
pointer's.
Remove unused xf86CheckButton.
2006-10-23 05:12:15 +03:00
Daniel Stone
c5b5b046e8
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-10-23 02:58:30 +03:00
Daniel Stone
fab1d37ecb
xfree86/options: don't blindly dereference NULL pointers
...
Sure, conf_idev should be initialised, but if it's not, try to make the
best of a bad situation.
2006-10-23 02:57:00 +03:00
Daniel Stone
523fe64ba1
kdrive/lots of DDXes: make stubs use KdOsAddInputDrivers()
...
In theory, removing LinuxPciScan should make these drivers OS-independent.
2006-10-23 02:56:28 +03:00
Daniel Stone
57f98e2b72
kdrive/tslib: port to new absolute API, remove debugging
...
Port to new absolute device (not touchscreen) API, and remove some
leftover debugging.
2006-10-23 02:55:41 +03:00
Daniel Stone
a6dc629052
kdrive/os: add KdOsAddInputDrivers
...
Add KdOsAddInputDrivers, which adds all relevant input drivers.
Could possibly be refactored to KdAddInputDrivers, which called through
OsFuncs to a new function, if it existed.
2006-10-23 02:54:59 +03:00
Daniel Stone
ac240b00ff
kdrive/input: use Absolute instead of Touchscreen
...
Adjust to suit Zepheniah's new absolute device API.
2006-10-23 02:54:07 +03:00
Daniel Stone
b1ba4b3e8a
kdrive/neomagic: include vesa.h, use DebugF
2006-10-23 02:53:15 +03:00
Daniel Stone
2f33f4065d
Xnest: port to new input API
...
Port Xnest to Get{Pointer,Keyboard}Events, plus the new mieq API.
2006-10-23 02:52:35 +03:00
Daniel Stone
08928afb05
Xnest: disable XKB, reshuffle code
...
Disable XKB, as we can't yet use it; move Composite disabling to
ddxInitGlobals, along with XKB.
2006-10-23 02:51:52 +03:00
Daniel Stone
cd3b16a57e
Xvfb: port to new mieq API
2006-10-23 02:51:13 +03:00
Daniel Stone
f08b6b2367
kdrive: change DEVICE_TOUCHSCREEN to DEVICE_ABS_{CALIB,AREA}
2006-10-22 12:30:02 +03:00
Drew Parsons
948a97b97e
Minor typo fix to xorg.conf man page.
2006-10-21 23:09:22 +10:00
Zephaniah E. Hull
e26a494f41
Merge branch 'input-hotplug' of git+ssh://git.freedesktop.org/git/xorg/xserver
2006-10-21 04:26:14 -04:00
Zephaniah E. Hull
736b0d5078
DEVICE_TOUCHSCREEN becomes DEVICE_ABS_CALIB.
...
Update the DEVICE_ABS_CALIB stuff to include the new elements.
New DEVICE_ABS_AREA support.
dev->touchscreen becomes dev->absolute, with _CALIB and _AREA stuff in it.
Update xfree86 to compile with this, kdrive needs an update too.
2006-10-21 04:24:49 -04:00
Carl Switzky
edd5f17454
Add ast driver/device info to Xorg server & config utilities
2006-10-19 17:30:54 -07:00
Daniel Stone
aeba855b07
move keymap copy to event processing, from enqueuing
...
Move the keymap copying to event processing time (in
ProcessInputEvents), instead of being at event enqueuing time.
Break SetCore{Pointer,Keyboard} out into separate functions.
Change mieqEnqueue to take a device pointer, that asks for the
_original_ device associated with this event.
2006-10-20 00:43:11 +03:00
Alan Coopersmith
b0780312d8
Pre-release message should tell users to check git, not CVS, for updates
2006-10-20 00:43:10 +03:00
Joshua Baergen
c5dc997baf
Create xorg.conf.example (Gentoo bug #138623 ).
2006-10-20 00:43:10 +03:00
Alan Hourihane
85ac2f16ab
Small modification to blocking signals when switching modes.
2006-10-20 00:42:47 +03:00
Michel Dänzer
a232693c8c
Add per-drawable Xv colour key helper function.
...
This allows overlay Xv adaptors to work slightly better with compositing
managers.
Bump the video driver ABI minor so drivers only need to check for this at build
time.
2006-10-20 00:42:44 +03:00
Alan Coopersmith
5563861ab7
Make sure xorgcfg files are included even when dist made with --disable-xorgcfg
2006-10-20 00:42:07 +03:00
Alan Coopersmith
e1dd1904c6
Pre-release message should tell users to check git, not CVS, for updates
2006-10-19 14:27:15 -07:00
Joshua Baergen
62d2409793
Create xorg.conf.example (Gentoo bug #138623 ).
2006-10-19 11:14:26 -07:00
Zephaniah E. Hull
1b1698af41
Pass SetDeviceValuators down to the driver.
...
NOTE: This changes the LocalDeviceRec struct, which breaks input drivers.
2006-10-18 04:57:22 -04:00
Alan Hourihane
d430e76a16
Small modification to blocking signals when switching modes.
2006-10-16 12:39:05 +01:00
Daniel Stone
4ae7745a0d
xfree86 input: always open devices on NewInputDeviceRequest
2006-10-15 21:48:01 +03:00
Michel Dänzer
f9bfee5098
Add per-drawable Xv colour key helper function.
...
This allows overlay Xv adaptors to work slightly better with compositing
managers.
Bump the video driver ABI minor so drivers only need to check for this at build
time.
2006-10-15 16:55:09 +02:00
Alan Coopersmith
b9108a13fc
Make sure xorgcfg files are included even when dist made with --disable-xorgcfg
2006-10-13 19:05:28 -07:00
Daniel Stone
335b503c5e
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-10-13 18:10:45 +03:00
Alan Hourihane
cf948b7b04
Block IO on switchmode just as we do for VT switching
...
to avoid cursor movements signalling io.
2006-10-13 14:48:10 +01:00
Matthias Hopf
1b94c117e0
Fixing probably long-standing bug in domain support.
2006-10-10 19:37:22 +02:00
Daniel Stone
ef7e05e9de
xfree86/xinput: pass first_valuator params, don't clip to first screen bound
...
Pass first_valuator to GetPointerEvents/GetKeyboardValuatorEvents.
Don't clip axis bounds to that of screen 0 when initialising axes.
2006-10-08 21:42:15 +03:00
Daniel Stone
41bb9fce47
mipointer: take device arguments, split miPointerAbsoluteCursor
...
Update mipointer API to take a device argument to (almost) all functions,
and split miPointerAbsoluteCursor into a couple of separate functions.
Remove miPointerAbsoluteCursor call from mieq, as we now deal with it in
GetPointerEvents.
Make miPointerSetPosition (successor of miPointerAbsoluteCursor) take
pointers to x and y, so it can return the clipped values.
Modify callers of miPointer*() functions to generally use the new
functions.
This should fix things with multi-head setups.
2006-10-08 20:34:32 +03:00
Daniel Stone
be8dfafd1d
warning cleanups
...
Fix still more warnings.
2006-10-08 20:32:16 +03:00
Daniel Stone
3ae4d25018
xfree86 Xinput: remove still more excessive debugging
...
There isn't any more debugging left for input events in the XFree86 DDX.
2006-10-08 16:20:42 +03:00
Daniel Stone
58314756ae
GetPointerEvents: add first_valuator parameter
...
Add a first_valuator parameter. Looks correct by inspection, but untested
with first_valuator != 0 as yet.
2006-10-08 16:18:05 +03:00
Daniel Stone
8d8e7f8bae
kdrive/input: remove excessive debugging in NIDR
2006-10-08 15:26:54 +03:00
Daniel Stone
22a836fafd
xfree86/loader: bump input major ABI version
...
Bump input major ABI version to 1.0, since we removed the OS keyboard
layer.
2006-10-07 14:16:51 +03:00
Alan Coopersmith
4c34224630
Merge branch 'XACE-modular'
2006-10-06 18:01:13 -07:00
Daniel Stone
de63a469dc
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-10-05 20:29:19 +03:00
Keith Packard
b4659faf9b
Merge branch 'master' into randr-1.2
2006-10-04 14:46:04 -07:00
Alan Coopersmith
8382234a7f
Update pci.ids to Tue 2006-10-03 daily snapshot
2006-10-03 17:49:48 -07:00
Alan Coopersmith
96edf7b853
Don't insert RCS tag into generated pci id header files
2006-10-03 17:48:50 -07:00
Daniel Stone
518db35ca3
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-09-29 00:35:21 +03:00
Daniel Stone
ad631afcf3
make core keyboard/pointer map functions act on all core-sending devices
...
Make Set{Keyboard,Modifier,Pointer}Mapping act on all devices which send core
events.
Change LegalModifier to accept a DeviceIntPtr.
2006-09-29 00:34:23 +03:00
Aaron Plattner
4bc5dc2854
Merge branch 'wfb'
2006-09-28 13:27:13 -07:00
Michel Dänzer
2206a92a97
Push information about cliprects of DRI windows to the DRM.
2006-09-27 10:48:49 +02:00
Michel Dänzer
54d371e7a4
Add wrapper for new ioctl to update drawable information in the DRM.
2006-09-27 10:48:41 +02:00
Daniel Stone
ad321fad4b
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-09-24 17:56:43 +03:00
Brian
f7c1d94241
Check for visual==NULL in dmxBECreateColormap() before calling XCreateColormap()
...
to prevent potential segfault.
2006-09-23 10:38:10 -06:00
Brian
945b7c6394
The fbcmap.c file used by Xdmx _must_ be compiled with XFree86Server defined.
...
Otherwise, Xdmx generates a slew of protocol errors.
2006-09-23 10:35:25 -06:00
Brian
891e9c3e6c
Replace broken DMXDBG3() with DMXDBG2()
2006-09-23 10:28:24 -06:00
David Nusinow
a10039a100
Allow the xfree86 ddx utils to be optionally built. Patch by Eugene Konev.
2006-09-21 23:58:32 -04:00
Aaron Plattner
c1655f0fd4
Bug 8386: Grow parser buffers to fit an entire line if it's longer than CONFIG_BUF_LEN.
2006-09-21 14:45:17 -07:00
Drew Parsons
8b4ed47c5d
* Install Xprint's Xsession script to $(sysconfdir)/X11/Xsession.d
...
* Removing outdated references to CDE and dt, rename script to
92xprint-xpserverlist.
2006-09-21 22:19:44 +10:00
Donnie Berkholz
d812f486a0
Really fix sparc on 64-bit kernel/32-bit userland.
...
Commit b3a3020fd0
used a sparc64 ifdef instead of
sparc. But for 32-bit userland, __sparc64__ is not defined so the wrong code is
used.
2006-09-20 15:39:39 -07:00
Keith Packard
2be1ac15ae
Remove smashing of CFLAGS from server build.
...
CFLAGS is a user variable, extracted from the environment at configure time
and settable by the user at build time. We must not override this variable.
2006-09-18 12:11:18 -07:00
Adam Jackson
f057de4f73
Don't install librac.a.
...
Thanks, automake.
2006-09-16 03:49:11 -04:00
Eamon Walsh
49a70c8570
Merge branch 'master' into my-XACE-modular
2006-09-15 15:26:57 -04:00
Adam Jackson
46af6d1e95
Always believe the monitor when it reports a reduced-blanking mode.
...
CVT reduced blanking modes are typically only seen on digital connections to
LCDs, but there are some monitors that report them as supported over the
VGA connector too, which is perfectly legitimate, electrically speaking.
2006-09-14 19:28:44 -04:00
Adam Jackson
63acf18b7e
In xf86MatchPciInstances, fail gracefully when there's no PCI device at all.
...
This allows the autoconfig logic to fall through sanely on non-PCI machines,
which importantly includes Xen virtual machines.
2006-09-14 19:26:37 -04:00
Adam Jackson
a8f9936f55
Prefer driver-provided modes when matching name strings to modelines.
...
Well, kinda. Strictly we prefer M_T_BUILTIN strongest since those are modes
where the driver has said it absolutely can't do anything else (VBE). Then
we look for user-defined modes, ie, modelines from the config file. Then
we consider modes reported by the monitor via EDID. Finally if nothing has
matched yet we consider the default mode pool.
Within each of the above-mentioned classes, modes with the M_T_PREFERRED bit
take priority over other modes in the same class.
This logic ensures that the timings sent to the monitor exactly match the
timings it reported as supported, which occasionally don't match the numbers
you might get for that mode from CVT or GTF.
2006-09-14 19:24:41 -04:00
Adam Jackson
81ef1b6d60
Mark EDID modes as driver modes. Infer virtual size from driver modes.
...
This allows the server to guess an appropriate initial virtual size and
resolution. The heuristic is to select the largest driver-reported mode
that matches the monitor's physical aspect ratio. We revalidate this
estimate after mode validation, since we may have filtered away all
modes that would fill that size.
Also, the EDID preferred timing is now marked as M_T_PREFERRED as well.
2006-09-14 19:18:58 -04:00
Adam Jackson
43d9edd31e
Attempt to add the 'mouse' driver in more situations.
...
Always add a mouse driver instance configured to send core events, unless
a core pointer already exists using either the mouse or void drivers. This
handles the laptop case where the config file only specifies, say,
synaptics, which causes the touchpad to work but not the pointing stick.
We don't double-instantiate the mouse driver to avoid the mouse moving twice
as fast, and we skip this logic when the user asked for a void core pointer
since that probably means they want to run with no pointer at all.
2006-09-14 19:09:02 -04:00
Adam Jackson
739224d05e
Load the default module set when no Module section is given in the config.
...
Also, synchronize that list with the list for the pseudoconfig file used
when starting with no config file. These really need to be better unified.
2006-09-14 19:03:32 -04:00
Adam Jackson
beac2bf1e4
Expand the default sync ranges to be large enough for 800x600@60.
2006-09-14 19:01:13 -04:00
Adam Jackson
71a15a7d57
Publish the raw EDID block as a property on the root window.
...
This was removed in the patch for bug #5386 , but is still useful.
2006-09-14 19:00:10 -04:00
Adam Jackson
7939c8dfb7
Bump the default pixel depth to 24, and default bpp to 32.
2006-09-14 18:57:57 -04:00
Adam Jackson
72af975f9c
Fix up EDID blocks where the max pixclock exceeds the preferred mode clock.
...
Base EDID only lets you specify the maximum dotclock in tens of MHz, which
is too fuzzy for some monitors. 1600x1200@60 is just over 160MHz, but if
the monitor really can't handle any mode at 170MHz, then 160 is more
correct. Fix up the EDID block before the driver can see it in this case,
so we don't spuriously reject modes.
2006-09-14 18:56:34 -04:00
Adam Jackson
334f7db9f6
Allow hsync and vsync ranges to be overridden independently again.
2006-09-14 18:46:10 -04:00
Adam Jackson
ced46e1777
Record all standard timings from EDID as modes, instead of just the first five.
2006-09-14 18:41:59 -04:00
Adam Jackson
d89fee68d0
Record the maximum dot clock of the monitor, and filter by it.
2006-09-14 18:41:15 -04:00
Adam Jackson
fa8ef71668
Don't translate monitor gamma to X gamma.
...
The X gamma is used to set the output ramp of the card. Setting a 2.2 output
gamma going into a 2.2 monitor gives an effective gamma of 4.84, which is
very much not what you want.
2006-09-14 18:33:00 -04:00
Luc Verhaegen
511c60bc73
Bug #5386 : Synthesize modelines from EDID data.
2006-09-14 18:30:36 -04:00
Bill Nottingham
0a62840e2c
Bug 7641: fix comment written to Xorg.conf (s/VertSync/VertRefresh/)
...
X.Org Bugzilla #7641 <https://bugs.freedesktop.org/show_bug.cgi?id=7641 >
Patch #6349 <https://bugs.freedesktop.org/attachment.cgi?id=6349 >
2006-09-13 15:40:23 -07:00
Drew Parsons
182e5e0f4b
Xprint: revert installation of /etc/X11/Xsession.d/cde_xsessiond_xprint.sh
...
pending resolution of #8232 .
2006-09-12 14:30:46 +10:00
Donnie Berkholz
2b357e9a2f
If we're installing libxf86config, install headers needed to build against it.
2006-09-10 22:17:20 -07:00
Jesse Barnes
b3a3020fd0
the new PCI mapping routines are broken on sparc64 (in fact they look
...
broken for any 32 bit X server running on a 64 bit kernel) so #ifdef
them out for now. the PCI rework tree will make all this crap go away,
so I think we can tolerate the extra #ifdef for the next release.
2006-09-10 11:13:18 -07:00
Drew Parsons
65256109bb
* Define XPSERVERLIST with `/etc/init.d/xprint get_xpserverlist`
...
instead of `/bin/sh /etc/init.d/xprint get_xpserverlist`
- allows the initscript to set its own different shell under #!
- allows disabling of XPSERVERLIST by making the script non-executable
* Allow files to be installed by using dist_*_DATA instead of EXTRA_DIST.
Also, use dist_*_SCRIPTS to install scripts.
* Fix minor typos in man pages.
2006-09-10 17:40:37 +10:00
Daniel Stone
5e9d33fe87
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-09-07 15:43:31 +03:00
Michel Dänzer
8356be492c
Make sure _XSERVER64 is defined when it should be and gets tested.
2006-09-06 15:20:55 +02:00
Eamon Walsh
0b81fccd2e
Merge branch 'master' into my-XACE-modular
...
Conflicts:
configure.ac
2006-09-05 18:03:25 -04:00
Matthew Allum
69d5becce4
Fix previous commit breaking other kdrives pulling in fbdev.a
2006-08-31 17:30:24 +01:00
Matthew Allum
fd609956f2
Add framebuffer device command line switch for Xfbdev
2006-08-31 17:18:57 +01:00
Matthew Allum
5ddbf4bcd4
Re-add support for tslib (1.0 release) and Xcalibrate extension.
2006-08-29 22:07:15 +01:00
Daniel Stone
393dc0a338
kdrive: remove @KDRIVE_LIBS@ from Xfoo_DEPENDENCIES
2006-08-29 22:53:54 +03:00
Daniel Stone
89d272bb18
[PATCH] kdrive/linux keyboard: remove more debugging spew
2006-08-29 15:18:25 +03:00
Daniel Stone
bd6f539ff9
[PATCH] kdrive/linux keyboard: silence excessive debugging noise
2006-08-29 15:18:23 +03:00
Daniel Stone
7fa3383e3c
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-08-29 15:16:01 +03:00
Adam Jackson
ebbdc1342a
Remove calls to LoaderCheckUnresolved(), since it's now a stub.
2006-08-28 18:17:32 -04:00
Ian Romanick
21291d6ca7
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
2006-08-25 09:34:21 -07:00
Daniel Stone
d6f36bd280
xfree86/parser: use 'kbd' driver when 'keyboard' specified
...
Now that we've completely ditched the old driver, we should probably make a
best-effort attempt to keep configs working.
2006-08-25 12:43:17 +03:00
Daniel Stone
393f8347ed
xorgconf.cpp: kbd, not keyboard
2006-08-25 10:46:32 +03:00
Daniel Stone
3a36b0a24a
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-08-24 23:35:28 +03:00
Adam Jackson
b879356ce9
More #ifdef USE_DEPRECATED_KEYBOARD_DRIVER.
2006-08-24 15:50:15 -04:00
Matthias Hopf
4ed311cf1c
Merge branch 'master' of git://anongit.freedesktop.org/git/xorg/xserver
2006-08-24 20:17:10 +02:00
Alan Hourihane
ce4a0a4dda
Apply patch in bug #7919 , blit improvements in
...
multiwindow mode for Xming/CygwinX
2006-08-24 13:56:22 +01:00
Daniel Stone
4adf9af313
Merge branch 'master' into input-hotplug
2006-08-24 10:59:33 +03:00
David Nusinow
733c4beb16
Add xorg.conf IgnoreABI option which does the same thing as -ignoreABI
2006-08-23 22:39:42 +00:00
Adam Jackson
bdec9680fa
Make sure Composite is never enabled for Xnest.
2006-08-23 14:43:23 -04:00
Adam Jackson
9f2a108051
Make 'Xvfb -render' also disable Composite, lest we segfault on startup.
2006-08-23 14:38:34 -04:00
Eamon Walsh
52ba722e4c
Merge branch 'XACE-modular' into my-XACE-modular
2006-08-21 18:49:31 -04:00
Alan Coopersmith
05541259bd
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into XACE-modular
2006-08-21 13:07:41 -07:00
Daniel Stone
1c2cb30cd8
Merge branch 'origin' into input-hotplug
2006-08-18 17:05:50 +03:00
Alan Hourihane
70ddd0f39d
Fix bug #5735 , Serious flaw in CygwinX clipboard
...
integration prevents paste from X to Windows apps
(Brett Stahlman & Colin Harrison)
2006-08-18 14:43:10 +01:00
Alan Hourihane
708b225689
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
2006-08-18 09:13:52 +01:00
Alan Hourihane
1880defe4e
Fix bug #7281 , clipboard viewer should not
...
call SetClipboard viewer when bogus in Xming/CygwinX
(Colin Harrison)
2006-08-18 09:09:53 +01:00
Alan Hourihane
a1a8e4f7f5
Fix bug #7280 , round title corner background
...
should be transparent not black in Xming/CygwinX
(Colin Harrison)
2006-08-18 09:08:12 +01:00
Adam Jackson
ee5e2cbd2b
Un-cut-and-paste the mode rejection message.
2006-08-17 17:29:32 -04:00
Adam Jackson
43e42eef1f
Fix default mouse device on Linux, again.
...
It would be really nice if we only did this in one place instead of 40.
2006-08-17 16:22:07 -04:00
Daniel Stone
f9624e0109
kdrive/input: verify SIGIO with --enable-debug
2006-08-17 16:09:51 +03:00
Matthias Hopf
73e58adda9
Fixed segfault w/ broken Xinerama configs.
2006-08-16 18:18:51 +02:00
Daniel Stone
5d073697ad
kdrive/input: minor warning cleanups
...
And also a compiler error fix when VERIFY_SIGIO is defined.
2006-08-15 15:37:10 +03:00
Daniel Stone
47c1c948e6
kdrive/input: only run special key behaviours on non-XKB
...
Only attempt to manually deal with special key behaviours (e.g. terminating
the server) when not using XKB, and leave locking behaviour up to GKVE.
2006-08-15 15:25:16 +03:00
Daniel Stone
d6433be3cc
Merge branch 'master' into input-hotplug
2006-08-12 21:50:52 +03:00
Bastian Blank
f7919c2879
xfree86: don't do legacy IO on ARM or S/390 (Debian #362641 )
...
Don't attempt to poke legacy IO ranges on ARM or S/390.
2006-08-12 20:43:25 +03:00
Daniel Stone
59dcc62906
xfree86: remove Xqueue support completely
2006-08-12 20:39:08 +03:00
Samuel Thibault
e641000b98
xfree86: add Hurd support ( #5613 )
...
Add support for GNU/Hurd.
2006-08-12 19:41:59 +03:00
Daniel Stone
26c3cd1c9e
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-08-12 18:58:18 +03:00
Daniel Stone
008aa7eb6e
completely remove OS keyboard layer
...
Completely axe the keyboard layer from os-support.
2006-08-12 18:56:05 +03:00
Adam Jackson
c4951e0a6b
Fix a mode sanity check to not break reduced-blanking setups (LCDs).
2006-08-10 20:49:06 -04:00
Adam Jackson
e1921f014b
Rename some mode tokens to better reflect their use.
...
Per #5386 , M_T_EDID -> M_T_DRIVER, since it's really for any driver-detected
mode. Also add M_T_PREFERRED bit, to select a 'best' mode out of a set.
2006-08-10 20:43:15 -04:00
Alan Coopersmith
c2535f6792
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into XACE-modular
2006-08-10 10:37:59 -07:00
Ian Romanick
1a5561c4ec
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
2006-08-10 10:20:37 -07:00
Daniel Stone
cec284f2b3
kdrive: properly ifdef composite enabling
2006-08-10 18:03:58 +03:00
Daniel Stone
172d45b9b7
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-08-10 14:14:54 +03:00
Daniel Stone
539d1f3347
GKVE/GPE: have DDX allocate events
...
Don't allocate events on every GKE/GKVE/GPE call, just have the DDX manage
it instead. Introduce GetMaximumEventsNum(), which is the maximum number
of events these functions will ever produce.
2006-08-10 14:00:14 +03:00
Adam Jackson
db82e12fac
Remove TargetRefresh option from the autoconfig logic.
...
The default target of 75Hz is almost always wrong for LCDs.
2006-08-09 14:55:17 -04:00
Daniel Stone
4be9abb850
kdrive: remove ddx_DEPENDENCIES
...
Remove foo_DEPENDENCIES as they weren't guaranteed to just be libs,
and loader arguments (-lfoo, -Lfoo) might've crept in.
2006-08-09 07:20:16 +03:00
Ian Romanick
190f229ed7
Make xf86PciVideoInfo static since it is only used within this file.
...
Dummy out all of the PCI bus and device access control functions. We
need a better way to do this, and that will probably be in
libpciaccess and / or the kernel.
Refactor xf86GetPciInfoForEntity to use pci_device_find_by_slot.
Refector xf86CheckPciSlot to use xf86GetPciEntity.
Eliminate disablePciBios and the one place that calls it.
2006-08-08 16:47:32 -07:00
Ian Romanick
5508f7646f
Remove prototypes from some functions that were previously removed.
2006-08-08 16:43:31 -07:00
Ian Romanick
9df53d903e
Rename xf86ReadDomainMemory to xf86ReadLegacyVideoBIOS, since that's
...
what it is actually used for. Modify a few routines in linuxPci.c to
take pci_device structures as parameters in stead of PCITAGs.
2006-08-08 16:42:23 -07:00
Daniel Stone
3108981631
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-08-08 12:01:12 +03:00
Tiago Vignatti
ab3ebfefdb
xorgcfg: fix compilation error
...
Add missing parentheses to IS_KBDDRIV macros.
2006-08-08 12:00:34 +03:00
Daniel Stone
12dbd8a02f
remove optional R3 backwards compatibility
...
Remove the permitOldBugs flag, which enabled backwards compatbility with
broken R2/R3 era clients.
2006-08-07 23:43:40 +03:00
Daniel Stone
bedc4ecf23
xephyr: aid input debugging
...
Add the 'ephyr' mouse and keyboard drivers to the driver list so we can
re-add devices.
Set the names properly in Ephyr{Keyboard,Mouse}Init, not in InitInput.
2006-08-07 23:00:45 +03:00
Daniel Stone
baf93b3abe
kdrive: move map initialisation to KdNewPointer
...
Do a linear n -> n initialisation on the map up until KD_MAX_BUTTON in
KdNewPointer, moving it out of both KdParsePointer, and KdPointerProc.
Also remove dead pointer acceleration code.
2006-08-07 21:12:45 +03:00
Daniel Stone
ccb53340b6
ephyr: cleanup
...
Remove extraneous KdAddPointerDriver call.
2006-08-07 21:12:00 +03:00
Daniel Stone
9b7ecbd1dd
kdrive: prevent overrun in map
...
We actually need n + 1 elements for the mouse button map, not n.
2006-08-07 21:09:32 +03:00
Daniel Stone
eb6e8d4042
kdrive: increase maximum number of buttons
...
Increase KD_MAX_BUTTONS to 32.
2006-08-07 21:05:37 +03:00
Daniel Stone
afcad4ad99
xfree86 ddx: always free GKE/GPE events
...
free() events we get passed back from GKE and GPE so we don't just, er,
leak them all. *cough*.
2006-08-07 18:11:05 +03:00
Daniel Stone
98fdf874ee
move all autorepeat logic to DIX
...
Move core autorepeat logic for keyboards down to the DIX, remove it from
KDrive.
2006-08-07 16:51:39 +03:00
Daniel Stone
c85e64cba1
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-08-07 15:54:55 +03:00
David Nusinow
f54b71b772
Document enable/disable flag for AIGLX in xorg.conf manpage.
2006-08-06 18:11:00 +00:00
Daniel Stone
997ba45b19
fix incorrect button test
...
Test for n (1..nButtons) being under nButtons, not button (1..(1<<nButtons)).
2006-08-04 11:18:16 +03:00
Eamon Walsh
9138d5a51e
Make SecurityLookupIDBy* part of the base functionality.
2006-08-03 18:24:04 -04:00
Ian Romanick
83ebf61ec0
Eliminate the last few places outside xf86pciBus.c that use
...
xf86PciVideoInfo. In all cases this means converting the code to use
the pci_device_iterator interfaces.
2006-08-02 13:33:33 -07:00
Ian Romanick
5bfb2ee965
Remove the last remants of the pci{Read,Write}{Long,Word,Byte}
...
functionality. This also allows the removal of PCI_CPU, PCI_CPU16,
and a few other dangling bits of cruft.
2006-08-02 13:29:21 -07:00
Ian Romanick
a0f2e1cae4
Move xf86FindPciDeviceVendor and xf86FindPciClass from xf86pciBus.c to
...
xf86int10.c. Refactor common code from those functions to do_find.
2006-08-02 10:54:41 -07:00
Ian Romanick
de8234606f
Modify xf86FindPciDeviceVendor and xf86FindPciClass to use the
...
pci_interator interface instead of the xf86PciVideoInfo array.
2006-08-02 10:44:11 -07:00
Ian Romanick
23f44df900
Remove pciConfigPtr and all of the associated cruft.
2006-08-02 09:55:32 -07:00
Ian Romanick
966ebd3d2d
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
2006-08-02 08:14:58 -07:00
Matthew Allum
39169fd373
Back out 'mystery' spurious host window hints.
2006-08-01 13:39:22 +01:00
Eamon Walsh
f737cc38ba
Adding devPrivates support to the ExtensionEntry structure.
2006-07-31 19:58:42 -04:00
Ian Romanick
a94176627c
Eliminate all uses of the businfo field of pciDevice / pciConfigPtr.
2006-07-31 14:33:58 -07:00
Ian Romanick
26c9587f90
Build fixes for last pull from HEAD.
2006-07-31 13:54:36 -07:00
Ian Romanick
65dc25d8f8
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
2006-07-31 12:30:30 -07:00
Ian Romanick
3112a6c4f2
Noting uses libdummy.a, so don't build it. Only libdummy-nonserver.a
...
is actually used.
2006-07-31 10:25:31 -07:00
Ian Romanick
69533fc04f
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
...
Conflicts:
hw/xfree86/Makefile.am
hw/xfree86/common/xf86AutoConfig.c
2006-07-31 09:26:04 -07:00
Daniel Stone
24051ef974
remove filename that's too long for tar
2006-07-30 12:15:33 +03:00
Daniel Stone
ecb7d43a76
add sym.h to sources
2006-07-30 11:52:41 +03:00
Daniel Stone
e87e68634d
remove .cvsignores from EXTRA_DIST
2006-07-30 11:11:59 +03:00
Daniel Stone
a68dc013a3
remove README (which doesn't exist) from EXTRA_DIST
2006-07-30 11:08:47 +03:00
Daniel Stone
87fe85f38b
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-07-30 10:51:34 +03:00
Luc Verhaegen
79016d4036
Bug #5386 (partial): Move CVT mode generator from cvt(1) to server core, and
...
export it from the X server to modules.
2006-07-28 16:02:02 -04:00
Aaron Plattner
e6ae1612be
Add fbHasVisualTypes and fbSetVisualTypesAndMasks to wfbrename.h and include -DXFree86Server.
2006-07-27 18:24:59 -07:00
Adam Jackson
2a4ceb09ed
Remove dead function prototypes.
2006-07-26 19:39:17 -04:00
Adam Jackson
990a400905
Remove getconfig horrorshow. Replace with a static built-in rule list for now.
2006-07-26 19:03:39 -04:00
Aaron Plattner
7608a63ff7
Build infrastructure for libwfb.so.
...
Builds fb/* twice, defining FB_ACCESS_WRAPPER for libwfb.la. Define a macro,
FBPREFIX(X) which expands to fbX for libfb.la and wfbX for libwfb.la. Use the
macro on [w]fbModuleData so the new module loads.
2006-07-26 15:48:50 -07:00
Adam Jackson
39158e98ac
Remove another latent PowerMAX hunk.
...
All your favorite running jokes of 2005, today!
2006-07-26 18:39:28 -04:00
Ian Romanick
ef1aecaaf6
Pass correct pointer to xf86MapLegacyIO.
2006-07-26 13:25:13 -07:00
Daniel Stone
3518e2d0de
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-07-26 11:29:21 +03:00
Daniel Stone
eb7733a48a
kdrive: drop excessive NewInputDeviceRequest debugging
2006-07-26 11:28:45 +03:00
Kristian Høgsberg
3821f6aeaa
Unlibc-wrap DMX glxscreens.c and fix tag-removal typo.
2006-07-26 01:56:02 -04:00
Ian Romanick
28ba8d5691
Gut anything having to do with the PciBusPtr (or PciBusRec) type.
...
Bump required version of libpciaccess to 0.5.0 so that
pci_device_get_bridge_buses can be used.
2006-07-25 15:38:09 -07:00
Ian Romanick
380b51d605
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
...
Conflicts:
hw/xfree86/common/xf86Init.c
hw/xfree86/int10/pci.c
hw/xfree86/scanpci/xf86PciData.h
hw/xfree86/scanpci/xf86PciStdIds.h
hw/xfree86/scanpci/xf86PciStr.h
hw/xfree86/scanpci/xf86ScanPci.h
hw/xfree86/utils/pcitweak/pcitweak.c
hw/xfree86/utils/scanpci/scanpci.c
Re-removed most of the conflicting files.
2006-07-25 11:30:04 -07:00
Daniel Stone
4ea475924c
re-add OpenedHand copyright
...
Ae-add OpenedHand copyright, accidentally dropped in KDrive new world
order patch. Sorry guys.
2006-07-25 20:00:48 +03:00
Ian Romanick
82f6b7e75e
Don't re-look-up pointers that are already stored in structures.
2006-07-24 13:52:58 -07:00
Ian Romanick
2fd6b995ff
Global s/xf86MapDomainIO/xf86MapLegacyIO/. Let's call a duck a duck,
...
okay? Since xf86MapLegacyIO is called from only one place, cut the
parameter list down to the one parameter that actually conveys some
information: the one that gives a PCI device. Change from using a
PCITAG to a pci_device.
2006-07-24 13:33:34 -07:00
Ian Romanick
aed6fe0bb1
Refactor linuxGetSizesStruct to take a pci_device pointer instead of a
...
PCITAG. Modify xf86BusAccWindowsFromOS and xf86AccResFromOS to call
linuxGetSizesStruct directly with a pci_device pointer. Remove
linuxGetSizes.
2006-07-24 13:13:05 -07:00
Ian Romanick
e487627992
Modify xf86BusAccWindowsFromOS and xf86AccResFromOS to use the
...
libpciaccess interfaces.
2006-07-24 12:23:23 -07:00
Ian Romanick
4b474cbc1a
The functions xf86PciBusAccWindowsFromOS and xf86BusAccWindowsFromOS
...
are identical. Just have one call the other.
2006-07-24 12:17:27 -07:00
Ian Romanick
7dff8d98a9
Remove source files that have been dead since day-1 of this branch.
2006-07-24 11:56:37 -07:00
Ian Romanick
eb95128f61
Changes that were missed on the previous commit. Perhaps oddness
...
caused by doing git-update-index at the wrong time.
2006-07-24 11:53:37 -07:00
Ian Romanick
05f8b772ae
ScanPciDisplayPCICardInfo now uses pci_device interface for PCI
...
scanning. Log messages simplified to make the code shorter and less
convoluted. ScanPciDisplayPCICardInfo is now void since it was only
called from one place with a constant parameter.
2006-07-24 11:23:03 -07:00
Daniel Stone
ca3f4fc1b0
add fallback ChangeDeviceControl, allow XOpenDevice on closed device
...
Add a fallback ChangeDeviceControl, which allows the attributes we know about
so far.
Allow XOpenDevice on closed devices.
2006-07-23 19:02:12 -04:00
Daniel Stone
a73cef1f00
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-07-22 12:07:22 -04:00
Adam Jackson
70869fc677
Yet more dead code.
2006-07-21 23:39:37 -04:00
Adam Jackson
7c1b2ee7a8
static markup, more dead code.
2006-07-21 23:35:13 -04:00
Adam Jackson
1c4f90b1d0
Open-coded path checks make baby Jesus cry.
2006-07-21 23:03:21 -04:00
Adam Jackson
114264584c
Remove a useless open() of the module we're about to load.
2006-07-21 22:55:41 -04:00
Ian Romanick
525257eb98
Fix stupid typos.
2006-07-21 19:16:38 -07:00
Daniel Stone
672ca156bf
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-07-21 19:58:42 -04:00
Daniel Stone
6cf844ab69
loader: walk directory paths with readdir(), don't stat() everything
...
Walk the directories with readdir, and don't stat everything we can
find. Thanks to davej for the public humiliation reminding me to go back
and re-fix this one.
2006-07-21 19:58:15 -04:00
Daniel Stone
d14d91f094
loader: walk directory paths with readdir(), don't stat() everything
...
Walk the directories with readdir, and don't stat everything we can
find. Thanks to davej for the public humiliation reminding me to go back
and re-fix this one.
2006-07-21 19:57:28 -04:00
Ian Romanick
e18d34f423
Make the various implementations of xf86ExtendedInitInt10 use the
...
libpciaccess interfaces. This eliminates all calls to mapPciRom,
which in turn allows the elimination of hw/xfree86/int10/pci.c.
2006-07-21 16:47:45 -07:00
Daniel Stone
b73fb2ae35
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-07-21 19:30:26 -04:00
Daniel Stone
e7ac27ad81
revert accidental deletion of lnx_io.c; re-delete lnx_kbd.c
...
Thinko'd which file to remove after merging from master.
2006-07-21 19:29:28 -04:00
Daniel Stone
81913a1291
remove undead files from master
...
Remove dead files which worked their way back in when merging from master.
Ugh.
2006-07-21 19:10:26 -04:00
Daniel Stone
7465010d59
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-07-21 19:05:41 -04:00
Daniel Stone
1d31ed7782
xephyr: load keysyms at init, not enable
...
Load keysyms at init time, not enable, so we don't get the wrong map width.
2006-07-21 19:02:52 -04:00
Adam Jackson
63dfaa1d5b
Delete internal usage of the symbol ref/req lists.
2006-07-21 18:47:18 -04:00
Adam Jackson
bca9364f3f
Remove the loader's required and referenced symbol lists, dead code.
2006-07-21 18:41:46 -04:00
Ian Romanick
07ad92d2c4
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
...
Conflicts:
hw/xfree86/common/xf86DoScanPci.c
hw/xfree86/common/xf86Init.c
hw/xfree86/common/xf86pciBus.c
2006-07-21 15:25:35 -07:00
Adam Jackson
aff404f293
Detach xf4bpp from cfb.
2006-07-21 18:24:37 -04:00
Adam Jackson
0aaac95b0d
Remove RCS tags. Fix Xprint makefile braindamage.
2006-07-21 17:56:00 -04:00
Aaron Plattner
eeaad0e956
Fix the RandR failure path for rotated screens.
2006-07-21 15:20:40 -07:00
Ian Romanick
22db3fdb54
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
2006-07-21 13:55:37 -07:00
Kristian Høgsberg
3eeb62e8f5
bug #890 : completely remove deprecated keyboard driver
...
Remove all remnants of the old built-in keyboard driver.
2006-07-21 16:33:28 -04:00
Daniel Stone
60ea7b51fe
xorg ddx: move to new input API, remove old keyboard driver
...
Remove most of the rest of the old keyboard driver.
Move to the new Get{Keyboard,Pointer}Events API, which is mostly
complete at this stage: just missing the proximity events.
2006-07-21 15:23:37 -04:00
Daniel Stone
7711c56d2e
xephyr: fix keymap, pointer; dix: fix multiple axes
...
Initialise our axes properly in the DIX, and make sure we don't
unnecessarily clip maxval when it's not set.
Fix keymap copying in Xephyr (to some degree: it's still broken),
and set nAxes and nButtons properly.
2006-07-21 15:19:54 -04:00
Daniel Stone
f18c3122a5
sanitise debug output
...
Don't spit out huge chunks of pointless ephemera, especially without
--enable-debug.
2006-07-21 15:19:54 -04:00
Daniel Stone
463e0fe35b
update KDrive to new input API
...
Update KDrive to fit the new API (mieqInit and InitPointerDeviceStruct), and
include InitTouchscreenDeviceStruct in the DIX.
2006-07-21 15:19:54 -04:00
Daniel Stone
02d0910511
new KDrive input world order
...
Convert KDrive to GPE/GKE interface.
Add first-class drivers and enumerate every device separately through
Xi, instead of lamely attempting to aggregate them.
Add XKB support to the Linux keyboard driver.
Add 'thumb button' support to the tslib driver.
Rejig InitInput, so each DDX has to add a list of drivers it supports.
Support NewInputDeviceRequest, et al.
2006-07-21 15:19:51 -04:00
Daniel Stone
c9a3d9baa8
xorg DDX: implement NewInputDeviceRequest
...
Implement NewInputDeviceRequest for Xorg, mainly written by Kristian Høgsberg.
Move MatchInput to xf86Helper.c, as xf86LookupInputDriver.
2006-07-21 15:19:50 -04:00
Daniel Stone
27df2eda79
fix KdXvCopyPackedData to actually work
...
Remove extraneous bit shift in KdXvCopyPackedData, so it's actually
useful.
2006-07-21 15:17:35 -04:00
Ian Romanick
2f98841fde
Remove unused variable.
2006-07-20 16:08:27 -07:00
Adam Jackson
985c34bf06
Remove the DDXTIME conditional, for being unused.
2006-07-20 17:33:13 -04:00
Ian Romanick
c69c00d652
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
2006-07-20 12:08:38 -07:00
Daniel Stone
84683f19b4
get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULE
...
Get rid of almost all uses of these definitions. They're still defined for
delinquent out-of-tree drivers, and also for the Mesa build. As well as
for miinitext.c. But largely gone.
2006-07-18 18:17:38 -04:00
Adam Jackson
881953813c
Fix the Linux ACPI reopen code to use a repeating timer, rather than a
...
one-shot sleep-and-reopen attempt.
2006-07-17 13:50:38 -04:00
Kristian Høgsberg
f029e9a32d
Un-glx-libcwrap DMX GLX proxy so it works without GL/include.
2006-07-15 22:06:35 -04:00
Ian Romanick
46369350d4
Add some const qualifiers to serveral function parameters.
2006-07-14 15:51:55 -07:00
Ian Romanick
490fb30459
Rearrange code in xf86int10ParseBiosLocation to use strncasecmp. This
...
eliminates the need for the first use of xstrdup in this function.
The second use of xstrdup was *never* necessary and has also been
eliminated.
2006-07-14 15:26:56 -07:00
Ian Romanick
d3ee49bcba
Refactor common code from the generic.c and linux.c version of
...
xf86ExtendedInitInt10 to xf86int10GetBiosLocationType and
xf86int10GetBiosSegment.
These changes were tested on MGA hardware on x86-64 with various
combinations of InitPrimary and BiosLocation.
2006-07-14 15:13:35 -07:00
Ian Romanick
8793c7fd4b
Refactor identical xf86InitInt10 function from generic.c and linux.c
...
to helper_exec.c.
2006-07-14 09:11:39 -07:00
Ian Romanick
1450fd5964
Trivial refactor of libint10_la_SOURCES.
2006-07-14 09:10:32 -07:00
Ian Romanick
18624a9b7c
Modify linuxGetSizesStruct to use pci_device instead of pciConfigPtr.
2006-07-13 21:10:48 -07:00
Ian Romanick
12595a77d6
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
2006-07-13 12:48:03 -07:00
James Steven Supancic III
4c225a3a8b
Bug #7482 : Fix Xdmx's Render code to match reality; fixes BadLength client
...
crashes.
2006-07-13 10:03:57 -04:00
Matthieu Herrb
2194d99d9c
Replace GNU make-ism.
2006-07-09 16:16:08 +02:00
Matthew Allum
90a9b82272
Fix crash in Xephyr when running on host X with keymap width < 4 ( i.e xvnc )
2006-07-08 21:57:07 +01:00
Matthew Allum
21e3e3ca29
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
2006-07-08 21:13:52 +01:00
Matthew Allum
e805621894
Add support to Xephyr for simulating 8bit grayscale.
2006-07-08 21:10:58 +01:00
Tilman Sauerbeck
39b2f7b218
Bug #3042 : Use autoconf to get the correct name of a struct member.
...
This allows us to remove the kernel version ifdefs from the code, which
are ugly and broken.
2006-07-08 19:55:53 +02:00
Tilman Sauerbeck
63f13e01ee
Bug #7097 : do case-insensitive comparison for some hotkeys.
...
xkb's strcasecmp implementation has been moved to the dix so it's now
safe to just use strcasecmp().
2006-07-08 11:33:44 +02:00
Ed Catmur
2152e2d364
Remove hardcoded 'lib' in XPRINTDIR.
2006-07-06 17:45:36 -07:00
Ed Catmur
233c004641
Generate xprint.pre from xprint.cpp.
2006-07-06 17:41:53 -07:00
Adam Jackson
b3e4d1d1f4
PPC64 build fix.
2006-07-06 18:51:29 -04:00
Adam Jackson
d7a96dd6f1
Switch the default mouse device on Linux to /dev/input/mice.
2006-07-06 17:39:14 -04:00
Ian Romanick
37838de62e
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
...
Conflicts:
hw/xfree86/os-support/bus/linuxPci.c
2006-07-06 13:01:57 -07:00
Ian Romanick
8d07ee070e
Refactor linuxGetIOSize and linuxGetSizes. Eliminate the unnecessary
...
optimization in the search loop.
2006-07-06 12:48:51 -07:00
Adam Jackson
704e645207
Remind dlloader that it needs to search the global scope as well as the
...
loaded modules. Fixes LoaderSymbol() on symbols provided by the server.
Spotted by Aaron Plattner.
2006-07-06 14:22:33 -04:00
Ian Romanick
e66e7b48e1
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
2006-07-05 15:21:36 -07:00
Greg Kroah-Hartman
863f5cc31b
fix compiler warning in hw/xfree86/common/xf86Config.c
2006-07-05 13:26:34 -07:00
Greg Kroah-Hartman
f059b61ab3
fix compiler warning about xnestRecolorCursor() not being defined
2006-07-05 11:47:25 -07:00
Greg Kroah-Hartman
cc3e99f747
fix some more compiler warnings due to defines being declared differently
2006-07-05 10:13:19 -07:00
Greg Kroah-Hartman
59836c0f2a
fix wrong function pointer type in hw/dmx/dmxcmap.c
2006-07-05 09:30:48 -07:00
Eric Anholt
002e28c12c
Correct AGP memory deallocation argument on *BSD.
...
This fixes leaks and eventual crashes with RandR resizing on Intel.
2006-07-03 12:48:12 -07:00
Eric Anholt
7106a77df3
Fix bugs in support for new repeatTypes in XAA and EXA.
...
EXA now won't pass pictures with new repeatTypes to drivers. We can add a flag
for them to support it at a later time.
2006-07-03 16:41:44 +02:00
Rudo Thomas
50a3e1ad18
Missing close parenthesis in one of the setuid() fixes.
2006-07-01 12:34:36 -07:00
Keith Packard
124a81eb38
Merge branch 'origin'
2006-07-01 11:12:50 -07:00
Paul Mackerras
d3d6c5f4d0
Bug #7381 : Coordinates get wrapped in accelerated line drawing on pixmap
...
XAAPolylinesWideSolid was adding the drawable origin onto each element in the
pPts array. Since the values got stored back into the pPts array, they got
truncated to 16 bits, causing the overflow I saw. This patch avoids storing
the coords back into the pPts array (and actually reduces the size of the
code too :). Now the 32-bit sum of coords + origin doesn't get truncated to
16 bits, and the problem is solved.
2006-07-01 11:10:18 -07:00
Jens Granseuer
179737d4a0
Bug 7145: fix build with gcc 2.95 & other c89 compilers
...
Move variable declarations to start of blocks as required by c89
2006-06-30 15:56:40 -07:00
Ian Romanick
a9d4842893
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
2006-06-30 11:49:29 -07:00
Martin Bochnig
6bd4c25439
Updated Solaris aperture driver to build on sun4v & amd64 kernels
...
Updated for Solaris 10 changes to DDI
2006-06-29 16:25:36 -07:00
Ian Romanick
7c4e540253
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
2006-06-26 14:39:44 -07:00
Michel Dänzer
36756fdb2d
Make sure <execinfo.h> is actually included when needed.
...
configure only defines HAVE_BACKTRACE, not HAVE_EXECINFO_H.
This could cause problems on platforms where the size of a pointer is greater
than that of an integer, see
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=363218 .
2006-06-24 15:09:24 +02:00
Michel Dänzer
4426215a6e
Bug #7213 : Fix the XFree86-DRI extension for byte-swapped clients.
...
These clients are by definition non-local and thus not direct rendering
capable, but they still need the QueryVersion and QueryDirectRenderingCapable
requests to find out cleanly.
2006-06-24 15:02:56 +02:00
Eric Anholt
bc6cfde198
Use correct OSNAME setting so we can find os-specific modules like libdrm.
2006-06-23 20:07:34 -07:00
Eric Anholt
2cf1f39ca9
Add a manpage for EXA.
2006-06-23 13:56:20 -07:00
Ian Romanick
9d0a15dca5
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
...
Conflicts:
hw/xfree86/loader/xf86sym.c
2006-06-22 16:21:10 -07:00
Alan Coopersmith
c0cb8d1fb8
Use XACE, not XCSECURITY to decide if SecurityLookup* are exported
2006-06-21 18:12:41 -07:00
Alan Coopersmith
3177dc498a
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
2006-06-21 18:06:06 -07:00
Adam Jackson
d8135eb9e4
Unbreak unbreaking the loader. Re-add the symbol reference lists so that the
...
linker will include everything it's supposed to. This is a terrible solution,
but ld semantics don't let you do anything better.
2006-06-21 20:49:21 -04:00
Alan Coopersmith
90af38fa0c
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
...
Conflicts:
Xext/appgroup.c
2006-06-21 16:23:31 -07:00
Ian Romanick
aa131c51e0
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
2006-06-21 14:39:52 -07:00
Ian Romanick
1708b0c7d9
Eliminate "ugly" spaces around parenthesis. Add const qualifier.
...
General code clean-ups.
2006-06-21 14:39:39 -07:00
Ian Romanick
a3c26d01a1
Move declaration of "j" inside #ifdef block where it is used to
...
eliminate compiler warning.
2006-06-21 14:38:07 -07:00
Greg Kroah-Hartman
77aa701e89
add some function prototypes to hw/xprint/DiPrint.h as they are exported
2006-06-21 14:16:48 -07:00
Matthias Hopf
ea5e0eabd1
Bug 4320: Fastpath corner case improvement for Composite.
2006-06-21 17:08:55 +02:00
Alan Coopersmith
a46c06dab8
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
...
Conflicts:
Xext/appgroup.c
Xext/security.c
dix/devices.c
dix/dispatch.c
dix/dixutils.c
dix/events.c
dix/extension.c
dix/property.c
dix/window.c
os/access.c
2006-06-20 18:40:18 -07:00
Alan Coopersmith
d44b2a0a57
Move Xserver API for security extension to securitysrv.h
2006-06-20 18:22:51 -07:00
Ian Romanick
75398cff82
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
...
Conflicts:
hw/xfree86/loader/Makefile.am
hw/xfree86/loader/xf86sym.c
2006-06-20 15:49:47 -07:00
Alan Coopersmith
88ede2cec7
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
2006-06-20 15:29:55 -07:00
Ian Romanick
1f91b5726c
Fix a compiler warning about varibles being used without being set.
...
Add some const qualifiers.
Remove some "ugly" space around parenthesis.
2006-06-20 15:03:13 -07:00
Matthieu Herrb
2b58685402
Check setuid() return value. Bugzilla #7116 .
2006-06-20 21:07:53 +02:00
Alan Coopersmith
0707eb33d6
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
2006-06-19 17:09:51 -07:00
Eamon Walsh
8d9ccc90a5
Add XACE extension
...
(partially cherry picked from 8d4f21ab53
commit)
2006-06-19 16:35:03 -07:00
Greg Kroah-Hartman
d97a21acb8
fix compiler warnings in hw/xfree86/i2c/fi1236.c
2006-06-19 14:36:54 -07:00
Greg Kroah-Hartman
29c78321e8
fix compiler warning in hw/xfree86/i2c/tda9850.c
2006-06-19 14:36:41 -07:00
Greg Kroah-Hartman
9f2793551f
fix compiler warning in hw/vfb/InitOutput.c
2006-06-19 11:50:47 -07:00
Greg Kroah-Hartman
b20ae5ddb7
fix compiler warnings in hw/xfree86/xf4bpp/ppcGC.c
2006-06-19 11:38:52 -07:00
Adam Jackson
a28652f9c3
Another round of loader sense-beating. Remove the (unused) server export
...
lists, a really bad hash table, the last vestiges of the other backends,
and some miscellaneous cleanups. Good for dropping 300k from the size of
the built server on x86.
2006-06-19 00:57:18 -04:00
Adam Jackson
98a602fab1
Don't bother building RAC as a module, that's just absurd.
2006-06-18 23:54:04 -04:00
Eric Anholt
76aaf7eae7
Add a couple of (doxygen) comments I wrote while looking at modesetting.
2006-06-18 19:47:51 -07:00
Eric Anholt
6aaf0e5b58
Add options to disable EXA acceleration for Composite/UTS/DFS, and always print
...
out how much memory EXA is managing for offscreen pixmaps.
2006-06-18 19:47:51 -07:00
Eric Anholt
21ef7e17ef
Add some missing .gitignore stuff for Mesa symlinks and other generated files.
2006-06-18 19:47:51 -07:00
Adam Jackson
71fbda8049
Xprint/ -> hw/xprint
...
XpConfig -> hw/xprint/config
2006-06-18 21:07:28 -04:00
Eric Anholt
868e2cab70
Add explicit dependencies (Xorg_DEPENDENCIES = ) on the internal libraries
...
(such as libcw.la) that we link into the server, causing it to be rebuild
automatically when they're updated. Some system libraries are included, but
don't appear to cause any harm. You would think this would be automatic...
2006-06-16 10:17:51 -07:00
Ian Romanick
4e3c9ab8c9
Remove some static declarations for things that were removed in
...
previous commits.
2006-06-09 16:56:54 -07:00
Ian Romanick
8b6596b1e1
Move probe_devices_from_device_sections,
...
add_matching_devices_to_configure_list, and check_for_matching_devices
from xf86Helper.c to xf86Init.c. These functions are only called from
a single place in xf86Init.c, so it makes sense for them to live
there. They were originally in xf86Helper.c because they evolved out
another function that was already in that file.
2006-06-09 16:08:06 -07:00
Ian Romanick
7810d87cd6
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
2006-06-09 15:16:50 -07:00
Greg Kroah-Hartman
9f31ef83be
fix compiler warning in hw/xfree86/loader/loaderProcs.h
2006-06-09 10:44:46 -07:00
Greg Kroah-Hartman
490ffc205a
fix compiler warning in hw/xfree86/loader/loadmod.c
2006-06-09 10:44:25 -07:00
Greg Kroah-Hartman
6119845d1f
fix compiler warnings in hw/xnest/Keyboard.c
2006-06-09 10:14:08 -07:00
Greg Kroah-Hartman
96c19a3ec1
put function prototype for ShapeExtensionInit() in proper place
...
based on FIXME in mi/miinitext.c
2006-06-09 09:51:28 -07:00
Ian Romanick
dcfaa9f4f8
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
2006-06-08 15:03:00 -07:00
Adam Jackson
576e6fb112
Bug #7120 : Multimonitor (non-Xinerama) support for xwin servers.
...
(Tom Whittock)
2006-06-08 17:49:02 -04:00
Adam Jackson
d42cf4a2a4
Bug #7121 : fix clipboard handling in Xming (Colin Harrison)
2006-06-08 17:46:53 -04:00
Ian Romanick
caffac3843
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
2006-06-08 10:38:43 -07:00
Greg Kroah-Hartman
9fa73721f0
fix up EnableDisableExtension() and EnableDisableExtensionError() prototypes
2006-06-08 10:27:28 -07:00
Ian Romanick
c5b3aa120b
Added a comment about some suspicious code.
2006-06-07 17:46:23 -07:00
Ian Romanick
50112dfcc8
Fixed severly broken calls to pci_device_find_by_slot. I mis-read the
...
tag bits when I originally coded it. I mistakenly thought that the
original code masked off the PCI function bits, so I just always
passed 0 as the function. That was a mistake.
2006-06-07 17:46:05 -07:00
Ian Romanick
f9e7128d94
Added missing include of Pci.h. This caused the server to terminate
...
when the symbol PCI_DOM_FROM_TAG couldn't be resolved at run-time.
2006-06-07 17:44:06 -07:00
Greg Kroah-Hartman
78f4ab6b89
Fix compiler warning about undefined ReinitializeRootWindow function
2006-06-07 14:12:40 -07:00
Ian Romanick
bc05158a5a
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
2006-06-07 14:09:12 -07:00
Ian Romanick
46f55f5dea
Initial batch of changes for PCI rework. All future changes will be
...
tracked individually.
2006-06-07 14:09:02 -07:00
Greg Kroah-Hartman
cc465800dd
Fix compiler warnings about SetVendorRelease and SetVendorString
2006-06-07 14:03:35 -07:00
Adam Jackson
21ebcfd702
Demolish now-unused loader functions.
2006-06-07 14:17:31 -04:00
Adam Jackson
f90761b06e
Add a token for EDID-supplied modes.
2006-06-07 13:58:24 -04:00
Adam Jackson
d00aa6b855
Delete a (now misleading) message from the crash handler.
2006-06-07 11:44:36 -04:00
Daniel Stone
8444bb77c9
When we can, bound the maximum number of PCI devices to attempt to scan, by
...
the number found on the system. Only implemented for Linux right now.
2006-06-05 20:22:06 +00:00
Adam Jackson
52fc7c8dc7
Ensure all *ModuleData symbols are marked _X_EXPORT. Start removing
...
XFree86LOADER ifdefs, non-loadable hasn't been supported for a while
now. Remove completely gratuitious REMOVE_LOADER_CHECK_MODULE_INFO
ifdefs surrounding a call to a function added in XFree86 4.1 (!).
Miscellaneous static markings.
2006-06-05 03:00:24 +00:00
Adam Jackson
d22582dc5a
Remove a stray LBX reference.
2006-06-04 16:13:26 +00:00
Daniel Stone
4fd668940f
Bug #6619 : Fix disappearing hardware cursor. (Colin Harrison)
2006-06-03 10:58:37 +00:00
Daniel Stone
cd384af305
Completely remove relocation pointer table.
2006-06-03 10:50:23 +00:00
Daniel Stone
8e8c6faecd
Add support for kFreeBSD systems. (Robert Millan, Aurelien Jarno)
2006-06-03 10:48:37 +00:00
Daniel Stone
5b703f847d
Fix type confusion.
2006-06-02 12:05:32 +00:00
Daniel Stone
56f21bda1c
Bug #6583 : Only open /proc/bus/pci/devices once. (Bill Nottingham)
2006-06-01 22:30:52 +00:00
Daniel Stone
97203f1cf6
Clean up a warning, and remove excess multiple-suffix code.
2006-06-01 20:41:21 +00:00
Daniel Stone
6d594ebc66
Ditch more alternate-loader braindamage.
2006-06-01 20:22:39 +00:00
Daniel Stone
c946817748
Kill a.out, COFF and ELF loaders with FIRE.
2006-06-01 20:18:30 +00:00
Adam Jackson
a3a4221495
Add bitmap to the ignored module list.
2006-06-01 19:53:06 +00:00
Daniel Stone
ee689c1042
Ignore requests to load GLcore and speedo.
2006-06-01 19:49:55 +00:00
Adam Jackson
07c731a2bc
Bug #5089 : Die, libbitmap, die!
2006-06-01 19:37:53 +00:00
Daniel Stone
32be08ba72
Remove horrendously ugly DDX backward-compatibility.
2006-06-01 19:22:38 +00:00
Daniel Stone
a73e0f8cdf
Die XTESTEXT1, die!
2006-06-01 18:47:47 +00:00
Matthieu Herrb
fc5ca97284
Powerpc machines also need ioperm_noop.c
2006-05-30 22:56:36 +00:00
Adam Jackson
07b168c8d8
Properly document the DPMS, SyncOnGreen, and TargetRefresh options.
2006-05-30 16:10:59 +00:00
Daniel Stone
fd8bde8bb0
Remove -xkbmap argument.
2006-05-29 11:14:03 +00:00
Matthieu Herrb
c38aab293a
check buffersize before reading next char, fixes the "mouse stuck at left"
...
bug (bugzilla #3113 ) for BSD systems using wscons. (Dale Rahn).
2006-05-27 23:15:05 +00:00
Jeremy C. Reed
2102fdd0a5
RGB color database and XErrorDB install to "share" not "lib" by default (by
...
app/rgb and libX11).
TODO: They are customizable, so maybe cpprules.in should be extended.
2006-05-26 00:12:18 +00:00
Jeremy C. Reed
354086d7e8
Don't do fixup_video_driver_list if no drivers. (I had signal 11 and core
...
dump when drivers not installed yet.)
TODO: fix fixup_video_driver_list to handle NULL argument.
2006-05-25 23:32:33 +00:00
Jeremy C. Reed
6930794423
NetBSD also has curses.h instead of ncurses.h. (TODO: Maybe instead of
...
checking for SCO, UnixWare, Sun SVR4 and NetBSD, the curses.h versus
ncurses.h should be tested in configure.)
2006-05-24 22:58:03 +00:00
Alan Coopersmith
cc3b882bd1
Update to 2006-05-19 snapshot
...
Remove entries now present in pci.ids
Regenerate from updated pci.ids & extrapci.ids
2006-05-20 00:55:44 +00:00
Adam Jackson
deebf6bd51
Bug #4139 : Fix a BAR remapping bug that could lead to IERR and system hang.
...
(Egbert Eich)
2006-05-18 23:52:51 +00:00
Adam Jackson
c11cfcfaff
Bug #6377 : Ignore disabled BARs, and allow matching BARs aligned to less
...
than 16 bytes. (Felix Kühling, ATI)
2006-05-18 23:48:57 +00:00
Adam Jackson
fa9a49a92d
Bug #5877 : Avoid burning CPU when acpid dies. Require acpid to be running
...
for ACPI support on Linux. Minor errno handling fixes. (Valery
Inozemtsev, Adam Jackson)
2006-05-18 18:18:41 +00:00
Daniel Stone
2892dd6d2e
Make Xv symbols conditional. (Enrico Wiegelt)
2006-05-17 16:20:03 +00:00
Daniel Stone
a317bf4822
Make DBE support conditional. (Enrico Wiegelt)
2006-05-17 15:00:18 +00:00
Adam Jackson
321dbed5f5
Bug #5209 : Fix APM/ACPI support, again. (Michel Dänzer, Valery Inozemtsev)
2006-05-15 18:27:18 +00:00
Matthias Hopf
9db5d2dfc3
Bug #4320 : Improved XAA Composite fastpath.
2006-05-11 10:18:08 +00:00
Adam Jackson
86ffb46358
Bug #5209 : Re-enable building APM and ACPI support. (Michel Dänzer)
2006-05-09 18:04:29 +00:00
Alan Coopersmith
b46d6a44fa
Make Xephyr build on Solaris:
...
Add #include <sys/file.h> on Solaris for FNONBLOCK/FASYNC definitions
hw/kdriver/linux/Makefile.am Move agp.c & agp.h to KDRIVE_HW_SOURCES since
they're not needed for Xephyr-only builds
Add -lrt to XEPHYR_LIBS if needed to get nanosleep().
2006-05-03 23:45:16 +00:00
Adam Jackson
fc91ca069d
Redact a few mentions of speedo font support.
2006-05-03 17:50:10 +00:00
Adam Jackson
291e89d4f2
Remove NEED_LINEHELPER BC cruft for pre-R6 DDXes.
2006-04-30 19:16:14 +00:00
Eric Anholt
3d4ca57b69
Add a helper for the Component Alpha Over case, which breaks the operation
...
down into an OutReverse and an Add. Turn off the fallback to software
glyphs when component alpha, now that we expect all (new) drivers to be
able to support it. Also, make Xephyr fall back in the CA Over case to
exercise this code. This speeds up my rgb24text and ls -lR in
gnome-terminal by a factor of 5.
2006-04-26 18:27:40 +00:00
Dave Airlie
26fa45b642
Bug #6751 : Use the Linux PCI ROM interface on Linux properly. The old
...
domain code, still modified BARs not a good idea, Just talk to sysfs,
if 0 read, fallback to old methods.
2006-04-26 11:40:58 +00:00
Dave Airlie
c339b221d3
Bug #6750 : This patch detects Intel bridges that are transparent but aren't
...
reported as such. From the Linux kernel fixups. This patch also removes
the reserved BIOS area from the area to allocate resources in.
2006-04-26 11:31:07 +00:00
Eric Anholt
074dc9a023
Add an option to verify at the point of migration that pixmaps which aren't
...
marked dirty are in fact not dirty. This will hopefully help catch
issues like the previous commit. Leave it on in fakexa.
2006-04-25 16:47:23 +00:00
Donnie Berkholz
81f3c2937d
strlcpy() doesn't exist on Linux, so use the implementation in os/.
2006-04-24 05:39:47 +00:00
Matthieu Herrb
a715634d23
Don't access free memory after unloading a module. Bugzilla #4168 .
2006-04-23 13:14:50 +00:00
Benjamin Herrenschmidt
79dc689261
When reading the kernel keyboard mapping (readKernelMapping in
...
os-support/linux/lnx_KbdMap.c) we overrun the usefully-named global
array 'map', scribbling on other random static variables elsewhere.
This is fixed by changing the size of at2lnx. (David Woodhouse). Bug
#5169
2006-04-22 03:22:17 +00:00
Eric Anholt
c947d796aa
Missed in previous commit: Add a new migration scheme, called "Smart" for
...
lack of a better name. This one behaves somewhat between Greedy and
Always. It moves in if we can accelerate, unless the destination is
clean and shouldn't be kept in framebuffer according to the score, in
which case we migrate out (and force-migrate anything where migration
is free). This should help fix lack of acceleration for drivers without
UTS since removing exaAsyncPixmapGCOps, and has removed one performance
trap with Radeon I'd noticed. It is the new default.
2006-04-18 19:18:43 +00:00
Donnie Berkholz
782d61a031
Update all prefixes in config tools, so they mostly work again. Also, make
...
RgbPath commented out when using xorgconfig. Start using
/dev/input/mice as the default mouse location on Linux.
2006-04-18 17:28:44 +00:00
Donnie Berkholz
ba632f697a
Fix kdrive build by linking in libexa before KDRIVE_LIBS.
2006-04-17 07:10:31 +00:00
Adam Jackson
0e62d92d5b
Coverity #804 : Another leak on OOM path.
2006-04-14 23:43:32 +00:00
Adam Jackson
1b04e31392
Coverity #847 , #848 , #849 : Three more memory leaks.
2006-04-14 23:32:22 +00:00
Adam Jackson
6545051902
Coverity #1003 , #1004 : Two more useless null checks.
2006-04-14 23:10:59 +00:00
Adam Jackson
ab1d420022
Coverity #1005 : Avoid a null deref.
2006-04-14 23:09:38 +00:00
Adam Jackson
d01e0956a8
Coverity #1007 : Fix a silly null check.
2006-04-14 23:08:10 +00:00
Luc Verhaegen
6d29f65931
CVT means Coordinated Video Timing instead of Common.
2006-04-14 23:01:35 +00:00
Adam Jackson
82b6ea1a4b
Bug #6580 : Don't install xf86drm.h, that's libdrm's job.
2006-04-14 22:51:19 +00:00
Aaron Plattner
2387bfa5ff
Bump the ABI versions. Due to Glyph privates and the XV update below, the
...
video driver ABI needs to be bumped to 1.0. The rest of the ABI minor
versions were bumped to include the LoaderGetABIVersion function.
Add a DrawblePtr argument to the XV hooks. This allows drivers to determine
that the target window is redirected and draw to the appropriate place.
2006-04-07 18:56:04 +00:00
Adam Jackson
94e7213d59
Remove libc wrapper types from Xisb interfaces.
2006-04-07 16:08:50 +00:00
Daniel Stone
843146cfba
Coverity #1216 : Fix double-close of file on error.
2006-04-07 15:53:21 +00:00
Adam Jackson
75a9afdbf4
Coverity #488 : Avoid smashing an array on malformed config files.
2006-04-07 01:53:43 +00:00
Adam Jackson
20c1ef2cc3
Coverity #769 : Fix a potential memory leak for systems that allocate on
...
malloc(0)
2006-04-07 01:50:07 +00:00
Adam Jackson
5ef711032b
Coverity #838 : Plug two more memory leaks.
2006-04-07 01:41:00 +00:00
Adam Jackson
69477ea4b6
Coverity #837 : Fix another another memory leak.
2006-04-07 01:37:11 +00:00
Adam Jackson
b472ce7307
Coverity #836 : Fix another memory leak.
2006-04-07 01:35:43 +00:00
Adam Jackson
9c84ed5f8d
Coverity #835 : Plug memory leak in extension section parsing.
2006-04-07 01:34:29 +00:00
Adam Jackson
12924d0da3
Coverity #812 : Fix parser memory leak.
2006-04-07 01:29:39 +00:00
Adam Jackson
49abff7995
Coverity #818 : Avoid memory leak on error path.
2006-04-07 01:26:33 +00:00
Adam Jackson
536628bb4b
Coverity #1037 : Sanity check idx before use.
2006-04-07 01:18:01 +00:00
Adam Jackson
4ae1263669
Remove cfb16, no longer used.
2006-04-06 18:59:11 +00:00
Adam Jackson
4697da177d
Initial checkin
2006-04-04 18:30:28 +00:00
Adam Jackson
83ea57bcc8
Bug #5729 : Convert xf8_16bpp to fb. chips(4) users please test.
2006-04-04 14:39:06 +00:00
Adam Jackson
4c7da86118
Bug #5300 : Fix missing spaces in the Build OS line in the log. (Egmont
...
Koblinger)
2006-04-04 14:17:04 +00:00
Adam Jackson
fb6f61b50f
Bug #4806 : Dump the raw EDID contents in hex to the log file for better
...
debugging. (Philip Prindeville)
2006-04-04 12:36:16 +00:00
Adam Jackson
14af50371c
Bug #2142 : Make font path logging more readable. (Eduard Fuchs)
2006-04-03 22:00:06 +00:00
Alan Hourihane
2a6c11aa3b
Fix a server crash due to memsetting beyond allocated memory when running
...
GL applications.
2006-04-03 09:12:28 +00:00
Adam Jackson
f6ca2b3ea9
Coverity #38 : Dead branch elimination.
2006-04-03 02:15:55 +00:00
Adam Jackson
7ef95da8a3
Coverity #616 : Fix a rare memory leak.
2006-04-03 01:51:54 +00:00
Adam Jackson
a01f17d6de
Coverity #983 : Move some risky debugging code inside #ifdef DEBUG.
2006-04-03 01:35:05 +00:00
Adam Jackson
b2097b99a2
../stub
2006-04-02 21:45:03 +00:00
Adam Jackson
323fec2029
Reorder link order for Xdmx to fix new screensaver variable reference
...
properly; remove previous awful hack.
2006-04-02 00:46:20 +00:00
Eric Anholt
ccca76b808
Clean up warnings and a debug printf.
2006-04-01 23:41:23 +00:00
Adam Jackson
277f612d4e
Hack around the new screensaver variable for DMX, which is otherwise
...
blissfully ignorant of it.
2006-04-01 23:19:08 +00:00
Eric Anholt
2e38fedd29
Add an option to EXA for the DDX to request that EXA hide the pixmap's
...
devPrivate.ptr when pointing at offscreen memory, outside of
exaPrepare/FinishAccess(). This was used with fakexa to find (by NULL
dereference) many instances of un-Prepared CPU access to the
framebuffer:
- GC tiles used in several ops when fillStyle == FillTiled were never
Prepared.
- Migration could lead to un-Prepared access to mask data in render's
Trapezoids and Triangles
- PutImage's UploadToScreen failure fallback failed to Prepare.
2006-03-31 19:41:28 +00:00
Eric Anholt
5c04610f8a
Add a dependency on EXA, so it rebuilds when the library does. The manual
...
indicated I shouldn't do this, but experience indicates I should.
2006-03-30 21:21:59 +00:00
Eric Anholt
3cf46cc1e3
Add an UploadToScreen implementation, for testing PutImage support, and
...
make the DownloadFromScreen more robust.
2006-03-30 05:15:58 +00:00
Eric Anholt
4bb5ab0b44
Add a DownloadFromScreen implementation, used for testing GetImage
...
acceleration, and set the migration scheme to Always on init (since
this is all for testing, and Always should make migration happen more
frequently than Greedy).
2006-03-29 22:03:18 +00:00
Adam Jackson
ff6f88348c
More warning cleanup.
2006-03-29 01:05:09 +00:00
Aaron Plattner
bd283c2464
Add a new export, LoaderGetABIVersion. This function allows modules to
...
query the versions directly instead of having to guess. Bug #6416 : Add
LoaderGetABIVersion.
2006-03-28 07:21:50 +00:00
Daniel Stone
5be8a66d32
Fix remnants of previous busted _XkbStrCaseCmp commit.
2006-03-27 22:28:32 +00:00
Daniel Stone
9e202dfe40
Remove remnants of XkbCF code.
2006-03-27 22:25:56 +00:00
Daniel Stone
7257590651
Move XFree86 DDX XKB actions into dixmods.
2006-03-27 21:15:06 +00:00
Adam Jackson
a68c11bb1d
Mark everything in xf86sym.c as _X_EXPORT.
2006-03-25 19:52:05 +00:00
Fredrik Höglund
ae935832fa
Refactored the screensaver and DPMS timer code to use the screensaver timer
...
for both screensaver and DPMS. Removed the SetDPMSTimers() and
FreeDPMSTimers() functions.
2006-03-24 20:50:13 +00:00
Alan Coopersmith
f1616508c9
Add ast driver/pci id (Carl Switzky, Sun Microsystems)
2006-03-23 23:54:08 +00:00
Adam Jackson
9509c6799e
dead file removal
2006-03-20 19:32:18 +00:00
Adam Jackson
6eb4e2303a
Bug #6213 : Check geteuid's return value, not its address, otherwise
...
unprivileged users can set the modulepath and run arbitrary code. Patch
from Matthieu Herrb. (CVE-2006-0745, Coverity #4 )
2006-03-20 14:01:05 +00:00
Daniel Stone
d0d336efd5
Add support for ZX2 PCI-E local bus adaptors. (Alex Williamson, HP)
...
Use soft timeout register to avoid MCAs when probing for non-existent local
bus adaptors on ZX2. (Alex Williamson, HP)
2006-03-16 16:29:17 +00:00
Felix Kuehling
21f7f2fb11
Enable correct handling of the BTS instruction (opcode 0f ab) The code was
...
there but #ifdefed out. Insead of BTS, BT was executed. This patch
enables the BTS function and hooks it up the the correct opcode. (ATI
Technologies Inc.)
2006-03-15 18:43:32 +00:00
Adam Jackson
b9c43cde1e
Coverity #1042 , 1043: Nuke some dead variables.
2006-03-15 16:56:10 +00:00
Adam Jackson
a3ef63696c
Coverity #490 : Fix a range check in xf86vidmode extension.
2006-03-15 16:36:31 +00:00
Adam Jackson
460f2ea4a5
Coverity #794 : Fix a highly unlikely memory leak.
2006-03-15 16:21:04 +00:00
Adam Jackson
116d158e85
Coverity #269 : Compare the requested ABI class against the ABI class of the
...
module, not the module class.
2006-03-15 16:16:24 +00:00
Adam Jackson
d8221a9b70
Coverity #484 : Fix an off-by-one in module refcounting.
2006-03-15 16:11:34 +00:00
Adam Jackson
1e5c0842af
Coverity #1053 : Nuke a dead variable.
2006-03-15 15:34:57 +00:00
Benjamin Herrenschmidt
7314d16cde
Fix DRIExtensionInit() to not register callbacks when it hasn't been
...
initialized for the current server generation. Fixes a problem where it
would use stale private index and blow up in colorful ways if no driver
called DRIScreenInit() on the second generation (which happens due to a
bug in radeon that i'll fix separately). Note: clearing the index in
DRIReset() wouldn't work as DRIReset() is called before the
CloseScreen() chain
2006-03-15 03:18:42 +00:00
Benjamin Herrenschmidt
02d80a0de9
Make xf86 linear allocator smarter when dealing with alignment constraints
...
when falling back to X/Y allocations. Fixes various problems of Xv
allocation failures, notably with "nv" driver.
2006-03-15 03:12:32 +00:00
Eric Anholt
c1601717d5
Add a new migration scheme, "always", which will move pixmaps to their
...
desired location always (unless they don't fit in FB, in which case
they all get moved out for software rendering). The default remains as
before, but can be controlled by the MigrationHeuristic xorg.conf
option (which is intentionally not documented, as it may be
short-lived). This is part of the exa-damagetrack work, which appears
stable in testing with fakexa, unlike the work as a whole.
2006-03-15 01:20:08 +00:00
Matthieu Herrb
eb63e50d95
Fix build when AIGLX is false.
2006-03-12 17:14:03 +00:00
Kristian Høgsberg
c3342c8000
Merge accel_indirect branch to HEAD.
2006-03-12 00:11:34 +00:00
Alan Coopersmith
b1b731c286
Fix buffer size checks to prevent 2-byte buffer overflows. (Coverity #480 ,
...
#481 , #482 , #483 )
2006-03-11 02:43:51 +00:00
Alan Coopersmith
fc0772de36
Add HAS_MMAP for Xvfb
...
Fix Xvfb option parsing to exit on bad arguments, not just issue error
messages and continue on. (Coverity #492 )
2006-03-11 02:10:14 +00:00
Alan Coopersmith
f2ecbb3018
Pass sizeof the correct buffer to XmuSnprintf. (Coverity #489 )
2006-03-11 01:58:32 +00:00
Eric Anholt
d695579848
If fakexa is enabled, create a larger buffer in the Ximage, but keep the
...
same width/height for front-buffer drawing. The fakexa code then uses
this extra space for offscreen pixmaps. Note that this tones down the
absurdity of fakexa's offscreen pixmap alignment requirements (odd
alignment is too weird, so stick with "24", which is still strange but
exists out there). It also fixes a couple of bugs in the fakexa
implementation revealed by using offscreen pixmaps.
2006-03-10 21:36:24 +00:00
Eric Anholt
ffdbb547be
Coverity #1011 : Remove a useless NULL check on a pVbe that had been
...
dereferenced many times before.
2006-03-10 08:06:42 +00:00
Eric Anholt
1bc72dce5f
Coverity #857 : Fix resource leak in error path by freeing earlier.
2006-03-10 08:03:24 +00:00
Eric Anholt
55f677d600
Coverity #813 , #814 , #815 , #816 : Fix resource leaks in error paths of
...
config parsing code.
2006-03-10 07:58:27 +00:00
Jeremy C. Reed
21dcd03048
Just like FreeBSD, let DragonFly's default mouse Device be /dev/sysmouse
...
(since /dev/mouse don't even exist by default).
2006-03-10 01:34:45 +00:00
Jeremy C. Reed
9a99afdfb2
Add DragonFly support. (It is like FreeBSD.)
...
This patch is from DragonFly developer Joerg Sonnenberger and the pkgsrc
collection.
I tested using /dev/sysmouse with moused using my serial /dev/cuaa0.
2006-03-10 01:22:26 +00:00
Eric Anholt
8a3ff42abb
Commit changes missed in last commit (mis-typed path and didn't notice): Do
...
a first pass of doxygen documentation of EXA. This removes the
corresponding pieces of exa-driver.txt, which were becoming stale.
Hopefully the documentation will stay much more up-to-date this way.
Many thanks to jbarnes for writing exa-driver.txt which was used a lot
in writing this documentation.
2006-03-09 23:25:35 +00:00
Eric Anholt
2822cbc1fb
Rearrange EXA driver structures so that there's a hope of maintaining ABI
...
when extending the driver interface. The card and accel structures are
merged into the ExaDriverRec, which is to be allocated using
exaDriverAlloc(). The driver structure also grows exa_major and
exa_minor, which drivers fill in and have checked by EXA
(double-checking that the driver really did check that the EXA version
was correct). Removes exaInitCard(), which is replaced by the driver
filling in the rec by hand, and the exaGetVersion() and related
EXA_*VERSION which are replaced by always using the XFree86 loadable
module versioning.
2006-03-09 06:04:07 +00:00
Eric Anholt
cb5090e8d6
Bug #6150 : Do the obvious fix of an insane sanity check in
...
xf86InitFBManager. (Julio M. Merino Vidal)
2006-03-08 03:32:07 +00:00
Ian Romanick
2e6f801fe1
Numerous amounts refactoring and comment adding (see ChangeLog for file by
...
file details). The primary intention for these changes is to pave the
way for the new device probing and PCI configuration code that I'm
working on.
2006-03-07 23:58:22 +00:00
Eric Anholt
b7d2dfc1e5
Add appropriate MIT license. Oops.
2006-03-07 20:06:15 +00:00
Eric Anholt
9d8c0e4bcb
Add a new flag to ephyr, "-fakexa", which turns on an EXA acceleration
...
implementation that calls fb to get its work done. The purpose is to
have a trusted EXA driver for use with testing changes to the core of
EXA. However, fakexa has not received much testing yet, lacks offscreen
pixmaps support, and doesn't reliably provide garbage when EXA doesn't
get its syncing right. All of these should be fixed soon.
2006-03-07 19:57:46 +00:00
Eric Anholt
0a3d6c7399
Remove stale EXA files, which failed to get removed during the move to
...
top-level, somehow.
2006-03-07 19:49:31 +00:00
Luc Verhaegen
68a8963f72
Fix cvt -r check again. CH7011 TV encoder had 800x600 PAL hit the check.
2006-03-07 16:00:57 +00:00
Matthieu Herrb
448997ebcd
Only output SetClientVersion message if verbosity > 1, like other
...
extensions do
2006-03-05 16:43:10 +00:00
Matthieu Herrb
d921173833
define SYS_LIBS to hold system dependant libraries that may needed. and add
...
it to libraries list where needed. Update ChangeLog for previous
changes too
2006-03-05 16:35:08 +00:00
Matthieu Herrb
82cbd2ee0d
Don't hard-code -DUSE_DEV_IO here. configure generates the proper OS
...
specific values here.
2006-03-05 16:33:17 +00:00
Alan Hourihane
b2f8f410c0
https://bugs.freedesktop.org/show_bug.cgi?id=4341 Make Xming error messages
...
more meaningful.
2006-03-03 09:54:54 +00:00
Alan Hourihane
29237c1977
https://bugs.freedesktop.org/show_bug.cgi?id=4538 Fix mouse button release
...
on multiwindows scrolling.
2006-03-03 09:50:55 +00:00
Alan Hourihane
06f01623fd
https://bugs.freedesktop.org/show_bug.cgi?id=5138 Check for NULL pointer
2006-03-03 09:43:42 +00:00
Jesse Barnes
5f4d11c8d9
fix spelling error, document EXA_TWO_BITBLT_DIRECTIONS device flag
2006-03-01 16:31:53 +00:00
Ian Romanick
96ca329382
Remove redundant definition of struct Inst. Safeguard xf86AddDriver against
...
future additions to DriverRec.
2006-02-28 23:07:09 +00:00
Alan Coopersmith
345d99c972
Typo fixes (Nicholas Joly, XFree86 bugzilla #1658 )
2006-02-27 16:19:39 +00:00
Jesse Barnes
6b08a5013b
EXA driver doc cleanups and additions.
2006-02-25 20:26:49 +00:00
Roland Scheidegger
f41ec003f3
Add two radeon pci ids (one is used for a radeon mobility X700 XL in a
...
medion notebook, the other is for a AIW X800 VE)
2006-02-25 01:17:10 +00:00
Alexander Gottwald
43324132af
Added Mesa include directory
2006-02-22 16:08:56 +00:00
Ian Romanick
cfdacab33a
Eliminate unused PCI BIOS reading functionality. The old code used several
...
function pointers to implement a level of flexability that was never
used. The code also had unused support for extracting a single image
type from a larger expansion ROM.
Fix the spelling of PCI_BIOS_OPEN_FIRMWARE.
Fix a couple errors in #ifdef debug code.
These changes have been tested on x86 and x86-64 Linux.
2006-02-21 00:02:08 +00:00
Ian Romanick
5fd0f94006
Eliminate all the code for querying the PCI class from the PCI ID database.
...
Class information is not, and never has been, stored there. Therefore,
this is just a bunch of elaborate code to read 0x00000000.
This has received testing on x86 and x86-64 Linux.
2006-02-20 23:45:50 +00:00
Keith Packard
8987b2c1ef
Make more extensions optional in build (for kdrive). Fix kdrive build for
...
actual hardware. Fix kdrive pointer signed/unsigned types. Add
kdrive-required YX rotation functions. Replace rgb text file loading
with static rgb color table.
2006-02-16 07:17:31 +00:00
Benjamin Herrenschmidt
c8acb34269
Fix an occasional crash on VT switches: the server would save a pointer to
...
the current cursor when disabling FB access and would try to restore
that cursor when re-enabling. However, that cursor might have been
destroyed in between. This fixes it by updating the saved cursor
pointer when a cursor is set and vtSema is FALSE.
2006-02-16 06:52:12 +00:00
Eric Anholt
c845e152f5
Bug #5871 : Drop special build infrastructure left over from libcwrapper
...
times. (George Fufutos)
2006-02-16 05:46:08 +00:00
Eric Anholt
1bbd5e49b1
Bug #5869 : Remove traces of EXTMODULE define, which doesn't appear to be
...
useful any more. (George Fufutos)
2006-02-16 04:59:45 +00:00
Zephaniah E. Hull
c4767794ef
Export xf86ActivateDevice, used by the evdev driver.
2006-02-16 01:03:09 +00:00
Eric Anholt
dc0354104c
Move EXA implementation up to the top level and remove its XFree86
...
dependencies. It was nearly abstract enough already to be used by
multiple DDXes. This will be useful for EXA development through
providing a fake acceleration implementation within Xephyr, so that
testing can be done on new EXA code without worrying about buggy
drivers.
2006-02-16 00:14:11 +00:00
Adam Jackson
f105b8da11
Mark everything in dixsym.c as _X_EXPORT.
2006-02-15 20:44:13 +00:00
Eric Anholt
50e2ff9a25
Remove the waitSync from KdDisableScreen and push it off to drivers'
...
disableAccel hook, which is more correct anyway. This makes kdrive.c
not have any knowledge of kaa, opening the way for using exa from
kdrive.
2006-02-15 03:20:55 +00:00
Benjamin Herrenschmidt
5c9b6f0fb0
DRIGetSecs() would call getsecs() when XFree86LOADER is defined, relying on
...
the wrappers to provide it. Wrapper gone, and getsecs doesn't exist on
linux so it now blows up. Fixes it by just calling gettimeofday() in
all cases instead.
2006-02-14 08:14:42 +00:00
Alan Hourihane
bb8c36690a
Bump shadow module version number to 1.1.0 from 1.0.0
2006-02-14 04:20:37 +00:00
Benjamin Herrenschmidt
1a4f20541a
Fix linux build without libc wrappers (From Fredrik Höglund)
2006-02-13 04:56:27 +00:00
Benjamin Herrenschmidt
2dc7b5e0d9
Move call to xf86WrapperInit() to OsVendorInit() in xf86Init.c and remove
...
stubs in other DDX.
2006-02-13 04:43:40 +00:00
Eric Anholt
5f45776ef3
Add missing HAVE_DIX_CONFIG_H which caused issues with mismatched screen
...
structure interpretations, and remove a bunch of unused junk from
kdrive-config.h. Xephyr almost works on my amd64.
2006-02-12 10:30:47 +00:00
Eric Anholt
5249416d09
Add stub xf86WrapperInits so that the servers will build even if os/ was
...
built with XFree86LOADER set.
2006-02-11 22:40:50 +00:00
Alan Coopersmith
a2a5254675
Add <string.h>, <stdlib.h>, and <stdio.h> to clear undefined function
...
warnings after the removal of libcwrapper headers.
2006-02-11 19:16:51 +00:00
Alan Coopersmith
d6337c8324
<sys/limits.h> -> <limits.h> so we can compile on non-BSD OS'es
2006-02-11 17:42:31 +00:00
Eric Anholt
4fafba61d5
Remove libcwrapper damage from GLX (requires fresh Mesa HEAD), and get it
...
compiling in kdrive.
2006-02-11 03:03:45 +00:00
Eric Anholt
c3d1403672
Remove libcwrapper usage from xorg server modules. The libcwrapper is only
...
of (marginal) use in the drivers, and that usage remains.
2006-02-10 22:00:30 +00:00
Eric Anholt
a8cec1b656
Merge from kdrive: use RECT_PRIM to avoid tearing in xvideo.
2006-02-10 09:00:02 +00:00
Eric Anholt
efc3fab7f4
Make kdrive (i.e. Xephyr only) buildable on FreeBSD and probably other OSes
...
without linux VT switching, fbdev, and vm86 support.
2006-02-10 07:52:05 +00:00
Jeremy C. Reed
0946bb9427
Fix sysmouse handling on DragonFly, mostly garbage arrived. From Joerg
...
Sonnenberger.
2006-02-03 02:37:52 +00:00
Eric Anholt
5e2a7af23b
Move the frequently-repeated code to get the pixmap that backs a drawable
...
to a new function, exaGetDrawablePixmap().
2006-02-02 21:07:06 +00:00
Eric Anholt
ee3c7ccb17
Remove more debugging leftovers.
2006-02-02 20:51:54 +00:00
Eric Anholt
3366b68365
Rearrange and rename EXA code to be a bit more logically organized. Also
...
removes a little bit of debugging leftovers. Summary:
exa.c -> exa.c (miscellaneous code) exa_accel.c (all acceleration code)
exa_migration.c (migration logic) exaasync.c -> exa_unaccel.c (software
fallbacks) exapict.c -> exa_render.c (render extension stuff)
exaoffscreen.c -> exa_offscreen.c exaPriv.h -> exa_priv.h
2006-02-02 20:09:14 +00:00
Luc Verhaegen
f4898b4093
Further bug #5386 fixes: Fix some problems with the EDID code: Some
...
bitoffsets were wrong. Unknown Detailed Sections weren't handled
properly and defaulted to Detailed Timing.
2006-01-31 14:49:43 +00:00
Luc Verhaegen
437b385ce4
Bring the cvt utility up to date with bug #5386 changes. Fix 2 issues with
...
the generator routine: the allocated modeline wasn't nulled and
mode->name's \0 wasn't copied over. PrintModeLine was rewritten and
HDisplay gets rounded up to character width instead of refused.
2006-01-31 13:55:01 +00:00
Luc Verhaegen
8f3c69dcf1
Accept modes with less than 25% horizontal blanking again (you can push old
...
gtf timing to below 25%), only stop cvt reduced blanking. Users should
be free to blow up their monitors if they so choose.
2006-01-31 13:04:02 +00:00
Eric Anholt
dd50015b05
Add libc_wrapper support for random(), which will be used in upcoming EXA
...
memory manager work.
2006-01-28 02:20:37 +00:00
Eric Anholt
3d1667278f
Remove leftover variables for cfb24 build, and finish commenting out Xglx
...
standalone stuff, which some versions of automake get whiny about.
2006-01-28 00:37:52 +00:00
Alan Hourihane
ab01eb247f
update pci ids
2006-01-27 12:27:34 +00:00
Adam Jackson
14fdd81614
Remove xf8_32wid, it's dead code with no maintainer interest. Also remove
...
cfb24, since xf8_32wid was the only user.
2006-01-25 23:05:26 +00:00
Alan Hourihane
0d9ed2624f
Commit #4633 - Initial mouse pointer incorrect with EXA which also fixes
...
the repaint of the cursor image with randr events.
2006-01-23 22:01:34 +00:00
Dave Airlie
e70b64b930
Updated xgl code drop from Novell + xserver tree changes
2006-01-18 07:15:55 +00:00
Daniel Stone
2949c705f1
Add all subdirs used to DIST_SUBDIRS, and files to EXTRA_DIST.
...
Attempt to build xeglmodule.c, not xglxmodule.c.
Add xf86Sbus.h to EXTRA_DIST, as _HEADERS doesn't appear to get the same
treatment as _SOURCES in terms of automatically DISTing.
2006-01-10 03:23:05 +00:00
Daniel Stone
890ec84947
Add xgl to DIST_SUBDIRS.
2006-01-10 02:30:56 +00:00
Adam Jackson
53dbd00a75
Remove remaining #ifdef DPSEXT stanzas.
2006-01-08 23:43:54 +00:00
Adam Jackson
fe0c838b5d
Move drawable lock acquisition into DRIClipNotify from DRIValidateTree, so
...
we only take it when clipping a DRI drawable instead of on every tree
update. Note drawable lock acquisition per- screen instead of globally,
and drop it in BlockHandler if necessary.
2006-01-06 18:06:02 +00:00
Adam Jackson
39ce5f1544
Remove unused X11R4 DDX compatibility function miClipNotify.
2006-01-06 17:05:26 +00:00
Eric Anholt
b9c0ae867e
Remove the manual AddFilter for convolution, which I'm pretty sure
...
shouldn't be necessary due to it already happening from
PictureSetDefaultFilters.
2006-01-03 22:36:46 +00:00
Eric Anholt
1729fc882c
Change REGION_INIT(pScreen, &foo, NullBox, 0) to REGION_NULL(pScreen,
...
&foo). While it is no longer (or rather, once again not) required as of
regionstr.h r1.4, it matches the style of the rest of the xorg code.
2005-12-31 08:06:00 +00:00
Eric Anholt
c25536a793
Initialize the fourcc value in stack-allocated glitz_pixel_format_t
...
structures. Greatly reduces the number of uninitialized-value accesses
during Xgl startup according to valgrind. Allocating and filling these
in by hand on the stack seems very shady to me.
2005-12-31 08:01:31 +00:00
Eric Anholt
7aa0ea23bc
Add an empty all-local target for FreeBSD make's sake, which doesn't deal
...
with .PHONY.
2005-12-30 04:11:42 +00:00
Adam Jackson
49a9249239
Make kdInputMachine static const, shrinks .data a bit.
2005-12-29 21:11:41 +00:00
Dave Airlie
fc69a2e729
Remove PowerMAX_OS define it never worked , it'll never work again,
...
finishes running joke of OLS2005
2005-12-29 08:42:49 +00:00
Eric Anholt
d6646307f0
Add necessary *CONFIG_H declarations and a force-off of XF86* extensions in
...
miinitext in the XGL case. Prevents mismatched structure sizes on my
_XSERVER64 machine. At this point, with the uncommitted render/ diffs,
Xglx starts up but displays badly.
2005-12-29 00:19:33 +00:00
Luc Verhaegen
3664c3ebf3
Bug #5153 : standalone CVT modeline generator.
...
- add hw/xfree86/utils/cvt/, cvt.c, cvt.man.pre and Makefile.am.
- Adjust configure.ac and hw/xfree86/utils/Makefile.am for cvt.
- Add MonPtr->reducedblanking and Option "ReducedBlanking" to the Monitor
section.
- Check for reduced blanking in xf86CheckModeForMonitor and disallow modes
with less than 25% blanking otherwise.
- Fix some warnings in hw/xfree86/common/xf86Config.c.
2005-12-28 15:22:21 +00:00
Eric Anholt
b1b40ed6a8
Initial commit of XGL build infrastructure and XGL code changes for
...
building within the xorg server tree. Requires additional, uncommitted
dix changes to successfully build, and successful running is still yet
to happen.
2005-12-28 10:31:46 +00:00
Adam Jackson
05c139d4cd
Enough build fixes to get {sdl,ephyr,fake} to link.
2005-12-28 10:02:54 +00:00
Dave Airlie
aeb770f645
recommit previous changes to evdev.c
2005-12-28 02:43:50 +00:00
Dave Airlie
ce7c0c8937
some updates for default colormap install
2005-12-28 01:57:11 +00:00
Adam Jackson
27d79ab2bc
s/XSERVER/KDRIVE/
2005-12-27 23:03:15 +00:00
Adam Jackson
72817714a0
Remove Imakefiles.
2005-12-27 23:01:27 +00:00
Adam Jackson
9dd0af6cb4
Skeletal kdrive build system. Totall non-functional atm.
2005-12-27 08:31:37 +00:00
Adam Jackson
7fd73d2953
Build fixes: XSERVER_LIBS -> KDRIVE_LIBS, config.h -> kdrive-config.h
2005-12-27 08:29:50 +00:00
Adam Jackson
6798fd0170
Bug #4190 : Add a rule for 'make relink' since automake sucks.
2005-12-26 19:13:52 +00:00
Adam Jackson
7e3cb9a09a
Remove unused layer module.
2005-12-25 22:25:15 +00:00
Dave Airlie
5230e86b1c
fix up xglglx.c
2005-12-23 04:13:37 +00:00
Dave Airlie
feb735c5bb
Well there were a couple of snapshots later than CVS available outside of
...
Novell, so I've done a crazy merge to try and get them into a workable
CVS, I suspect I may have failed.. there is a pre-xgldrop-merge tag if
I did.
2005-12-23 02:07:58 +00:00
Dave Airlie
ade104ce5a
check drawable is available
2005-12-23 01:51:40 +00:00
Dave Airlie
7fb521e80d
from davidr's tree update some fixes
2005-12-23 01:50:04 +00:00
Dave Airlie
c88a3145d0
from davidr's tree if source picture defined return
2005-12-23 01:49:21 +00:00
Dave Airlie
c59508566f
fix glx up for newest glitz interface
2005-12-23 01:13:28 +00:00
Dave Airlie
d822bc1596
make xgl code at least build against latest glitz.
2005-12-23 00:08:35 +00:00
Dave Airlie
6e2086395d
fixups for newer glitz API
2005-12-22 23:32:49 +00:00
Dave Airlie
f3ae42c0fd
small fix towards new glitz interface
2005-12-22 23:31:15 +00:00
Eric Anholt
2af7e94eab
Adjust the rules for auto-generating some source files, so that they work
...
on both GNU make and FreeBSD's make.
2005-12-22 13:54:08 +00:00
Adam Jackson
03d37eb038
Bug #5359 : Fix a segfault (Mark Kettenis)
2005-12-20 21:34:21 +00:00
Adam Jackson
7b89b643c1
Bug #5116 : Refer DRI section details to dri.fd.o.
2005-12-19 16:44:21 +00:00
Alan Coopersmith
3566307c8d
Fix typos.
2005-12-19 09:18:29 +00:00
Alan Coopersmith
137447c5f3
Update to 2005-12-14 snapshot from pciids.sf.net
2005-12-15 01:54:45 +00:00
Adam Jackson
f1ba3b4f33
Bug #4718 : Command line flag to disable ACPI.
2005-12-14 20:11:16 +00:00
Alan Coopersmith
3666dbb5f3
Remove unnecessary include of dgaproc.h that broke Solaris builds.
2005-12-12 23:33:55 +00:00
Adam Jackson
62f3ef930a
Bug #5258 : Restore binary compatibility with 6.8.2's PictureRec. (Aaron
...
Plattner)
2005-12-09 18:35:21 +00:00
Adam Jackson
f4957ee948
Bug #4809 : Re-fix that doesn't break distcheck. (Alan Coopersmith)
2005-12-09 18:30:51 +00:00
Adam Jackson
de22d0c226
Fix a thinko so the code matches the comment
2005-12-09 15:30:05 +00:00
Adam Jackson
6fcb049cd0
Bug #1288 : Additional refactor of the driver probe logic to keep ati loaded
...
before atimisc.
2005-12-09 06:49:39 +00:00
Adam Jackson
17ac5e9fec
Push the fallback drivers to the end of the list so driver probe order
...
stays useful.
2005-12-09 05:36:41 +00:00
Adam Jackson
80ea67e379
Bug #4361 : Change driver probe logic to read the driver list from disk
...
instead of using a compile-time array.
2005-12-09 03:59:41 +00:00
Kevin E Martin
26b41ff439
Fix sgml docs build.
2005-12-09 03:02:21 +00:00
Adam Jackson
f9ccebe8c5
Bug #4928 : Fix compilation for Alpha. (Stefaan DeRoeck)
2005-12-08 19:27:13 +00:00
Kevin E Martin
008c2dd5e4
Add configure options to allow hard-coded paths to be changed.
2005-12-08 17:55:19 +00:00
Kevin E Martin
39189c2b86
Allow hard-coded paths to be configurable.
2005-12-08 17:54:40 +00:00
Kevin E Martin
20c0ebe7b3
Change to use the app-defaults default dir configured in libXt.
2005-12-07 16:18:02 +00:00
Kevin E Martin
4a39354e14
Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
2005-12-06 22:48:51 +00:00
Alan Coopersmith
26f9c43056
Bugzilla #4809 < https://bugs.freedesktop.org/show_bug.cgi?id=4809 > Patch
...
#3908 <https://bugs.freedesktop.org/attachment.cgi?id=3908 > xf8_32wid
and cfb24 only need to be built on sparc
2005-12-03 17:04:45 +00:00
Kevin E Martin
7c00afd0ec
Define XFree86Server only where it is required.
2005-12-02 06:02:45 +00:00
Eric Anholt
ccfaf82367
Bug #5160 : Fix the modular build to try to use the same logic for choosing
...
the architecture/os-specific bus support as monolithic.
2005-12-01 05:04:07 +00:00
Adam Jackson
9c0bd9687f
Import libdrm 2.0
2005-11-30 22:59:22 +00:00
Kevin E Martin
da5d66f2ff
Fix usage of XFree86LOADER/XFree86Module/IN_MODULE and update loadable
...
module builds to reflect this change.
2005-11-29 16:39:33 +00:00
Alan Coopersmith
51a721a6db
Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4
...
update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
2005-11-28 22:05:09 +00:00
Kevin E Martin
381931b15b
Add configure option to install libxf86config.a (disabled by default).
2005-11-23 07:14:46 +00:00
Eric Anholt
594ca0966e
Bug #5118 : Use "rm -f" instead of "$(RM)", which isn't always defined.
2005-11-22 02:11:00 +00:00
Kevin E Martin
63aa96c08a
Update pkgconfig files to separate library build-time dependencies from
...
application build-time dependencies, and update package deps to work
with separate build roots.
2005-11-19 07:15:50 +00:00
Adam Jackson
d3b6653a28
Bug #4824 : Build XTrap support by default, matching monolith.
2005-11-19 03:53:04 +00:00
Eric Anholt
627ac1fe1d
Bug #5060 : Fix non-Linux DRI on 64 bit post Linux 32/64 changes.
2005-11-18 23:34:04 +00:00
Adam Jackson
e3ec048ff2
Bug #4928 : Unbreak Makefile.am for Alpha chips. (Stefan DeRoeck)
2005-11-18 22:43:50 +00:00
Adam Jackson
de95d8ee19
Bug #4859 : Don't segfault on bad DDC read. (Tony Houghton)
2005-11-18 18:02:24 +00:00
Kean Johnson
fc81c13e4d
Dont prevent SCO platforms for using the default ZAxisMapping now that the
...
OS layer correctly sends z-axis events when the wheel button is used.
2005-11-14 18:49:30 +00:00
Alan Coopersmith
267cbffa41
Bug #5019 < https://bugs.freedesktop.org/show_bug.cgi?id=5019 > xserver
...
installs manpages into 'man1' instead of 'man1x'
2005-11-13 20:53:24 +00:00
Kevin E Martin
0e7e4c7064
Fix typo to enable DGA support.
...
EXTMODULE is required to build DGA support into extmod.
2005-11-10 04:59:21 +00:00
Kean Johnson
e4554db8f8
Dont pass wheel mouse buttons as real buttons, map them as Z-Axis movement
...
on SCO and USL. Re-instate the ZAxisMapping default for the mouse
driver.
2005-11-10 02:41:20 +00:00
Matthias Hopf
f886e632b8
Bug #4915 : ButtonMapping option which allows to define arbitrary button
...
mappings (including left-handed mouse etc.). Fixed incorrect usage of
non-reversed, but ZAxisMapped buttons for state detection. Nuked unused
part of reverseMap.
2005-11-09 17:05:41 +00:00
Kevin E Martin
a25871ae52
DRM 1.0.5 import
2005-11-09 01:00:46 +00:00
Kevin E Martin
c9709c0a38
Add newly checked in files to Xorg server build.
...
Fix release date. Enable DGA extension by default.
2005-11-08 22:47:57 +00:00
Kristian Høgsberg
f8430a1b86
Bug #2880 , add functions for byte and word level access to pci config
...
space.
Fix broken utf8 again.
2005-11-08 19:04:56 +00:00
Kean Johnson
5390c7ab05
See ChangeLog entry 2005-11-07 for details.
2005-11-08 06:33:30 +00:00
Alan Coopersmith
f5814bf3ff
Don't reference noXkbExtension when building without XKB. (Bob Terek - Sun
...
Microsystems)
2005-11-08 03:12:43 +00:00
Kevin E Martin
e73cdba865
Fix Xvfb to work properly in depth 15 mode. Fixes XTS5 XCloseDisplay-3
...
server crash.
2005-11-07 21:03:49 +00:00
Thomas Hellstrom
890ed0e082
Fix a bug where a system memory pixmap got a wrong address if memcpy()
...
fallback was used for downloading from screen.
2005-11-06 16:40:59 +00:00
Alan Coopersmith
70aedcf32a
Bug #4948 : < https://bugs.freedesktop.org/show_bug.cgi?id=4948 > Incorrect
...
URL in log file for Xorg CVS. Also fixed wording of statement to not
refer to monolithic CVS since modular uses the same code, so it was
appearing in modular builds too.
2005-11-05 18:56:50 +00:00
Ian Romanick
0b150a05e6
Whitespace change just to make sure I created the branch correctly.
2005-11-03 17:12:53 +00:00
Kevin E Martin
90cf8e339b
Fix vendor string and release version reported by the servers. Enable
...
security, lbx and xevie extensions to give us parity with monolithic
tree.
2005-11-03 17:08:06 +00:00
Kevin E Martin
a311bfa73a
Fix support for enabling/disabling extensions loaded from modules.
2005-11-02 15:53:57 +00:00
Kevin E Martin
462a2407d5
Add xorg-server.m4 for driver dependency checking.
...
Update pkgcheck depedencies to work with separate build roots.
2005-11-01 15:01:51 +00:00
Kevin E Martin
56101c9d6e
Fix fd leak by closing them in the ACPI code instead of just using
...
shutdown.
2005-10-31 05:45:40 +00:00
Thomas Winischhofer
7993486e80
RandR: Add a driver func to let the driver determine the physical size of a
...
screen size (display mode). Useful for faked widescreen modes, modes
which are scaled by the driver, etc. This really helps fixing RandR's
sometimes dumb DPI assumptions.
2005-10-30 17:38:49 +00:00
Thomas Winischhofer
c818d3a1a5
Add xf86RandRSetNewVirtualAndDimensions to loader symlist
2005-10-30 09:27:06 +00:00
Thomas Winischhofer
fdbb3ea609
Add function for drivers to change RandR's idea of the virtual screen size.
...
(This allows drivers to reserve a larger virtual size at start and
change it later)
2005-10-29 21:31:23 +00:00
Alan Coopersmith
e921eec1c6
Make X -> Xorg symlink at install time.
2005-10-29 00:12:33 +00:00
Alan Hourihane
f842c229d4
build fix on alpha
2005-10-28 16:01:17 +00:00
Alan Coopersmith
7416fd61a1
Improved stack trace dump code for Solaris - try fork & exec of pstack
...
first so we can see the names of non-exported symbols that aren't
visible to walkcontext/dladdr1 code.
2005-10-27 21:03:27 +00:00
Adam Jackson
59279da498
Bug #1429 : Report input device type correctly. (Stéphane VOLTZ)
2005-10-21 19:06:13 +00:00
Thomas Winischhofer
1f43d218cc
EXA: The "optimization" for using a fill operation instead of 1x1 copies
...
checked the destination drawable's dimensions (!) instead of the
tile's. Really....
2005-10-20 21:45:40 +00:00
Adam Jackson
15f56b203d
Move xf86XTrapModule.c to dixmods, guess at a build system.
2005-10-20 18:52:51 +00:00
Adam Jackson
4ebd26f04b
Bug #3196 : Fix Load foo.so syntax.
2005-10-19 22:36:22 +00:00
Adam Jackson
af211a9bc1
Fix PCI bus scan on ia64 E8870 chipsets.
2005-10-19 22:30:09 +00:00
Adam Jackson
2769c3e72c
Fix distcheck by forcing Xorg to be installed before chmod/chown.
2005-10-18 19:43:48 +00:00
Adam Jackson
dd0d010e9c
Fix parallel builds my ensuring libdmxconfig builds first.
2005-10-18 19:14:08 +00:00
Alan Coopersmith
79e6ac79f9
Don't use $< in explicit rules since neither BSD nor Solaris make allow
...
that.
2005-10-18 07:18:21 +00:00
Aaron Plattner
fb282ef43a
Add miext/damage so misym.c can export DamageDamageRegion.
2005-10-18 04:03:01 +00:00
Aaron Plattner
959db6028d
Export DamageDamageRegion. Not bumping the ABI version since we did that
...
already for this release.
2005-10-18 04:02:31 +00:00
Kevin E Martin
b61c828b04
DRM 20051017 import
2005-10-18 02:23:58 +00:00
Alan Coopersmith
d6a40bcd4a
Change default install dir for app-default files from
...
$(sysconfdir)/X11/app-defaults to $(libdir)/X11/app-defaults to match
the monolith & allow localization
2005-10-18 00:32:55 +00:00
Adam Jackson
e7007f7d51
More automake 1.7 braindamage: use mkdir -p, not .
2005-10-17 22:42:03 +00:00
Adam Jackson
151ba8b67f
Work around automake-1.7 braindamage by providing an explicit rule for
...
XOrgCfg.
2005-10-17 22:25:58 +00:00
Kevin E Martin
1859c62607
include/dix-config.h.in Add support for more extensions
...
Add missing files to EXTRA_DIST
2005-10-17 07:18:59 +00:00
Kevin E Martin
c2e461c7e9
Fix typo and add new Makefiles to AC_OUTPUT
...
Fix typos
Add xorg.conf.man to CLEANFILES
Add missing files to EXTRA_DIST
2005-10-15 20:44:44 +00:00
Eric Anholt
744aa34ca5
Add an additional meaning to the "dirty" flag. Now, if !dirty && !area, the
...
pixmaps's contents are undefined, so we won't need to upload the
undefined contents in MoveIn. Use the ExaCheck* for async ops as well,
so that dirty is always tracked. While the performance impact for my ls
-lR test was not significant (though the avoiding-upload path was being
hit), it's likely to be important for the upcoming Get/PutImage
acceleration from ajax.
2005-10-15 02:19:09 +00:00
Alan Coopersmith
0ee70f53ef
Install Xorg & xorg.conf man pages even when not building docs
2005-10-14 22:01:46 +00:00
Kristian Høgsberg
0676a2874a
Add sysv and sco os-support subdirs and add simple EXTRA_DIST Makefile.am
...
in those dirs. Remove unsupported os-support subdirs (bsdi, dgux, hurd,
nto, os2, pmax, qnx4) that have no maintainer and we don't dist.
Add Options.
2005-10-14 20:01:36 +00:00
Alan Hourihane
57abb5b171
remove reference to non-existent agpgart.h
2005-10-14 08:29:16 +00:00
Alan Coopersmith
8df7628a2a
Remove reference to XF86config-4. Add xorgcfg(1) to See Also list.
2005-10-14 00:41:51 +00:00
Alan Coopersmith
b54c8154ca
Set substitutions needed in xorgconfig man page.
2005-10-14 00:34:49 +00:00
Kristian Høgsberg
b349b20d78
Dist NOTES.
...
Dist helper shell scripts.
Dist XAA.HOWTO and a few more unused C files.
Dist xorgconf.cpp.
Fix DIST_EXTRA typo.
Clean yacc and lex generated files only during make maintainer-clean as we
don't expect users to have those tools installed.
2005-10-13 18:08:24 +00:00
Benjamin Herrenschmidt
35a767590e
Fix stupid mistake in yesterday's allocator commit, would cause exa to
...
consider a random available memory size
2005-10-13 01:13:58 +00:00
Eric Anholt
a16dabd05e
Remove an RM line that appears unnecessary and was breaking the build at
...
xf86DefModeSet.c with FreeBSD make, where RM was undefined. While here,
make the build of xf86DefModeSet.c depend on its sources, so it'll
rebuild properly, and make it a normal CLEANFILE rather than a
DISTCLEANFILE, since the intention seems to be to build it at the
user's build time.
2005-10-12 11:15:44 +00:00
Alan Hourihane
b819c8378f
remove unneeded line of code
2005-10-12 08:22:31 +00:00
Benjamin Herrenschmidt
e573b272bf
Use proper access size when reading pixel based on bpp of the source pixmap
2005-10-12 07:46:36 +00:00
Eric Anholt
55efb41f6c
If a window background is a 1x1 pixmap, read the value out and go to
...
exaFillRegionSolid rather than sending piles and piles of Copies to the
hardware.
2005-10-12 07:35:20 +00:00
Kevin E Martin
fce11fdf03
Fix typo (DIST_EXTRA -> EXTRA_DIST)
2005-10-12 02:11:06 +00:00
Benjamin Herrenschmidt
12994b9afb
Fix a couple of bugs in the offscreen allocator. One mostly harmless was
...
causing our search loop for evictable blocks to possibly skip a good
candiate, and another was the allocator would occasionally use
area->offset as if it was the base of the pixmap, while for a pixmap
that is not in available state, it is not. This caused some funny
miscalculation leading to overlapping pixmaps and accesses beyond the
end of the framebuffer. To make things cleared, I renamed save_offset
to base_offset, made sure it's the one used everywhere in the
allocator, and only align "offset" for the client at the end of
exaOffscreenAlloc().
2005-10-11 23:11:37 +00:00
Alan Hourihane
8444a1f391
missed commit
2005-10-11 21:01:04 +00:00
Thomas Winischhofer
b4450f3242
Add DGAReInitModes, Part 2
2005-10-11 19:03:02 +00:00
Thomas Winischhofer
d91d18e1d6
Add DGAReInitModes in order to allow the driver to change the list of
...
supported DGA modes. (Part 1)
2005-10-11 19:02:18 +00:00
Alan Hourihane
c1a2abadfb
fix a typo
2005-10-11 14:50:47 +00:00
Alan Hourihane
697f64a22a
check randrp has been initialized
2005-10-11 14:50:03 +00:00
Alan Hourihane
2828d92c6c
programs/Xserver/hw/xfree86/common/xf86RandR.c
...
programs/Xserver/hw/xfree86/loader/xf86sym.c Add a new function
xf86GetRotation to allow third party modules to obtain the current
rotation.
2005-10-11 14:45:01 +00:00
Alan Hourihane
cad18ec979
don't move x or y depending on the screen size change
2005-10-10 10:07:47 +00:00
Alan Hourihane
7f72f94aa4
rework that again
2005-10-10 09:31:49 +00:00
Alan Hourihane
7c1d9a31a3
a furthur tweak to the randr cursor position fix
2005-10-10 09:24:28 +00:00
Benjamin Herrenschmidt
13f958fbe8
Add missing {Prepare,Finish}Access() wrappers for the tile pixmap in the
...
fallback case
2005-10-10 05:58:41 +00:00
Alan Coopersmith
d82aeb55ca
Bug #3254 < https://bugs.freedesktop.org/show_bug.cgi?id=3254 > Make sure
...
screensaver & DPMS timeouts don't overflow when multiplied by
MILLI_PER_MIN. (Reported by Zachary J. Slater)
2005-10-09 23:47:52 +00:00
Eric Anholt
046234b3eb
Don't try the accelerated glyphs path for component-alpha text (which I
...
don't expect drivers to be able to accelerate without exa assistance).
Instead, drop back to plain old miGlyphs for a 62.5% +/- 1.5% reduction
in runtime of my ls -lR test (n=5) with component alpha. While a
reasonable approach would seem to be making a better test to see
whether the entire path would be accelerated and force migration
appropriately, my attempt at this made the situation much worse.
2005-10-09 02:03:22 +00:00
Alan Hourihane
526d1502df
another update to the RandR fix (thanks Aaron)
2005-10-07 21:29:39 +00:00
Alan Hourihane
470213753b
update the last RandR fix
2005-10-07 18:15:08 +00:00
Alan Hourihane
348242f35a
programs/Xserver/hw/xfree86/common/xf86RandR.c Use PointerMoved instead of
...
SetCursorPosition, as PointerMoved will call AdjustFrame to reposition
the window if necessary and avoid the cursor ending up offscreen.
2005-10-07 15:39:52 +00:00
Kevin E Martin
578e18d11b
Add darwin to dist
...
Include missing docs in EXTRA_DIST
Include headers and other files in dist
2005-10-07 14:27:47 +00:00
Benjamin Herrenschmidt
ff258ac278
Clients tend to set picture->repeat when not necessary. Most HW cannot
...
accelerate repeat NPOT thus triggering software fallback (this is the
case with gnome desktop for example). This adds a simple optimisation
to exa that removes "repeat" when it's obviously useless, that is, the
single picture instance covers the entire rectangle beeing used
2005-10-06 23:45:29 +00:00
Eric Anholt
1614a31a9d
Bug #4699 : Correct some memory leaks in EXA and damage related to region
...
handling.
2005-10-06 21:55:41 +00:00
Alan Coopersmith
cd9ff6aec8
cpp processing for Xvfb man page
2005-10-06 20:16:13 +00:00
Alan Coopersmith
370b8c8f1c
App-defaults file not supposed to have .ad suffix when installed Fix cpp
...
rules to set needed flags for app-defaults file
2005-10-06 20:14:43 +00:00
Alan Coopersmith
2770233069
Don't build "ev" example on systems without <linux/input.h>
2005-10-06 19:59:26 +00:00
Kristian Høgsberg
460145a5d5
Add cpconfig.c to EXTRA_DIST.
...
Add CURSOR.NOTES to EXTRA_DIST.
Add extrapci.ids to EXTRA_DIST and fix xf86PciIds.h rule.
2005-10-06 19:37:39 +00:00
Kevin E Martin
9000c0321b
Install correct man page and add to dist
2005-10-06 04:05:30 +00:00
Kevin E Martin
9b894df44b
Include dmx-config.h for modular build
...
Use <X11/extensions/dmxext.h> intead of "dmxext.h"
2005-10-06 02:40:41 +00:00
Kevin E Martin
30c1369bf5
Add support for building DMX config and examples programs Add missing files
...
to EXTRA_DIST Install Xdmx man page
2005-10-06 02:35:22 +00:00
Kevin E Martin
1f9b6dc1cc
Clean up generated files to pass distcheck
...
Clean up generated files to pass distcheck Distribute getconfig.man.pre,
not getconfig.man
2005-10-06 00:34:29 +00:00
Alan Coopersmith
e891d9c078
Update to 2005-10-05 snapshot from pciids.sf.net (includes a couple new
...
Radeon id's).
2005-10-05 22:19:09 +00:00
Kristian Høgsberg
dc6ac8e46f
Add DGA configure option and add various files that we should be dist'ing.
...
Simplify xf86DefModeSet.c rule a bit.
2005-10-05 21:38:40 +00:00
Adam Jackson
8391eaa4aa
Preprocess and install XOrgCfg.ad as in the monolith.
2005-10-05 21:13:49 +00:00
Alan Coopersmith
a9df169f10
Add missing $(DESTDIR) to custom install target
2005-10-05 17:27:58 +00:00
Alan Coopersmith
a6cbe0776f
Fix the rest of the XFree86 DDX options that require an argument to say so
...
instead of reporting "unrecognized option" when the argument is
missing. Also give correct error instead of "unrecognized option" for
options only available to root.
2005-10-05 16:39:09 +00:00
Luc Verhaegen
9f3ad65251
Fix lnx_pci.c's xf86GetOSOffsetFromPCI return value. Clears up the resource
...
ranges awkwardness and the "INVALID MEM ALLOCATION" warning.
2005-10-05 07:27:52 +00:00
Alan Coopersmith
9e8b5f3d47
Make Xorg -config stop lying to people and claiming it doesn't exist when
...
you fail to specify a file name. Also, include it in the list of
available options for non-root users when listing all available flags.
2005-10-05 01:38:50 +00:00
Eric Anholt
f47f00ab74
Mark the temporary pixmap dirty if UploadToScreen succeeds. Failure to do
...
so resulted in a solid black glyph if the font rendering actually
resulted in a fallback (subpixel AA, for example) and the temporary got
migrated after 10 or so glyphs.
2005-10-04 11:24:09 +00:00
Aaron Plattner
89a1a91b88
Add miext/cw to the module loader include path so that misym.c can export
...
miDisableCompositeWrapper.
2005-10-04 07:42:21 +00:00
Aaron Plattner
43625a4706
Bump the video driver module ABI minor version to 8 so modules statically
...
linked against miDisableCompositeWrapper won't load on older servers.
#include "cw.h" instead of #include "cw/cw.h"
2005-10-04 07:31:53 +00:00
Aaron Plattner
ca57db6fc1
Export miDisableCompositeWrapper.
2005-10-04 04:30:33 +00:00
Alan Coopersmith
cdded97a0a
Add #include <xorg-config.h> for modular build
2005-10-04 00:45:42 +00:00
Alan Coopersmith
4ae4fc7d51
Add gtf to xserver/xorg/hw/xfree86/utils
2005-10-04 00:43:16 +00:00
Alan Coopersmith
6d4b350dee
Bug #3815 < https://bugs.freedesktop.org/show_bug.cgi?id=3815 > Patch #3463
...
<https://bugs.freedesktop.org/attachment.cgi?id=3463 > GNU/kFreeBSD
Xserver support (Robert Millan)
2005-10-03 16:46:14 +00:00
Alan Coopersmith
22b4200b01
Whoops, need to be in DIST_SUBDIRS too.
2005-10-03 15:41:10 +00:00
Alan Coopersmith
14a2bd3330
Add missing ] (Dawid Gajownik)
...
Add getconfig (Dawid Gajownik)
2005-10-03 15:37:57 +00:00
Adam Jackson
e3d2a7d57b
Bug #4393 : uClibc lies and defines __GLIBC__ even though it's not source
...
compatible with glibc, so the backtrace support check fails. Work
around this by wrapping the code in a configure check for execinfo.h,
and emulate detection for the monolith. (Yuri Vasilevski)
2005-10-03 06:29:14 +00:00
Alan Coopersmith
b05e78dd40
Fix typo in MAN_SRCS (Dawid Gajownik)
2005-10-02 19:30:57 +00:00
Eric Anholt
8814896da8
Fix include path for commit of bug #4616 .
2005-10-02 08:53:18 +00:00
Eric Anholt
ecaa46380e
Bugzilla #4616 :
...
- Merge various fb/ bits of COMPOSITE support from xserver, which weren't
necessary before due to cw hiding the issues. Fixes offset calculations
for a number of operations, and may pull some fixes that cairo has
wanted for XAA as well.
- Add a new call, miDisableCompositeWrapper(), which a DDX can call to keep
cw from getting initialized from the damage code. While it would be
cleaner to have each DDX initialize it if it needs it, we don't have
control over all of them (e.g. nvidia).
- Use the miDisableCompositeWrapper() to keep cw from getting set up for
screens using EXA, because EXA is already aware of composite. Avoiding
cw improved performance 0-35% on operations tested by ajax in x11perf.
2005-10-02 08:28:27 +00:00
Matthieu Herrb
54b2a14f0f
Bug #3411 : fix handling of keyboard Autorepeat rate in xorg.conf.
2005-10-01 17:30:58 +00:00
Alan Coopersmith
a07dd03748
Add hw/xfree86/getconfig
2005-10-01 07:17:55 +00:00
Alan Coopersmith
abc6aa50fb
Oops - fix build/install of fbdevhw.man
2005-10-01 06:27:12 +00:00
Alan Coopersmith
13e0db19d8
Adding more doc files & fbdevhw man page
2005-10-01 06:19:02 +00:00
Thomas Winischhofer
b5ce065a5e
RandR: Fix failure handling ( Closes #4635 ; Thomas Winischhofer)
2005-09-30 08:54:44 +00:00
Alan Coopersmith
4608a2b654
Man page processing/installation and other doc file updates
2005-09-30 02:37:57 +00:00
Adam Jackson
aa74468aa5
sparse cleanups. s/0/NULL/ and mark a few things static.
2005-09-30 02:03:45 +00:00
Søren Sandmann Pedersen
c65fde5343
Make the server distcheck:
...
- Fix up the XpConfig directory to remove the stuff it installs
- Add a few files to CLEANFILES here and there
2005-09-28 20:38:42 +00:00
Eric Anholt
58abce3f90
- Use the dirty flag (which should be set correctly all the time,
...
particularly thanks to Prepare/FinishAccess) to avoid DFS/memcpy on
pixmap move-out if it's unnecessary. This was disabled in KAA because
cache misuse on ATI made me guess that this code was wrong.
- Unwrap Glyphs on closescreen.
2005-09-28 20:01:37 +00:00
Alan Coopersmith
f53404bdbb
Add kbd_mode build system
2005-09-28 16:55:25 +00:00
Ian Romanick
940158a6f2
Replace all uses of __glEvalComputeK (and the doubly redundant
...
EvalComputeK) with calls to one of __glMap[12][df]_size. This was
tested with progs/samples/eval (from Mesa).
2005-09-28 03:37:22 +00:00
Alan Coopersmith
806d74bc06
Add __SVR4 #ifdefs to work in non-Imake builds.
2005-09-28 01:57:47 +00:00
Kevin E Martin
88957862b8
Fix distcheck build and install errors.
2005-09-27 23:28:46 +00:00
Kevin E Martin
1c2e8b1ecc
Fix make dist to include only sgml files.
2005-09-27 15:11:56 +00:00
Kevin E Martin
ca64aab609
Add build system for building docs and fix setuid issues.
...
Add build system for sgml docs.
2005-09-27 14:09:31 +00:00
Kevin E Martin
1a4e30d508
Include xorg-config.h so the generated file will also include it.
2005-09-27 13:47:26 +00:00
Alan Coopersmith
8907195d78
Take care of more files from monolith's Xserver/hw/xfree86/etc dir:
...
hw/xfree86/utils/ioport/Makefile.am
Add ioport and pcitweak utils from monolith hw/xfree86/etc dir.
Generate xf86DefModeSet.c from vesamodes & extramodes
Add apSolaris.shar to EXTRA_DIST
2005-09-26 20:58:26 +00:00
Alan Coopersmith
0531c4be2f
alanc@alf:/export/alanc/X.org/head/cvs-rw/xc [7:40pm - 628] head -14
...
ChangeLog
include xorg-config.h for modular build
Adjust XF86CONFIG defines for modular build
Fixes for modular build:
- include modular server config headers
- change default XCONFIGFILE to xorg.conf
- define XKB_RULES_DIR if not defined by Imake
2005-09-26 02:41:38 +00:00
Alan Coopersmith
256fa24945
Add SecurityPolicy file for XCSECURITY extension.
...
Add README to EXTRA_DIST
2005-09-25 17:48:09 +00:00
Bogdan Diaconescu
54639964cc
Changed the license to a X/MIT one
2005-09-24 21:56:00 +00:00
Adam Jackson
3192f400c7
Disable the {Open,Close}FullScreen DRI protocol. Remove empty FullScreen
...
stubs from drivers, comment the non-empty ones.
2005-09-24 18:45:45 +00:00
Alan Coopersmith
a5477ae7ac
Add scanpci, xorgcfg, & xorgconfig utilities.
2005-09-24 02:40:51 +00:00
Alan Coopersmith
7554e1bf29
Sun bug #6321613
...
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6321613 >
xorgcfg dumps core when it reads a configuration file that has a
Monitor Section, but does not have a "VendorName" entry inside it.
(Henry Zhao, Sun Microsystems)
2005-09-23 00:27:07 +00:00
Alan Hourihane
99793543c0
put back some agp related allocation messages
2005-09-22 12:40:41 +00:00
Alan Hourihane
02566dff4a
fix typo
2005-09-22 12:33:36 +00:00
Eric Anholt
56e7766c77
Bug #4541 : Fix text drawing in the case where a list contains no
...
non-zero-sized glyphs. Several variables weren't updated, resulting in
rendering simply stopping when this case was hit. (Anders Kaseorg)
2005-09-21 22:26:07 +00:00
Eric Anholt
361a9eb953
- Change migration-in rule slightly: previously, if your score was less
...
than the max, it was bumped, and then if you were above the threshhold
you got moved in. Instead, do the above-threshhold check separate from
score starting out less than max. While this will likely make thrashing
cases worse, I hope it will fix some issues with long term performance
(think of an xcompmgr with a backbuffer it's doing only accelerated
operations to. If some new pixmap comes in and bumps it out, even once,
it will never get a chance to re-migrate because its score will be
maxed). Change migration-out to be the same way for symmetry, though it
shouldn't ever affect anything.
- Fix a lot of debugging output, both in terms of printing quality, and
completeness. The fallback debugging covers a lot more now, pointing
out new areas for improvement. Debugging toggles are now centralized in
exaPriv.h.
2005-09-21 10:27:53 +00:00
Eric Anholt
6a29c4cec1
Add support for hardware accelerating tiled background painting. One
...
example of this is the root weave, which paints slightly slower on SiS
now in my testing. However, according to keithp some apps use this
feature for a sort of cheap backing store, which this could help with
significantly. While I haven't done much performance testing with it,
it will at least rule out one possible source of terrible performance.
2005-09-21 07:43:01 +00:00
Adam Jackson
1115ff4c00
Bug #4487 : Add the bsd subdir to DIST_SUBDIRS. (Joshua Baergen)
2005-09-21 00:38:05 +00:00
Adam Jackson
b7e723ed6f
Missing backslash
2005-09-20 23:32:21 +00:00
Alan Coopersmith
15b2f94de5
Update CVS project tag & notice about pci.ids license in output .h.
...
Update to match recent changes to pci.ids, extrapci.ids, & pciid2c.pl for
people building on systems without perl.
2005-09-20 18:26:24 +00:00
Alan Coopersmith
7d0f47c43c
Add --disable-install-setuid option so you can build as non-root and
...
chown/chmod later. Also disable by default on platforms that don't need
setuid root X servers (Darwin & SPARC's, according to
InstallXserverSetUID settings in the old Imake config files).
2005-09-20 15:50:31 +00:00
Alan Coopersmith
b623c60745
Linux/Alpha support (Stefaan De Roeck)
2005-09-19 22:44:49 +00:00
Alan Coopersmith
bd906c6bb8
Update to latest version from pciids.sf.net
...
Sync with updates to pci.ids & PCI id list in nv driver
2005-09-19 18:54:05 +00:00
Alan Coopersmith
535cd292c8
#include "xf86Axp.h" -> "shared/xf86Axp.h" for modular build. (Stefaan De
...
Roeck)
2005-09-19 18:38:26 +00:00
Eric Anholt
a1bcf25a1f
Break EXA ABI while we still can. Add coordinates to the UploadToScreen
...
hook so we can upload a subset of a pixmap, and convert the current
drivers to respect that. Use this support to directly UploadToScreen in
exaGlyphs, providing a 47.4% +/-2.4% decrease in wall time for ls -lR
programs/Xserver in an antialiased gnome-terminal on an M6 (n=3, caches
hot). I would have bumped major version, only I can't tell what the
EXA_VERSION_* is supposed to be doing as opposed to the module version.
2005-09-18 02:32:23 +00:00
Eric Anholt
074913c8a9
- Don't try to upload 0 byte-per-pixel (PICT_a1) data using
...
RADEONHostDataBlit.
- Disable the shortcut for switching from 3d to 3d in radeon_exa.c. It
appears that we do need the cache flush here, thought it's not clear
why. Disable the 2d to 2d shortcut while here, since I'm unsure of what
we're doing. Exposed by the following bit:
- Bug #4485 : Add a new routine, exaGlyphs, to handle font drawing. Glyphs
were being accumulated in from non-migratable scratch pixmaps, causing
the destination pixmap to move towards screen but the migration
necessary for source never to happen, leading to abysmal performance.
Instead, copy the scratch glyph data into a real pixmap first, then
composite from that into the destination, allowing for migration. time
ls -lR from programs/Xserver showed 26.9% (+/- 6.3%) decrease in wall
time (n=3).
- Create exaDrawableUse* wrapping exaPixmapUse*, but which are aware of
windows needing backing store. Makes migration code prettier, and
ensures that composited windows will be migrated as normal when we turn
off cw for EXA. (issue brought up by keithp)
2005-09-17 20:02:02 +00:00
Eric Anholt
ef7eef0f68
Bug #4046 : Install the X.Org server setuid root. (David Schleef)
2005-09-15 05:55:21 +00:00
Eric Anholt
88d7eb1f7e
Bug #3889 : Create the log dir on install, and allow configuring
...
specifically that directory. Failure to have the directory keeps the
xorg server from starting.
2005-09-15 05:06:54 +00:00
Eric Anholt
25a0ecdc18
Don't put a version number on the module filename.
2005-09-15 04:07:19 +00:00
Eric Anholt
0888ad3874
Build xf8_32bpp, which is wanted by the mga driver, and export elf.h, which
...
is wanted by the rendition driver.
2005-09-14 07:49:22 +00:00
Eric Anholt
dfb5da93bc
Turn on DRI by default on Linux, NetBSD, FreeBSD, and fix the build of the
...
module for FreeBSD by setting some missing defines (XFree86Module,
IN_MODULE) in the dri directory. Note that those missing defines should
be somewhere generic, since there are other consumers of them, but I
haven't figured out where.
2005-09-13 20:59:05 +00:00
Eric Anholt
12fbcfefe6
Add some initial BSD support for the xorg server. Incomplete on NetBSD,
...
OpenBSD, and non-i386/amd64 FreeBSD for sure. Plus I haven't actually
run it yet.
2005-09-13 18:37:35 +00:00
Eric Anholt
133edff1b4
Don't define POSIX_SOURCE on any BSDs, since it breaks things.
...
Define NO_SYS_HEADERS, as the monolithic build does. Helps FreeBSD.
Don't include validate.c in the library, since it seems to be a userland
test program.
2005-09-13 05:44:47 +00:00
Daniel Stone
c3d6799cee
Bug #594 : CAN-2005-2495: Fix exploitable integer overflow in pixmap
...
creation, where we could create a far smaller pixmap than we thought,
allowing changes to arbitrary chunks of memory. (Søren Sandmann
Pedersen)
2005-09-13 01:33:19 +00:00
Adam Jackson
b290884719
Bug #3284 : Make the DRI lock reference count per-screen.
2005-09-13 00:44:52 +00:00
Eric Anholt
b0f6fe1f38
Add some optional (disabled) fallback debugging code to the async code, for
...
better tracking of when we're hitting software.
2005-09-11 21:38:41 +00:00
Eric Anholt
1c003ccf5d
Add a pair of hooks, PrepareAccess() and FinishAccess(), which get called
...
around CPU access to the framebuffer. This allows the hardware to set
up swappers to deal with endianness, or to tell EXA to move the pixmap
out to framebuffer if insufficient swappers are available (note: must
not fail on front buffer!).
Submitted by: benh
2005-09-11 19:08:10 +00:00
Adam Jackson
ca210830bd
Simplify life for EXA drivers by reducing some {Con,Dis}joint ops.
2005-09-11 18:43:55 +00:00
Eric Anholt
2f9d01c968
Remove some references to mfb/cfb support that is no longer there.
2005-09-08 01:15:47 +00:00
Daniel Stone
c8de8c23fb
Fix tests for maximum number of colours when creating a colourmap, so a
...
32-bit visual (e.g. ARGB) doesn't overflow an int when attempting to do
1 << 32. (Benjamin Herrenschmidt)
2005-09-05 07:43:51 +00:00
Jesse Barnes
733a6d7a26
Add EXA driver writer documentation for the benefit of future generations
...
of X hackers.
2005-09-03 02:21:36 +00:00
Daniel Stone
94fbdb5c6d
Make RGB_PATH configurable.
...
Move I2C modules back to $(moduledir)/multimedia.
2005-09-01 14:56:35 +00:00
Alan Coopersmith
9d3b5e89d6
Save keyboard LED state on startup and restore on exit so text console mode
...
LEDs match text console mode state. Move push of streams module earlier
so it's loaded before we start using kbd ioctls provided by the streams
module.
2005-08-30 22:34:14 +00:00
Kristian Høgsberg
fa6fbd018d
Use the $(moduledir) makefile variable instead of @moduledir@ so it can be
...
overridden at make install time.
Remove driverdir and inputdir from pkg-config file. The directory layout of
moduledir is fixed and well known by drivers.
2005-08-30 22:31:52 +00:00
Alan Hourihane
b4f4bf028a
programs/Xserver/hw/xwin/winmultiwindowshape.c Fix off by one error (Colin
...
Harrison)
2005-08-30 19:51:59 +00:00
Adam Jackson
0e50af8b7f
typo fix
2005-08-30 19:35:06 +00:00
Eric Anholt
0c74799af4
Remove existing broken maxX/maxY code for composite (results in infinite
...
loops, doesn't deal with failure, doesn't present the interface to
drivers that I expected) and instead replace it with a simple fallback
to software when coordinate limits could be violated. Act similarly in
other acceleration cases as well.
The solution I want to see (and intend to do soon) is to (when necessary)
create temporary pictures/pixmaps pointing towards the real ones' bits,
with the offsets adjusted, then render from/to those using adjusted
coordinates.
2005-08-30 04:41:04 +00:00
Adam Jackson
0926cf79c0
Add diagnostic messages for exaDriverInit failure cases.
2005-08-26 20:21:57 +00:00
Adam Jackson
5ffff7cb86
Bug #4160 : Fix Altix kernel version check.
2005-08-26 20:08:09 +00:00
Daniel Stone
6b0cdc5dd9
Change use of dix-config.h to xorg-config.h.
2005-08-26 16:46:41 +00:00
Daniel Stone
9d1b349b37
Back out previous change until I figure out something smarter.
2005-08-26 16:34:55 +00:00
Daniel Stone
3075df24e7
Subvert SIGUSR2 to reload all input devices. (Ubuntu #020 )
2005-08-26 07:35:55 +00:00
Daniel Stone
89c84575ea
Undo rate/period change after function body, so the damage doesn't leak
...
into other functions. (Debian #050 )
2005-08-26 07:24:21 +00:00
Daniel Stone
bb5e934df7
Only open /proc/bus/pci/devices once. (Ubuntu #029 )
2005-08-26 07:15:04 +00:00
Daniel Stone
c937faadd0
Better error message on failure to set iopl. (Debian #021 )
2005-08-26 06:48:24 +00:00
Daniel Stone
6d34a2ac8a
Add Xv symbol from Xext.
2005-08-26 06:35:00 +00:00
Daniel Stone
b8f0d4c3eb
Spit out an error when there is no valid FB device, instead of just failing
...
silently. (Debian #070 )
2005-08-26 06:29:15 +00:00
Daniel Stone
b48a24e796
Don't assume that all sun4m CPUs support muldiv; the Cypress CPU, which
...
implements the 4m MMU but only v7 instructions, does not. (Debian
#100 ).
2005-08-26 06:23:41 +00:00
Daniel Stone
fd158d3d52
Get prototype for ntohl from SuSv3-compliant location, fixing it for
...
systems which define ntohl as a macro only, not both macro and
function. (Debian #076 )
2005-08-26 05:49:44 +00:00
Daniel Stone
53e489c0e3
Work around ATI expansion ROM problem on IA64 caused by prototype HP
...
McKinley systems. (Bdale Garbee)
2005-08-26 05:47:36 +00:00
Daniel Stone
40374d1149
Accept 'Enabled' and 'Disabled' for Extensions section (Ubuntu #990 )
2005-08-26 05:00:07 +00:00
Søren Sandmann Pedersen
54cc45b09b
Thu Aug 25 17:15:01 2005 Søren Sandmann <sandmann@redhat.com>
...
Add all the drivers to the module_LTLIBRARIES instead of having separate
variables for them. Pointed out by Kristian Høgsberg.
2005-08-25 21:22:41 +00:00
Kristian Høgsberg
ff22adc097
Remove sun_inout.s so make dist works (discussed with Alan Coopersmith).
2005-08-25 14:19:43 +00:00
Alan Coopersmith
344a24b622
Use system curses library on Solaris for xorgcfg text mode.
2005-08-25 04:09:45 +00:00
Eric Anholt
0711502f18
Bugzilla #4226 : Change the pixmap migration strategy for the CopyNtoN case.
...
Now, if either source or dest were in framebuffer, try to get both
there, but prefer system memory for both otherwise. Required making
exaasync.c go through the try-acceleration path. This significantly
improves window resizing under composite, because previously the
pattern of creating a new pixmap and copying default contents from the
screen caused a fallback every time due to the new destination pixmap
being in system memory.
2005-08-24 23:48:11 +00:00
Eric Anholt
2261710fe0
Fix a bug where NULL could be dereferenced during the pixmap kick-out
...
process by referencing the correct offscreen area. Also drive-by the
comments related to these for clarity.
2005-08-24 23:38:25 +00:00
Eric Anholt
55c5c6953a
Bugzilla #4090 : Introduce getters for pixmap pitch and offset, to
...
simplify/clarify it for driver writers who probably don't want to know
what pPixmap->devPrivate.ptr or pPixmap->devKind mean. Converts the sis
driver to use them, and bumps the EXA module minor version.
2005-08-24 22:43:27 +00:00
Alan Coopersmith
079ad773e0
Fill in xf86DeallocateGARTMemory stub based on lnx_agp.c version. Add
...
include of xorg-config.h for modular builds
2005-08-24 22:37:15 +00:00
Eric Anholt
8fd250e5e4
Bugzilla #4089 : Fix crashes in !EXA_OFFSCREEN_PIXMAPS case by not trying to
...
do migration when the EXA pixmap private is NULL.
2005-08-24 21:51:28 +00:00
Kristian Høgsberg
79dc5f3d5f
Don't export non-standard symbols generated GCCs stack protection feature
...
(__guard, __stack_smash_handler).
2005-08-24 21:28:40 +00:00
Søren Sandmann Pedersen
d2952de6e3
Wed Aug 24 15:39:07 2005 Søren Sandmann <sandmann@redhat.com>
...
Add GLX_{INC,LIBS} for xprint.
Add @DIX_FLAGS@ to AM_CFLAGS
2005-08-24 19:41:43 +00:00
Søren Sandmann Pedersen
81e708440c
Wed Aug 24 15:29:50 2005 Søren Sandmann <sandmann@redhat.com>
...
Conditionally include dix-config.h
Conditionally include dix-config.h
2005-08-24 19:35:51 +00:00
Alan Coopersmith
9657e0e9de
Don't try to build dmx/input/lnx-*.c if <linux/keyboard.h> isn't found
...
Don't try to build dmx/input/usb-*.c if <linux/input.h> isn't found
Replace -rdynamic with $(LD_EXPORT_SYMBOLS_FLAG) for compatibility with
compilers other than gcc
2005-08-24 15:18:06 +00:00
Daniel Stone
825a95a1fa
Remove use of dix-config and xorg-config.h from public headers.
2005-08-24 11:18:35 +00:00
Alan Coopersmith
9f498a37dd
Display more friendly mouse protocol names. Enable mouse wheel mapping by
...
default.
2005-08-23 20:58:29 +00:00
Alan Coopersmith
cff4b1c216
Check for getconfig in GETCONFIG_DIR if it's not found in module dir.
2005-08-23 20:12:26 +00:00
Alan Coopersmith
e848eb289c
Rename app-defaults entries from xf86cfg to xorgcfg to match name passed to
...
XtAppInitialize. (Henry Zhao, Sun Microsystems) Also, display vendor
version instead of 4.0 for server version.
2005-08-23 01:14:35 +00:00
Alan Coopersmith
6076fca825
User message cleanups/updates for modern configurations.
2005-08-23 00:32:27 +00:00
Kevin E Martin
4a19a33db6
bugzilla #2880 ( https://bugs.freedesktop.org/show_bug.cgi?id=2880 )
...
attachment #2987 (https://bugs.freedesktop.org/attachment.cgi?id=2987 )
Use system method to access PCI config space for inb and inw in
addition to inl (Olivier Baudron and Kevin Martin).
2005-08-22 21:29:18 +00:00
Alan Hourihane
7693f668ef
programs/Xserver/hw/xfree86/os-support/linux/lnx_acpi.c
...
programs/Xserver/hw/xfree86/os-support/linux/lnx_apm.c
programs/Xserver/hw/xfree86/os-support/linux/Imakefile Add basic ACPI Linux
support so that events can be passed to the driver. (Alan Hourihane)
2005-08-22 12:05:18 +00:00
Daniel Stone
02c834f198
Include Xv and XvMC headers in the SDK.
2005-08-22 09:15:31 +00:00
Daniel Stone
5881051738
Huge cleanup. Group into sections: hardware feature detection, extension
...
detection/configuration, DDX options. Make building of Xorg DDX fully
optional. Clarify and correct some help texts. Change all comments to
use dnl instead of #. Quote all tests correctly, and guard
pure-variable tests with 'x' (e.g. test $DMX = yes -> test "x$DMX" =
xyes). Since the DDXes seem to have pretty divergent extension support
these days, get rid of EXTENSION_LIBS, DMX_EXTENSIONS and
XPRINT_EXTENSIONS, and go back to building extension lists by hand in
the DDX-specific sections. Use portable POSIX constructs everywhere
(e.g. test foo && test bar, instead of test foo -a bar).
Clean up old cruft.
Set _XSERVER64 on 64-bit architectures, and use x86_64 for host_cpu instead
of amd64 (Jürg Billeter).
2005-08-21 19:15:11 +00:00
Daniel Stone
367f450739
Change xorg_bus_sbus to xorg_bus_sparc; build sparcPci.c on all SPARCs.
2005-08-21 08:43:46 +00:00
Daniel Stone
71b3fea94e
Typo fix (SOURCE -> SOURCES).
2005-08-21 08:24:52 +00:00
Daniel Stone
db2909ce76
Add test for SPARC. Build SparcMulDiv.S on all SPARCs.
...
Make the default font path configurable.
2005-08-21 06:56:19 +00:00
Adam Jackson
d96e666686
Add sparcPci.c to EXTRA_DIST.
2005-08-20 18:52:07 +00:00
Daniel Stone
a402c876a4
Make DRI/GLcore builds srcdir != builddir safe, and invoke symlink-mesa.sh
...
in our builddir, not our srcdir.
2005-08-20 18:11:17 +00:00
Daniel Stone
abab3fd628
Make Xext linkage srcdir != builddir safe.
2005-08-20 18:09:21 +00:00
Daniel Stone
bb1d99ee72
Build libxkbstubs.la to stub XKB DDX functions (e.g. VT switches), and
...
build libxorggxkb.la from within the Xorg DDX to replace the previous
xf86VT.o, et al, hacks.
2005-08-20 18:07:59 +00:00
Alan Coopersmith
a0366ddb8c
Replace gnu-makeism with portable rules
2005-08-18 17:14:11 +00:00
Alan Coopersmith
ea5c49cb17
//bugs.freedesktop.org/show_bug.cgi?id=2901> Patch #2331
...
<https://bugs.freedesktop.org/attachment.cgi?id=2331 > Lines ending in
<backslash><space> break with cpp from gcc >= 3.3 (Peter Breitenlohner)
2005-08-18 01:40:33 +00:00
Alan Coopersmith
22694500e0
Add xf86Sbus.h to EXTRA_DIST files (bugzilla #4128 )
2005-08-17 23:20:27 +00:00
Søren Sandmann Pedersen
ad7f2fc673
symlink.sh: Temporarily disable xkbdata, add type1mod.c
...
Tue Aug 16 12:09:09 2005 Søren Sandmann <sandmann@redhat.com>
Add ft and type1 modules.
2005-08-16 16:21:09 +00:00
Alan Coopersmith
24597a1ee2
2005-08-15 Alan Coopersmith <alan.coopersmith@sun.co>m
...
Convert sunPostKbdEvent to use xf86ProcessAction like xf86PostKbdEvent.
2005-08-16 00:40:25 +00:00
Alan Coopersmith
b86282b764
Set ZAxisMapping default to "4 5 6 7".
2005-08-15 23:48:35 +00:00
Søren Sandmann Pedersen
a6c8d0d71e
Mon Aug 15 15:41:26 2005 Søren Sandmann <sandmann@redhat.com>
...
Link this module with libXext.la.
Mon Aug 15 14:56:57 2005 Søren Sandmann <sandmann@redhat.com>
Remove the xkb* files.
Add xkbVT.o and friends as the last things on the link line so they will
override the symbols in libxkb.a. Add a comment on how this situation
might not be considered ideal.
2005-08-15 19:42:48 +00:00
Søren Sandmann Pedersen
46aede552a
Mon Aug 15 14:56:57 2005 Søren Sandmann <sandmann@redhat.com>
...
Remove the xkb* files.
Add xkbVT.o and friends as the last things on the link line so they will
override the symbols in libxkb.a. Add a comment on how this situation
might not be considered ideal.
2005-08-15 18:59:16 +00:00
Dave Airlie
809906a754
make mouse support work - note you need to change the evdev devices in the
...
source.. hacky...
2005-08-15 08:24:45 +00:00
Alan Hourihane
fe5abff38e
Egbert's 64bit fixes for mixed 32/64bit clients
2005-08-15 07:30:05 +00:00
Eric Anholt
ebedc8bbb5
- Fix the exa pixmap offset/pitch alignment to deal with non-POT alignment
...
requirements. MGA, notably, uses a multiple of 3 in some cases.
- Rename the pixmap offset/pitch alignment fields to more clearly state
their meaning.
2005-08-14 19:46:55 +00:00
Daniel Stone
e3509c940f
Don't link libXext, as it is linked in to the server also.
2005-08-14 16:24:30 +00:00
Daniel Stone
05071ae0fb
Don't link in libx86emu.a as this a) fails badly on non-x86 systems, and b)
...
is done via x86emu.c including all the source files anyway.
2005-08-13 07:41:33 +00:00
Alan Coopersmith
1ffe9ceb2f
Oops, forgot a file in earlier Solaris kbd commit
2005-08-13 06:15:35 +00:00
Alan Coopersmith
c29051f9d1
Add LintTarget()
...
Bugzilla #1068 <https://bugs.freedesktop.org/show_bug.cgi?id=1068 > Port
Solaris keyboard code to work with kbd driver.
Also incorporated "audio bell" feature from Xsun keyboard DDX to play bell
tones via /dev/audio (specified via Option "BellDevice" "/dev/audio" in
keyboard device options).
2005-08-13 00:11:28 +00:00
Alan Coopersmith
5f5117729d
Fix segfault when "kbd" fails to load and "keyboard" driver is not
...
configured.
2005-08-12 01:17:58 +00:00
Søren Sandmann Pedersen
13e16ee93a
Thu Aug 11 11:43:32 2005 Søren Sandmann <sandmann@redhat.com>
...
Make sure we don't crash on glyphs with NULL bits. Bug 659.
2005-08-11 15:46:42 +00:00
Jon Smirl
73a335a926
Point xegl at the DRI driver
2005-08-09 16:51:05 +00:00
Jon Smirl
29d0ba9f06
Touchup xgl for modular tree
2005-08-09 15:58:20 +00:00
Alan Coopersmith
435e2a09de
//bugs.freedesktop.org/show_bug.cgi?id=3950> Xorg prints version numbers in
...
wrong format for modules compiled for Xorg 6.99 & later (Adam Jackson &
Alan Coopersmith)
2005-08-09 01:18:04 +00:00
Søren Sandmann Pedersen
5849c69db8
Mon Aug 8 13:39:45 2005 Søren Sandmann <sandmann@redhat.com>
...
Conditionally include xorg-config.h
2005-08-08 18:02:08 +00:00
Keith Packard
a11ce76b06
Build with modular X.org libraries and headers.
...
composite/compwindow.c Don't damage unmoved windows. Let border clip reset
leave damage alone, pending actual damage for painting.
2005-08-08 06:25:21 +00:00
Keith Packard
4dfc3357a7
Add autogenerated source files and other various non-CVS material to
...
.cvsignore files
Use XORG_CFLAGS. Ensure that all exa files are in SOURCES
remove _XOPEN_SOURCE as it's always in xtrans.pc these days and gcc whines
libdamage.la needs libcw.la when COMPOSITE is defined, but that
libdamage.la must be after libcomposite.la, so add libcw.la to
DAMAGE_LIB instead of EXTENSION_LIBS. Regularize library link order
across all X servers
2005-08-08 00:38:41 +00:00
Chris Lee
3639fb2434
Enabling EXA by default in the modular build.
2005-08-06 23:56:18 +00:00
Chris Lee
a16357ebc9
Last bits of changes to make exa build properly in the modular server.
2005-08-06 23:46:38 +00:00
Chris Lee
cc67bd187f
EXA support in the modular build.
2005-08-06 23:34:09 +00:00
Chris Lee
33326f4ee8
Adding exa support to the modular server.
2005-08-06 23:27:33 +00:00
Alan Coopersmith
fc29d014aa
Merge in patch release RC handling code from 6.8.2 (Kevin Martin)
2005-08-06 16:29:20 +00:00
Alan Coopersmith
9828a38ed6
Solaris build fixes needed for modular builds
2005-08-06 03:14:50 +00:00
Matthew Allum
4220a0c4cc
Make Xephyr work without shadow fb
2005-08-05 09:08:32 +00:00
Adam Jackson
fedbce2186
EXTRA_DIST hacks to get all the OS support files into the tarball.
2005-08-05 00:13:31 +00:00
Adam Jackson
39a80312e0
- Bug #3960 : Add remaining GLX and pci.ids stuff to DIST (Cha Young-Ho,
...
Olli Helenius)
- Fix some distcheck problems for non-solaris systems
- Change server version number from the Xorg rev to an independent one
- _POSIX_SOURCE and _XOPEN_SOURCE defined to the right values
2005-08-04 22:31:20 +00:00
Alan Coopersmith
13bec87f45
Fix inline assembly versions of in*/out* for Sun compilers Add check for
...
ancient USL console code on Solaris to allow building on old Solaris
x86 versions
2005-08-04 02:39:56 +00:00
Alan Coopersmith
d7c246f35b
Only build ix86Pci.c on x86 & amd64 platforms Set DEFAULT_INT10 to x86emu
...
on everything but Linux/x86 Fix Sbus.c inclusion on sparc platforms
2005-08-02 23:57:52 +00:00
Keith Packard
bb5258a21d
Mark generated files as BUILT_SOURCES and CLEANFILES to ensure they are
...
regenerated after 'make clean' and to make parallel builds work right.
2005-08-02 17:57:36 +00:00
Keith Packard
0c608a690e
Note yacc and lex generated files as BUILT_SOURCES so they are created
...
before anything is compiled; required for parallel builds
2005-08-02 06:48:20 +00:00
Adam Jackson
d31de217e6
distcheck fixes
2005-08-02 03:36:09 +00:00
Alan Coopersmith
005a9cf1f5
Fix Solaris assembly source to work with libtool
2005-08-02 01:03:25 +00:00
Adam Jackson
2d7b1893be
- Workaround for AS_HELP_STRING compatibility with older autoconf.
...
- New intermediate build target for Xorg server
- ia64 fixes
2005-08-02 00:41:07 +00:00
Adam Jackson
b7a43fa0f1
Bug #3739 : Fail soft on unknown extension string.
2005-08-01 19:00:21 +00:00
Alan Coopersmith
fd84b3b562
Clear compiler warnings. (Stefan Dirsch)
2005-07-30 18:56:32 +00:00
Kevin E Martin
2654f88cee
Fix code to handle printing 7.0 release candidates properly.
2005-07-29 18:40:54 +00:00
Kevin E Martin
86529c07d6
Fix distcheck for server
2005-07-28 23:28:34 +00:00
Alan Coopersmith
3e4bf8a8f4
Rework wrapping of common mouse driver to not require mousePriv.h, so that
...
modular tree xserver can be built on Solaris. Wrap more ioctls in
SYSCALL() to restart on signals.
2005-07-28 02:38:23 +00:00
Kevin E Martin
7bd6b0640e
Add #include <dmx-config.h> for building dmx/glxProxy in the modular tree.
2005-07-27 08:16:35 +00:00
Kevin E Martin
b9ccd89918
Fix dmx/glxProxy build
2005-07-27 08:11:26 +00:00
Søren Sandmann Pedersen
8f6664fcff
Add these files to the sdk:
...
cbf32.h cfb16.h cfbmap.h cfbunmap.h cfbunmap.h cfbmskbits.h xf86sbusBus.h
mifillarch.h mispans.h
2005-07-26 23:40:45 +00:00
Søren Sandmann Pedersen
3cbb55f309
Install xorgVersion.h
2005-07-26 22:17:27 +00:00
Søren Sandmann Pedersen
b25e6f82a1
fb/Makefile.am: add fbpseudocolor.h to sdk_HEADERS
...
hw/xfree86/xaa/Makefile.am: add xaaWrapper.h to sdk_HEADERS
2005-07-26 18:21:22 +00:00
Alan Coopersmith
e7502158d6
Add xf86DeallocateGARTMemory stub so that Xorg can be built on Solaris
...
again.
2005-07-24 16:24:17 +00:00
Stuart R. Anderson
a5532e456d
Change the default depth back to 8 like it was originally. Disable the
...
addition of depth 12 & 30. It causes more than MAXFORMATS depths to be
added to the screen which causes an array in the Screen structure to
overflow and crash on server reset.
2005-07-23 18:16:06 +00:00
Alan Hourihane
bf32f4739c
programs/Xserver/hw/xfree86/os-support/shared/agp_noop.c
...
programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c
programs/Xserver/hw/xfree86/os-support/xf86_OSproc.h
//bugs.freedesktop.org/show_bug.cgi?id=3164> Add xf86DeallocateGARTMemory()
function call (Austin Yuan)
2005-07-19 20:51:46 +00:00
Alan Coopersmith
931abdba84
Change #include "X.h" to <X11/X.h>
2005-07-19 02:50:00 +00:00
Daniel Stone
4f2e731aba
objdir != srcdir fixes.
2005-07-17 07:34:31 +00:00
Adam Jackson
d69e9872ae
Typo fix, and re-add GLcore to the dixmods build
2005-07-16 16:29:30 +00:00
Alan Coopersmith
8bc883c48c
Update build instructions. Add details about how the expat, fontconfig,
...
libpng, freetype, and xterm builds are now handled.
Update text docs from SGML masters.
2005-07-16 09:00:44 +00:00
Alan Coopersmith
8e600b8764
Only pass -rdynamic when using gcc
2005-07-16 07:39:48 +00:00
Kevin E Martin
5f81eb1d89
Fix the *-config.h includes so that it is possible to build modules without
...
having to use -include in the Makefile.
2005-07-16 03:49:59 +00:00
Kevin E Martin
0635acab08
Add record module building support Change module building to not use
...
-include Fix xnest, dmx and vfb builds to -DXFree86Server for fbcmap
compilation
2005-07-16 03:46:01 +00:00
Alan Coopersmith
92b23ff426
Update to match recent changes to pci.ids & extrapci.ids for people
...
building on systems without perl.
2005-07-16 01:17:52 +00:00
Kevin E Martin
2f0487521d
Fix the *-config.h includes for the files that have moved in the modular
...
tree.
2005-07-15 23:08:31 +00:00
Kevin E Martin
a407fa373b
Move drm up to os-support since the files are shared by multiple platforms.
...
Fix the dri and drm build. Fix server-side DMX extension build. Make
xf4bpp use the correct version of mfbline.c for mfbseg.c. Add #ifndef
_HEADERNAME_H_/#define _HEADERNAME_H_/.../#endif to the headers.
2005-07-15 22:51:05 +00:00
Adam Jackson
0e352a8b2b
disable GLcore momentarily until a build system exists. --enable-glx should
...
work now.
2005-07-15 21:59:39 +00:00
Kevin E Martin
defeb56fc9
Fix the build when DRI is enabled
2005-07-14 22:20:16 +00:00
Kevin E Martin
6b546d0ec0
Add #include <xnest-config.h> to the Xnest source files for modularization.
2005-07-14 03:36:44 +00:00
Kevin E Martin
7375f4d136
Add support for Xnest
2005-07-14 03:32:09 +00:00
Alan Coopersmith
c582560c62
Add partial in*/out* assembly support for Sun compilers on x86
2005-07-14 02:59:34 +00:00
Adam Jackson
64bf3a81a3
loadable extmod build system.
2005-07-14 02:53:31 +00:00
Adam Jackson
6c96e0c9e4
loader support for extmod
2005-07-14 01:36:58 +00:00
Alan Coopersmith
8ea4a1b759
First pass at Solaris os-support
2005-07-14 01:00:39 +00:00
Søren Sandmann Pedersen
f07e905553
- Add build system for xf86-video-ati
...
- Add build system for xserver/xorg/hw/xfree86/dri
- Add glcore.h to symlink.sh
- Symlink.sh: add some more DRI files, symlink glcore.h from
extras/Mesa/include/GL/internal to proto/GL
- proto/GL/Makefile.am: install glcore.h
- xf86-video-ark: s/module-dir/xorg-module-dir/
2005-07-14 00:28:47 +00:00
Alan Coopersmith
939b7720f1
Merge SVR4/pre-Solaris 8 and Solaris 8+ sections for greater consistency,
...
easier maintenance, and to fix some missing headers when building the
modular Xorg on Solaris.
2005-07-14 00:02:05 +00:00
Alan Coopersmith
4f38526566
- Use fbdevhwstub.c if <linux/fb.h> is not found
...
- Use x86emu on Solaris instead of vm86
- Better per-OS control over which xf86Kbd*.c and *Pci.c files to build
- Set various #defines to be defined or not on Solaris as needed
2005-07-13 22:54:02 +00:00
Adam Jackson
db8aa17f15
updated comment for libbitmap
2005-07-13 22:19:36 +00:00
Adam Jackson
4f9e76ed6a
Dear libtool: Loadable modules do not need version numbers. kthnxbye.
2005-07-13 22:09:52 +00:00
Adam Jackson
40ad7321f5
Generate useful loadable modules by actually linking in the blobs from the
...
DIX
2005-07-13 21:52:51 +00:00
Kevin E Martin
c2ec9fbb15
Only build Xi/stubs.c on DDXs that don't support the Xinput extension
2005-07-13 21:17:53 +00:00
Søren Sandmann Pedersen
74a534f63c
xc/programs/Xserver/hw/xfree86/drivers/i2c/*.c: include xorg-config.h
...
instead of config.h xserver/xorg/hw/xfree86/i2c/Makefile.am: Add i2c
drivers
2005-07-13 20:19:38 +00:00
Daniel Stone
66bc36473c
Use builddir, not srcdir, for built files.
2005-07-12 23:36:27 +00:00
Alan Coopersmith
d6808a48d2
Fix scanpci -v core dump when subsys vendor/device id's are NOVENDOR &
...
NODEVICE. Bug #3763 <https://bugs.freedesktop.org/show_bug.cgi?id=3763 >
Patch #3074 <https://bugs.freedesktop.org/attachment.cgi?id=3074 >
2005-07-12 18:16:03 +00:00
Lars Knoll
cda9c7b267
add x86emu.
2005-07-12 14:50:10 +00:00
Kevin E Martin
02427d4d04
Add support for building Xdmx and Xvfb
2005-07-12 01:20:36 +00:00
Kevin E Martin
e348ac4b4d
Prepare Xdmx and Xvfb for modularization by adding appropriate #include
...
<{dix,dmx}-config.h> to the source files.
2005-07-12 00:52:48 +00:00