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
Peter Hutterer
12175b668a
o fix minor error in comment for GetPointerEvents()
2007-03-03 13:57:39 +10:30
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
Matthias Hopf
b11dfac287
Legacy framebuffer support wasn't compiled if Xorg wasn't explicitly enabled.
2007-03-02 12:30:26 +01:00
Peter Hutterer
57aa5e908d
dix, Xext, Xtrap, Xi: replace inputInfo.pointer with PickPointer where
...
possible. More replacements to come.
2007-03-02 17:14:37 +10:30
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
Ben Byer
ed7ccc481a
AIGLX support for Darwin -- works well enough to run
...
glxgears and glxinfo, but still needs more testing.
2007-03-01 00:51:10 -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
Aaron Plattner
06c3021aec
Don't crash setting a NULL mode with a randr classic DDX. Also remember to update the screen size during modesets.
2007-02-28 16:13:13 -08:00
Peter Hutterer
68c64ad7b1
Xext: Update device's lastx/lasty when sending a motion event with XTest.
2007-03-01 09:59:37 +10:30
Aaron Plattner
8b24575884
Return BadMatch if a client tries to clone non-cloneable outputs.
2007-02-28 12:35:50 -08:00
Peter Hutterer
2a35d44b6d
Update device valuators on XTest motion event, otherwise the cursor jumps
...
between coordinates stored in device and coordinates sent by the event.
2007-02-28 15:43:06 +10:30
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
Eamon Walsh
779faccfb7
devPrivates rework: add dix header file containing new interface.
2007-02-23 13:19:53 -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
Alan Coopersmith
af550ea91c
Move SecurityPolicy file format from Xserver(1) to it's own man page
...
Don't make users looking for Xserver information page through pages of
details only interesting to the handful of people writing security policies.
2007-02-22 14:38:40 -08:00
Brice Goglin
b1142cdbce
Bug #10034 : 'man Xserver' typos: s/dqoute/dquote/
...
Bugzilla #10034 : <http://bugs.freedesktop.org/show_bug.cgi?id=10034 >
Patch #8780 : <http://bugs.freedesktop.org/attachment.cgi?id=8780 >
2007-02-22 12:26:04 -08:00
Peter Hutterer
4b8b0e377a
Xi: Add access control request handling.
...
dix: New file access.c to handle all access control for devices.
2007-02-22 20:00:59 +10:30
Eamon Walsh
9a3eb0357e
devPrivates rework: add RC_PRIVATES class, make ResourceRec visible in
...
the API, and add extra fields and structure supporting private storage.
2007-02-21 07:46:44 -05:00
Peter Hutterer
cd0af7a785
Xi, dix: Only one client at a time can change the pointer-keyboard pairing,
...
using xRegisterPairingClient request.
2007-02-21 10:08:41 +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
8a42af6a93
Check for clientGone before sending events from XFixes (bug #1753 ).
...
Freeing resources during client closedown can cause cursor changes which
attempt to send cursor events through the XFixes extension; a client in the
process of closing down has no file to send events to, causing a crash when
this path is hit.
2007-02-19 15:28:37 -08:00
Ben Byer
4660eaaffb
configure fixes for darwin
2007-02-18 14:09:51 -08:00