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
Adam Jackson
ce78b0cd2b
Close with Pclose() that which we open with Popen().
2006-09-21 20:42:47 -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
Keith Packard
b36fde9257
When no mode is specified, don't validate mode-specific parameters.
2006-09-21 09:52:04 -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
Keith Packard
219546fd76
Steal Xinerama code from SiS driver. Add missing files.
...
Provide a Xinerama implementation when DIX version isn't enabled. This
version exposes each crtc as a separate 'screen' and reports the size of
that patch. The extension also sends ConfigureNotify events to the root
window whenever crtcs change so that applications will re-fetch xinerama
information. This actually works for metacity.
2006-09-20 22:43:05 -07:00
Keith Packard
bde0a4c12c
RRSetCrtcConfig status fix. RRGetScreenResources timestamp fix.
...
RRSetCrtcConfig was returning the wrong status values.
RRGetScreenResources was always returning currentTime.
2006-09-20 19:42:34 -07: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
09f7499851
typo
2006-09-20 13:15:20 -07:00
Keith Packard
9f870e0aa1
When setting output state, leave output unchanged when setting to current.
2006-09-20 13:14:53 -07:00
Aaron Plattner
d16e83413e
Hide or rename more global symbols to avoid clashes with libfb.
...
Rename composeFunctions, xxSetup, and xxPrintVisuals. Hide the other xx*
symbols by making them static.
2006-09-20 12:47:17 -07:00
Keith Packard
d08718d8fd
Avoid calling xalloc(0). Change rrScreenSizeSet to rrScreenSetSize.
2006-09-20 12:05:52 -07:00
Keith Packard
ef1f3248cb
Split out 1.0-style info and new property routines to their own files.
2006-09-19 22:48:54 -07:00
Keith Packard
07112adb08
RRGetScreenResources and RRGetOutputInfo are working now.
...
Removed separate id field in RRModeRec.
Pull screen subpixel order from Render extension.
Implement RGetScreenResources and RRGetOutputInfo
2006-09-19 00:46:27 -07:00
Keith Packard
afe5e9483b
RandR working with old clients and old API.
2006-09-18 12:18:22 -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
Keith Packard
bf07893947
Split out RandR dispatch code from randr.c to rr*dispatch.c.
...
More disassembly to ease ongoing development.
2006-09-17 23:08:12 -07:00
Keith Packard
3e745745fe
Split RandR implementation into separate files.
...
RandR is getting too big to live in one file; split into one file per object
type (crtc, mode, screen), leaving the rest of the code in randr.c.
Code is slowly approaching the point where it will drop-in as a replacement
for the old 1.0 implementation.
2006-09-17 23:08:12 -07:00
Keith Packard
d17fb9672e
Start moving to new randr 1.2 definition
2006-09-17 23:08:12 -07:00
Keith Packard
8dec74321d
Successful legacy RandR API/Protocol emulation for query.
...
These changes clean up minor errors to make it possible to list the
available modes for a monitor using legacy APIs in both the X server DDX and
RandR protocol. Setting modes is untested, so it probably doesn't work.
2006-09-17 23:08:11 -07:00
Keith Packard
cab3a0145f
RandR: New data structure, old API. At least it compiles now
2006-09-17 23:08:11 -07:00
Keith Packard
d95c758630
Preliminary RandR 1.2 work
2006-09-17 23:08:11 -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
Ian Romanick
05231e336d
Use correct opcodes for GLX_EXT_texture_from_pixmap.
...
Regenerate from glX_API.xml 1.3 from Mesa. The glproto package and libGL
(from Mesa) must also be updated.
2006-09-14 14:13:39 -07: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
Tilman Sauerbeck
594d4019c6
transformIsIdentity() now doesn't accept a zero matrix as the identity.
...
Added a non-zero test for one of the diagonal values.
2006-09-12 01:15:40 +02:00
Tilman Sauerbeck
fc30370d14
Bug #8226 : Fixed SetPictureTransform()'s handling of the argument matrix.
...
It now recognizes scaled variants of the identity matrix, too.
2006-09-11 19:43:09 +02: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
Eamon Walsh
d1110c5c83
Generalize the handling of configuration files that ship with extensions.
2006-09-08 15:28:48 -04:00
Eamon Walsh
9deb579dc9
Zero out newly created ExtensionEntry structures, but only after the
...
devPrivates have been initialized.
2006-09-08 15:25:17 -04:00
Eamon Walsh
cec392656c
Zero out newly allocated ClientRec structures.
...
This is required to initialize the devPrivates to a known state.
2006-09-08 15:24:23 -04:00
Eamon Walsh
0fba09cdfc
Include dix-config.h.
2006-09-08 15:23:06 -04:00
Eamon Walsh
c93877100e
Don't need to allocate memory now that devPrivates are being used.
2006-09-08 15:21:57 -04:00
Kristian Høgsberg
86450998da
Fix AIGLX VT switching.
...
See https://bugs.freedesktop.org/show_bug.cgi?id=7916
There may be a simpler, less intrusive fix that involves just rearranging
DRI locking between 2D and 3D drivers around VT switch.
2006-09-07 15:35:16 -04:00
Ian Romanick
64479fffa2
Remove prototypes and externs for non-existant functions and variables.
2006-09-06 16:13:21 -07:00
Ian Romanick
a0179281a6
Remove prototypes for non-existant functions.
2006-09-06 15:45:48 -07: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
Michel Dänzer
f6ce0839ba
Fix #include paths for fontcacheproto headers.
2006-09-06 13:18:02 +02:00
Aaron Plattner
f39fd42429
(unsigned long)(1 << 31) = bad news on x86_64.
...
(cherry picked from 410e5b1d73
commit)
2006-09-05 15:53:45 -07:00
Aaron Plattner
410e5b1d73
(unsigned long)(1 << 31) = bad news on x86_64.
2006-09-05 15:23:54 -07:00
Eamon Walsh
0b81fccd2e
Merge branch 'master' into my-XACE-modular
...
Conflicts:
configure.ac
2006-09-05 18:03:25 -04:00
Ian Romanick
c2813514cf
Add missing file from previous commit.
2006-08-31 15:36:13 -07:00
Ian Romanick
0f9cfb2f75
Implement GLX_SGI_swap_control.
...
Regenerate from glX_API.xml 1.2. Add infrastructure to support
GLX_SGI_swap_control for AIGLX when the DRI driver enables it. Tested
with R300.
2006-08-31 13:54:10 -07:00
Ian Romanick
a9ef586291
Fix problems with vertex program protocol
...
There were two sets of bugs in the vertex program (ARB and NV)
protocol. First, several of the ARB functions were missing the
'doubles_in_order="true"' annotation. Second, after the ARB decided
that glVertexAttrib*ARB functions must not alias fixed-function state
for GLSL, Nvidia re-assigned GLX protocol opcodes for
glVertexAttrib*NV (circa Septeber 2004). For some reason gl_API.xml
was never updated to reflect this, and the updated version of the
GL_NV_vertex_program spec never made into the registry.
This is just a server-side regeneration from gl_API.xml version 1.68.
2006-08-31 13:47:50 -07:00