Bram Verweij
be91a981df
xfree86/linux acpi: fix tokenising
...
Split on a space, rather on the 'video' string, as strtok takes a char,
not a string.
(cherry picked from 0567a6337b
commit)
2006-11-08 18:10:40 +02:00
Daniel Stone
66b2c9bd2d
add 'general socket' handler, port ACPI to use it
...
Add a general socket (not input device, but still need to be woken for it)
handler to both the DIX and XFree86, and make XFree86's ACPI handling use
it. This stops DPMS waking up every time an ACPI notification comes in.
2006-11-08 18:10:40 +02:00
Bjorn Helgaas
58653b676d
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.
(cherry picked from bd0c829654
commit)
2006-11-08 10:18:51 -05:00
Egbert Eich
93ae22b16b
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.
(cherry picked from c1828a8ff5
commit)
2006-11-08 10:17:58 -05:00
Matthias Hopf
816b95be37
Build with -D_PC on ix86 only.
...
(cherry picked from 46901063e8
commit)
2006-11-08 10:17:37 -05:00
Aaron Plattner
c969c7e10c
Fix standard VESA modes.
...
The built-in mode timings were off slightly for the 640x480@60, 640x480@72,
and 1024x768@75 modes.
(cherry picked from 97fd471a62
commit)
2006-11-08 09:56:23 -05:00
Myron Stowe
267dc25e5c
xfree86: re-enable chipset-specific drivers for Linux/ia64
...
Re-enable chipset-specific support for Linux/ia64, by linking in
lnx_ia64.c.
(cherry picked from 794f2e7291
commit)
2006-11-08 09:53:33 -05:00
Erik Andren
b94e320205
remove XFree86 changelogs (bug #7262 )
...
Without being able to tie these to specific commits, the text changelog is
useless, as well as being huge.
(cherry picked from 430411ae07ad74662e22da70563f757a931c72b9 commit)
2006-11-08 15:37:01 +02:00
Alan Coopersmith
f1ef85689a
Fix automake error: BUILT_SOURCES was defined multiple times on Solaris
...
(cherry picked from c03311a1e7
commit)
2006-11-03 13:13:38 -08:00
Matthieu Herrb
00e8237839
Handle building in a separate objdir
...
(cherry picked from 645d057620
commit)
2006-10-29 18:20:19 +01:00
Matthieu Herrb
dabf032853
kill GNU-make'ism.
...
(cherry picked from 59584c375f
commit)
2006-10-29 17:50:25 +01:00
Michel Dänzer
d12d0839fd
Fix test for Option "IgnoreABI".
...
This option has plenty of potential for wasting the time of bug triagers
without pretending it's always on.
(cherry picked from becbda6d51
commit)
2006-10-25 11:41:20 +02:00
Joshua Baergen
6e73c87c53
Create xorg.conf.example (Gentoo bug #138623 ).
...
(cherry picked from 62d2409793
commit)
2006-10-24 09:18:41 -07:00
Alan Coopersmith
fe32a0eb9f
Pre-release message should tell users to check git, not CVS, for updates
...
(cherry picked from e1dd1904c6
commit)
2006-10-19 14:28:12 -07:00
Alan Hourihane
a935222f93
Small modification to blocking signals when switching modes.
...
(cherry picked from d430e76a16
commit)
2006-10-16 12:39:38 +01:00
Alan Coopersmith
180e1bc979
Make sure xorgcfg files are included even when dist made with --disable-xorgcfg
...
(cherry picked from b9108a13fc
commit)
2006-10-13 19:06:19 -07:00
Alan Hourihane
7a995802b3
Block IO on switchmode just as we do for VT switching
...
to avoid cursor movements signalling io.
(cherry picked from cf948b7b04
commit)
2006-10-13 14:50:33 +01:00
Brian
d3c6688781
Check for visual==NULL in dmxBECreateColormap() before calling XCreateColormap()
...
to prevent potential segfault.
(cherry picked from f7c1d94241
commit)
2006-10-11 16:02:00 -04:00
Brian
32c293aa1c
The fbcmap.c file used by Xdmx _must_ be compiled with XFree86Server defined.
...
Otherwise, Xdmx generates a slew of protocol errors.
(cherry picked from 945b7c6394
commit)
2006-10-11 16:01:37 -04:00
Brian
26a94bab11
Replace broken DMXDBG3() with DMXDBG2()
...
(cherry picked from 891e9c3e6c
commit)
2006-10-11 16:01:27 -04:00
Aaron Plattner
b84fb534fb
Bug 8386: Grow parser buffers to fit an entire line if it's longer than CONFIG_BUF_LEN.
...
(cherry picked from c1655f0fd4
commit)
2006-10-11 16:01:08 -04:00
Drew Parsons
27f0a0066f
* Install Xprint's Xsession script to $(sysconfdir)/X11/Xsession.d
...
* Removing outdated references to CDE and dt, rename script to
92xprint-xpserverlist.
(cherry picked from 8b4ed47c5d
commit)
2006-10-11 16:01:00 -04:00
Donnie Berkholz
0790665ff0
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.
(cherry picked from d812f486a0
commit)
2006-10-11 16:00:34 -04:00
Adam Jackson
e862a70a38
Don't install librac.a.
...
Thanks, automake.
(cherry picked from f057de4f73
commit)
2006-10-11 16:00:25 -04:00
Adam Jackson
99d798d06b
Merge branch 'autoconfig-for-7.2' into server-1.2-branch
2006-10-11 15:59:54 -04:00
Adam Jackson
61f3eb816b
Back out merge of master to 1.2 branch. Undoes 89987ca...
...
Dear git: please make 'git-revert' work on merge commits kthnxbye.
2006-10-11 15:56:45 -04:00
Alan Coopersmith
4c34224630
Merge branch 'XACE-modular'
2006-10-06 18:01:13 -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
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
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
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
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
Adam Jackson
ebbdc1342a
Remove calls to LoaderCheckUnresolved(), since it's now a stub.
2006-08-28 18:17:32 -04: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
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
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
Matthias Hopf
73e58adda9
Fixed segfault w/ broken Xinerama configs.
2006-08-16 18:18:51 +02: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
Samuel Thibault
e641000b98
xfree86: add Hurd support ( #5613 )
...
Add support for GNU/Hurd.
2006-08-12 19:41:59 +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
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
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
David Nusinow
f54b71b772
Document enable/disable flag for AIGLX in xorg.conf manpage.
2006-08-06 18:11:00 +00:00
Eamon Walsh
9138d5a51e
Make SecurityLookupIDBy* part of the base functionality.
2006-08-03 18:24:04 -04: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
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
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
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
Kristian Høgsberg
3821f6aeaa
Unlibc-wrap DMX glxscreens.c and fix tag-removal typo.
2006-07-26 01:56:02 -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
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
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
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
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
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
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
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
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
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
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
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
Alan Coopersmith
88ede2cec7
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
2006-06-20 15:29:55 -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
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
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
Greg Kroah-Hartman
9fa73721f0
fix up EnableDisableExtension() and EnableDisableExtensionError() prototypes
2006-06-08 10:27:28 -07:00
Greg Kroah-Hartman
78f4ab6b89
Fix compiler warning about undefined ReinitializeRootWindow function
2006-06-07 14:12:40 -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