Merge lp:~muktupavels/xorg-server/lp-1209008 into lp:ubuntu/utopic/xorg-server

Proposed by Alberts Muktupāvels
Status: Merged
Merge reported by: Alberts Muktupāvels
Merged at revision: not available
Proposed branch: lp:~muktupavels/xorg-server/lp-1209008
Merge into: lp:ubuntu/utopic/xorg-server
Diff against target: 127395 lines (+41074/-58511)
559 files modified
.dir-locals.el (+1/-0)
COPYING (+1/-0)
ChangeLog (+7713/-544)
Makefile.am (+14/-0)
Makefile.in (+17/-1)
Xext/Makefile.in (+9/-1)
Xext/panoramiX.c (+11/-14)
Xext/panoramiXsrv.h (+1/-0)
Xext/saver.c (+2/-4)
Xext/security.c (+8/-3)
Xext/shm.c (+230/-12)
Xext/shmint.h (+24/-0)
Xext/sync.c (+149/-63)
Xext/syncsrv.h (+13/-0)
Xext/xvdisp.c (+5/-16)
Xext/xvmain.c (+2/-2)
Xi/Makefile.in (+9/-1)
Xi/chgdctl.c (+6/-0)
Xi/exevents.c (+39/-20)
Xi/extinit.c (+2/-0)
Xi/grabdev.c (+1/-4)
Xi/setdval.c (+3/-0)
Xi/setmode.c (+4/-0)
Xi/xiallowev.c (+1/-1)
Xi/xibarriers.c (+12/-0)
Xi/xibarriers.h (+2/-2)
Xi/xichangehierarchy.c (+4/-0)
Xi/xipassivegrab.c (+5/-1)
aclocal.m4 (+1519/-1324)
composite/Makefile.in (+9/-1)
composite/compalloc.c (+2/-2)
composite/compext.c (+6/-1)
composite/compinit.c (+5/-2)
composite/compoverlay.c (+4/-1)
config/10-quirks.conf (+54/-0)
config/Makefile.am (+2/-2)
config/Makefile.in (+11/-3)
config/hal.c (+13/-3)
config/non-seat0.conf.multi-seat (+18/-0)
config/udev.c (+15/-4)
configure (+4345/-2291)
configure.ac (+290/-88)
damageext/Makefile.in (+9/-1)
damageext/damageext.c (+353/-78)
damageext/damageextint.h (+3/-0)
dbe/Makefile.am (+1/-2)
dbe/Makefile.in (+10/-3)
dbe/dbe.c (+5/-76)
dbe/dbestruct.h (+14/-7)
dbe/midbe.c (+41/-93)
dbe/midbestr.h (+0/-75)
debian/changelog (+373/-2)
debian/compat (+1/-1)
debian/control (+56/-39)
debian/patches/02_improve-posix-saved-ids-check.diff (+0/-65)
debian/patches/02_kbsd-input-devd.diff (+551/-0)
debian/patches/04_hashtabletest-s390x.diff (+0/-27)
debian/patches/10_Include-missing-selection-h.diff (+0/-20)
debian/patches/190_cache-xkbcomp_output_for_fast_start_up.patch (+92/-30)
debian/patches/29b1484bb9555e45067669cbfe68a3c40596f4ff.patch (+44/-0)
debian/patches/aarch64.patch (+0/-39)
debian/patches/autoconfig-fixup-tell-changed-so-randr-clients-can-t.patch (+0/-192)
debian/patches/disable-rotation-transform-gpuscreens.patch (+22/-0)
debian/patches/drm_device_keep_trying.patch (+172/-0)
debian/patches/fix-detach-gpu.patch (+89/-0)
debian/patches/fix-ftbfs-ppc64el.patch (+13/-0)
debian/patches/include-selection-h.patch (+0/-12)
debian/patches/mi-dont-process-disabled.patch (+62/-0)
debian/patches/os-use-libunwind-to-generate-backtraces.patch (+0/-206)
debian/patches/pixman-validate.patch (+27/-0)
debian/patches/ppc64el-endian-fix.patch (+34/-0)
debian/patches/rrcrtc-brackets-are-hard.patch (+42/-0)
debian/patches/series (+15/-14)
debian/patches/xephyr-glx-register.patch (+0/-39)
debian/patches/xf86-detach-scanout.patch (+0/-87)
debian/patches/xf86-ignore-conflicting-rr-caps.patch (+20/-0)
debian/patches/xi-dont-copy-too-much.patch (+67/-0)
debian/patches/xi2-resize-touch.patch (+34/-0)
debian/patches/xmir.patch (+935/-413)
debian/patches/xrandr-rroutputchanged-main.patch (+63/-0)
debian/rules (+55/-25)
debian/serverminver (+3/-3)
debian/xorg-server-source.install (+1/-0)
debian/xserver-xfbdev.install (+0/-1)
dix/Makefile.am (+2/-1)
dix/Makefile.in (+19/-9)
dix/cursor.c (+0/-6)
dix/devices.c (+38/-11)
dix/dispatch.c (+53/-70)
dix/dixfonts.c (+11/-3)
dix/dixutils.c (+7/-1)
dix/events.c (+91/-32)
dix/getevents.c (+30/-18)
dix/globals.c (+0/-1)
dix/inpututils.c (+16/-19)
dix/main.c (+7/-5)
dix/pixmap.c (+0/-1)
dix/privates.c (+0/-1)
dix/ptrveloc.c (+2/-3)
dix/region.c (+15/-0)
dix/registry.c (+17/-8)
dix/stubmain.c (+35/-0)
dix/window.c (+11/-10)
doc/Makefile.in (+9/-1)
doc/dtrace/Makefile.in (+9/-1)
dri3/Makefile.am (+13/-0)
dri3/Makefile.in (+805/-0)
dri3/dri3.c (+92/-0)
dri3/dri3.h (+65/-0)
dri3/dri3_event.c (+163/-0)
dri3/dri3_priv.h (+80/-0)
dri3/dri3_request.c (+395/-0)
dri3/dri3_screen.c (+86/-0)
dri3/dri3int.h (+26/-0)
exa/Makefile.am (+1/-5)
exa/Makefile.in (+10/-5)
exa/exa_classic.c (+0/-1)
exa/exa_migration_mixed.c (+7/-5)
exa/exa_mixed.c (+7/-6)
fb/Makefile.in (+9/-1)
fb/fb.h (+0/-34)
fb/fbcopy.c (+0/-27)
fb/fbpict.c (+2/-6)
fb/wfbrename.h (+1/-0)
glx/Makefile.am (+6/-18)
glx/Makefile.in (+19/-27)
glx/createcontext.c (+3/-1)
glx/dispatch.h (+0/-19816)
glx/extension_string.c (+7/-0)
glx/extension_string.h (+6/-0)
glx/glapi.c (+0/-504)
glx/glapi.h (+0/-135)
glx/glapi_gentable.c (+0/-10058)
glx/glapitable.h (+0/-1016)
glx/glprocs.h (+0/-3534)
glx/glthread.h (+0/-234)
glx/glxcmds.c (+162/-60)
glx/glxcmdsswap.c (+0/-4)
glx/glxcontext.h (+5/-6)
glx/glxdri.c (+0/-1168)
glx/glxdri2.c (+44/-34)
glx/glxdricommon.c (+67/-8)
glx/glxdriswrast.c (+8/-7)
glx/glxext.c (+40/-15)
glx/glxext.h (+16/-0)
glx/glxscreens.c (+7/-10)
glx/glxscreens.h (+3/-5)
glx/glxserver.h (+16/-0)
glx/indirect_dispatch.c (+1668/-2492)
glx/indirect_dispatch.h (+252/-350)
glx/indirect_dispatch_swap.c (+1958/-3081)
glx/indirect_program.c (+30/-33)
glx/indirect_reqsize.c (+35/-74)
glx/indirect_reqsize.h (+20/-33)
glx/indirect_size.h (+7/-5)
glx/indirect_size_get.c (+96/-112)
glx/indirect_size_get.h (+5/-11)
glx/indirect_table.c (+221/-247)
glx/indirect_texture_compression.c (+8/-19)
glx/indirect_util.c (+1/-6)
glx/render2.c (+37/-40)
glx/render2swap.c (+37/-40)
glx/renderpix.c (+10/-16)
glx/renderpixswap.c (+10/-16)
glx/single2.c (+7/-11)
glx/single2swap.c (+6/-10)
glx/singlepix.c (+32/-55)
glx/singlepixswap.c (+32/-56)
glx/singlesize.c (+3/-7)
glx/swap_interval.c (+0/-4)
glx/xfont.c (+11/-19)
hw/Makefile.in (+9/-1)
hw/dmx/Makefile.am (+0/-2)
hw/dmx/Makefile.in (+17/-12)
hw/dmx/config/Makefile.in (+9/-1)
hw/dmx/config/dmxcompat.c (+4/-0)
hw/dmx/config/man/Makefile.in (+9/-1)
hw/dmx/config/parser.c (+1949/-700)
hw/dmx/config/parser.h (+86/-18)
hw/dmx/dmx.h (+0/-4)
hw/dmx/dmx_glxvisuals.c (+23/-9)
hw/dmx/dmxcursor.c (+0/-2)
hw/dmx/dmxextension.c (+3/-0)
hw/dmx/dmxinit.c (+5/-11)
hw/dmx/dmxpict.c (+0/-4)
hw/dmx/dmxscrinit.c (+110/-163)
hw/dmx/dmxshadow.c (+0/-70)
hw/dmx/dmxshadow.h (+0/-46)
hw/dmx/doc/Makefile.in (+9/-1)
hw/dmx/doxygen/Makefile.in (+9/-1)
hw/dmx/examples/Makefile.in (+9/-1)
hw/dmx/glxProxy/Makefile.am (+0/-1)
hw/dmx/glxProxy/Makefile.in (+12/-7)
hw/dmx/glxProxy/glxcmds.c (+39/-21)
hw/dmx/glxProxy/glxext.c (+0/-6)
hw/dmx/glxProxy/glxscreens.c (+3/-6)
hw/dmx/glxProxy/glxserver.h (+0/-2)
hw/dmx/glxProxy/glxsingle.c (+21/-17)
hw/dmx/glxProxy/glxutil.c (+0/-37)
hw/dmx/glxProxy/glxutil.h (+0/-2)
hw/dmx/glxProxy/glxvendor.c (+20/-16)
hw/dmx/input/Makefile.in (+9/-1)
hw/dmx/input/dmxbackend.c (+1/-5)
hw/dmx/input/dmxcommon.c (+0/-5)
hw/dmx/input/dmxevents.c (+1/-2)
hw/dmx/input/usb-private.h (+2/-2)
hw/dmx/man/Makefile.in (+9/-1)
hw/dmx/man/Xdmx.man (+0/-10)
hw/kdrive/Makefile.in (+9/-1)
hw/kdrive/ephyr/Makefile.am (+41/-56)
hw/kdrive/ephyr/Makefile.in (+91/-131)
hw/kdrive/ephyr/XF86dri.c (+0/-647)
hw/kdrive/ephyr/ephyr.c (+347/-147)
hw/kdrive/ephyr/ephyr.h (+16/-4)
hw/kdrive/ephyr/ephyrdri.c (+145/-59)
hw/kdrive/ephyr/ephyrdri.h (+1/-1)
hw/kdrive/ephyr/ephyrdriext.c (+11/-21)
hw/kdrive/ephyr/ephyrglxext.c (+6/-8)
hw/kdrive/ephyr/ephyrhostglx.c (+216/-478)
hw/kdrive/ephyr/ephyrhostglx.h (+6/-5)
hw/kdrive/ephyr/ephyrhostproxy.c (+0/-91)
hw/kdrive/ephyr/ephyrhostproxy.h (+0/-51)
hw/kdrive/ephyr/ephyrhostvideo.c (+0/-975)
hw/kdrive/ephyr/ephyrhostvideo.h (+0/-231)
hw/kdrive/ephyr/ephyrinit.c (+38/-5)
hw/kdrive/ephyr/ephyrproxyext.c (+0/-115)
hw/kdrive/ephyr/ephyrproxyext.h (+0/-33)
hw/kdrive/ephyr/ephyrvideo.c (+427/-377)
hw/kdrive/ephyr/hostx.c (+530/-753)
hw/kdrive/ephyr/hostx.h (+19/-83)
hw/kdrive/ephyr/man/Makefile.in (+9/-1)
hw/kdrive/ephyr/man/Xephyr.man (+5/-1)
hw/kdrive/ephyr/os.c (+1/-1)
hw/kdrive/ephyr/xf86dri.h (+0/-124)
hw/kdrive/fake/Makefile.am (+1/-1)
hw/kdrive/fake/Makefile.in (+10/-2)
hw/kdrive/fbdev/Makefile.am (+1/-1)
hw/kdrive/fbdev/Makefile.in (+10/-2)
hw/kdrive/fbdev/fbdev.c (+140/-31)
hw/kdrive/fbdev/fbdev.h (+1/-1)
hw/kdrive/linux/Makefile.am (+1/-1)
hw/kdrive/linux/Makefile.in (+10/-2)
hw/kdrive/linux/evdev.c (+1/-1)
hw/kdrive/linux/linux.c (+1/-1)
hw/kdrive/linux/mouse.c (+3/-9)
hw/kdrive/linux/ps2.c (+1/-1)
hw/kdrive/src/Makefile.am (+1/-1)
hw/kdrive/src/Makefile.in (+10/-2)
hw/kdrive/src/kdrive.c (+7/-5)
hw/kdrive/src/kdrive.h (+11/-9)
hw/kdrive/src/kinput.c (+15/-27)
hw/kdrive/src/kxv.c (+0/-2)
hw/vfb/Makefile.in (+9/-1)
hw/vfb/man/Makefile.in (+9/-1)
hw/xfree86/Makefile.am (+24/-21)
hw/xfree86/Makefile.in (+43/-30)
hw/xfree86/common/Makefile.am (+1/-1)
hw/xfree86/common/Makefile.in (+10/-2)
hw/xfree86/common/compiler.h (+1/-1)
hw/xfree86/common/xf86.h (+0/-25)
hw/xfree86/common/xf86AutoConfig.c (+9/-8)
hw/xfree86/common/xf86Bus.c (+5/-0)
hw/xfree86/common/xf86Config.c (+2/-1)
hw/xfree86/common/xf86Configure.c (+2/-0)
hw/xfree86/common/xf86Cursor.c (+0/-3)
hw/xfree86/common/xf86DPMS.c (+8/-1)
hw/xfree86/common/xf86Events.c (+22/-10)
hw/xfree86/common/xf86Helper.c (+10/-4)
hw/xfree86/common/xf86Mode.c (+7/-10)
hw/xfree86/common/xf86Module.h (+3/-3)
hw/xfree86/common/xf86Option.c (+1/-1)
hw/xfree86/common/xf86RandR.c (+9/-7)
hw/xfree86/common/xf86fbman.c (+7/-5)
hw/xfree86/common/xf86platformBus.c (+6/-0)
hw/xfree86/common/xf86sbusBus.c (+4/-2)
hw/xfree86/common/xf86xvmc.c (+3/-1)
hw/xfree86/ddc/Makefile.am (+1/-1)
hw/xfree86/ddc/Makefile.in (+10/-2)
hw/xfree86/ddc/ddc.c (+4/-3)
hw/xfree86/ddc/xf86DDC.h (+0/-2)
hw/xfree86/dixmods/Makefile.am (+2/-2)
hw/xfree86/dixmods/Makefile.in (+14/-4)
hw/xfree86/dixmods/glxmodule.c (+0/-3)
hw/xfree86/doc/Makefile.in (+9/-1)
hw/xfree86/dri/Makefile.in (+9/-1)
hw/xfree86/dri2/Makefile.in (+9/-1)
hw/xfree86/dri2/dri2.c (+1/-18)
hw/xfree86/dri2/dri2ext.c (+5/-0)
hw/xfree86/exa/Makefile.am (+1/-1)
hw/xfree86/exa/Makefile.in (+10/-2)
hw/xfree86/exa/man/Makefile.in (+9/-1)
hw/xfree86/fbdevhw/Makefile.am (+1/-1)
hw/xfree86/fbdevhw/Makefile.in (+10/-2)
hw/xfree86/fbdevhw/fbdevhw.c (+1/-0)
hw/xfree86/fbdevhw/man/Makefile.in (+9/-1)
hw/xfree86/i2c/Makefile.am (+1/-1)
hw/xfree86/i2c/Makefile.in (+10/-2)
hw/xfree86/int10/Makefile.am (+3/-3)
hw/xfree86/int10/Makefile.in (+11/-4)
hw/xfree86/loader/Makefile.am (+1/-1)
hw/xfree86/loader/Makefile.in (+10/-2)
hw/xfree86/man/Makefile.in (+9/-1)
hw/xfree86/man/xorg.conf.man (+17/-1)
hw/xfree86/modes/Makefile.am (+2/-4)
hw/xfree86/modes/Makefile.in (+12/-6)
hw/xfree86/modes/xf86Crtc.c (+108/-4)
hw/xfree86/modes/xf86Crtc.h (+0/-3)
hw/xfree86/modes/xf86DisplayIDModes.c (+1/-0)
hw/xfree86/modes/xf86Modes.h (+3/-3)
hw/xfree86/modes/xf86RandR12.c (+19/-3)
hw/xfree86/modes/xf86RandR12.h (+0/-3)
hw/xfree86/modes/xf86Rename.h (+0/-94)
hw/xfree86/modes/xf86Rotate.c (+1/-5)
hw/xfree86/os-support/Makefile.in (+9/-1)
hw/xfree86/os-support/bsd/Makefile.am (+1/-1)
hw/xfree86/os-support/bsd/Makefile.in (+10/-2)
hw/xfree86/os-support/bus/Makefile.am (+1/-1)
hw/xfree86/os-support/bus/Makefile.in (+10/-2)
hw/xfree86/os-support/bus/Sbus.c (+6/-2)
hw/xfree86/os-support/hurd/Makefile.am (+1/-1)
hw/xfree86/os-support/hurd/Makefile.in (+10/-2)
hw/xfree86/os-support/hurd/hurd_init.c (+1/-0)
hw/xfree86/os-support/hurd/hurd_mmap.c (+1/-0)
hw/xfree86/os-support/hurd/hurd_video.c (+1/-0)
hw/xfree86/os-support/linux/Makefile.am (+1/-1)
hw/xfree86/os-support/linux/Makefile.in (+10/-2)
hw/xfree86/os-support/linux/lnx_platform.c (+10/-4)
hw/xfree86/os-support/linux/lnx_video.c (+2/-1)
hw/xfree86/os-support/misc/Makefile.am (+1/-1)
hw/xfree86/os-support/misc/Makefile.in (+10/-2)
hw/xfree86/os-support/shared/vidmem.c (+0/-13)
hw/xfree86/os-support/solaris/Makefile.am (+1/-1)
hw/xfree86/os-support/solaris/Makefile.in (+10/-2)
hw/xfree86/os-support/stub/Makefile.am (+1/-1)
hw/xfree86/os-support/stub/Makefile.in (+10/-2)
hw/xfree86/os-support/xf86OSpriv.h (+0/-2)
hw/xfree86/os-support/xf86_OSlib.h (+0/-5)
hw/xfree86/os-support/xf86_OSproc.h (+0/-2)
hw/xfree86/parser/Makefile.am (+1/-1)
hw/xfree86/parser/Makefile.in (+10/-2)
hw/xfree86/parser/write.c (+2/-1)
hw/xfree86/ramdac/Makefile.am (+1/-1)
hw/xfree86/ramdac/Makefile.in (+10/-2)
hw/xfree86/ramdac/xf86Cursor.c (+0/-1)
hw/xfree86/sdksyms.sh (+4/-0)
hw/xfree86/shadowfb/Makefile.am (+1/-1)
hw/xfree86/shadowfb/Makefile.in (+10/-2)
hw/xfree86/utils/Makefile.in (+9/-1)
hw/xfree86/utils/cvt/Makefile.am (+2/-1)
hw/xfree86/utils/cvt/Makefile.in (+11/-2)
hw/xfree86/utils/cvt/cvt.c (+1/-0)
hw/xfree86/utils/gtf/Makefile.in (+9/-1)
hw/xfree86/utils/man/Makefile.in (+9/-1)
hw/xfree86/vbe/Makefile.am (+2/-1)
hw/xfree86/vbe/Makefile.in (+11/-2)
hw/xfree86/vbe/vbe.c (+3/-15)
hw/xfree86/vgahw/Makefile.am (+1/-1)
hw/xfree86/vgahw/Makefile.in (+10/-2)
hw/xfree86/x86emu/Makefile.am (+1/-1)
hw/xfree86/x86emu/Makefile.in (+10/-2)
hw/xfree86/x86emu/decode.c (+10/-0)
hw/xfree86/x86emu/x86emu/regs.h (+9/-0)
hw/xfree86/x86emu/x86emu/x86emui.h (+11/-1)
hw/xnest/Args.h (+1/-1)
hw/xnest/GCOps.c (+13/-0)
hw/xnest/Makefile.in (+9/-1)
hw/xnest/Pixmap.c (+15/-0)
hw/xnest/Screen.c (+1/-0)
hw/xnest/XNPixmap.h (+2/-0)
hw/xnest/man/Makefile.in (+9/-1)
hw/xquartz/GL/Makefile.in (+9/-1)
hw/xquartz/GL/glcontextmodes.c (+0/-1)
hw/xquartz/GL/indirect.c (+13/-13)
hw/xquartz/GL/visualConfigs.c (+3/-3)
hw/xquartz/Makefile.am (+3/-2)
hw/xquartz/Makefile.in (+16/-8)
hw/xquartz/X11Application.m (+13/-0)
hw/xquartz/X11Controller.m (+6/-6)
hw/xquartz/applewm.c (+16/-0)
hw/xquartz/bundle/Info.plist.cpp (+4/-4)
hw/xquartz/bundle/Makefile.in (+9/-1)
hw/xquartz/darwinfb.h (+1/-1)
hw/xquartz/mach-startup/Makefile.in (+9/-1)
hw/xquartz/mach-startup/stub.c (+4/-0)
hw/xquartz/man/Makefile.in (+9/-1)
hw/xquartz/pbproxy/Makefile.in (+9/-1)
hw/xquartz/pbproxy/x-selection.m (+1/-2)
hw/xquartz/pseudoramiX.c (+0/-516)
hw/xquartz/pseudoramiX.h (+0/-10)
hw/xquartz/quartz.c (+3/-0)
hw/xquartz/xpr/Makefile.am (+1/-0)
hw/xquartz/xpr/Makefile.in (+10/-1)
hw/xquartz/xpr/appledri.c (+10/-0)
hw/xquartz/xpr/x-hook.c (+9/-24)
hw/xquartz/xpr/xprCursor.c (+0/-2)
hw/xwin/InitInput.c (+0/-1)
hw/xwin/InitOutput.c (+40/-0)
hw/xwin/Makefile.am (+7/-3)
hw/xwin/Makefile.in (+26/-13)
hw/xwin/XWin.exe.manifest (+1/-1)
hw/xwin/glx/Makefile.am (+30/-10)
hw/xwin/glx/Makefile.in (+135/-31)
hw/xwin/glx/gen_gl_wrappers.py (+483/-323)
hw/xwin/glx/glshim.c (+124/-0)
hw/xwin/glx/glthunk.c (+87/-0)
hw/xwin/glx/glwindows.h (+2/-5)
hw/xwin/glx/glwrap.c (+0/-146)
hw/xwin/glx/indirect.c (+23/-22)
hw/xwin/man/Makefile.in (+9/-1)
hw/xwin/win.h (+15/-14)
hw/xwin/winauth.c (+3/-4)
hw/xwin/winclipboard.h (+0/-4)
hw/xwin/winclipboardthread.c (+4/-12)
hw/xwin/winclipboardwndproc.c (+0/-11)
hw/xwin/winclipboardwrappers.c (+0/-2)
hw/xwin/wincursor.c (+23/-20)
hw/xwin/windialogs.c (+29/-47)
hw/xwin/winfillsp.c (+1/-1)
hw/xwin/winglobals.c (+1/-1)
hw/xwin/winglobals.h (+4/-1)
hw/xwin/winkeybd.c (+46/-26)
hw/xwin/winmessages.h (+1/-1)
hw/xwin/winmouse.c (+28/-22)
hw/xwin/winmsgwindow.c (+180/-0)
hw/xwin/winmultiwindowclass.c (+20/-13)
hw/xwin/winmultiwindowclass.h (+1/-1)
hw/xwin/winmultiwindowicons.c (+5/-1)
hw/xwin/winmultiwindowwindow.c (+6/-9)
hw/xwin/winmultiwindowwm.c (+29/-27)
hw/xwin/winmultiwindowwndproc.c (+21/-9)
hw/xwin/winpfbdd.c (+0/-13)
hw/xwin/winprefs.c (+7/-22)
hw/xwin/winprefs.h (+9/-9)
hw/xwin/winprefsyacc.c (+2008/-725)
hw/xwin/winprefsyacc.h (+118/-33)
hw/xwin/winscrinit.c (+1/-5)
hw/xwin/winsetsp.c (+29/-23)
hw/xwin/wintrayicon.c (+1/-1)
hw/xwin/winwin32rootless.c (+22/-22)
hw/xwin/winwin32rootlesswindow.c (+3/-5)
hw/xwin/winwin32rootlesswndproc.c (+18/-9)
hw/xwin/winwindow.c (+0/-4)
hw/xwin/winwindow.h (+1/-0)
hw/xwin/winwindowswm.c (+3/-18)
hw/xwin/winwndproc.c (+19/-8)
include/Makefile.am (+1/-0)
include/Makefile.in (+10/-1)
include/busfault.h (+48/-0)
include/callback.h (+1/-0)
include/cursorstr.h (+0/-2)
include/dix-config.h.in (+29/-0)
include/dix.h (+11/-0)
include/dixstruct.h (+12/-12)
include/do-not-use-config.h.in (+65/-3)
include/extinit.h (+10/-2)
include/input.h (+14/-9)
include/inputstr.h (+1/-1)
include/list.h (+1/-1)
include/misc.h (+29/-0)
include/os.h (+10/-0)
include/privates.h (+0/-1)
include/protocol-versions.h (+12/-0)
include/regionstr.h (+2/-0)
include/registry.h (+2/-0)
include/servermd.h (+14/-0)
include/xkbsrv.h (+3/-0)
include/xorg-config.h.in (+6/-0)
include/xorg-server.h.in (+12/-0)
man/Makefile.in (+9/-1)
mi/Makefile.in (+9/-1)
mi/mieq.c (+1/-1)
mi/miinitext.c (+7/-6)
mi/mipointer.c (+3/-20)
mi/mipointer.h (+0/-12)
mi/misprite.c (+1/-9)
mi/miwideline.c (+3/-3)
miext/Makefile.in (+9/-1)
miext/damage/Makefile.am (+1/-1)
miext/damage/Makefile.in (+10/-2)
miext/damage/damage.c (+27/-129)
miext/damage/damage.h (+1/-19)
miext/damage/damagestr.h (+0/-3)
miext/rootless/Makefile.in (+9/-1)
miext/rootless/rootlessWindow.c (+3/-3)
miext/shadow/Makefile.am (+5/-0)
miext/shadow/Makefile.in (+21/-3)
miext/shadow/c2p_core.h (+187/-0)
miext/shadow/shadow.c (+1/-1)
miext/shadow/shadow.h (+12/-0)
miext/shadow/shafb4.c (+139/-0)
miext/shadow/shafb8.c (+143/-0)
miext/shadow/shiplan2p4.c (+136/-0)
miext/shadow/shiplan2p8.c (+137/-0)
miext/shadow/shpacked.c (+0/-1)
miext/sync/Makefile.am (+9/-2)
miext/sync/Makefile.in (+24/-11)
miext/sync/misync.c (+17/-29)
miext/sync/misync.h (+22/-1)
miext/sync/misyncfd.c (+99/-0)
miext/sync/misyncfd.h (+45/-0)
miext/sync/misyncshm.c (+186/-0)
miext/sync/misyncshm.h (+28/-0)
miext/sync/misyncstr.h (+15/-0)
os/Makefile.am (+10/-0)
os/Makefile.in (+26/-7)
os/WaitFor.c (+6/-1)
os/access.c (+4/-4)
os/backtrace.c (+78/-2)
os/busfault.c (+150/-0)
os/connection.c (+1/-1)
os/io.c (+62/-38)
os/log.c (+3/-0)
os/osinit.c (+16/-2)
os/utils.c (+78/-2)
os/xdmcp.c (+1/-1)
os/xstrans.c (+2/-0)
present/Makefile.am (+17/-0)
present/Makefile.in (+815/-0)
present/present.c (+911/-0)
present/present.h (+127/-0)
present/present_event.c (+247/-0)
present/present_fake.c (+140/-0)
present/present_fence.c (+139/-0)
present/present_notify.c (+114/-0)
present/present_priv.h (+302/-0)
present/present_request.c (+331/-0)
present/present_screen.c (+236/-0)
present/presentext.h (+29/-0)
pseudoramiX/Makefile.am (+7/-0)
pseudoramiX/Makefile.in (+739/-0)
pseudoramiX/pseudoramiX.c (+516/-0)
pseudoramiX/pseudoramiX.h (+10/-0)
randr/Makefile.in (+9/-1)
randr/randr.c (+119/-1)
randr/randrstr.h (+12/-0)
randr/rrcrtc.c (+8/-7)
randr/rrinfo.c (+1/-1)
randr/rroutput.c (+6/-1)
randr/rrpointer.c (+1/-1)
randr/rrprovider.c (+25/-0)
randr/rrscreen.c (+1/-1)
record/Makefile.in (+9/-1)
record/record.c (+4/-0)
render/Makefile.in (+9/-1)
test/Makefile.am (+14/-5)
test/Makefile.in (+30/-17)
test/hashtabletest.c (+4/-0)
test/input.c (+1/-1)
test/signal-logging.c (+2/-1)
test/xi2/Makefile.am (+1/-1)
test/xi2/Makefile.in (+10/-2)
test/xi2/protocol-xipassivegrabdevice.c (+8/-1)
xfixes/Makefile.in (+9/-1)
xfixes/cursor.c (+2/-8)
xfixes/region.c (+26/-0)
xkb/Makefile.in (+9/-1)
xkb/xkb.c (+1/-2)
xkb/xkbActions.c (+81/-70)
xkb/xkbInit.c (+22/-4)
To merge this branch: bzr merge lp:~muktupavels/xorg-server/lp-1209008
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+225162@code.launchpad.net

Commit message

Add upstream patch to fix "No devices detected" error for seats other than seat0. (LP: #1209008)

Description of the change

Add upstream patch to fix "No devices detected" error for seats other than seat0. (LP: #1209008)

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file '.dir-locals.el'
--- .dir-locals.el 1970-01-01 00:00:00 +0000
+++ .dir-locals.el 2014-07-01 14:18:40 +0000
@@ -0,0 +1,1 @@
1((c-mode . ((c-basic-offset . 4) (indent-tabs-mode . nil))))
0\ No newline at end of file2\ No newline at end of file
13
=== modified file 'COPYING'
--- COPYING 2013-08-14 10:52:17 +0000
+++ COPYING 2014-07-01 14:18:40 +0000
@@ -20,6 +20,7 @@
20Copyright © 2007-2009 Red Hat, Inc.20Copyright © 2007-2009 Red Hat, Inc.
21Copyright © 2005-2008 Daniel Stone21Copyright © 2005-2008 Daniel Stone
22Copyright © 2006-2009 Simon Thum22Copyright © 2006-2009 Simon Thum
23Copyright © 2003-2008, 2013 Geert Uytterhoeven
23Copyright © 2006 Luc Verhaegen24Copyright © 2006 Luc Verhaegen
2425
25Permission is hereby granted, free of charge, to any person obtaining a26Permission is hereby granted, free of charge, to any person obtaining a
2627
=== modified file 'ChangeLog'
--- ChangeLog 2013-08-14 10:52:17 +0000
+++ ChangeLog 2014-07-01 14:18:40 +0000
@@ -1,54 +1,5548 @@
1commit bc41226f7741098e55a3b0df924986991576d50a1commit 9182af8a09c326bb4b01d3645fb2936e93f02242
2Merge: 4ebd618 2cd62dc2Author: Matt Dew <marcoz@osource.org>
3Author: Matt Dew <marcoz@osource.org>3Date: Sun Apr 13 20:55:40 2014 -0600
4Date: Thu Jul 25 22:56:24 2013 -06004
55 Bump version to 1.15.1
6 Merge branch 'server-1.14-touch-fixes' of git://people.freedesktop.org/~whot/xserver into server-1.14-branch6
77commit eec04d76a39a7334de4e00ef9f0f6e44c92b3d91
8commit 4ebd618bc5ef71507e708e7191091828eca3a7e88Author: Eric Anholt <eric@anholt.net>
9Author: Matt Dew <marcoz@osource.org>9Date: Thu Mar 6 18:50:07 2014 -0800
10Date: Thu Jul 25 22:24:00 2013 -060010
1111 glx: Clear new FBConfig attributes to 0 by default.
12 Bah, bad rev number. Fixed: changed 1.14.3-rc1 to 1.14.2.90112
1313 The visualSelectGroup wasn't getting set (since our DRI drivers don't
14commit fef66ffe7a7e899a9126a1e431b94d881163b00d14 use it), and and since it's the top priority in the sort order, you
15Author: Matt Dew <marcoz@osource.org>15 got random sorting of your visuals unless malloc really returned you
16Date: Thu Jul 25 22:02:26 2013 -060016 new memory. This manifested as Xephyr -glamor rendering to a
1717 multisampled window on my system, which as you might guess was
18 bump rev from 1.14.2 to 1.14.3-rc118 slightly lower performance than expected.
1919
20commit 2cd62dc02b67c70d2417b2ccd307ead9596a296720 Signed-off-by: Eric Anholt <eric@anholt.net>
21Author: Peter Hutterer <peter.hutterer@who-t.net>21 Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
22Date: Fri Mar 1 08:43:58 2013 +100022
2323commit d6268c25a8d33241d817977a84f127f8ef0cb9ee
24 Xi: return !Success from DeliverTouchEmulatedEvent if we didn't deliver24Author: Julien Cristau <jcristau@debian.org>
25 25Date: Wed Mar 26 23:24:20 2014 +0100
26 All callers currently ignore the new value, so this patch has no effect.26
27 Inverse call graph:27 Xephyr: restore initial window resize lost in xcb conversion
28 28
29 DeliverTouchEmulatedEvent29 The XResizeWindow call wasn't replaced by the xcb equivalent, so we
30 DeliverEmulatedMotionEvent Ignores value30 were no longer setting the initial window size, only wm size hints.
31 DeliverTouchBeginEvent31
32 DeliverTouchEvent32 Regression from commit a2b73da "Xephyr: start converting hostx.c over to
33 DeliverTouchEvents Ignores value33 xcb"
34 DeliverTouchEndEvent34
35 DeliverTouchEvent35 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74849
36 DeliverTouchEvents Ignores value36
37 37 Signed-off-by: Julien Cristau <jcristau@debian.org>
38 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>38 Reported-by: Laércio de Sousa <lbsousajr@gmail.com>
39 Reviewed-by: Keith Packard <keithp@keithp.com>39 Tested-by: Jon TURNEY <jon.turney@dronecode.org.uk>
40 (cherry picked from commit 9978b57b8d94f061d72a67b99a02b0ba16a11429)40 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
4141 Signed-off-by: Keith Packard <keithp@keithp.com>
42commit c203568905bcbb65fb1e079b626d2c1e90ecb72d42
43Author: Peter Hutterer <peter.hutterer@who-t.net>43commit 300458fb8ad0a7957e941cd65f47d204c7886e22
44Date: Mon May 13 15:22:12 2013 +100044Author: Matt Dew <marcoz@osource.org>
4545Date: Fri Mar 21 23:49:41 2014 -0600
46 Xi: fix warning - remove unused 'rc'46
47 47 Bump bersion to 1.15.0.901
48 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>48
49 (cherry picked from commit fd5ea0237db6d725a48f76b706135df9d3246b82)49commit c971864565eb114e4b34f17b0d2244e8e6e1e005
5050Author: Peter Hutterer <peter.hutterer@who-t.net>
51commit 93f063c40dc4b339ae9114551071c57b52d98dba51Date: Wed Feb 26 07:54:56 2014 +1000
52
53 config: search for PnPID on all parents (#75513)
54
55 The PnPID for a device may not be on the immediate parent, so search up the
56 device tree until we find one.
57
58 X.Org Bug 75513 <http://bugs.freedesktop.org/show_bug.cgi?id=75513>
59
60 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
61 Tested-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
62 (cherry picked from commit 795066477ee81b5b82e490eac8bed6b656d01f17)
63
64commit 2cbbe80efc485d2d05b06efe1e2e01f81f3e06f6
65Author: Peter Hutterer <peter.hutterer@who-t.net>
66Date: Thu Feb 20 13:18:05 2014 +1000
67
68 Xi: check for invalid modifiers for XI2 passive grabs
69
70 The other values are checked correctly, but if a modifier was outside the
71 allowed range, it would go unnoticed and cause a out-of-bounds read error for
72 any mask equal or larger than 256. The DetailRec where we store the grab masks
73 is only sized to 8 * sizeof(Mask).
74
75 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
76 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
77 (cherry picked from commit 0f10cfd4b903d4db293ec47c8a9a0d8b33965803)
78
79commit b3656c0b52d57333c64f932676a237d0f3a97f36
80Author: Mark Kettenis <kettenis@openbsd.org>
81Date: Sun Dec 15 14:31:10 2013 +0100
82
83 sync: Avoid ridiculously long timeouts
84
85 On OpenBSD, passing a timeout longer than 100000000 seconds to select(2) will
86 make it fail with EINVAL. As this is original 4.4BSD behaviour it is not
87 inconceivable that other systems suffer from the same problem. And Linux,
88 though not suffering from any 4.4BSD heritage, briefly did something similar:
89
90 <https://lkml.org/lkml/2012/8/31/263>
91
92 So avoid calling AdjustWaitForDelay() instead of setting the timeout to
93 (effectively) ULONG_MAX milliseconds.
94
95 Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
96 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
97 (cherry picked from commit ddeca927498c9df3b5e62c7bf05e31e2a3aeaa52)
98
99commit b332cd20ee14049606e3656490d13a8efa6b23ee
100Merge: f41ab8c 5e0432f
101Author: Matt Dew <marcoz@osource.org>
102Date: Thu Mar 6 22:03:03 2014 -0700
103
104 Merge branch 'server-1.15-branch' of git://people.freedesktop.org/~jeremyhu/xserver into server-1.15-branch
105
106commit f41ab8c60780ea8f87354e536e5b73cb23878eb7
107Author: Peter Hutterer <peter.hutterer@who-t.net>
108Date: Fri Jan 24 18:32:54 2014 +1000
109
110 dix: prevent a driver from initializing or submitting buttons > MAX_BUTTONS
111
112 The server internally relies on arrays with a MAX_BUTTONS maximum size (which
113 is the max the core protocol can transport). Make sure a driver adheres to
114 that.
115
116 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
117 Reviewed-by: Daniel Stone <daniel@fooishbar.org>
118 (cherry picked from commit 87ca80a7196949597113225405f3e4ee03bbee13)
119
120commit 4447d71b9a74afe91aaf4cc01eae12a44ef09306
121Author: Alan Coopersmith <alan.coopersmith@oracle.com>
122Date: Tue Jan 28 20:27:51 2014 -0800
123
124 xf86DeleteScreen: move check for NULL pScrn before first dereference
125
126 Flagged by cppcheck 1.62:
127 [hw/xfree86/common/xf86Helper.c:220] -> [hw/xfree86/common/xf86Helper.c:231]:
128 (warning) Possible null pointer dereference: pScrn - otherwise it is
129 redundant to check it against null.
130
131 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
132 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
133 Signed-off-by: Keith Packard <keithp@keithp.com>
134 (cherry picked from commit c1ac89c793614797e08d3d8e7fc9ba55be899130)
135
136commit 2ac840a14958fe74170518ee2c3a6b2dd88b20bd
137Author: Alan Coopersmith <alan.coopersmith@oracle.com>
138Date: Tue Jan 28 20:27:50 2014 -0800
139
140 On realloc failure, free font_path_string instead of leaking it
141
142 Flagged by cppcheck 1.62:
143 [dix/dixfonts.c:1792]: (error) Common realloc mistake:
144 'font_path_string' nulled but not freed upon failure
145
146 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
147 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
148 Signed-off-by: Keith Packard <keithp@keithp.com>
149 (cherry picked from commit e6733ae91b7be52930f22a87de15fa05819ef948)
150
151commit 157cc02fc13c998bba70e1652907972015e15e8e
152Author: Alan Coopersmith <alan.coopersmith@oracle.com>
153Date: Fri Jan 24 23:42:49 2014 -0800
154
155 Check for calloc() failure in add_master()
156
157 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
158 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
159 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
160 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
161 (cherry picked from commit 9fc19168e7ca6308275bf8769d1ccb982f88465b)
162
163commit f11c5938d732af717aeebbbf3b356138f3411bb7
164Author: Peter Hutterer <peter.hutterer@who-t.net>
165Date: Fri Jan 24 16:51:02 2014 +1000
166
167 Xi: fix modifier offset in XIPassiveGrab swapping function
168
169 The request is followed by mask_len 4-byte units, then followed by the actual
170 modifiers.
171
172 Also fix up the swapping test, which had the same issue.
173
174 Reported-by: Alan Coopersmith <alan.coopersmith@oracle.com>
175 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
176 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
177 (cherry picked from commit 76b3be75b62657e346731444736f7e4d200beb5b)
178
179 Conflicts:
180 test/xi2/protocol-xipassivegrabdevice.c
181
182commit 345b7ead1dd262020e10b4aeb71044d46d16e134
183Author: Peter Hutterer <peter.hutterer@who-t.net>
184Date: Mon Jan 13 17:00:23 2014 +1000
185
186 os: restrict display names to digits
187
188 We call atoi() on the server's display to get the socket but otherwise use the
189 unmodified display for log file name, xkb paths, etc. This results in
190 Xorg :banana being the equivalent of Xorg :0, except for the log files being
191 in /var/log/Xorg.banana.log. I'm not sure there's a good use-case for this
192 behaviour.
193
194 Check the display for something that looks reasonable, i.e. digits only, but
195 do allow for :0.0 (i.e. digits, followed by a period, followed by one or two
196 digits).
197
198 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
199 Reviewed-by: Keith Packard <keithp@keithp.com>
200 (cherry picked from commit 71baa466b1f6b02fe503f9a3089b7b9d61aa0f80)
201
202commit 940d6a8e9d3544696654d5e68c615ab887f81945
203Author: Carlos Garnacho <carlosg@gnome.org>
204Date: Thu Jan 2 21:33:30 2014 +0100
205
206 Xi: Ensure DeviceChanged is emitted after grabs are deactivated
207
208 When a grab on a slave device is deactivated, the master device must
209 be checked, just in case there were events from other devices while
210 the slave device was stolen away by the passive grab. This may
211 introduce misbehaviors on mismatching valuators and device features
212 later on UpdateDeviceState().
213
214 Signed-off-by: Carlos Garnacho <carlosg@gnome.org>
215 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
216 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
217 (cherry picked from commit b2d5ee2e3684951b611fd2068d57cc65fd8305a3)
218
219commit 47da6e3f47a55aeeef2c849067dd2d09fc2fe481
220Author: Peter Hutterer <peter.hutterer@who-t.net>
221Date: Fri Jan 24 18:16:54 2014 +1000
222
223 dix: fix button state check before changing a button mapping
224
225 dev->button->down is a bitmask, not a normal array. Use the helper function to
226 check, we technically allow the mapping to change after the physical button
227 has been pressed (but not yet processed yet), so only check BUTTON_PROCESSED.
228
229 From XSetPointerMapping(3):
230 "If any of the buttons to be altered are logically in the down state,
231 XSetPointerMapping returns MappingBusy, and the mapping is not changed."
232
233 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
234 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
235 Reviewed-by: Daniel Stone <daniel@fooishbar.org>
236 (cherry picked from commit 25d10464f440b8b34594b7c988a99a830ea39a29)
237
238commit 5e0432f797d58fe1a69ef538694f65bbba38737f
239Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
240Date: Wed Jan 1 11:10:41 2014 -0800
241
242 XQuartz: Avoid passing uninitialized pointers to X11ApplicationSetWindowMenu in AppleWMSetWindowMenu
243
244 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
245 (cherry picked from commit 77df653ae3d8448be21221711851acde12c6bc1a)
246
247commit 859ced56d9ee168796c2fcf7fa6056e0c1491f3a
248Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
249Date: Wed Jan 1 11:04:07 2014 -0800
250
251 XQuartz: Check for allocated memory before using it in AppleWMSetWindowMenu
252
253 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
254 (cherry picked from commit 3bc608a361a01043b226fb9aaebf88f6fd852925)
255
256commit 9444955d16f85926c75ee8eafb0ca796dcf16439
257Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
258Date: Wed Jan 1 11:00:40 2014 -0800
259
260 XQuartz: Silence a clang static analysis warning about a memory leak
261
262 It seems the alanyzer can't comprehend dixSetPrivate().
263
264 quartz.c:119:12: warning: Potential leak of memory pointed to by 'displayInfo'
265 return quartzProcs->AddScreen(index, pScreen);
266 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
267
268 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
269 (cherry picked from commit 64327226ddfba8f0653615cd678d2d4336fb993d)
270
271commit 64b0669d1c062e7e11fb0e3b8ea7fe56113fc86f
272Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
273Date: Wed Jan 1 10:55:10 2014 -0800
274
275 XQuartz: Silence a clang static analysis warning about a possible memory leak on exit
276
277 stub.c:356:9: warning: Potential leak of memory pointed to by 'newargv'
278 asl_log(aslc, NULL, ASL_LEVEL_ERR,
279 ^~~~~~~
280 stub.c:356:9: warning: Potential leak of memory pointed to by 'newenvp'
281 asl_log(aslc, NULL, ASL_LEVEL_ERR,
282 ^~~~~~~
283 2 warnings generated.
284
285 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
286 (cherry picked from commit b2f6b3497c33a4897afae80a2cf69c596b9f81e8)
287
288commit 472e8e5d1c26573cef4bd42451230ef47791ed6f
289Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
290Date: Wed Jan 1 10:47:52 2014 -0800
291
292 XQuartz: Validate length in appledri before swapping
293
294 Avoids potential memory corruption from bad requests
295
296 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
297 (cherry picked from commit a03f096a85537d9e881cedaa6cb71aca43a97086)
298
299commit 782fe5c174def75a9e4cb188c00c2fec72821472
300Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
301Date: Wed Jan 1 10:39:56 2014 -0800
302
303 XQuartz: Validate screen in AppleDRIQueryDirectRenderingCapable requests
304
305 Return an error to the caller rather than crashing the server on
306 invalid screens.
307
308 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
309 (cherry picked from commit b3572c0d1ab7888ac26d6b2b8be6d1d19ed9af3f)
310
311commit 045122566c0532378b50c1af3ffec3254e416fe2
312Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
313Date: Sun Dec 29 12:45:23 2013 -0800
314
315 XQuartz: Simplify hook_run to quiet static analyzer
316
317 x-hook.c:96:9: warning: Called function pointer is an uninitalized pointer value
318 (*fun[i])(arg, data[i]);
319 ^~~~~~~~~~~~~~~~~~~~~~~
320 1 warning generated.
321
322 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
323 (cherry picked from commit 959e8f23af7850fcaf40d6c67f5228241a36a9ab)
324
325commit 33b2ae0f3b4a80fd962d876f7437d98fcfc27791
326Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
327Date: Sun Dec 29 12:41:18 2013 -0800
328
329 XQuartz: Mark applicationWillTerminate: noreturn
330
331 X11Controller.m:938:1: warning: method 'applicationWillTerminate:' could be declared with attribute 'noreturn'
332 [-Wmissing-noreturn,Semantic Issue]
333 {
334 ^
335
336 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
337 (cherry picked from commit f79af1941776fd6f1ec26c50603fcc35ca7d514b)
338
339commit 404f26866147be1c26585e59d9795e87e0c3e5fa
340Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
341Date: Sun Dec 29 12:36:51 2013 -0800
342
343 XQuartz: Fix get_proc_address signature
344
345 indirect.c:675:28: warning: incompatible pointer types passing 'glx_gpa_proc (*)(const char *)' to parameter of type
346 'glx_gpa_proc' (aka 'glx_func_ptr (*)(const char *)') [-Wincompatible-pointer-types,Semantic Issue]
347 __glXsetGetProcAddress(&get_proc_address);
348 ^~~~~~~~~~~~~~~~~
349 ../../../glx/glxserver.h:122:42: note: passing argument to parameter 'get_proc_address' here [Semantic Issue]
350 void __glXsetGetProcAddress(glx_gpa_proc get_proc_address);
351 ^
352
353 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
354 (cherry picked from commit ea80279e292e59a9fe9651489f03e9f2f39810d9)
355
356commit 7803c4075b824ece79af0425cee736025c41d901
357Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
358Date: Sun Dec 29 12:31:23 2013 -0800
359
360 XQuartz: Fix darwinfb.h header guard
361
362 ./darwinfb.h:28:9: warning: '_DARWIN_FB_H' is used as a header guard here, followed by #define of a different macro
363 [-Wheader-guard,Lexical or Preprocessor Issue]
364 ^~~~~~~~~~~~
365 ./darwinfb.h:29:9: note: '_DARWIN_DB_H' is defined here; did you mean '_DARWIN_FB_H'? [Lexical or Preprocessor Issue]
366 ^~~~~~~~~~~~
367 _DARWIN_FB_H
368
369 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
370 (cherry picked from commit 2e3ebec9520719a8e5c3c92390e83bcb5216f978)
371
372commit 6c055f0d78349ff08a570c5dcc92c6f7b6924993
373Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
374Date: Sun Dec 29 12:22:55 2013 -0800
375
376 XQuartz: Silence some static analyzer warnings by annotating referencing counts
377
378 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
379 (cherry picked from commit 9da6c0918f40359f28fe8889d5b7cae7efcc8377)
380
381commit 2ea973e12f5d954211e1d10085a4c74581b43aca
382Author: Keith Packard <keithp@keithp.com>
383Date: Fri Dec 27 09:50:55 2013 -0800
384
385 Bump version to 1.15.0
386
387 Signed-off-by: Keith Packard <keithp@keithp.com>
388
389commit 2eb9915eea358f941702d3dad7434197991885c5
390Author: Keith Packard <keithp@keithp.com>
391Date: Thu Dec 12 15:48:08 2013 -0800
392
393 present: Set complete notify mode to Skip as needed
394
395 Skipped present pixmap calls were not setting the mode to
396 PresentCompleteModeSkip for skipped operations.
397
398 Signed-off-by: Keith Packard <keithp@keithp.com>
399
400commit e487babd525ef1bd016ec7b283fa08cf9e6c6f4f
401Author: Keith Packard <keithp@keithp.com>
402Date: Thu Dec 12 14:52:35 2013 -0800
403
404 present: Don't abandon presents which are already queued for flip
405
406 Presents which are not marked 'queued' and are in the window present
407 list are waiting for the flip event; discarding those won't work very
408 well (it'll end up trashing displayed content for the next frame), so
409 skip over those when looking for duplicate frame presents
410
411 Signed-off-by: Keith Packard <keithp@keithp.com>
412
413commit ca3a5b2a8f9f627bbaa9883e16512a21c2a0b81d
414Author: Keith Packard <keithp@keithp.com>
415Date: Thu Dec 12 14:17:40 2013 -0800
416
417 present: Handle PresentOptionAsync for copy mode
418
419 Check for Async flag and execute immediately if set, otherwise wait
420 for the next appropriate vblank before copying.
421
422 Signed-off-by: Keith Packard <keithp@keithp.com>
423
424commit a68df147421da21528b5be2d34678383922fa352
425Author: Keith Packard <keithp@keithp.com>
426Date: Thu Dec 19 14:31:07 2013 -0800
427
428 Bump version to 1.14.99.905 (1.15 RC5)
429
430 Another week, another RC. This should be the last before 1.15 final
431
432 Signed-off-by: Keith Packard <keithp@keithp.com>
433
434commit 4b1ead9d3400acc3402c2480d7cc0527750c32f0
435Merge: 4d62646 929795d
436Author: Keith Packard <keithp@keithp.com>
437Date: Thu Dec 19 14:14:59 2013 -0800
438
439 Merge remote-tracking branch 'whot/for-keith'
440
441commit 4d62646142718024b0981eb4f1fd0131e829161f
442Merge: f4bfb14 81ba89d
443Author: Keith Packard <keithp@keithp.com>
444Date: Mon Dec 16 09:27:57 2013 -0800
445
446 Merge remote-tracking branch 'jeremyhu/master'
447
448commit f4bfb14f53a939574da1f5995f0dad949898b86a
449Author: Adam Jackson <ajax@redhat.com>
450Date: Thu Dec 12 10:57:40 2013 -0500
451
452 configure: Fix a typo near dri3/shmfence detection
453
454 " is not the mate of ].
455
456 Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
457 Signed-off-by: Adam Jackson <ajax@redhat.com>
458
459commit 8248b4af31ef71ac03158871b77f20eb456dbe38
460Author: Adam Jackson <ajax@redhat.com>
461Date: Fri Dec 13 15:07:48 2013 -0500
462
463 glx: Add null pointer protection to __glGetProcAddress
464
465 This can't happen when GLX is the backing window system, but can
466 elsewhere. We may as well protect against it at a high level.
467
468 Reviewed-by: Eric Anholt <eric@anholt.net>
469 Signed-off-by: Adam Jackson <ajax@redhat.com>
470
471commit 128449dd6498a2f74c3770f89a9dae0f70e2b351
472Author: Adam Jackson <ajax@redhat.com>
473Date: Fri Dec 13 11:39:16 2013 -0500
474
475 present: Don't use the major/minor version from the protocol headers
476
477 We want to advertise the version we implement, not the version the
478 protocol headers happen to describe.
479
480 Reviewed-by: Jasper St. Pierre <<jstpierre@mecheye.net>
481 Signed-off-by: Adam Jackson <ajax@redhat.com>
482
483commit ec6087bf070131bc3a26848fb9fb840f09b0e19d
484Author: Adam Jackson <ajax@redhat.com>
485Date: Fri Dec 13 11:36:38 2013 -0500
486
487 dri3: Don't use the major/minor version from the protocol headers
488
489 We want to advertise the version we implement, not the version the
490 protocol headers happen to describe.
491
492 Reviewed-by: Jasper St. Pierre <<jstpierre@mecheye.net>
493 Signed-off-by: Adam Jackson <ajax@redhat.com>
494
495commit e6fafd3de70d315130fb6e5732cfd02a5901b788
496Author: Adam Jackson <ajax@redhat.com>
497Date: Fri Dec 13 11:28:59 2013 -0500
498
499 dri3: Guard against buggy clients
500
501 There's nothing to stop a client from sending these requests to screens
502 without DRI3 support, and if they do, we'll crash. Let's not do that.
503
504 Reviewed-by: Jasper St. Pierre <<jstpierre@mecheye.net>
505 Signed-off-by: Adam Jackson <ajax@redhat.com>
506
507commit 81ba89d6703a22178a153aa39478ba2d4bde262b
508Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
509Date: Fri Dec 13 01:39:44 2013 -0800
510
511 configure.ac: Add PRESENT_LIB to XQUARTZ_LIBS
512
513 Undefined symbols for architecture x86_64:
514 "_present_extension_init", referenced from:
515 _staticExtensions in libXquartz.a(miinitext.o)
516 "_present_register_complete_notify", referenced from:
517 ___glXregisterPresentCompleteNotify in libglx.a(glxcmds.o)
518
519 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
520
521commit d7c9235ee261b0f780320985233e00dec5e2689c
522Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
523Date: Sat Dec 7 01:36:33 2013 -0800
524
525 XQuartz: Use asl_log_descriptor to log stdout/stderr of child processes
526
527 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
528
529commit ad8111d7c971ce448905c733d65ba0cfc72bdca4
530Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
531Date: Sat Dec 7 01:14:37 2013 -0800
532
533 darwin: Don't leave stdin/stdout closed
534
535 <rdar://problem/15609419>
536
537 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
538
539commit 929795d50d788358d6269ce423f72c6cc40e334b
540Author: Peter Hutterer <peter.hutterer@who-t.net>
541Date: Tue Dec 3 10:14:51 2013 +1000
542
543 dix: fix check for grab type
544
545 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
546
547commit 23394c7fea0f5c33333198c87ecfecc9f6c6a791
548Author: Peter Hutterer <peter.hutterer@who-t.net>
549Date: Tue Dec 3 08:36:45 2013 +1000
550
551 Xi: ungrab device when releasing a passive grab without ButtonReleaseMask (#71878)
552
553 If an touch triggers an async button grab and that grab does not have the
554 ButtonReleaseMask set, the TouchEnd is never delivered, deliveries is 0 and
555 the grab is never deactivated.
556
557 If the grab is pointer async and keyboard sync, the keyboard events are stuck
558 in EnqueueEvent until some other pointer event terminates the grab.
559
560 Change this to check for the number of listeners. If we're about to deliver a
561 TouchEnd to a passive pointer grab, the number of listeners is already 1 -
562 pointer grabs always accept so other listeners were removed.
563
564 X.Org Bug 71878 <http://bugs.freedesktop.org/show_bug.cgi?id=71878>
565
566 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
567
568commit c1d30b5bd7f90e68bc38404fd0cc32578d6d3018
569Author: Ben Gamari <bgamari.foss@gmail.com>
570Date: Thu Nov 21 21:24:20 2013 -0500
571
572 Xi: Don't ActivateEarlyAccept POINTER_REGULAR listeners
573
574 Bug #71878 describes a bug resulting in the server ceasing to respond to
575 keyboard input after a touch event. The problem might be the following:
576
577 DeliverTouchBeginEvent tries to deliver an event to a listener of type
578 LISTENER_POINTER_REGULAR, taking the following if branch,
579
580 if (listener->type == LISTENER_POINTER_REGULAR ||
581 listener->type == LISTENER_POINTER_GRAB) {
582 rc = DeliverTouchEmulatedEvent(dev, ti, ev, listener, client, win,
583 grab, xi2mask);
584 if (rc == Success) {
585 listener->state = LISTENER_IS_OWNER;
586 /* async grabs cannot replay, so automatically accept this touch */
587 if (dev->deviceGrab.grab &&
588 dev->deviceGrab.fromPassiveGrab &&
589 dev->deviceGrab.grab->pointerMode == GrabModeAsync)
590 ActivateEarlyAccept(dev, ti);
591 }
592 goto out;
593 }
594
595 DeliverTouchEmulatedEvent succeeds. The deviceGrab meets all
596 three of the conditions of the inner if, enters
597 ActivateEarlyAccept which then fails due to,
598
599 BUG_RETURN(ti->listeners[0].type != LISTENER_GRAB &&
600 ti->listeners[0].type != LISTENER_POINTER_GRAB);
601
602 That is, despite listener->type == LISTENER_POINTER_REGULAR. With my
603 non-existent knowledge of XINPUT, it seems like the solution here
604 might be to only ActivateEarlyAccept when listener->type ==
605 LISTENER_POINTER_GRAB.
606
607 Signed-off-by: Ben Gamari <bgamari.foss@gmail.com>
608 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
609 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
610
611commit fe07ec19e212a68076560d243a2a935c54589068
612Author: Keith Packard <keithp@keithp.com>
613Date: Tue Dec 10 11:27:47 2013 -0800
614
615 present: recursively set window pixmaps on flip
616
617 Newly created windows inherit the pixmap of their parent, similarly,
618 reparenting a tree inherits the pixmap of the destination tree.
619
620 Making present preserve the invariant that unredirected windows always
621 have the same pixmap as their parent ensures that the above cases work
622 correctly.
623
624 v2: name the recursive function to 'set_tree_pixmap' instead of 'set_window_pixmap'
625
626 Signed-off-by: Keith Packard <keithp@keithp.com>
627 Reviewed-by: Adam Jackson <ajax@redhat.com>
628
629commit b3533d0b212b6747a8f9a01931253d6bdb648ee2
630Author: Keith Packard <keithp@keithp.com>
631Date: Tue Dec 10 10:29:11 2013 -0800
632
633 Bump version to 1.14.99.904 (1.15 RC4)
634
635 Signed-off-by: Keith Packard <keithp@keithp.com>
636
637commit 9a4d7572fe3be16bb5aded5f48d4217fdf725b1d
638Author: Jon TURNEY <jon.turney@dronecode.org.uk>
639Date: Thu Sep 27 18:59:45 2012 +0100
640
641 hw/xwin/glx: Rewrite WGL wrappers after Xserver conversion to direct GL dispatch
642
643 v1: Rewrite by Marc Haesen of the WGL wrapper function generation script to use
644 Khronos group XML.
645
646 v2: Remove -dispatchheader option, since dispatch.h doesn't exist anymore, use
647 the private glapi interface to construct the GL dispatch table for the native
648 WGL thunks.
649
650 v3:
651 Rewrite to generate shims for the OpenGL 1.2.1 (GL 1.2 + GL_ARB_imaging
652 +GL_ARB_multitexture + GL_ARB_texture_compression(?)) functions the server links
653 directly with rather than libGL.
654
655 These shims dispatch to either the mesa GL DLL, or a thunking DLL containing
656 cdecl-to-stcall wrapper functions for the native GL DLL.
657
658 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
659 Reviewed-by: Adam Jackson <ajax@redhat.com>
660
661commit cb48877a3c4cfb1ae2248000fcd3443e3092bdaa
662Author: Jon TURNEY <jon.turney@dronecode.org.uk>
663Date: Fri Dec 6 14:00:21 2013 +0000
664
665 glx: Consistently use ARB-suffixed names for ARB_multitexture functions
666
667 At the moment we have a mix of ARB and non-ARB suffixed forms for ARB_multitexture functions
668 e.g. glMultiTexCoord1fvARB and glMultiTexCoord1dv
669
670 Consistently use the ARB-suffixed form, assuming that is present in all libGL
671 which provide the OpenGL 1.2.1 ABI we expect to be able to directly link with.
672
673 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
674 Reviewed-by: Adam Jackson <ajax@redhat.com>
675
676commit 1a021f57a1e75ab63e8f87704f0394162402c4d4
677Author: Jon TURNEY <jon.turney@dronecode.org.uk>
678Date: Sun Dec 1 22:25:46 2013 +0000
679
680 ephyr: Fix compilation when ./configure'd with --enable-debug
681
682 /jhbuild/checkout/xorg/xserver/hw/kdrive/ephyr/ephyr.c: In function ‘ephyrProcessMouseMotion’:
683 /jhbuild/checkout/xorg/xserver/hw/kdrive/ephyr/ephyr.c:946:188: error: ‘ephyrCurScreen’ undeclared (first use in this function)
684 /jhbuild/checkout/xorg/xserver/hw/kdrive/ephyr/ephyr.c: In function ‘ephyrProcessButtonPress’:
685 /jhbuild/checkout/xorg/xserver/hw/kdrive/ephyr/ephyr.c:980:186: error: ‘ephyrCurScreen’ undeclared (first use in this function)
686 /jhbuild/checkout/xorg/xserver/hw/kdrive/ephyr/ephyr.c: In function ‘ephyrProcessButtonRelease’:
687 /jhbuild/checkout/xorg/xserver/hw/kdrive/ephyr/ephyr.c:1007:186: error: ‘ephyrCurScreen’ undeclared (first use in this function)
688
689 Fix ephyr compilation when ./configure'd with --enable-debug after commit
690 46cf6bf5692ef751ec9d17ae2292565d4b13f14b, some instances of ephyrCurScreen were
691 not converted to screen->pScreen->myNum.
692
693 v2: Don't use a trivial local variable which will be unused when ./configure'd
694 with --disable-debug
695
696 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
697 Reviewed-by: Adam Jackson <ajax@redhat.com>
698
699commit 875dbcef5bfcb6a94ef8456be6151e133408793f
700Author: Jon TURNEY <jon.turney@dronecode.org.uk>
701Date: Fri Nov 29 14:29:20 2013 +0000
702
703 configure.ac: Link XWin with present extension if we are building with it enabled
704
705 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
706 Reviewed-by: Adam Jackson <ajax@redhat.com>
707
708commit e61e19959d9138d5b81b1f25b7aa3e257918170d
709Author: Adam Jackson <ajax@redhat.com>
710Date: Tue Dec 3 13:45:43 2013 -0500
711
712 xquartz/glx: Convert to non-glapi dispatch
713
714 CGL doesn't have anything like glXGetProcAddress, and the old code just
715 called down to dlsym in any case. It's a little mind-warping since
716 dlopening a framework actually loads multiple dylibs, but that's just
717 how OSX rolls.
718
719 Signed-off-by: Adam Jackson <ajax@redhat.com>
720 Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
721
722commit a668aa0e41bc33ff2db7f9c53b6dc321a96926a9
723Author: Adam Jackson <ajax@redhat.com>
724Date: Tue Dec 3 15:03:13 2013 -0500
725
726 drisw: Wire up GetProcAddress
727
728 Signed-off-by: Adam Jackson <ajax@redhat.com>
729 Reviewed-by: Keith Packard <keithp@keithp.com>
730
731commit 4fcdfeb7bc55d00d50d7f89788d9b929946ae3d9
732Author: Adam Jackson <ajax@redhat.com>
733Date: Tue Dec 3 15:02:57 2013 -0500
734
735 dri2: wire up GetProcAddress
736
737 Signed-off-by: Adam Jackson <ajax@redhat.com>
738 Reviewed-by: Keith Packard <keithp@keithp.com>
739
740commit 47f00b3920be9d8df8b148263d744934f3a02cd4
741Author: Adam Jackson <ajax@redhat.com>
742Date: Tue Dec 3 15:01:44 2013 -0500
743
744 glx: Untangle the prototypes around the GetProcAddress thunk
745
746 Signed-off-by: Adam Jackson <ajax@redhat.com>
747 Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
748 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
749
750commit c1fd143f2847ef425ec9891d9e1cba44a1bb007d
751Author: Adam Jackson <ajax@redhat.com>
752Date: Tue Dec 3 13:11:52 2013 -0500
753
754 glx: Remove function stubs
755
756 Now that we're calling non-1.2 ABI things by function pointer this is no
757 longer needed.
758
759 Signed-off-by: Adam Jackson <ajax@redhat.com>
760 Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
761 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
762
763commit 6b93e1f5ff39c6ac5b0d97d4245aeac9113eed8b
764Author: Adam Jackson <ajax@redhat.com>
765Date: Tue Dec 3 13:11:09 2013 -0500
766
767 glx: Convert non-generated function pointer thunking
768
769 Same concept as the generated code conversion.
770
771 Signed-off-by: Adam Jackson <ajax@redhat.com>
772 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
773
774commit c4567a376083eb7b142a7f003ddf8372d376ea86
775Author: Adam Jackson <ajax@redhat.com>
776Date: Tue Dec 3 12:40:24 2013 -0500
777
778 glx: Convert generated code function pointer thunking
779
780 We're meant not to call these by name due to ABI. Rather than try to
781 generate a bunch of little stub functions that do the lookup, just
782 inline it all directly into the calling function.
783
784 This does not cache results. That's fine, this is not a performance
785 path, and if we're atop WGL then we effectively have to do this every
786 time anyway because wglGetProcAddress results are context-dependent.
787
788 Signed-off-by: Adam Jackson <ajax@redhat.com>
789 Jon TURNEY <jon.turney@dronecode.org.uk>
790
791commit f69f4f417c6807405e45289b39a80f1b9a55f9e6
792Author: Keith Packard <keithp@keithp.com>
793Date: Tue Dec 10 07:09:17 2013 -0800
794
795 Depend on latest glproto (1.4.17)
796
797 Signed-off-by: Keith Packard <keithp@keithp.com>
798
799commit 576f3d36dd324bd0d16c9968f1ded5c5eead3569
800Author: Adam Jackson <ajax@redhat.com>
801Date: Mon Dec 9 13:16:01 2013 -0500
802
803 damageext: Die if we can't create the Xinerama resource type
804
805 Reviewed-by: Keith Packard <keithp@keithp.com>
806 Signed-off-by: Adam Jackson <ajax@redhat.com>
807
808commit f10f36d91db1b21c2ce5a531b4fa5f96fcbdc2f0
809Author: Adam Jackson <ajax@redhat.com>
810Date: Mon Sep 16 15:17:26 2013 -0400
811
812 damageext: Xineramify (v7)
813
814 v7: Don't bother making resources for the backing listeners. [keithp]
815
816 This is now slightly unlike how other resources are xineramified. We
817 create N+1 internal damage listeners, one that's a real resource and
818 reflects the protocol view, and then one per backend screen where the
819 report function piles onto the protocol view. The internal listeners
820 are not stored in the resource database directly, they just hang off the
821 xinerama resource. We don't wrap Subtract at the dispatch level, but we
822 do extend it for the Xinerama case to clip to the root window geometry.
823
824 As a result of the N+1 design here, the damage reports we generate are
825 not quite minimal. However they are indistinguishable from sequential
826 rendering events happening before the client hears damage, and we don't
827 need to add a post-dispatch callback just for this one extension.
828
829 Add is probably (still) somewhat broken since it will only hit screen 0,
830 but Add really only exists for DRI1's sake, and DRI1 disables itself
831 with Xinerama enabled anyway. In the absence of a use case, I'm leaving
832 it unwrapped under Xinerama; if someone wants to define how it ought to
833 work, be my guest.
834
835 Reviewed-by: Keith Packard <keithp@keithp.com>
836 Signed-off-by: Adam Jackson <ajax@redhat.com>
837
838commit 808303fe5232ba0320ae5a4310b1ed1322e85f1d
839Author: Adam Jackson <ajax@redhat.com>
840Date: Mon Nov 4 17:49:34 2013 -0500
841
842 fixes: Fix PanoramiXSetWindowShapeRegion for root windows (v2)
843
844 Root windows in Xinerama are in the coordinate space of their root window
845 pixmap, not in protocol space.
846
847 v2: Only translate for root windows, sice the window shape is
848 drawable-relative.
849
850 Reviewed-by: Keith Packard <keithp@keithp.com>
851 Signed-off-by: Adam Jackson <ajax@redhat.com>
852
853commit 5c10c7ea2129b70015e745523918d143cc29318d
854Author: Adam Jackson <ajax@redhat.com>
855Date: Mon Nov 4 17:49:33 2013 -0500
856
857 fixes: Fix PanoramiXSetPictureClipRegion for root windows (v2)
858
859 Root windows in Xinerama are in the coordinate space of their root
860 window pixmap, not in protocol space. This fixes 'xcompmgr -n' when
861 Xinerama is active.
862
863 v2: Only translate for root windows, since the clip origin is
864 drawable-relative.
865
866 Reviewed-by: Keith Packard <keithp@keithp.com>
867 Signed-off-by: Adam Jackson <ajax@redhat.com>
868
869commit 1dd839a425adc6e5a1dc377003ed86a374d81f0b
870Author: Adam Jackson <ajax@redhat.com>
871Date: Thu Nov 7 13:59:30 2013 -0500
872
873 composite: Fix COW creation for Xinerama (v2)
874
875 Say you have two 800x600 screens left/right of each other. A window
876 that's 200x200 at +700+0 in protocol coordinate space will appear to be
877 at -100+0 in the coordinate space of the right hand screen. Put another
878 way: windows are in the coordinate space of their root window pixmap.
879
880 We weren't doing this translation for the COW, so when rendering came in
881 to it you'd see the top-left chunk of the COW on all screens. Cool
882 effect and all, but wrong.
883
884 v2: Only translate when Xinerama is active [keithp]
885
886 Reviewed-by: Keith Packard <keithp@keithp.com>
887 Signed-off-by: Adam Jackson <ajax@redhat.com>
888
889commit 8dbe456abae1a32fb6c5c74fa456bc7301cccabe
890Author: Adam Jackson <ajax@redhat.com>
891Date: Tue Oct 29 10:44:07 2013 -0400
892
893 xinerama: Export the screen region
894
895 damageext wants this so it can intersect subtract requests against the
896 root window geometry.
897
898 Reviewed-by: Keith Packard <keithp@keithp.com>
899 Signed-off-by: Adam Jackson <ajax@redhat.com>
900
901commit c6d4c2a24140feee4ceae48c4c74fedcae9b68b3
902Author: Adam Jackson <ajax@redhat.com>
903Date: Fri Nov 15 15:13:31 2013 -0500
904
905 xfree86: Prefer fbdev to vesa
906
907 On UEFI machines you'd prefer fbdev to grab efifb instead of vesa trying
908 to initialize and failing in a way we can't unwind from. On BIOS
909 machines this is harmless: either there is an fbdev driver and it'll
910 probably be more capable, or there's not and vesa will kick in anyway.
911
912 Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
913 Reviewed-by: Eric Anholt <eric@anholt.net>
914 Signed-off-by: Adam Jackson <ajax@redhat.com>
915
916commit 7b5d4f147fdef9edfeaa9c6565375111079efd11
917Author: Adam Jackson <ajax@redhat.com>
918Date: Tue Nov 5 10:12:28 2013 -0500
919
920 composite: Don't double-redirect if someone asks for backing store twice
921
922 v2: Belt-and-suspenders the unredirection path [vsyrjala]
923
924 Reviewed-by: Keith Packard <keithp@keithp.com>
925 Signed-off-by: Adam Jackson <ajax@redhat.com>
926
927commit a2b2c271e0ca87d3188ba2741b6db9bbbdc599f5
928Author: Adam Jackson <ajax@redhat.com>
929Date: Tue Nov 5 10:08:17 2013 -0500
930
931 composite: Automatically enable backing store support on the screen
932
933 ... unless you explicitly disabled it with -bs on the command line, or
934 with the corresponding thing in xorg.conf.
935
936 v2: Drop a bogus hunk from compChangeWindowAttributes [vsyrjala]
937 v3: s/TRUE/WhenMapped/ [jcristau]
938
939 Reviewed-by: Keith Packard <keithp@keithp.com>
940 Signed-off-by: Adam Jackson <ajax@redhat.com>
941
942commit e0cac005608a2e5618c7be59701318d684e0bb93
943Author: Adam Jackson <ajax@redhat.com>
944Date: Tue Nov 5 09:58:17 2013 -0500
945
946 bs: Set the screen's bs support level to WhenMapped
947
948 Since we're using RedirectAutomatic to do this, we don't actually
949 preserve contents when unmapped.
950
951 v2: Don't say WhenMapped if Composite didn't initialize [vsyrjala]
952
953 Reviewed-by: Julien Cristau <jcristau@debian.org>
954 Signed-off-by: Adam Jackson <ajax@redhat.com>
955
956commit b61ccd5d9d368f3fbbae27ce14ac02a3db1884c4
957Author: Adam Jackson <ajax@redhat.com>
958Date: Tue Nov 5 10:20:04 2013 -0500
959
960 smartsched: Tweak the default scheduler intervals
961
962 A default timeslice of 20ms means a pathological client can ruin up to
963 two frames per scheduler tick. And a fifth of a second is just insane.
964
965 Pick two different numbers out of the hat. A 5ms slice means you can
966 probably keep up with two or three abusive clients, and letting it burst
967 to 15ms should give you about all the timeslice you need for a
968 fullscreen game (that's doing server-side rendering for some reason).
969
970 If you're running on a system with a 10ms granularity on SIGALRM, then
971 this effectively changes the intervals to 10ms and 30ms. Which is still
972 better, just not as better.
973
974 I suspect this is about as good as we can do without actually going
975 preemptive, which is an entire other nightmare.
976
977 Reviewed-by: Julien Cristau <jcristau@debian.org>
978 Signed-off-by: Adam Jackson <ajax@redhat.com>
979
980commit 66310ea2893811614b3c3aade8992624a95a6ee7
981Author: Adam Jackson <ajax@redhat.com>
982Date: Fri Nov 8 09:22:37 2013 -0500
983
984 dri3: Disable when Xinerama is active
985
986 Pretty sure this can't work.
987
988 Reviewed-by: Julien Cristau <jcristau@debian.org>
989 Signed-off-by: Adam Jackson <ajax@redhat.com>
990
991commit 793fd5eefb0e417614d77fe1522c6548587fbd4e
992Author: Adam Jackson <ajax@redhat.com>
993Date: Fri Nov 8 09:20:29 2013 -0500
994
995 dri2: Disable when Xinerama is active
996
997 Would only work on ScreenRec 0, which means it's broken.
998
999 Reviewed-by: Julien Cristau <jcristau@debian.org>
1000 Signed-off-by: Adam Jackson <ajax@redhat.com>
1001
1002commit 2bf92108294805c5c6fef249c2f7de6ecf4975d8
1003Author: Adam Jackson <ajax@redhat.com>
1004Date: Fri Nov 8 09:06:59 2013 -0500
1005
1006 present: Disable when Xinerama is active
1007
1008 Among much else Present depends on RANDR types, and RANDR isn't properly
1009 Xinerama-aware yet anyway.
1010
1011 Reviewed-by: Julien Cristau <jcristau@debian.org>
1012 Signed-off-by: Adam Jackson <ajax@redhat.com>
1013
1014commit ac772cb187ddf7e04b8f4b3a071b90f18f4488d0
1015Author: Eric Anholt <eric@anholt.net>
1016Date: Thu Nov 14 17:40:47 2013 -0800
1017
1018 glx: Fix incorrect use of dri_interface.h version defines in driver probing.
1019
1020 If we extend __DRI_CORE or __DRI_SWRAST in dri_interface.h to allow a
1021 new version, it shouldn't make old server code retroactively require
1022 the new version from swrast drivers.
1023
1024 Notably, new Mesa defines __DRI_SWRAST version 4, but we still want to
1025 be able to probe version 1 drivers, since we don't use any features
1026 beyond version 1 of the struct.
1027
1028 Signed-off-by: Keith Packard <keithp@keithp.com>
1029 Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
1030
1031commit 6e926b18ca1b182253bac435a1d53caaff7ffff6
1032Author: Eric Anholt <eric@anholt.net>
1033Date: Thu Nov 14 17:40:46 2013 -0800
1034
1035 glx: Fix incorrect use of dri_interface.h version defines in extensions.
1036
1037 Those defines are so you can compile-time check "do I have a
1038 dri_interface.h that defines this new field of the struct?" You don't
1039 want the server to claim it implements the new struct just because you
1040 installed a new copy of Mesa.
1041
1042 Signed-off-by: Keith Packard <keithp@keithp.com>
1043 Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
1044
1045commit 57a8ce927332e855dd29ff30210a211a907adb25
1046Author: Jon TURNEY <jon.turney@dronecode.org.uk>
1047Date: Fri Nov 29 12:26:43 2013 +0000
1048
1049 configure.ac: Fixup for "Require libpciaccess for int10"
1050
1051 On 16/11/2013 01:00, Connor Behan wrote:
1052 > A --disable-pciaccess build will fail with an int10 module other than
1053 > stub.
1054 >
1055 > Signed-off-by: Connor Behan <connor.behan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
1056 > ---
1057 > configure.ac | 3 +++
1058 > 1 file changed, 3 insertions(+)
1059 >
1060 > diff --git a/configure.ac b/configure.ac
1061 > index 5e621e0..a843770 100644
1062 > --- a/configure.ac
1063 > +++ b/configure.ac
1064 > @@ -1822,6 +1822,9 @@ if test "x$XORG" = xyes; then
1065 > if test "x$CONFIG_UDEV_KMS" = xyes; then
1066 > AC_MSG_ERROR([Platform device enumeration requires libpciaccess])
1067 > fi
1068 > + if test "x$INT10" != xstub; then
1069 > + AC_MSG_ERROR([Cannot build int10 without libpciaccess])
1070 > + fi
1071 > fi
1072 > AC_MSG_RESULT([$PCI])
1073 >
1074
1075 This causes my build to fail where --disable-int10-module --disable-pciaccess
1076 is the default (as INT10 still has the default value 'x86emu')
1077
1078 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
1079 Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
1080 Tested-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
1081 Signed-off-by: Keith Packard <keithp@keithp.com>
1082
1083commit 653d33941b0808ef910aaa5f3aeab05d9c1a100b
1084Author: Keith Packard <keithp@keithp.com>
1085Date: Tue Nov 26 12:18:12 2013 -0800
1086
1087 present: Report damage when flipping
1088
1089 Limit damage to the 'update' region.
1090
1091 Signed-off-by: Keith Packard <keithp@keithp.com>
1092 Reviewed-by: Adam Jackson <ajax@redhat.com>
1093
1094commit 5cf12c9569ac3d83fe1b7a8376c15f8f0b01655e
1095Author: Keith Packard <keithp@keithp.com>
1096Date: Tue Nov 26 12:10:48 2013 -0800
1097
1098 present: Also set the root window pixmap when flipping
1099
1100 This makes sure that things like software cursors continue to work
1101 while the screen is flipped.
1102
1103 Signed-off-by: Keith Packard <keithp@keithp.com>
1104 Reviewed-by: Adam Jackson <ajax@redhat.com>
1105
1106commit 4aa77378de69efdc10bced6ba650b0ebff50c112
1107Author: Keith Packard <keithp@keithp.com>
1108Date: Tue Nov 26 12:06:57 2013 -0800
1109
1110 present: Clear target_crtc if driver lacks Present support
1111
1112 If the driver doesn't have the necessary hooks for Present, then the
1113 target_crtc needs to be set to NULL to make sure the extension uses
1114 the present_fake code.
1115
1116 Signed-off-by: Keith Packard <keithp@keithp.com>
1117 Tested-by: Fredrik Höglund <fredrik@kde.org>
1118 Reviewed-by: Adam Jackson <ajax@redhat.com>
1119
1120commit 3dd5bfe540b295bb37a2c2fd0ba4a31fb217612b
1121Author: Keith Packard <keithp@keithp.com>
1122Date: Thu Nov 21 22:48:31 2013 -0800
1123
1124 present: Send GLX_BufferSwapComplete events from present extension
1125
1126 This allows GL to support the GLX_INTEL_swap_event extension.
1127
1128 v2: Return GLX_BLIT_COMPLETE_INTEL for unknown swap types
1129
1130 Signed-off-by: Keith Packard <keithp@keithp.com>
1131 Reviewed-by: Adam Jackson <ajax@redhat.com>
1132
1133commit cde86e68fcb716f34c90f5a16eb868870f5c85e4
1134Author: Keith Packard <keithp@keithp.com>
1135Date: Mon Nov 25 23:06:08 2013 -0800
1136
1137 present: Set window pixmap to flipped pixmap
1138
1139 This makes other drawing to the window appear on the screen.
1140
1141 Note that no child windows can be affected because only full-screen
1142 windows are eligible for flipping, and so we only need to set pixmap
1143 for the window itself.
1144
1145 Signed-off-by: Keith Packard <keithp@keithp.com>
1146 Reviewed-by: Adam Jackson <ajax@redhat.com>
1147
1148commit 04e138846e128670d409798aa2e797c3c5503a47
1149Author: Keith Packard <keithp@keithp.com>
1150Date: Mon Nov 25 23:10:17 2013 -0800
1151
1152 present: Leave vblank on window list until flip complete
1153
1154 If the window is destroyed, then we've got cleanup work to do, even if
1155 the vblank has already been executed -- we need to clear the window
1156 pointer so that we don't try to deliver events to it.
1157
1158 Leaving it on the window list meant that when walking that list, we
1159 need to know whether the vblank is waiting to be executed or waiting
1160 for the flip to complete, so a new 'queued' flag was added to the
1161 vblank to distinguish between the two states.
1162
1163 Signed-off-by: Keith Packard <keithp@keithp.com>
1164 Reviewed-by: Adam Jackson <ajax@redhat.com>
1165
1166commit b121d62accb8c346b4e1b1bce99586e13712f04a
1167Author: Keith Packard <keithp@keithp.com>
1168Date: Tue Nov 26 03:07:55 2013 -0800
1169
1170 present: Add a debug output line when skipping a pending present
1171
1172 When an application provides two pixmaps for the same MSC, the
1173 previous one is skipped. This just dumps out some information at that point
1174
1175 Signed-off-by: Keith Packard <keithp@keithp.com>
1176 Reviewed-by: Adam Jackson <ajax@redhat.com>
1177
1178commit eafba23b34be31c141ddafb8380520ac9a0622ac
1179Author: Keith Packard <keithp@keithp.com>
1180Date: Thu Nov 21 22:45:18 2013 -0800
1181
1182 miext/sync: Handle libxshmfence API change
1183
1184 libxshmfence had an unfortunate 'int32_t' type for the mapped fence.
1185 That changed to exposing a 'struct shmfence' instead, which is nice
1186 and opaque and offers fine type checking across the API.
1187
1188 This patch requires the newer version of the library and uses
1189 the new interface type.
1190
1191 Signed-off-by: Keith Packard <keithp@keithp.com>
1192 Reviewed-by: Julien Cristau <jcristau@debian.org>
1193
1194commit b6d7ed4d787a652e8150532f384bfdf51760f3c2
1195Author: Keith Packard <keithp@keithp.com>
1196Date: Thu Nov 21 22:12:34 2013 -0800
1197
1198 miext: Move SyncShm FDs out of the way of clients
1199
1200 Applications may end up allocating a bunch of shmfence objects, each
1201 of which uses a file descriptor, which must be kept open lest some
1202 other client ask for a copy of it later on.
1203
1204 Lacking an API that can turn a memory mapping back into a file
1205 descriptor, about the best we can do is push the file descriptors out
1206 of the way of other X clients so that we don't run out of the ability
1207 to accept new connections.
1208
1209 This uses fcntl F_GETFD to push the FD up above MAXCLIENTS.
1210
1211 Signed-off-by: Keith Packard <keithp@keithp.com>
1212 Reviewed-by: Julien Cristau <jcristau@debian.org>
1213
1214commit cc63204926c6da83d9221c5f8c0dc8f5e2f2481d
1215Author: Keith Packard <keithp@keithp.com>
1216Date: Wed Nov 13 14:16:33 2013 +0900
1217
1218 Xext: Use SHMDIR and O_TMPFILE when creating mapping files
1219
1220 ShmCreateSegment asks for a file descriptor for a memory mapped file
1221 created by the X server. This patch uses O_TMPFILE where available,
1222 and also uses the SHMDIR directory to store the files, both for the
1223 O_TMPFILE and mkstemp cases.
1224
1225 Signed-off-by: Keith Packard <keithp@keithp.com>
1226 Reviewed-by: Julien Cristau <jcristau@debian.org>
1227
1228commit 5a969f0928b84da5cfe0777dfb542caaacc915ad
1229Author: Keith Packard <keithp@keithp.com>
1230Date: Wed Nov 13 12:17:10 2013 +0900
1231
1232 Select directory for MIT-SHM temp files at configure time
1233
1234 By default, this looks through a list of directories to find one which
1235 exists, but can be overridden with --with-shared-memory-dir=PATH
1236
1237 This patch doesn't actually do anything with this directory, just
1238 makes it available in the configuration
1239
1240 Signed-off-by: Keith Packard <keithp@keithp.com>
1241 Reviewed-by: Julien Cristau <jcristau@debian.org>
1242
1243commit d695cb7fb6bb8fd159a332d902673edbbd2237d7
1244Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1245Date: Mon Nov 25 22:19:34 2013 -0800
1246
1247 Xdmx: Initialize DMX extension even if not built with GLX support
1248
1249 dmxAddExtensions takes an argument to determine if it should just
1250 initialize the DMX extension, or both DMX & GLX, but if GLX wasn't
1251 compiled in, the entire call was #ifdef'ed out, leaving the DMX
1252 extension unavailable.
1253
1254 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1255 Reviewed-by: Julien Cristau <jcristau@debian.org>
1256 Signed-off-by: Keith Packard <keithp@keithp.com>
1257
1258commit bd70def07754357d26b86c287037eb3884631daf
1259Author: Connor Behan <connor.behan@gmail.com>
1260Date: Fri Nov 15 17:00:40 2013 -0800
1261
1262 configure.ac: Require libpciaccess for int10
1263
1264 A --disable-pciaccess build will fail with an int10 module other than
1265 stub.
1266
1267 Signed-off-by: Connor Behan <connor.behan@gmail.com>
1268 Reviewed-by: Adam Jackson <ajax@redhat.com>
1269 Signed-off-by: Keith Packard <keithp@keithp.com>
1270
1271commit a575c1dc64c10bc88bd0e963ebb8ab137f59a078
1272Author: Connor Behan <connor.behan@gmail.com>
1273Date: Fri Nov 15 17:00:20 2013 -0800
1274
1275 configure.ac: Require libpciaccess for platform bus support
1276
1277 There is currently no reason to build with --enable-config-udev-kms and
1278 --disable-pciaccess but anyone who tries this should know that the build
1279 will fail.
1280
1281 Signed-off-by: Connor Behan <connor.behan@gmail.com>
1282 Reviewed-by: Adam Jackson <ajax@redhat.com>
1283 Signed-off-by: Keith Packard <keithp@keithp.com>
1284
1285commit 361dfe74eaa2f1eddb54abdecca1d8b1b3f58704
1286Author: Connor Behan <connor.behan@gmail.com>
1287Date: Fri Nov 15 17:00:00 2013 -0800
1288
1289 configure.ac: Add whitespace near PCI configuration
1290
1291 Signed-off-by: Connor Behan <connor.behan@gmail.com>
1292 Reviewed-by: Adam Jackson <ajax@redhat.com>
1293 Signed-off-by: Keith Packard <keithp@keithp.com>
1294
1295commit 80481267662c8687e73081237913fa561e7a6561
1296Author: Keith Packard <keithp@keithp.com>
1297Date: Sat Nov 23 22:22:37 2013 -0800
1298
1299 Bump release to 1.14.99.903 (1.15 RC3)
1300
1301 Signed-off-by: Keith Packard <keithp@keithp.com>
1302
1303commit f1604002a32b7f098c2a16b4a8649c694af570c8
1304Author: Keith Packard <keithp@keithp.com>
1305Date: Mon Nov 18 22:36:17 2013 -0800
1306
1307 miext: Ensure xshmfence is only called when driver supports it
1308
1309 This provides a place for drivers to insert their own FD-based
1310 SyncFence implementations, and prevents applications from using DRI3
1311 SyncFence creation functions unless the driver has some support for
1312 them.
1313
1314 Signed-off-by: Keith Packard <keithp@keithp.com>
1315 Tested-by: Fredrik Höglund <fredrik@kde.org>
1316
1317commit 037566c57caff93fd7717f385d4b532b81f19c77
1318Author: Keith Packard <keithp@keithp.com>
1319Date: Mon Nov 18 22:33:27 2013 -0800
1320
1321 Xext: Recover from miSyncInitFenceFromFD failure without crashing
1322
1323 miSyncDestroyFence must not be called unless miSyncInitFence has been
1324 invoked, so if miSyncInitFenceFromFD fails, we must free the fence
1325 manually.
1326
1327 Signed-off-by: Keith Packard <keithp@keithp.com>
1328 Tested-by: Fredrik Höglund <fredrik@kde.org>
1329
1330commit e7000534a456fdf9cd4eaada3193846c8525f740
1331Author: Chris Wilson <chris@chris-wilson.co.uk>
1332Date: Sat Oct 5 08:47:03 2013 +0100
1333
1334 glx/glxdri2: Unwrap EnterVT/LeaveVT upon CloseScreen
1335
1336 In a similar spirit to
1337
1338 commit d75e8146c414bfd512ba5dbd4a83acb334bbe19b
1339 Author: Keith Packard <keithp@keithp.com>
1340 Date: Mon Jul 12 16:01:34 2010 -0700
1341
1342 Unwrap/rewrap EnterVT/LeaveVT completely, Fixes 28998
1343
1344 we need to unwrap our pScrn->EnterVT/LeaveVT hooks around server
1345 regeneration or else we cause an infinite recursion on the next VT
1346 switch afterwards.
1347
1348 Bugzilla: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1235516
1349 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
1350 Reviewed-by: Keith Packard <keithp@keithp.com>
1351 Signed-off-by: Keith Packard <keithp@keithp.com>
1352
1353commit 6d5883bd7e5b765f8f0548501b825d9e56840799
1354Author: Keith Packard <keithp@keithp.com>
1355Date: Sat Nov 23 16:19:46 2013 -0800
1356
1357 xnest: Ignore GetImage() error in xnestGetImage() (v3)
1358
1359 (I found an amended version of this patch and applied the difference
1360 here - keithp)
1361
1362 v3: Don't call Xsync before restoring error handler as any errors
1363 generated by XGetImage() should be processed when this call
1364 returns as suggested by Jamey Sharp <jamey@minilop.net>
1365
1366 Signed-off-by: Egbert Eich <eich@freedesktop.org>
1367 Reviewed-by: Jamey Sharp <jamey@minilop.net>
1368
1369commit 6403cbb143c67872ca9c58e3116ae7942def0ae1
1370Author: Keith Packard <keithp@keithp.com>
1371Date: Tue Nov 19 22:13:54 2013 -0800
1372
1373 present: When unflipping, copy to flip window rather than screen
1374
1375 unflip happens after the clip lists have been updated, so instead of
1376 smashing the whole screen and drawing over other windows, just draw to
1377 the original flip window; it'll have the right clip list and so the
1378 copy will work just fine.
1379
1380 Signed-off-by: Keith Packard <keithp@keithp.com>
1381 Reviewed-by: Adam Jackson <ajax@redhat.com>
1382
1383commit 8bdd2ccc776ded3f527596b5009ef25129aa3287
1384Author: Keith Packard <keithp@keithp.com>
1385Date: Mon Nov 11 18:03:42 2013 -0800
1386
1387 present: Block for wait_fence in present_execute
1388
1389 Pend presentation until wait_fence is also triggered by having the
1390 SyncFence trigger invoke present_execute once triggered.
1391
1392 Signed-off-by: Keith Packard <keithp@keithp.com>
1393 Reviewed-by: Adam Jackson <ajax@redhat.com>
1394
1395commit e5a188cb919edee2e3a03054276bce0db02f7b62
1396Author: Keith Packard <keithp@keithp.com>
1397Date: Sat Nov 9 12:36:47 2013 -0800
1398
1399 present: Signal destroyed flip window with vblank->window == NULL
1400
1401 This eliminates dereferencing freed window pointers when there is a
1402 flip for that window in progress. The flip will complete, and then
1403 immediately get undone (as we can't stop an in-progress flip).
1404
1405 Remove the vblank->window_destroyed field as we can signal this with
1406 vblank->window == NULL instead.
1407
1408 Change check to vblank->window == NULL in:
1409
1410 present_flip_notify
1411
1412 Add check for vblank->window == NULL in:
1413 present_vblank_notify
1414 present_execute
1415
1416 present_flip_notify was also using vblank->window->drawable.pScreen,
1417 so stop doing that and use vblank->screen instead.
1418
1419 Signed-off-by: Keith Packard <keithp@keithp.com>
1420 Reviewed-by: Adam Jackson <ajax@redhat.com>
1421
1422commit a5bcc4f7b9499caf8993f0a6ef96088553399ca3
1423Author: Keith Packard <keithp@keithp.com>
1424Date: Sat Nov 9 12:33:02 2013 -0800
1425
1426 present: Ignore event_id 0 from driver vblank notify
1427
1428 We use event_id 0 to mean 'no such event'; if a driver sends us that
1429 event_id, make sure we don't accidentally match it.
1430
1431 Signed-off-by: Keith Packard <keithp@keithp.com>
1432 Reviewed-by: Adam Jackson <ajax@redhat.com>
1433
1434commit 4f3c37a1f17ffcfbbff71d217e1caad3d0148c90
1435Author: Keith Packard <keithp@keithp.com>
1436Date: Thu Nov 7 14:17:12 2013 -0800
1437
1438 present: Round fake MSC computations intead of truncating
1439
1440 If the timer fired too early, we'd sometimes mis-compute the MSC for
1441 fake vblanks. Rounding the computation to the nearest MSC fixes this nicely.
1442
1443 Signed-off-by: Keith Packard <keithp@keithp.com>
1444 Reviewed-by: Adam Jackson <ajax@redhat.com>
1445
1446commit da9997f89f14ab619f244d5b2e80a423b028c789
1447Author: Peter Hutterer <peter.hutterer@who-t.net>
1448Date: Tue Nov 19 08:07:09 2013 +1000
1449
1450 configure: allow for --enable-libunwind and --disable-libunwind
1451
1452 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1453 Reviewed-by: Keith Packard <keithp@keithp.com>
1454 Signed-off-by: Keith Packard <keithp@keithp.com>
1455
1456commit 29240e5cbf6e7f875b128fc7bfc4d56b2350835a
1457Merge: 0492deb 8ff7e32
1458Author: Keith Packard <keithp@keithp.com>
1459Date: Thu Nov 14 17:02:04 2013 +0900
1460
1461 Merge remote-tracking branch 'whot/for-keith'
1462
1463commit 0492deb8f8238b7782e5a706ec6219d88aa1091d
1464Author: Adam Jackson <ajax@redhat.com>
1465Date: Tue Oct 29 12:09:27 2013 -0400
1466
1467 mieq: Bump default queue size to 512
1468
1469 Based on some bugzilla scraping I did around November 2012. Of xserver
1470 bugs in Red Hat bugzilla with an EQ size message in the log, the
1471 distribution looked like:
1472
1473 String | Matches
1474 -------------------------------------
1475 Increasing EQ size to 512 | 460
1476 Increasing EQ size to 1024 | 52
1477 Increasing EQ size to 2048 | 6
1478 Increasing EQ size to 4096 | 0
1479
1480 Most of the "512" ones appear to be mostly harmless, some relatively
1481 expensive path in either rendering or resource destruction simply taking
1482 too long due to external pressures like paging or CPU contention. So
1483 let's raise the initial queue size, both to reduce the number of
1484 spurious abrt reports and to drop fewer events in all but the most
1485 pathological cases.
1486
1487 Signed-off-by: Adam Jackson <ajax@redhat.com>
1488 Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
1489 Signed-off-by: Keith Packard <keithp@keithp.com>
1490
1491commit d1440783a7367ff0d0c47d256bbca3b3cf8a5034
1492Author: Dave Airlie <airlied@redhat.com>
1493Date: Tue Oct 29 12:09:26 2013 -0400
1494
1495 xfree86: return NULL for compat output if no outputs.
1496
1497 With outputless GPUs showing up we crash here if there are not outputs
1498 try and recover with a bit of grace.
1499
1500 Reviewed-by: Adam Jackson <ajax@redhat.com>
1501 Signed-off-by: Dave Airlie <airlied@redhat.com>
1502 Signed-off-by: Keith Packard <keithp@keithp.com>
1503
1504commit d7ee27e5e415778240919082c83a65226c6f17e6
1505Author: Dan Horák <dan@danny.cz>
1506Date: Tue Oct 29 12:09:25 2013 -0400
1507
1508 test: build the touch test only when building Xorg
1509
1510 Reviewed-by: Adam Jackson <ajax@redhat.com>
1511 Signed-off-by: Dan Horák <dan@danny.cz>
1512 Signed-off-by: Keith Packard <keithp@keithp.com>
1513
1514commit 8ff7e32c3ef7b0c13c4ab9664f651e9782d35a85
1515Author: Peter Hutterer <peter.hutterer@who-t.net>
1516Date: Wed Nov 13 17:14:11 2013 +1000
1517
1518 include: export key_is_down and friends
1519
1520 VNC needs key_is_down to check if a key is processed as down before it
1521 simulates various key releases. Make it available, because I seriously can't
1522 be bothered thinking about how to rewrite VNC to not need that.
1523
1524 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1525 Acked-by: Keith Packard <keithp@keithp.com>
1526
1527commit 0ba7fc8472f1227fd1cd51bd58048f164b8ea1ab
1528Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1529Date: Tue Nov 12 14:46:04 2013 -0800
1530
1531 Stop including inline assembly .il file for Solaris Studio builds
1532
1533 Since all the inb/outb/etc. use in the X server itself (except for
1534 xf86SlowBcopy) has been replaced by calls to libpciaccess, we no
1535 longer need to pass inline assembly files to replace the gcc inline
1536 assembly from hw/xfree86/common/compiler.h when building Xorg itself.
1537
1538 The .il files are still generated and installed in the SDK for the
1539 benefit of drivers who may use them.
1540
1541 Binary diff of before and after showed that xf86SlowBcopy was the
1542 only function changed across the Xorg binary and all modules built
1543 in the Xserver build, it just calls the outb() function now instead
1544 of having the outb instructions inlined, making it a slightly slower
1545 bcopy.
1546
1547 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1548 Reviewed-by: Keith Packard <keithp@keithp.com>
1549 Signed-off-by: Keith Packard <keithp@keithp.com>
1550
1551commit 550baf38f6096658f0bcf0ad647c4fedf93132f2
1552Author: Peter Hutterer <peter.hutterer@who-t.net>
1553Date: Fri Oct 4 10:55:52 2013 +1000
1554
1555 kdrive: fix cursor jumps on CursorOffScreen behavior
1556
1557 This patch fixes cursor jumps when there is a grab on the Xephyr window and
1558 the pointer moves outside the window.
1559
1560 So on two side-by-side 640x480 screens, a coordinate of 0/481
1561 triggers KdCursorOffscreen.
1562
1563 If the delta between two screens is 0, they share the same offset for
1564 that dimension. When searching for the new screen, the loop always rules out
1565 the current screen. So we get to the second screen, trigger the conditions
1566 where dy <= 0 and decide that this new screen is the correct one. The result
1567 is that whenever KdCursorOffScreen is called, the pointer jumps to the other
1568 screen.
1569
1570 Change to check for dy < 0 etc. so that the cursor stays on the same screen if
1571 there is no other screen at the target location.
1572
1573 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1574 Reviewed-by: Keith Packard <keithp@keithp.com>
1575
1576commit a94d945065177d73f3ee8dc0b9147264ba281136
1577Author: Peter Hutterer <peter.hutterer@who-t.net>
1578Date: Tue Oct 29 14:24:41 2013 +1000
1579
1580 kdrive: modify ephyr events to use POINTER_DESKTOP and scale them to that
1581
1582 A multi-head Xephyr instance has the pointer stuck on one screen
1583 because of bad coordinate calculation. The coordinates passed to
1584 GetPointerEvents are per-screen, so the cursor gets stuck on the left-most
1585 screen by default.
1586
1587 Adjust and mark the events as POINTER_DESKTOP, so the DIX
1588 can adjust them accordingly.
1589
1590 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1591 Reviewed-by: Keith Packard <keithp@keithp.com>
1592
1593commit d66832a3b8a8675f1e5f3656dcb1bbe95598f0ea
1594Author: Keith Packard <keithp@keithp.com>
1595Date: Thu Nov 14 13:21:54 2013 +1000
1596
1597 kdrive: handle WxH as valid geometry spec
1598
1599 If a screen size was specified as WxH, the loop returned early and kdOrigin
1600 was never advanced. Thus, screen->origin was always 0 (or whatever was given
1601 at the -origin commandline flag).
1602
1603 If a screen size was given with a bit depth (WxHxD), kdOrigin would always
1604 advance by the current screen, offsetting the next screen.
1605
1606 Signed-off-by: Keith Packard <keithp@keithp.com>
1607 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
1608 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1609
1610commit c8c5105c1d5c093675d7f571f158147f22f7572b
1611Author: Peter Hutterer <peter.hutterer@who-t.net>
1612Date: Tue Oct 29 14:33:56 2013 +1000
1613
1614 ephyr: xcb_connect returns an error, not NULL
1615
1616 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1617 Reviewed-by: Keith Packard <keithp@keithp.com>
1618
1619commit 2aa67ccef6ad8f51deb94b66defc668ddb7d226c
1620Author: Keith Packard <keithp@keithp.com>
1621Date: Thu Nov 14 10:26:20 2013 +0900
1622
1623 Update to version 1.14.99.902
1624
1625 1.15 RC2
1626
1627 Signed-off-by: Keith Packard <keithp@keithp.com>
1628
1629commit 9309d2a009a6a3b6090fc377fc7a3eded1a34dc0
1630Author: Keith Packard <keithp@keithp.com>
1631Date: Wed Nov 13 07:01:45 2013 +0900
1632
1633 xext: Fix shmint.h to not use headers outside of sdk_HEADERS
1634
1635 shmint.h is part of sdk_HEADERS, and so can't use anything not
1636 included in sdk_HEADERS.
1637
1638 busfault.h includes dix-config.h which is not. Leave the use of
1639 struct busfault in shmint.h and move the include of busfault.h to
1640 shm.c.
1641
1642 protocol-versions.h is not part of sdk_HEADERS, so instead of using
1643 that, just use XTRANS_SEND_FDS to choose whether to expose the fd
1644 passing requests directly.
1645
1646 Reported-by: Julien Cristau <jcristau@debian.org>
1647 Signed-off-by: Keith Packard <keithp@keithp.com>
1648 Tested-by: Knut Petersen <Knut_Petersen@t-online.de>
1649 Reviewed-by: Julien Cristau <jcristau@debian.org>
1650
1651 v2: also avoid using protocol-versions.h
1652
1653commit 4a251f5883b042cd902c192060a0be2b11148f2b
1654Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
1655Date: Fri Nov 8 14:55:33 2013 -0800
1656
1657 xfree86: Fix build without libpciaccess
1658
1659 Regression fix from commit 04ab07ca19236d6c9a947e065fb69b0dd0d16639
1660
1661 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
1662 Reviewed-by: Connor Behan <connor.behan@gmail.com>
1663
1664commit 5b02d5b7aaabf1ba8dcbdfe4525b7995b4e79f92
1665Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1666Date: Thu Nov 7 21:08:56 2013 -0800
1667
1668 Enable XTRANS_SEND_FDS on Solaris too.
1669
1670 Requires passing through the __EXTENSIONS__ and _XOPEN_SOURCE defines
1671 in order to expose the msg_control members in struct msghdr.
1672
1673 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1674 Reviewed-by: Adam Jackson <ajax@redhat.com>
1675
1676commit c4c154d18ef42dc550f2675a9ee88e07b1ca6bed
1677Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1678Date: Thu Nov 7 21:05:33 2013 -0800
1679
1680 Avoid conflicts with Solaris <sys/regset.h> defines that clash with our names
1681
1682 When building on Solaris with _XOPEN_SOURCE set to a recent XPG release,
1683 <stdlib.h> and other core headers start including <sys/regset.h>, which
1684 has a bunch of unfortunately named macros such as "CS", "ES", etc. for
1685 x86 & x64 registers which clash with existing variable & struct member
1686 names in Xorg - so #undef these so they don't interfere with our use.
1687
1688 (Yes, have filed a bug against the system headers for exposing these,
1689 but this solves the problem for building on existing releases.)
1690
1691 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1692 Reviewed-by: Adam Jackson <ajax@redhat.com>
1693
1694commit d7f9be0f8541368bf1a095ad1fbe7f38be6d3d15
1695Author: Keith Packard <keithp@keithp.com>
1696Date: Mon Nov 11 15:48:41 2013 -0800
1697
1698 Proper spelling of MAP_ANONYMOUS is MAP_ANON.
1699
1700 The former doesn't exist on BSD and the latter is available everywhere
1701 AFAIK (checked Solaris and Linux).
1702
1703 You also might want to wrap that line ;).
1704
1705 Reported-by: Mark Kettenis <mark.kettenis@xs4all.nl>
1706 Signed-off-by: Keith Packard <keithp@keithp.com>
1707
1708commit fc84166e65c35ad75f566b135dcfc305ad5a2fde
1709Author: Keith Packard <keithp@keithp.com>
1710Date: Thu Nov 7 15:18:28 2013 -0800
1711
1712 Get rid of the rest of the FD passing code when XTRANS_SEND_FDS isn't set
1713
1714 req_fds and SetReqFds in include/dixstruct.h
1715
1716 ReadFdFromClient, WriteFdToClient and the FD flushing in os/io.c
1717
1718 Signed-off-by: Keith Packard <keithp@keithp.com>
1719
1720commit a239e6faf3fce848ac0d10c48f8e817db68a493c
1721Merge: 43e5a43 f70a8bf
1722Author: Keith Packard <keithp@keithp.com>
1723Date: Mon Nov 11 15:26:12 2013 -0800
1724
1725 Merge remote-tracking branch 'jeremyhu/master'
1726
1727commit 43e5a43fa8994e50cf01dd954118f4ef2c4e7933
1728Author: Adam Jackson <ajax@redhat.com>
1729Date: Thu Nov 7 12:01:41 2013 -0500
1730
1731 present: Don't try to initialize when building without present support
1732
1733 There's a --disable-present, so it'd be nice if it worked.
1734
1735 Signed-off-by: Adam Jackson <ajax@redhat.com>
1736 Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
1737 Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
1738 Signed-off-by: Keith Packard <keithp@keithp.com>
1739
1740commit 0822a23e048b12c98c654e8b6af711c5f2c97141
1741Author: Keith Packard <keithp@keithp.com>
1742Date: Thu Nov 7 03:19:42 2013 -0800
1743
1744 present: Change debug output a bit to help diagnose missing vblank signals
1745
1746 Signed-off-by: Keith Packard <keithp@keithp.com>
1747 Reviewed-by: Adam Jackson <ajax@redhat.com>
1748
1749commit 20bb49ae9ba11d3dccfba191483cd682d9c9d96c
1750Author: Keith Packard <keithp@keithp.com>
1751Date: Wed Nov 6 23:56:26 2013 -0800
1752
1753 Present: Check for window/fence destroyed when idling pixmaps
1754
1755 A client destroying objects in the middle of an unflip can end up
1756 having the screen flip window or fence set to NULL in the unflip
1757 notify path. Check for these and don't try to use those objects.
1758
1759 Signed-off-by: Keith Packard <keithp@keithp.com>
1760 Reviewed-by: Adam Jackson <ajax@redhat.com>
1761
1762commit 41da295eb50fa08eaacd0ecde99f43a716fcb41a
1763Author: Keith Packard <keithp@keithp.com>
1764Date: Sun Nov 3 13:12:40 2013 -0800
1765
1766 Trap SIGBUS to handle truncated shared memory segments
1767
1768 If a client passes a section of memory via file descriptor and then
1769 subsequently truncates that file, the underlying pages will be freed
1770 and the addresses invalidated. Subsequent accesses to the page will
1771 fail with a SIGBUS error.
1772
1773 Trap that SIGBUS, figure out which segment was causing the error and
1774 then allocate new pages to fill in for that region. Mark the offending
1775 shared segment as invalid and free the resource ID so that the client
1776 will be able to tell when subsequently attempting to use the segment.
1777
1778 Signed-off-by: Keith Packard <keithp@keithp.com>
1779
1780 v2: Use MAP_FIXED to simplify the recovery logic (Mark Kettenis)
1781 v3: Also catch errors in ShmCreateSegment
1782
1783 Conflicts:
1784 include/dix-config.h.in
1785 include/xorg-config.h.in
1786
1787commit 719e880d7698d92f9b854b217ef9680aaa446f2e
1788Author: Keith Packard <keithp@keithp.com>
1789Date: Wed Nov 6 23:22:51 2013 -0800
1790
1791 Require libXtrans version 1.3.2
1792
1793 This has the FD passing support included
1794
1795 Signed-off-by: Keith Packard <keithp@keithp.com>
1796 Reviewed-by: Adam Jackson <ajax@redhat.com>
1797
1798commit bee2ec54049377e0033d49abff20d7bd069c62aa
1799Author: Keith Packard <keithp@keithp.com>
1800Date: Sun Nov 3 10:08:15 2013 -0800
1801
1802 Xext: Enable MIT-SHM FD-passing request definitions only when possible
1803
1804 Check to see if xtrans FD passing is available and use that to
1805 advertise the appropriate version of the SHM extension
1806
1807 Signed-off-by: Keith Packard <keithp@keithp.com>
1808 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1809
1810commit ea8acfe3e2f74a46c3f1e91809b4b99af18502b7
1811Author: Keith Packard <keithp@keithp.com>
1812Date: Wed Nov 6 23:06:28 2013 -0800
1813
1814 Require xextproto version 7.2.99.901
1815
1816 This includes the MIT-SHM FD passing requests
1817
1818 Signed-off-by: Keith Packard <keithp@keithp.com>
1819 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1820
1821commit 914672fefacc15386041e7c2bc3beed4faf45e9d
1822Author: Keith Packard <keithp@keithp.com>
1823Date: Thu Nov 7 14:20:26 2013 -0800
1824
1825 Remove dix-config.h config variables from xorg-config.h
1826
1827 xorg-config.h includes dix-config, so there's no need to duplicate.
1828
1829 Signed-off-by: Keith Packard <keithp@keithp.com>
1830
1831commit 7aad79c5a582ece301d950bd65f0bcb4b9956e86
1832Author: Keith Packard <keithp@keithp.com>
1833Date: Wed Nov 6 23:05:46 2013 -0800
1834
1835 Make XTrans FD passing support optional. Define only on Linux
1836
1837 Until other operating systems have a libXtrans port for FD passing,
1838 disable this on non-Linux systems.
1839
1840 Note that this define affects how libXtrans gets built into the X
1841 server, which is why it need only define the symbol
1842
1843 Signed-off-by: Keith Packard <keithp@keithp.com>
1844
1845commit f70a8bf3714d89bccaad36841ef9149e91ad3bba
1846Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
1847Date: Sun Nov 10 11:40:27 2013 -0800
1848
1849 XQuartz: Don't sleep forever on exit if usleep() returns an error
1850
1851 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
1852
1853commit ebcc1c214c466582d7b92826b4860256fd9c582a
1854Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
1855Date: Sun Nov 10 11:26:49 2013 -0800
1856
1857 XQuartz: Update Info.plist copyright years
1858
1859 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
1860
1861commit 81c123ea2dd833864f7ba217791e59acca0f7c97
1862Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
1863Date: Mon Nov 4 12:13:45 2013 -0800
1864
1865 configure.ac: Move GLX section after DRI
1866
1867 The GLX section of configura.ac checks the state of DRI2, so it
1868 needs to be after DRI2=auto is resolved.
1869
1870 Also reset libgl requirement to 7.1.0 in non-dri2 case.
1871
1872 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
1873 Reviewed-by: Adam Jackson <ajax@redhat.com>
1874
1875commit ab4b1fb38a61feb73d8336cc7a3399eb9d3d25be
1876Author: Andreas Schwab <schwab@suse.de>
1877Date: Thu Aug 15 12:03:42 2013 +0200
1878
1879 ARM64: Add support for aarch64
1880
1881 Signed-off-by: Andreas Schwab <schwab@suse.de>
1882 Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
1883 Reviewed-by: Adam Jackson <ajax@redhat.com>
1884 Signed-off-by: Keith Packard <keithp@keithp.com>
1885
1886commit 8fcf82cbf015609e00b3feb9bc567133c7aee5cf
1887Author: Keith Packard <keithp@keithp.com>
1888Date: Tue Nov 5 18:39:11 2013 -0800
1889
1890 Use $GL_LIBS instead of -lGL for linking
1891
1892 -lGL presumes that the GL library is in the system path, while
1893 $GL_LIBS is auto-detected.
1894
1895 Signed-off-by: Keith Packard <keithp@keithp.com>
1896
1897commit f348935e7d2c84a438aba08eee2f2c4e0dc77d20
1898Author: Keith Packard <keithp@keithp.com>
1899Date: Tue Nov 5 18:37:12 2013 -0800
1900
1901 Link with xshmfence, reference miSyncShmScreenInit in sdksyms
1902
1903 This gets the server to link with xshmfence again, and also ensures
1904 that the miSyncShm code is linked into the server with the reference
1905 from sdksyms.
1906
1907 Signed-off-by: Keith Packard <keithp@keithp.com>
1908
1909commit 5f1e832694e57986c0185048a941b3af51b2f85f
1910Author: Julien Cristau <jcristau@debian.org>
1911Date: Tue Nov 5 07:08:21 2013 -0800
1912
1913 os: Actually use the computed clockid in GetTimeInMicros
1914
1915 The selection of which clock to use for this function was not actually
1916 getting used when fetching the final clock value.
1917
1918 Reported-by: Julien Cristau <jcristau@debian.org>
1919 Signed-off-by: Keith Packard <keithp@keithp.com>
1920
1921commit 903a058370645ea075ea98d380fd565efb6160c9
1922Author: Keith Packard <keithp@keithp.com>
1923Date: Mon Nov 4 19:01:26 2013 -0800
1924
1925 hw/xfree86: Link libdri3 only when DRI3 is defined
1926
1927 Don't attempt to link non-existant libraries...
1928
1929 Signed-off-by: Keith Packard <keithp@keithp.com>
1930
1931commit aaf0e29619196a283fee7ead2020a91032d84f48
1932Author: Keith Packard <keithp@keithp.com>
1933Date: Sun Nov 3 09:56:02 2013 -0800
1934
1935 Disable DRI3 and sync fence FD functions if xshmfence isn't available
1936
1937 Make sure the server can build when the xshmfence library isn't present
1938
1939 Signed-off-by: Keith Packard <keithp@keithp.com>
1940
1941commit 33c85beed521c9db140cadd8c5aa9992398ee1fe
1942Author: Keith Packard <keithp@keithp.com>
1943Date: Fri Nov 1 01:01:58 2013 -0700
1944
1945 Set version to 1.14.99.901 (1.15 RC1)
1946
1947 Signed-off-by: Keith Packard <keithp@keithp.com>
1948
1949commit 9db1d66f6d2c6857de220d8f1c08965962fe1416
1950Author: Keith Packard <keithp@keithp.com>
1951Date: Fri Nov 1 01:43:59 2013 -0700
1952
1953 Add dri3 and present directorys to distribution
1954
1955 Signed-off-by: Keith Packard <keithp@keithp.com>
1956
1957commit 977e2644b1d9e13b44debcb9a372bbc832ee32a3
1958Merge: 66c5ee0 f36f5a6
1959Author: Keith Packard <keithp@keithp.com>
1960Date: Fri Nov 1 00:34:18 2013 -0700
1961
1962 Merge remote-tracking branch 'whot/for-keith'
1963
1964commit 66c5ee0ff4690e630a69656331fd9d545c99c26c
1965Author: Egbert Eich <eich@freedesktop.org>
1966Date: Wed Aug 14 18:18:56 2013 +0200
1967
1968 config/APM: Add option to disable building of APM support on Linux
1969
1970 APM support in the Xserver was used to restore the console mode
1971 prior to a power management event. This was to ensure the mode
1972 upon suspend/resume was one that the system firmware or kernel
1973 could deal with.
1974 APM support is now largely obsolete, KMS drivers don't require a
1975 mode restoration anyhow. Therefore it should be possible to disable
1976 this feature.
1977
1978 (small modification by keithp - move test for XF86PM flag after check
1979 for APM, then move XF86PM flag to xorg-config.h.in)
1980
1981 Signed-off-by: Egbert Eich <eich@freedesktop.org>
1982 Tested-by: Keith Packard <keithp@keithp.com>
1983 Signed-off-by: Keith Packard <keithp@keithp.com>
1984
1985commit f36f5a65f639b6524191d888d5bf89e73027156c
1986Author: Peter Hutterer <peter.hutterer@who-t.net>
1987Date: Wed Oct 30 15:40:58 2013 +1000
1988
1989 sync: fix corner-case in triggering idle alarms
1990
1991 ProcessInputEvent() resets the device idle times. If idle time was higher than
1992 the lower bracket, this should trigger an event in the idle time wakeup
1993 handler.
1994
1995 If processing is slow, the idle time may advance past the lower bracket
1996 between the reset and the time the BlockHandler is called. In that case, we'd
1997 never schedule a wakeup to handle the event, causing us to randomly miss
1998 events.
1999
2000 Ran tests with a neg transition trigger on 5ms with 200 repeats of the test
2001 and it succeeded. Anything below that gets a bit tricky to make sure the
2002 server sees the same idle time as the client usleeps for.
2003
2004 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2005 Reviewed-by: Keith Packard <keithp@keithp.com>
2006
2007commit f994d99539192a10a8c83047e11991f52e0ca677
2008Author: Egbert Eich <eich@freedesktop.org>
2009Date: Wed Aug 14 18:18:39 2013 +0200
2010
2011 config/ACPI: Add option to disable building of ACPI support on Linux
2012
2013 ACPI support in the Xserver was used to restore the console mode
2014 prior to a power management event. This was to ensure the mode
2015 upon suspend/resume was one that the system firmware or kernel
2016 could deal with.
2017 The feature depended on acpid to be running. Most of this functionality
2018 is now take over by systemd, KMS drivers don't require a mode restoration
2019 anyhow. Therefore it should be possible to disable this feature under
2020 some circumstances.
2021
2022 Tested-by: Keith Packard <keithp@keithp.com>
2023 Signed-off-by: Keith Packard <keithp@keithp.com>
2024
2025commit 2aa5092b88174cb9988076ae96298217c97ad75f
2026Author: Egbert Eich <eich@freedesktop.org>
2027Date: Mon Aug 12 18:21:33 2013 +0200
2028
2029 DDX/Randr: Avoid server crash when xrandr SetConfig is called while switched away
2030
2031 A call to Xrandr SetScreenConfig (for randr 1.1) causes the Xserver to
2032 crash when xf86SetViewport() which does not check if the hardware is
2033 accessible.
2034 Wrap accesses to xf86SetViewport() with if (vtSema) { ... } to avoid that.
2035
2036 Signed-off-by: Egbert Eich <eich@freedesktop.org>
2037 Reviewed-by: Keith Packard <keithp@keithp.com>
2038 Signed-off-by: Keith Packard <keithp@keithp.com>
2039
2040commit 508e05777aba823c93a2417cc26d18c9f061ca26
2041Author: Egbert Eich <eich@freedesktop.org>
2042Date: Mon Aug 12 18:20:36 2013 +0200
2043
2044 DDX/Events: Distinguish between Input- and GeneralHandlers in xf86VTSwitch()
2045
2046 When enabling/disabling input handlers in xf86VTSwitch() we treat Input-
2047 and GeneralHandlers equally. The result is that after a VT switch the
2048 masks for EnabledDevices and AllSockets are equal and the distiction
2049 between both types is lost.
2050
2051 Signed-off-by: Egbert Eich <eich@freedesktop.org>
2052 Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2053 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2054 Signed-off-by: Keith Packard <keithp@keithp.com>
2055
2056commit 0cb33ce34081d7d123ec565582d7d19bdb3964ad
2057Author: Egbert Eich <eich@freedesktop.org>
2058Date: Sat Oct 5 08:02:28 2013 +0200
2059
2060 DDX/modes: Add a sanity check when using screen sizes from EDID
2061
2062 EDID sometimes lies about screen sizes. Since the screen size is used
2063 by clients to determine the DPI a wrong ration will lead to terrible
2064 looking fonts.
2065 Add a sanity check for the h/v ratio cutting off at 2.4. This would
2066 still accept the cinemascope aspect ratio as valid.
2067 Also add message suggesting to add a quirk table entry.
2068
2069 Signed-off-by: Egbert Eich <eich@freedesktop.org>
2070 Reviewed-by: Keith Packard <keithp@keithp.com>
2071 Signed-off-by: Keith Packard <keithp@keithp.com>
2072
2073commit 41d4beb2616ceb3f1a1b8694733e85bae70de59a
2074Author: Egbert Eich <eich@freedesktop.org>
2075Date: Wed Aug 14 11:50:26 2013 +0200
2076
2077 DDX/DPMS: Call dixSaveScreens() also when screen is turned on
2078
2079 DMPS calls dixSaveScreens() when turned off but not when turned
2080 on. In most cases this is irrelevant as DPMS is done when a
2081 key is hit in which case dixSaveScreens() will be called to
2082 unblank anyhow. This isn't the case if we use xset (or the
2083 DPMS extension directly) to unblank.
2084 Check screenIsSaved to make sure the state needs to be changed
2085 before calling dixSaveScreens().
2086
2087 Signed-off-by: Egbert Eich <eich@freedesktop.org>
2088 Reviewed-by: Keith Packard <keithp@keithp.com>
2089 Signed-off-by: Keith Packard <keithp@keithp.com>
2090
2091commit 623c4147650d0404cfbea0f9b7df66dc7d928e00
2092Author: Søren Sandmann Pedersen <ssp@redhat.com>
2093Date: Mon Oct 21 17:11:56 2013 -0400
2094
2095 ephyr: Ensure stride of private framebuffer is multiple of 4
2096
2097 The fb layer of X can't deal with strides that are not a multiple of
2098 4, so when Xephyr allocates its own framebuffer it should make sure to
2099 align it.
2100
2101 This fixes crashes and rendering corruption when Xephyr runs in a
2102 depth that is different from the host X server and its screen size is
2103 not a multiple of 4 / depth. (This is particularly easy to trigger if
2104 you use the -resizeable option).
2105
2106 Reviewed-by: Eric Anholt <eric@anholt.net>
2107 Signed-off-by: Soren Sandmann <ssp@redhat.com>
2108 Reviewed-by: Adam Jackson <ajax@redhat.com>
2109
2110commit 97cf53cc2ad7ecfdd495133bad31d0ec7d939326
2111Author: Søren Sandmann Pedersen <ssp@redhat.com>
2112Date: Mon Oct 21 16:58:54 2013 -0400
2113
2114 ephyr: hostx_screen_init(): Fix bits_per_pixel and bytes_per_line
2115
2116 When the depth of the Xephyr server matches that of the host X server,
2117 Xephyr simply uses the buffer associated with the XImage as its
2118 framebuffer. In this case, it is correct to get the bits_per_pixel and
2119 bytes_per_line values returned from hostx_screen_init() from the XImage.
2120
2121 However, when the depth doesn't match the host, Xephyr uses a private
2122 framebuffer that is periodically copied to the XImage. In this case,
2123 the returned values of bits_per_pixel and bytes_per_line should be
2124 those of the private framebuffer, not those of the XImage.
2125
2126 Reviewed-by: Eric Anholt <eric@anholt.net>
2127 Signed-off-by: Soren Sandmann <ssp@redhat.com>
2128 Reviewed-by: Adam Jackson <ajax@redhat.com>
2129
2130commit 55246b67b755d4c1039d54971fe3f77ea60d604e
2131Author: Søren Sandmann Pedersen <ssp@redhat.com>
2132Date: Tue Oct 8 17:45:40 2013 -0400
2133
2134 xf86AddBusDeviceToConfigure(): Store device in DevToConfig[i].pVideo
2135
2136 After fc3ab84d the pVideo field in DevToConfig[i] is no longer
2137 initialized, so it's always NULL. This causes the duplicate finding
2138 algorithm in the beginning of the function to not work anymore as it
2139 is based on this field.
2140
2141 The symptom of this bug is that X -configure reports
2142
2143 Number of created screens does not match number of detected devices.
2144 Configuration failed.
2145 Server terminated with error (2). Closing log file.
2146
2147 rather than producing a working config file.
2148
2149 This patch fixes that bug by initializing the field before calling
2150 xf86PciConfigureNewDev().
2151
2152 Cc: tvignatti@gmail.com
2153 Signed-off-by: Soren Sandmann <ssp@redhat.com>
2154 Reviewed-by: Adam Jackson <ajax@redhat.com>
2155
2156commit 95bf478b78e466002c382bcde7d4d62591e9215d
2157Merge: abf5d5a bb745f2
2158Author: Keith Packard <keithp@keithp.com>
2159Date: Thu Oct 31 18:18:19 2013 -0700
2160
2161 Merge remote-tracking branch 'jeremyhu/master'
2162
2163commit abf5d5ac12437ebe156b4dd500c2acd69eea3654
2164Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2165Date: Thu Oct 31 08:57:56 2013 -0700
2166
2167 miext/damage: Partial revert of "Only wrap into the GC ops chain if there's a listener (v3)"
2168
2169 Fixes regression from: 4dc2a76740d921c824a4d8193f39dd373475f02a
2170
2171 http://lists.x.org/archives/xorg-devel/2013-May/036241.html
2172 https://trac.macports.org/ticket/38993
2173
2174 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2175 Reviewed-by: Adam Jackson <ajax@redhat.com>
2176 Signed-off-by: Keith Packard <keithp@keithp.com>
2177
2178commit e4636072949a76477fe7c9d54662a0b3536b1372
2179Merge: 17ed7ac 5c5c1b7
2180Author: Keith Packard <keithp@keithp.com>
2181Date: Thu Oct 31 17:05:48 2013 -0700
2182
2183 Merge remote-tracking branch 'keithp/dri3'
2184
2185commit 17ed7ac1fe7426d66f688087c09da5ff1dbb41d3
2186Author: Adam Jackson <ajax@redhat.com>
2187Date: Thu Oct 31 18:39:22 2013 -0400
2188
2189 glx: Lie about GLX_Y_INVERTED_EXT
2190
2191 Well, that was lame. The problem with reporting y inversion honestly is
2192 that libGL asks the driver _its_ opinion of Y inversion, which it just
2193 fabricates from whole cloth. So then when libGL goes to compare the
2194 driver's idea of fbconfigs with that of the server - a fairly dumb idea
2195 to begin with - nothing matches, and direct rendering fails, and
2196 sadness.
2197
2198 So until the DRI drivers are fixed we should just continue to lie about
2199 Y inversion. GLX_DONT_CARE is what libGL would make up for that
2200 attribute if we hadn't sent it, so just send that instead.
2201
2202 Signed-off-by: Adam Jackson <ajax@redhat.com>
2203 Tested-by: Keith Packard <keithp@keithp.com>
2204 Signed-off-by: Keith Packard <keithp@keithp.com>
2205
2206commit 5c5c1b77982a9af7279a90bc3c2be48adaa9c778
2207Author: Keith Packard <keithp@keithp.com>
2208Date: Thu Jul 11 16:11:57 2013 -0700
2209
2210 present: Add Present extension
2211
2212 Provides both a software implementation using timers and driver hooks
2213 to base everything on vblank intervals.
2214
2215 Signed-off-by: Keith Packard <keithp@keithp.com>
2216 Reviewed-by: Adam Jackson <ajax@redhat.com>
2217
2218commit 563138298868f62501875d3016f03469dcffaad0
2219Author: Keith Packard <keithp@keithp.com>
2220Date: Tue Apr 9 19:59:39 2013 -0700
2221
2222 dri3: Add DRI3 extension
2223
2224 Adds DRM compatible fences using futexes.
2225 Uses FD passing to get pixmaps from DRM applications.
2226
2227 Signed-off-by: Keith Packard <keithp@keithp.com>
2228 Reviewed-by: Adam Jackson <ajax@redhat.com>
2229
2230commit fdec793cdc2ef9a6ea66b311cb1068a7bd4a3be3
2231Author: Keith Packard <keithp@keithp.com>
2232Date: Thu Jan 17 13:46:55 2013 -0800
2233
2234 Add support for MIT-SHM AttachFd request
2235
2236 This passes a file descriptor from the client to the server, which is
2237 then mmap'd
2238
2239 Signed-off-by: Keith Packard <keithp@keithp.com>
2240 Reviewed-by: Adam Jackson <ajax@redhat.com>
2241
2242commit 9fd35daa3160fd36f00ed354bfcbefefa1353cce
2243Author: Keith Packard <keithp@keithp.com>
2244Date: Thu Jan 17 13:43:02 2013 -0800
2245
2246 Add interfaces to get FDs from clients over the socket
2247
2248 This adds two interfaces:
2249
2250 void SetReqFds(ClientPtr client, int req_fds)
2251
2252 Marks the number of file descriptors expected for this
2253 request. Call this before any request processing so that
2254 any un-retrieved file descriptors will be closed
2255 automatically.
2256
2257 int ReadFdFromClient(ClientPtr client)
2258
2259 Reads the next queued file descriptor from the connection. If
2260 this request is not expecting any more file descriptors, or
2261 if there are no more file descriptors available from the
2262 connection, then this will return -1.
2263
2264 Signed-off-by: Keith Packard <keithp@keithp.com>
2265 Reviewed-by: Adam Jackson <ajax@redhat.com>
2266
2267commit 264fc3abe5f18341d0cf9ddb6766e10e4154e447
2268Author: Keith Packard <keithp@keithp.com>
2269Date: Thu Oct 31 13:01:46 2013 -0700
2270
2271 misync: Don't smash custom screen sync functions
2272
2273 There was a check to avoid smashing custom functions, but the sense
2274 was backwards causing it to always smash them, and also not set them otherwise.
2275
2276 Signed-off-by: Keith Packard <keithp@keithp.com>
2277 Reviewed-by: Adam Jackson <ajax@redhat.com>
2278
2279commit 2d96948ab5c952b68875ac63844cf7d778d4bf63
2280Author: Keith Packard <keithp@keithp.com>
2281Date: Thu Jul 11 16:10:34 2013 -0700
2282
2283 os: Add GetTimeInMicros
2284
2285 64-bit higher resolution current time value.
2286
2287 Signed-off-by: Keith Packard <keithp@keithp.com>
2288 Reviewed-by: Adam Jackson <ajax@redhat.com>
2289
2290commit 0c33f47281c36726848daf513fb0483cdea57bff
2291Author: Keith Packard <keithp@keithp.com>
2292Date: Thu Jul 11 16:09:34 2013 -0700
2293
2294 Add swapll to byte swap 64-bit datatypes
2295
2296 Signed-off-by: Keith Packard <keithp@keithp.com>
2297 Reviewed-by: Adam Jackson <ajax@redhat.com>
2298
2299commit 26f013ba45b08a02bb028a461af68288a86fadb1
2300Author: Keith Packard <keithp@keithp.com>
2301Date: Thu Jul 11 16:08:41 2013 -0700
2302
2303 Add a RegionDuplicate function
2304
2305 This allocates a new region structure and copies a source region into
2306 it in a single API rather than forcing the caller to do both steps themselves.
2307
2308 Signed-off-by: Keith Packard <keithp@keithp.com>
2309 Reviewed-by: Adam Jackson <ajax@redhat.com>
2310
2311commit d25c217964eb1fe54c3a54bca4cac7f47b4b9fdf
2312Author: Keith Packard <keithp@keithp.com>
2313Date: Mon Jan 14 14:24:36 2013 -0800
2314
2315 Clean up a couple of warnings in os/
2316
2317 Signed-off-by: Keith Packard <keithp@keithp.com>
2318 Reviewed-by: Adam Jackson <ajax@redhat.com>
2319
2320commit 7710f2b927ec8e3c631f72d66d494b523377b48e
2321Author: Keith Packard <keithp@keithp.com>
2322Date: Fri Jan 18 21:43:40 2013 -0800
2323
2324 Xext: Move MIT-SHM 'ShmDesc' to shmint.h
2325
2326 This data structure is required to use shared memory objects in any
2327 extension. That includes the Xv extension, which (before this patch)
2328 duplicated the definition of this structure in its own code.
2329
2330 Signed-off-by: Keith Packard <keithp@keithp.com>
2331 Reviewed-by: Adam Jackson <ajax@redhat.com>
2332
2333commit e8961b718d82f1c081ec110d8d962f64e8406b82
2334Author: Peter Hutterer <peter.hutterer@who-t.net>
2335Date: Tue Oct 22 14:24:52 2013 +1000
2336
2337 os: use a constant for backtrace array size
2338
2339 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2340 Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
2341
2342commit f12a9ed870017f35cf6d2a82b1405e843aae42ac
2343Author: Peter Hutterer <peter.hutterer@who-t.net>
2344Date: Tue Oct 29 15:24:11 2013 +1000
2345
2346 configure: remove a comment
2347
2348 94ed0ba1b5043ad9fc33b42756af447d5ab15bbd moved backtracing into the DIX, so
2349 this comment is outdated. since no-one noticed and it's easier to just grep
2350 than update file references, remove the comment.
2351
2352 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2353 Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
2354
2355commit bb745f2b45768d0936f3960951e1a5cee8b03194
2356Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2357Date: Thu Oct 31 08:50:57 2013 -0700
2358
2359 XQuartz: Bump bundle version to 2.7.6
2360
2361 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2362
2363commit 2eedf42c229e2251035d716a96b654222155cd51
2364Author: Adam Jackson <ajax@redhat.com>
2365Date: Thu Oct 31 09:23:52 2013 -0400
2366
2367 dri: Fix GLX_Y_INVERTED_EXT fbconfig attribute
2368
2369 We're Y-inverted from GL's coordinates, so this is correct. gnome-shell
2370 doesn't seem to check this - somewhat reasonable since the only server
2371 that answered the other way around was Xglx - but kwin does, and
2372 upside-down hilarity ensues.
2373
2374 Tested-by: maelcum on #xorg-devel
2375 Signed-off-by: Adam Jackson <ajax@redhat.com>
2376 Signed-off-by: Keith Packard <keithp@keithp.com>
2377
2378commit 902ff0b3497d202b86bf9a411e17db7b694d6eaa
2379Author: Adam Jackson <ajax@redhat.com>
2380Date: Tue Oct 29 12:58:14 2013 -0400
2381
2382 xfree86: Bump video/input/extension ABIs for 1.15
2383
2384 Signed-off-by: Adam Jackson <ajax@redhat.com>
2385 Reviewed-by: Julien Cristau <jcristau@debian.org>
2386 Signed-off-by: Keith Packard <keithp@keithp.com>
2387
2388commit 899451ae595f5f51a500295c624bf7ad14aca602
2389Author: Keith Packard <keithp@keithp.com>
2390Date: Wed Oct 30 08:54:24 2013 -0700
2391
2392 kdrive/ephyr: Don't discard one-time driver structure at server reset
2393
2394 KdScreenInfo is constructed at server startup time, and not
2395 re-generated at server reset time. Freeing the 'driver' element at
2396 reset time means this information is lost, and the server crashes
2397 pretty quickly afterwards.
2398
2399 Signed-off-by: Keith Packard <keithp@keithp.com>
2400 Reviewed-by: Adam Jackson <ajax@redhat.com>
2401
2402commit 85ae44f07fa21b4a48d95d736dc8135bd4f751d0
2403Author: Michal Srb <msrb@suse.com>
2404Date: Wed Oct 30 13:33:51 2013 +0200
2405
2406 randr: deliver Output and Crtc events of attached output providers.
2407
2408 Consider all attached output providers when looking for changed outputs and
2409 crtcs.
2410
2411 Reviewed-by: Dave Airlie <airlied@redhat.com>
2412 Signed-off-by: Michal Srb <msrb@suse.com>
2413 Signed-off-by: Keith Packard <keithp@keithp.com>
2414
2415commit a9ca93dcf9a711b3d60fbad31cbd44e0c82b6f42
2416Author: Michal Srb <msrb@suse.com>
2417Date: Wed Oct 30 13:33:50 2013 +0200
2418
2419 randr: send RRResourceChangeNotify event
2420
2421 Send RRResourceChangeNotify event when provider, output or crtc was created or
2422 destroyed. I.e. when the list of resources returned by RRGetScreenResources and
2423 RRGetProviders changes.
2424
2425 Reviewed-by: Dave Airlie <airlied@redhat.com>
2426 Signed-off-by: Michal Srb <msrb@suse.com>
2427 Signed-off-by: Keith Packard <keithp@keithp.com>
2428
2429commit 4b39ea8a918fe6117bf34dc1cba67a4e56d0d1fb
2430Author: Michal Srb <msrb@suse.com>
2431Date: Wed Oct 30 13:33:49 2013 +0200
2432
2433 randr: send RRProviderChangeNotify event
2434
2435 Send RRProviderChangeNotify event when a provider becomes output source or
2436 offload sink.
2437
2438 Reviewed-by: Dave Airlie <airlied@redhat.com>
2439 Signed-off-by: Michal Srb <msrb@suse.com>
2440 Signed-off-by: Keith Packard <keithp@keithp.com>
2441
2442commit 1470c0a132806fb2ce817515ad4ddfe66eb7c98f
2443Merge: 04ab07c 9f4afe7
2444Author: Keith Packard <keithp@keithp.com>
2445Date: Tue Oct 29 21:00:13 2013 -0700
2446
2447 Merge remote-tracking branch 'whot/for-keith'
2448
2449commit 9f4afe7e835cf9c513387ae01eaf8b7a6ba4aac9
2450Author: Gaetan Nadon <memsize@videotron.ca>
2451Date: Mon Oct 28 18:32:36 2013 -0400
2452
2453 config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES
2454
2455 Fix Automake warning: AC_OUTPUT should be used without arguments.
2456 www.gnu.org/software/autoconf/manual/autoconf.html#Configuration-Files
2457
2458 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2459 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2460 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2461
2462commit e16dea72d6f45dd6d7788362bb7dbe76263719b1
2463Author: Peter Hutterer <peter.hutterer@who-t.net>
2464Date: Wed Oct 23 15:16:25 2013 +1000
2465
2466 dmx: queue button events with a flags of 0
2467
2468 Setting POINTER_SCREEN with a unset valuator mask causes a jump to 0/0. Set
2469 the flags to 0 so we don't generate any motion on a button event.
2470
2471 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2472 Reviewed-by: Keith Packard <keithp@keithp.com>
2473
2474commit 04ab07ca19236d6c9a947e065fb69b0dd0d16639
2475Author: Connor Behan <connor.behan@gmail.com>
2476Date: Thu Oct 17 18:26:28 2013 -0700
2477
2478 xfree86: Find primary entity when bus types are nominally different
2479
2480 As of server 1.13, systems with DRM and Udev will have BUS_PLATFORM as
2481 their primary bus type. However, drivers not implementing a
2482 platformProbe function will still create entities of type BUS_PCI. We
2483 need to account for this when checking for the primary entity.
2484
2485 Signed-off-by: Connor Behan <connor.behan@gmail.com>
2486 Acked-by: Tormod Volden <debian.tormod@gmail.com>
2487 Reviewed-by: Adam Jackson <ajax@redhat.com>
2488 Signed-off-by: Keith Packard <keithp@keithp.com>
2489
2490commit b32a4c91ccd479638c2bd2c0143b6ea170c717d1
2491Merge: be66809 c671e93
2492Author: Keith Packard <keithp@keithp.com>
2493Date: Tue Oct 29 09:37:30 2013 -0700
2494
2495 Merge remote-tracking branch 'idr/glx-float-fbconfig'
2496
2497commit be6680967a479eedbcab2fe1718c5f981e1029c7
2498Author: Adam Jackson <ajax@redhat.com>
2499Date: Wed Jul 10 10:00:46 2013 -0400
2500
2501 glx: convert to direct GL dispatch (v2)
2502
2503 We now expect to be linked against something that provides the GL API,
2504 instead of manually grubbing about in the DRI driver's dispatch table.
2505 Since the GLX we expose calls GL functions that are meant to be looked
2506 up dynamically, also add a way to thunk through to GetProcAddress.
2507
2508 This includes a refresh of the generated sources, which requires a
2509 correspondingly new Mesa.
2510
2511 The GetProcAddress stubs are at the moment merely enough to make this
2512 link against Mesa 9.2, but should really be provided for everything not
2513 in the OpenGL 1.2 ABI.
2514
2515 v2: Explicitly hide the GetProcAddress stubs so we can't conflict with
2516 libGL symbols; fix leading tab/space issues [anholt]
2517
2518 Reviewed-by: Keith Packard <keithp@keithp.com>
2519 Signed-off-by: Adam Jackson <ajax@redhat.com>
2520
2521commit 8aacf47e1778d8b72811b025a82452b933d3c1f2
2522Author: Adam Jackson <ajax@redhat.com>
2523Date: Fri Oct 4 12:58:19 2013 -0400
2524
2525 glx: Remove DRI1 AIGLX (v2)
2526
2527 Mesa doesn't ship DRI1 drivers as of 8.0, which is about 18 months and
2528 three releases ago. The main reason to have wanted DRI1 AIGLX was to
2529 get a GLX compositor working, but DRI1's (lack of) memory management API
2530 meant that the cost of a GLX compositor was breaking direct GLX apps,
2531 which isn't a great tradeoff.
2532
2533 Of the DRI1 drivers Mesa has dropped, I believe only mga stands to lose
2534 some functionality here, since it and only it has support for
2535 NV_texture_rectangle. Since that's required for every extant GLX
2536 compositor I know of, I conclude that anybody with a savage, say, would
2537 probably not notice AIGLX going away, since they wouldn't be running a
2538 GLX compositor in the first place.
2539
2540 In the future we'd like to use GL in the server in a more natural way,
2541 as just another EGL client, including in the GLX implementation itself.
2542 Since there's no EGL implemented for DRI1 drivers, this would already
2543 doom AIGLX on DRI1 (short of entirely forking the GLX implementation,
2544 which I'm not enthusiastic about).
2545
2546 v2: Remove DRI1 from AIGLX conditionals in configure.ac [anholt]
2547
2548 Reviewed-by: Eric Anholt <eric@anholt.net>
2549 Signed-off-by: Adam Jackson <ajax@redhat.com>
2550
2551commit 7f5adf73a0f9a951a6df201532b4031d38054369
2552Author: Adam Jackson <ajax@redhat.com>
2553Date: Wed Oct 2 17:38:05 2013 -0400
2554
2555 glx: Simplify glXDestroyContext
2556
2557 We can just free the resource unconditionally here. ContextGone (which
2558 FreeResourceByType will call) already does:
2559
2560 cx->idExists = GL_FALSE;
2561 if (!cx->currentClient) {
2562 __glXFreeContext(cx);
2563 }
2564
2565 Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2566 Signed-off-by: Adam Jackson <ajax@redhat.com>
2567
2568commit 53653f4889dcaea0cf67f8a4180af71eeb4b2f6b
2569Author: Adam Jackson <ajax@redhat.com>
2570Date: Mon Aug 5 15:46:11 2013 -0400
2571
2572 glx: Fix a corner case in DrawableGone
2573
2574 Losing the drawable does not change our notion of current client. Since
2575 the GL under us doesn't understand having a current context without
2576 current drawables (sigh), we do still need to loseCurrent so that we
2577 re-bind the context on the next request.
2578
2579 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=65030
2580 Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2581 Signed-off-by: Adam Jackson <ajax@redhat.com>
2582
2583commit 276d8057aa7f6e36c9c874257a6383f416c5cedd
2584Author: Adam Jackson <ajax@redhat.com>
2585Date: Sat Aug 3 09:47:55 2013 -0400
2586
2587 glx: Fix memory leak in context garbage collection (v2)
2588
2589 I broke this, back in:
2590
2591 commit a48dadc98a28c969741979b70b7a639f24f4cbbd
2592 Author: Adam Jackson <ajax@redhat.com>
2593 Date: Mon Mar 21 11:59:29 2011 -0400
2594
2595 glx: Reimplement context tags
2596
2597 In that, I changed the glx client state to not explicitly track the list
2598 of current contexts for the client (since that was what we were deriving
2599 tags from). The bug was that I removed the code for same from
2600 glxClientCallback without noticing that it had the side effect of
2601 effectively de-currenting those contexts, so that ContextGone could free
2602 them. So, if you had a client exit with a context still current, the
2603 context's memory would leak. Not a huge deal for direct clients, but
2604 viciously bad for indirect, since the swrast context state at the bottom
2605 of Mesa is like 15M.
2606
2607 Fix this by promoting Bool isCurrent to ClientPtr currentClient, so that
2608 we have a back-pointer to chase when walking the list of contexts when
2609 ClientStateGone happens.
2610
2611 v2: Explicitly call __glXFreeContext on the ClientStateGone path. Our
2612 current context might be one we got from EXT_import_context and whose
2613 creating client has since died. Without the explicit call, the creating
2614 client's FreeClientResources would not free the context because it's
2615 still current, and the using client's FreeClientResources would not free
2616 the context because it's not an XID it created. This matches the logic
2617 from a48dadc.
2618
2619 Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2620 Signed-off-by: Adam Jackson <ajax@redhat.com>
2621
2622commit 75b362763cca8b6139582ad85e3b58f0b2e30a1c
2623Author: Adam Jackson <ajax@redhat.com>
2624Date: Tue Oct 8 15:02:44 2013 -0400
2625
2626 glx: Only take a Pixmap reference if creating the GLXPixmap succeeded
2627
2628 Reviewed-by: Julien Cristau <jcristau@debian.org>
2629 Signed-off-by: Adam Jackson <ajax@redhat.com>
2630
2631commit 4292a39c8014f9f4920bed3001802e4a3e523c5e
2632Author: Peter Hutterer <peter.hutterer@who-t.net>
2633Date: Mon Oct 28 12:10:10 2013 +1000
2634
2635 Xi: fix logic error when calculating emulated motion events
2636
2637 gcc -Wlogical-op
2638 exevents.c: In function 'DeliverEmulatedMotionEvent':
2639 exevents.c:1480:13: warning: logical 'or' of collectively exhaustive
2640 tests is always true [-Wlogical-op]
2641
2642 The relevant snippet of exevents.c:
2643
2644 1479 if (ti->listeners[0].type != LISTENER_POINTER_REGULAR ||
2645 1480 ti->listeners[0].type != LISTENER_POINTER_GRAB)
2646 1481 return;
2647
2648 This condition was always true, causing dropped motion events.
2649
2650 Reported-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2651 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2652 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2653
2654commit c671e935e7c44d4711ba9588ee96cb9796b879e6
2655Author: Daniel Czarnowski <daniel.czarnowski@intel.com>
2656Date: Mon Oct 21 19:48:38 2013 +0200
2657
2658 glx: Enable GLX_ARB_fbconfig_float for DRI2 drivers
2659
2660 v2 (idr): Maintain sort order of extension list. Fixed rebase error
2661 (comment header for initializeExtensions was in front of
2662 __glXDRIinvalidateBuffers). Re-write commit message.
2663
2664 Signed-off-by: Daniel Czarnowski <daniel.czarnowski@intel.com>
2665 Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2666 Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2667
2668commit ccc8bb1153ec669f7540a174a81a8ec0e0d6dd67
2669Author: Daniel Czarnowski <daniel.czarnowski@intel.com>
2670Date: Wed Oct 23 12:53:59 2013 +0200
2671
2672 glx: Handle float config types in glxConvertConfigs
2673
2674 Replaces old use of floatMode attribute with new, extended range of
2675 values in __DRI_ATTRIB_RENDER_TYPE. Also adds new conditions, where the
2676 float modes support requires it. Enables support for not only float
2677 configs, but packed float configs as well.
2678
2679 v2 (idr): Whitespace and formatting fixes. Refactor render type
2680 vs. pbuffer checking to a separate function that includes a quote from
2681 the spec. Re-write commit message. Fix compiler warnings:
2682
2683 glxdricommon.c: In function 'glxConvertConfigs':
2684 glxdricommon.c:212:35: warning: pointer targets in passing argument 3 of 'core->getConfigAttrib' differ in signedness [-Wpointer-sign]
2685 glxdricommon.c:212:35: note: expected 'unsigned int *' but argument is of type 'int *'
2686 glxdricommon.c:230:35: warning: pointer targets in passing argument 3 of 'core->getConfigAttrib' differ in signedness [-Wpointer-sign]
2687 glxdricommon.c:230:35: note: expected 'unsigned int *' but argument is of type 'int *'
2688
2689 Signed-off-by: Daniel Czarnowski <daniel.czarnowski@intel.com>
2690 Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2691 Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2692
2693commit 4e5eb15b4cc170499cf87e6633c1737f0b1c514b
2694Author: Daniel Czarnowski <daniel.czarnowski@intel.com>
2695Date: Mon Oct 21 19:57:53 2013 +0200
2696
2697 glx: Correctly set render type enum
2698
2699 The type specified is bits, but the context wants an enum.
2700
2701 v2 (idr): Fix various whitespace and formatting problems. Rename
2702 convFBconfRenderTypeBits2CtxRenderType to
2703 renderTypeBitsToRenderTypeEnum. Re-write commit message.
2704
2705 Signed-off-by: Daniel Czarnowski <daniel.czarnowski@intel.com>
2706 Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2707 Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2708
2709commit eabb523aa45f3d8940cadac197ef1225fbfd5c56
2710Author: Daniel Czarnowski <daniel.czarnowski@intel.com>
2711Date: Mon Oct 21 19:45:35 2013 +0200
2712
2713 glx: Allow float renderType in glXCreateContextAttribsARB
2714
2715 This enables GLX_RGBA_FLOAT_TYPE_ARB and
2716 GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT as valid renderType parameters to
2717 glXCreateContextAttribsARB.
2718
2719 v2 (idr) : Use C-style comments and fix word wrapping. Re-write commit
2720 message.
2721
2722 Signed-off-by: Daniel Czarnowski <daniel.czarnowski@intel.com>
2723 Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2724 Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2725
2726commit 7ecfab47eb221dbb996ea6c033348b8eceaeb893
2727Author: Eric Anholt <eric@anholt.net>
2728Date: Tue Oct 22 14:22:04 2013 -0700
2729
2730 glx: Add support for the new DRI loader entrypoint.
2731
2732 This is going to be exposed (and not the old entrypoint) for some DRI
2733 drivers once the megadrivers series lands, and the plan is to
2734 eventually transition all drivers to that. Hopefully this is
2735 unobtrusive enough to merge to stable X servers so that they can be
2736 compatible with new Mesa versions.
2737
2738 v2: typo fix in the comment
2739
2740 Signed-off-by: Eric Anholt <eric@anholt.net>
2741 Reviewed-by: Adam Jackson <ajax@redhat.com>
2742 Signed-off-by: Keith Packard <keithp@keithp.com>
2743
2744commit 83bb366e71ef41165998eed2934208f84714a37e
2745Author: Strake <strake888@gmail.com>
2746Date: Thu Oct 17 23:20:20 2013 -0500
2747
2748 unbreak KdEnableInput
2749
2750 pi = ki = 0 here, so not follow them.
2751
2752 Signed-off-by: Strake <strake888@gmail.com>
2753 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2754 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2755
2756commit 8db4121a3c7104548fd4a138ac1d1bdea5fd22d9
2757Author: Keith Packard <keithp@keithp.com>
2758Date: Fri Oct 18 17:31:01 2013 -0700
2759
2760 Update to version 1.14.99.3
2761
2762 Signed-off-by: Keith Packard <keithp@keithp.com>
2763
2764commit e3220d7bae4548bf64e5879c981ad070ac1f78f7
2765Merge: 73b2660 2523a44
2766Author: Keith Packard <keithp@keithp.com>
2767Date: Fri Oct 18 17:22:52 2013 -0700
2768
2769 Merge commit '2523a445a09a75a8baf642608d099a5e12d5437f'
2770
2771 This is merging the commits along Peter's for-keith branch, without
2772 also merging in the spurious merge at the top of that branch.
2773
2774commit f8662a133690773692dfa392ecfa3b8b56af8fa9
2775Merge: 7cf1b59 2523a44
2776Author: Peter Hutterer <peter.hutterer@who-t.net>
2777Date: Fri Oct 18 16:50:12 2013 +1000
2778
2779 Merge branch 'xsync-transition-bug-59644' into for-keith
2780
2781commit 2523a445a09a75a8baf642608d099a5e12d5437f
2782Author: Peter Hutterer <peter.hutterer@who-t.net>
2783Date: Thu Oct 17 12:02:27 2013 +1000
2784
2785 sync: split updating and triggering a counter up
2786
2787 Now that the brackets are always the nearest change points (regardless of
2788 transition) we need to update the counters whenever we check for any updates.
2789
2790 Otherwise we end up with a situation where counter->value is out of date and
2791 an alarm doesn't trigger because we're still using the value from last time
2792 something actually triggered.
2793
2794 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2795 Reviewed-by: Adam Jackson <ajax@redhat.com>
2796 Reviewed-by: Keith Packard <keithp@keithp.com>
2797
2798commit e57ec99b03b2ad840c384a97ab2766ce9da0f5cc
2799Author: Peter Hutterer <peter.hutterer@who-t.net>
2800Date: Wed Oct 16 16:31:15 2013 +1000
2801
2802 sync: always set the brackets (#59644)
2803
2804 The current code sets bracket_greater to the first trigger after the current
2805 value, and bracket_less to the last trigger before the current value.
2806
2807 For example, the idle timer with three negative and three positive transitions
2808 would set this:
2809
2810 nt1 nt2 nt3
2811 |--------|------|--|------- idle --|---|--|-----> t
2812 pt1 pt2 pt3
2813 bracket_less == nt2
2814 bracket_greater == pt2
2815
2816 This is an optimization so we can skip code paths in the block/wakeup handlers
2817 if the current value doesn't meet any of the trigger requirements. Those
2818 handlers largely do a
2819 if (bracket_less is less than current value &&
2820 bracket_greater is greater than current value)
2821 return, nothing to do
2822
2823 However, unless the bracket values are updated at the correct time, the
2824 following may happen:
2825
2826 nt
2827 |--------------|---------- idle ------|--------> t
2828 pt
2829
2830 In this case, neither bracket is set, we're past the pos transition and not
2831 yet at the neg transition. idle may now go past nt, but the brackets are not
2832 updated. If idle is then reset to 0, no alarm is triggered for nt. Likewise,
2833 idle may now go past pt and no alarm is triggered.
2834
2835 Changing an alarm or triggering an alarm will re-calculate the brackets, so
2836 this bug is somewhat random. If any other client triggers an alarm when the
2837 brackets are wrongly NULL, the recalculation will set them this bug may not
2838 appear.
2839
2840 This patch changes the behavior, so that the brackets are always the nearest
2841 positive or negative transitions to the current counter value. In the example
2842 above, nt will trigger a wakeup and a re-calculation of the brackets, so that
2843 going past it in the negative direction will then cause the proper alarm
2844 triggers.
2845
2846 Or, in Keith's words:
2847
2848 Timer currently past a positive trigger
2849 No bracket values, because no trigger in range
2850
2851 Timer moves backwards before the positive trigger
2852 Brackets not reset, even though there is now a trigger in range
2853
2854 Timer moves forward past the positive trigger
2855 Trigger doesn't fire because brackets not set
2856
2857 Setting the LT bracket in this case will cause everything to get
2858 re-evaluated when the sync value moves backwards before the trigger
2859 value.
2860
2861 X.Org Bug 59644 <http://bugs.freedesktop.org/show_bug.cgi?id=59644>
2862
2863 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2864 Reviewed-by: Adam Jackson <ajax@redhat.com>
2865 Reviewed-by: Keith Packard <keithp@keithp.com>
2866
2867commit 06b87aa528d7a739ba20101a1f83b1a428691a01
2868Author: Peter Hutterer <peter.hutterer@who-t.net>
2869Date: Wed Oct 16 10:08:46 2013 +1000
2870
2871 sync: if the idle time was reset, force alarms to trigger (#70476)
2872
2873 The time between the idle reset and the IdleTimeWakeupHandler to be called is
2874 indeterminate. Clients with an PositiveTransition or NegativeTransition alarm
2875 on a low threshold may miss an alarm.
2876
2877 Work around this by keeping a reset flag for each device. When the
2878 WakeupHandler triggers and the reset flag is set, we force a re-calculation of
2879 everything and pretend the current idle time is zero. Immediately after is the
2880 next calculation with the real idle time.
2881
2882 Relatively reproducible test case: Set up a XSyncNegativeTransition alarm for
2883 a threshold of 1 ms. May trigger, may not.
2884
2885 X.Org Bug 70476 <http://bugs.freedesktop.org/show_bug.cgi?id=70476>
2886
2887 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2888 Reviewed-by: Adam Jackson <ajax@redhat.com>
2889 Reviewed-by: Keith Packard <keithp@keithp.com>
2890
2891commit efc1035ca958f2c9d266338a308518a0834b1773
2892Author: Peter Hutterer <peter.hutterer@who-t.net>
2893Date: Wed Oct 16 09:36:01 2013 +1000
2894
2895 dix: provide accessor methods for the last device event time
2896
2897 And now that we have the accessors, localize it. No functional changes, just
2898 preparing for a future change.
2899
2900 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2901 Reviewed-by: Adam Jackson <ajax@redhat.com>
2902 Reviewed-by: Keith Packard <keithp@keithp.com>
2903
2904commit b7c9bd9cf276e92a73be57ff2ed32b47a80f13fb
2905Author: Peter Hutterer <peter.hutterer@who-t.net>
2906Date: Wed Oct 16 09:21:47 2013 +1000
2907
2908 sync: supply the counter from IdleTimeBlockHandler
2909
2910 The main idletime counter has an initialized deviceid, might as well be
2911 supplying it properly. Without this, we'd only ever check the XIAllDevices
2912 counter, so the wait would never be adjusted for the device-specific triggers.
2913
2914 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2915 Reviewed-by: Adam Jackson <ajax@redhat.com>
2916 Reviewed-by: Keith Packard <keithp@keithp.com>
2917
2918commit 2efe49c1029f959fe80879bcf50df42e8b80451d
2919Author: Peter Hutterer <peter.hutterer@who-t.net>
2920Date: Wed Oct 16 13:01:01 2013 +1000
2921
2922 sync: always call BracketValues when recalculating upper/lower brackets
2923
2924 Both ServertimeBracketValues and IdleTimeBracketValues copy the value into
2925 there SysCounter privates. Call it for a NULL set as well, so we don't end up
2926 with stale pointers and we can remove the block/wakeup handlers.
2927
2928 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2929 Reviewed-by: Adam Jackson <ajax@redhat.com>
2930 Reviewed-by: Keith Packard <keithp@keithp.com>
2931
2932commit 5c7cfd4c6978834551848e1be62af240102e39b5
2933Author: Peter Hutterer <peter.hutterer@who-t.net>
2934Date: Tue Oct 15 10:11:20 2013 +1000
2935
2936 sync: compress two if statements
2937
2938 No functional changes, just merges a > and == condition into a >= condition.
2939
2940 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2941 Reviewed-by: Adam Jackson <ajax@redhat.com>
2942 Reviewed-by: Keith Packard <keithp@keithp.com>
2943
2944commit 73b2660d7273d175d279d22f8ca0c3932a14ff1c
2945Author: Alan Coopersmith <alan.coopersmith@oracle.com>
2946Date: Mon Sep 16 21:47:16 2013 -0700
2947
2948 Avoid use-after-free in dix/dixfonts.c: doImageText() [CVE-2013-4396]
2949
2950 Save a pointer to the passed in closure structure before copying it
2951 and overwriting the *c pointer to point to our copy instead of the
2952 original. If we hit an error, once we free(c), reset c to point to
2953 the original structure before jumping to the cleanup code that
2954 references *c.
2955
2956 Since one of the errors being checked for is whether the server was
2957 able to malloc(c->nChars * itemSize), the client can potentially pass
2958 a number of characters chosen to cause the malloc to fail and the
2959 error path to be taken, resulting in the read from freed memory.
2960
2961 Since the memory is accessed almost immediately afterwards, and the
2962 X server is mostly single threaded, the odds of the free memory having
2963 invalid contents are low with most malloc implementations when not using
2964 memory debugging features, but some allocators will definitely overwrite
2965 the memory there, leading to a likely crash.
2966
2967 Reported-by: Pedro Ribeiro <pedrib@gmail.com>
2968 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2969 Reviewed-by: Julien Cristau <jcristau@debian.org>
2970
2971commit 8afe20d4e34adcfd29bdf43a01d55335ea2c5dba
2972Author: Alan Coopersmith <alan.coopersmith@oracle.com>
2973Date: Mon Sep 16 21:45:29 2013 -0700
2974
2975 Update GLX dependencies now that DRI & DRI2 are builtins, not modules
2976
2977 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2978
2979commit 2704bdb24a2c7bac65b90e05f1a68438b34ecf58
2980Author: Alan Coopersmith <alan.coopersmith@oracle.com>
2981Date: Tue Sep 3 22:53:28 2013 -0700
2982
2983 DMX glxproxy: Don't allocate & copy data just to free it unused
2984
2985 Two functions in the DMX glxproxy code loop over all the backend
2986 screens, starting at the highest numbered and counting down to
2987 the lowest.
2988
2989 Previously, for each screen, the code would allocate a buffer
2990 large enough to read the reply from the backend, copy that reply
2991 into the buffer, and then if it wasn't the final screen, free it.
2992 Only the buffer from the final screen is used, to pass on to the
2993 client in the reply.
2994
2995 This modifies it to just immediately discard the responses from
2996 the screens as we loop through it, only doing the allocate & copy
2997 work for the one buffer we pass back to the client.
2998
2999 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3000 Reviewed-by: Alex Deucher <aleander.deucher@amd.com>
3001
3002commit 6c06c268adbab63ebe7490489aa030724cbdc54b
3003Author: Alan Coopersmith <alan.coopersmith@oracle.com>
3004Date: Sun Aug 18 18:02:49 2013 -0700
3005
3006 Skip damage calls if DamageCreate fails in exa functions
3007
3008 Fixes parfait errors such as:
3009 Null pointer dereference (CWE 476): Write to null pointer pDamage
3010 at line 1833 of miext/damage/damage.c in function 'DamageRegister'.
3011 Function DamageCreate may return constant 'NULL' at line 1775,
3012 called at line 232 of exa/exa_migration_mixed.c
3013 in function 'exaPrepareAccessReg_mixed'.
3014 Constant 'NULL' passed into function DamageRegister,
3015 argument pDamage, from call at line 237.
3016 Null pointer introduced at line 1775 of miext/damage/damage.c
3017 in function 'DamageCreate'.
3018 Null pointer dereference (CWE 476): Write to null pointer pDamage
3019 at line 1833 of miext/damage/damage.c in function 'DamageRegister'.
3020 Function DamageCreate may return constant 'NULL' at line 1775,
3021 called at line 104 of exa/exa_mixed.c
3022 in function 'exaCreatePixmap_mixed'.
3023 Constant 'NULL' passed into function DamageRegister,
3024 argument pDamage, from call at line 109.
3025 Null pointer introduced at line 1775 of miext/damage/damage.c
3026 in function 'DamageCreate'.
3027
3028 Checks are similar to handling results of other calls to DamageCreate.
3029
3030 [ This bug was found by the Parfait 1.3.0 bug checking tool.
3031 http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ]
3032
3033 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3034
3035commit 7cf1b595c8c8f9776a39559d2878cf90af3f2859
3036Author: Peter Hutterer <peter.hutterer@who-t.net>
3037Date: Wed Sep 4 15:34:29 2013 +1000
3038
3039 dix: only deliver for the current grab type
3040
3041 Use the grabtype to determine which type of event to send - all other events
3042 are pointless and may result in erroneous events being delivered.
3043
3044 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3045
3046commit 78944d62ffc7fec6f75b6f514ab7a139ba9bc77b
3047Author: Peter Hutterer <peter.hutterer@who-t.net>
3048Date: Wed Sep 4 15:34:28 2013 +1000
3049
3050 dix: don't attempt to deliver an event for a different grabtype
3051
3052 For an active grab, grab->eventMask can be either the core or the XI1 mask.
3053 With the overlap of event filters, calling DeliverOneGrabbedEvent(XI1) for a
3054 ProximityOut event will trigger if the client has selected for enter events -
3055 the filter is the same for both.
3056
3057 Thus, we end up delivering a proximity event to a client not expecting one.
3058
3059 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3060
3061commit 6159811a1aaf848016dbfa7bde68df097027870c
3062Author: Peter Hutterer <peter.hutterer@who-t.net>
3063Date: Wed Sep 4 15:34:27 2013 +1000
3064
3065 include: change grabtypes to start at 1
3066
3067 Avoid erroneous detection of an unset grabtype as CORE
3068
3069 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3070
3071commit be6ea80b79b3d6eb97106ea142e01acbdf059995
3072Author: Peter Hutterer <peter.hutterer@who-t.net>
3073Date: Wed Sep 4 15:34:26 2013 +1000
3074
3075 dix: only allow button and key events to freeze a sync'd pointer
3076
3077 If a client calls XAllowEvents(SyncPointer) it expects events as normal until
3078 the next button press or release event - that freezes the device. An e.g.
3079 proximity event must thus not freeze the pointer.
3080
3081 As per the spec, only button and key events may do so, so narrow it to these
3082 cases.
3083
3084 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3085
3086commit 93a27b2dd0d7ed51120f42456a91a7c59902ebc2
3087Author: Michele Baldessari <michele@acksyn.org>
3088Date: Sun Sep 15 19:30:38 2013 +0100
3089
3090 Xephyr: restore cursor visibility
3091
3092 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69388
3093
3094 Commit c100211034ab69ce453a1644fb61c6808d7e3eda (dix: only show the cursor
3095 if a window defines one (#58398)) broke the default cursor behaviour in
3096 Xephyr (unless run with -retro). Restore the default cursor visibility
3097 so that '-retro' or '-host-cursor' are not needed to have a visible
3098 cursor.
3099
3100 Signed-off-by: Michele Baldessari <michele@acksyn.org>
3101 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3102
3103 as of ba387cf21f7d95987211f75d8024601e7d64e322 "ephyr: Use host (HW) cursors
3104 by default." this only applies if -sw-cursor is given on the cmdline.
3105
3106 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3107
3108commit 70efc799cbeec26f19831b3b14c0d4646198a077
3109Author: Michele Baldessari <michele@acksyn.org>
3110Date: Sun Sep 15 19:56:34 2013 +0100
3111
3112 Fix Xephyr compilation when DEBUG is enabled
3113
3114 When DEBUG is enabled Xephyr compilation fails:
3115 ephyrdriext.c:343:133: error: 'is_ok' undeclared (first use in this
3116 function)
3117 EPHYR_LOG("leave. is_ok:%d\n", is_ok);
3118
3119 Just reemove bogus is_ok variable.
3120
3121 Signed-off-by: Michele Baldessari <michele@acksyn.org>
3122 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3123 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3124
3125commit 5ac4bfca64bd75474e550b26bc1195a5ca245752
3126Author: Adam Jackson <ajax@redhat.com>
3127Date: Tue Sep 10 14:18:18 2013 -0400
3128
3129 input: calloc minimization for xi2mask_new
3130
3131 There's no reason to do this as (nmasks + 2) callocs, and it's a
3132 surprisingly hot path. Turns out you hit this ~once per passive grab,
3133 and you do a few bajillion passive grab changes every time you enter or
3134 leave the overview in gnome-shell. According to a callgrind of Xorg
3135 with gnome-shell-perf-tool run against it:
3136
3137 Ir before: 721437275
3138 Ir after: 454227086
3139
3140 Signed-off-by: Adam Jackson <ajax@redhat.com>
3141 Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
3142 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3143
3144commit 44d502c6f1d03a9e548f0941cde0228b6fde8394
3145Author: Jon TURNEY <jon.turney@dronecode.org.uk>
3146Date: Sun Oct 6 16:45:52 2013 +0100
3147
3148 hw/xwin: Fix for "glx: Remove screen number from __GLXconfig"
3149
3150 Fix compilation after commit c3c976f54c3c282d6fa6c8360688e036bc43d210 "glx:
3151 Remove screen number from __GLXconfig"
3152
3153 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
3154 Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
3155 Reviewed-by: Adam Jackson <ajax@redhat.com>
3156
3157commit 6a9bd103cb993e873cb82664b677ceed73c0bd85
3158Merge: ea3b7db 8aae28e
3159Author: Keith Packard <keithp@keithp.com>
3160Date: Mon Oct 7 17:29:38 2013 -0700
3161
3162 Merge remote-tracking branch 'jeremyhu/master'
3163
3164commit ea3b7db4b747f883ef7b8b524ee13bf8a63add14
3165Author: Emil Velikov <emil.l.velikov@gmail.com>
3166Date: Mon Oct 7 18:29:25 2013 +0100
3167
3168 configure.ac: Include missing proto declarations in SDK_REQUIRED_MODULES
3169
3170 Commits a1d41e311c21e, 7d859bd87834d & 3ed2c6e11298c made extinit.h require
3171 the XF86 Big Font, XRes & ScrnSaver proto headers, but failed to add them
3172 to the SDK_REQUIRED_MODULES so pkg-config would find them for driver builds.
3173
3174 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
3175 Reviewed-by: Daniel Stone <daniel@fooishbar.org>
3176 Signed-off-by: Keith Packard <keithp@keithp.com>
3177
3178commit 8aae28e3cbdd49bfa8d940a4a517c94a53b94f86
3179Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
3180Date: Sun Oct 6 09:20:45 2013 -0700
3181
3182 XQuartz: Dont't set screen on __GLXConfig
3183
3184 Fixes regression introduced by c3c976f54c3c282d6fa6c8360688e036bc43d210
3185
3186 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
3187
3188commit c5f8eb968efa970201712105a1ac880b517e7b6d
3189Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
3190Date: Sun Oct 6 09:18:15 2013 -0700
3191
3192 rootless: Use miCopyRegion instead of fbCopyRegion
3193
3194 Fixes regression introduced by e657635dbe6b92875b0e88370557c2cbab673a49
3195
3196 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
3197
3198commit ccbe17b1c6da1ad9d085fc8133cdd15dc7004a4a
3199Author: Pino Toscano <toscano.pino@tiscali.it>
3200Date: Wed Aug 28 17:15:03 2013 +0200
3201
3202 os: move <arpa/inet.h> for any !win32 system
3203
3204 It is needed in IPv6 configurations (for inet_pton) also when
3205 SIOCGIFCONF is not defined.
3206
3207 Signed-off-by: Pino Toscano <toscano.pino@tiscali.it>
3208 Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
3209 Signed-off-by: Julien Cristau <jcristau@debian.org>
3210
3211commit c079b8e675dd2762c9e07fe5d8c07612299dceb7
3212Author: Pino Toscano <toscano.pino@tiscali.it>
3213Date: Wed Aug 28 17:04:48 2013 +0200
3214
3215 xfree86/hurd: include <hurd.h>
3216
3217 Needed for using get_privileged_port.
3218
3219 Signed-off-by: Pino Toscano <toscano.pino@tiscali.it>
3220 Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
3221 Signed-off-by: Julien Cristau <jcristau@debian.org>
3222
3223commit f0659a7f68a5a334879af01a6a63742eab1bf5de
3224Author: Keith Packard <keithp@keithp.com>
3225Date: Fri Oct 4 16:44:46 2013 -0700
3226
3227 Bump version to 1.14.99.2
3228
3229 Signed-off-by: Keith Packard <keithp@keithp.com>
3230
3231commit f2d149b6d10edea7233d93c7e19f71decf11dc62
3232Author: Keith Packard <keithp@keithp.com>
3233Date: Fri Oct 4 16:43:41 2013 -0700
3234
3235 kdrive/ephyr: Remove duplicate ephyrExtensions and ephyrExtensionInit decls
3236
3237 These were duplicated when GLX support was re-added on two different branches.
3238
3239 Signed-off-by: Keith Packard <keithp@keithp.com>
3240
3241commit e0a678f0596f3547b98d74d5f0438b484b059458
3242Author: Gaetan Nadon <memsize@videotron.ca>
3243Date: Sat Sep 28 15:26:38 2013 -0400
3244
3245 xfree86: add a comment as to why the logdir is created
3246
3247 Without the logdir, the xserver will write the content of the log file on the
3248 terminal stating that it cannot be written and will stop.
3249
3250 Refer to https://bugs.freedesktop.org/show_bug.cgi?id=3889
3251
3252 Reviewed-By: Matt Dew <marcoz@osource.org>
3253 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
3254 Signed-off-by: Keith Packard <keithp@keithp.com>
3255
3256commit 5bdbf2dba3f7da4a593b286020eab0c7857e940c
3257Author: Gaetan Nadon <memsize@videotron.ca>
3258Date: Sat Sep 28 15:26:37 2013 -0400
3259
3260 xfree86: Use $(MKDIR_P) for better code portability
3261
3262 Still true that we should not use the lower case $(mkdir_p) version.
3263 However, remove the 2005 comment as the MKDIR_P is widely used now.
3264
3265 Reviewed-By: Matt Dew <marcoz@osource.org>
3266 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
3267 Signed-off-by: Keith Packard <keithp@keithp.com>
3268
3269commit b8cfb0dc8426754b477b561bc158b8a24c143ddf
3270Author: Gaetan Nadon <memsize@videotron.ca>
3271Date: Sat Sep 28 15:26:36 2013 -0400
3272
3273 Uninstall X link and CYGWIN libXorg.exe.a in local install targets
3274
3275 It is our duty to uninstall any files and/or directories that we installed
3276 through install-data-local and install-exec-hook.
3277
3278 Currently the X symbolic link to Xorg remains on disk after running
3279 make uninstall.
3280
3281 Note the exception for logdir which is usually shared by other modules.
3282
3283 Reviewed-By: Matt Dew <marcoz@osource.org>
3284 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
3285 Signed-off-by: Keith Packard <keithp@keithp.com>
3286
3287commit 35a528e49269c3df75486cc606e51a8c1c083c06
3288Author: Gaetan Nadon <memsize@videotron.ca>
3289Date: Sat Sep 28 15:26:35 2013 -0400
3290
3291 Xorg binary: use install-exec-hook rather than install-exec-local
3292
3293 The former was explicitly designed to execute additional code after the binary
3294 has been installed. The latter can be executed in any order, hence it's
3295 current dependency on install-binPROGRAMS as a workaround.
3296
3297 The CYGWIN libXorg.exe.a target is an installation target rather than
3298 a post-installation one, so it should not be done as a hook. It does not depend
3299 on the Xorg executable being installed.
3300
3301 Automake:
3302 "These hooks are run after all other install rules of the appropriate type,
3303 exec or data, have completed. So, for instance, it is possible to perform
3304 post-installation modifications using an install hook".
3305
3306 "With the -local targets, there is no particular guarantee of execution order;
3307 typically, they are run early, but with parallel make, there is no way
3308 to be sure of that".
3309
3310 Reviewed-by: Eric Anholt <eric@anholt.net>
3311 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
3312 Signed-off-by: Keith Packard <keithp@keithp.com>
3313
3314commit a1d87576a30008253eb0cc92b44c9718f6665062
3315Author: Gaetan Nadon <memsize@videotron.ca>
3316Date: Sat Sep 28 15:26:34 2013 -0400
3317
3318 Use $(LN_S) provided by AC_PROG_LN_S macro to create links
3319
3320 For better code portability.
3321
3322 Reviewed-By: Matt Dew <marcoz@osource.org>
3323 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
3324 Signed-off-by: Keith Packard <keithp@keithp.com>
3325
3326commit 28c8e1910797970dbf1d40794f1804a8fcc812bc
3327Author: Gaetan Nadon <memsize@videotron.ca>
3328Date: Sat Sep 28 15:26:33 2013 -0400
3329
3330 The Xorg binary is missing the extension $(EXEEXT) in the makefile
3331
3332 This is not a problem on UNIX platforms, but on CYGWIN it creates a broken
3333 link to Xorg rather than a link to Xorg.exe.
3334
3335 From the CYGWIN log on tinderbox, we can see that the executable Xorg.exe is
3336 installed correctly. We can see the command used to create the link:
3337
3338 (cd /jhbuild/install/[...]/install/bin && rm -f X && ln -s Xorg X)
3339
3340 Note that the "relink" makefile target correctly appends $(EXEEXT) to Xorg.
3341
3342 Reviewed-By: Matt Dew <marcoz@osource.org>
3343 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
3344 Signed-off-by: Keith Packard <keithp@keithp.com>
3345
3346commit f3b529bf25db2700addbafc7aa4fc5b126ba9929
3347Merge: 4399bd3 abc2bfc
3348Author: Keith Packard <keithp@keithp.com>
3349Date: Fri Oct 4 14:04:48 2013 -0700
3350
3351 Merge remote-tracking branch 'anholt/ephyr-fixes'
3352
3353commit 4399bd38326b81f7b92365346504d7c6354772a9
3354Author: Gaetan Nadon <memsize@videotron.ca>
3355Date: Mon Sep 30 13:30:46 2013 -0400
3356
3357 miext/shadow: missing c2p_core.h breaks "make distcheck" target.
3358
3359 Reviewed-by: Julien Cristau <jcristau@debian.org>
3360 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
3361 Signed-off-by: Keith Packard <keithp@keithp.com>
3362
3363commit 9ccb4a63982942fdce19609d2cadbd8e51708462
3364Merge: 5d2ec69 da5e201
3365Author: Keith Packard <keithp@keithp.com>
3366Date: Fri Oct 4 13:54:55 2013 -0700
3367
3368 Merge remote-tracking branch 'whot/for-keith'
3369
3370commit 5d2ec6933f6bb5116666ca1bfb07f0f20bf2a0b5
3371Merge: 7d3d4ae 6ee4d9f
3372Author: Keith Packard <keithp@keithp.com>
3373Date: Fri Oct 4 13:50:04 2013 -0700
3374
3375 Merge remote-tracking branch 'ajax/xserver-next'
3376
3377commit da5e20127a5b6e11a47eb6e61f3ea87b056cdf5f
3378Author: Gaetan Nadon <memsize@videotron.ca>
3379Date: Thu Sep 19 19:13:35 2013 -0400
3380
3381 test: add new os executable to .gitignore
3382
3383 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
3384 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3385 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3386
3387commit c73c36b537f996574628e69681833ea37dec2b6e
3388Author: Laércio de Sousa <lbsousajr@gmail.com>
3389Date: Wed Sep 18 13:42:17 2013 -0300
3390
3391 xserver: enable InputClass option "GrabDevice" by default for non-seat0 seats (#69478)
3392
3393 This patch contributes to fill the remaining gaps which make
3394 systemd-multi-seat-x wrapper still necessary in some multiseat setups.
3395
3396 This also replaces previous evdev patch that does the same thing
3397 for that particular driver.
3398
3399 When option "-seat" is passed with an argument different from "seat0",
3400 option "GrabDevice" for input devices is enabled by default
3401 (no need of enabling it in xorg.conf's "InputClass" section).
3402
3403 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69478
3404
3405 Signed-off-by: Laércio de Sousa <lbsousajr@gmail.com>
3406 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3407 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3408
3409commit 160c2db32d0b9ee5316a44179a6af4f4722e3d0a
3410Author: Peter Hutterer <peter.hutterer@who-t.net>
3411Date: Wed Sep 18 16:04:44 2013 +1000
3412
3413 dmx: provide enough space for axis mappings
3414
3415 relmap/absmap is used as a evdev-axis-to-x-axis mapping. ABS_X maps to
3416 axis 0, ABS_Y to 1, etc. skipping over non-existing axes so that the third bit
3417 set in the ABS_* range is axis 2, and so on. This requires us to actually have
3418 enough space to have all the ABS_*/REL_* range.
3419
3420 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3421 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3422
3423commit 7d3d4ae55dd6ee338439e2424ac423b1df80501b
3424Author: Keith Packard <keithp@keithp.com>
3425Date: Fri Sep 20 14:43:41 2013 -0500
3426
3427 damage: Must translate initial window damage by window offset
3428
3429 Damage is reported relative to the drawable origin, but the window
3430 borderClip is absolute. Translate the region by the window position
3431 before reporting damage to adjust.
3432
3433 Reported-by: Adam Jackson <ajax@redhat.com>
3434 Signed-off-by: Keith Packard <keithp@keithp.com>
3435 Reviewed-by: Adam Jackson <ajax@redhat.com>
3436
3437commit 8010d3a48bd0b224dcb0883e39c2351ad364d846
3438Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
3439Date: Sun Sep 15 08:10:33 2013 -0700
3440
3441 XQuartz: pbproxy: Fix build with -DDEBUG
3442
3443 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
3444
3445commit 39c548da0cf0522ad246630605b96751ab6d39c0
3446Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
3447Date: Sun Sep 15 08:07:44 2013 -0700
3448
3449 XQuartz: Fix build with moved pseudoramiX
3450
3451 Regression from: e716baedc4d8e52a60f43ef21aba771b340d8c8b
3452
3453 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
3454 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
3455
3456commit 6ee4d9f94ae2cc27c39381d7554134d9b4807a65
3457Author: Adam Jackson <ajax@redhat.com>
3458Date: Tue Jul 9 11:19:11 2013 -0400
3459
3460 glx: Fill in some missing attributes from DoGetFBConfigs
3461
3462 Reviewed-by: Eric Anholt <eric@anholt.net>
3463 Signed-off-by: Adam Jackson <ajax@redhat.com>
3464
3465commit b257fabff00ae925bb7e70364dd1d738634087c9
3466Author: Adam Jackson <ajax@redhat.com>
3467Date: Thu Jul 4 10:31:40 2013 -0400
3468
3469 glx: Remove a dead comment
3470
3471 Reviewed-by: Eric Anholt <eric@anholt.net>
3472 Signed-off-by: Adam Jackson <ajax@redhat.com>
3473
3474commit abd086502123086ce3d1fba25c159bb022d2750f
3475Author: Adam Jackson <ajax@redhat.com>
3476Date: Mon Jul 8 17:01:13 2013 -0400
3477
3478 glx: Catch another failure case in drawable creation
3479
3480 Reviewed-by: Eric Anholt <eric@anholt.net>
3481 Signed-off-by: Adam Jackson <ajax@redhat.com>
3482
3483commit c3c976f54c3c282d6fa6c8360688e036bc43d210
3484Author: Adam Jackson <ajax@redhat.com>
3485Date: Mon Jul 8 12:28:56 2013 -0400
3486
3487 glx: Remove screen number from __GLXconfig
3488
3489 Not used. There's no real reason to match against this instead of
3490 matching against fbconfig or visual ID anyway.
3491
3492 Reviewed-by: Eric Anholt <eric@anholt.net>
3493 Signed-off-by: Adam Jackson <ajax@redhat.com>
3494
3495commit 1d1484e9bd55d1fa8316b1574754f28d5d31a076
3496Author: Adam Jackson <ajax@redhat.com>
3497Date: Mon Jul 8 12:09:13 2013 -0400
3498
3499 glx: Remove pixmapMode from __GLXconfig
3500
3501 This has never been filled in with anything meaningful afaict, and you
3502 can't get to it from the client in any event.
3503
3504 Reviewed-by: Eric Anholt <eric@anholt.net>
3505 Signed-off-by: Adam Jackson <ajax@redhat.com>
3506
3507commit 34e6e60105796ad015469c10921c5ff09acf7eb0
3508Author: Adam Jackson <ajax@redhat.com>
3509Date: Tue Jul 2 12:33:36 2013 -0400
3510
3511 glx: Remove support for NV_vertex_program and NV_fragment_program
3512
3513 Mesa doesn't implement these anymore, never really did outside of swrast
3514 anyway.
3515
3516 Reviewed-by: Eric Anholt <eric@anholt.net>
3517 Signed-off-by: Adam Jackson <ajax@redhat.com>
3518
3519commit acf14c1de766c4ea206cd7ce7f25b780a589d33c
3520Author: Adam Jackson <ajax@redhat.com>
3521Date: Tue Jul 2 10:35:19 2013 -0400
3522
3523 glx: realloc style fix in RenderLarge
3524
3525 Reviewed-by: Eric Anholt <eric@anholt.net>
3526 Signed-off-by: Adam Jackson <ajax@redhat.com>
3527
3528commit 9ebf739a6864c9ec38bf72f63ef2e3b9cd1951db
3529Author: Adam Jackson <ajax@redhat.com>
3530Date: Tue Jul 2 10:30:40 2013 -0400
3531
3532 glx: Eliminate a small malloc from QueryContext
3533
3534 No reason to have that be a failure path.
3535
3536 Reviewed-by: Eric Anholt <eric@anholt.net>
3537 Signed-off-by: Adam Jackson <ajax@redhat.com>
3538
3539commit b99f7975407f111b99d772cd28224d7dc1b34fe4
3540Author: Adam Jackson <ajax@redhat.com>
3541Date: Fri Nov 9 18:05:27 2012 -0500
3542
3543 glx: Handle failure to create the pixmap backing the pbuffer
3544
3545 We happen not to sanitize the width/height we pass to CreatePixmap here,
3546 oops. It's not exploitable, but it's certainly a crash, so let's just
3547 throw BadAlloc instead.
3548
3549 Reviewed-by: Eric Anholt <eric@anholt.net>
3550 Signed-off-by: Adam Jackson <ajax@redhat.com>
3551
3552commit 22fbfdcb31f335c22053a0e29f0e73c03cd70a76
3553Author: Adam Jackson <ajax@redhat.com>
3554Date: Fri Nov 9 17:52:12 2012 -0500
3555
3556 glx: Implement GLX_PRESERVED_CONTENTS drawable attribute
3557
3558 We back pixmaps with pbuffers so they're never actually clobbered. Say
3559 so when asked.
3560
3561 Reviewed-by: Eric Anholt <eric@anholt.net>
3562 Signed-off-by: Adam Jackson <ajax@redhat.com>
3563
3564commit 2e20b8382cdf37ae5a2802f85b8f06a370f9645d
3565Author: Adam Jackson <ajax@redhat.com>
3566Date: Fri Nov 9 17:12:49 2012 -0500
3567
3568 glx: Implement GLX_FBCONFIG_ID in GetDrawableAttributes
3569
3570 Required by GLX 1.4, section 3.3.6, "Querying Attributes".
3571
3572 Reviewed-by: Eric Anholt <eric@anholt.net>
3573 Signed-off-by: Adam Jackson <ajax@redhat.com>
3574
3575commit 0d76191baeee005982754ac18ca995742e32d8c1
3576Author: Adam Jackson <ajax@redhat.com>
3577Date: Fri Nov 9 17:10:57 2012 -0500
3578
3579 glx: Implement GLX_{WIDTH,HEIGHT} in GetDrawableAttributes
3580
3581 Required by GLX 1.4, section 3.3.6, "Querying Attributes".
3582
3583 Reviewed-by: Eric Anholt <eric@anholt.net>
3584 Signed-off-by: Adam Jackson <ajax@redhat.com>
3585
3586commit d11f13e383dda1e9cabe32793d261d46edc44418
3587Author: Adam Jackson <ajax@redhat.com>
3588Date: Fri Nov 9 17:07:20 2012 -0500
3589
3590 glx: Compute number of attributes in GetDrawableAttributes on the fly
3591
3592 This doesn't have any effect yet, but is needed to properly build the
3593 reply for pbuffers.
3594
3595 Reviewed-by: Eric Anholt <eric@anholt.net>
3596 Signed-off-by: Adam Jackson <ajax@redhat.com>
3597
3598commit 468b57324f838144d79e3a9d85a0bde853578c4b
3599Author: Adam Jackson <ajax@redhat.com>
3600Date: Fri Nov 9 16:48:16 2012 -0500
3601
3602 glx: Style fixes
3603
3604 Reviewed-by: Eric Anholt <eric@anholt.net>
3605 Signed-off-by: Adam Jackson <ajax@redhat.com>
3606
3607commit 2b181ad0952851f47f23dcb1a36471685313c13e
3608Author: Adam Jackson <ajax@redhat.com>
3609Date: Fri Nov 9 16:33:54 2012 -0500
3610
3611 glx: Pull GLX vendor string out of __GLXscreen
3612
3613 Given how we're currently implementing GLX this can't meaningfully vary
3614 per-screen.
3615
3616 Reviewed-by: Eric Anholt <eric@anholt.net>
3617 Signed-off-by: Adam Jackson <ajax@redhat.com>
3618
3619commit b9c489cf13e1ad35b7d9bea9de8d85e929374d17
3620Author: Adam Jackson <ajax@redhat.com>
3621Date: Wed Oct 31 10:05:24 2012 -0400
3622
3623 glx: Remove unused bits from the context struct
3624
3625 Reviewed-by: Eric Anholt <eric@anholt.net>
3626 Signed-off-by: Adam Jackson <ajax@redhat.com>
3627
3628commit f579cc85c29f52b575c62e6ae1e16eb87c506bd3
3629Author: Adam Jackson <ajax@redhat.com>
3630Date: Thu Jul 4 10:08:40 2013 -0400
3631
3632 glxproxy: Don't track GLCLientm{aj,in}orVersion
3633
3634 Basically just a port of 62f06b0d to glxproxy.
3635
3636 Reviewed-by: Eric Anholt <eric@anholt.net>
3637 Signed-off-by: Adam Jackson <ajax@redhat.com>
3638
3639commit e549ffb5f19cf044bc3e2d368a6f081f8b84bfaa
3640Author: Adam Jackson <ajax@redhat.com>
3641Date: Tue Oct 30 18:20:43 2012 -0400
3642
3643 dmx/glx: Remove unused __glXNop
3644
3645 Reviewed-by: Eric Anholt <eric@anholt.net>
3646 Signed-off-by: Adam Jackson <ajax@redhat.com>
3647
3648commit d962b8ed272d4a8921c0dadf16cd926484e30d10
3649Author: Adam Jackson <ajax@redhat.com>
3650Date: Thu Aug 22 16:42:23 2013 -0400
3651
3652 damageext: Style fix
3653
3654 Reviewed-by: Eric Anholt <eric@anholt.net>
3655 Signed-off-by: Adam Jackson <ajax@redhat.com>
3656
3657commit c90add0f1ce0c85aea7a60635de765848d778266
3658Author: Adam Jackson <ajax@redhat.com>
3659Date: Wed Aug 21 11:57:24 2013 -0400
3660
3661 damage: Remove "post-rendering" hooks
3662
3663 This is a revert of 974db58f5b730c3770ee461665a02dd4334d1dea. There are
3664 no consumers of this API, we must not need it.
3665
3666 Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
3667 Reviewed-by: Eric Anholt <eric@anholt.net>
3668 Signed-off-by: Adam Jackson <ajax@redhat.com>
3669
3670commit 0f3f8e4295d4c05f33b93e0ffd2f6f8cd5759bf7
3671Author: Adam Jackson <ajax@redhat.com>
3672Date: Wed Aug 21 11:13:11 2013 -0400
3673
3674 damage: Don't rewrite Text ops to GlyphBlt ops
3675
3676 There's no particularly good reason to, and it breaks Xnest.
3677
3678 Bugzilla: http://bugs.freedesktop.org/2454
3679 Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
3680 Reviewed-by: Eric Anholt <eric@anholt.net>
3681 Signed-off-by: Adam Jackson <ajax@redhat.com>
3682
3683commit d08966227e7d567df8d26eebc80f35f886e59a4a
3684Author: Adam Jackson <ajax@redhat.com>
3685Date: Mon Aug 26 14:03:51 2013 -0400
3686
3687 damage: Simplify DamageUnregister
3688
3689 You can only register one drawable on a given damage, so there's no
3690 reason to require the caller to specify the drawable, the damage is
3691 enough. The implementation would do something fairly horrible if you
3692 _did_ pass mismatched drawable and damage, so let's avoid the problem
3693 entirely.
3694
3695 v2: Simplify xf86RotateDestroy even more [anholt]
3696
3697 Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
3698 Reviewed-by: Eric Anholt <eric@anholt.net>
3699 Signed-off-by: Adam Jackson <ajax@redhat.com>
3700
3701commit 28708a045de7d9043d20fb06b61c44a46eb5526b
3702Author: Adam Jackson <ajax@redhat.com>
3703Date: Mon Aug 26 13:52:14 2013 -0400
3704
3705 damage: Implicitly unregister on destroy
3706
3707 There's no reason not to, and it simplifies quite a few callers.
3708
3709 Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
3710 Reviewed-by: Eric Anholt <eric@anholt.net>
3711 Signed-off-by: Adam Jackson <ajax@redhat.com>
3712
3713commit e657635dbe6b92875b0e88370557c2cbab673a49
3714Author: Adam Jackson <ajax@redhat.com>
3715Date: Thu Oct 18 14:24:23 2012 -0400
3716
3717 fb: Remove unused compatibility wrappers
3718
3719 Originally added in early 2009, not being used elsewhere anymore.
3720
3721 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3722 Signed-off-by: Adam Jackson <ajax@redhat.com>
3723
3724commit e4b15125bb06c97f1f34f7074fcdb597e718399c
3725Author: Adam Jackson <ajax@redhat.com>
3726Date: Thu Oct 18 14:24:22 2012 -0400
3727
3728 mipointer: Remove deprecated miPointerCurrentScreen
3729
3730 The only remaining use was in some debugging code in DMX.
3731
3732 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3733 Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
3734 Signed-off-by: Adam Jackson <ajax@redhat.com>
3735
3736commit b5d66b9513a0f1e13f5c5bc9e0958f4eac9bf6c3
3737Author: Adam Jackson <ajax@redhat.com>
3738Date: Thu Oct 18 14:24:21 2012 -0400
3739
3740 xfree86: Remove deprecated unimplemented xf86MapReadSideEffects
3741
3742 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3743 Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
3744 Signed-off-by: Adam Jackson <ajax@redhat.com>
3745
3746commit abbd85742a390e18497b96902a0c0d976739e3bd
3747Author: Adam Jackson <ajax@redhat.com>
3748Date: Thu Oct 18 14:24:20 2012 -0400
3749
3750 dix: FIXES is not optional
3751
3752 It's already not optional at configure time, this just makes it so at
3753 build time too.
3754
3755 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3756 Signed-off-by: Adam Jackson <ajax@redhat.com>
3757
3758commit dff81687f5eac3eac9b49f58d4654cc30add2547
3759Author: Adam Jackson <ajax@redhat.com>
3760Date: Thu Oct 18 14:24:19 2012 -0400
3761
3762 vbe: Don't try to load the ddc submodule
3763
3764 DDC is built into the server now.
3765
3766 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3767 Signed-off-by: Adam Jackson <ajax@redhat.com>
3768
3769commit bb82191bcfa8042f8d98ec8b1c6616dc31d2c5c8
3770Author: Adam Jackson <ajax@redhat.com>
3771Date: Thu Oct 18 14:24:18 2012 -0400
3772
3773 misprite: Delete some dead private storage
3774
3775 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3776 Signed-off-by: Adam Jackson <ajax@redhat.com>
3777
3778commit 3639ab4ce25dc82a3f8592b7322198f1d2aca5f9
3779Author: Adam Jackson <ajax@redhat.com>
3780Date: Tue Oct 16 14:56:25 2012 -0400
3781
3782 dri2: Don't bother with xf86LoaderCheckSymbol("DRI2Connect")
3783
3784 The DRI2 code is now built-in to the server, even for Xorg. The only
3785 thing this could protect against is trying to run a libglx built with
3786 DRI2 support against an Xorg built without it, which is firmly in
3787 "doctor it hurts when I do this" territory.
3788
3789 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3790 Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
3791 Signed-off-by: Adam Jackson <ajax@redhat.com>
3792
3793commit 13b507409f9e01adebba50e7eb801b52e52692ba
3794Author: Adam Jackson <ajax@redhat.com>
3795Date: Tue Oct 16 14:56:23 2012 -0400
3796
3797 list: Avoid using X types
3798
3799 In particular, Bool. This is not an ABI break:
3800
3801 /usr/include/X11/Xdefs.h:typedef int Bool;
3802
3803 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3804 Signed-off-by: Adam Jackson <ajax@redhat.com>
3805
3806commit dbe10ef0e35659ee0e5db73f29670a3894a3e3f5
3807Author: Adam Jackson <ajax@redhat.com>
3808Date: Tue Oct 16 14:56:22 2012 -0400
3809
3810 dbe: Fold the window private private into the window private
3811
3812 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3813 Signed-off-by: Adam Jackson <ajax@redhat.com>
3814
3815commit 1489637d567b0034a916f88079b5f360e7fce99c
3816Author: Adam Jackson <ajax@redhat.com>
3817Date: Tue Oct 16 14:56:21 2012 -0400
3818
3819 dbe: Fold midbe reset into dix
3820
3821 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3822 Signed-off-by: Adam Jackson <ajax@redhat.com>
3823
3824commit 44d770750069486a8452fb2384f9b85745268e61
3825Author: Adam Jackson <ajax@redhat.com>
3826Date: Tue Oct 16 14:56:20 2012 -0400
3827
3828 dbe: Drop the unused idiom support
3829
3830 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3831 Signed-off-by: Adam Jackson <ajax@redhat.com>
3832
3833commit 8cce0cf4d378f6fa52bc2cd277737b8986ab683c
3834Author: Adam Jackson <ajax@redhat.com>
3835Date: Tue Oct 16 14:56:19 2012 -0400
3836
3837 damage: Remove the 'damage window' resource type.
3838
3839 Note that the existing code never actually creates a resource of this
3840 type, so it can't possibly do anything. This is clearly meant to track
3841 window destruction and clean up any associated Damages, but that's
3842 already handled by miext/damage's DestroyWindow wrapper.
3843
3844 Previous discussion:
3845 http://lists.freedesktop.org/archives/xorg-devel/2011-March/020847.html
3846
3847 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3848 Signed-off-by: Adam Jackson <ajax@redhat.com>
3849
3850commit e674815e0a217ac01ec2d6a8517f8466b27fb39f
3851Author: Adam Jackson <ajax@redhat.com>
3852Date: Tue Oct 16 14:56:18 2012 -0400
3853
3854 dmx: Remove ShadowFB support
3855
3856 This has been listed as deprecated ever since DMX was merged.
3857
3858 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3859 Signed-off-by: Adam Jackson <ajax@redhat.com>
3860
3861commit 19d3a7cb5db3188210830efa746987ba50d839e9
3862Author: Adam Jackson <ajax@redhat.com>
3863Date: Tue Oct 16 14:56:17 2012 -0400
3864
3865 dix: Remove a dead parameter from DoGetImage
3866
3867 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3868 Signed-off-by: Adam Jackson <ajax@redhat.com>
3869
3870commit 4dca026880da90cff9734cf5787c5b57c02e7310
3871Author: Adam Jackson <ajax@redhat.com>
3872Date: Tue Oct 16 14:56:16 2012 -0400
3873
3874 mipointer: Remove EnqueueEvent from miPointerScreenFuncRec
3875
3876 No DDX overrode this, and we never actually called through that slot
3877 anyway.
3878
3879 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3880 Signed-off-by: Adam Jackson <ajax@redhat.com>
3881
3882commit ad076dc6e82019defa422500710b3b42c6309e39
3883Author: Adam Jackson <ajax@redhat.com>
3884Date: Tue Oct 16 14:56:15 2012 -0400
3885
3886 mipointer: Flatten calls to mieqSwitchScreen
3887
3888 No DDX was overriding this.
3889
3890 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3891 Signed-off-by: Adam Jackson <ajax@redhat.com>
3892
3893commit e2b14a1d3bb27e86ff1d7aaf59af850d06263ef5
3894Author: Adam Jackson <ajax@redhat.com>
3895Date: Tue Oct 16 14:56:14 2012 -0400
3896
3897 os: Factor out some common code in input buffer handling
3898
3899 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3900 Signed-off-by: Adam Jackson <ajax@redhat.com>
3901
3902commit 65fca558848acd907483d3c85c7cd4db5560f1b4
3903Author: Radek Doulik <rodo@novell.com>
3904Date: Tue Aug 13 08:45:47 2013 +0200
3905
3906 xnest: Ignore GetImage() error in xnestGetImage()
3907
3908 When an Xnest instance is not viewable it will crash when a client in
3909 that instance calls GetImage. This is because the Xnest server will
3910 itself receives a BadMatch error.
3911 This patch ignores the error. The application which has requested the
3912 image will receive garbage - this however is fully legal according
3913 to the specs as obscured areas will always contain garbage if there
3914 isn't some sort of backing store as discussed in
3915 https://bugs.freedesktop.org/show_bug.cgi?id=9488
3916 The applied patch is a version from Dadek Doulik.
3917
3918 v2: Call XSync() before changing error handlers as suggested by
3919 Daniel Stone <daniel@fooishbar.org>.
3920
3921 Reviewed-by: Daniel Stone <daniel@fooishbar.org>
3922 Signed-off-by: Egbert Eich <eich@freedesktop.org>
3923
3924commit b902c8abb6d03e68c93e13881a350523b5ac900c
3925Author: Michal Srb <msrb@novell.com>
3926Date: Tue Aug 6 16:56:53 2013 +0200
3927
3928 Xnest: Implement xnestModifyPixmapHeader
3929
3930 Xnest variant of ModifyPixmapHeader that creates new Pixmap in parent X
3931 server if it's size is modified from 0x0 to anything bigger.
3932
3933 xnestCreatePixmap doesn't create pixmap in parent X server if it has
3934 dimensions 0x0. If it is later resized and accessed, Xnest will be
3935 aborted with BadDrawable error from parent X server because it will
3936 use XID 0. This happens with ScratchPixmap, for example as used from
3937 XaceCensorImage. Applications using XACE crash Xnest.
3938
3939 Reviewed-by: Adam Jackson <ajax@redhat.com>
3940
3941commit 132507eba93e4dfd466d5c30c9b818cdc6f8536e
3942Author: Peter Harris <pharris@opentext.com>
3943Date: Mon Jul 15 19:44:45 2013 -0400
3944
3945 security: Don't count RetainPermanent clients twice
3946
3947 If a RetainPermanent client is subsequently killed by a KillClient
3948 request, the reference count is decremented twice. This can cause the
3949 server to prematurely kill other clients using the same Authorization.
3950
3951 Reviewed-by: Adam Jackson <ajax@redhat.com>
3952 Signed-off-by: Peter Harris <pharris@opentext.com>
3953
3954commit 20c2a3bcb11b5baf564e2c73a477ba23f5ae2b10
3955Author: Peter Harris <pharris@opentext.com>
3956Date: Mon Jul 15 19:44:29 2013 -0400
3957
3958 mi: Avoid stack smash when drawing dashed lines
3959
3960 X.org Bug 54013 <https://bugs.freedesktop.org/show_bug.cgi?id=54013>
3961
3962 Reviewed-by: Adam Jackson <ajax@redhat.com>
3963 Signed-off-by: Peter Harris <pharris@opentext.com>
3964
3965commit 9bf46610a9d20962854016032de4567974e87957
3966Author: Chris Wilson <chris@chris-wilson.co.uk>
3967Date: Fri Jun 21 22:58:31 2013 +0100
3968
3969 os: Immediately queue initial WriteToClient
3970
3971 If we immediately put the WriteToClient() buffer into the socket's write
3972 queue, not only do we benefit from sending the response back to client
3973 earlier, but we also avoid the overhead of copying the data into our own
3974 staging buffer and causing extra work in the next select(). The write is
3975 effectively free as typically we may only send one reply per client per
3976 select() call, so the cost of the FlushClient() is the same.
3977
3978 shmget10: 26400 -> 110000
3979 getimage10: 25000 -> 108000
3980
3981 shmget500: 3160 -> 13500
3982 getimage500: 1000 -> 1010
3983
3984 The knock-on effect is that on a mostly idle composited desktop, the CPU
3985 overhead is dominated by the memmove in WriteToClient, which is in turn
3986 eliminated by this patch.
3987
3988 Reviewed-by: Adam Jackson <ajax@redhat.com>
3989 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
3990
3991commit ceffb34774d44ada83cc1994d20c8d65b46bd555
3992Author: Laurent Carlier <lordheavym@gmail.com>
3993Date: Sat Jun 8 00:43:56 2013 +0200
3994
3995 ephyr: restore GLX support
3996
3997 It was removed since version 1.13
3998
3999 Signed-off-by: Sebastien Bacher <seb128@ubuntu.com>
4000 Acked-by: Daniel Stone <daniel@fooishbar.org>
4001
4002commit f37972f4a67b49ba9649310a6778bd1bf31e0130
4003Author: Keith Packard <keithp@keithp.com>
4004Date: Wed Apr 24 14:58:27 2013 -0700
4005
4006 miext/sync: Fix multi-screen support in SyncFence initialization
4007
4008 miSyncSetup was checking to see if the screen private key had been
4009 registered, and if so, skipping the setup of the provided screen.
4010
4011 Instead, it should register the private index only once, but then
4012 initialize the screen unless it has already been initialized. This
4013 latter step allows drivers to initialize the sync private structures
4014 before the Sync extension itself is initialized.
4015
4016 Reviewed-by: Adam Jackson <ajax@redhat.com>
4017 Signed-off-by: Keith Packard <keithp@keithp.com>
4018
4019commit 1c8beedfe4343377fa3504f8ab71430cc137b22c
4020Author: Adam Jackson <ajax@redhat.com>
4021Date: Wed Aug 21 14:12:52 2013 -0400
4022
4023 randr: Fix a copypasta bug in CRTC confinement
4024
4025 Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
4026 Signed-off-by: Adam Jackson <ajax@redhat.com>
4027
4028commit 47ff382d1fce25a8b097d45b79489e891f1f1228
4029Merge: 6f89ae3 3752a81
4030Author: Keith Packard <keithp@keithp.com>
4031Date: Mon Sep 9 15:13:42 2013 -0700
4032
4033 Merge remote-tracking branch 'jturney/master'
4034
4035commit 6f89ae3e64c4dfeea508813e546c10ba1da3ea8e
4036Author: Thomas Klausner <wiz@NetBSD.org>
4037Date: Wed Sep 4 20:06:07 2013 +0200
4038
4039 Fix typo in configure warning.
4040
4041 Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
4042 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
4043 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
4044
4045commit 47218a6e09549781fd61dbf5e0d3d5c81da64323
4046Author: Thomas Klausner <wiz@NetBSD.org>
4047Date: Wed Sep 4 20:05:51 2013 +0200
4048
4049 Fix bug in cursor handling.
4050
4051 CreateCursor (Xlib call XCreatePixmapCursor) with a non-bitmap
4052 source pixmap and a None mask is supposed to error out with BadMatch,
4053 but didn't.
4054
4055 From der Mouse <mouse@Rodents-Montreal.ORG>, changed following
4056 comments by Alan Coopersmith <alan.coopersmith@oracle.com>.
4057
4058 Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
4059 Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
4060 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
4061
4062commit 1110b71e360195aab040d835b54540ab558638c5
4063Author: Chris Clayton <chris2553@googlemail.com>
4064Date: Wed Sep 4 15:42:04 2013 +1000
4065
4066 kdrive: fix build error on gcc 4.8 for out-of-bounds array access
4067
4068 I'm getting a error building xorg-server-1.14.1.902 with thelatest snapshot
4069 of gcc-4.8:
4070
4071 input.c:225:43: error: array subscript is above array bounds
4072 [-Werror=array-bounds]
4073
4074 This is because kdNumInputFds can become equal to KD_MAX_INPUT_FDS in
4075 KdRegisterFd(). This means that in KdUnregisterFd(), kdInputFds[j + 1] can
4076 be beyond the end of the array.
4077
4078 Signed-off-by: Chris Clayton <chris2553@googlemail.com>
4079 Reviewed-by: Keith Packard <keithp@keithp.com>
4080 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
4081
4082commit abc2bfca16adcd1e5657d4ce54f4e1335d5ed53f
4083Author: Sebastien Bacher <seb128@ubuntu.com>
4084Date: Fri Aug 23 21:21:44 2013 +0200
4085
4086 kdrive: initialize GLX for xephyr
4087
4088 Like commit ac1a60e7b6f06fd075cc5bf55d6bc67206a01d29, re-add
4089 initialization of GLX after it was accidentally dropped from non-Xorg
4090 servers in 5f5bbbe543f65c48ecbb5cce80116a86ca3fbe86.
4091
4092 Signed-off-by: Sebastien Bacher <seb128@ubuntu.com>
4093 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=62346
4094 Reviewed-by: Eric Anholt <eric@anholt.net>
4095 Reviewed-by: Adam Jackson <ajax@redhat.com>
4096 Reviewed-by: Julien Cristau <jcristau@debian.org>
4097 Signed-off-by: Eric Anholt <eric@anholt.net>
4098
4099commit aa5534ec6931ffcc81cca76b98785d57de8e0e52
4100Author: Eric Anholt <eric@anholt.net>
4101Date: Fri Aug 23 11:23:00 2013 -0700
4102
4103 ephyr: Do grab/ungrab for ctrl+shift, not just shift+ctrl.
4104
4105 Given that the window title says "ctrl+shift", having pressing those
4106 keys in that order not ungrab you is fairly mean.
4107
4108 Signed-off-by: Eric Anholt <eric@anholt.net>
4109 Reviewed-by: Adam Jackson <ajax@redhat.com>
4110 Reviewed-by: Julien Cristau <jcristau@debian.org>
4111
4112commit 5cc15e1c427bacd73db7381df3474a23f7616624
4113Author: Eric Anholt <eric@anholt.net>
4114Date: Fri Aug 23 11:19:17 2013 -0700
4115
4116 ephyr: Flush the X connection when updating the window title.
4117
4118 Otherwise when you're doing the ctrl-shift mouse grab thing, you
4119 don't know what state you're in until the next rendering occurs.
4120
4121 Signed-off-by: Eric Anholt <eric@anholt.net>
4122 Reviewed-by: Adam Jackson <ajax@redhat.com>
4123 Reviewed-by: Julien Cristau <jcristau@debian.org>
4124
4125commit ba387cf21f7d95987211f75d8024601e7d64e322
4126Author: Eric Anholt <eric@anholt.net>
4127Date: Fri Aug 23 11:17:14 2013 -0700
4128
4129 ephyr: Use host (HW) cursors by default.
4130
4131 Unless you're working on the sw cursor rendering code, you surely want
4132 to have real hardware cursors.
4133
4134 Signed-off-by: Eric Anholt <eric@anholt.net>
4135 Reviewed-by: Adam Jackson <ajax@redhat.com>
4136 Reviewed-by: Julien Cristau <jcristau@debian.org>
4137
4138commit 0f5a2f13dc284dd5f0f28e2c4323b2e08d253a7d
4139Author: Eric Anholt <eric@anholt.net>
4140Date: Fri Aug 23 11:04:22 2013 -0700
4141
4142 ephyr: Garbage collect some DOA host window clipping code.
4143
4144 Introduced in 79782726617d4b5a4f9b376f21936d035fc870e1 but never used.
4145
4146 Signed-off-by: Eric Anholt <eric@anholt.net>
4147 Reviewed-by: Julien Cristau <jcristau@debian.org>
4148
4149commit 090de17d361dc9828203a2562565d6499998db46
4150Author: Eric Anholt <eric@anholt.net>
4151Date: Fri Aug 23 10:56:22 2013 -0700
4152
4153 ephyr: Garbage collect some dead XV clipping code.
4154
4155 Signed-off-by: Eric Anholt <eric@anholt.net>
4156 Reviewed-by: Julien Cristau <jcristau@debian.org>
4157
4158commit 347d0fa6961c2b3dc4efd4e7cca8ef98cd3ea06e
4159Author: Eric Anholt <eric@anholt.net>
4160Date: Fri Aug 23 10:44:23 2013 -0700
4161
4162 ephyr: Remove the helper libs for each of the optional components.
4163
4164 Note that EXTRA_DIST was always unnecessary, because automake notices
4165 conditional compile of source files and includes them.
4166
4167 Copyright header is added because git noted that this was a 61%
4168 rewrite.
4169
4170 Signed-off-by: Eric Anholt <eric@anholt.net>
4171 Reviewed-by: Julien Cristau <jcristau@debian.org>
4172
4173commit 74dff87790dbb3dcb23634f1e8cd54018e5ddc9d
4174Author: Eric Anholt <eric@anholt.net>
4175Date: Fri Aug 23 10:40:52 2013 -0700
4176
4177 ephyr: Remove the remaining bits of host/server XV split.
4178
4179 Signed-off-by: Eric Anholt <eric@anholt.net>
4180 Reviewed-by: Julien Cristau <jcristau@debian.org>
4181
4182commit 2f994dfe9d1add9ea8cb9c88ddb0d15843854788
4183Author: Eric Anholt <eric@anholt.net>
4184Date: Fri Aug 23 10:14:36 2013 -0700
4185
4186 ephyr: Remove the host/server split of the actual XV video operations.
4187
4188 I suspect there's more cleanup possible in ephyrHostXVPutImage() by
4189 sticking a bunch of the args in the port priv earlier.
4190
4191 Signed-off-by: Eric Anholt <eric@anholt.net>
4192 Reviewed-by: Julien Cristau <jcristau@debian.org>
4193
4194commit 0b7ce74315213ccd31802847e5a83e67090ded14
4195Author: Eric Anholt <eric@anholt.net>
4196Date: Fri Aug 23 10:01:23 2013 -0700
4197
4198 ephyr: Remove another host/server split for XV image formats.
4199
4200 Signed-off-by: Eric Anholt <eric@anholt.net>
4201 Reviewed-by: Julien Cristau <jcristau@debian.org>
4202
4203commit 1dcc28bcb402d7286d18b41b469062a5c176d7eb
4204Author: Eric Anholt <eric@anholt.net>
4205Date: Thu Aug 22 17:00:41 2013 -0700
4206
4207 ephyr: Remove the host/server split for video encodings.
4208
4209 Signed-off-by: Eric Anholt <eric@anholt.net>
4210 Reviewed-by: Julien Cristau <jcristau@debian.org>
4211
4212commit 28a37757e11068b4594f4128a0d64c6bc9a53ee0
4213Author: Eric Anholt <eric@anholt.net>
4214Date: Thu Aug 22 17:26:21 2013 -0700
4215
4216 ephyr: Remove the host/server split for XV formats.
4217
4218 Signed-off-by: Eric Anholt <eric@anholt.net>
4219 Reviewed-by: Julien Cristau <jcristau@debian.org>
4220
4221commit 41134d393a37dd5b971b018a3888fbfea0b9c736
4222Author: Eric Anholt <eric@anholt.net>
4223Date: Thu Aug 22 17:21:37 2013 -0700
4224
4225 ephyr: Remove the host/server split for XV attributes.
4226
4227 v2: Fix leaks of xcb replies (caught by Julien)
4228
4229 Signed-off-by: Eric Anholt <eric@anholt.net>
4230 Reviewed-by: Julien Cristau <jcristau@debian.org>
4231
4232commit 1342a93c49beb6e4924534304119d57fa587ad0f
4233Author: Eric Anholt <eric@anholt.net>
4234Date: Thu Aug 22 17:26:08 2013 -0700
4235
4236 ephyr: Remove the host/server split for XV adaptors.
4237
4238 Signed-off-by: Eric Anholt <eric@anholt.net>
4239 Reviewed-by: Julien Cristau <jcristau@debian.org>
4240
4241commit fad79d2e3e53de4f25b3d1dd7accb558464a4a46
4242Author: Eric Anholt <eric@anholt.net>
4243Date: Sun Aug 18 20:08:32 2013 +0200
4244
4245 ephyr: Refactor XV adaptor feature detection.
4246
4247 This obviously wanted a helper function beforehand, but even more so
4248 now that we have XCB.
4249
4250 Signed-off-by: Eric Anholt <eric@anholt.net>
4251 Reviewed-by: Julien Cristau <jcristau@debian.org>
4252
4253commit 7a9c311add62026972419ef0b04a55680072bfeb
4254Author: Eric Anholt <eric@anholt.net>
4255Date: Sun Aug 18 20:02:53 2013 +0200
4256
4257 ephyr: Remove some pointless indirection in the XV code.
4258
4259 Now that we have XCB on the server side, we don't need to split these
4260 functions out.
4261
4262 Signed-off-by: Eric Anholt <eric@anholt.net>
4263 Reviewed-by: Julien Cristau <jcristau@debian.org>
4264
4265commit 46cf6bf5692ef751ec9d17ae2292565d4b13f14b
4266Author: Eric Anholt <eric@anholt.net>
4267Date: Sun Aug 18 18:38:29 2013 +0200
4268
4269 ephyr: Move event processing into ephyr.c.
4270
4271 No more extra event structure to translate between hostx.c and
4272 ephyr.c!
4273
4274 Signed-off-by: Eric Anholt <eric@anholt.net>
4275 Reviewed-by: Julien Cristau <jcristau@debian.org>
4276
4277commit 847c856effde482c13cdefcdca8176cee3bf67c4
4278Author: Eric Anholt <eric@anholt.net>
4279Date: Sun Aug 18 17:28:08 2013 +0200
4280
4281 ephyr: Move the host screen info into the kdrive screen private.
4282
4283 We can include xcb bits from the same place as server headers, so
4284 there's no need to hide them any more.
4285
4286 Signed-off-by: Eric Anholt <eric@anholt.net>
4287 Reviewed-by: Julien Cristau <jcristau@debian.org>
4288
4289commit 8dadc78e233f341f1ecb8d404de03d98ab210620
4290Author: Eric Anholt <eric@anholt.net>
4291Date: Sun Aug 18 16:45:06 2013 +0200
4292
4293 ephyr: Rename and use the proper type for what was host_screen->info.
4294
4295 Now that we can include server headers in talking to host X, we don't
4296 need to hide any more.
4297
4298 Signed-off-by: Eric Anholt <eric@anholt.net>
4299 Reviewed-by: Julien Cristau <jcristau@debian.org>
4300
4301commit 18d836f6dde46bcac8b794d34f76032688c28851
4302Author: Eric Anholt <eric@anholt.net>
4303Date: Sun Aug 18 14:12:45 2013 +0200
4304
4305 ephyr: Expose a single function for detecting extensions.
4306
4307 v2: Fix trying to include xcb-dri in the non-dri-build case (Noted by
4308 Julien)
4309
4310 Signed-off-by: Eric Anholt <eric@anholt.net>
4311 Reviewed-by: Julien Cristau <jcristau@debian.org>
4312
4313commit 3aacb22d6473480c31fb08f0b2527747dbf5be57
4314Author: Eric Anholt <eric@anholt.net>
4315Date: Sun Aug 18 14:01:53 2013 +0200
4316
4317 ephyr: Drop dead ephyrHostAtomToLocal code.
4318
4319 Signed-off-by: Eric Anholt <eric@anholt.net>
4320 Reviewed-by: Julien Cristau <jcristau@debian.org>
4321
4322commit 4aaad0bfbcef018eb36839b1d034c3f60022694a
4323Author: Julien Cristau <jcristau@debian.org>
4324Date: Wed Oct 20 20:10:43 2010 +0200
4325
4326 Xephyr: we're not using Xlib anymore, no need to undef _XSERVER64
4327
4328 Drop obsolete comments about interaction between Xlib code and that
4329 macro, and stop undefining it.
4330
4331 Signed-off-by: Julien Cristau <jcristau@debian.org>
4332 Reviewed-by: Eric Anholt <eric@anholt.net>
4333
4334commit 0fc2f9f04a44599f598380d4df992bec60c0e3a1
4335Author: Julien Cristau <jcristau@debian.org>
4336Date: Sat Sep 25 16:05:07 2010 +0200
4337
4338 Xephyr: handle errors in event loop
4339
4340 Signed-off-by: Julien Cristau <jcristau@debian.org>
4341 Reviewed-by: Eric Anholt <eric@anholt.net>
4342 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
4343
4344commit 3309a73c826f02c4b2e14180a3254546314ec323
4345Author: Julien Cristau <jcristau@debian.org>
4346Date: Fri Jun 25 14:20:57 2010 +0100
4347
4348 Xephyr: drop remaining Xlib dependency
4349
4350 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
4351 Reviewed-by: Eric Anholt <eric@anholt.net>
4352 Signed-off-by: Julien Cristau <jcristau@debian.org>
4353
4354commit 7da2174cf93f59b7e0372a6dc9d37a510076e187
4355Author: Julien Cristau <jcristau@debian.org>
4356Date: Mon Jun 21 14:39:03 2010 +0100
4357
4358 Xephyr: move glx code to xcb
4359
4360 v2: Rebase on master, notably adding XCB for
4361 X_GLXvop_MakeCurrentReadSGI (anholt).
4362 v3: Fix use-after-free (caught by Julien).
4363
4364 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> (v1)
4365 Signed-off-by: Julien Cristau <jcristau@debian.org>
4366 Signed-off-by: Eric Anholt <eric@anholt.net>
4367
4368commit 19c2699b954e2978301c4449dfccc7ca40bf6ae6
4369Author: Julien Cristau <jcristau@debian.org>
4370Date: Wed Jun 23 18:36:00 2010 +0100
4371
4372 Xephyr: remove unused DRI1 code
4373
4374 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
4375 Signed-off-by: Julien Cristau <jcristau@debian.org>
4376
4377commit 68b7db19e8d3c1ac55a811327d3058f4c8fb45ec
4378Author: Julien Cristau <jcristau@debian.org>
4379Date: Sun Jun 20 00:07:08 2010 +0100
4380
4381 Xephyr: move ephyrdri over to xcb
4382
4383 Require new xcb-xf86dri to get fixed GetDrawableInfo.
4384
4385 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
4386 Signed-off-by: Julien Cristau <jcristau@debian.org>
4387
4388commit aea119cd05807ed77336f96a40f8e4607c6ce169
4389Author: Julien Cristau <jcristau@debian.org>
4390Date: Sun Jun 20 11:13:26 2010 +0100
4391
4392 Xephyr: use xcb-xv instead of libXv
4393
4394 v2: Massive, conflict-filled rebase. I think I resolved everything
4395 right, but this host xv code makes my eyes bleed. Touch-tested XV
4396 after the rebase (anholt).
4397
4398 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> (v1)
4399 Signed-off-by: Julien Cristau <jcristau@debian.org>
4400 Signed-off-by: Eric Anholt <eric@anholt.net>
4401
4402commit 3ea75a59d5fec3c4099388724942e216f2344328
4403Author: Julien Cristau <jcristau@debian.org>
4404Date: Mon Jun 21 17:20:32 2010 +0100
4405
4406 Xephyr: use xcb for event handling
4407
4408 v2: Rebase on indentation changes, squash in a simpler variant of the
4409 later event compression patch, fix server hang or segfault on
4410 window close by reimplementing the x_io_error_handler in the new
4411 XCB event loop (anholt).
4412
4413 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> (v1)
4414 Signed-off-by: Julien Cristau <jcristau@debian.org>
4415 Signed-off-by: Eric Anholt <eric@anholt.net>
4416
4417commit ff26845252889f7cc3258a0d3aa116189acc6aae
4418Author: Julien Cristau <jcristau@debian.org>
4419Date: Thu Jun 24 23:45:16 2010 +0100
4420
4421 Xephyr: some more hostx.c xcb-ification
4422
4423 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
4424 Reviewed-by: Eric Anholt <eric@anholt.net>
4425 Signed-off-by: Julien Cristau <jcristau@debian.org>
4426
4427commit 9b55f76a265aab0d9943a40208a38800e5782ba5
4428Author: Julien Cristau <jcristau@debian.org>
4429Date: Thu Jun 24 23:35:15 2010 +0100
4430
4431 Xephyr: move HostX.visual to xcb
4432
4433 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
4434 Reviewed-by: Eric Anholt <eric@anholt.net>
4435 Signed-off-by: Julien Cristau <jcristau@debian.org>
4436
4437commit 126312fb4a6e06024a306341e675163108426390
4438Author: Julien Cristau <jcristau@debian.org>
4439Date: Thu Jun 24 23:26:48 2010 +0100
4440
4441 Xephyr: replace XKeycodeToKeysym with xcb-keysyms
4442
4443 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
4444 Reviewed-by: Eric Anholt <eric@anholt.net>
4445 Signed-off-by: Julien Cristau <jcristau@debian.org>
4446
4447commit 8543d3fdfd47d2a0423f3ef8e7429c23c5d6b053
4448Author: Julien Cristau <jcristau@debian.org>
4449Date: Thu Jun 24 23:17:32 2010 +0100
4450
4451 Xephyr: delete unused hostx_get_extension_info function
4452
4453 v2: Also remove the prototype (anholt)
4454
4455 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> (v1)
4456 Signed-off-by: Julien Cristau <jcristau@debian.org>
4457 Signed-off-by: Eric Anholt <eric@anholt.net>
4458
4459commit d72c11b9df4a98fd80cb6635d34964483e33bc41
4460Author: Julien Cristau <jcristau@debian.org>
4461Date: Mon Jun 21 14:25:11 2010 +0100
4462
4463 Xephyr: delete unused proxy code
4464
4465 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
4466 Reviewed-by: Eric Anholt <eric@anholt.net>
4467 Signed-off-by: Julien Cristau <jcristau@debian.org>
4468
4469commit a71ea3f96769da157dde82a591e43264820772ac
4470Author: Julien Cristau <jcristau@debian.org>
4471Date: Sun Jun 20 23:34:54 2010 +0100
4472
4473 Xephyr: xcb-ify visual list construction
4474
4475 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
4476 Reviewed-by: Eric Anholt <eric@anholt.net>
4477 Signed-off-by: Julien Cristau <jcristau@debian.org>
4478
4479commit ac2b0348c00d692ec1bd8d6c8ab99e9198e755a7
4480Author: Julien Cristau <jcristau@debian.org>
4481Date: Sun Jun 20 23:34:39 2010 +0100
4482
4483 Xephyr: xcb-ify pointer/keyboard grab
4484
4485 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
4486 Reviewed-by: Eric Anholt <eric@anholt.net>
4487 Signed-off-by: Julien Cristau <jcristau@debian.org>
4488
4489commit 1f93e6b350d1b9a058009052a666a2e8796708cb
4490Author: Julien Cristau <jcristau@debian.org>
4491Date: Sun Jun 20 23:34:03 2010 +0100
4492
4493 Xephyr: no need for XDisplayKeycodes
4494
4495 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
4496 Reviewed-by: Eric Anholt <eric@anholt.net>
4497 Signed-off-by: Julien Cristau <jcristau@debian.org>
4498
4499commit 73398e5bf61c30e69a40a19a1057c2263fbb91ef
4500Author: Julien Cristau <jcristau@debian.org>
4501Date: Thu Jun 24 23:00:38 2010 +0100
4502
4503 Xephyr: use xcb-shape instead of XShape*
4504
4505 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
4506 Reviewed-by: Eric Anholt <eric@anholt.net>
4507 Signed-off-by: Julien Cristau <jcristau@debian.org>
4508
4509commit a2b73da78de4e627965213d24a6c33f243a60eb6
4510Author: Julien Cristau <jcristau@debian.org>
4511Date: Sun Jun 20 00:05:40 2010 +0100
4512
4513 Xephyr: start converting hostx.c over to xcb
4514
4515 v2: Dropped the hostx_load_keymap changes, now that that function is
4516 gutted (anholt).
4517
4518 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> (v1)
4519 Signed-off-by: Julien Cristau <jcristau@debian.org>
4520 Signed-off-by: Eric Anholt <eric@anholt.net>
4521
4522commit 762606b4cdfb57c5202ae128ce4dbb8afe172d4e
4523Author: Julien Cristau <jcristau@debian.org>
4524Date: Fri Jun 25 17:59:13 2010 +0100
4525
4526 Xephyr: stop loading the host's keymap
4527
4528 This isn't used anywhere.
4529
4530 v2: Rebase to the top of the patch series (anholt)
4531
4532 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> (v1)
4533 Signed-off-by: Julien Cristau <jcristau@debian.org>
4534 Signed-off-by: Eric Anholt <eric@anholt.net>
4535
4536commit 3752a815800626ae93f64a856f5889aa6636344e
4537Author: Marc Haesen <marha@users.sourceforge.net>
4538Date: Sat Aug 10 17:38:38 2013 +0100
4539
4540 hw/xwin: Remove unnecessary and incorrect HWND casts
4541
4542 Signed-off-by: Marc Haesen <marha@users.sourceforge.net>
4543 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
4544 Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
4545
4546commit 34932cef6cc800fbdf2f375506057ed8cd1e07f6
4547Author: Jon TURNEY <jon.turney@dronecode.org.uk>
4548Date: Mon Apr 1 13:43:00 2013 +0100
4549
4550 hw/xwin: Fix compilation of winauth.c with -Werror=implicit-function-declaration
4551
4552 /jhbuild/checkout/xorg/xserver/hw/xwin/winauth.c: In function ‘MitGenerateCookie’:
4553 /jhbuild/checkout/xorg/xserver/hw/xwin/winauth.c:87:5: error: implicit declaration of function ‘MitAddCookie’ [-Werror=implicit-function-declaration]
4554
4555 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
4556 Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
4557 Reviewed-by: Marc Haesen <marha@users.sourceforge.net>
4558
4559commit 2a08554a0bf80b862c15676c31ecd463b616518c
4560Author: Jon TURNEY <jon.turney@dronecode.org.uk>
4561Date: Mon Jun 17 23:54:01 2013 +0100
4562
4563 hw/xwin: Remove unused extern g_fUseUnicode from winclipboardwndproc.c
4564
4565 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk
4566 Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
4567 Reviewed-by: Marc Haesen <marha@users.sourceforge.net>
4568
4569commit 69401f38a697c941ea58351028f4cd4b810f9188
4570Author: Jon TURNEY <jon.turney@dronecode.org.uk>
4571Date: Mon Jun 17 18:37:26 2013 +0100
4572
4573 hw/xwin: Remove unneeded forward declaration of winProcessXEventsTimeout()
4574
4575 Remove unneeded forward declaration of winProcessXEventsTimeout(), the actual
4576 definition immediately follows.
4577
4578 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
4579 Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
4580 Reviewed-by: Marc Haesen <marha@users.sourceforge.net>
4581
4582commit 9c45a1ad44f12ac25e1c3b7a18a3bceb85a2cf38
4583Author: Jon TURNEY <jon.turney@dronecode.org.uk>
4584Date: Mon Jun 17 16:58:47 2013 +0100
4585
4586 hw/xwin: Remove prototype for non-existent winDeinitClipboard()
4587
4588 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
4589 Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
4590 Reviewed-by: Marc Haesen <marha@users.sourceforge.net>
4591
4592commit acc46fc217352b94f77a6b5b14808ea89875a2a1
4593Author: Jon TURNEY <jon.turney@dronecode.org.uk>
4594Date: Mon Jun 17 00:40:13 2013 +0100
4595
4596 hw/xwin: Remove unused externs from winclipboardwrappers.c
4597
4598 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
4599 Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
4600 Reviewed-by: Marc Haesen <marha@users.sourceforge.net>
4601
4602commit fcc7767f8cd6c318861b1060ef6a3936750a0dd2
4603Author: Jon TURNEY <jon.turney@dronecode.org.uk>
4604Date: Mon Jun 10 17:31:12 2013 +0100
4605
4606 hw/xwin: Remove unused winProcQueryTreeOrig variable
4607
4608 Unused since 47c7b6d3e626497747ae2780f259a15b8e6c846f "Remove no-longer needed
4609 tricks used to prevent the clipboard client from being killed"
4610
4611 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
4612 Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
4613 Reviewed-by: Marc Haesen <marha@users.sourceforge.net>
4614
4615commit 8fa882a980abea6f05b4b59447a187aea2c793a1
4616Author: Jon TURNEY <jon.turney@dronecode.org.uk>
4617Date: Sat Aug 10 12:41:07 2013 +0100
4618
4619 hw/xwin: Fix ARGB cursor conversion on x86_64
4620
4621 Fix erroneous use of unsigned long * for lpBits in winXCursorToHCURSOR() which
4622 leads to ARGB cursors being vertically streched on x86_64 by interleaving blank
4623 rows of pixels.
4624
4625 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
4626 Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
4627 Reviewed-by: Marc Haesen <marha@users.sourceforge.net>
4628
4629commit 4bfb2dce5eea4923eaf86eca33b96087b28235f5
4630Author: Jon TURNEY <jon.turney@dronecode.org.uk>
4631Date: Sun Apr 7 23:59:44 2013 +0100
4632
4633 hw/xwin: Fix an issue in winSetSpansNativeGDI() identifed by -Warray-bounds
4634
4635 The BITMAPINFO local only has room for a single RBGQUAD in bmiColors, but we
4636 access two (black and white for a mono-color DIB). Fix by changing to a dynamic
4637 allocation big enough for a BITMAPINFO and a RGBQUAD.
4638
4639 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
4640 Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
4641 Reviewed-by: Marc Haesen <marha@users.sourceforge.net>
4642
4643commit 784c006adb22c6693ad30dd0b1b05369cfaa7b5e
4644Author: Jon TURNEY <jon.turney@dronecode.org.uk>
4645Date: Sat Aug 10 11:55:23 2013 +0100
4646
4647 hw/xwin: Fix -Warray-bounds warning in winXCursorToHCURSOR()
4648
4649 Rewrite winXCursorToHCURSOR() so access to BITMAPINFO bmiColors member doesn't
4650 trigger an -Warray-bounds warning.
4651
4652 Note that the underlying storage is allocated as a BITMAPV4HEADER, so has
4653 sufficent room for the extra RGBQUADs bmiColors after the BITMAPINFO bmiHeader.
4654
4655 wincursor.c: In function 'winSetCursor':
4656 wincursor.c:293:24: error: array subscript is above array bounds [-Werror=array-bounds]
4657 wincursor.c:294:24: error: array subscript is above array bounds [-Werror=array-bounds]
4658 wincursor.c:295:24: error: array subscript is above array bounds [-Werror=array-bounds]
4659 wincursor.c:296:24: error: array subscript is above array bounds [-Werror=array-bounds]
4660 wincursor.c:297:24: error: array subscript is above array bounds [-Werror=array-bounds]
4661 wincursor.c:298:24: error: array subscript is above array bounds [-Werror=array-bounds]
4662 wincursor.c:299:24: error: array subscript is above array bounds [-Werror=array-bounds]
4663 wincursor.c:300:24: error: array subscript is above array bounds [-Werror=array-bounds]
4664
4665 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
4666 Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
4667 Reviewed-by: Marc Haesen <marha@users.sourceforge.net>
4668
4669commit 41d03c9ccce665b919b180bbb819b78c750aa325
4670Author: Marc Haesen <marha@users.sourceforge.net>
4671Date: Fri Aug 2 18:19:22 2013 +0100
4672
4673 hw/xwin: Correct size of _WINDOWSWM_NATIVE_HWND property on x86_64
4674
4675 Use the correct size of a HWND on x86_64 in XChangeProperty() and
4676 XGetWindowProperty() calls for the _WINDOWSWM_NATIVE_HWND property.
4677
4678 Signed-off-by: Marc Haesen <marha@users.sourceforge.net>
4679 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
4680 Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
4681
4682commit 390cfec10ef7d52391f890c7593ac82a7d77d856
4683Author: Colin Harrison <colin.harrison@virgin.net>
4684Date: Fri Aug 9 16:48:12 2013 +0100
4685
4686 hw/xwin: Correct winprefs.c function signatures for x64.
4687
4688 Correct SetupRootMenu(), SetupSysMenu(), HandleCustomWM_INITMENU() and
4689 HandleCustomWM_COMMAND() function signatures which use unsigned long parameters,
4690 where just a specific HWND or HMENU handle type should have been used.
4691
4692 Signed-off-by: Colin Harrison <colin.harrison@virgin.net>
4693 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
4694 Reviewed-by: Marc Haesen <marha@users.sourceforge.net>
4695
4696commit e716baedc4d8e52a60f43ef21aba771b340d8c8b
4697Author: Jon TURNEY <jon.turney@dronecode.org.uk>
4698Date: Sat Mar 31 14:42:45 2012 +0100
4699
4700 Move pseudoramiX code where it can be shared between Xwin and Xquartz
4701
4702 Move pseudoramiX code to a separate top-level directory. Link Xwin and Xquartz
4703 with libPseudoramiX
4704
4705 I'm not sure moving this to a top-level directory is appropriate, but I'm not
4706 sure where else it fits.
4707
4708 Future work: pseudoramiX can probably be consolidated with the rrxinerama code
4709 (which I think provides fake xinerama data when real XINERAMA is disabled and we
4710 only have one screen)
4711
4712 v2: fix distcheck
4713
4714 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
4715 Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
4716 Reviewed-by: Marc Haesen <marha@users.sourceforge.net>
4717
4718commit ce0217b98261dcf8b20cfb743831965dda1950ec
4719Author: Jon TURNEY <jon.turney@dronecode.org.uk>
4720Date: Sat Aug 10 12:35:55 2013 +0100
4721
4722 hw/xwin: Fix winglobals.h for MinGW64 build
4723
4724 Include pthread.h in winglobals.h to fix build with latest MinGW64 headers
4725
4726 In file included from
4727 winmultiwindowicons.c:47:0:
4728 winglobals.h:92:1: error: unknown type name ‘pthread_mutex_t’
4729
4730 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
4731 Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
4732 Reviewed-by: Marc Haesen <marha@users.sourceforge.net>
4733
4734commit b27756dbe6a1be4633ec47a8fe92a4c217f68f93
4735Author: Jon TURNEY <jon.turney@dronecode.org.uk>
4736Date: Sun Aug 11 12:15:11 2013 +0100
4737
4738 hw/xwin: Fix inclusion of shlobj.h in MinGW64 build
4739
4740 Fix build with latest MinGW64 headers by wrapping Status type in shlobj.h as well
4741
4742 In file included from InitOutput.c:51:0:
4743 /usr/i686-w64-mingw32/sys-root/mingw/include/shlobj.h:1231:44: error: expected identifier or ‘(’ before ‘int’
4744 /usr/i686-w64-mingw32/sys-root/mingw/include/shlobj.h:1248:44: error: expected identifier or ‘(’ before ‘int’
4745
4746 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
4747 Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
4748 Reviewed-by: Marc Haesen <marha@users.sourceforge.net>
4749
4750commit 94d4e29aedc69431fa9b299ca1b67947173d7a24
4751Author: Peter Hutterer <peter.hutterer@who-t.net>
4752Date: Mon Aug 26 15:51:46 2013 +1000
4753
4754 Xi: allow for XIAllowEvent requests larger than XI < 2.2 size (#68554)
4755
4756 XIAllowEvents changed length in XI 2.2 (for the touchid). A bug in libXi
4757 causes libXi to always use the new request length if the server supports
4758 2.2, regardless of the client's XIQueryVersion request.
4759
4760 The server takes the client's XIQueryVersion request into account though,
4761 resulting in a BadLength error if a 2.[0,1] client calls XIAllowEvents on a
4762 XI 2.2+ server.
4763
4764 Can't fix this in libXi, so work around this in the server.
4765
4766 X.Org Bug 68554 <http://bugs.freedesktop.org/show_bug.cgi?id=68554>
4767
4768 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
4769 Reviewed-by: Adam Jackson <ajax@redhat.com>
4770
4771commit 82939e02392cbb880313fe92957091ff89ce2f2b
4772Author: Peter Hutterer <peter.hutterer@who-t.net>
4773Date: Fri Aug 16 15:30:59 2013 +1000
4774
4775 dix: check for grab type before checking XI2 mask
4776
4777 if the grab type isn't XI2, grab->xi2mask is random. That random data may
4778 have the enter/leave mask set, leading to events sent to the client that the
4779 client can't handler.
4780
4781 Source of these errors:
4782 _xgeWireToEvent: Unknown extension 131, this should never happen.
4783
4784 Simplest reproducer:
4785 Start Xephyr, press button inside window, move out. As the pointer leaves
4786 the Xephyr window, the errors appear.
4787
4788 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
4789 Reviewed-by: Adam Jackson <ajax@redhat.com>
4790
4791commit 16894df1ffb6fe21bf723dd954578e8d934799ca
4792Author: Peter Hutterer <peter.hutterer@who-t.net>
4793Date: Fri Aug 16 10:55:09 2013 +1000
4794
4795 Xi: replace loop with memset
4796
4797 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
4798 Reviewed-by: Adam Jackson <ajax@redhat.com>
4799
4800commit 8f2292b683f591052da2fe94fb3831a3c9a5aa61
4801Author: Peter Hutterer <peter.hutterer@who-t.net>
4802Date: Fri Aug 16 11:05:49 2013 +1000
4803
4804 include: wrap EMASKSIZE in parentheses
4805
4806 Otherwise things like EMASKSIZE * foo will yield interesting results.
4807
4808 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
4809 Reviewed-by: Adam Jackson <ajax@redhat.com>
4810
4811commit d803f296c616ccf55711cf0af9e7d3eae2edda16
4812Author: Peter Hutterer <peter.hutterer@who-t.net>
4813Date: Fri Aug 23 09:04:01 2013 +1000
4814
4815 test: fix the gcc diagnostics pragma
4816
4817 pop without push restores the commandline options. The proper way is to
4818 push, then ignore, then pop.
4819
4820 And while we're at it, change the pop argument to a comment - pop ignores
4821 the argument, but be proper about it.
4822
4823 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
4824
4825commit 05ea6307fa4f0bee3d3bf536396059f3906791a0
4826Author: Egbert Eich <eich@freedesktop.org>
4827Date: Fri Aug 16 19:52:16 2013 +0200
4828
4829 DIX/Xi: Pass correct client to CheckDeviceGrabAndHintWindow()
4830
4831 If we have a client which has registered for a DeviceButton grab
4832 be sure to pass this to CheckDeviceGrabAndHintWindow(). Since the
4833 order of clients is arbitrary there is no guarantee that the last
4834 client in the list is the one that belongs to this class.
4835
4836 Signed-off-by: Egbert Eich <eich@freedesktop.org>
4837 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
4838 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
4839
4840commit e01a3f65d3e6d92f92ef2992b338cc9625bde082
4841Author: Eric Anholt <eric@anholt.net>
4842Date: Sat Aug 17 14:50:37 2013 +0200
4843
4844 ephyr: Fix warning about XID vs unsigned long * by changing function args
4845
4846 There's no reason to pass the data back out to the caller, since the
4847 caller was dropping it on the floor. The original data is a CARD32,
4848 so no need to mess with weird unsigned longs.
4849
4850 Signed-off-by: Eric Anholt <eric@anholt.net>
4851 Reviewed-by: Julien Cristau <jcristau@debian.org>
4852
4853commit f1cefe020bd21c07dfcc9f204e79939499abbd35
4854Author: Eric Anholt <eric@anholt.net>
4855Date: Sat Aug 17 14:38:08 2013 +0200
4856
4857 ephyr: Drop is_ok logging.
4858
4859 The only cases that lead to !is_ok are already EPHYR_LOG_ERROR, and it
4860 fixes set-but-unused compiler warnings.
4861
4862 Signed-off-by: Eric Anholt <eric@anholt.net>
4863 Reviewed-by: Julien Cristau <jcristau@debian.org>
4864
4865commit 77c7a2014e3942b55c0b78308edf02eab33f2e60
4866Author: Eric Anholt <eric@anholt.net>
4867Date: Sat Aug 17 14:36:09 2013 +0200
4868
4869 kdrive: Fix const cast warnings in arguments processing.
4870
4871 Signed-off-by: Eric Anholt <eric@anholt.net>
4872 Reviewed-by: Julien Cristau <jcristau@debian.org>
4873
4874commit 7107937e473a3557c37d719cb100b2e9b09075dd
4875Author: Eric Anholt <eric@anholt.net>
4876Date: Sat Aug 17 13:11:17 2013 +0200
4877
4878 kdrive: Fix const cast warnings in driver name handling.
4879
4880 Signed-off-by: Eric Anholt <eric@anholt.net>
4881 Reviewed-by: Julien Cristau <jcristau@debian.org>
4882
4883commit 56c405d46a86853771a0b808da4c8a9ef626960c
4884Author: Eric Anholt <eric@anholt.net>
4885Date: Sat Aug 17 13:07:23 2013 +0200
4886
4887 kdrive: Fix a few easy cast warnings.
4888
4889 Signed-off-by: Eric Anholt <eric@anholt.net>
4890 Reviewed-by: Julien Cristau <jcristau@debian.org>
4891
4892commit a9c48a07eea50468fa47ab178cdd91edb0b5727f
4893Author: Eric Anholt <eric@anholt.net>
4894Date: Sat Aug 17 13:06:23 2013 +0200
4895
4896 kdrive: Drop dead code.
4897
4898 This is unused as of the introduction of a helper in
4899 e7150db5350bc2113ff4126019b489847a4dc217
4900
4901 Signed-off-by: Eric Anholt <eric@anholt.net>
4902 Reviewed-by: Julien Cristau <jcristau@debian.org>
4903
4904commit 873ae962bdb7559c952b5955ba262285701982a8
4905Author: Eric Anholt <eric@anholt.net>
4906Date: Sat Aug 17 13:01:57 2013 +0200
4907
4908 ephyr: Fix dead code warning.
4909
4910 Signed-off-by: Eric Anholt <eric@anholt.net>
4911 Reviewed-by: Julien Cristau <jcristau@debian.org>
4912
4913commit 34af2eebe19e2f8afe35a5614d4d44fa4fd89d6b
4914Author: Eric Anholt <eric@anholt.net>
4915Date: Sat Aug 17 13:01:32 2013 +0200
4916
4917 ephyr: Fix const-cast warnings for setting window title.
4918
4919 Signed-off-by: Eric Anholt <eric@anholt.net>
4920 Reviewed-by: Julien Cristau <jcristau@debian.org>
4921
4922commit 7edf5066db48434739ac64e0576fbb4fdf0f37f9
4923Author: Eric Anholt <eric@anholt.net>
4924Date: Sat Aug 17 12:54:33 2013 +0200
4925
4926 ephyr: Fix const cast warnings in ephyrhostvideo.
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches