ChangeLog 154 KB
Newer Older
1 2 3 4 5 6
2006-04-02  Adam Jackson  <ajax@freedesktop.org>

	* hw/xfree86/dri/dri.c:
	Coverity #983: Move some risky debugging code inside #ifdef 
	DEBUG.

7 8 9 10 11
2006-04-02  Adam Jackson  <ajax@freedesktop.org>

	* GL/glx/glxcmds.c:
	Coverity #986: Prevent a NULL chase.

12 13 14 15 16
2006-04-02  Adam Jackson  <ajax@freedesktop.org>

	* Xext/sync.c:
	Coverity #992: Prevent a NULL chase.

Adam Jackson's avatar
Adam Jackson committed
17 18 19 20 21
2006-04-02  Adam Jackson  <ajax@freedesktop.org>

	* configure.ac:
	Bump to 1.1.99.1.

22 23 24 25 26 27 28
2006-04-02  Kristian Høgsberg  <krh@redhat.com>

	* GL/glx/glxdri.c (__glXDRIscreenProbe): Use xf86LoaderCheckSymbol
	to check for DRI symbols instead of dlsym, avoiding RTLD_DEFAULT.
	(__glXDRIscreenProbe): Change GLX-DRI to AIGLX in LogMessage for
	consitency.

Adam Jackson's avatar
../stub  
Adam Jackson committed
29 30 31 32 33 34
2006-04-02  Adam Jackson  <ajax@freedesktop.org>

	* hw/kdrive/ati/Makefile.am:
	* hw/kdrive/ati/ati.h:
	Disable building DRI support in Xati for now.

35 36 37 38 39 40 41 42
2006-04-01  Eric Anholt  <anholt@FreeBSD.org>

	reviewed by: keithp

	* GL/glx/glxdri.c: (__glXDRIscreenProbe):
	Use RTLD_DEFAULT, rather than relying on NULL happening to map to it as
	it does on Linux.

43 44 45 46 47 48
2006-04-01  Adam Jackson  <ajax@freedesktop.org>

	* configure.ac:
	Disable Xprint freetype support momentarily.  Needs ttf2pt1.c, which
	exists in the monolith but has an advertising clause in the license.

49 50 51 52 53 54
	* Xprint/ps/PsFTFonts.c:
	* Xprint/ps/psout_ft.c:
	* Xprint/ps/psout_ftpstype1.c:
	* Xprint/ps/psout_ftpstype3.c:
	Fix some includes to point into X11/fonts/ properly.

55 56 57 58 59
	* configure.ac:
	* hw/dmx/dmxextension.c:
	Reorder link order for Xdmx to fix new screensaver variable reference
	properly; remove previous awful hack.

60 61 62 63 64 65 66
2006-04-01  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa_accel.c: (exaCopyWindow):
	* hw/kdrive/ephyr/ephyr_draw.c: (ephyrFinishPipelinedAccess),
	(ephyrUploadToScreen):
	Clean up warnings and a debug printf.

67 68 69 70 71 72
2006-04-01  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa.c: (exaValidateGC):
	Pull out fb's tile handling during fbValidateGC so we can do the
	necessary exaPrepare/FinishAccess()es.  Revealed by xtest with fakexa.

73 74 75 76 77 78
2006-04-01  Adam Jackson  <ajax@freedesktop.org>

	* hw/dmx/dmxextension.c:
	Hack around the new screensaver variable for DMX, which is otherwise
	blissfully ignorant of it.

79 80 81 82 83 84 85 86 87 88
2006-04-01  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa_accel.c: (exaImageGlyphBlt):
	* exa/exa_priv.h:
	* exa/exa_unaccel.c:
	Export exaPrepare/FinishGC to the rest of EXA, and use it in the
	ImageGlyph implementation to avoid unprepared access to the tile.  Also,
	relocate the fbGetDrawable to avoid using a stale dest pointer after
	exaSolidBoxClipped() may have migrated it.  Revealed by xtest.

89 90 91 92 93 94
2006-04-01  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa_priv.h:
	Use fb's depth-to-planemask computation, which doesn't suffer from
	getting a 1 planemask at depth 32.  Fixes Get/PutImage xtest tests.

95 96 97 98
2006-04-01  Daniel Stone  <daniel@freedesktop.org>

	* configure.ac:
	Unconditionally run the XP_USE_FREETYPE AM_CONDITIONAL, not just in
99 100
	the Xprint-only path.  Make AC_ARG_ENABLE for freetype and AC_ARG_WITH
	for freetype-config conditional also.
101 102
	Bug #5801: Check for MTRR support under Linux.  Minor refactoring of
	the code checking this for other OSes.
103 104 105
	(To those wondering about the date: Yes, this is me doing an Xprint
	commit, but it fixes the --disable-xprint path, so.)

106 107 108 109
	* xkb/xkb.c: (XkbSizeVirtualModMap):
	Bug #6428: Fix off-by-one error when walking off the end of the
	vmodmap list.

110 111 112 113 114 115
2006-03-31  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa_unaccel.c: (ExaCheckComposite):
	Don't attempt to Prepare/FinishAccess NULL pDrawables.  Exposed by new
	gradient testing in rendercheck.

116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
2006-03-31  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa.c: (exaGetPixmapOffset), (exaPixmapIsOffscreen),
	(exaPrepareAccess), (exaFinishAccess), (exaDriverInit):
	* exa/exa_accel.c: (exaPutImage):
	* exa/exa_migration.c: (exaPixmapSave), (exaMoveInPixmap),
	(exaMoveOutPixmap):
	* exa/exa_priv.h:
	* exa/exa_render.c: (exaRasterizeTrapezoid), (exaAddTriangles):
	* exa/exa_unaccel.c: (exaPrepareAccessGC), (exaFinishAccessGC),
	(ExaCheckFillSpans), (ExaCheckPolylines), (ExaCheckPolySegment),
	(ExaCheckPolyArc), (ExaCheckPolyFillRect), (ExaCheckImageGlyphBlt),
	(ExaCheckPolyGlyphBlt), (ExaCheckPushPixels):
	* hw/kdrive/ephyr/ephyr.h:
	* hw/kdrive/ephyr/ephyr_draw.c: (ephyrPreparePipelinedAccess),
	(ephyrFinishPipelinedAccess), (ephyrPrepareSolid),
	(ephyrDoneSolid), (ephyrPrepareCopy), (ephyrDoneCopy),
	(ephyrPrepareComposite), (ephyrDoneComposite),
	(ephyrDownloadFromScreen), (ephyrUploadToScreen),
	(ephyrPrepareAccess), (ephyrDrawInit), (exaDDXDriverInit):
	Add an option to EXA for the DDX to request that EXA hide the pixmap's
	devPrivate.ptr when pointing at offscreen memory, outside of
	exaPrepare/FinishAccess().  This was used with fakexa to find (by NULL
	dereference) many instances of un-Prepared CPU access to the
	framebuffer:
	- GC tiles used in several ops when fillStyle == FillTiled were never
	  Prepared.
	- Migration could lead to un-Prepared access to mask data in render's
	  Trapezoids and Triangles
	- PutImage's UploadToScreen failure fallback failed to Prepare.

147 148 149 150 151
2006-03-31  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa_offscreen.c: (ExaOffscreenValidate):
	Correct a typo in debug-only offscreen validation code. (Wang Zhenyu)

152 153 154 155 156 157 158 159 160 161 162 163 164 165
2006-03-31  Fredrik Höglund  <fredrik@kde.org>

	* Xext/Makefile.am:
	Move the screensaver extension from module to builtins.

	* Xext/saver.c (ScreenSaverExtensionInit), (ScreenSaverFreeSuspend),
	(ProcScreenSaverSuspend), (SProcScreenSaverSuspend):
	* os/WaitFor.c (SetScreenSaverTimer):
	Add the server side implementation of the ScreenSaverSuspend request.

	* configure.ac:
	Require scrnsaverproto >= 1.1, and change the linking order of the
	Xorg static libs.

166 167 168 169
Fri Mar 31 12:37:16 2006  Søren Sandmann  <sandmann@redhat.com>

	* dix/window.c: Fix copyright statement

Egbert Eich's avatar
Egbert Eich committed
170 171 172 173 174
2006-03-31  Egbert Eich  <eich_at_freedesktop_dot_org>

	* mi/miwideline.c: (miFillRectPolyHelper), (miLineArc):
	fixed typo.
	
175 176 177 178 179 180 181 182
2006-03-31  Daniel Stone  <daniel@freedesktop.org>

	* configure.ac:
	* Xprint/Makefile.am:
	* Xprint/ps/Makefile.am:
	* Xprint/ps/psout_ftpstype3.c:
	Add full FreeType support for Xprint.  (Drew Parsons)

183 184 185
	* xkb/xkbfmisc.c:
	Simplify XkbWriteXKBKeymapForNames a bit, and remove debug spew.

Daniel Stone's avatar
Daniel Stone committed
186 187 188
	* Xi/*.[ch]:
	Reindent with -cbi0.

189 190 191 192 193 194 195 196 197 198 199 200 201 202
2006-03-30  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa.c: (exaValidateGC):
	* exa/exa_priv.h:
	* exa/exa_unaccel.c: (exaGetPixmapFirstPixel):
	Remove the exaAsyncPixmapGCOps mostly-unaccelerated ops vector, and
	always plug in the accelerated one, even if the destination pixmap is
	currently offscreen. This was a leftover from when kaa originally got
	accelerated offscreen pixmap support, and its only concievable use
	was to avoid a little overhead on ops to in-system pixmaps that weren't
	going to get migrated.  At this point, we probably care more about just
	getting everything accelerated that we easily can, which should happen
	with the new migration support.

203 204 205 206 207 208 209
2006-03-30  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa_accel.c: (exaCopyWindow):
	Don't do an extra fallback path for CopyWindow while swappedOut, since
	exaCopyNtoN takes care of the fallback anyway, and we don't care about
	the performance of this path.

210 211 212 213 214 215
2006-03-30  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ephyr/Makefile.am:
	Add a dependency on EXA, so it rebuilds when the library does.  The
	manual indicated I shouldn't do this, but experience indicates I should.

216 217 218 219 220 221 222 223 224 225 226
2006-03-30  Kristian Høgsberg  <krh@redhat.com>

	* GL/glx/glxcmds.c (__glXCreateARGBConfig): Mark the ARGB FBConfig
	as nonconforming to prevent drivers and apps from falling over.

	* GL/mesa/*/Makefile.am (AM_CFLAGS): Add @GLX_DEFINES@ so GLcore
	gets compiled with TLS support if configured.

	* GL/mesa/X/xf86glx.c (__glXMesaDrawableDestroy): Only destroy the
	mesa buffer if it got initialized.

227 228 229 230 231 232 233 234 235
2006-03-30  Egbert Eich  <eich_at_freedesktop_dot_org>

	* include/colormapst.h:
	* include/pixmapstr.h:
	* mi/miwideline.c: (miFillRectPolyHelper), (miLineArc):
	Fixes for some vsw4 failures on 64bit BE platforms such as
	PPC64 and s390x. Provided by Hong Bo Peng of IBM (slightly
	modified). Patches try to resolve some of the careless
	mixtures of ulong and uint (which are different size on
236 237 238
	64bit). 
	> This patch will break the driver ABI! <
	Bugzilla #6438.
239
	
240 241 242 243 244 245 246
2006-03-29  Kristian Høgsberg  <krh@redhat.com>

	* GL/glx/indirect_dispatch.c:
	* GL/glx/indirect_dispatch_swap.c:
	* GL/glx/indirect_size_get.c: Regenerate these files using updated
	scripts to avoid unused variable warnings.

247 248 249 250 251 252 253 254 255 256
2006-03-29  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa_accel.c: (exaPutImage), (exaGetImage):
	Bug #2986: Add PutImage acceleration for the ZPixmap,
	planeMask ~= FB_ALLONES, bitsPerPixel >= 8, GXcopy cases.  With the
	radeon driver on my machine, this gives about 10% speedup in PutImage
	10x10 and 500x500, and 40% speedup for 10x10 ShmPutImage, up to 65%
	improvement in 500x500 ShmPutImage.  Also fixes a crasher in GetImage
	that slipped in at the last minute.

257 258 259 260 261 262 263
2006-03-29  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ephyr/ephyr_draw.c: (ephyrDownloadFromScreen),
	(ephyrUploadToScreen), (ephyrDrawInit):
	Add an UploadToScreen implementation, for testing PutImage support, and
	make the DownloadFromScreen more robust.

264 265 266 267 268 269 270 271 272 273
2006-03-29  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa_accel.c: (exaGetImage):
	* exa/exa_priv.h:
	Bug #2986: Add acceleration of GetImage using DownloadFromScreen for the
	ZPixmap, planeMask ~= FB_ALLONES, bitsPerPixel >= 8 case.  I'm pretty
	convinced that this is the only case that we care about at all.  Tested
	with xwd -root and xwd on a gnome-terminal, in a composited environment
	or not.

274 275 276 277 278 279 280 281 282
2006-03-29  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ephyr/ephyr_draw.c: (ephyrDownloadFromScreen),
	(ephyrDrawInit), (exaDDXDriverInit):
	Add a DownloadFromScreen implementation, used for testing GetImage
	acceleration, and set the migration scheme to Always on init (since
	this is all for testing, and Always should make migration happen more
	frequently than Greedy).

283 284 285 286 287 288 289 290
2006-3-29   Deron Johnson  <deron.johnson@sun.com>

        * xorg/composite/compinit.c
        * xorg/composite/compwindow.c
        * xorg/dix/window.c
        * xorg/include/window.h
	Fix composite overlay window bug 6411.
	
Adam Jackson's avatar
Adam Jackson committed
291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311
2006-03-28  Adam Jackson  <ajax@freedesktop.org>

	* afb/afbbitblt.c:
	* afb/afbcmap.c:
	* afb/afbfillarc.c:
	* afb/afbfillrct.c:
	* afb/afbpushpxl.c:
	* afb/afbscrinit.c:
	* afb/afbzerarc.c:
	* hw/dmx/input/usb-other.c:
	* hw/xfree86/common/xf86xv.c:
	* hw/xfree86/dri/dri.c:
	* hw/xfree86/fbdevhw/fbdevhw.c:
	* hw/xfree86/i2c/fi1236.c:
	* hw/xfree86/i2c/msp3430.c:
	* hw/xfree86/i2c/uda1380.c:
	* hw/xfree86/xf4bpp/ppcGetSp.c:
	* hw/xfree86/xf8_16bpp/cfbscrinit.c:
	* hw/xfree86/xf8_32bpp/cfbimage.c:
	More warning cleanup.

Kristian Høgsberg's avatar
Kristian Høgsberg committed
312 313
2006-03-28  Kristian Høgsberg  <krh@redhat.com>

Kristian Høgsberg's avatar
Kristian Høgsberg committed
314 315
	* configure.ac: Fix another typo.
	
Kristian Høgsberg's avatar
Kristian Høgsberg committed
316 317 318
	* configure.ac: 
	* GL/glx/Makefile.am: Fix a couple of typos.

319 320 321 322 323 324 325 326 327
2006-03-27  Aaron Plattner  <aplattner@nvidia.com>

	* hw/xfree86/common/xf86Module.h:
	* hw/xfree86/loader/loader.c: (LoaderGetABIVersion):
	* hw/xfree86/loader/xf86sym.c:
	Add a new export, LoaderGetABIVersion.  This function allows
	modules to query the versions directly instead of having to guess.
	Bug #6416: Add LoaderGetABIVersion.

328 329 330 331 332 333 334
2006-03-27  Kristian Høgsberg  <krh@redhat.com>

	* configure.ac:
	* GL/glx/Makefile.am: Add --enable-glx-tls ./configure option to
	enable use of TLS for storing current GL context.  Use this option
	to let AIGLX load DRI drivers compiled for TLS.

335 336 337 338 339 340 341
2006-03-27  Adam Jackson  <ajax@freedesktop.org>

	* include/regionstr.h:
	* include/scrnintstr.h:
	* mi/miscrinit.c:
	Remove long-dead screen region code.

Adam Jackson's avatar
Adam Jackson committed
342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360
	* Xext/panoramiX.c:
	* Xext/security.c:
	* Xext/xevie.c:
	* Xprint/AttrValid.h:
	* Xprint/Oid.h:
	* dbe/dbe.c:
	* dbe/midbe.c:
	* dix/devices.c:
	* dix/events.c:
	* dix/window.c:
	* mi/miarc.c:
	* mi/mioverlay.c:
	* miext/shadow/shadow.h:
	* os/connection.c:
	* os/xdmauth.c:
	* record/record.c:
	* render/mipict.c:
	Big old pile of warning fixes.

361 362 363
	* configure.ac:
	Silence some editorializing in the configure help text.

364 365 366 367 368 369
2006-03-25  Daniel Stone  <daniel@freedesktop.org>

	* xkb/xkbUtils.c:
	Fix two of the more glaring unconditional-NULL-dereference screwups.
	There are many more left.

370 371 372 373
	* xkb/Makefile.am:
	* xkb/xkbconfig.c:
	* xkb/ddxConfig.c:
	* xkb/xkbInit.c:
Daniel Stone's avatar
Daniel Stone committed
374 375
	* hw/xgl/glx/xglx.c:
	* hw/xnest/Keyboard.c:
376 377
	Remove weirdo XkbCF pre-configuration code.

378 379 380 381 382 383
	* xkb/xkb.h:
	* xkb/xkb.c:
	Remove INITARGS braindamage, change to void; add XkbExtensionInit
	prototype to xkb.h.
	Explicitly initialise nTypes in xkb.c.

384 385
	* configure.ac:
	* include/xkb-config.h.in:
386 387
	* xkb/xkbfmisc.c:
	* xkb/maprules.c:
388
	* hw/xfree86/dixmods/xkbPrivate.c:
389 390
	Bug #3819: Remove open-coding of strcasecmp.

391 392 393 394 395 396 397 398 399 400
	* xkb/ddxVT.c:
	* xkb/ddxPrivate.c:
	* xkb/ddxKillSrv.c:
	* hw/xfree86/dixmods/Makefile.am:
	* hw/xfree86/dixmods/xkbVT.c:
	* hw/xfree86/dixmods/xkbPrivate.c:
	* hw/xfree86/dixmods/xkbKillSrv.c:
	Move XFree86 DDX actions out of xkb/ and into proper files in their
	own right in dixmods.

401 402 403 404 405 406 407 408 409 410 411 412
	* xkb/Makefile.am:
	* xkb/XKBAlloc.c:
	* xkb/XKBGAlloc.c:
	* xkb/XKBMAlloc.c:
	* xkb/XKBMisc.c:
	* xkb/xkbfmisc.c:
	* xkb/xkmread.c:
	* xkb/xkbtext.c:
	* xkb/xkbout.c:
	Prune XKB code to only what we need to run the server.  Remove dead
	!XKB_IN_SERVER codepaths.  Remove HAVE_CONFIG_H codepaths.

413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523
2006-03-25  Adam Jackson  <ajax@freedesktop.org>

	* hw/xfree86/common/xf86Bus.c:
	* hw/xfree86/common/xf86Configure.c:
	* hw/xfree86/common/xf86Cursor.c:
	* hw/xfree86/common/xf86DGA.c:
	* hw/xfree86/common/xf86DPMS.c:
	* hw/xfree86/common/xf86Debug.c:
	* hw/xfree86/common/xf86Events.c:
	* hw/xfree86/common/xf86Globals.c:
	* hw/xfree86/common/xf86Helper.c:
	* hw/xfree86/common/xf86Init.c:
	* hw/xfree86/common/xf86Io.c:
	* hw/xfree86/common/xf86MiscExt.c:
	* hw/xfree86/common/xf86Mode.c:
	* hw/xfree86/common/xf86Option.c:
	* hw/xfree86/common/xf86RandR.c:
	* hw/xfree86/common/xf86Versions.c:
	* hw/xfree86/common/xf86VidMode.c:
	* hw/xfree86/common/xf86Xinput.c:
	* hw/xfree86/common/xf86cmap.c:
	* hw/xfree86/common/xf86fbBus.c:
	* hw/xfree86/common/xf86fbman.c:
	* hw/xfree86/common/xf86isaBus.c:
	* hw/xfree86/common/xf86noBus.c:
	* hw/xfree86/common/xf86pciBus.c:
	* hw/xfree86/common/xf86sbusBus.c:
	* hw/xfree86/common/xf86xv.c:
	* hw/xfree86/common/xf86xvmc.c:
	* hw/xfree86/common/xisb.c:
	* hw/xfree86/dummylib/xf86addrestolist.c:
	* hw/xfree86/dummylib/xf86allocscripi.c:
	* hw/xfree86/dummylib/xf86drvmsg.c:
	* hw/xfree86/dummylib/xf86drvmsgverb.c:
	* hw/xfree86/dummylib/xf86errorf.c:
	* hw/xfree86/dummylib/xf86errorfverb.c:
	* hw/xfree86/dummylib/xf86getpagesize.c:
	* hw/xfree86/dummylib/xf86getverb.c:
	* hw/xfree86/dummylib/xf86msg.c:
	* hw/xfree86/dummylib/xf86msgverb.c:
	* hw/xfree86/dummylib/xf86opt.c:
	* hw/xfree86/dummylib/xf86screens.c:
	* hw/xfree86/loader/loader.c:
	* hw/xfree86/loader/loadext.c:
	* hw/xfree86/loader/loadfont.c:
	* hw/xfree86/loader/loadmod.c:
	* hw/xfree86/loader/os.c:
	* hw/xfree86/os-support/bsd/alpha_video.c:
	* hw/xfree86/os-support/bsd/arm_video.c:
	* hw/xfree86/os-support/bsd/bsdResource.c:
	* hw/xfree86/os-support/bsd/bsd_io.c:
	* hw/xfree86/os-support/bsd/bsd_kbd.c:
	* hw/xfree86/os-support/bsd/bsd_kmod.c:
	* hw/xfree86/os-support/bsd/bsd_mouse.c:
	* hw/xfree86/os-support/bsd/i386_video.c:
	* hw/xfree86/os-support/bsd/ppc_video.c:
	* hw/xfree86/os-support/bsd/sparc64_video.c:
	* hw/xfree86/os-support/bus/Pci.c:
	* hw/xfree86/os-support/bus/Sbus.c:
	* hw/xfree86/os-support/bus/axpPci.c:
	* hw/xfree86/os-support/bus/linuxPci.c:
	* hw/xfree86/os-support/bus/sparcPci.c:
	* hw/xfree86/os-support/linux/lnxResource.c:
	* hw/xfree86/os-support/linux/lnx_agp.c:
	* hw/xfree86/os-support/linux/lnx_axp.c:
	* hw/xfree86/os-support/linux/lnx_io.c:
	* hw/xfree86/os-support/linux/lnx_kbd.c:
	* hw/xfree86/os-support/linux/lnx_kmod.c:
	* hw/xfree86/os-support/linux/lnx_mouse.c:
	* hw/xfree86/os-support/linux/lnx_video.c:
	* hw/xfree86/os-support/lynxos/lynx_io.c:
	* hw/xfree86/os-support/lynxos/lynx_mmap.c:
	* hw/xfree86/os-support/lynxos/lynx_mouse.c:
	* hw/xfree86/os-support/lynxos/lynx_noinline.c:
	* hw/xfree86/os-support/lynxos/lynx_video.c:
	* hw/xfree86/os-support/misc/BUSmemcpy.c:
	* hw/xfree86/os-support/misc/Delay.c:
	* hw/xfree86/os-support/misc/IODelay.c:
	* hw/xfree86/os-support/misc/SlowBcopy.c:
	* hw/xfree86/os-support/sco/sco_io.c:
	* hw/xfree86/os-support/sco/sco_iop.c:
	* hw/xfree86/os-support/sco/sco_kbd.c:
	* hw/xfree86/os-support/sco/sco_mouse.c:
	* hw/xfree86/os-support/shared/agp_noop.c:
	* hw/xfree86/os-support/shared/bios_devmem.c:
	* hw/xfree86/os-support/shared/bios_mmap.c:
	* hw/xfree86/os-support/shared/ia64Pci.c:
	* hw/xfree86/os-support/shared/ioperm_noop.c:
	* hw/xfree86/os-support/shared/kbd.c:
	* hw/xfree86/os-support/shared/kmod_noop.c:
	* hw/xfree86/os-support/shared/libc_wrapper.c:
	* hw/xfree86/os-support/shared/posix_tty.c:
	* hw/xfree86/os-support/shared/sigio.c:
	* hw/xfree86/os-support/shared/sigiostubs.c:
	* hw/xfree86/os-support/shared/stdResource.c:
	* hw/xfree86/os-support/shared/vidmem.c:
	* hw/xfree86/os-support/solaris/sun_agp.c:
	* hw/xfree86/os-support/solaris/sun_bios.c:
	* hw/xfree86/os-support/solaris/sun_mouse.c:
	* hw/xfree86/os-support/solaris/sun_vid.c:
	* hw/xfree86/os-support/sysv/sysv_io.c:
	* hw/xfree86/os-support/sysv/sysv_mouse.c:
	* hw/xfree86/os-support/sysv/sysv_video.c:
	* hw/xfree86/os-support/usl/usl_io.c:
	* hw/xfree86/os-support/usl/usl_iop.c:
	* hw/xfree86/os-support/usl/usl_kbd.c:
	* hw/xfree86/os-support/usl/usl_mouse.c:
	* hw/xfree86/utils/xorgcfg/loadmod.c:
	* os/utils.c:
	Mark everything in xf86sym.c as _X_EXPORT.

524 525 526 527 528 529 530 531 532 533 534 535 536 537
2006-03-24  Fredrik Höglund  <fredrik@kde.org>

	* Xext/dpms.c (ProcDPMSSetTimeouts):
	* dix/main.c (main):
	* hw/xfree86/common/xf86Xinput.c (xf86eqProcessInputEvents):
	* hw/xfree86/loader/dixsym.c:
	* os/WaitFor.c (NextDPMSTimeout), (ScreenSaverTimeoutExpire)
	(SetScreenSaverTimer), (DPMSStandbyTimerExpire),
	(DPMSSuspendTimerExpire), (DPMSOffTimerExpire), (FreeDPMSTimers),
	(SetDPMSTimers):
	Refactored the screensaver and DPMS timer code to use the screensaver
	timer for both screensaver and DPMS. Removed the SetDPMSTimers()
	and FreeDPMSTimers() functions.

538 539 540 541 542
2006-03-24  Kristian Høgsberg  <krh@redhat.com>

	* GL/glx/glxdri.c (__glXDRIscreenProbe): Make sure DRI module is
	loaded before calling DRI functions.

543 544 545 546 547
2006-03-23  Alan Coopersmith  <alan.coopersmith@sun.com>

	* hw/xfree86/getconfig/getconfig.pl: 
	Add ast driver/pci id (Carl Switzky, Sun Microsystems)

Kristian Høgsberg's avatar
Kristian Høgsberg committed
548 549 550 551
2006-03-22  Kristian Høgsberg  <krh@redhat.com>

	* GL/glx/glxdri.c (__glXDRIscreenProbe): Improve error logging.

552 553 554 555 556
Wed Mar 22 16:28:46 2006  Søren Sandmann  <sandmann@redhat.com>

	* fb/fbmmx.c (fbCopyAreammx): Use inline assembly for copy area,
	since gcc doesn't generate movq instructions.

557 558 559 560 561
Wed Mar 22 16:05:09 2006  Søren Sandmann  <sandmann@redhat.com>

	* fb/fbmmx.c (fbSolidFillmmx): Use inline assembly for solid
	fills, since gcc doesn't use the movq instructions.

562 563 564 565 566
Wed Mar 22 13:42:44 2006  Søren Sandmann  <sandmann@redhat.com>

	* mi/mivaltree.c (miComputeClips): Patch by Keith Packard to make
	sure redirected windows don't get considered "FullyObscured".

567 568 569 570 571 572 573 574 575 576 577
2006-03-21  Kristian Høgsberg  <krh@redhat.com>

	Make the server distcheck and tag 1.0.99.1 snapshot.
	
	* configure.ac: Bump CVS version to 1.0.99.1.

	* Makefile.am:
	* os/Makefile.am: 
	* Xext/Makefile.am: 
	* GL/mesa/glapi/Makefile.am:  Distcheck fixes.

578 579 580 581 582 583 584 585 586 587
2006-03-21  Kristian Høgsberg  <krh@redhat.com>

	* GL/glx/glxcmds.c: 
	* GL/glx/glxcmdsswap.c: #include indirect_dispatch to get
	prototypes for FBO functions.

	* GL/glx/glxcontext.h: 
	* GL/glx/glxserver.h: 
	* GL/glx/glxdri.c: Fix a couple of warnings.

588 589 590 591 592 593 594 595 596 597 598 599 600
2006-03-20  Donnie Berkholz  <spyderous@gentoo.org>

	reviewed by: Kristian Høgsberg

	* GL/glx/glxscreens.c: (__glXHyperpipeInit),
	(__glXSwapBarrierInit):
	* GL/glx/glxutil.h:
	* GL/glx/single2.c: (__glXDisp_FeedbackBuffer),
	(__glXDisp_SelectBuffer):
	* GL/glx/single2swap.c: (__glXDispSwap_FeedbackBuffer),
	(__glXDispSwap_SelectBuffer):
	Finish glx_ansic.h wrapper changes to make Xvfb and Xnest link again.

601 602 603 604 605 606 607
2006-03-20  Adam Jackson  <ajax@freedesktop.org>

	* hw/xfree86/common/xf86Init.c:
	Bug #6213: Check geteuid's return value, not its address, otherwise
	unprivileged users can set the modulepath and run arbitrary code.
	Patch from Matthieu Herrb.  (CVE-2006-0745, Coverity #4)

608 609 610
	* cfb/cfbrrop.h:
	Bug #5549: Fix build for sparc64.  (Matthieu Herrb)

611 612 613 614 615 616 617 618 619 620
2006-03-16  Kristian Høgsberg  <krh@redhat.com>

	* configure.ac: Check for glproto when building GLX and make sure
	we have at least 1.4.6.

	* GL/glx/*.c: Drop glx_ansic.h wrapper and call xalloc, xrealloc,
	xfree and str-funcs directly.
	
	* GL/glx/glxcmds.c (GlxSetRenderTables): Really add this.

621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642
2006-03-16  Kristian Høgsberg  <krh@redhat.com>

	More patches from David Reveman:

	* GL/glx/glxscreens.c: Add GL_ARB_texture_non_power_of_two,
	GL_EXT_framebuffer_object and GL_NV_texture_env_combine4
	extensions.

	* GL/glx/glxcmds.c (__glXContextDestroy, DoMakeCurrent)
	(__glXdirectContextDestroy): Add __GLXcontext destructor and flush
	context cache there and on loseCurrent.

	* GL/mesa/X/xf86glx.c (__glXMesaContextDestroy): Chain back to new
	__GLXcontext destructor.
	(__glXMesaContextForceCurrent): Set render table on forceCurrent.
	(init_screen_visuals): Index pVis array correctly.
	(GlxGetMesaProvider): Add this.

	* GL/glx/glxcmds.c: 
	* GL/glx/g_disptab_EXT.h: 
	* GL/glx/g_disptab_EXT.c: Hook up FBO marshalling.

643 644 645 646 647 648 649 650 651 652 653 654 655 656
2006-03-16  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa.c: (exaGetPixmapSize), (exaDestroyPixmap), (exaLog2),
	(exaCreatePixmap):
	* exa/exa_migration.c: (exaCopyDirtyToSys), (exaCopyDirtyToFb),
	(exaPixmapSave), (exaMoveInPixmap), (exaMoveOutPixmap):
	* exa/exa_priv.h:
	Change EXA so that exaMoveOutPixmap() retains the framebuffer copy of
	the pixmap, and damage is tracked so that a later exaMoveInPixmap won't
	result in an upload if no upload is necessary.  This will likely improve
	the performance of the "Always" migration scheme significantly, and is
	a step in the path to more exact damage tracking between framebuffer and
	system memory.

657 658 659 660 661 662 663 664 665 666
2006-03-16  Daniel Stone  <daniel@freedesktop.org>

	* hw/xfree86/common/xf86PciInfo.h:
	* hw/xfree86/os-support/bus/zx1PCI.c:
	Add support for ZX2 PCI-E local bus adaptors.  (Alex Williamson, HP)

	* hw/xfree86/os-support/bus/zx1PCI.c:
	Use soft timeout register to avoid MCAs when probing for non-existent
	local bus adaptors on ZX2.  (Alex Williamson, HP)

667 668 669 670 671
2006-03-15  Adam Jackson  <ajax@freedesktop.org>

	* configure.ac:
	Bump to requiring fixesproto >= 4.0 and compositeproto >= 0.3.

672 673 674 675 676 677 678 679 680
2006-03-15  Matthieu Herrb <matthieu.herrb@laas.fr>

	* configure.ac
	* include/xorg-config.h.in
	- OpenBSD needs -Wl,-export-dynamic to export symbols from main
	executable to modules.
	- Probe for OpenBSD aperture driver and define HAS_APERTURE_DRV
	accordingly.

681 682 683 684 685 686 687 688 689
2006-03-15  Felix Kuehling  <fkuehlin@ati.com>

	* hw/xfree86/x86emu/ops2.c: (x86emuOp2_bts_R):
	Enable correct handling of the BTS instruction (opcode 0f ab)
	The code was there but #ifdefed out. Insead of BTS, BT was executed.
	This patch enables the BTS function and hooks it up the the correct
	opcode.
	(ATI Technologies Inc.)

690 691 692 693 694 695
2006-03-15  Felix Kuehling  <fxkuehl@gmx.de>

	* GL/mesa/shader/slang/Makefile.am:
	* GL/symlink-mesa.sh:
	Update to build against Mesa CVS HEAD.

696 697 698 699 700 701 702 703 704
2006-03-15  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa_migration.c: (exaMoveInPixmap):
	Don't let pinned pixmaps get migrated in when using the "Always"
	migration scheme.  This notably keeps the visible screen from getting
	migrated in to a new location in framebuffer.

	Reported by:	Michel Dänzer.

705 706 707 708
2006-03-15  Adam Jackson  <ajax@freedesktop.org>

	* hw/xfree86/loader/loadmod.c:
	Coverity #1053: Nuke a dead variable.
709 710
	Coverity #269: Compare the requested ABI class against the ABI class
	    of the module, not the module class.
711
	Coverity #794: Fix a highly unlikely memory leak.
712

713 714 715
	* miext/cw/cw.c:
	Coverity #337: Remove useless NULL check.

716 717 718
	* hw/xfree86/loader/loader.c:
	Coverity #484: Fix an off-by-one in module refcounting.

719 720 721
	* damageext/damageext.c:
	Coverity #491: Check version number correctly.

722 723 724
	* xfixes/xfixes.c:
	Coverity #487: Check version number correctly.

725 726 727
	* hw/xfree86/common/xf86VidMode.c:
	Coverity #490: Fix a range check in xf86vidmode extension.

728 729 730
	* xfixes/region.c:
	Coverity #807: Fix a memory leak in XFixesExpandRegion.

731 732 733
	* hw/xfree86/xf4bpp/ppcPixFS.c:
	Coverity #1042, 1043: Nuke some dead variables.

734 735 736 737 738 739 740 741 742 743 744
2006-03-15  Benjamin Herrenschmidt  <benh@kernel.crashing.org>

	* hw/xfree86/dri/dri.c: (DRIExtensionInit):
	Fix DRIExtensionInit() to not register callbacks when it hasn't been
	initialized for the current server generation. Fixes a problem where
	it would use stale private index and blow up in colorful ways if no
	driver called DRIScreenInit() on the second generation (which happens
	due to a bug in radeon that i'll fix separately). Note: clearing the
	index in DRIReset() wouldn't work as DRIReset() is called before the
	CloseScreen() chain

745 746 747 748 749 750 751
2006-03-15  Benjamin Herrenschmidt  <benh@kernel.crashing.org>

	* hw/xfree86/common/xf86fbman.c: (localAllocateOffscreenLinear):
	Make xf86 linear allocator smarter when dealing with alignment
	constraints when falling back to X/Y allocations. Fixes various
	problems of Xv allocation failures, notably with "nv" driver.

752 753 754 755 756 757 758 759 760 761 762 763 764 765 766
2006-03-14  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa.c: (exaDriverInit):
	* exa/exa_migration.c: (exaDoMigration):
	* exa/exa_priv.h:
	* hw/xfree86/exa/examodule.c: (exaXorgCloseScreen),
	(exaDDXDriverInit):
	Add a new migration scheme, "always", which will move pixmaps to their
	desired location always (unless they don't fit in FB, in which case they
	all get moved out for software rendering).  The default remains as
	before, but can be controlled by the MigrationHeuristic xorg.conf option
	(which is intentionally not documented, as it may be short-lived).  This
	is part of the exa-damagetrack work, which appears stable in testing
	with fakexa, unlike the work as a whole.

767 768 769 770 771 772 773
2006-03-14  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa.c:
	* exa/exa.h:
	Add more doxygen documentation, including notes on WaitMarker() and
	MarkSync() that I noticed were needed while reading the VIA driver.

774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792
2006-03-14  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa.c: (exaDriverInit):
	* exa/exa_accel.c: (exaFillSpans), (exaCopyNtoN),
	(exaPolyFillRect), (exaSolidBoxClipped), (exaFillRegionSolid),
	(exaFillRegionTiled), (exaGetImage), (exaGetSpans):
	* exa/exa_migration.c: (exaPixmapIsPinned), (exaMigrateTowardFb),
	(exaMigrateTowardSys), (exaDoMigration):
	* exa/exa_priv.h:
	* exa/exa_render.c: (exaOpReadsDestination),
	(exaTryDriverSolidFill), (exaTryDriverComposite), (exaComposite),
	(exaGlyphs):
	* exa/exa_unaccel.c: (exaGetPixmapFirstPixel):
	Move migration logic to a new function, exaDoMigration().  This is
	largely a manual conversion to allow for different migration schemes
	to be implemented reasonably, but does include some minor improvements
	such as accounting for pinned pixmaps not being acceleratable, and for
	our current GetImage and GetSpans not being accelerated.

793 794 795 796 797 798 799 800 801
2006-03-14  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa_accel.c: (exaFillRegionTiled):
	* exa/exa_priv.h:
	* exa/exa_render.c: (exaTryDriverSolidFill):
	* exa/exa_unaccel.c: (exaGetPixmapFirstPixel):
	Pull code for getting the (0,0) pixel from a pixmap out to a separate
	function, since it gets repeated (with bad error handling, in one case).

802 803 804 805 806
2006-03-14  Kristian Høgsberg  <krh@redhat.com>

	* GL/glx/glxdri.c (__glXDRIscreenProbe): Bail out early if screen
	doesn't support DRI.

807 808 809 810 811 812 813 814 815 816 817 818 819
2006-3-13   Deron Johnson  <deron.johnson@sun.com>

	* composite/compalloc.c
	* composite/compext.c
	* composite/compinit.c
	* composite/compint.h
	* composite/compwindow.c
	* xfixes/cursor.c
	* xfixes/xfixes.c
	* xfixes/xfixesint.h
	Composite Version 0.3: CompositeGetOverlayWindow, CompositeReleaseOverlayWindow
	Xfixes Version 4.0: XFixesHideCursor, XFixesShowCursor

820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837
2006-03-12  Kristian Høgsberg  <krh@redhat.com>

	First batch of AIGLX fixes from David Reveman.

	* GL/mesa/X/xf86glx.c (GlxGetMesaProvider): Add getter for Mesa
	provider.

	* GL/glx/glxvisuals.c (GlxInitVisuals): Export this for Xgl.

	* GL/glx/glxutil.c (__glXDrawableInit, __glXGetDrawable): Move
	resource tracking out of drawable constructor to allow wrapping.

	* GL/glx/glxcmdsswap.c (__glXSwapGetDrawableAttributesReply): Use
	corrent reply size #define.

	* GL/glx/glxcmds.c (GlxSetRenderTables): Add this function.
	(DoGetDrawableAttributes): Fix array length.

838 839 840 841 842
2006-03-12  Matthieu Herrb <matthieu.herrb@laas.fr>

	* hw/xfree86/dixmods/Makefile.am
	Fix build when AIGLX is false. 

843 844 845 846 847 848
2006-03-11  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa.h:
	Improve doxygen formatting, and attempt to clarify the 1:1 ratio of
	successful PrepareCopy()s to DoneCopy()s.
	
849 850 851 852 853 854 855 856 857
2006-03-11  Eric Anholt  <anholt@FreeBSD.org>

	reviewed by: jbarnes

	* exa/exa_accel.c: (exaCopyNtoNTwoDir):
	Make exaCopyNtoNTwoDir() call DoneCopy() at the end of each string of
	consecutive Copy() calls (rather than exactly once at the end of the
	function).

858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975
2006-03-10  Kristian Høgsberg  <krh@redhat.com>

	* Merge accel_indirect branch to HEAD.

2006-03-05  Kristian Høgsberg  <krh@redhat.com>

	* GL/glx/glxcmds.c (DoGetDrawableAttributes): Add
	GLX_Y_INVERTED_EXT to the drawable attributes we report.
	
2006-03-05  Kristian Høgsberg  <krh@redhat.com>

	* GL/glx/glxcmds.c (__glXCreateARGBConfig): Create the fbconfig
	for the composite 32 visual after the fact here.

	* GL/glx/glxdri.c (__glXDRIbindTexImage): Use 4bpp for 32 bit
	visuals too, but only fill the alpha channel for 24 depth
	drawables.

2006-03-03  Kristian Høgsberg  <krh@redhat.com>

	* GL/glx/glxdri.c (getDrawableInfo): Work around i915 driver that
	tries to render to drawable even if it no longer exists.
	Returning 0 cliprects (as dri_util.c does) doesn't seem to do it,
	so we set the width and height to 0.
	
	* GL/glx/g_disptab.h: 
	* GL/glx/glxcmdsswap.c: Fix a couple of warnings.

2006-03-03  Kristian Høgsberg  <krh@redhat.com>

	* GL/glx/glxdri.c (__glXDRIscreenProbe): Log full DRI driver path
	when dlopen() fails.

	* GL/glx/glxscreens.c (__glXInitScreens): Log the provider name
	when we initialize a GLX screen.

	* GL/symlink-mesa.sh: 
	* GL/mesa/swrast/Makefile.am: Update to work with mesa head.

2006-03-01  Kevin E. Martin  <kem-at-freedesktop-dot-org>

	* GL/glx/glxdri.c: (__glXDRIscreenProbe):
	Pass err_msg when dev_priv allocation fails.

2006-03-01  Kristian Høgsberg  <krh@redhat.com>

	* GL/glx/glxdri.c (__glXDRIscreenProbe): Handle failing allocation
	of dev_priv.
	
	* GL/glx/glxdri.c (__glXDRIscreenProbe): The DRI driver
	_mesa_free()'s the dev_priv passed in so we need to give it a
	copy.

2006-03-01  Kevin E. Martin  <kem-at-freedesktop-dot-org>

	* GL/glx/glxserver.h:
	Fix Xvfb, Xnest and Xprt build.

2006-02-28  Kristian Høgsberg  <krh@redhat.com>

	* GL/glx/glxdri.c (__glXDRIscreenProbe): Fix enter/leave confusion.

	* configure.ac: 
	* hw/xfree86/common/xf86Config.c (configServerFlags): Enable AIGLX
	by default at configure time and at runtime.

2006-02-27  Kristian Høgsberg  <krh@redhat.com>

	* GL/glx/glxserver.h: 
	* GL/glx/glxext.c: 
	* GL/mesa/X/xf86glx.c: Complete the prepare/finish dispatch to
	enter/leave server rename.

	* GL/glx/glxcmdsswap.c (__glXSwapGetDrawableAttributesSGIX): Add
	byte swapping function.

	* GL/mesa/swrast/Makefile.am (INCLUDES): Add -I../shader/slang.

	* GL/glx/glxcmds.c: Make GLX_EXT_texture_from_pixmap entrypoints
	non-static so we can get at them from glxcmdsswap.c.

2006-02-25  Kristian Høgsberg  <krh@redhat.com>

	* GL/glx/glxcmds.c: Add more GLX_EXT_texture_from_pixmap tokens
	here as a temporary fix.

2006-02-24  Kristian Høgsberg  <krh@redhat.com>

	* GL/glx/glxcmds.c:
	* GL/glx/glxcmdsswap.c:
	* GL/glx/glxcontext.h:
	* GL/glx/glxdri.c:
	* GL/glx/glxscreens.c:
	* GL/glx/glxserver.h: Add hooks for GLX_EXT_texture_from_pixmap
	and port over naive glTexImage2D implementation.  Add support for
	glXQueryDrawable.

2006-02-24  Kevin E. Martin  <kem-at-freedesktop-dot-org>

	* GL/glx/Makefile.am:
	Include from Mesa sources before any installed versions.

	* GL/glx/glxdri.c: (__glXDRIleaveServer), (__glXDRIenterServer),
	(createContext), (destroyContext), (createDrawable),
	(destroyDrawable), (getDrawableInfo), (__glXDRIscreenProbe):
	Wrap the __DRIinterfaceMethods methods with enter/leaveServer to
	make sure server locks are held when calling into the card driver.

2006-02-24  Kristian Høgsberg  <krh@redhat.com>

	* GL/glx/glxdri.c: 
	* GL/glx/glxvisuals.c: Add these files.

2006-02-24  Kristian Høgsberg  <krh@redhat.com>

	* GL/glx/*: Land rewritten accelerated indirect rendering on
	accel_indirect_branch.

976 977
2006-03-10  Alan Coopersmith  <alan.coopersmith@sun.com>

978 979 980 981 982 983
	* hw/xfree86/utils/xorgcfg/help.c: 
	Fix buffer size checks to prevent 2-byte buffer overflows.
	(Coverity #480, #481, #482, #483)

2006-03-10  Alan Coopersmith  <alan.coopersmith@sun.com>
	
Alan Coopersmith's avatar
Alan Coopersmith committed
984 985 986 987 988 989 990 991 992 993
	* configure.ac: 
	* include/dix-config.h.in: 
	Add HAS_MMAP for Xvfb

	* hw/vfb/InitOutput.c (ddxProcessArgument): 
	Fix Xvfb option parsing to exit on bad arguments, not just issue
	error messages and continue on.  (Coverity #492)
	
2006-03-10  Alan Coopersmith  <alan.coopersmith@sun.com>       

994 995 996
	* hw/xfree86/utils/xorgcfg/options.c: 
	Pass sizeof the correct buffer to XmuSnprintf. (Coverity #489)

997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011
2006-03-10  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ephyr/ephyr.c: (ephyrMapFramebuffer):
	* hw/kdrive/ephyr/ephyr_draw.c: (ephyrPrepareComposite),
	(ephyrDrawInit):
	* hw/kdrive/ephyr/hostx.c: (hostx_screen_init):
	* hw/kdrive/ephyr/hostx.h:
	If fakexa is enabled, create a larger buffer in the Ximage, but keep
	the same width/height for front-buffer drawing.  The fakexa code then
	uses this extra space for offscreen pixmaps.  Note that this tones down
	the absurdity of fakexa's offscreen pixmap alignment requirements (odd
	alignment is too weird, so stick with "24", which is still strange but
	exists out there).  It also fixes a couple of bugs in the fakexa
	implementation revealed by using offscreen pixmaps.

1012 1013 1014 1015 1016 1017 1018 1019
2006-03-10  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa.c: (exaPrepareAccess), (exaFinishAccess):
	Move the exaDrawableDirty in exaPrepareAccess to exaFinishAccess, which
	is after the drawing is done.  Previously, a failed PrepareAccess could
	have migrated and cleared the dirty flag before the damage was ever
	done.

1020 1021 1022 1023 1024 1025
2006-03-10  Eric Anholt  <anholt@FreeBSD.org>

	* hw/xfree86/vbe/vbe.c: (vbeProbeDDC):
	Coverity #1011: Remove a useless NULL check on a pVbe that had
	been dereferenced many times before.

1026 1027 1028 1029 1030
2006-03-09  Eric Anholt  <anholt@FreeBSD.org>

	* hw/xfree86/int10/generic.c: (xf86ExtendedInitInt10):
	Coverity #857: Fix resource leak in error path by freeing earlier.

1031 1032 1033 1034 1035 1036 1037 1038
2006-03-09  Eric Anholt  <anholt@FreeBSD.org>

	* hw/xfree86/parser/Keyboard.c: (xf86parseKeyboardSection):
	* hw/xfree86/parser/Layout.c: (xf86parseLayoutSection):
	* hw/xfree86/parser/Pointer.c: (xf86parsePointerSection):
	Coverity #813, #814, #815, #816: Fix resource leaks in error paths of
	config parsing code.

1039 1040 1041 1042 1043 1044
2006-03-09  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa.h:
	Document the restriction on PrepareAccess() failure, from discussion
	with benh.

1045 1046 1047 1048 1049 1050
2006-03-09  Jeremy C. Reed  <reed@reedmedia.net>

	* hw/xfree86/common/xf86Configure.c:
	Just like FreeBSD, let DragonFly's default mouse Device be
	/dev/sysmouse (since /dev/mouse don't even exist by default).

1051 1052 1053 1054 1055 1056 1057 1058 1059
2006-03-09  Jeremy C. Reed  <reed@reedmedia.net>

	* hw/xfree86/os-support/bsd/bsd_mouse.c: (SupportedInterfaces),
	(DefaultProtocol), (SetSysMouseRes), (xf86OSMouseInit):
	Add DragonFly support. (It is like FreeBSD.) This patch is
	from DragonFly developer Joerg Sonnenberger and the pkgsrc
	collection.  (I tested using /dev/sysmouse with moused using
	serial /dev/cuaa0.)

1060 1061 1062 1063 1064 1065 1066
2006-03-09  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa_render.c: (exaComposite):
	Coverity #349: Fall back to software early if pSrc->pDrawable is NULL,
	or pMask is non-NULL but pMask->pDrawable is NULL.  This prevents NULL
	dereferences on gradients and other Pictures which have no pDrawable.

1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079
2006-03-09  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa.c:
	* exa/exa.h:
	* exa/exa_offscreen.c:
	* exa/exa_priv.h:
	* hw/xfree86/doc/devel/exa-driver.txt:
	Do a first pass of doxygen documentation of EXA.  This removes the
	corresponding pieces of exa-driver.txt, which were becoming stale.
	Hopefully the documentation will stay much more up-to-date this way.
	Many thanks to jbarnes for writing exa-driver.txt which was used a lot
	in writing this documentation.

1080 1081 1082 1083
2006-03-09  Matthias Hopf  <mhopf@suse.de>

	* configure.ac: Do Xorg configure checks for Xgl only as well

1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113
2006-03-08  Eric Anholt  <anholt@FreeBSD.org>

	* exa/exa.c: (exaGetPixmapOffset), (exaPixmapIsOffscreen),
	(exaPrepareAccess), (exaFinishAccess), (exaDriverAlloc),
	(exaDriverInit), (exaMarkSync), (exaWaitSync):
	* exa/exa.h:
	* exa/exa_accel.c: (exaFillSpans), (exaCopyNtoNTwoDir),
	(exaCopyNtoN), (exaPolyFillRect), (exaSolidBoxClipped),
	(exaFillRegionSolid), (exaFillRegionTiled):
	* exa/exa_migration.c: (exaPixmapSave), (exaPixmapAllocArea),
	(exaMoveInPixmap):
	* exa/exa_offscreen.c: (ExaOffscreenValidate), (exaOffscreenAlloc),
	(ExaOffscreenSwapOut), (exaOffscreenFree), (ExaOffscreenMarkUsed),
	(exaOffscreenInit), (ExaOffscreenFini):
	* exa/exa_render.c: (exaTryDriverSolidFill),
	(exaTryDriverComposite), (exaComposite), (exaGlyphs):
	* hw/kdrive/ephyr/ephyr.h:
	* hw/kdrive/ephyr/ephyr_draw.c: (ephyrDrawInit):
	* hw/xfree86/exa/examodule.c:
	Rearrange EXA driver structures so that there's a hope of maintaining
	ABI when extending the driver interface.  The card and accel structures
	are merged into the ExaDriverRec, which is to be allocated using
	exaDriverAlloc().  The driver structure also grows exa_major and
	exa_minor, which drivers fill in and have checked by EXA
	(double-checking that the driver really did check that the EXA version
	was correct).  Removes exaInitCard(), which is replaced by the driver
	filling in the rec by hand, and the exaGetVersion() and related
	EXA_*VERSION which are replaced by always using the XFree86 loadable
	module versioning.

1114 1115 1116 1117 1118 1119 1120 1121 1122 1123
2006-03-08  Lars Knoll <lars@trolltech.com>

	* render/picture.c
	Initialize the format of a source picture to PICT_a8r8g8b8.
	Fixes a failure in the gradients test of rendercheck.
	In the long term we could do better by setting the format
	to something without alpha whenever the gradient doesn't
	contain colors with alpha. This triggers a reduction of
	the over operation to a pure source operation.

1124 1125 1126 1127 1128 1129
2006-03-07  Eric Anholt  <anholt@FreeBSD.org>

	* hw/xfree86/common/xf86fbman.c: (xf86InitFBManager):
	Bug #6150: Do the obvious fix of an insane sanity check in
	xf86InitFBManager. (Julio M. Merino Vidal)

1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166
2006-03-07  Ian Romanick  <idr@us.ibm.com>

	* hw/xfree86/common/xf86DoProbe.c: (DoProbe):
	* hw/xfree86/common/xf86Priv.h:
	* hw/xfree86/common/xf86Init.c: (ddxProcessArgument):
	Remove DoProbeArgs.  It was an empty function that was never called.

	Some refactoring in DoProbe to make the code more readable (and make
	the future transition to xf86CallDriverProbe easier).

	* hw/xfree86/common/xf86Helper.c: (xf86MatchPciInstances):
	Major refactoring of xf86MatchPciInstances.  Primarilly, all device
	matching is performed by a single, smart loop.  Matching of
	PCI_VENDOR_GENERIC devices is done by device class, and this
	eliminates the need to call xf86CheckPciGAType (good riddance!).

	Various other changes eliminate the need to use xnfrealloc on the
	instances array.  When in probe-only mode or the first pass of
	configure mode, the instances array isn't needed, so it is not
	allocated.

	These changes will make the change to a PCI device matching scheme
	more like is implemented in libpci.a (and has been discussed on the
	xorg mailing list) much, much simpler.

	* hw/xfree86/common/xf86.h:
	* hw/xfree86/loader/xf86sym.c:
	* hw/xfree86/common/xf86pciBus.c: (FindPCIVideoInfo):
	Eliminate unnecessary use of ?: operator within an if-statement.

	Remove xf86CheckPciGAType.  It is no longer called by
	xf86MatchPciInstances, which was previously the only place that
	called it.

	* hw/xfree86/common/xf86str.h:
	Add numerous comments to the fields of PciChipsets.

1167 1168 1169 1170 1171
2006-03-07  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ephyr/ephyr_draw.c:
	Add appropriate MIT license.  Oops.

1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188
2006-03-07  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ephyr/Makefile.am:
	* hw/kdrive/ephyr/ephyr.h:
	* hw/kdrive/ephyr/ephyr_draw.c: (ephyrPrepareSolid), (ephyrSolid),
	(ephyrDoneSolid), (ephyrPrepareCopy), (ephyrCopy), (ephyrDoneCopy),
	(ephyrCheckComposite), (ephyrPrepareComposite), (ephyrComposite),
	(ephyrDoneComposite), (ephyrMarkSync), (ephyrWaitMarker),
	(ephyrDrawInit), (ephyrDrawEnable), (ephyrDrawDisable),
	(ephyrDrawFini), (exaDDXDriverInit):
	Add a new flag to ephyr, "-fakexa", which turns on an EXA acceleration
	implementation that calls fb to get its work done.  The purpose is to
	have a trusted EXA driver for use with testing changes to the core of
	EXA.  However, fakexa has not received much testing yet, lacks offscreen
	pixmaps support, and doesn't reliably provide garbage when EXA doesn't
	get its syncing right.  All of these should be fixed soon.

1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201
2006-03-07  Eric Anholt  <anholt@FreeBSD.org>

	* hw/xfree86/exa/exa.c:
	* hw/xfree86/exa/exa.h:
	* hw/xfree86/exa/exa_accel.c:
	* hw/xfree86/exa/exa_migration.c:
	* hw/xfree86/exa/exa_offscreen.c:
	* hw/xfree86/exa/exa_priv.h:
	* hw/xfree86/exa/exa_render.c:
	* hw/xfree86/exa/exa_unaccel.c:
	Remove stale EXA files, which failed to get removed during the move to
	top-level, somehow.

1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218
2006-03-07  Luc Verhaegen  <libv@skynet.be>

	* hw/xfree86/common/xf86Mode.c: (xf86CheckModeForMonitor):
	Third pass at stopping reduced blanking modes for CRTs. This time
	round, there is almost no room for error left. We stop modes only
	when:
	- Hblank is less than 25% of HDisplay and
	- HTotal - HDisplay is exactly 160 and
	- HSyncEnd - HDisplay is exactly 80 (new) and  
	- HSyncEnd - HSyncStart is exactly 32 (new) and
	- VSyncStart - VDisplay is exactly 3 (new).
	So, we stop antique monitors which are rumoured to blow up regularly
	from doing so _only_ with modes generated by xf86CVTMode with Reduced
	TRUE or modelines generated by cvt -r. If the user dares as much as
	look at such a modeline, we're free to scorch off his face and fill it
	with glass.

1219 1220 1221 1222 1223 1224 1225 1226
2006-03-06  Lars Knoll <lars@trolltech.com>

	* render/picture.c
	Correctly initialize devPrivates variable in source 
	only pictures to 0
	* miext/cw/cw.h
	Don't try to access devPrivates of source only pictures

Matthieu Herrb's avatar
Matthieu Herrb committed
1227
2006-03-04  Matthieu Herrb <matthieu.herrb@laas.fr>
1228 1229 1230
	* hw/xfree86/dixmods/extmod/xf86misc.c
	Only output SetClientVersion message if verbosity > 1, like other
	extensions do
1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243
	* configure.ac:
	define SYS_LIBS to hold system dependant libraries that may needed.
	* GL/glx/indirect_dispatch_swap.c:
	* GL/glx/indirect_util.c:
	Definitions for bswapxx() macros on OpenBSD.
	* hw/xfree86/os-support/bsd/Makefile.am:
	Don't hard-code -DUSE_DEV_IO here. configure generates the proper 
	OS specific values here.
	* hw/xfree86/utils/ioport/Makefile.am:
	* hw/xfree86/utils/pcitweak/Makefile.am:
	* hw/xfree86/utils/scanpci/Makefile.am:
	* hw/xfree86/utils/xorgcfg/Makefile.am:
	Add ${SYS_LIBS} to libraries list
Matthieu Herrb's avatar
Matthieu Herrb committed
1244 1245 1246
	* cfb/Makefile.am.inc:
	Fix build with non GNU make.

1247 1248 1249 1250 1251 1252 1253
2006-02-28  Ian Romanick  <idr@us.ibm.com>

	* hw/xfree86/common/xf86Helper.c: (xf86AddDriver),
	(xf86MatchPciInstances):
	Remove redundant definition of struct Inst.
	Safeguard xf86AddDriver against future additions to DriverRec.

1254 1255 1256 1257 1258
2006-02-28  Daniel Stone  <daniel@freedesktop.org>

	* xkb/maprules.c:
	Bug #5216: Allow options to appear with other components.

1259 1260 1261 1262 1263 1264 1265
2006-02-28  Adam Jackson  <ajax@freedesktop.org>

	* XpConfig/C/print/models/CANONC3200-PS/fonts/Makefile.am:
	* XpConfig/C/print/models/HPLJ4050-PS/fonts/Makefile.am:
	* XpConfig/C/print/models/SPSPARC2/fonts/Makefile.am:
	Bug #5627: Fix Xprint font symlinking. (TIlman Sauerbeck)

1266 1267 1268 1269 1270 1271
2006-02-27  Alan Coopersmith  <alan.coopersmith@sun.com>

	* hw/darwin/quartz/XDarwinStartup.man:
	* hw/darwin/utils/dumpkeymap.man:
	Typo fixes (Nicholas Joly, XFree86 bugzilla #1658)

1272 1273 1274 1275 1276 1277
2006-02-24  Roland Scheidegger <rscheidegger_lists@hispeed.ch>

	* hw/xfree86/common/xf86PciInfo.h:
	Add two radeon pci ids (one is used for a radeon mobility X700 XL
	in a medion notebook, the other is for a AIW X800 VE)

1278 1279 1280 1281 1282
2006-02-24  Matthieu Herrb <matthieu.herrb@laas.fr>

	* configure.ac:
	OpenBSD supports PCVT and WSCONS. PCCONS is long gone. 

1283 1284 1285 1286 1287
2006-02-23  Adam Jackson  <ajax@freedesktop.org>

	* exa/exa_render.c:
	Remove redundant composite op reduction, done in Render now.

1288 1289 1290 1291 1292 1293
2006-02-22  Alexander Gottwald  <ago@starnet.com>

	* GL/glx/render2swap.c:
	Bug #5978: Added missing swap of input variables. Added missing cases
	for GL_SECONDARY_COLOR_ARRAY and GL_FOG_COORD_ARRAY (Colin McDonald)

1294 1295 1296 1297 1298 1299 1300 1301
2006-02-22  Alexander Gottwald  <ago@starnet.com>

	* hw/dmx/Makefile.am:
	* hw/dmx/input/Makefile.am:
	* hw/dmx/config/Makefile.am:

	Added Mesa include directory

1302 1303 1304 1305 1306 1307 1308
2006-02-21  Jeremy C. Reed  <reed@reedmedia.net>

	* GL/mesa/shader/slang/Makefile.am:
	* GL/symlink-mesa.sh:

	Update to build against Mesa HEAD.

1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324
2006-02-20  Ian Romanick  <idr@us.ibm.com>

	* hw/xfree86/os-support/bus/Pci.c: (handlePciBIOS), (readPciBios),
	(HandlePciBios), (xf86ReadPciBIOS):
	* hw/xfree86/os-support/bus/xf86Pci.h:

	Eliminate unused PCI BIOS reading functionality.  The old code
	used several function pointers to implement a level of
	flexability that was never used.  The code also had unused
	support for extracting a single image type from a larger
	expansion ROM. 

	Fix the spelling of PCI_BIOS_OPEN_FIRMWARE.

	Fix a couple errors in #ifdef debug code.

1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338
2006-02-20  Ian Romanick  <idr@us.ibm.com>

	* hw/xfree86/common/xf86pciBus.c: (FindPCIVideoInfo),
	(xf86GetPciRes):
	* hw/xfree86/common/xf86str.h:
	* hw/xfree86/os-support/bus/xf86Pci.h:
	* hw/xfree86/scanpci/xf86PciData.h:
	* hw/xfree86/scanpci/xf86ScanPci.c:
	Eliminate all the code for querying the PCI class from the PCI
	ID database.  Class information is not, and never has been,
	stored there.  Therefore, this is just a bunch of elaborate
	code to read 0x00000000. 


1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380
2006-02-21  Adam Jackson  <ajax@freedesktop.org>

	* Xi/allowev.c:
	* Xi/chgdctl.c:
	* Xi/chgfctl.c:
	* Xi/chgkbd.c:
	* Xi/chgkmap.c:
	* Xi/chgprop.c:
	* Xi/chgptr.c:
	* Xi/closedev.c:
	* Xi/devbell.c:
	* Xi/exevents.c:
	* Xi/extinit.c:
	* Xi/getbmap.c:
	* Xi/getdctl.c:
	* Xi/getfctl.c:
	* Xi/getfocus.c:
	* Xi/getkmap.c:
	* Xi/getmmap.c:
	* Xi/getprop.c:
	* Xi/getselev.c:
	* Xi/getvers.c:
	* Xi/grabdev.c:
	* Xi/grabdevb.c:
	* Xi/grabdevk.c:
	* Xi/gtmotion.c:
	* Xi/listdev.c:
	* Xi/opendev.c:
	* Xi/queryst.c:
	* Xi/selectev.c:
	* Xi/sendexev.c:
	* Xi/setbmap.c:
	* Xi/setdval.c:
	* Xi/setfocus.c:
	* Xi/setmmap.c:
	* Xi/setmode.c:
	* Xi/stubs.c:
	* Xi/ungrdev.c:
	* Xi/ungrdevb.c:
	* Xi/ungrdevk.c:
	ANSIfy Xi/.  Mostly automated via protoize(1).

1381 1382 1383
	* Xi/*.[ch]:
	indent fixes (OMG SO UGLY), and nuke old RCS keywords.

1384 1385 1386 1387 1388 1389
2006-02-16  Eric Anholt  <anholt@FreeBSD.org>

	* Xext/Makefile.am:
	Fix build of Xorg by putting xf86bigfont back into builtin instead of
	module sources list.

1390 1391 1392 1393 1394
2006-02-16  Eric Anholt  <anholt@FreeBSD.org>

	* configure.ac:
	Bug #5453: Don't forget to still do AM_CONDITIONAL for XVMC even if XV
	is disabled, and also force XVMC disabled if XV is disabled.
Eric Anholt's avatar
Eric Anholt committed
1395
	(Dag-Erling Smørgrav)
1396

1397 1398 1399 1400 1401
2006-02-16  Keith Packard  <keithp@keithp.com>

	* miext/shadow/shrotpackYX.h:
	Forgot to include this file in previous patch

1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441
2006-02-15  Keith Packard  <keithp@keithp.com>

	* Makefile.am:
	* Xext/Makefile.am:
	* configure.ac:
	* hw/kdrive/chips/Makefile.am:
	* hw/kdrive/epson/Makefile.am:
	* hw/kdrive/fbdev/Makefile.am:
	* hw/kdrive/fbdev/fbdev.c: (fbdevInitialize):
	* hw/kdrive/i810/Makefile.am:
	* hw/kdrive/linux/mouse.c: (ps2Init):
	* hw/kdrive/linux/ms.c: (MsRead):
	* hw/kdrive/linux/ps2.c: (Ps2Read):
	* hw/kdrive/mach64/Makefile.am:
	* hw/kdrive/mga/Makefile.am:
	* hw/kdrive/nvidia/Makefile.am:
	* hw/kdrive/pm2/Makefile.am:
	* hw/kdrive/r128/Makefile.am:
	* hw/kdrive/sdl/Makefile.am:
	* hw/kdrive/smi/Makefile.am:
	* hw/kdrive/src/kaa.c: (kaaMoveInPixmap):
	* hw/kdrive/src/kinput.c: (KdKeybdProc):
	* hw/kdrive/vesa/Makefile.am:
	* hw/kdrive/via/Makefile.am:
	* include/kdrive-config.h.in:
	* miext/damage/damage.c: (DamageSetup):
	* miext/shadow/Makefile.am:
	* miext/shadow/shadow.h:
	* miext/shadow/shrot16pack_270YX.c:
	* miext/shadow/shrot16pack_90YX.c:
	* os/oscolor.c: (OsToLower), (OsStrCaseCmp), (OsInitColors),
	(OsLookupColor):
	* os/osdep.h:
	* os/utils.c:
	Make more extensions optional in build (for kdrive).
	Fix kdrive build for actual hardware.
	Fix kdrive pointer signed/unsigned types.
	Add kdrive-required YX rotation functions.
	Replace rgb text file loading with static rgb color table.

1442 1443 1444 1445 1446 1447 1448 1449 1450 1451
2006-02-16  Benjamin Herrenschmidt  <benh@kernel.crashing.org>

	* hw/xfree86/ramdac/xf86Cursor.c:
	(xf86CursorEnableDisableFBAccess), (xf86CursorSetCursor):
	Fix an occasional crash on VT switches: the server would save a
	pointer to the current cursor when disabling FB access and would try
	to restore that cursor when re-enabling. However, that cursor might
	have been destroyed in between. This fixes it by updating the saved
	cursor pointer when a cursor is set and vtSema is FALSE.

1452 1453 1454 1455 1456 1457 1458 1459 1460 1461
2006-02-15  Eric Anholt  <anholt@FreeBSD.org>

	* XTrap/Makefile.am:
	* Xext/Makefile.am:
	* dbe/Makefile.am:
	* hw/xfree86/dixmods/Makefile.am:
	* record/Makefile.am:
	Bug #5871: Drop special build infrastructure left over from libcwrapper
	times. (George Fufutos)

1462 1463 1464 1465 1466
2006-02-16  Dave Airlie  <airlied@freedesktop.org>

	* Xext/xres.c: (ProcXResQueryClientPixmapBytes):
	Fix XSERVER64 should be _XSERVER64

1467 1468 1469 1470 1471 1472 1473 1474 1475 1476
2006-02-15  Eric Anholt  <anholt@FreeBSD.org>

	* XTrap/xtrapddmi.c:
	* XTrap/xtrapdi.c:
	* Xext/Makefile.am:
	* hw/xfree86/dixmods/extmod/Makefile.am:
	* hw/xfree86/dixmods/extmod/xf86dga2.c: (XFree86DGARegister):
	Bug #5869: Remove traces of EXTMODULE define, which doesn't appear to be
	useful any more. (George Fufutos)

1477 1478 1479 1480 1481 1482
2006-02-15  Eric Anholt  <anholt@FreeBSD.org>

	* hw/xfree86/dixmods/laymodule.c:
	Bug #5888: Remove orphaned laymodule.c from miext/layer removal.
	(George Fufutos)

1483 1484 1485 1486 1487 1488
2006-02-15  Zephaniah E. Hull  <warp@aehallh.com>

	* hw/xfree86/common/xf86Xinput.h:
	* hw/xfree86/loader/xf86sym.c:
	Export xf86ActivateDevice, used by the evdev driver.

1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522
2006-02-15  Eric Anholt  <anholt@FreeBSD.org>

	* Makefile.am:
	* configure.ac:
	* exa/Makefile.am:
	* exa/exa.c: (exaCreatePixmap), (exaCloseScreen), (exaDriverInit),
	(exaWaitSync), (exaGetVersion):
	* exa/exa.h:
	* exa/exa_accel.c: (exaFillSpans), (exaCopyArea),
	(exaPolyFillRect), (exaSolidBoxClipped), (exaCopyWindow),
	(exaPaintWindow):
	* exa/exa_migration.c:
	* exa/exa_offscreen.c: (exaEnableDisableFBAccess):
	* exa/exa_priv.h:
	* exa/exa_render.c: (exaComposite):
	* hw/xfree86/exa/Makefile.am:
	* hw/xfree86/exa/exa.c:
	* hw/xfree86/exa/exa.h:
	* hw/xfree86/exa/exa_accel.c:
	* hw/xfree86/exa/exa_migration.c:
	* hw/xfree86/exa/exa_offscreen.c:
	* hw/xfree86/exa/exa_priv.h:
	* hw/xfree86/exa/exa_render.c:
	* hw/xfree86/exa/exa_unaccel.c:
	* hw/xfree86/exa/examodule.c: (exaXorgCloseScreen),
	(exaXorgEnableDisableFBAccess), (exaDDXDriverInit),
	(EXAAvailableOptions), (exaSetup):
	Move EXA implementation up to the top level and remove its XFree86
	dependencies.  It was nearly abstract enough already to be used by
	multiple DDXes.  This will be useful for EXA development through
	providing a fake acceleration implementation within Xephyr, so that
	testing can be done on new EXA code without worrying about buggy
	drivers.

1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541
2006-02-15  Eric Anholt  <anholt@FreeBSD.org>

	* GL/mesa/X/Makefile.am:
	* GL/mesa/array_cache/Makefile.am:
	* GL/mesa/glapi/Makefile.am:
	* GL/mesa/main/Makefile.am:
	* GL/mesa/math/Makefile.am:
	* GL/mesa/shader/Makefile.am:
	* GL/mesa/shader/grammar/Makefile.am:
	* GL/mesa/shader/slang/Makefile.am:
	* GL/mesa/swrast/Makefile.am:
	* GL/mesa/swrast_setup/Makefile.am:
	* GL/mesa/tnl/Makefile.am:
	* configure.ac:
	* include/dix-config.h.in:
	Define NO_LIBCWRAPPER in dix-config.h, and rely on Mesa including
	dix-config.h if DIX_HAVE_CONFIG_H is defined to get it and _XSERVER64,
	instead of defining things like this per directory.

1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579
2006-02-15  Adam Jackson  <ajax@freedesktop.org>
	* mi/miarc.c:
	* mi/mibank.c:
	* mi/mibitblt.c:
	* mi/mibstore.c:
	* mi/micmap.c:
	* mi/micursor.c:
	* mi/midash.c:
	* mi/midispcur.c:
	* mi/miexpose.c:
	* mi/mifillarc.c:
	* mi/mifillrct.c:
	* mi/migc.c:
	* mi/miglblt.c:
	* mi/miinitext.c:
	* mi/mioverlay.c:
	* mi/mipointer.c:
	* mi/mipoly.c:
	* mi/mipolycon.c:
	* mi/mipolypnt.c:
	* mi/mipolyrect.c:
	* mi/mipolyseg.c:
	* mi/mipolytext.c:
	* mi/mipushpxl.c:
	* mi/miregion.c:
	* mi/miscrinit.c:
	* mi/misprite.c:
	* mi/mivaltree.c:
	* mi/miwideline.c:
	* mi/miwindow.c:
	* mi/mizerarc.c:
	* mi/mizerclip.c:
	* mi/mizerline.c:
	* miext/cw/cw.c:
	* miext/damage/damage.c:
	* render/miglyph.c:
	Mark everything in misym.c as _X_EXPORT.

1580 1581 1582 1583 1584 1585
	* Xext/panoramiX.c:
	* Xext/shm.c:
	* Xext/sleepuntil.c:
	* dix/atom.c:
	Mark everything in {ext,font}sym.c as _X_EXPORT.

1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634
	* XTrap/xtrapddmi.c:
	* Xext/xvmain.c:
	* Xi/exevents.c:
	* Xi/extinit.c:
	* dix/atom.c:
	* dix/colormap.c:
	* dix/cursor.c:
	* dix/devices.c:
	* dix/dispatch.c:
	* dix/dixfonts.c:
	* dix/dixutils.c:
	* dix/events.c:
	* dix/extension.c:
	* dix/gc.c:
	* dix/globals.c:
	* dix/main.c:
	* dix/pixmap.c:
	* dix/privates.c:
	* dix/property.c:
	* dix/resource.c:
	* dix/swaprep.c:
	* dix/swapreq.c:
	* dix/tables.c:
	* dix/window.c:
	* hw/xfree86/common/xf86DGA.c:
	* hw/xfree86/common/xf86xvmc.c:
	* hw/xfree86/dummylib/fatalerror.c:
	* hw/xfree86/dummylib/logvwrite.c:
	* hw/xfree86/dummylib/verrorf.c:
	* hw/xfree86/dummylib/xalloc.c:
	* hw/xfree86/dummylib/xf86errorf.c:
	* hw/xfree86/parser/cpconfig.c:
	* os/WaitFor.c:
	* os/access.c:
	* os/connection.c:
	* os/io.c:
	* os/log.c:
	* os/utils.c:
	* os/xalloc.c:
	* render/filter.c:
	* render/miglyph.c:
	* render/mipict.c:
	* render/mirect.c:
	* render/picture.c:
	* render/renderedge.c:
	* xkb/xkbAccessX.c:
	* xkb/xkbInit.c:
	Mark everything in dixsym.c as _X_EXPORT.

1635 1636 1637 1638 1639
	* XTrap/xtrapddmi.c:
	* XTrap/xtrapdiswp.c:
	Remove a few #ifdef vms; whatever problem that was solving should
	assuredly be solved some other way.

1640 1641 1642 1643 1644 1645
2006-02-15  Kristian Høgsberg  <krh@redhat.com>

	* GL/symlink-mesa.sh: 
	* GL/mesa/swrast/Makefile.am: 
	Update to build against Mesa trunk.

1646 1647 1648 1649 1650 1651 1652 1653 1654
2006-02-14  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/mga/mgadraw.c: (mgaDrawDisable):
	* hw/kdrive/src/kdrive.c: (KdDisableScreen):
	Remove the waitSync from KdDisableScreen and push it off to drivers'
	disableAccel hook, which is more correct anyway.  This makes kdrive.c
	not have any knowledge of kaa, opening the way for using exa from
	kdrive.

1655 1656 1657 1658 1659
2006-02-14  Eric Anholt  <anholt@FreeBSD.org>

	* GL/mesa/shader/slang/Makefile.am:
	Avoid some more libcwrapper damage that prevented kdrive linking.

1660 1661 1662 1663 1664 1665 1666 1667
2006-02-14  Benjamin Herrenschmidt <benh@kernel.crashing.org>

	* hw/xfree86/dri/dri.c: (DRIGetSecs):
	DRIGetSecs() would call getsecs() when XFree86LOADER is defined,
	relying on the wrappers to provide it. Wrapper gone, and getsecs
	doesn't exist on linux so it now blows up. Fixes it by just calling
	gettimeofday() in all cases instead.

1668 1669 1670 1671 1672 1673 1674
2006-02-14  Benjamin Herrenschmidt <benh@kernel.crashing.org>

	* fb/fbbits.h:
	Remove useless line of code that contained a bug and triggered a
	gcc warning. This variable will be overriden before being used
	anyway. (Bugzilla #5595)

1675 1676 1677 1678 1679
2006-02-14  Alan Hourihane  <alanh@fairlite.demon.co.uk>

	* hw/xfree86/dixmods/shmodule.c:
	Bump shadow module version number to 1.1.0 from 1.0.0

1680 1681 1682 1683
2006-02-13  Adam Jackson  <ajax@freedesktop.org>

	* render/picture.c:
	Further op reduction when both src and dst alpha are absent.
Adam Jackson's avatar
Adam Jackson committed
1684
	(Reverted)
1685

1686 1687 1688 1689 1690
2006-02-13  Benjamin Herrenschmidt <benh@kernel.crashing.org>

	* Xprint/Util.c: (XpOpenTmpFile):
	HAS_MKSTEMP vs. HAVE_MKSTEMP (From Fredrik Höglund)

1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701
2006-02-13  Benjamin Herrenschmidt <benh@kernel.crashing.org>

	* cfb/Makefile.am:
	* cfb16/Makefile.am:
	* cfb32/Makefile.am:
	* hw/xfree86/fbdevhw/fbdevhw.c:
	* hw/xfree86/os-support/linux/int10/linux.c:
	* hw/xfree86/os-support/linux/int10/vm86/linux_vm86.c:
	Fix linux build without libc wrappers (From Fredrik
	Höglund)

1702 1703 1704 1705 1706 1707 1708 1709 1710 1711
2006-02-13  Benjamin Herrenschmidt <benh@kernel.crashing.org>

	* hw/kdrive/src/kdrive.c: (ddxInitGlobals):
	* hw/vfb/InitOutput.c:
	* hw/xfree86/common/xf86Init.c: (OsVendorInit):
	* hw/xnest/Init.c:
	* os/osinit.c: (OsInit):
	Move call to xf86WrapperInit() to OsVendorInit() in xf86Init.c and
	remove stubs in other DDX.

1712 1713 1714 1715 1716 1717 1718 1719
2006-02-12  Eric Anholt  <anholt@FreeBSD.org>

	reviewed by: keithp (in principle)

	* render/picture.c: (ReduceCompositeOp), (CompositePicture):
	Simplify ops that would use the alpha channel when an alpha channel is
	always 1.0, and short circuit PictOpDst for good measure.

1720 1721 1722 1723 1724 1725 1726 1727 1728
2006-02-12  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/linux/Makefile.am:
	* hw/kdrive/src/Makefile.am:
	* include/kdrive-config.h.in:
	Add missing HAVE_DIX_CONFIG_H which caused issues with mismatched screen
	structure interpretations, and remove a bunch of unused junk from
	kdrive-config.h.  Xephyr almost works on my amd64.

1729 1730 1731 1732 1733 1734 1735
2006-02-11  Eric Anholt  <anholt@FreeBSD.org>

	* hw/vfb/InitOutput.c: (xf86WrapperInit):
	* hw/xnest/Init.c: (xf86WrapperInit):
	Add stub xf86WrapperInits so that the servers will build even if os/ was
	built with XFree86LOADER set.

1736 1737
2006-02-11  Alan Coopersmith  <alan.coopersmith@sun.com>

1738 1739 1740 1741 1742 1743 1744 1745 1746
	* Xext/xres.c: 
	* afb/afbline.c:
	* fb/fbblt.c:
	* hw/dmx/config/scanner.l:
	Add <string.h>, <stdlib.h>, and <stdio.h> to clear undefined function
	warnings after the removal of libcwrapper headers.

2006-02-11  Alan Coopersmith  <alan.coopersmith@sun.com>	

1747 1748 1749 1750 1751 1752 1753 1754
	* cfb/cfbfillarc.c:
	* cfb/cfbzerarc.c:
	* hw/xfree86/xaa/xaaFillArc.c:
	* hw/xfree86/exa/exa_offscreen.c:
	* mfb/mfbfillarc.c:
	* mfb/mfbzerarc.c:
	<sys/limits.h> -> <limits.h> so we can compile on non-BSD OS'es

1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771
2006-02-10  Eric Anholt  <anholt@FreeBSD.org>

	* GL/glx/Makefile.am:
	* GL/mesa/X/Makefile.am:
	* GL/mesa/array_cache/Makefile.am:
	* GL/mesa/glapi/Makefile.am:
	* GL/mesa/main/Makefile.am:
	* GL/mesa/math/Makefile.am:
	* GL/mesa/shader/Makefile.am:
	* GL/mesa/swrast/Makefile.am:
	* GL/mesa/swrast_setup/Makefile.am:
	* GL/mesa/tnl/Makefile.am:
	* hw/kdrive/src/kdrive.c: (xf86WrapperInit):
	* include/kdrive-config.h.in:
	Remove libcwrapper damage from GLX (requires fresh Mesa HEAD), and get
	it compiling in kdrive.

1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906