Commit Graph

4983 Commits

Author SHA1 Message Date
Jeremy Huddleston
d4859484a4 XQuartz: Moved some rootless-specific cruft into xpr
(cherry picked from commit 31625cc03b)
2008-04-17 15:50:14 -07:00
Jeremy Huddleston
d9729fbe58 XQuartz: Use a mutex to ensure we only have one thread calling mieqEnqueue at a time.
(cherry picked from commit 7b087c965b)
2008-04-17 15:24:24 -07:00
Jeremy Huddleston
719d415a6c XQuartz: A little more debugging output from threadSafety
(cherry picked from commit f6fbdbf838)
2008-04-17 15:24:14 -07:00
Jeremy Huddleston
d9f456adfc XQuartz: Fixed some missing prototypes
(cherry picked from commit 95056afc56)
2008-04-17 13:20:56 -07:00
Jeremy Huddleston
e1a4eef65e XQuartz: Added framework for asserting which thread we're in.
(cherry picked from commit 00beb98251)
2008-04-17 13:20:49 -07:00
Jeremy Huddleston
0f84df88d0 Removed some of our debugging spam from dix main.
(cherry picked from commit a56aca1a6b)
2008-04-17 13:20:43 -07:00
Jeremy Huddleston
e4218388fa XQuartz: Include version info for CrashReporter
(cherry picked from commit b4992755c3)
2008-04-17 11:57:47 -07:00
Jeremy Huddleston
20583a9a5a XQuartz: Use strerror(errno)... cause I like text more than grepping header files
(cherry picked from commit 1b4c37d8f9)
2008-04-17 11:07:18 -07:00
Jeremy Huddleston
dff2b65cc5 merged darwinKeyboard.[ch] into quartzKeyboard
(cherry picked from commit 57bb073209)
2008-04-17 11:03:13 -07:00
Ben Byer
de858ca3b8 oops, missed a spot
(cherry picked from commit 19872a6aeb)
2008-04-17 10:40:29 -07:00
Ben Byer
40939252d1 formatting cleanup
(cherry picked from commit 769acd2934)
2008-04-17 10:40:16 -07:00
Ben Byer
f8cee2ebae delete debugging spew
(cherry picked from commit f04f3af86a)
2008-04-17 10:40:08 -07:00
Ben Byer
96459ad45d add support for horizontal scrolling (buttons 6 and 7)
(cherry picked from commit f525a4a432)
2008-04-17 10:40:02 -07:00
Ben Byer
3af6960f12 enable keyboard map debugging -- it's going to x11-debug.txt, anyway ... so no harm
(cherry picked from commit ab662c736e)
2008-04-17 10:39:54 -07:00
Ben Byer
0e61265f38 darwinKeyboard: refactor slightly so that we're not cutting and pasting code from dix, kthx
(cherry picked from commit a8a090b853)
2008-04-17 10:39:47 -07:00
Ben Byer
514b5dd7a7 hack to Xquartz to prevent xmodmap from wiping out our valid modmap, per daniels
(cherry picked from commit cab54466a6)
2008-04-17 10:39:38 -07:00
Ben Byer
3438178115 kludge: miEqEnqueue wants a device, even if we're passing custom messages,
so give it one
(cherry picked from commit a494ff04b2)
2008-04-17 10:39:30 -07:00
Jeremy Huddleston
c697c1dad3 XQuartz: Don't enable rootless accelerated functionality... crashy...
(cherry picked from commit cdb4c291d8)
2008-04-16 23:14:01 -07:00
Jeremy Huddleston
01a931c313 XQuartz: Don't use composite.
(cherry picked from commit 6d3d344b5b)
2008-04-16 21:52:54 -07:00
Jeremy Huddleston
11c71ae243 Xquartz: Don't need to link against rlAccel since we don't use it
(cherry picked from commit 180ec128ad)
2008-04-16 21:51:22 -07:00
Jeremy Huddleston
793b828dc7 XQuartz: Removed a call to RootlessReorderWindow from the Carbon thread
(cherry picked from commit cb27d5ca82)
2008-04-15 12:05:20 -07:00
Jeremy Huddleston
02bc287690 Xquartz: Added applicationShouldHandleReopen:hasVisibleWindows to handle dock icon clicking
(cherry picked from commit 55d9973b05)
2008-04-11 17:50:01 -07:00
Jeremy Huddleston
12640de083 Merge branch 'server-1.5-branch' into xorg-server-1.5-apple 2008-04-08 21:25:02 -07:00
Ben Byer
7078458432 add missing dix-config include
(cherry picked from commit 126e9bc8c4)
2008-04-08 21:24:53 -07:00
Ben Byer
19e1327cdc add correct default ACLOCAL and PKGCONFIG_PATH settings to autogen.sh
(cherry picked from commit 2bb14682c6)
2008-04-08 21:24:48 -07:00
Jeremy Huddleston
2d4194a8d1 XQuartz: Fix issue where clicking on an X11 window might send that event to an X11 window in another space.
(cherry picked from commit df21312c8b)
2008-04-08 17:02:56 -07:00
Adam Tkac
85b855f26f Fix Xvfb input when building against current X sources.
(cherry picked from commit 726dcd9e4e)
2008-04-07 10:34:18 -04:00
Julien Cristau
fe87d921da Fix the clock_gettime check for glibc-based non-Linux systems
We need to define _POSIX_C_SOURCE on glibc, not just Linux, so add a new
test for the __GLIBC__ macro.
(cherry picked from commit 6c0cfe3d43)
2008-04-07 10:32:13 -04:00
Adam Jackson
9a908769e6 Fix PCI config space cycles from int10 emulator.
The top bit of 0xCF8 is an enable bit, not part of the domain.  Sending
cycles to domain 128 instead of domain 0 is rarely the right thing to do.
(cherry picked from commit cc7c045bae)
2008-04-07 10:32:07 -04:00
Eric Anholt
bd91565ac8 Fix clock_gettime presence detect on FreeBSD.
For non-Linux, _POSIX_C_SOURCE and friends restrict symbols defined rather
than enabling defines of symbols.  Additionally, CLOCK_MONOTONIC was
apparently added to the standard around 2000 anyway, not 1993.
(cherry picked from commit d1de3dda8e)
2008-04-07 10:32:04 -04:00
Dave Airlie
b2704de8a7 quirk: add quirk for ACER EDID
(cherry picked from commit f0915fb3c4)
2008-04-07 10:31:46 -04:00
Hong Liu
8ccdaa288a Bug #15160: quirk Proview AY765C
prefer first detailed timing
(cherry picked from commit ebc56aca8b)
2008-04-07 10:30:38 -04:00
Goneri Le Bouder
8059b57f9b xfree86: don't crash in AutoConfig if the primary device is not pci
Only call matchDriverFromFiles() if we found a pci device.
Debian bug#472823 (http://bugs.debian.org/472823).
(cherry picked from commit 9500033b9e)
2008-04-07 10:30:26 -04:00
Fredrik Höglund
841aa08ea4 EXA: Optimize the eviction scanning loop in exaOffscreenAlloc.
Reduce the cost of the inner loop, by keeping a set of pointers to the
first and the last areas in the series, subtracting the cost of the first
area from the score, and adding the cost of the last area while walking
the list.  This commit also moves the scanning loop from exaOffscreenAlloc
into a separate function.

Idea by Michel Dänzer.
(cherry picked from commit 8074676d2d)
2008-04-07 10:29:00 -04:00
Fredrik Höglund
2e4b72dd84 EXA: Improve the algorithm used for tracking offscreen pixmap use.
Replace the current score keeping algorithm with a rolling counter that's
incremented in ExaOffscreenMarkUsed, with the previous value being stored
in the area.  exaOffscreenAlloc uses the difference between the counter
value and the value in the area when deciding which area to evict.
It now also takes the size of the areas into account, and favors evicting
smaller areas.

The credit for these ideas goes to Michel Dänzer.
(cherry picked from commit 93d876891d)
2008-04-07 10:28:54 -04:00
Daniel Stone
32b5c67145 gitignore: Add two more bits
Get slightly better at ignoring vim swap files, and let people keep
local changes if they want to.
(cherry picked from commit 7034484f08)
2008-04-07 10:27:04 -04:00
Dave Airlie
a2fcdfd5f9 quirk: fix LPL monitors properly.
no point having a h cm fix when we really want to copy the sizes from the
other place.

RH BZ 435216
(cherry picked from commit c747030a49)
2008-04-07 10:26:59 -04:00
Hasso Tepper
db62e494ff configure.ac: DragonFly BSD support
Add support for DragonFly BSD, which is just the same as FreeBSD for all
of these cases.
(cherry picked from commit 0f87b41a43)
2008-04-07 14:11:03 +03:00
Owen W. Taylor
685a04c2bf EXA: Fix TS origin computation when implementing RenderComposite with tiling.
(cherry picked from commit 6b1a27023e)
2008-04-07 11:15:19 +02:00
Kristian Høgsberg
ff886a66de Convert __DRIconfigs after we've made sure createNewScreen succeeded.
(cherry picked from commit ec17900f52)
2008-04-04 11:47:09 -04:00
Kristian Høgsberg
d1dd774910 Only autoload RECORD if it was enabled.
(cherry picked from commit 16a8ce7558)
2008-04-04 11:47:08 -04:00
Jeremy Huddleston
6acb674a7a XQuartz: Change reporting of space change to debug log rather than stderr
(cherry picked from commit ed15556a9f)
2008-04-02 18:05:52 -07:00
Jeremy Huddleston
025909a605 Merge branch 'server-1.5-branch' into xorg-server-1.5-apple 2008-04-02 17:44:10 -07:00
Ben Byer
c8b387349e The AppKit thread should not be calling directly into the X server
functions to change state when the keyboard is reloaded; instead,
pass it as an event.
(cherry picked from commit 7e653f806f)
2008-04-02 17:43:46 -07:00
Ben Byer
e8b6088c7b formatting cleanup for X11Application.m (no code changes)
(cherry picked from commit eb083d3f68)
2008-04-02 17:43:37 -07:00
Ben Byer
503600c7de moved and renamed QuartzMessageServerThread to
DarwinSendDDXEvent to make more clear what it actually does.
(cherry picked from commit bee2b377ef)
2008-04-02 17:42:52 -07:00
Ben Byer
d39f9a63d7 shovelling code around ...
(cherry picked from commit 2143182ba4)
2008-04-02 17:42:31 -07:00
Ben Byer
9dcf5b4701 just a bit of juggling headers around -- we're preparing
to call our Xquartz-specific event handlers directly
as mieqHandlers
(cherry picked from commit 4aedba5aa7)
2008-04-02 17:40:59 -07:00
Ben Byer
8c4a81ce8e nuke DarwinEventQueue
(cherry picked from commit 1e0ec02202)
2008-04-02 17:40:47 -07:00
Jeremy Huddleston
216fdc8514 continue with gutting darwinEvents.c
(cherry picked from commit c34fce7051)
2008-04-02 17:40:34 -07:00