~thopiekar/xorg-server/+git/xorg-xserver:server-1.18-branch

Last commit made on 2022-06-15
Get this branch:
git clone -b server-1.18-branch https://git.launchpad.net/~thopiekar/xorg-server/+git/xorg-xserver

Branch merges

Branch information

Name:
server-1.18-branch
Repository:
lp:~thopiekar/xorg-server/+git/xorg-xserver

Recent commits

53130b6... by Jeremy Sequoia

Revert "randr: Initialize RandR even if there are currently no screens attached"

This wasn't intended to be present in the merged patch series. Sorry for the noise.

This reverts commit 6f13c13ed69078d4ed33cfb53b804b04c2cb702d.

f62edff... by Jeremy Sequoia

Revert "glx: Initialize glx even if there are currently no screens attached"

This wasn't intended to be present in the merged patch series. Sorry for the noise.

This reverts commit 7e7480ff47dc0789d224f2074f8478ec027008af.

243c2d7... by Jeremy Sequoia

xquartz: Fix appFlags build failure with macOS 10.15+ SDKs

Signed-off-by: Jeremy Huddleston Sequoia <email address hidden>
(cherry picked from commit e59848548a462f1a0ac751bb8bb6afe56258cf4e)

15b99dc... by Jeremy Sequoia

xquartz: Fix a compiler warning about const incompatible pointer assignment

driWrap.c:541:30: error: assigning to 'GCOps *' (aka 'struct _GCOps *') from 'const GCOps *' (aka 'const struct _GCOps *') discards
      qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
        pGCPriv->originalOps = pGC->ops;
                             ^ ~~~~~~~~

Signed-off-by: Jeremy Huddleston Sequoia <email address hidden>
(cherry picked from commit 6a83fb51b7a8b2e167e7d6380229b69e5452f91f)

06e3799... by Jeremy Sequoia

xquartz: Silence a compiler warning about missing internal methods on NSApplication

Signed-off-by: Jeremy Huddleston Sequoia <email address hidden>
(cherry picked from commit 279bcbd9cf9e557a6789d6e4cede8e8799c3788e)

f201425... by Jeremy Sequoia

XQuartz: Hack around an issue that can occur on macOS due to background apps incorrectly stealing focus

Works around <rdar://problem/7150340>.

Tested-by: Martin Otte <email address hidden>
Tested-by: Tom Lane <email address hidden>
Signed-off-by: Jeremy Huddleston Sequoia <email address hidden>
(cherry picked from commit dd0b721c977e88d7c3830cc2a672c2793bca4fa0)

f724cbf... by Jim DeLaHunt <email address hidden>

Fix typo "XQaurtz" in Xquartz.man

(cherry picked from commit 039d68238de67af9db46b6dbc919955a1c6a0467)

7e7480f... by Jeremy Sequoia

glx: Initialize glx even if there are currently no screens attached

Failure to do so causes an overvlow in glxClientCallback

Application Specific Information:
X.Org X Server 1.18.99.1 Build Date: 20160911
=================================================================
==52118==ERROR: AddressSanitizer: SEGV on unknown address 0x000102b27b80 (pc 0x000103433245 bp 0x70000de67c20 sp 0x70000de67c00 T6)
    #0 0x103433244 in __asan::asan_free(void*, __sanitizer::BufferedStackTrace*, __asan::AllocType) (libclang_rt.asan_osx_dynamic.dylib+0x3244)
    #1 0x10347aeee in wrap_free (libclang_rt.asan_osx_dynamic.dylib+0x4aeee)
    #2 0x102e6a5ed in glxClientCallback glxext.c:301
    #3 0x102b672a3 in _CallCallbacks dixutils.c:737
    #4 0x102b2f0c6 in CallCallbacks callback.h:83
    #5 0x102b5c15a in NextAvailableClient dispatch.c:3562
    #6 0x102d7060c in AllocNewConnection connection.c:777
    #7 0x102d71355 in EstablishNewConnections connection.c:863
    #8 0x102b662f0 in ProcessWorkQueue dixutils.c:523
    #9 0x102d52a7f in WaitForSomething WaitFor.c:175
    #10 0x102b204f6 in Dispatch dispatch.c:411
    #11 0x102b61e01 in dix_main main.c:301
    #12 0x10254c42a in server_thread quartzStartup.c:66
    #13 0x7fffc5f16aaa in _pthread_body (libsystem_pthread.dylib+0x3aaa)
    #14 0x7fffc5f169f6 in _pthread_start (libsystem_pthread.dylib+0x39f6)
    #15 0x7fffc5f161fc in thread_start (libsystem_pthread.dylib+0x31fc)

Signed-off-by: Jeremy Huddleston Sequoia <email address hidden>
(cherry picked from commit 42a41fabd58ec5c572c7affd095ee15f57883a0d)

6f13c13... by Jeremy Sequoia

randr: Initialize RandR even if there are currently no screens attached

Failure to do so causes an overvlow in RRClientCallback().

=================================================================
==41262==ERROR: AddressSanitizer: global-buffer-overflow on address 0x000103ccfbc8 at pc 0x0001034f32b9 bp 0x7000035a94c0 sp 0x7000035a94b8
WRITE of size 4 at 0x000103ccfbc8 thread T6
    #0 0x1034f32b8 in RRClientCallback randr.c:72
    #1 0x1038c75e3 in _CallCallbacks dixutils.c:737
    #2 0x10388f406 in CallCallbacks callback.h:83
    #3 0x1038bc49a in NextAvailableClient dispatch.c:3562
    #4 0x103ad094c in AllocNewConnection connection.c:777
    #5 0x103ad1695 in EstablishNewConnections connection.c:863
    #6 0x1038c6630 in ProcessWorkQueue dixutils.c:523
    #7 0x103ab2dbf in WaitForSomething WaitFor.c:175
    #8 0x103880836 in Dispatch dispatch.c:411
    #9 0x1038c2141 in dix_main main.c:301
    #10 0x1032ac75a in server_thread quartzStartup.c:66
    #11 0x7fffc5f16aaa in _pthread_body (libsystem_pthread.dylib+0x3aaa)
    #12 0x7fffc5f169f6 in _pthread_start (libsystem_pthread.dylib+0x39f6)
    #13 0x7fffc5f161fc in thread_start (libsystem_pthread.dylib+0x31fc)

Signed-off-by: Jeremy Huddleston Sequoia <email address hidden>
(cherry picked from commit 7d901d6ecc179020e213664da475ae9e2888ea1d)

c464bd5... by Jeremy Sequoia

os/connection: Improve abstraction for launchd secure sockets

This changes away from hard-coding the /tmp/launch-* path to now
supporting a generic <absolute path to unix socket>[.<screen>]
format for $DISPLAY.

cf-libxcb: d978a4f69b30b630f28d07f1003cf290284d24d8

Signed-off-by: Jeremy Huddleston Sequoia <email address hidden>
CC: Adam Jackson <email address hidden>
(cherry picked from commit bf2bb516a584937cd45728fdb6e21bc84dce365a)