Paulo Cesar Pereira de Andrade
74bc792e18
Export symbols required by the vesa and fbdev drivers.
...
This is a minimal set of patches, to have an usable X Server when
compiling it with symbols hidden by default.
2008-11-27 05:34:14 -02:00
Paulo Cesar Pereira de Andrade
87a7fb7438
Rework code using return value of LoaderSymbol as a function pointer.
...
The patch removes all macros in the format
define xf86_sym ((type (*)(argument-list))LoaderSymbol("sym"))
creates a new macro in the format
define xf86_sym sym
and ensures "sym" is a "visible" symbol.
The patch doesn't add or remove features, and is source and binary
compatible with previous shared objects (with the difference that it
requires the dlloader).
These symbols are a special case, as, due to the fact that LoaderSymbol
was being used to reference them, they are not easily found by "automated"
tools that check for missing symbols. And now it also have the benefit
that the compiler/loader "knows what is going on".
2008-11-27 00:12:59 -02:00
Keith Packard
4715f079b9
Merge commit 'origin/master'
2008-11-25 22:19:08 -08:00
Keith Packard
9ffc671939
Move matrix operations from X server to pixman 0.13.2
...
pixman 0.13.2 now holds all of the matrix operations. This leaves
the protocol conversion routines and some ABI stubs in place
Signed-off-by: Keith Packard <keithp@keithp.com>
2008-11-25 22:17:58 -08:00
Jeremy Uejio
416685c295
Refix Sun bug #6685465 : Xephyr uses wrong or bad colortable in 8-bit mode
...
<http://bugs.opensolaris.org/view_bug.do?bug_id=6685465 >
This is a refix of the previous fix for CR 6685465. In the first fix
I was shifting the colors to match the mask by the bits_per_rgb amount
in the visual structure. That field has nothing to do with the # of
bits to shift by. I should just instead shift the bits to match the mask.
2008-11-25 16:31:11 -08:00
Alan Coopersmith
d5f9a131a2
Fix const-mismatch warnings for DisplayModePtr's
...
Includes fixes for:
"xf86Config.c", line 2434: warning: argument #1 is incompatible with prototype:
prototype: pointer to struct _DisplayModeRec: "xf86.h", line 351
argument : pointer to const struct _DisplayModeRec
"xf86EdidModes.c", line 312: warning: argument #1 is incompatible with prototype:
prototype: pointer to struct _DisplayModeRec: "../../../hw/xfree86/common/xf86.h", line 351
argument : pointer to const struct _DisplayModeRec
"xf86EdidModes.c", line 438: warning: assignment type mismatch:
pointer to struct _DisplayModeRec "=" pointer to const struct _DisplayModeRec
"xf86Modes.c", line 701: warning: assignment type mismatch:
pointer to struct _DisplayModeRec "=" pointer to const struct _DisplayModeRec
2008-11-25 15:51:17 -08:00
Adam Jackson
e5eaea599a
Warning fix
...
xf86info.c:11: warning: initialization makes integer from pointer
without a cast
2008-11-25 15:05:19 -05:00
Adam Jackson
37072500f7
Warning fix
...
helper_exec.c: In function ‘port_rep_inb’:
helper_exec.c:219: warning: implicit declaration of function
‘DEBUG_IO_TRACE’
helper_exec.c:219: warning: nested extern declaration of
‘DEBUG_IO_TRACE’
2008-11-25 15:05:19 -05:00
Adam Jackson
09ea671cbf
Warning fix
...
lnx_bell.c:37: warning: no previous prototype for ‘xf86OSRingBell’
2008-11-25 15:05:18 -05:00
Adam Jackson
a9853c7d33
Warning fix
...
Pixmap.c: In function ‘xnestPixmapToRegion’:
Pixmap.c:93: warning: ‘Box.x1’ may be used uninitialized in this
function
2008-11-25 15:05:18 -05:00
Adam Jackson
81eafe9f93
Warning fix.
...
vbe.c: In function ‘VBEReadPanelID’:
vbe.c:1145: warning: return from incompatible pointer type
2008-11-25 15:05:18 -05:00
Adam Jackson
09bfb25e03
Remove unused XAAAvailableOptions
2008-11-25 15:05:18 -05:00
Adam Jackson
8b9253f638
Code motion: subsume xf86DoProbe.c into xf86Init.c
2008-11-25 15:05:17 -05:00
Adam Jackson
fbabb1c5c2
Warning fix.
...
In file included from l3-xaaStipple.c:4:
./xaaStipple.c:35: warning: no previous prototype for
‘XAAGetStippleScanlineFunc3LSBFirst’
etc
2008-11-25 15:05:17 -05:00
Adam Jackson
cbaca6ec66
Remove dead FreeModuleDesc.
2008-11-25 15:05:17 -05:00
Jeremy Huddleston
eb474adf98
XQuartz: Simplify the xquartz_resetenv_display path
...
(cherry picked from commit d2e0624dd3
)
2008-11-25 11:53:12 -08:00
Jeremy Huddleston
94df1ab7f0
XQuartz: Force X11Controller to reset a broken DISPLAY envvar.
...
(cherry picked from commit f1a52b5b5a
)
2008-11-25 11:53:06 -08:00
Jeremy Huddleston
0b314c50a2
XQuartz: Removed hardcoded org.x.X11 from MachIPC as well
...
(cherry picked from commit b4add7826d
)
2008-11-25 11:52:59 -08:00
Jeremy Huddleston
065d2afb0c
XQuartz: Add fallback for xpbproxy's display for Tiger or no-launchd-Leopard
...
(cherry picked from commit 7a8c666594
)
2008-11-25 00:54:52 -08:00
Jeremy Huddleston
13df49dca2
XQuartz: Use the environment to pass the bundle's prefs domain on to xinit/quartz-wm for Tiger or no-launchd-LEOPARD
...
(cherry picked from commit fbf4b0d33f
)
2008-11-25 00:54:47 -08:00
Jeremy Huddleston
40187f782b
XQuartz: Dead code removal
...
(cherry picked from commit eeb323612e
)
2008-11-25 00:54:42 -08:00
Jeremy Huddleston
b55cad4569
XQuartz: Don't hardcode values of org.x.X11 for the preferences domain
...
(cherry picked from commit 3a500d9247
)
2008-11-25 00:54:37 -08:00
Jeremy Huddleston
d508a3dcca
XQuartz: More dead code removal
...
(cherry picked from commit dcb0f6a2e6
)
2008-11-25 00:54:32 -08:00
Jeremy Huddleston
41fbdf72f2
XQuartz: Disable some error spew on Tiger (where it wouldn't be an error)
...
(cherry picked from commit 73ec6d3dfe
)
2008-11-25 00:54:27 -08:00
Jeremy Huddleston
09c3f6e04c
XQuartz: Dead code removal
...
(cherry picked from commit 46c077d9b4
)
2008-11-25 00:54:22 -08:00
Jeremy Huddleston
ab12c75162
XQuartz: More Tiger cleanup: bootstrap_strerror
...
(cherry picked from commit 37f535aff3
)
2008-11-25 00:54:17 -08:00
Adam Jackson
208f091bfc
Remove xf86IODelay
2008-11-24 23:40:06 -05:00
Adam Jackson
47478aa10a
Remove xf86{En,Dis}ableInterrupts entirely
2008-11-24 23:40:06 -05:00
Adam Jackson
c7680befe5
Remove the remnants of Jensen support
...
As being an EISA-only machine, and as ISA support is gone now...
2008-11-24 23:40:06 -05:00
Adam Jackson
df14682a31
Bus: Remove ISA support.
...
No, really. PCI is old enough to drive now. If you want this, get the kernel
to expose a framebuffer device.
2008-11-24 23:40:06 -05:00
Adam Jackson
a8bcab2d3b
Bus: Remove yet more unused overlap processing.
2008-11-24 23:40:06 -05:00
Adam Jackson
994b7c034f
Bus: Don't pretend to care about IRQs, DMA, or PCI config space
2008-11-24 23:40:05 -05:00
Adam Jackson
eb5ae45127
Bus: Simplify a failure case (that pretty much never happens)
2008-11-24 23:40:05 -05:00
Adam Jackson
ee8b5cf94c
Bus: Trust the kernel when registering driver resources
...
... everywhere, not just (linux && (ia64 || alpha)).
2008-11-24 23:40:05 -05:00
Adam Jackson
8397df8945
Remove unused MIN macro
2008-11-24 23:40:05 -05:00
Adam Jackson
c251c0baae
Bus: remove special handling for init-only resources
...
This isn't used by any driver, nor has it ever been as far as I can
tell.
2008-11-24 23:40:04 -05:00
Adam Jackson
3e5281af17
PCI: Unexport xf86scanpci
2008-11-24 23:40:04 -05:00
Adam Jackson
6b198daa46
Bus: remove useless isaConvertRange2Host
2008-11-24 23:40:04 -05:00
Adam Jackson
a96db74c2a
Bus: Don't try to find an ISA bus just for fun.
2008-11-24 23:40:04 -05:00
Adam Jackson
b21311a99d
Bus: Remove unused RemoveOverlaps
2008-11-24 23:40:03 -05:00
Adam Jackson
41be6b3f0d
Bus: Remove the notion of estimated resources.
2008-11-24 23:40:03 -05:00
Adam Jackson
095ba14355
Bus: remove the "reducer"
...
This code effectively didn't do anything anymore.
2008-11-24 23:40:03 -05:00
Adam Jackson
4457e31710
PCI: Remove unused ia64 platform code.
2008-11-24 23:40:03 -05:00
Adam Jackson
86cfe0ee23
PCI: Simplify OS PCI function registration a bit.
2008-11-24 23:40:02 -05:00
Adam Jackson
2d427b9cb1
PCI: Remove config mechanism details.
...
pciaccess handles this for us now, no need to remember PC arcana.
2008-11-24 23:40:02 -05:00
Adam Jackson
5bb86bafd6
PCI: Remove non-pciaccess path for x86.
2008-11-24 23:40:02 -05:00
Adam Jackson
a67360e79f
PCI: Always build domain support.
2008-11-24 23:40:02 -05:00
Adam Jackson
51e105ccc3
Remove xf86GetResourcesImplicitly
2008-11-24 23:40:02 -05:00
Alan Coopersmith
599a0f3f1e
Fix typo in 5bf2c88d23
...
Amazing how these things hide until you see the diff come back from
the commit list.
2008-11-24 20:37:58 -08:00
Alan Coopersmith
5bf2c88d23
Simplify filename generation code for Xorg -configure
2008-11-24 20:34:46 -08:00