Commit graph

222 commits

Author SHA1 Message Date
wiz
deb798c1f0 modular-xorg-server: Update to 1.20.13
Matt Turner (1):
      xserver 1.20.13

Łukasz Spintzyk (2):
      present: fallback get_crtc to return crtc belonging to screen with present extension
      modesetting: unflip not possible when glamor is not set
2021-07-31 08:12:29 +00:00
tnn
8dfb107e17 modular-xorg-server: back out one of the previous patches
The fix needs to go in compiler.h instead, like in xsrc.
2021-07-21 21:56:10 +00:00
tnn
5db9b6fdcd modular-xorg-server: some minor build fixes for NetBSD/alpha 2021-07-21 21:50:29 +00:00
wiz
ea25e80a2b modular-xorg-server: update to 1.20.12.
Erik Kurzinger (1):
      glx: don't create implicit GLXWindow if one already exists

Jeremy Huddleston Sequoia (2):
      xquartz: Fix appFlags build failure with macOS 10.15+ SDKs
      xquartz: Ensure the mouse pointer is shown when switching to a native macOS alert or window

Jose Maria Casanova Crespo (1):
      glamor: Avoid using GL_QUADS on V3D

Matt Turner (2):
      Build xz tarballs instead of bzip2
      xserver 1.20.12

Olivier Fourdan (4):
      xwayland: Add PtrFeedback to the touch device
      dix: Guard against non-existing PtrFeedbackPtr
      glx: Set ContextTag for all contexts
      glx: Fix use after free in MakeCurrent

Vasily Khoruzhick (1):
      glx: fixup symbol name for get_extensions function

Ville Syrjälä (2):
      modesetting: Update props for dynamically added outputs
      modesetting: Fix possible_crtcs

Zoltán Böszörményi (1):
      xfree86: Fix NULL pointer dereference crash

orbea (1):
      hw/dmx/config: Link directly with libdmxconfig.a

Łukasz Spintzyk (9):
      modesetting: Disable reverse prime offload mode for displays running on evdi,udl
      modesetting: Initialize present extension despite glamor is disabled
      present: Use crtc's screen present operation for syncing
      present: fix msc offset calculation in screen mode
      modesetting: Find crtc on slave outputs as fallback instead of returning primary crtc
      modesetting: remove unnecessary ms_covering_xf86_crtc dup of ms_covering_randr_crtc
      modesetting: Remove few common functions from ms namespace
      xfree86: Change displays array to pointers array to fix invalid pointer issues after table reallocation
      xfree86: Fix out of array bound access to xf86Entities
2021-07-17 15:58:02 +00:00
wiz
eb8a49ef48 modular-xorg-server: note conflict with libxcvt 2021-07-13 12:05:48 +00:00
tnn
68ef9b3f94 modular-xorg-server: revert PR pkg/56169 patch. Different solution needed.
ok khorben
2021-06-24 18:43:08 +00:00
tnn
3781e5618f xorg-server: try to mend build on Linux
XXX I don't see how the pkg/56169 fix can work on SunOS, which doesn't have
strlcpy either. Maybe it fixes modular-xorg-xephyr but breaks
modular-xorg-server?
2021-06-24 15:38:41 +00:00
nia
bcd690502f modular-xorg-server: only enable glamor if EGL is available 2021-06-13 06:55:17 +00:00
khorben
6b1aee8f96 modular-xorg-xephyr: fix build on Solaris 10
From pkg/56169; thanks for reporting!
2021-06-08 22:51:11 +00:00
mrg
0a843265c7 various fixes for arm64 big endian support.
most of these simply extend matching from "aarch64" to "aarch64eb"
in various forms of code.  most remaining uses in pkgsrc of
"MACHINE_ARCH == aarch64" are because of missing aarch64eb support,
such as most of the binary-bootstrap requiring languages like rust,
go, and java.

no pkg-bump because this shouldn't change packages on systems that
could already build all of these.
2021-04-25 07:51:24 +00:00
wiz
19cd73afe3 modular-xorg-server: update to 1.20.11
Christopher Chavez (1):
      XQuartz: recognize F16-F20 and Menu keys

Fabrice Fontaine (1):
      meson.build: KMS support also depends on dri2

Jeremy Huddleston Sequoia (36):
      xquartz: Remove support for Panther and earlier versions of macOS
      os: Remove support for Tiger and earlier versions of macOS
      xquartz: Remove support for Tiger and earlier versions of macOS
      xquartz: Remove support for Leopard and earlier versions of macOS
      xquartz: Remove check for libdispatch now that we don't support pre-SnowLeopard
      xquartz: Remove support for SnowLeopard and earlier versions of macOS
      xquartz: Remove support for Lion and earlier versions of macOS
      xquartz: Remove support for Mountain Lion and earlier versions of macOS
      xquartz: Remove support for building for i386
      xquartz: Remove unused include of AvailabilityMacros.h from various sources
      xquartz: Remove support for older versions of libXplugin
      xquartz: Ensure that NSRunAlertPanel() is run on the main thread
      xquartz: Ensure we call into TIS on the main thread
      xquartz: Update the about box copyright to 2021
      xquartz: Apply Xcode 12.4 automatic updates to nibs
      xquartz: Fix applications menu table background color for dark mode
      xquartz: Apply spell check fixes from master for easier cherry-picking of changes in xquartz
      xquartz: Remove a workaround for AppKit versions older than Lion
      xquartz: Remove some dead code for compatibility with older nibs
      xquartz: Minor code modernization -- @autoreleasepool adoption
      xquartz: Use objc_autoreleasePoolPush / objc_autoreleasePoolPop directly in QuartzBlockHandler
      xqaurtz: Remove message_kit_thread() and use dispatch instead
      xquartz: Fold away array_with_strings_and_numbers and simplify with more modern Objective-C
      xquartz: Fold away some unnecessary hops to X11Controller through X11Application
      xquartz: Fold quartzCommon.h into quartz.h
      xquartz: Convert X11Application ivars into @properties
      xquartz: Convert X11Controller ivars into @properties
      xquartz: Rewrite Window menu handling to not depend on X11App.windowsMenu.numberOfItems being correct in -awakeFromNib
      xquartz: Silence a compiler warning about missing internal methods on NSApplication
      xquartz: Fix build with sparkle enabled
      xquartz: Fix a compiler warning about const incompatible pointer assignment
      xquartz: Allocate each fbconfig separately
      xquartz: Don't process AppKit events if we haven't finished initializing
      xquartz: Add a launch trampoline to better integrate with modern versions of macOS
      xquartz: Don't include strndup.c any more since we no longer support 10.8 and older
      xquartz: Remove a check for NSAppKitVersionNumber >= NSAppKitVersionNumber10_7

Jim DeLaHunt (1):
      Fix typo "XQaurtz" in Xquartz.man

Jon Turney (1):
      xquartz: Add stub ddxInputThread()

Mariusz Ceier (1):
      xwayland: Replace LogMessage with LogMessageVerb

Matt Turner (1):
      xserver 1.20.11

Matthieu Herrb (1):
      Fix XChangeFeedbackControl() request underflow

Michal Srb (1):
      xkb: Fix heap overflow caused by optimized away min.
2021-04-13 18:46:55 +00:00
wiz
f1c1e14e27 modular-xorg-server and friends: update to 1.20.10
Alex Goins (1):
      glamor: Update pixmap's devKind when making it exportable

Arthur Williams (1):
      include: Increase the number of max. input devices to 256.

Bernhard Übelacker (1):
      os: Fix instruction pointer written in xorg_backtrace

Greg V (1):
      xwayland: use drmGetNodeTypeFromFd for checking if a node is a render one

Kishore Kadiyala (1):
      modesetting: keep going if a modeset fails on EnterVT

Martin Peres (1):
      modesetting: check the kms state on EnterVT

Matt Turner (1):
      xserver 1.20.10

Matthieu Herrb (2):
      Fix XkbSetDeviceInfo() and SetDeviceIndicators() heap overflows
      Check SetMap request length carefully.

Michel Dänzer (10):
      glamor: Fix glamor_poly_fill_rect_gl xRectangle::width/height handling
      xfree86: Take second reference for SavedCursor in xf86CursorSetCursor
      present/wnmd: Can't use page flipping for windows clipped by children
      xwayland: Check window pixmap in xwl_present_check_flip2
      present/wnmd: Remove dead check from present_wnmd_check_flip
      present: Move flip target_msc adjustment out of present_vblank_create
      present: Add present_vblank::exec_msc field
      present/wnmd: Move up present_wnmd_queue_vblank
      present/wnmd: Execute copies at target_msc-1 already
      present/wnmd: Translate update region to screen space

Olivier Fourdan (8):
      Revert "linux: Fix platform device probe for DT-based PCI"
      Revert "linux: Fix platform device PCI detection for complex bus topologies"
      Revert "linux: Make platform device probe less fragile"
      xwayland: Do not discard frame callbacks on allow commits
      xwayland: Remove pending stream reference when freeing
      xwayland: non-rootless requires the wl_shell protocol
      xwayland: Create an xwl_window for toplevel only
      configure: Build hashtable for Xres and glvnd
2020-12-01 21:03:16 +00:00
khorben
423a972c9c modular-xorg-xephyr: fix Xephyr visual with -parent option
This patch was imported from
https://gitlab.freedesktop.org/xorg/xserver/-/issues/128.

It notably fixes embedding Xephyr into Gtk+ 3 applications, such as
simulator(1) from devel/deforaos-coder.

Tested on netbsd-9/amd64.
2020-09-28 01:08:15 +00:00
wiz
f0d2866a1f modular-xorg-server: update to 1.20.9.
Aaron Ma (1):
      xfree86: add drm modes on non-GTF panels

Adam Jackson (2):
      linux: Make platform device probe less fragile
      linux: Fix platform device PCI detection for complex bus topologies

Alan Coopersmith (2):
      Update URL's in man pages
      doc: Update URLs in Xserver-DTrace.xml

Alex Goins (1):
      randr: Check rrPrivKey in RRHasScanoutPixmap()

Hans de Goede (1):
      modesetting: Disable pageflipping when using a swcursor

Huacai Chen (1):
      linux: Fix platform device probe for DT-based PCI

Jose Maria Casanova Crespo (1):
      modesetting: Fix front_bo leak at drmmode_xf86crtc_resize on XRandR rotation

Lyude Paul (1):
      xwayland: Store xwl_tablet_pad in its own private key

Martin Weber (1):
      hw/xfree86: Avoid cursor use after free

Matt Turner (1):
      xserver 1.20.9

Matthieu Herrb (5):
      fix for ZDI-11426
      Correct bounds checking in XkbSetNames()
      Fix XIChangeHierarchy() integer underflow
      Fix XkbSelectEvents() integer underflow
      Fix XRecordRegisterClients() Integer underflow

Michel Dänzer (7):
      present/wnmd: Keep pixmap pointer in present_wnmd_clear_window_flip
      present/wnmd: Free flip_queue entries in present_wnmd_clear_window_flip
      xwayland: Always use xwl_present_free_event for freeing Present events
      xwayland: Free all remaining events in xwl_present_cleanup
      xwayland: Hold a pixmap reference in struct xwl_present_event
      xwayland: Propagate damage x1/y1 coordinates in xwl_present_flip
      xwayland: Handle NULL xwl_seat in xwl_seat_can_emulate_pointer_warp

Olivier Fourdan (4):
      xwayland: Fix infinite loop at startup
      xwayland: Clear private on device removal
      xwayland: Disable the MIT-SCREEN-SAVER extension when rootless
      xwayland: Use a fixed DPI value for core protocol

Roman Gilg (1):
      present: Check valid region in window mode flips

Samuel Thibault (1):
      dix: do not send focus event when grab actually does not change

Simon Ser (2):
      xwayland: import DMA-BUFs with GBM_BO_USE_RENDERING only
      xwayland: only use linux-dmabuf if format/modifier was advertised

SimonP (1):
      xwayland: Initialise values in xwlVidModeGetGamma()

Sjoerd Simons (1):
      xwayland: Fix crashes when there is no pointer
2020-08-26 10:28:39 +00:00
maya
0709a8db85 modular-xorg-*: provide patch (making this package equivalent to
xorg-server 1.20.9, couldn't find a tarball).

X.Org security advisory: July 31, 2020

X Server Pixel Data Uninitialized Memory Information Disclosure
===============================================================

CVE-2020-14347

Allocation for pixmap data in AllocatePixmap() does not initialize the
memory in xserver, it leads to leak uninitialize heap memory to
clients. When the X server runs with elevated privileges.

This flaw can lead to ASLR bypass, which when combined with other
flaws (known/unknown) could lead to lead to privilege elevation in the
client.

Patch
=====

A patch for this issue has been commited to the xorg server git
repository.  xorg-server 1.20.9 will be released shortly and will
include this patch.

https://gitlab.freedesktop.org/xorg/xserver.git

diff --git a/dix/pixmap.c b/dix/pixmap.c
index 1186d7dbb..5a0146bbb 100644
--- a/dix/pixmap.c
+++ b/dix/pixmap.c
@@ -116,7 +116,7 @@ AllocatePixmap(ScreenPtr pScreen, int pixDataSize)
     if (pScreen->totalPixmapSize > ((size_t) - 1) - pixDataSize)
         return NullPixmap;

-    pPixmap = malloc(pScreen->totalPixmapSize + pixDataSize);
+    pPixmap = calloc(1, pScreen->totalPixmapSize + pixDataSize);
     if (!pPixmap)
         return NullPixmap;

Thanks
======

This vulnerability was discovered by Jan-Niklas Sohn working with
Trend Micro Zero Day Initiative.
2020-07-31 16:50:57 +00:00
adam
d62c903eea revbump after updating security/nettle 2020-05-22 10:55:42 +00:00
wiz
d90f34d0ac modular-xorg-server: update to 1.20.8
Adam Jackson (1):
      Revert "dri2: Don't make reference to noClientException"

Arthur Williams (1):
      dix: Check for NULL spriteInfo in GetPairedDevice

Daniel Llewellyn (1):
      os: Ignore dying client in ResetCurrentRequest

Dave Airlie (1):
      modesetting: remove unnecessary error message, fix zaphod leases

David Seifert (1):
      Fix building with `-fno-common`

Dor Askayo (1):
      xwayland: clear pixmaps after creation in rootless mode

Eric Anholt (1):
      glamor: Fix a compiler warning since the recent OOM fixes.

George Matsumura (1):
      Restrict 1x1 pixmap filling optimization to GXcopy

Jon Turney (2):
      Add xf86OSInputThreadInit to stub os-support as well
      Fix old-style definition warning for xf86OSInputThreadInit()

Jonas Ådahl (1):
      xwayland/glamor-gbm: Handle DRM_FORMAT_MOD_INVALID gracefully

Kenneth Graunke (1):
      configure: Define GLAMOR_HAS_EGL_QUERY_DRIVER when available

Maarten Lankhorst (1):
      modesetting: Disable atomic support by default

Matt Turner (1):
      xserver 1.20.8

Michel Dänzer (8):
      modesetting: Explicitly #include "mi.h"
      xfree86/modes: Bail from xf86RotateRedisplay if pScreen->root is NULL
      xwayland: Split up xwl_screen_post_damage into two phases
      xwayland: Call glamor_block_handler from xwl_screen_post_damage
      xwayland: Add xwl_window_create_frame_callback helper
      xwayland: Use single frame callback for Present flips and normal updates
      xwayland: Use frame callbacks for Present vblank events
      xwayland: Delete all frame_callback_list nodes in xwl_unrealize_window

Paul Kocialkowski (4):
      glamor: Propagate FBO allocation failure for picture to texture upload
      glamor: Error out on out-of-memory when allocating PBO for FBO access
      glamor: Propagate glamor_prepare_access failures in copy helpers
      glamor: Fallback to system memory for RW PBO buffer allocation
2020-03-30 11:49:39 +00:00
tnn
4a7038e149 modular-xorg-server: skip portability check hw/xquartz/bundle/mk_bundke.sh 2020-03-13 11:16:59 +00:00
tnn
94cccce148 modular-xorg-server: Put back --enable-input-thread for SunOS
It's not possible to build without input-thread due to missing symbol
ddxInputThreadInit. input-thread seems to no longer crash the server.
2020-03-08 16:12:31 +00:00
tnn
e4002b040b modular-xorg-server: fix build on aarch64 2020-02-05 20:18:27 +00:00
rillig
b686dd9180 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:30:43 +00:00
wiz
4fdf4c2dd4 modular-xorg-server: update to 1.20.7.
A variety of bugfixes, primarily in modesetting, glamor, and Solaris
support. This release also contains support for choosing the DRI driver
via EGL_MESA_query_driver. Thanks to all who contributed with testing
and fixes!

Aaron Plattner (1):
     modesetting: Check whether RandR was initialized before calling rrGetScrPriv

Alan Coopersmith (5):
     os-support/solaris: Drop ExtendedEnabled global variable
     Add ddxInputThread call from os layer into ddx layer
     Add xf86OSInputThreadInit call from common layer into os-support layer
     os-support/solaris: Set IOPL for input thread too
     ospoll: Fix Solaris ports implementation to build on Solaris 11.4

Kenneth Graunke (2):
     glamor: Add a function to get the driver name via EGL_MESA_query_driver
     modesetting: Use EGL_MESA_query_driver to select DRI driver if possible

Matt Turner (1):
     xserver 1.20.7

Michel Dänzer (5):
     modesetting: Call glamor_finish from drmmode_crtc_set_mode
     xfree86/modes: Call xf86RotateRedisplay from xf86CrtcRotate
     modesetting: Clear new screen pixmap storage on RandR resize
     xwayland: Do flush GPU work in xwl_present_flush
     glamor: Only use dual blending with GLSL >= 1.30

Peter Hutterer (1):
     Xi: return AlreadyGrabbed for key grabs > 255
2020-01-15 14:24:03 +00:00
nia
1cb3a6538c modular-xorg-server: Sync with current NetBSD xsrc
Match the modesetting driver on x86 and ARM NetBSD.

from maya

Bump PKGREVISION
2019-12-10 17:27:05 +00:00
wiz
f54b7eba3c modular-xorg-server*: update to 1.20.6
1.20.6

A variety of bugfixes across the board, primarily in Xwayland and PRIME.
This release also includes GLX vendor selection support. Thanks to all
who contributed with testing and fixes!

Aaron Plattner (3):
     GLX: Set GlxServerExports::{major,minor}Version
     xfree86: Call ScreenInit for protocol screens before GPU screens
     os: Don't crash in AttendClient if the client is gone

Adam Jackson (7):
     xwayland: Expand the RANDR screen size limits
     miext/sync: Fix needless ABI change
     glx: Fix previous context validation in xorgGlxMakeCurrent
     meson: Fix another reference to "gl" 9.2.0
     meson: Apparently 1.2 is < 1.2.0
     mi: Add a default no-op miSourceValidate
     dix: Call SourceValidate before GetImage

Alex Goins (5):
     xsync: Add resource inside of SyncCreate, export SyncCreate
     randr: Fix RRCrtcDetachScanoutPixmap() segfault during server teardown
     modesetting: Fix ms_covering_crtc() segfault with non-modesetting slave primary
     modesetting: Fix ms_covering_crtc() segfault with non-xf86Crtc slave
     modesetting: Implement ms_covering_randr_crtc() for ms_present_get_crtc()

Alexander Tsoy (1):
     configure: Set libdrm flags correctly if only XORG is enabled

Alexander Volkov (1):
     shm: Use memfd_create when possible

Andres Rodriguez (1):
     xf86: Disable unused crtc functions when a lease is revoked

Carlos Garnacho (4):
     xwayland: Reset scheduled frames after hiding tablet cursor
     xwayland: Separate DamagePtr into separate window data
     xwayland: Refactor surface creation into a separate function
     xwayland: Handle the case of windows being realized before redirection

Eric Anholt (2):
     shm: reindent shm_tmpfile to follow our standards.
     shm: Pick the shm dir at run time, not build time.

Hans de Goede (1):
     glamor/xwayland: Define EGL_NO_X11

Kyle Brenneman (3):
     GLX: Add a per-client vendor mapping.
     GLX: Use the sending client for looking up XID's
     GLX: Add a function to change a clients vendor list.

Marco Trevisan (Treviño) (1):
     Xi: Use current device active grab to deliver touch events if any

Marvin Schmidt (1):
     build: glx: Lower gl version to work with libglvnd

Matt Roper (1):
     dri2: Sync i965_pci_ids.h from mesa

Matt Turner (3):
     dix: Assert noPanoramiXExtension is false in PanoramiX code
     xfree86: Test presence of isastream()
     xserver 1.20.6

Michel Dänzer (2):
     Revert "present/scmd: Check that the flip and screen pixmap pitches match"
     miext/sync: Make struct _SyncObject::initialized fully ABI compatible

Olivier Fourdan (7):
     xwayland: Avoid a crash on pointer enter with a grab
     xwayland: Check status in GBM pixmap creation
     glamor: Make pixmap exportable from `gbm_bo_from_pixmap()`
     xwayland: Update screen pixmap on output resize
     xwayland: Do not free a NULL GBM bo
     compiler.h: Do not include sys/io.h on ARM with glibc
     present/wnmd: Relax assertion on CRTC on abort_vblank()

Samuel Thibault (2):
     Fix crash on XkbSetMap
     Fix crash on XkbSetMap

Sven Joachim (1):
     modesetting: Fix broken manpage in autoconf build

1.20.5

Minor bugfix release to fix some input, Xwayland, glamor, and Present
issues. Thanks to all who contributed fixes and testing.

Adam Jackson (1):
      xserver 1.20.5

Michel Dänzer (3):
      Revert "gitlab-ci: Only run docker-image stage if relevant source files change"
      xwayland/present: Destroy sync_callback in xwl_present_cleanup
      present/scmd: Check that the flip and screen pixmap pitches match

Olivier Fourdan (2):
      xwayland: search for a render node to use
      glamor: pixmap FBO may not be allocated

Peter Hutterer (2):
      xwayland: fix a realloc OOM error case
      dix: leave last.valuators alone on slave switch

Ray Strode (1):
      dix: ensure work queues are cleared on reset
2019-11-26 10:02:42 +00:00
wiz
4627035f64 modular-xorg-server: really remove unused libxkbui dependency 2019-11-26 09:13:11 +00:00
wiz
9591987e3a modular-xorg-*: remove libxkbui bl3.mk
Unused for years (was only used by removed xorgcfg).

Bump PKGREVISION.
2019-11-25 22:32:52 +00:00
wiz
c7372e1fca modular-xorg-server*: Remove libXxf86misc inclusion
It is not actually used. Bump PKGREVISION.
2019-11-24 21:43:39 +00:00
wiz
b0b2569805 evieext: remove, it's part of xorgproto now
Noted by taca.
2019-11-15 09:18:16 +00:00
nia
47f33df0a6 *: fix manual definition of evdev mouse button ids 2019-10-29 22:46:39 +00:00
nia
f58a37bd35 Add x11/modular-xorg-xwayland.
XWayland is a fully fledged X server implementation that acts as a proxy
between X11 clients and a Wayland compositor.

It runs as a specialized Wayland client, while optionally using a set of
XWayland specific Wayland protocols for implementing certain functionality.

The Wayland compositor acts both as the Wayland display server XWayland
connects to, as well as the window manager.
2019-08-22 19:52:29 +00:00
nia
6cf0dd5dc8 modular-xorg-server: Add Xwayland support to options.mk.
This no longer needs modular X to build with DRI, so make that
unconditional.
2019-08-22 13:12:31 +00:00
nia
fb506e5570 Remove graphics/MesaLib7, x11/modular-xorg-server112
Also remove legacy drivers only building against mxs112:

* x11/xf86-video-newport
* x11/xf86-video-modesetting (integrated into later X versions)

According to tnn, these are no longer useful.

* Originally kept for drm1 users (NetBSD 6).
* The one use case that actually worked was xf86-video-ati6.
* That driver has been patched to work with the new server ABI.
2019-08-21 17:40:41 +00:00
wiz
c30c5fbc0b *: recursive bump for nettle 3.5.1 2019-07-20 22:45:58 +00:00
tnn
2e546d1338 modular-xorg-server: clang build fix 2019-02-28 12:32:39 +00:00
wiz
f37ef4c97d modular-xorg-server: update to 1.20.4.
A variety of bugfixes across the board, but primarily in Xwayland.
Thanks to all who contributed with testing and fixes!

A. Wilcox (1):
      DRI2: Add another Coffeelake PCI ID

Adam Jackson (6):
      automake: Distribute meson's configure header templates
      dri3: Fix XACE access mode for open and get_supported_modifiers
      mi: When {en,dis}abling extensions, match names case-insensitively
      vnd: Fix a silly memory leak
      gitlab: Skip the docker-in-docker step
      xserver 1.20.4

Alan Coopersmith (3):
      Update README for gitlab migration
      Update configure.ac bug URL for gitlab migration
      os: Report errors opening authorization file (#469)

Ilia Mirkin (1):
      modesetting: fix conn_id termination and potential overrun by 1 byte

Lionel Landwerlin (1):
      present: fix compile warning with debug traces

Lyude Paul (1):
      modesetting: Actually disable CRTCs in legacy mode

Maya Rashish (2):
      Fix typo in error message
      xfree86: Try nouveau on NetBSD as well.

Michel Daenzer (2):
      travis: Use a single meson invocation
      Make artifacts of piglit results if job fails

Michel Dänzer (22):
      xwayland: Plug leaks in xwl_present_sync_callback
      xwayland: Use xwl_present_reset_timer in xwl_present_timer_callback
      xwayland: Rename xwl_present_events_notify to xwl_present_msc_bump
      xwayland: Complete "synchronous" Present flips from xwl_present_msc_bump
      xwayland: Replace xwl_window::present_window with ::present_flipped
      xwayland: Add xwl_present_unrealize_window
      xwayland: Don't need xwl_window anymore in xwl_present_queue_vblank
      xwayland: Don't take buffer release queue into account for frame timer
      glamor: Check that storage format is compatible with RENDER format
      xfree86/modes: Don't clobber gamma LUT of compatibility output's CRTC
      Drop Travis Linux build in favour of GitLab CI
      gitlab-ci: Docker image can be generated as part of pipeline
      test: Use .../piglit instead of .../piglit-*.py
      gitlab-ci: Set LC_ALL=C.UTF-8
      gitlab-ci: Only run docker-image stage if relevant source files change
      gitlab-ci: Don't rely on $CI_PROJECT_NAME
      gitlab-ci: Add ccache to docker image, and leave in autotools
      gitlab-ci: Use ccache
      gitlab-ci: Add autotools build & test job
      present/wnmd: Allow flipping if the window pixmap matches the toplevel's
      glx,xquartz: Fix make distcheck
      gitlab-ci: Run make distcheck in autotools build & test job

Olivier Fourdan (3):
      present/wnmd: Fix use after free on CRTC removal
      xwayland: do not crash if `gbm_bo_create()` fails
      xwayland: handle case without any crtc

Peter Harris (1):
      os: Fix GetTimeInMicros resolution

Peter Hutterer (2):
      test: fix failing tests
      Xi: lock the input thread for any pointer barrier list manipulation
2019-02-27 16:32:58 +00:00
maya
285145a1f3 modular-xorg-server: don't require root. match wsfb (for genfb).
bump PKGREVISION
2018-10-26 10:20:12 +00:00
maya
96434353e8 modular-xorg-server: update to 1.20.3, security fix.
Matthieu Herrb (2):
      Disable -logfile and -modulepath when running with elevated privileges
      LogFilePrep: add a comment to the unsafe format string.

Peter Hutterer (1):
      xfree86: fix readlink call
2018-10-25 22:40:57 +00:00
wiz
1b34719df5 modular-xorg-server: update to 1.20.2.
Lots of bugfixes all over the map. Thanks to all for testing and
patches!

Adam Jackson (8):
      modesetting: Lie less in the man page
      modesetting: Document Option "DoubleShadow" in the man page
      xfree86: Fix Option "MaxClients" validation
      modesetting: Don't free(dst) in drmmode_prop_info_copy
      glamor_egl: Don't initialize on llvmpipe
      glamor/egl: Avoid crashing on broken configurations
      fbdevhw: Refuse to touch PCI devices on the fallback probe path
      xserver 1.20.2

Alex Goins (1):
      randr: rrCheckPixmapBounding should only increase screen size

Alexander Volkov (1):
      os/xdmcp: Don't create a new socket in XdmcpReset()

Cedric Roux (1):
      miext/damage: take care of the coordinate mode in damagePolyPoint

Dave Airlie (9):
      shm: move shmsize verify before allocating the drawable.
      xi: free modifiers_failed on error path. (v2)
      fboverlay: move bpp checks above malloc
      glamor: fix leak of fs_getcolor_source.
      modesetting: get pEnt after error checks
      posix_tty: free leak of xf86SetStrOption return value.
      xkb: fix what looks to be a copy-paste error with first vs firstMM
      mibltblt: free prgnSrcClip on error path.
      devices: break after finding and removing device from lists

Jim Qu (1):
      modesetting: code refactor for PRIME sync

Lionel Landwerlin (2):
      present: fix freed pointer access
      xwayland: fix access to invalid pointer

Olivier Fourdan (3):
      glx: check for indirect context in CreateContextAttribsARB()
      xwayland: Remove xwl_present_window from privates on cleanup
      xwayland: Use `double` for `xwl_tablet_tool`

Peter Hutterer (1):
      dix: check_modmap_change() returns Success, not true

Pierre Ossman (1):
      Switch automatic composite update to WorkQueue

Scott Anderson (1):
      xwayland: use wayland axis_discrete event
2018-10-18 18:12:38 +00:00
wiz
28516fcab4 modular-xorg-server: update to 1.20.1.
This bugfix release fixes several issues in RANDR, Xwayland, glamor,
the modesetting driver, and elsewhere. Everyone is encouraged to
upgrade. Thanks to all who contributed to this release!

Adam Jackson (1):
      xserver 1.20.1

Alexander Volkov (1):
      Xext/shm: Refuse to work for remote clients

Bas Nieuwenhuizen (1):
      DRI2: Sync radeonsi_pci_ids.h from Mesa

Damien Leone (1):
      os: Recompute whether any clients are ready after check_timers()

Dave Airlie (1):
      xwayland: fix typo in non-modifier fallback path

John Lumby (1):
      Change the DPMS initialization to be conditional on not set from config

Jon Turney (4):
      meson: install xwinclip and Xwinrc man pages
      meson: don't install xorg wrapper manpages if suid-wrapper isn't being used
      meson: don't put literal 'PACKAGE_STRING' and 'XORG_MAN_PAGE' in man pages
      meson: use absolute paths in manpage substitutions

Keith Packard (6):
      modesetting: Allow a DRM fd to be passed on command line with -masterfd [v2]
      xfree86: Reset randr_crtc and randr_output early in xf86CrtcCloseScreen
      xfree86: Wrap RRCrtcIsLeased and RROutputIsLeased to check for DIX structures
      xf86-video-modesetting: Don't enable UNIVERSAL_PLANES separately
      xf86-video-modesetting: Lease planes as well if using atomic
      During reset/shutdown, clean up leases in DIX instead of each driver

Laurent Carlier (1):
      meson: Add configuration of listening on tcp, unix and local

Lukas F. Hartmann (1):
      glamor_init: clamp GLSL to 120 if platform doesn't have instanced arrays

Lyude Paul (5):
      modesetting: Also disable CRTC in drmmode_output_disable()
      glamor: Unbreak glamor_fd_from_pixmap()
      randr: Scream when creating a shared pixmap fails
      modesetting: Fix uninitialized memory usage in drmmode_crtc_get_fb_id()
      meson: ensure the libc has RPC functions when secure-rpc is enabled

Matt Turner (1):
      xfree86: Inline xf86{Read,Write}Mmio{8,16,32} on alpha

Michał Górny (1):
      xfree86: Makefile shouldn't rely on superuser being named 'root'

Michel Dänzer (6):
      xfree86: Fix O_CLOEXEC usage in lnx_platform
      modesetting: Pass O_CLOEXEC when opening a DRM device
      glamor: Always return 0 from glamor_fds_from_pixmap on error
      glamor: Propagate glamor_fds_from_pixmap error in glamor_fd_from_pixmap
      exa: Use PictureMatchFormat for source-only picture format description
      present/wnmd: Preserve window pixmap's screen_x/y on flip

Olivier Fourdan (20):
      xwayland: use pixmap size on present flip
      xwayland: allow "-eglstream" option
      xwayland: "EGL_EXT_device_base" required for EGLStream
      xwayland: process Wayland events after adding screen
      xwayland: do not disable glamor if EGLStream failed
      xwayland: make xwl_output_get_xdg_output() static
      xwayland: move glamor specific routines
      xwayland: swap "name" and "id" in init_wl_registry()
      xwayland: GBM should fail w/out "GL_OES_EGL_image"
      xwayland: skip drm authentication with render node
      xwayland: move egl_backend to its own struct
      xwayland: Add Wayland interfaces check
      xwayland: move EGL backend init to glamor
      xwayland: refactor EGL backends for wayland registry
      xwayland: check for EGLStream backend explicitly
      xwayland: EGL_IMG_context_priority required by EGLStream
      xwayland: simplify xwl_glamor_pixmap_get_wl_buffer()
      xwayland: mandatory EGL backend API
      modesetting: use drmmode_bo_import() for rotate_fb
      xwayland: Enable DRI3 for glamor

Peter Hutterer (1):
      Xext: dynamically allocate the PanoramiXDepths[j].vids array

Roman Kapl (2):
      Xi: fix byte-swapping of button labels
      Xi: add forgotten byte-swaps for Valuator fields

Stefan Agner (1):
      modesetting: Fix 16 bit depth/bpp mode

Takashi Iwai (1):
      modesetting: Fix cirrus 24bpp breakage

Thomas Hellstrom (1):
      glamor: Work around GEM usage v2

Vladimir Panteleev (1):
      glx/vndcmds: Fix vendor hash table key size

emersion (1):
      xwayland: rotate logical size for RRMode
2018-08-14 09:35:36 +00:00
jperkin
6b21ccfbb3 modular-xorg-server: Avoid mkostemp on SunOS.
It's available in newer illumos, but was missing from the public headers
for a while in older releases, so this is more portable.
2018-07-05 14:28:11 +00:00
wiz
28075f2473 modular-xorg-server: update to 1.20.0.
1.20.0

Lots of Present, DRI3 modifier, and buildsystem fixes. Thanks to
everyone who contributed to this release!


1.19.99.905

More bugfixes, and streams support for Xwayland. This will almost
certainly be the last RC.

1.19.99.904

Another batch of cleanups and fixes, mostly in glamor and DRI3.

At this point the only outstanding major feature for 1.20 that hasn't
landed yet is EGLStreams support for Xwayland. The patches require some
minor rebasing to account for per-window flips in Present, I'll post
that momentarily I suppose. I'm honestly of two minds about merging it,
the deafening silence of review feedback has not been encouraging.

1.19.99.903

Fixes for meson, modesetting, and a crash I introduced right before RC2.

1.19.99.902

This merges the DRI3 1.2 support (with an asterisk) and per-window
flips for Xwayland, along with the usual collection of miscellaneous
fixes. In particular the meson build is much closer to production-
ready. The asterisk for DRI3 is that the modesetting driver has some
known issues still, so the code to enable planes and modifiers is
hidden behind an xorg.conf option:

Section "ServerFlags"
    Option "Debug" "dmabuf_capable"
EndSection

Thanks to all for testing and debugging.
2018-05-11 13:47:35 +00:00
wiz
380b6ec244 xorgproto: use xorgproto instead of separate *proto packages
Remove now obsolete packages.
2018-03-07 11:57:28 +00:00
jperkin
fe4d06cc1e modular-xorg-server: Fix asm syntax to work with clang. 2018-01-25 15:06:10 +00:00
wiz
fd4ff7e231 modular-xorg-server: update to 1.19.6.
Yet another collection of fixes from master. There will likely be at
least one more 1.19.x release in 2018 as there are still a number of
unreviewed patches pending. Until then, happy new year.
2017-12-20 22:40:48 +00:00
wiz
911a7765ba modular-xorg-server: update to 1.19.5.
One regression fix since 1.19.4 (mea culpa), and fixes for CVEs 2017-
12176 through 2017-12187. C is a terrible language, please stop writing
code in it.
2017-10-12 23:29:58 +00:00
wiz
d2f45811ca modular-xorg-server: update to 1.19.4.
A collection of stability fixes from the development branch, including
two minor CVEs. Thanks to all who sent in patches!

Aaron Plattner (1):
      randr: Use RRTransformEqual in RRCrtcPendingTransform

Adam Jackson (11):
      parser: Fix crash when xf86nameCompare(s1 = x, s2 = NULL)
      xinerama: Implement graphics exposures for window->pixmap copies (v4)
      ephyr: Don't clobber bitsPerPixel when using glamor
      xephyr: Check for host XVideo support before trying to use it
      modesetting: Validate the atom for enum properties
      wayland: Sync drm.xml with Mesa
      os: Fix warning in LockServer
      xfree86: Silence a new glibc warning
      dmx: Silence an unused-result warning
      dmx: Remove some not-very-interesting debug prints
      xserver 1.19.4

Carlos Garnacho (5):
      xwayland: Allow pointer warp on root/None window
      xwayland: "Accept" confineTo on InputOnly windows
      xwayland: Update root window size when desktop size changes
      xwayland: Lock the pointer if it is confined and has no cursor
      Xi: Use WarpPointerProc hook on XI pointer warping implementation

Daniel Stone (1):
      modesetting: Set correct DRM event context version

Dawid Kurek (1):
      modesetting: Blacklist EVDI devices from PRIME sync

Eric Anholt (1):
      glamor: Fix dashed line rendering.

Jason Gerecke (1):
      xfree86: Fix interpretation of xf86WaitForInput timeout

Jon TURNEY (1):
      Move statically linked xorgxkb files from dixmods to a separate directory

Keith Packard (6):
      os: un-duplicate code to close client on write failure
      os: Mark client as ready to read when closing due to write failure [100863]
      dix: Remove clients from input and output ready queues after closing
      modesetting: Skip no-longer-present connectors when resetting BAD links
      xkb: Handle xkb formated string output safely (CVE-2017-13723)
      xf86-video-modesetting: Add ms_queue_vblank helper [v3]

Kenneth Graunke (1):
      dri2: Sync i965_pci_ids.h from Mesa.

Louis-Francis Ratté-Boulianne (1):
      present: Check the whole exec queue on event

Lyude (1):
      xwayland: Don't load extension list more than once

Martin Peres (1):
      modesetting: re-set the crtc's mode when link-status goes BAD

Michal Srb (7):
      Xi: Zero target buffer in SProcXSendExtensionEvent.
      dix: Disallow GenericEvent in SendEvent request.
      Xi: Verify all events in ProcXSendExtensionEvent.
      Xi: Do not try to swap GenericEvent.
      Xi: Test exact size of XIBarrierReleasePointer
      Xext/shm: Validate shmseg resource id (CVE-2017-13721)
      xkb: Escape non-printable characters correctly.

Michel Dänzer (5):
      xfree86/modes: Make colormap/gamma glue code work with RandR disabled
      os: Handle SIGABRT
      glamor: Store the actual EGL/GLX context pointer in lastGLContext
      glamor: Fix temporary pixmap coordinate offsets
      xfree86/modes: Use RRTransformEqual in xf86RandR12CrtcSet

Nick Sarnie (1):
      suid: Include sysmacros.h to fix build after glibc-2.25

Olivier Fourdan (9):
      glamor: Check for NULL pixmap in glamor_get_pixmap_texture()
      Xephyr: Check screen resources creation success
      glamor: glamor_set_destination_drawable() can fail
      glamor: Check glamor_set_destination_drawable() return value
      glamor: avoid a crash if texture allocation failed
      glamor: an FBO is not needed for Xv pixmaps
      xwayland: Fix a segfault with pointer locking
      glamor: handle NULL source picture
      glamor: Avoid overflow between box32 and box16 box

Peter Hutterer (2):
      test: fix compiler warning
      xfree86: up the path name size to 512 in xf86MatchDriverFromFiles

Rodrigo Vivi (1):
      dri2: Sync i965_pci_ids.h from Mesa.

Tobias Stoeckmann (2):
      record: Fix OOB access in ProcRecordUnregisterClients
      dmx: Fix null pointer dereference
2017-10-05 15:34:13 +00:00
wiz
d04c158a2a CVE-2017-10971 and CVE-2017-10972: apply fixes to the event loop from
https://cgit.freedesktop.org/xorg/xserver/commit/?id=ba336b24052122b136486961c82deac76bbde455
   https://cgit.freedesktop.org/xorg/xserver/commit/?id=8caed4df36b1f802b4992edcfd282cbeeec35d9d
   https://cgit.freedesktop.org/xorg/xserver/commit/?id=215f894965df5fb0bb45b107d84524e700d2073c
   https://cgit.freedesktop.org/xorg/xserver/commit/?id=05442de962d3dc624f79fc1a00eca3ffc5489ced

via xsrc patch from mrg@ at

https://mail-index.netbsd.org/source-changes/2017/07/07/msg086134.html

Bump PKGREVISION.
2017-07-28 21:10:00 +00:00
jperkin
b403fa8346 Disable input threading on SunOS, it immediately core dumps. Bump PKGREVISION. 2017-07-07 12:12:34 +00:00
jperkin
eac4553f6a Avoid picking up epoll on illumos. 2017-04-10 13:10:19 +00:00
wiz
a2ec4202b0 Updated modular-xorg-server to 1.19.3.
1.19.3

A couple more minor fixes, most notably a revert of a page-flipping                                                                                                            change that regressed some drivers.                                                                                                                                                                                                                                                                                                                           Adam Jackson (2):                                                                                                                                                                    Revert "present: Allow flipping with PRIME slave outputs"                                                                                                                      xserver 1.19.3                                                                                                                                                                                                                                                                                                                                          Chris Wilson (2):                                                                                                                                                                    Revert "prime: Sync shared pixmap from root window instead of screen pixmap"                                                                                                   os: Fix iteration over busfaults                                                                                                                                                                                                                                                                                                                        Dr.-Ing. Dieter Jurzitza (1):                                                                                                                                                        glamor: Fix missing declaration in dash vertex shader                                                                                                                                                                                                                                                                                                   Olivier Fourdan (2):                                                                                                                                                                 xwayland: clear cursor frame callback                                                                                                                                          xwayland: Monitor client states to destroy callbacks                                                                                                                                                                                                                                                                                                    Qiang Yu (1):                                                                                                                                                                        present: disable page flip only when a slave crtc is active                                                                                                                                                                                                                                                                                             Tobias Stoeckmann (1):                                                                                                                                                               render: Fix out of boundary heap access
1.19.2

A collection of stability fixes here across glamor, Xwayland, input,
and Prime support. Also a security fix for CVE-2017-2624, a timing
attack which can brute-force MIT-MAGIC-COOKIE authentication. Everybody
is encouraged to upgrade. Thanks to all who contributed fixes!

Adam Jackson (5):
      xserver 1.19.2
      Revert "xserver 1.19.2"
      os: Squash missing declaration warning for timingsafe_memcmp
      xserver 1.19.2
      xserver 1.19.2, no, really

Chris Wilson (3):
      xfree86: Take the input lock for xf86RecolorCursor
      xfree86: Take input lock for xf86TransparentCursor
      xfree86: Take input_lock() for xf86ScreenCheckHWCursor

Matthieu Herrb (4):
      Use timingsafe_memcmp() to compare MIT-MAGIC-COOKIES CVE-2017-2624
      Use arc4random_buf(3) if available to generate cookies.
      auth: remove AuthToIDFunc and associated functions. Not used anymore.
      Brown bag commit to fix 957e8d (arc4random_buf() support)

Michel Dänzer (3):
      prime: Sync shared pixmap from root window instead of screen pixmap
      present: Allow flipping with PRIME slave outputs
      damage: Validate source pictures bound to windows before unwrapping

Olivier Fourdan (5):
      xwayland: Apply output rotation for screen size
      xwayland: CRTC should support all rotations
      glamor: Two pass won't work on memory pixmaps
      xwayland: Make sure we have a focus window
      xwayland: do not set checkRepeat on master kbd

Peter Hutterer (1):
      os: log a bug whenever WriteToClient is called from the input thread

Svitozar Cherepii (1):
      xwayland: Add hack for FWXGA resolution #99574
2017-03-16 11:56:46 +00:00