summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-03-03Return BadMatch if a client tries to clone non-cloneable outputs.Aaron Plattner1-0/+21
(cherry picked from commit 8b245758845523d5f8f017bb9d0e9aa57b616c28)
2007-03-04Xprint: fix font symlinksDrew Parsons4-3/+4
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-04Support for Hurd and other non-linux GNU systems.Drew Parsons4-4/+4
Non-linux GNU systems such as Hurd will define __GLIBC__ or __GNU__ rather than __linux__. This must be tested for in order to get byteswap.h included. See commit 594d180fe4f5d508569f9b263799da5af5a97087 (24 Dec 2006) and other related patches (fixed in upstream HEAD then, why was the patch not brought across to the 1.3 branch?).
2007-02-23Don't install libi2c.aAdam Jackson1-1/+1
2007-02-20Merge branch 'server-1.3-branch-origin' into server-1.3-branchKeith Packard2-2/+5
2007-02-20Eliminate RRModeRec devPrivate field.Keith Packard2-45/+103
The xf86 mode setting code was mis-using this field to try and store a pointer to a DisplayModeRec, however, each output has its own copy of every DisplayModeRec leaving the one in in the RRModeRec devPrivate field pointing at a random DisplayModeRec. Instead of attempting to rectify this, eliminating the devPrivate entirely turned out to be very easy; the DDX code now accepts an arbitrary RRModeRec structure and set that to the hardware, converting it on the fly to a DisplayModeRec as needed.
2007-02-19Check for clientGone before sending events from XFixes (bug #1753).Keith Packard2-2/+5
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. (cherry picked from commit 8a42af6a935b1cf0e15102e986bb527f4fab31a8)
2007-02-18Add support for user-defined modelines in RandR.Keith Packard8-50/+400
The RandR protocol spec has several requests in support of user-defined modes, but the implementation was stubbed out inside the X server. Fill out the DIX portion and start on the xf86 DDX portion. It might be necessary to add more code to the DDX to insert the user-defined modes into the output mode list.
2007-02-17Merge branch 'server-1.3-origin' into server-1.3-branchKeith Packard14-36/+80
2007-02-17Check for __sparc as well as __sparc__ for compatibility with Sun ccAlan Coopersmith7-14/+14
(gcc defines __sparc__, Sun cc defines __sparc) (cherry picked from commit f9f7d7f3be53c808abb5eaceb7a1abc55744a210)
2007-02-17Propogate $LIBS for xtrans, clock_gettime, libm, etc. to libs used for each ↵Alan Coopersmith1-7/+8
server (cherry picked from commit 40f84793bca40dcc6883d51aefa1bda44bd1ac61)
2007-02-17Add ast driver/device info to Xorg server & config utilitiesCarl Switzky3-0/+10
(cherry picked from commit edd5f1745461f995670969cb736d1569ca94643f)
2007-02-17Add an RDTSC implementation to the x86 emulator.Aaron Plattner1-1/+35
This instruction is being used in some debug VBIOSes. This implementation doesn't even try to be accurate. Instead, it just increments the counter by a fixed amount every time an rdtsc instruction in encountered, to avoid divides by zero.
2007-02-17Fix bus error on startup in 64-bit XephyrAlan Coopersmith1-14/+9
hostx_get_visual_masks takes unsigned long * arguments, but was being passed pointers to CARD32's. (cherry picked from commit 5dcad9e9d7d9993d65f989219bee94a060bbf476)
2007-02-17kdrive/ephyr: free screen structDaniel Stone1-0/+2
Free screen->driver on screenFini, instead of just leaking it. (cherry picked from commit 0f6dd4aea6176507dbe1c90c950d332fecbcaacb)
2007-02-17os: fix client privates leakDaniel Stone1-0/+2
Minor leak here. Oops. (cherry picked from commit 811675733e97416c990e6dc9c19271b43d96248d)
2007-02-16Don't set subpixel order during startup; the screen won't be ready.Keith Packard1-1/+2
in xf86CrtcSetMode, scrn->pScreen will be NULL during server startup time, so don't try to set the subpixel order. subpixel order will be set in the randr initialization anyways.
2007-02-16Ensure drivers can use new modes header files.Keith Packard7-15/+21
New modes header files required a few minor changes to be used by external drivers, the most notable of which is the publication of the config file parser header files.
2007-02-16Respect rotation in initial screen size computation.Keith Packard1-2/+2
2007-02-16Enable startup-time rotation; change rotation pixmap creation API.Keith Packard7-77/+172
Add monitor "Rotate" option taking one of "normal", "left", "inverted" or "right". However, because initial mode selection is made before the screen is completely initialized, we cannot create the shadow pixmap object at this point. Pend the shadow pixmap creation until the block handler. Note that this code is not completely functional yet.
2007-02-15RRConfigureOutputProperty is a variable length request.Keith Packard1-1/+1
Replace REQUEST_SIZE_MATCH with REQUEST_AT_LEAST_SIZE
2007-02-15Report correct RandR 1.0 sizeID. Report correct subpixel order.Keith Packard5-29/+110
RandR 1.0 sizeID must be computed the same way every time, so when reporting it in the ScreenChangeNotify event, just construct the usual 1.0 data block and use that. subpixel geometry information can be computed by looking at the connected outputs and finding any with subpixel geometry and using one of those for the global screen subpixel geometry. This might be improved by reporting None if more than one screen has information and they conflict.
2007-02-15Merge branch 'server-1.2-branch' into server-1.3-branchKeith Packard7-0/+28
2007-02-15Allow new modes code to build inside drivers as well as server.Keith Packard7-0/+28
Use config.h for driver builds where xorg-config.h isn't available.
2007-02-15Distribute hw/xfree86/modes.Tilman Sauerbeck1-1/+1
2007-02-14Merge crtc/output-based mode selection code.Keith Packard22-12/+5403
This code comes from the intel driver, so there's no history in this tree. As the crtc/output-based mode selection code uses ddc, the ddc and i2c modules have been merged into the server. Attempts to load them are safely ignored now.
2007-02-14Add missing dirty marking in a couple of fallback cases in the exaGlyphs path.Eric Anholt2-3/+15
(cherry picked from commit 81aa7f059d3cfd8d28420b7932b8ff7e06d67979)
2007-02-14Mark sync when UploadToScreen succeeds in exaGlyphs().Eric Anholt1-3/+5
(cherry picked from commit a5f19c5150a7b3dc2ff3ad759ee1a6ab0ad8925c)
2007-02-13Set the Damage version supported in the server, instead of using damageproto.Eric Anholt1-5/+12
This was caught by distributions upgrading damageproto to 1.1, before the server they had supported it. The server then advertised the new version without supporting the protocol. (cherry picked from 8274ea6aa97b06a56b7468c3908894c0ff72b687 commit)
2007-02-13Plug memory leak in doLoadModule()Alan Coopersmith1-1/+1
(cherry picked from cf7ca9d09cba14d107152a5179de38e5ef7bd784 commit)
2007-02-13Make xf1bpp build correctly with compilers that don't support -includeAlan Coopersmith1-31/+59
(cherry picked from 0f0c321adf2850b3d7aafe281362bfe424cb0ca1 commit)
2007-02-12Merge EXA updates up to commit cf5b29d75dad7c74543f49f010c817623a3df747.Eric Anholt10-216/+505
This is EXA version 2.1, including the damagetrack work.
2007-02-12Provide option to report damage after operation is complete.Eric Anholt3-37/+119
(cherry picked from commit 6060b612de6b41f872d034c6130770c1d189d0a3)
2007-02-02Fix the size expectations of xRRSetCrtcGamma.Eric Anholt1-1/+1
It was using REQUEST_SIZE_MATCH (client request length must equal request size) rather than REQUEST_AT_LEAST_SIZE (client request length must be at least big enough for request size), and this request has data following the request structure. (cherry picked from commit 4f2f3233c808fd86bf9f6c09937feda9e0b367fd)
2007-02-02dmx: drop leftover __GLXdrawablePrivateRec struct.George Sapountzis2-55/+0
(cherry picked from commit cf5b29d75dad7c74543f49f010c817623a3df747)
2007-01-30Allow DDX to not supply a property set notification function.randr-1.2-for-server-1.2Keith Packard1-1/+1
Check rrOutputSetProperty and only call if it isn't NULL.
2007-01-30Use old resource API in backported patch.Keith Packard1-6/+2
1.2 branch doesn't have the resource lookup changes, so we need to use the old APIs.
2007-01-29Make Xinearama screen information reflect CRTC rotation.Keith Packard4-28/+33
(cherry picked from commit b6b855932109b4bc3454f07bef8cb079d79ca369)
2007-01-29Really fix optimized render cases being hit when they shouldn't.Eric Anholt1-3/+0
I don't know how this define slipped in there. Fixes 6fdfd9dad91d7b7aa292f8c4d268dd27c34de8d3.
2007-01-29Account for CRTC rotation in the cursor containment code.Eric Anholt1-8/+42
2007-01-29When changing a non-pending property, call the screen rrOutputSetProperty hook.Eric Anholt1-0/+8
2007-01-29Don't forget to add the property we configure to the properties list.Eric Anholt1-0/+6
2007-01-29Track rename of DamagePost -> DamageAdd.Eric Anholt1-8/+8
2007-01-29Add support for the DamagePost (XDamage 1.1) request.Keith Packard2-2/+44
This makes damageproto >= 1.1 a requirement to build. (cherry picked from 0b73a7eb17fd848c6bdc6a65ba835aa2cbfc3cfd)
2007-01-29Keep track of how many visuals we set up for GLcore, to avoid an invalid free.Eric Anholt1-1/+3
The proper fix would involve actually setting up the ARGB visual for GLcore, but I just want the server to not crash at exit.
2007-01-29Export API for setting allowed CRTC rotationsKeith Packard2-0/+15
2007-01-29Merge branch 'server-1.2' into randr-1.2-for-server-1.2Keith Packard21-217/+3728
2007-01-23Fix release date.xorg-server-1.2.0Adam Jackson1-1/+1
2007-01-22Bump video and input ABI minors.Adam Jackson1-2/+2
Sadly this is a video ABI number already present in master, but that'll just have to change, won't it?
2007-01-22Bug #8991: Add glXGetDrawableAttributes dispatch; fix texture format therein.Adam Jackson6-44/+61