commit 5f6da959a34bcefc425b6e37462553acf44369a3
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 8 17:35:22 2025 -0800

    libSM 1.2.6
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 00040325385ab326b306477bcb175fd47468ac34
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jan 18 16:18:05 2025 -0800

    SmsGenerateClientID: simplify code to convert IPv4 address to hex string
    
    Instead of calling the deprecated inet_ntoa() to convert to an ascii
    string, which we then break into 4 dotted segments and call atoi()
    on each segment, just get the byte values from the in_addr_t directly,
    much like we've long done for IPv6 addreses.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/lib/libsm/-/merge_requests/11>

commit 91d1015f723e437b032eec95f5d82a0d5d52f43c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jan 13 16:41:28 2025 -0800

    if getaddrinfo() is available, use it, even if IPv6 support is disabled
    
    Support for using getaddrinfo() was originally added to support IPv6,
    and only used if IPv6 support was enabled.  Two decades later, support
    for getaddrinfo() is ubiquitous and OS'es have marked gethostbyname()
    as deprecated, so use the modern interface whenever we can now.
    
    Of course, in libSM, this only matters if one of the UUID generation
    interfaces isn't being used instead.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/lib/libsm/-/merge_requests/11>

commit 220fda5f4888b148b51ac6be3457670dd60a3c45
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jan 13 15:41:40 2025 -0800

    Simplify ifdefs for IPv6 support
    
    Instead of checking for AF_INET6 at every ifdef, just check once for it
    and report that IPv6 support is not available, instead of silently not
    building support for it that configure said we were going to build.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/lib/libsm/-/merge_requests/11>

commit 8f133b4f0b03e32c044cda7c56f81c85d7b46c2d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jan 13 16:44:56 2025 -0800

    sm_genid.c: simplify final fallback case
    
    Remove one level of #ifdef nesting to reach the final fallback of
    return(NULL) if no id generation method was configured, neither
    a UUID-based method nor the TCPCONN IP-address-based method.
    
    Part-of: <https://gitlab.freedesktop.org/xorg/lib/libsm/-/merge_requests/11>

commit c68a06e0637244a81d7cce3797b22ece15c2fa2b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jan 13 16:28:22 2025 -0800

    Skip network checks/headers/libraries if using UUID-based ids
    
    Currently network host address based ids are only used if neither
    of the UUID generation methods is found by configure, so check them
    first, and only do network checks as a fallback.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/lib/libsm/-/merge_requests/11>

commit 83644d01d64a93a1fc463affc8bd9b30dc023a83
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Dec 13 14:11:23 2024 -0800

    libSM 1.2.5
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f1e6fc8e62a5da42ea713ee970028be3d32fcf85
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Aug 26 10:10:37 2024 -0700

    IceReadCompleteMessage callers need to check if malloc() failed
    
    The IceReadCompleteMessage() macro may try to malloc() a buffer and
    assign it to the final argument.
    
    Clears up 6 -Wanalyzer-null-dereference warnings from gcc 14.1
    of the form:
    
    sm_process.c: In function ‘extractArray8’:
    SMlibint.h:128:12: warning: dereference of NULL ‘pData’ [CWE-476]
     [-Wanalyzer-null-dereference]
      128 |     _val = *((CARD32 *) _pBuf); \
          |            ^~~~~~~~~~~~~~~~~~~
    sm_process.c:66:5: note: in expansion of macro ‘EXTRACT_CARD32’
       66 |     EXTRACT_CARD32 (*pBuf, swap, n);
          |     ^~~~~~~~~~~~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/lib/libsm/-/merge_requests/9>

commit bd243359c390b02bdb89e38779917996c6a38476
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Aug 26 09:36:41 2024 -0700

    SmcOpenConnection: remove cast of return value from getenv()
    
    getenv() is defined as returning char *, so the cast isn't necessary
    if you've included the header with the proper prototype for it.
    
    Clears gcc 14.1 warning:
    
    sm_client.c: In function ‘SmcOpenConnection’:
    sm_client.c:114:20: warning: useless cast to type ‘char *’ [-Wuseless-cast]
      114 |         if ((ids = (char *) getenv ("SESSION_MANAGER")) == NULL)
          |                    ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/lib/libsm/-/merge_requests/9>

commit 5edd20b307ce70ccb14c360f1b94914c49544a24
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 17 15:05:20 2024 -0800

    unifdef MNX_TCPCONN
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d7783633c5935a2e45c065b1f385a35bbf56e7b1
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 17 15:03:49 2024 -0800

    unifdef __UNIXWARE__
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d0b0f5e46af6da18a93a27a71e193fad8c7308b4
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Oct 13 13:11:28 2023 -0700

    gitlab CI: add xz-utils to container for "make distcheck"
    
    Also update to latest ci-templates
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f3706322c5c948cbbe434dd67d86de71eee25e17
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 4 10:44:45 2023 -0800

    configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
    
    AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008,
    so it's time to rely on it.
    
    Clears autoconf warnings:
    
    configure.ac:13: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
    configure.ac:13: You should run autoupdate.
    aclocal.m4:3640: AC_PROG_LIBTOOL is expanded from...
    configure.ac:13: the top level
    
    libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
    libtoolize: and rerunning libtoolize and aclocal.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e0628f5ca2168a413b8b39f20ec62ae4f725bc63
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 25 09:20:43 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 dc882ac7b748048f12b033d0d8e5267a6e36036a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Dec 19 18:17:34 2022 -0800

    libSM 1.2.4
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 12812dca0f852178d8cc3813e4056b396a8f3ab5
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Sep 7 12:44:33 2022 -0700

    Handle arrays too large to fit in iceConn buffers
    
    Fixes numerous gcc warnings of the form:
    
    sm_client.c: In function ‘SmcOpenConnection’:
    SMlibint.h:109:25: warning: potential null pointer dereference [-Wnull-dereference]
         *((CARD32 *) _pBuf) = _val; \
    SMlibint.h:160:5: note: in expansion of macro ‘STORE_CARD32’
         STORE_CARD32 (_pBuf, (CARD32) _len); \
         ^~~~~~~~~~~~
    sm_client.c:207:5: note: in expansion of macro ‘STORE_ARRAY8’
         STORE_ARRAY8 (pData, len, previousId);
         ^~~~~~~~~~~~
    
    v2: Raise required libICE version to 1.1.0 to get the updated
    IceGetHeaderExtra macro definition needed for this to work correctly.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit bb02359ff464d51cbb29d3c93e7e55f3649e5b91
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Dec 4 12:07:40 2022 -0800

    gitlab CI: build current libICE, to meet dependency on >= 1.1.0
    
    Allow us to pass CI without waiting for Debian to pick up yesterday's
    release of libICE 1.1.0.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6e541c8fa782ca816f8bf78a54eea27dab27e4a2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jul 28 17:30:21 2022 -0700

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

commit 449fdba5482549361a4cd6376d877ebd5162988a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Sep 7 11:07:56 2022 -0700

    SmcCloseConnection: remove unnecessary cast from free()
    
    commit b17f93a1d041e63261ff followed the style of the time it was
    written, before commit e77dd2e4bc8227 had removed them.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b17f93a1d041e63261ff63419796136a26489549
Author: Kim Woelders <kim@woelders.dk>
Date:   Sat Oct 30 10:00:13 2010 +0200

    Fix some potential memory leaks in SmcCloseConnection().
    
    Signed-off-by: Kim Woelders <kim@woelders.dk>
    Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>

commit a32df086f823099a5e0c00b20f0bb965fed5aa60
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 5 10:49:14 2022 -0800

    Add uuid as private dependency to sm.pc for static linking
    
    If a uuid.pc file was found, add it to Requires.private.
    Otherwise, add $LIBUUID_LIBS to Libs.private.
    
    Fixes: #1
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d2076f6a990acc295f2e98bdc2c95649978e7b5f
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 5 08:16:08 2022 -0800

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

commit 0b6048d790499477b6a2907bf3fe755a54cbe68d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 5 08:09:47 2022 -0800

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

commit 56cdb14923310bfa4d393f2acfffeadb04d806c0
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 5 08:09:19 2022 -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 e6ccf19f8d1f71ef79f192b4ca9debf7280232a3
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Dec 7 19:32:18 2018 -0800

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

commit 90df350229d3a687de8d65dc450bceb78eceb014
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Nov 19 17:15:03 2018 -0800

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

commit 82ed8b7d73f306835b951410f5c309a5774ab9d4
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Nov 10 13:19:14 2018 -0800

    Remove obsolete B16 & B32 tags in struct definitions
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a52c79544fcd6b5e2242b9122dfaa34be07aebb2
Author: Matthieu Herrb <matthieu@herrb.eu>
Date:   Sun Sep 30 11:03:41 2018 +0200

    libSM 1.2.3
    
    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>

commit d86106f2369ecf81155decaa360f9162c0c3cd53
Author: Tobias Stoeckmann <tobias@stoeckmann.org>
Date:   Wed Aug 15 21:21:09 2018 +0200

    Fixed out ouf boundary accesses.
    
    Out of boundary accesses can occur while processing messages. This
    affects clients and the session server.
    
    Generally, the code tries to prevent out of boundary accesses. It
    initially "skips" over the memory areas by parsing supplied lengths.
    Then, it checks if it skipped over the memory boundary. If not, then
    data is actually read and memory allocated, etc.
    
    The problem is that while initially skipping over the memory,
    subsequent lengths are already parsed, i.e. accessed. This results in
    out of boundary reads on hostile messages.
    
    Lengths could also overflow on 32 bit systems, leading to out of
    boundary writes if not enough bytes have been allocated.
    
    Authentication is handled by libICE, which is not affected, because the
    macros for skipping already take care about memory boundaries.
    
    Therefore, this flaw can only be used by authenticated clients or by
    hostile servers (which could simply accept every MIT cookie). Most
    session managers only use Unix sockets, so in many cases it takes a
    local authenticated user.
    
    In order to fix this, I decided to move the macros from SMlibint.h to
    its only callers in sm_process.c, turning them into functions for much
    easier error handling and readability.
    
    Instead of skipping over the memory, validation happens during actual
    read and memory allocation operations, as it's rather unlikely to
    encounter hostile code anyway, i.e. my code has more error cleanup
    handling in it.
    
    Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>

commit 75ffafb4e04661fb890a9e8088b743cb077050a6
Author: Fab <netbox253@free.fr>
Date:   Sat Oct 7 14:23:52 2017 +0000

    Fix callbacks signatures in libSM documentation
    
    https://bugs.freedesktop.org/show_bug.cgi?id=103135
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b347e9f8ef3ae027c049741ab5c0c8dac45c9eb2
Author: Mihail Konev <k.mvc@ya.ru>
Date:   Thu Jan 26 13:52:49 2017 +1000

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

commit d34f694e810d11f95cd61e4209cd6e38f70bce58
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 e27964e499f31f48782a6db7421660a230471b2c
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 b64aa0ef375f2df3ce166733fe92429ba43b6145
Author: Matthieu Herrb <matthieu@herrb.eu>
Date:   Tue Oct 20 14:48:52 2015 -0400

    Get rid of strcpy() in the HAVE_UUID_CREATE case
    
    Even though this use was safe, some linkers produce a warning
    when strcpy() is used, and this is the only use in libSM.
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 0bf5d26d1d55029846514758f2ffd80e816bd9fb
Author: Matthieu Herrb <matthieu@herrb.eu>
Date:   Tue Oct 20 14:47:50 2015 -0400

    Fix uuid_to_string(3) type
    
    It should be char *.
    
    Reviewed-by: Adam Jackson <ajax@redhat.com>

commit 29ea6247434a85934986e7d4fc60862231c5d77d
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date:   Sat Sep 13 19:38:12 2014 +0100

    Include unistd.h for getpid()
    
    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
    Reviewed-by: David Macek <david.macek.0@gmail.com>

commit f2dd6934c38414bc448ee49b47604f135f5487ea
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Nov 16 19:35:15 2013 -0800

    Stop compiling empty sm_auth.c stub
    
    File exists as a placeholder in case someone someday decides to add
    additional auth methods on top of what libICE provides, but it's been
    two decades and no one has, so stop spending time compiling & linking
    for now.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Adam Jackson <ajax@redhat.com>

commit 0fd7aa17da41779129a3acfdad28e07c0072a160
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Sep 7 23:05:16 2013 -0700

    libSM 1.2.2
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 95cb4dcd618774b3f7b5b915c5ce5aa72f853b53
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Aug 9 17:24:16 2013 -0700

    Fix some clang warnings about integer size/sign conversions
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5a06ff257f72a629539f23b35026fbcdb8bb372e
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Aug 9 00:09:30 2013 -0700

    unifdef WORD64 (leftover bits of Cray support)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 759bbd43f0fdc9a96ba1676d7830164bc9954be2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Aug 9 00:06:01 2013 -0700

    Constify previous_id argument to SmcOpenConnection
    
    Clears gcc warning of:
    sm_client.c: In function 'SmcOpenConnection':
    sm_client.c:199:13: warning: assignment discards 'const' qualifier from
     pointer target type [enabled by default]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 77ddd273239a629eeed7bd1d5b4509b1bd6d4e37
Author: Colin Walters <walters@verbum.org>
Date:   Wed Jan 4 17:37:06 2012 -0500

    autogen.sh: Implement GNOME Build API
    
    http://people.gnome.org/~walters/docs/build-api.txt
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 49eb906eee49f68dcf5b358546924b7085c9d75d
Author: Adam Jackson <ajax@redhat.com>
Date:   Tue Jan 15 14:28:48 2013 -0500

    configure: Remove AM_MAINTAINER_MODE
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 3cb1f18a6a2657f9c8e74fb2195558abca0652bd
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jan 4 19:36:53 2013 -0800

    unifdef -U__UNIXOS2__
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 4cbd659505f2acafe2645c59532e52d4cfa00e1d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Dec 26 23:42:30 2012 -0800

    Remove unused TLI ("STREAMSCONN") code from libSM
    
    Has never been converted to build in modular builds, so has been unusable
    since X11R7.0 release in 2005.  All known platforms with TLI/XTI support
    that X11R7 & later releases run on also have (and mostly prefer) BSD
    socket support for their networking API.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b3d1f4896cab54717acd691b62b7fa3122a5fd8c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Mar 2 20:53:41 2012 -0800

    libSM 1.2.1
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6475d9eff0bfbb6446eff205fd52c5ba82c5819c
Author: Matt Dew <marcoz@osource.org>
Date:   Wed Jan 11 20:33:41 2012 -0700

    informaltable cleanup
    
    On certain tables, add top and bottom borders to table
    header and a bottom border to the table. This matches
    what those tables in the old pdfs looked like.
    
    the <?dbfo keep-together='always'> prevents tables from
    splitting across pages. Useful for tiny tables.
    
    Converting the colwidth to a floating point,
    IE, 1* -> 1.0* cleans up these build errors:
    WARNING: table-layout="fixed" and column-width unspecified
    => falling back to proportional-column-width(1)
    
    Signed-off-by: Matt Dew <marcoz@osource.org>

commit 3ca545c7835b71b63f8c5a8f758b08418a65a5bb
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Dec 5 20:04:51 2011 -0800

    unifdef -ULynx
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
    Reviewed-by: James Cloos <cloos@jhcloos.com>

commit 4af9e4a71f7c07da86ef1940cba69e92b11ba337
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Nov 19 11:33:30 2011 -0800

    SmsInitialize: Mark vendor & release args as const char *
    
    Needed to fix gcc -Wwrite-strings arguments in callers such as xsm.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: James Cloos <cloos@jhcloos.com>

commit e77dd2e4bc8227ebdab70b4233cb33ed690fa264
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Nov 19 10:33:15 2011 -0800

    Remove a bunch of unnecessary casts with malloc & free calls
    
    With modern compilers and headers, they cause more problems than they
    solve and just hide real issues.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
    Reviewed-by: James Cloos <cloos@jhcloos.com>

commit 46f3ef4460aa2c1c2cba22897694a1cea572d506
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Nov 19 10:23:24 2011 -0800

    Replace malloc(strlen) + strcpy sets with strdup calls
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
    Reviewed-by: James Cloos <cloos@jhcloos.com>

commit fb3ef5844d392f70cc6bd9b0d8770ca17bde1428
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Nov 19 10:13:02 2011 -0800

    Reindent IPv4 code to match IPv6 code
    
    Takes care of the other block of code confusingly sharing indent levels
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: James Cloos <cloos@jhcloos.com>

commit 638496507882f0afe506fe294f68ad5290ef95db
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Nov 19 10:07:32 2011 -0800

    Move variable declarations to get rid of unnecessary scope brackets
    
    Gets rid of one of the multiple levels of bracketing that confusingly
    shared the same indent level.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: James Cloos <cloos@jhcloos.com>

commit 9f350d75a4553d8e2bc365f8de4110bb79ec7b32
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Nov 19 10:01:50 2011 -0800

    Move and rename temp[4] definition to reduce confusion with temp[256]
    
    Both variables were locals in different scope levels of the same
    function, leading to both confusing code and gcc -Wshadow warnings:
    
    sm_genid.c: In function 'SmsGenerateClientID':
    sm_genid.c:160:10: warning: declaration of 'temp' shadows a previous local
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: James Cloos <cloos@jhcloos.com>

commit 079de6fd4bd0423e20e472d7342f919eebce0517
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Nov 19 09:52:17 2011 -0800

    Use imdent to make multiple levels of nested #if easier to follow
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: James Cloos <cloos@jhcloos.com>

commit 79c785adf86ef06f09910b68019bc8a1e6fcb122
Author: Matt Dew <marcoz@osource.org>
Date:   Tue Oct 4 22:42:05 2011 -0600

    Cleanup IDs and links in doc
    
    1 - fix the capitalization of the ID attributes to match either the
         <title> or <funcdef> string it goes with.
    2 - fix any <linkend>'s that were affected by 1.
    3 - any <function> in the docs that has an actual funcdef,
    will become an olink.
    
    Signed-off-by: Matt Dew <marcoz@osource.org>

commit 4708d636de50281ab2c52c32b81b7ecb67657820
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Sep 16 22:03:00 2011 -0700

    Strip trailing whitespace
    
    Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
    git diff -w & git diff -b show no diffs from this change
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 44eecd93986368e71c404d8faa264a514bf88ab1
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Sep 14 14:59:27 2011 -0400

    docs: fix author affiliation
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 7ed7ef36b7e1fdd29554db122e4eb07323e27dee
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Sep 12 16:54:45 2011 -0400

    docs: use the &fullrelvers; entity to set X11 release information
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 7601182a252b44d0b04435f1eb4d574dfcf5fabb
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Sep 11 19:49:53 2011 -0400

    docs: remove <productnumber> which is not used by default
    
    This element is not rendered by default on the title. A template
    customization is required to display it.
    X Window System does not have a product number.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit cbca5fad657122d1a9f370d0640acb66ef80aaef
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Sep 8 20:00:00 2011 -0400

    docbook.am: embed css styles inside the HTML HEAD element
    
    Rather than referring to the external xorg.css stylesheet, embed the content
    of the file in the html output produced. This is accomplished by using
    version 1.10 of xorg-xhtml.xsl.
    
    This makes the whole html docs tree much more relocatable.
    In addition, it eliminates xorg.css as a runtime file which makes
    xorg-sgml-doctools a build time only package.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit b88a9949fa6e1b12348541c6293535cc7ff931f4
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Sep 7 10:31:04 2011 -0400

    docbook.am: global maintenance update - entities, images and olinking
    
    Adding support in libX11 for html chunking caused a reorg of docbook.am
    as well as the xorg-sgml-doctools masterdb for olinking.
    The parameter img.src.path is added for pdf images.
    A searchpath to the root builddir is added for local entities, if present.
    
    The docbook.am makefile hides all the details and is identical for
    all 22 modules having DocBook documentation. It is included by a thin
    Makefile.am which requires no docbook knowledge.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 64e002e55555205fdcdb9e6d78d6eadd4136cb7a
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Jun 12 17:54:50 2011 -0400

    Install xml versions of specs even if HAVE_XMLTO is false
    
    DocBook/XML input source is also a usefull output format that can be viewed
    with an XML viewer or editor and by some O/S help system.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit bef231eefedae448255b705aa2f687f49e371b71
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Jun 5 16:27:36 2011 -0400

    Install target dbs alongside generated documents
    
    This matches a change in xorg-sgml-docs whereby the masterdb will look for
    the target dbs into the same location as the generated documents.
    
    The target dbs are now installed alongside the generated documents.
    Previously they are installed in $prefix/sgml/X11/dbs alongside masterdb which
    has the potential of installing outside the package prefix and cause
    distcheck to fail when user does not have write permission in this package.
    
    Requires XORG_CHECK_SGML_DOCTOOLS(1.8) which was released 2011-06-11

commit f7473da7b1ff6a5295a145f808c327e655e574a9
Author: Matt Dew <marcoz@osource.org>
Date:   Wed May 25 23:46:36 2011 -0600

    add id attributes to funcsynopsis to allow other docs to olink to them.
    
    Signed-off-by: Matt Dew <marcoz@osource.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit 8683bdd74d3e40c7db92efd25acf345f6331b252
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Feb 27 15:06:18 2011 -0500

    Documentation: add Docbook external references support
    
    When writing technical documentation, it is often necessary to cross
    reference to other information. When that other information is not in the
    current document, additional support is needed, namely <olink>.
    
    A new feature with version 1.7 of xorg-sgml-doctools adds references to
    other documents within or outside this package.
    
    This patch adds technical support for this feature but does not change
    the content of the documentation as seen by the end user.
    
    Each book or article must generate a database containing the href
    of sections that can be referred to from another document. This database
    is installed in DATAROOTDIR/sgml/X11/dbs. There is a requirement that
    the value of DATAROOTDIR for xorg-sgml-doctools and for the package
    documentation is the same. This forms a virtual document tree.
    
    This database is consulted by other documents while they are being generated
    in order to fulfill the missing information for linking.
    Refer to the xorg-sgml-doctools for further technical information.
    
    Co-authored-by: Matt Dew <marcoz@osource.org>
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 252f6d2add7c926cdcf0cea43da04f182720b0b4
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Feb 25 09:04:45 2011 -0500

    Docbook: change the book id to match the xml file basename
    
    This is required for the up-coming external references support.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 2cd30c36c080217c20addf311510881c8eecf374
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Feb 2 19:25:52 2011 -0500

    config: splitting SM and XTRANS compiler options is not required
    
    Simplify configuration by using a single PKG_CHECK_MODULES statement.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 3c923881f415651d75434efd209003d602253437
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Feb 2 11:43:40 2011 -0500

    config: comment, minor upgrade, quote and layout configure.ac
    
    Group statements per section as per Autoconf standard layout
    Quote statements where appropriate.
    Autoconf recommends not using dnl instead of # for comments
    
    Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters.
    
    This helps automated maintenance and release activities.
    Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit b29f5c9f3a728c5b7673cf54ad60d988b5dd93e7
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jan 27 22:05:40 2011 -0800

    Bug 33390 - sm.pc: don't export a dependency on ice
    
    https://bugs.freedesktop.org/show_bug.cgi?id=33390
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>

commit fe43b6de5bb4423ce99d2df1ab37ea8ece39a9fa
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Jan 28 16:07:07 2011 -0500

    config: replace deprecated AC_HELP_STRING with AS_HELP_STRING
    
    This silences an Automake warning.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 57b6f700378a001e1aff9b83f6cb396c7c4a7368
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Jan 28 14:59:04 2011 -0500

    config: remove unrequired AC_HEADER_STDC
    
    Autoconf says:
    "This macro is obsolescent, as current systems have conforming
    header files. New programs need not use this macro".

commit 8f9878c06e359d21715a3e4358895b589466bc46
Author: Paulo Zanoni <pzanoni@mandriva.com>
Date:   Thu Dec 16 14:03:06 2010 -0200

    Use docbookx.dtd version 4.3 for all docs
    
    Signed-off-by: Paulo Zanoni <pzanoni@mandriva.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6d093e2397ecdbbba044fe7ef2fd922c8c8261de
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Nov 21 11:19:45 2010 -0800

    config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
    
    Regroup AC statements under the Autoconf initialization section.
    Regroup AM statements under the Automake initialization section.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b8ef6cea0ccae4d88a9cb91cd836188ae781cda8
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Nov 21 11:17:25 2010 -0800

    config: Remove unnecessary calls from configure.ac
    
    AC_PROG_CC are provided by XORG_DEFAULT_OPTIONS now
    PKG_CONFIG_MODULES handles AC_SUBST of the CFLAGS & LIBS variables
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 15dc32dd7b57315f9e319f3e346ba28a1e69c646
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Nov 21 11:16:14 2010 -0800

    Sun's copyrights belong to Oracle now
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 8480764c94d15673c884b90c7a10bc86635dec63
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Nov 9 13:04:40 2010 -0500

    config: HTML file generation: use the installed copy of xorg.css
    
    Currenlty the xorg.css file is copied in each location
    where a DocBook/XML file resides. This produces about
    70 copies in the $(docdir) install tree.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit d2327760a52fdbcd3759211578e3663e00e4a31e
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Oct 27 22:26:41 2010 -0700

    libSM 1.2.0
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 784a330e337af16c1e385d0fbeee1e5369413656
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Oct 24 20:31:54 2010 -0700

    SMlib.xml: Use <simplelist> instead of <synopsis> for lists of mask values
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 12af18dd9a731a816e7b074bbecaa5549bfdba31
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Oct 24 19:57:32 2010 -0700

    SMlib.xml: Tag function names, parameters, constant values, etc.
    
    Includes correcting <function> tags on things that aren't functions
    as some stylesheets may add () after <function> tagged items so we
    shouldn't use them for constants, variables, filenames, etc.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ed9331e10babdd70da51134f0eaee8625a469ffe
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Oct 24 18:54:05 2010 -0700

    SMlib.xml: Line wrapping & other whitespace cleanup
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 763b01e8e69d6132b3b4b57263f19de9de985f99
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Oct 23 00:47:27 2010 -0700

    xsmp.xml: add internal cross-reference links
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 506af19b86af2a7960a3bb5cf72287349012c869
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Oct 23 00:43:28 2010 -0700

    xsmp.xml: Use <synopsis> and related markup for protocol message definition
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 75443d72b4944391b809f429cc4cef2ffb76f7bf
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Oct 23 00:10:01 2010 -0700

    xsmp.xml: Use <errorname> instead of <function> for error names
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 2ed7704e7d4b0086edc8667a80780c6c51ba84cb
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Oct 22 23:52:15 2010 -0700

    xsmp.xml: Restore note titles (example/rationale/advice)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 489566ca0e69ed6068fb4bdbaccd413ec2ee8319
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Oct 22 23:39:54 2010 -0700

    xsmp.xml: Clean up tables
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c5b211d9a01438958546669f95a5215784348534
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
[--snip--]
