Adam Jackson
4791f8e2ba
staticize mi{G,S}etScreenPixmap
2008-10-03 17:51:20 -04:00
Adam Jackson
14d98b4a2f
miFindMaxBand is dead code
2008-10-03 17:51:20 -04:00
Adam Jackson
48b4792813
mi{Create,Destroy}GCOps are unused, nuke 'em.
2008-10-03 17:51:20 -04:00
Adam Jackson
bd0e87c747
Remove a bunch of unused API from the mi export list.
2008-10-03 17:51:20 -04:00
Adam Jackson
ee5e07bc22
loader: sort the mi symbol list
2008-10-03 17:51:20 -04:00
Adam Jackson
77d0b0ecfa
Remove unused pciNumBuses
2008-10-03 17:51:20 -04:00
Adam Jackson
0ce61e21d6
Remove the Must_have_memory hack.
...
Also remove an astonishing amount of misunderstanding of how casts work.
2008-10-03 17:51:19 -04:00
Adam Jackson
e6b1c1fada
const cleanup
2008-10-03 17:51:19 -04:00
Adam Jackson
fe616f9230
Drop the never-called SkippedRequestCallback list.
2008-10-03 17:51:19 -04:00
Adam Jackson
31136b9467
Unexport MakeClientGrab{Imp,P}ervious
...
xtrap used to use these, but it's gone now. xtest still does but it's
linked statically.
2008-10-03 17:51:19 -04:00
Adam Jackson
eaf3fdf970
Unexport xf86NoSharedResources
2008-10-03 17:51:19 -04:00
Adam Jackson
d7d9edb506
Unexport xf86DeallocateResourcesForEntity
2008-10-03 17:51:19 -04:00
Adam Jackson
49673b4358
Unexport xf86SetEntityFuncs
2008-10-03 17:51:18 -04:00
Adam Jackson
949ef6b79a
Unexport xf86ChkConflict
...
Also remove the unused internal ChkConflict()
2008-10-03 17:51:18 -04:00
Adam Jackson
d7c0ba2e9e
Remove unused server state change callbackery.
2008-10-03 17:51:18 -04:00
Adam Jackson
9ada146a16
xf86RegisterResources: Always print any failed registrations.
2008-10-03 17:51:18 -04:00
Adam Jackson
a5d3fa90f3
Typo fix.
2008-10-03 17:51:18 -04:00
Adam Jackson
cc33358585
Remove the old implementation of RemoveOverlaps
2008-10-03 17:51:18 -04:00
Adam Jackson
8fbf1185f5
Internalise some resource list API.
2008-10-03 17:51:17 -04:00
Adam Jackson
0ca4f3cee7
Unexport xf86EnterServerState
2008-10-03 17:51:17 -04:00
Adam Jackson
c1df4fbede
Unexport (and unimplement) xf86SetAccessFuncs.
...
Because, no.
2008-10-03 17:51:17 -04:00
Adam Jackson
44269e604e
RAC: NO_SEPARATE_*_FROM_* are useless.
...
If anyone can come up with an example of a bus where:
- both i/o and memory resources are addressable
- access to them can be controlled
- but they can't be controlled independently
then by all means, reinstate this logic.
2008-10-03 17:51:17 -04:00
Adam Jackson
51fcb58f45
RAC: AccessEnable() and AccessDisable() are mandatory.
2008-10-03 17:51:17 -04:00
Jeremy Huddleston
9c5fc7762e
Partially reverts commit 505c216d03
.
...
I don't know how the hell git-cherrypick messed that up to delete fbwindow.c
2008-10-03 11:24:34 -07:00
George Peter Staplin
7bb73a9513
XQuartz: pbproxy: Possibly fix a memory leak by using an [NSApp run] loop,
...
instead of calling CFRunLoopRun() directly. The leak wasn't reproducible on
this machine, but someone was able to produce a leak trace with Instruments
that indicates it was leaking in the CFRunLoopRun() path.
x-input.m: dequeue and ignore events when pbproxy_active is false.
x-selection.h: add an is_active method that is used by x-input.m to ignore
events.
x-selection.m: Handle nearly every preference, except for primary_on_grab,
which I don't really understand yet.
(cherry picked from commit 4d51ad851e
)
2008-10-03 11:14:49 -07:00
Jeremy Huddleston
2a5ce41f03
XQuartz: Use "pointer" and "pen" for device names to please GDK.
...
(cherry picked from commit 00ca0f4d83
)
2008-10-03 11:14:43 -07:00
Jeremy Huddleston
d3f597a986
XQuartz: Workaround for initial pressure/tilt being sent as 0 with motion during the proximity event
...
(cherry picked from commit 9a91d770a6
)
2008-10-03 11:14:40 -07:00
Jeremy Huddleston
1657dfb843
XQuartz: Using absolute ranges for pointer location to increase resolution and better support tablets.
...
(cherry picked from commit d79ccb45f6
)
2008-10-03 11:14:38 -07:00
Jeremy Huddleston
88bb8c6f48
XQuartz: Removed resolved comment about localization.
...
(cherry picked from commit 8ed5faf058
)
2008-10-03 11:14:34 -07:00
George Peter Staplin
b1d0b19661
XQuartz: pbproxy: Make the signal handler safer by using _exit, and only exit.
...
Remove some unnecesssary headers.
Remove some dead code that was never called or used in pbproxy.
Make use of an NSAutoreleasePool in x_init. It could potentially cause a leak
on a startup without this.
Start adding reload_preferences to the x_selection class, as well as event
handling for that.
(cherry picked from commit 602e8ba8f7
)
2008-10-03 11:14:30 -07:00
Jeremy Huddleston
ecd260143c
XQuartz: Added some localizable strings that were missing.
...
(cherry picked from commit 2c8205ea8b
)
2008-10-03 11:14:28 -07:00
Jeremy Huddleston
aae878b890
XQuartz: Actually send the pointer event from the pen even if it happes to actually have 0 pressure and 0 tilt.
...
(cherry picked from commit f415837619
)
2008-10-03 11:13:03 -07:00
Jeremy Huddleston
b7ad86ff8a
Xquartz: xpbproxy: Split out app-specific stuff to app-main.m in prep for making this into a thread.
...
(cherry picked from commit c2012138a5
)
2008-10-03 11:12:57 -07:00
Jeremy Huddleston
5446adebfb
XQuartz: Send AppleWMReloadPreferences where appropriate.
...
(cherry picked from commit 490cbe9888
)
2008-10-03 11:12:49 -07:00
Jeremy Huddleston
6020c3fbfe
XQuartz: Added a --enable-integrated-xpbproxy configure option for building xpbproxy as an app or as a thread.
...
(cherry picked from commit 8edc5fb38c
)
(cherry picked from commit 88033a66a5
)
2008-10-03 11:11:47 -07:00
Jeremy Huddleston
505c216d03
Added dep on applewmproto 1.1.0
...
(cherry picked from commit b350b06674
)
2008-10-03 11:11:37 -07:00
Adam Jackson
1c1a6e965d
Remove an utterly, utterly ancient changelog.
...
Wow.
2008-10-03 11:58:20 -04:00
Peter Hutterer
9c8a2be2c7
dix: fix axis scaling.
...
For two axes [a, b] and [x, y] (inclusive), the formula to scale point P(ab)
to (x,y) is:
(P - a)/(b - a) * (y - x) + x
And the whole end result rounded of course to get the integer we need.
2008-10-03 15:27:07 +09:30
Peter Hutterer
93ef72fa26
dix: don't lose subpixel precision when scaling.
...
Only scale x/y back from screen range if we have crossed screen, otherwise
leave it as it is.
2008-10-03 15:27:07 +09:30
Simon Thum
5ef5e89f0e
dix: fix non-initialization of pointer accel in master devices.
...
Init MDs always with PtrAccelNoOp.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
2008-10-03 15:27:07 +09:30
Peter Hutterer
036d424827
xfree86: don't let DGA steal key events outside of [9,255].
2008-10-03 15:27:07 +09:30
Adam Jackson
56a24cf894
xorg.conf.man: We don't look in root's ~ anymore, don't say we do.
2008-10-02 17:56:31 -04:00
Adam Jackson
7921c4a0bf
Remove some stale IPv6 debugging
2008-10-02 17:08:48 -04:00
Adam Jackson
f836e1f11b
Unifdef ISC
2008-10-02 17:03:54 -04:00
Adam Jackson
b1a3173473
Fix bad preprocessor line
2008-10-02 17:03:21 -04:00
Adam Jackson
00f01f3945
Don't inherit XAUTHORITY from the environment.
...
It's not especially obvious, and unpleasantly overloaded for the Xnest
case. Typically this gives you a server that looks for its auth data in
the authority file you were using for the running X session, which
generally doesn't have an entry for the display you just started.
All the major dm's, and startx, pass -auth explicitly, so this shouldn't
cause too much upheaval.
2008-10-02 15:48:18 -04:00
George Peter Staplin
eb8be3e90a
XQuartz: pbproxy: Fix another STRING bug.
...
Fix the usage of the NSString cStringUsingEncoding: - it doesn't NUL
terminate the string, which lead to a bus error. So, we use
lengthOfBytesUsingEncoding: to get the length in bytes instead of
strlen().
(cherry picked from commit 6333d619e7
)
2008-09-26 12:31:33 -07:00
George Peter Staplin
edfa3f8233
XQuartz: pbproxy: Fix a bug that rxvt brought out in STRING copying. Now I can copy and paste to/from rxvt correctly.
...
(cherry picked from commit 82a4dc5f0f
)
2008-09-26 12:31:29 -07:00
Jeremy Huddleston
12a59c44cb
XQuartz: Fixed threading issue with TSM.
...
(cherry picked from commit 93ab4e0071
)
2008-09-26 12:31:21 -07:00
Jeremy Huddleston
ee87c9b024
XQuartz: pbproxy: Removed stray SPI include.
...
(cherry picked from commit 2fb2bc77b8
)
2008-09-26 12:31:18 -07:00