summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-04-10Remove NDEBUG (assert() disable) define from the X Server.Eric Anholt9-27/+6
A few pieces of code were abusing this define for other purposes, which are converted to #ifndef DEBUG instead. There should be no ABI consequences to this change. The rationale is that having the define in xorg-server.h also disables assert() drivers, which is unexpected, and also difficult to avoid since xorg-server.h is included in their config.h, and you can't put a #undef in config.h. As for removing it from the server instead of moving it to an internal header, we probably shouldn't have unnecessary assert()s in critical server paths anyway, and if we do we could #define NDEBUG in the specific cases needed.
2008-04-09dolt: add FreeBSD support (this and ppc have been submitted upstream).Eric Anholt1-0/+1
2008-04-09dolt works on powerpc Linux.Michel Dänzer1-1/+1
2008-04-09Fix off-by-one error in ProcXResQueryClients().Michel Dänzer1-1/+1
Fixes memory corruption reported at http://bugs.freedesktop.org/show_bug.cgi?id=14004 .
2008-04-09configure.ac: Do the doltDaniel Stone2-0/+142
Use dolt instead of libtool whereever practical. See: http://lists.debian.org/debian-devel/2008/04/msg00286.html
2008-04-09quirk: add quirk for ACR 640x350 default mode is wrongDave Airlie1-0/+6
RH #440186
2008-04-08add missing dix-config includeBen Byer1-0/+4
(cherry picked from commit 126e9bc8c480b403dedc44c1e8c4fe1476340ed9)
2008-04-08XQuartz: Fix issue where clicking on an X11 window might send that event to ↵Jeremy Huddleston8-12/+29
an X11 window in another space. (cherry picked from commit df21312c8b0e9ef0c809bfc57cdf64f27db0d8a7) (cherry picked from commit 2d4194a8d124e7a9c7cd1b83635ba6957aa4ae1c)
2008-04-08configure.ac: Fix monotonic test harderHasso Tepper1-1/+1
This was only introduced in a later version of POSIX, so define that version to get it from more conformant systems.
2008-04-07Fix Xvfb input when building against current X sources.Adam Tkac1-5/+1
2008-04-07configure.ac: DragonFly BSD supportHasso Tepper1-2/+4
Add support for DragonFly BSD, which is just the same as FreeBSD for all of these cases.
2008-04-07EXA: Fix TS origin computation when implementing RenderComposite with tiling.Owen W. Taylor1-4/+6
2008-04-07Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserverSascha Hlusiak50-1752/+1722
2008-04-06Remove stale codeSascha Hlusiak4-365/+0
The jstk code for Joysticks is not used by any module, was never actually compiled and uses an API that is deprecated these days. No reason to keep it.
2008-04-04Fix the clock_gettime check for glibc-based non-Linux systemsJulien Cristau1-3/+15
We need to define _POSIX_C_SOURCE on glibc, not just Linux, so add a new test for the __GLIBC__ macro.
2008-04-04Fix PCI config space cycles from int10 emulator.Adam Jackson1-1/+1
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.
2008-04-04Fix clock_gettime presence detect on FreeBSD.Eric Anholt1-0/+2
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.
2008-04-04Convert __DRIconfigs after we've made sure createNewScreen succeeded.Kristian Høgsberg1-2/+2
2008-04-04Only autoload RECORD if it was enabled.Kristian Høgsberg1-0/+2
2008-04-04quirk: add quirk for ACER EDIDDave Airlie1-0/+5
2008-04-02XQuartz: Change reporting of space change to debug log rather than stderrJeremy Huddleston1-1/+1
(cherry picked from commit ed15556a9fc4ebdb88f42961052fc8456082165f)
2008-04-02The AppKit thread should not be calling directly into the X serverBen Byer5-16/+13
functions to change state when the keyboard is reloaded; instead, pass it as an event. (cherry picked from commit 7e653f806ff5508aace059312156f319a9ed4479)
2008-04-02formatting cleanup for X11Application.m (no code changes)Ben Byer1-260/+241
(cherry picked from commit eb083d3f68f459d90417558da1ed00729b749950)
2008-04-02moved and renamed QuartzMessageServerThread toBen Byer7-58/+60
DarwinSendDDXEvent to make more clear what it actually does. (cherry picked from commit bee2b377efc930e25017636e5112093a3a6549c7)
2008-04-02shovelling code around ...Ben Byer5-123/+130
(cherry picked from commit 2143182ba49195bbb2e9163ea6872fd68e7a4a85)
2008-04-02just a bit of juggling headers around -- we're preparingBen Byer7-9/+16
to call our Xquartz-specific event handlers directly as mieqHandlers (cherry picked from commit 4aedba5aa727e22316e8ca456f7218bea9ee0313)
2008-04-02nuke DarwinEventQueueBen Byer2-34/+1
(cherry picked from commit 1e0ec02202eeaffae480048b91bf02140ee29f8a)
2008-04-02continue with gutting darwinEvents.cJeremy Huddleston1-96/+28
(cherry picked from commit c34fce7051b996633291dddc061b696ff737f3fb)
2008-04-02turns out we weren't actually using these files. oopsJeremy Huddleston3-690/+0
(cherry picked from commit bfec44d7b4baf0ad0aae55c8209bc60ac93c5b58)
2008-04-02remove vestigal DarwinEQPointerPost etcBen Byer3-21/+4
(cherry picked from commit a25704c423598d596fd7f2ed4290d4b860bd5d5f)
2008-04-02gut darwinEQEnqueue, and make it just call mieqEnqueue (for the moment)Ben Byer1-33/+7
(cherry picked from commit a9e081a60ca227c0d96d4613075d97d6b762366a)
2008-04-02add prototype for DarwinEventHandlerBen Byer2-2/+2
(cherry picked from commit 9a03ae33c4f9de830f15eabf3b994882ead7c000)
2008-04-02add logging of current thread ID to DEBUG_LOG macroBen Byer1-1/+1
(cherry picked from commit 5848510cc5a8091b30230ab920d904ca6b159480)
2008-04-02Begin to move all of our Xquartz DDX-specific event handlersBen Byer1-0/+24
to miEQ, in preparation to remove the DDX-specific code entirely. (cherry picked from commit 3f4447b95f73a82b3aa0f7b0d1640aba5fb0d1bc)
2008-04-02XQuartz: Fixed missing close-paren in preference pane text.Jeremy Huddleston2-2/+2
(cherry picked from commit ea37e151dc6032d2a1a33cef809f2a7d507aae35)
2008-04-02Pick up dri2proto from the standard proto header include path.Kristian Høgsberg2-2/+2
2008-04-02Send the GLX_EXT_texture_from_pixmap attributes to the client.Kristian Høgsberg1-1/+6
2008-04-02Add @XORG_CFLAGS@ to satisfy xf86* includes.Kristian Høgsberg2-2/+2
Pointed out by Hasso Tepper.
2008-04-02dri2: Unbreak glcore visual setup.Kristian Høgsberg1-3/+2
2008-04-02dri2: fix crasher if DRI2Connect failsXiang, Haihao1-1/+1
2008-04-02Bug #15160: quirk Proview AY765CHong Liu1-0/+5
prefer first detailed timing
2008-04-01xfree86: don't crash in AutoConfig if the primary device is not pciGoneri Le Bouder1-2/+3
Only call matchDriverFromFiles() if we found a pci device. Debian bug#472823 (http://bugs.debian.org/472823).
2008-04-01XKB: Fix processInputProc wrappingThomas Jaeger2-9/+16
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>
2008-03-31Add code to track 5 valuators for pointing device, in preparationBen Byer3-20/+80
for supporting tablet input in Xquartz. (cherry picked from commit 22c8849ea819eb70a14b2e06330b11b22aa63ebc)
2008-03-31add debug statements so we can see if/when our Xinput stubs are getting called.Ben Byer1-3/+13
(cherry picked from commit 6e160bbe15dd2c2b8685847c06831cb6aebc6f74)
2008-03-31Remove calls to InitValuatorAxisStruct -- these are now handled in dix byBen Byer1-18/+2
InitValuatorDeviceClass. Add InitProximityClassDeviceStruct call to prepare for tablet support. (cherry picked from commit 1bd980a5b114f5320360943214f8f9f23b29c1e3)
2008-03-31XSELinux: Add a request to get a client's context from a resource ID.Eamon Walsh2-0/+34
2008-03-31Implement DRI2 direct rendering and update AIGLX to DRI interface changes.Kristian Høgsberg19-393/+1053
Get rid of glcontextmodes.[ch] from build, rename __GlcontextModes to __GLXcontext. Drop all #includes of glcontextmodes.h and glcore.h. Drop the DRI context modes extension. Add protocol code to DRI2 module and load DRI2 extension by default.
2008-03-31EXA: Optimize the eviction scanning loop in exaOffscreenAlloc.Fredrik Höglund1-48/+58
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.
2008-03-31EXA: Improve the algorithm used for tracking offscreen pixmap use.Fredrik Höglund3-23/+16
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.