commit c08db53f726e0c68757471cfe1ad8443d66ea231
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 8 17:23:14 2025 -0800

    xscope 1.4.5
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f610465a9e2bab52dd55a567f6cb5c9469fc9fdb
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jan 18 15:47:35 2025 -0800

    if inet_ntop() is available, use it for IPv4 addresses as well
    
    Support for using inet_ntop() was originally added to support IPv6,
    and only used for IPv6 addresses in PrintHOST().  Two decades later,
    support for inet_ntop() is ubiquitous and OS'es have marked inet_ntoa()
    as deprecated, so use the modern interface for IPv4 as well now.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xscope/-/merge_requests/14>

commit 9d5faa5a1a18f86e6efc69e4db5f019aa59ecac6
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Nov 10 15:48:40 2024 -0800

    InitializeFD: only define "i" if we're going to use it
    
    If we're using closefrom, then we don't use i to loop through the fd's.
    
    Found by clang 13.0.1:
    
    fd.c:91:9: warning: unused variable 'i' [-Wunused-variable]
        int i;
            ^
    
    Fixes: 59ee902 ("Use closefrom() if available")
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xscope/-/merge_requests/13>

commit 59ee902e952c58d989de64e6ab0511e5a2dc3c0d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Feb 11 12:46:41 2024 -0800

    Use closefrom() if available
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c85c1f5480ac8f7c0d43a4b0f353e6f6828901af
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Feb 11 12:34:11 2024 -0800

    Remove ifdefs checking for ultrix & hpux
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b77d54e21526455b41e406c1cb43c781f4398817
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jun 3 11:40:03 2023 -0700

    xscope 1.4.4
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 897ba64c8c3b2b9086f61726efc5031b8ec30cf3
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 25 09:02:00 2023 -0800

    Remove "All rights reserved" from Oracle copyright notices
    
    Oracle no longer includes this term in our copyright & license notices.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 8acbf8a86d4421356dca6d4892e1652043583dfc
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Feb 7 17:38:30 2023 -0800

    Add support for DAMAGE extension versions 1.0 & 1.1
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit fe6483c2305ccd2fde0f433a42af2715def33fff
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Feb 7 17:36:42 2023 -0800

    PrintField: Don't over-indent when verbose < 3
    
    When not printing out the contents of embedded structures,
    PrintField was still increasing the indent level, but returning
    before returning it to the prior level, leaving the later fields
    over-indented.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 67ffde62e837f4b466141366c238ff134cf36edd
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Feb 7 17:10:59 2023 -0800

    DataFromClient: Avoid segfault if FlushFD() closed the connection
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 4e297db3cf54a629a2c8f38b068cd4f8434afa4c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Jul 13 15:51:58 2022 -0700

    fd.h: fix build when not building with xtrans
    
    Always include <X11/Xfuncproto.h> for the definition of _X_NORETURN,
    instead of relying on Xtrans.h to include it indirectly for us.
    
    Fixes: #2
    Fixes: commit cc298d1f559240976344588f9f765ee60ca3d6f3
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 1bc30844ebf6ee3b7b14101f34defbd65ff85134
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Jul 13 15:48:24 2022 -0700

    gitlab CI: build with both --enable-xtrans & --disable-xtrans
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit dff14856677de1e09a72204970bb725a19ebbebd
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Jul 13 15:46:06 2022 -0700

    gitlab CI: stop requiring Signed-off-by in commits
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d0db9898af09e0777bc86ff51adf17ac931aaddc
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 10 17:31:23 2022 -0700

    scope.h: remove second include of fd.h
    
    once is enough
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 228e50fe0578c747029a7af00be18c346100f76c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 10 16:04:26 2022 -0700

    xscope 1.4.3
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d94dd2b9dd161ac32bf37d5b110d6b6dcc1c541f
Author: Matthieu Herrb <matthieu@herrb.eu>
Date:   Sun May 1 19:02:20 2022 +0200

    On OpenBSD SO_PEERCRED uses struct sockpeercred
    
    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>

commit cc298d1f559240976344588f9f765ee60ca3d6f3
Author: Thomas Klausner <tk@giga.or.at>
Date:   Tue Dec 7 20:47:21 2021 +0100

    Mark MainLoop as _X_NORETURN.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 01280ca64a96939e18447f075e3c7199e3ddd0d0
Author: Thomas Klausner <tk@giga.or.at>
Date:   Tue Dec 7 08:59:18 2021 +0100

    Add casts to fix signedness change warnings.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6cbd46bb766532362bec6b8eb1fdcaa1fb658ba1
Author: Thomas Klausner <tk@giga.or.at>
Date:   Tue Dec 7 08:59:17 2021 +0100

    Increase buffer length to avoid truncation.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d09f1c6fafe75cac58409d026d7e6d43112f0d97
Author: Thomas Klausner <tk@giga.or.at>
Date:   Tue Dec 7 08:59:16 2021 +0100

    Use correct argument type for ctype(3) functions.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d1214f20d5a946a461624b894678b155ed02d906
Author: Thomas Klausner <tk@giga.or.at>
Date:   Tue Dec 7 08:59:15 2021 +0100

    ifdef out unused static functions
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 43c6dc5894e6f64d6efaae7fd572fda00559cfdd
Author: Thomas Klausner <tk@giga.or.at>
Date:   Tue Dec 7 08:59:14 2021 +0100

    Match format strings with arguments.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a957eb52df4a0c593f862790728c692ea11c42e8
Author: Thomas Klausner <tk@giga.or.at>
Date:   Tue Dec 7 08:59:13 2021 +0100

    Remove/comment out unused variables.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit bcc50bd2b541102e515aaa58ba1e20d30b7d69f6
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Dec 6 16:49:55 2021 -0800

    xscope 1.4.2
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 744bd9412a714af03fcd53dbbe5cebd51cb492d0
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Dec 4 09:37:05 2021 -0800

    Fix spelling/wording issues
    
    Found by using:
        codespell --builtin clear,rare,usage,informal,code,names
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 37f85417f4a9c57d6995968ac3e8cf7fc440236c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Dec 4 09:32:25 2021 -0800

    Build xz tarballs instead of bzip2
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b6485edb4f07f6ea5b0b2a49e138467e38fb1ca1
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Dec 2 15:16:31 2021 -0800

    gitlab CI: add a basic build test
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d840ae5e5438402d752f83ddc297cf08cf2ae067
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Feb 17 14:56:26 2019 -0800

    Add support for process ID and names on Solarish systems
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 4f4c7bf594dd58db0d98c79e884c0117ded2b472
Author: Peter Wu <peter@lekensteyn.nl>
Date:   Wed Aug 5 17:17:17 2015 +0200

    Add support for process ID and names
    
    Adds the process ID and name of the other side. Useful if you have
    multiple clients. Support for OpenBSD could be added in theory since
    it has a similar "struct sockpeercred" structure (not sure about
    process name though).
    
    After this change, the process ID and name (when available) will be
    appended between parentheses:
    
         0.01: Client (pid 23433 xdpyinfo) -->    4 bytes
                 ............REQUEST: ListExtensions
         0.01:                                   332 bytes <-- X11 Server (pid 8290 Xorg)
                                                 ..............REPLY: ListExtensions
                                                               names: (29)
    
    Signed-off-by: Peter Wu <peter@lekensteyn.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 902239ab7df4833431afff4cb6568ab3a47f51f5
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Nov 21 17:18:20 2018 -0800

    Update configure.ac bug URL for gitlab migration
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d7f7b4efb480cb8718dc1bfed347aeea89e1c39b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Nov 16 23:02:43 2018 -0800

    Update README for gitlab migration
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f7af80a0ad7807e35f426a2377d7312b415c9d68
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat May 5 19:31:22 2018 -0700

    Fix up documentation of NAS command line flags
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 51c3ab198e6fa440961d02f6af13b1d73d698101
Author: Stéphane Aulery <lkppo@free.fr>
Date:   Tue Jul 9 02:40:09 2013 +0200

    Improve help and manpage.
    
    Add some details on the verbosity and options -T and -A.
    These two options are not very clear to me.
    
    Signed-off-by: Stéphane Aulery <lkppo@free.fr>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 9426ebdf21886dc8e5e15526aa6d8644cbcd1622
Author: Mihail Konev <k.mvc@ya.ru>
Date:   Thu Jan 26 14:00:21 2017 +1000

    autogen: add default patch prefix
    
    Signed-off-by: Mihail Konev <k.mvc@ya.ru>

commit 1eb20717753712d6a2df5bda5d98d9b355dac3f4
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Mon Mar 9 12:00:52 2015 +0000

    autogen.sh: use quoted string variables
    
    Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
    fall-outs, when they contain space.
    
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 93b25983719c4594bca38c094388468aa875eca7
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Jan 24 10:32:07 2017 +1000

    autogen.sh: use exec instead of waiting for configure to finish
    
    Syncs the invocation of configure with the one from the server.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Emil Velikov <emil.velikov@collabora.com>

commit d8267b3d67c517c31db35982409c2f1289cf1936
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jun 6 19:04:23 2014 -0700

    xscope 1.4.1
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 1943571dd56bd253c88c1ed9bf532aac10b6c6f7
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Jun 3 22:59:34 2014 -0700

    autogen.sh: Honor NOCONFIGURE=1
    
    See http://people.gnome.org/~walters/docs/build-api.txt
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 0fc0390e1cc5efc98d9b2772e1f4eb18af355856
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Jun 3 22:59:34 2014 -0700

    configure: Drop AM_MAINTAINER_MODE
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 914b5ea0ab2392278bcc417f88a9026faf2d006d
Author: Daniel Stone <daniels@collabora.com>
Date:   Mon Mar 3 11:57:54 2014 +0000

    xscope: Fix unknown GenericEvent type decoding
    
    Transposed parameters meant that it was printing the sequence number
    rather than the type.
    
    Signed-off-by: Daniel Stone <daniels@collabora.com>

commit 73c82c6b983e39e24f49c2c794d654bd349309d3
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Nov 27 23:36:44 2013 -0800

    Print correct event names for events sent via SendEvent requests
    
    The high bit of an X11 event id is set to 0 for events generated by the
    server, 1 for events sent from another client via SendEvent requests.
    
    Previously xscope printed:
                             ..............EVENT: **INVALID** (150)
    
    Now it prints:
                             ..............EVENT: ConfigureNotify
                                          source: SendEvent
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d7eb5a954115ed3defcbc89a40ad66b3c353dc90
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Nov 7 12:52:13 2013 -0800

    avoid conflicts with Solaris <sys/regset.h> #define of CS
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 53b0bb04aaa996992220145b4a90a8318a399233
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jun 29 16:32:24 2013 -0700

    Bug 66388 wrong output for filter names in RandR GetCrtcTransform reply
    
    https://bugs.freedesktop.org/show_bug.cgi?id=66388
    
    Had missed a 4 byte padding field between the transform data and
    the start of the filter name fields.
    
    The offset to the strings now matches the 96 bytes specified for
    sz_xRRGetCrtcTransformReply in <X11/extensions/randrproto.h> and
    the test case now reports:
                             pending filter name: "bilinear"
    instead of:
                             current filter name: "^@^@^@^@bili"
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 4af727597dc3f1fbabd879f457d39ccf76e55cef
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Nov 19 21:22:23 2012 -0800

    xscope 1.4
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a248f83ea89f5d4df35fcdc1e07ef147f72c9cf6
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Oct 19 22:29:41 2012 -0700

    Add -V option to print version and exit
    
    Can't use -v, as that's already in use for verbosity level
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 13c3f1338ef1ed233cd3e400a6b6bd5f499be592
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Oct 18 22:36:30 2012 -0700

    When not using xtrans, check if -lsocket & -lnsl are needed for Solaris/SVR4
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 5d77ae6a2646140a28a9c90c5f39bca506277ad2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Oct 18 22:30:13 2012 -0700

    Don't include Xtrans files if xtrans is disabled
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 38bb715cc1f932a5f48d93dd57f21adaa7f6c321
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Oct 18 22:23:18 2012 -0700

    Rename sockaddr_un variable from sun to saun to avoid conflict with #define sun
    
    Compilers auto-define "sun" on Solaris/SunOS, which causes the variable
    name to turn into a constant "1", breaking the parsing of the code.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 747ecb19f89540b60ae340ddc1d176f00ef4c216
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Oct 12 18:37:00 2012 -0700

    xscope 1.3.99.901 (1.4 RC1)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b4de85b1b63d03322c2c831002bd5aa6418347ba
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Aug 28 23:35:37 2012 -0700

    Update RANDR support from 0.x to include 1.0 - 1.4
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 95a436f7efd7061a15e3be533c56e573aac2db92
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Aug 26 21:45:45 2012 -0700

    Refactor error printing to use common functions
    
    All errors currently recognized by xscope fall into two forms,
    with or without a 32-bit value to print as a bad value, so use
    common implementations for those two forms so we can stop
    duplicating that code for every new extension-defined error.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 8b26ded773e1cd4890e93836692ecc9f136c5efd
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 21 23:42:23 2012 -0700

    Add experimental support for reading a previously recorded file
    
    If you run "xscope -r -v0 > xscope.raw", then you can later run
    "xscope -f xscope.raw" to decode the data.
    
    Mainly adding this to aid in testing decoding of new extensions,
    so I don't have to re-run the commands over and over, just replay
    a log file.   (Which may or may not have been edited to include
    additional request data for further testing of types & formats
    that clients may not make it easy to generate.)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5cf76eb8f489f6c4d1ba76bf6fe782c3cf45803d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 21 11:36:18 2012 -0700

    Refactor fd closing into CloseFD helper function
    
    All versions now perform same check for XtransConn data to decide
    whether to use _X11TransClose or regular close, which is needed for
    being able to read data from pre-recorded files instead of live sockets.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>

commit d325cc4930d7e04bd09d54548c6dc58329cfc15b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 21 11:02:00 2012 -0700

    When Verbose == 0, don't print number of data items in unknown reply types
    
    We don't print any other data from packet when Verbose == 0, just had
    a few random "data: (6)" type lines sneak through.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 41692eb416df3bff1e5a10b8c71058248c5d9308
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jul 20 23:00:33 2012 -0700

    Add -I command line flag to enter interactive mode at startup
    
    Avoids having to try to time a ^C after the signal handler is set up
    but before any data is handled.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 519488decdfe224c79e7f2f18e36d2ecae2166a2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 15 12:54:38 2012 -0700

    Add support for printing more types of property value
    
    Prints atoms, cardinals, integers, and windows as formatted values
    instead of lists of bytes.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d678ab80b2987ddd696519a27dad5571c379b511
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 15 02:01:41 2012 -0700

    Print UTF8_STRING properties as text if locale uses UTF-8 charset
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>

commit 95a96dbdc483d9dc6371f52a9e41771a64d23aed
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 15 01:32:49 2012 -0700

    Create PrintPropertyValues function for property requests
    
    Currently used for core protocol window properties, but will be
    used for extensions that have similar property handling requests
    in the future.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 9a8ad93043569c2717bd88f0264e0d3a28b56a74
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 15 01:30:16 2012 -0700

    Record atoms from InternAtom and GetAtomName requests
    
    Uses them to display strings instead of just numeric ids for atoms
    beyond the builtin set in other requests, such as property lookups.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 510c5429e4c2e2f4d8752e688e9fbc008523774d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 14 23:16:17 2012 -0700

    Convert ValueRec structures from unsigned long to uint32_t values
    
    Used for GC struct members, which are defined in the protocol as 32-bit,
    so no need to waste time and memory copying into 64-bit longs everywhere
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e1e857744290f0a09d60435e8d5997efb0a436ba
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 14 22:35:18 2012 -0700

    Handle big-requests when calculating request contents from length field
    
    Adds a getreqlen inline function to handle the big requests check.
    As noted in the comment, it must be called *before* the printreqlen
    macro does its own check, since printreqlen "fixes" the buf pointer
    when it's done to align all the remaining fields with their correct
    positions after skipping over the extra big requests 32-bit length
    field after the normal 16-bit length field.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 4ba266b7b08cf5914b5ec6912763d319f57f00bc
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 14 22:59:17 2012 -0700

    ILong: shift each byte individually, then OR them together
    
    instead of shifting the whole word as each byte is loaded into place
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5ec0ba545da0a9e52e2c6a473dbbc81b4a6f7f96
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 14 22:24:17 2012 -0700

    Move ILong, IShort, etal to inline functions in x11.h
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit fdd58cacbb5b93b74ba9ba766e752b922a7c8b9c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 14 22:16:27 2012 -0700

    Convert ILong, IShort, etal to return C99 uint*_t types
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 9b9f7c3cacc1d220962fab1b910c6d76e2cd8087
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 8 18:20:12 2012 -0700

    Convert remaining bcopy() calls to memcpy()
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>

commit 5425131a498cdab54fbcfbae4991b22ebfa793ee
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 8 18:13:10 2012 -0700

    Add _X_NORETURN to additional functions suggested by gcc warnings
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f0df23d778ae5b85745de0e48729b039b5b3f69a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 8 18:09:54 2012 -0700

    Convert remaining sprintf calls to snprintf
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>

commit d5cc5b0e6b4e9cd1ee35e58069018f75bb0a3ed3
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 8 15:01:56 2012 -0700

    SaveBytes: drop unnecessary casts in bcopy() call
    
    Clears gcc warning from casting a const char * to char *:
    server.c: In function `SaveBytes':
    server.c:203: warning: cast discards qualifiers from pointer target type
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>

commit 29ec5378ff7eae6b14a49347008ea35db069b936
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 8 14:57:45 2012 -0700

    Move debug statement before panic() call, so it can actually run
    
    Fixes compiler warning:
    "fd.c", line 481: warning: statement not reached
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 36ddba4f6f916eabfc94a22cf7845221f1d4a3cb
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 8 13:27:37 2012 -0700

    Define *HEADER constants as string pointers, not arrays
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c7e1d62267ad0296fbe29c00cd6b54a1ee1f93e0
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 8 13:21:33 2012 -0700

    Combine usage message into single string for fprintf
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e38f959f756a0a3d4ce17e6e2735cfd411fd9d82
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 8 13:18:58 2012 -0700

    Use local variable for ioctl argument instead of a static
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b8160915909e59fc65cc08855fb32fee6f5d89ad
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 8 11:58:20 2012 -0700

    Convert to X.Org standard indentation & cleanup whitespace
    
    Performed with util/modular/x-indent-all.sh, followed by manual fixups
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5b30118f1504fb065cf0b4aca150703834881d9e
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jul 9 00:07:33 2012 -0700

    Convert Keith's personal license notice to X.Org standard MIT license notice
    
    Acked-by: Keith Packard <keithp@keithp.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b4d59c18315b14b5fac1e01e158f461438e47fb4
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 15 13:10:19 2012 -0700

    Convert sources from ISO 8859-1 to UTF-8
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 670016475f1d7833bca5206a4d46704db36bccdb
Author: Jeff Smith <whydoubt@yahoo.com>
Date:   Wed Jul 28 15:29:56 2010 -0500

    Retry _X11TransConnect on TRANS_TRY_CONNECT_AGAIN
    
    Reading through Xtranssock.c reveals that when _X11TransConnect returns the
    value TRANS_TRY_CONNECT_AGAIN, it turns off the abstract socket flag, so
    that attempting _X11TransConnect might succeed the second time where it
    failed the first time.
    
    Now xscope will attempt the connection a second time when it receives the
    TRANS_TRY_CONNECT_AGAIN return value on the first connection attempt.
    
    Signed-off-by: Jeff Smith <whydoubt@yahoo.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ea0a2788b1e82f2b19a3c46e6d42d0a86fd17f38
Author: Peter Jeremy <peterjeremy@acm.org>
Date:   Tue Feb 28 08:38:46 2012 +1100

    Bug 46696 - Try alternate protocol on X11 connection failure.
    
    In USE_XTRANS mode, MakeConnection() cycles through a selection of
    protocol choices until it finds one where it can open a socket to
    the server.  It then attempts an X11 connection via that socket and
    aborts if one isn't possible.
    
    This patch modifies the code to try an alternate protocol if the X11
    connection fails.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=46696
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c328376384a64f6dbdc476a1d6c5244aad8261ec
Author: Peter Jeremy <peterjeremy@acm.org>
Date:   Mon Feb 27 20:46:29 2012 +1100

    Bug 46691 - xscope-1.3.1 deadlocks if client or server would block
    
    https://bugs.freedesktop.org/show_bug.cgi?id=46691
    
    Use correct write FD to select() on.
    
    FlushFD() contains logic to handle the Xclient or Xserver blocking on
    a write() by changing the global read and write fd_set's so that
    MainLoop() will select() on the blocking write FD instead of the peer
    read FD.  Unfortunately, the code contains a logic error so that it
    winds up select()ing for write on the peer FD instead of the blocked FD.
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b21c6c52bb8109329d7eb63072f8ebf41a42a7f9
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 8 11:12:27 2012 -0700

    Use __XFDS_BITS macros from Xpoll.h instead of direct __fds_bits access
    
    Different platforms use different names for the fd_set members,
    so use the existing Xpoll.h macros for greater portability.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e63977f320b8678d66bb061b9502dc0764a5427f
Author: Peter Jeremy <peterjeremy@acm.org>
Date:   Mon Feb 27 19:08:25 2012 +1100

    Bug 46689 - xscope fd_set debug output is undefined
    
    https://bugs.freedesktop.org/show_bug.cgi?id=46689
    
    Change fd_set debug output to display actual contents of first 32 or 64 bits.
    
    In xscope-1.3.1, MainLoop() contains debug(128,...) code that appears
    intended to display the fd_set contents before and after the main
    select() call.  In most implementations, fd_set will be a struct though
    it is printed as an int, thus the actual debug output is unlikely to
    usefully reflect the actual fd_set contents.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3bc1cf3e11be566e3d342834abe8fde7f5983a80
Author: Peter Jeremy <peterjeremy@acm.org>
Date:   Mon Feb 27 13:39:58 2012 +1100

    Bug 46664 - xscope prints only half the characters in 16-bit strings
    
    https://bugs.freedesktop.org/show_bug.cgi?id=46664
    
    The length fields for PolyText16 and ImageText16 represent the number of
    16-bit characters in the request but PrintString16() and PrintTString16()
    treat the lengths as the number of octets in the string - thus printing
    only half of the characters.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 415b229bf02de9e4c9ac75a458912336661f5ed1
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Mar 11 19:38:16 2012 -0700

    Add link to original xscope paper in README
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 0b3a142cc7b5c9a4fa18de04cd16a2f1bede8995
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sun Mar 4 18:18:36 2012 -0800

    Include <arpa/inet.h> for inet_addr in !USE_XTRANS case
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit b5dd025ef08cf8c907a4ceeb7a3d79458edd064d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Feb 21 21:59:26 2012 -0800

    xscope 1.3.1
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 06ce4d5cf8371f2bc2e5f8223c2e64085799f470
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jan 6 00:35:56 2012 -0800

    Check the right return value for malloc failure
    
    Error detected by Solaris Studio 12.3 code analyzer:
    WARNING 1 (MRC): missing null-pointer check after malloc: calloc(((ullong)MaxFD),48) at:
            InitializeFD()  <app/xscope/fd.c : 107>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a1c283e6f39117301319b60e261e9d1e22ea0d4d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jan 6 00:34:45 2012 -0800

    Mark panic() as _X_NORETURN
    
    Makes the dependency on x11proto explicit - it was already needed for
    the X11 headers included in various files, but now needs to be at least
    7.0.17 for the _X_NORETURN definition in Xfuncproto.h
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Cyril Brulebois <kibi@debian.org>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit a66cdfd0978015c2f3eedc968a40637f850aa917
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Dec 4 09:04:50 2011 -0800

    Fix builds of scope.c with Solaris Studio compilers
    
    Required in order to build with Studio cc now that xorg-macros is
    setting -errwarn=E_FUNC_HAS_NO_RETURN_STMT since a bug in the Solaris
    system headers causes the noreturn attribute to not be correctly
    applied to the exit() prototype in <stdlib.h> when building with
    Studio instead of gcc.
    
    Otherwise compiler exits with error:
    "scope.c", line 643: Function has no return statement : CMDQuit
    
    Uses Studio-specific pragma instead of adding another exit() prototype
    with a noreturn attribute to avoid causing gcc to warn about having
    a redundant prototype for the exit() function.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 26a18245264f88214101fef27f4acc7806a469a4
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Nov 11 23:01:20 2011 -0800

    Remove extra definition of ScopeEnabled from x11.h
    
    It's already defined in scope.h, which is more widely #included and
    a more logical home for it.
    
    Clears a bunch of gcc warnings of:
    scope.h:125:13: warning: redundant redeclaration of ‘ScopeEnabled’
    x11.h:266:13: note: previous declaration of ‘ScopeEnabled’ was here
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit af2cc5bc2e13a61e6ab3d495d3edb34d94a42964
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Sep 30 20:19:44 2011 -0700

    Add const attributes to clear gcc -Wwrite-strings warnings
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 7fbf2ff3c925a0cc55024bc8350ad9e9bf8d1e47
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Sep 30 20:19:44 2011 -0700

    Store ClientNumber as int instead of converting back & forth to long
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit bc8eb7adf2c2f04fdc262ee370feda9e0d8781c3
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Sep 30 20:19:44 2011 -0700

    File descriptors should be stored in ints not shorts
    
    All OS routines take and return ints for file descriptors, so stop
    converting back and forth to shorts.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit fb391ffad2ccd5b76d6a87e4d2e83ff5282edee5
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Sep 30 20:19:44 2011 -0700

    Remove StaticMaxFD now that all uses now allocate dynamically
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit e259c7ec60a84280dbf7e2cf041a6fec79f53e1f
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Sep 30 20:19:44 2011 -0700

    Make FDinfo dynamically allocated
    
    We still allocate one fdinfo struct for every possible FD up front
    instead of resizing as needed, but they're much smaller now that
    we just have a pointer to the 32k buffer instead of including it
    directly in the fdinfo.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit fcb83e31a0dfd85e4ec105dd656ed405e64c387b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Sep 30 20:19:44 2011 -0700
