Commit Graph

4033 Commits

Author SHA1 Message Date
Jeremy Huddleston
91dd6c47aa Merge commit 'origin/server-1.4-branch' into xorg-server-1.4-apple 2008-05-08 16:56:54 -07:00
Daniel Stone
104048501f XKB: Actually explain keymap failures
When something went wrong building a keymap, try to explain to the user
what it actually was, instead of the dreaded 'Failed to load XKB keymap'
catch-all.
(cherry picked from commit cf20df39cc)

Conflicts:
	xkb/ddxLoad.c
2008-05-07 23:11:31 +03:00
Magnus Vigerlöf
b1145a6b42 dix: Move motion history update until after screen crossing and clipping
Cross screen and clip the coordinates before updating the motion history
so that it will have the same contents as the events that are reported.
(cherry picked from commit a56ef7aaa4)
2008-05-07 19:22:41 +02:00
Magnus Vigerlöf
a68d0ef4a6 dix: Skip call to clipAxis for relative core-events
Relative events that generates both core and extention
events will have its axis cliped and screen changed by
miPointerSetPosition when the events are processed. For
absolute and non core-generating relative events the
axis must be clipped if we shouldn't end up completely
outside the defined ranges (if any).
(cherry picked from commit a0284d577a)
2008-05-07 19:22:35 +02:00
Magnus Vigerlöf
b51ca35a75 Bug # 10324: dix: Add scaling of X and Y on the reported pointer-events
Restore the rescaling code for x and y axis when generating
motion events.
(cherry picked from commit d9e23c4ff1)
2008-05-07 19:22:29 +02:00
Magnus Vigerlöf
1d79ba8193 Bug # 10324: dix: Allow arbitrary value ranges in GetPointerEvents
Don't use a possitive value as a marker for if a max-value
is defined on the valuators. Use the existence of a valid
value range instead. This will also make it possible to
define arbitrary start and end-values for min and max as
long as min < max.
(cherry picked from commit f04c083869)
2008-05-07 19:22:23 +02:00
Magnus Vigerlöf
7fa7031cfa dix: Always add valuator information if present
Send valuator information for all event types, not only for
MotionEvents and absolute button events.
(cherry picked from commit 12e5324032)
2008-05-07 19:22:16 +02:00
Alan Coopersmith
b95befdfd2 Check for <sys/sdt.h> as well when determining to enable dtrace probes
Avoids auto-detecting dtrace is present on systems with the ISDN trace tool
named dtrace installed, but not the dynamic tracing facility named dtrace
2008-05-06 20:57:41 -07:00
Ben Byer
0fab9843c7 So, like, checking return codes of system calls (signal, etc) is good.
Also, only restore an old signal handler if one was actually set
(prevents the server from dying on OS X).
2008-05-06 20:55:23 -07:00
Eric Anholt
a02b989c68 Fix build on FreeBSD after Popen changes. 2008-05-06 20:55:19 -07:00
Adam Jackson
6a5066c2e9 Ignore - not just block - SIGALRM around Popen()/Pclose().
Because our "popen" implementation uses stdio, and because nobody's stdio
library is capable of surviving signals, we need to make absolutely sure
that we hide the SIGALRM from the smart scheduler.  Otherwise, when you
open a menu in openoffice, and it recompiles XKB to deal with the
accelerators, and you popen xkbcomp because we suck, then the scheduler
will tell you you're taking forever doing something stupid, and the
wait() code will get confused, and input will hang and your CPU usage
slams to 100%.  Down, not across.
2008-05-06 20:55:15 -07:00
Jeremy Huddleston
330ffad547 XQuartz: Fixed some issue in our bundle creation 2008-05-06 16:12:41 -07:00
Jeremy Huddleston
ff085deba1 Set CSRG_BASED on OSX 2008-05-06 16:07:33 -07:00
Jeremy Huddleston
d12ecf0f66 1.4.0-apple9 2008-05-06 02:59:28 -07:00
Jeremy Huddleston
56b7988d26 XQuartz: Fixed typo 2008-05-06 02:59:13 -07:00
Jeremy Huddleston
e414ec462c XQuartz: Added uncommitted files 2008-05-06 02:47:03 -07:00
Jeremy Huddleston
f225222ba2 Fixed up dist 2008-05-06 02:28:36 -07:00
Jeremy Huddleston
453a982e63 XQuartz: Move server bits into bundle and setup stub in /usr/X11/bin/Xquartz in prep for startup rewrite 2008-05-06 00:06:19 -07:00
Ben Byer
b7a1a640ce Xquartz: experimental embedding of Sparkle.framework 2008-05-05 20:55:08 -07:00
Jeremy Huddleston
c7a540717f 1.4.0-apple8 2008-05-05 15:32:52 -07:00
Jeremy Huddleston
c1ec36e28c Rootless: mi doesn't let us resize root, so we need to do it ourselves... 2008-05-05 15:32:26 -07:00
Jeremy Huddleston
995237f0f5 1.4.0-apple7 2008-05-02 17:36:37 -07:00
Jeremy Huddleston
8d9eab3a2e XQuartz: Fix mouse input offsets earlier since GetPointerEvents does not like negative (x,y) values 2008-05-02 17:35:57 -07:00
Jeremy Huddleston
ff10c37bdd XQuartz: Avoid a possible crash at startup due to unfavorable context switching. 2008-05-02 16:53:45 -07:00
Jeremy Huddleston
0c31dfc694 1.4.0-apple6 2008-05-01 19:40:06 -07:00
Jeremy Huddleston
f2020b9836 XQuartz: Adjust the screen origin offset properly for multimonitor setups 2008-05-01 18:02:59 -07:00
Jeremy Huddleston
1fcf74a436 XQuartz: Moved some relevant stuff from darwin.h to darwinEvents.h 2008-04-30 17:30:57 -07:00
Jeremy Huddleston
34ec4bd6ac Dix: Cleaned up sanity checking in Get{Pointer,Keyboard}Events
XQuartz was crashing because the Appkit thread was trying to GetXXXEvents while the Xserver thread was exiting.
This adds some more sanity checks and avoids that crash
2008-04-30 17:30:32 -07:00
Jeremy Huddleston
97b5174182 Merge commit 'origin/server-1.4-branch' into xorg-server-1.4-apple 2008-04-30 16:25:25 -07:00
Peter Hutterer
ff4006bd5a xfree86: fix AlwaysCore handling. (Bug #14256)
Assume AlwaysCore being set by default, just like the other options.

X.Org Bug 14256 <http://bugs.freedesktop.org/show_bug.cgi?id=14256>
(cherry picked from commit 5b8641a5fd)
2008-04-30 12:53:38 +02:00
Thomas Jaeger
fdfb57d342 XKB: Fix processInputProc wrapping
If input processing is frozen, only wrap realInputProc: don't smash
processInputProc as well.  When input processing is thawed, pIP will be
rewrapped correctly.

This supersedes the previous workaround in 50e80c9.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
(cherry picked from commit 37b1258f0a)
2008-04-30 11:21:11 +02:00
Pierre Willenbrock
6afcf996ca EXA: Fix off-by-one in polyline drawing.
(cherry picked from commit d502521c36)
2008-04-30 12:07:41 +03:00
Tilman Sauerbeck
9e9eeca2b0 Fixed configure.ac for autoconf 2.62.
(cherry picked from commit 3c337e18b9)
2008-04-30 10:17:55 +02:00
Jeremy Huddleston
c573952f5b 1.4.0-apple5 2008-04-30 00:36:01 -07:00
Ben Byer
50641bce73 xquartz: created darwinTablet, to represent tablet events 2008-04-29 23:37:58 -07:00
Ben Byer
299a056737 xquartz: remove unused params from DarwinEQInit 2008-04-29 23:00:09 -07:00
Ben Byer
588683cecc XQuartz: Fix to tablet-event handling code; we now scale
more conservatively (to match Linux's Wacom driver) and
we now receive all tablet-related events.
2008-04-29 22:35:34 -07:00
Jeremy Huddleston
ce4fbfbc75 XQuartz: Unset CFProcessPath... blech 2008-04-28 15:52:24 -07:00
Jeremy Huddleston
f807c987f8 Removed duplicate --enaable-xquartz that crept in 2008-04-28 15:43:09 -07:00
Jeremy Huddleston
22cf724376 XQuartz: xprIsX11Window can be called from the Appkit thread (see X11Application.m) 2008-04-28 15:28:21 -07:00
Jeremy Huddleston
9717ddad46 XQuartz: Disabled DPMS extension 2008-04-28 15:10:26 -07:00
Jeremy Huddleston
41542502b3 XQuartz: Added thread debugging to xprFrame.c 2008-04-28 12:36:54 -07:00
Jeremy Huddleston
72653c24c0 XQuartz: More startup / threading house cleaning. 2008-04-28 11:47:49 -07:00
Jeremy Huddleston
d8d9c866b9 XQuartz: Updated Localizable.strings 2008-04-28 10:50:51 -07:00
Jeremy Huddleston
03e707987f XQuartz: Added missing Xquartz.man.pre to EXTRA_DIST 2008-04-27 00:01:14 -07:00
Jeremy Huddleston
f4b963256f Xquartz: Added missing to EXTRA_DIST 2008-04-26 23:00:42 -07:00
Jeremy Huddleston
bdd5dcac68 1.4.0-apple4 2008-04-26 19:23:04 -07:00
Jeremy Huddleston
c861fe00e1 XQuartz: Cleaned up startup and thread creation a tad. 2008-04-26 19:17:42 -07:00
Jeremy Huddleston
00a9567acc XQuartz: Don't subtract the titlebar off of the pointer_y 2008-04-26 17:04:49 -07:00
Jeremy Huddleston
5c6aa1272e XQuartz: Added some pseudoramiX debug traces
(cherry picked from commit 5bee1585a3)
2008-04-25 17:57:31 -07:00