commit 0dc46e7ed5bdd876467f9dbb314ba6b8094e541b Author: Alan Coopersmith Date: Sat Nov 9 09:04:34 2024 -0800 xtrans 1.5.2 Signed-off-by: Alan Coopersmith commit d312424a6f2d5bff18f150dfecfc632b334fb878 Author: Alan Coopersmith Date: Tue Oct 22 14:44:46 2024 -0700 is_numeric: Add !defined(IPv6) to checks Fixes builds without IPv6 support, since old IPv4 code uses is_numeric() Closes: #6 Fixes: 0f15306 ("is_numeric: Add TRANS_SERVER to required ifdefs") Signed-off-by: Alan Coopersmith Part-of: commit ae99ac32f61e0db92a45179579030a23fe1b5770 Author: Peter Harris Date: Tue Oct 15 09:51:33 2024 -0400 Fix build when HAVE_STRCASECMP is not defined Regression introduced in commit 4792e9e798de327572aba1575438b6936a55c7ef "Clear numerous -Wsign-compare warnings from gcc 14.1". Part-of: commit df6ae7c7e0b6241a05ad2814bced637b00b1a83f Author: Alan Coopersmith Date: Sat Oct 12 13:39:19 2024 -0700 xtrans 1.5.1 Signed-off-by: Alan Coopersmith commit 0f153064bfa4bb69e86f3f2383f2f421f2360319 Author: Alan Coopersmith Date: Sat Aug 24 18:19:45 2024 -0700 is_numeric: Add TRANS_SERVER to required ifdefs Avoids -Wunused-function warnings when only building for TRANS_CLIENT code, such as libFS. Signed-off-by: Alan Coopersmith Part-of: commit 957adac35fb77d5a72f676d697f32ce94ab7392f Author: Alan Coopersmith Date: Sat Aug 24 18:12:16 2024 -0700 SocketOpen: avoid leak of out-of-range fd Clears gcc 14.1 warning: /usr/include/X11/Xtrans/Xtranssock.c: In function ‘_FSTransSocketOpen’: /usr/include/X11/Xtrans/Xtranssock.c:425:9: warning: leak of file descriptor [CWE-775] [-Wanalyzer-fd-leak] 425 | free (ciptr); | ^~~~~~~~~~~~ [...] | 415 | || ciptr->fd >= sysconf(_SC_OPEN_MAX) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | (62) ...to here | | (63) following ‘true’ branch... [...] Signed-off-by: Alan Coopersmith Part-of: commit bea5a32105aebdc99f84f9ee4b70de7a116eb1d7 Author: Alan Coopersmith Date: Sat Aug 24 17:49:58 2024 -0700 GetPeerNetworkId: avoid calling strlen() on a NULL pointer Various failure states may leave addr set to NULL instead of a string. Clears warnings from gcc 14.1: /usr/include/X11/Xtrans/Xtransutil.c: In function ‘_IceTransGetPeerNetworkId’: /usr/include/X11/Xtrans/Xtransutil.c:402:62: warning: use of NULL ‘addr’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] 402 | hostname = malloc (strlen (ciptr->transptr->TransName) + strlen (addr) + 2); | ^~~~~~~~~~~~ : note: argument 1 of ‘__builtin_strlen’ must be non-null Signed-off-by: Alan Coopersmith Part-of: commit e5390ab716fb470ac4b5fd7a4133eabbfaac994e Author: Alan Coopersmith Date: Sat Aug 24 17:44:41 2024 -0700 GetPeerNetworkId: Avoid writing to NULL pointer if malloc() fails Clears gcc 14.1 warning: /usr/include/X11/Xtrans/Xtransutil.c:403:5: warning: use of possibly-NULL ‘hostname’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] 403 | strcpy (hostname, ciptr->transptr->TransName); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : note: argument 1 of ‘__builtin_strcpy’ must be non-null Signed-off-by: Alan Coopersmith Part-of: commit 215e8db07d05d425714b05b8a439c73735f9d04f Author: Alan Coopersmith Date: Sat Aug 24 17:40:10 2024 -0700 GetMyNetworkId: Avoid writing to NULL pointer if malloc() fails Clears warnings from gcc 14.1: In file included from /usr/include/X11/Xtrans/transport.c:70: /usr/include/X11/Xtrans/Xtransutil.c: In function ‘_IceTransGetMyNetworkId’: /usr/include/X11/Xtrans/Xtransutil.c:253:9: warning: use of possibly-NULL ‘networkId’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] 253 | sprintf (networkId, "%s/%s:%s", transName, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 254 | hostnamebuf, saddr->sun_path); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : note: argument 1 of ‘__builtin_sprintf’ must be non-null /usr/include/X11/Xtrans/Xtransutil.c:283:9: warning: use of possibly-NULL ‘networkId’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] 283 | sprintf (networkId, "%s/%s:%s", transName, hostnamebuf, portnumbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : note: argument 1 of ‘__builtin_sprintf’ must be non-null Signed-off-by: Alan Coopersmith Part-of: commit 376744aa60ff8df0ddbcf090f0177c15706df71e Author: Alan Coopersmith Date: Sat Aug 24 17:33:13 2024 -0700 MakeAllCOTSServerListeners: Initialize temp_ciptrs I don't think this is strictly necessary, but it shouldn't hurt and makes gcc 14.1 stop warning about: /usr/include/X11/Xtrans/Xtrans.c: In function ‘_IceTransMakeAllCOTSServerListeners’: /usr/include/X11/Xtrans/Xtrans.h:108:21: warning: use of uninitialized value ‘temp_ciptrs[j]’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 108 | #define TRANS(func) _IceTrans##func /usr/include/X11/Xtrans/Xtrans.c:1203:21: note: in expansion of macro ‘TRANS’ 1203 | TRANS(Close) (temp_ciptrs[j]); | ^~~~~ Signed-off-by: Alan Coopersmith Part-of: commit 742462a572e524ae82a8c18106c03820da322102 Author: Alan Coopersmith Date: Sat Aug 24 17:23:10 2024 -0700 ParseAddress: return failure when strdup() fails Clears warning from gcc 14.1: In file included from /usr/include/X11/Xtrans/transport.c:69: /usr/include/X11/Xtrans/Xtrans.c: In function ‘_IceTransParseAddress’: /usr/include/X11/Xtrans/Xtrans.c:246:19: warning: use of possibly-NULL ‘mybuf’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] 246 | if ( ((mybuf = strchr (mybuf,'/')) == NULL) && | ^~~~~~~~~~~~~~~~~~ Signed-off-by: Alan Coopersmith Part-of: commit e9ead32308c588e5c12dbfb6a6452e0f2c88bafd Author: Alan Coopersmith Date: Sat Aug 24 17:18:01 2024 -0700 SocketINETConnect: return failure when malloc() fails Clears warning from gcc 14.1: In file included from /usr/include/X11/Xtrans/transport.c:67: /usr/include/X11/Xtrans/Xtranssock.c: In function ‘_IceTransSocketINETConnect’: /usr/include/X11/Xtrans/Xtranssock.c:1385:33: warning: dereference of possibly-NULL ‘addrlist’ [CWE-690] [-Wanalyzer-possible-null-dereference] 1385 | addrlist->firstaddr = NULL; | ^ Signed-off-by: Alan Coopersmith Part-of: commit 4792e9e798de327572aba1575438b6936a55c7ef Author: Alan Coopersmith Date: Sat Aug 24 17:11:28 2024 -0700 Clear numerous -Wsign-compare warnings from gcc 14.1 Signed-off-by: Alan Coopersmith Part-of: commit 9ad6c6764f0517f91492c04ae03a59f53229ef69 Author: Alan Coopersmith Date: Sat Aug 24 16:52:05 2024 -0700 SocketCreateListener: Fix -Wuseless-cast warning in bind() call sockname is defined as struct sockaddr * in the arguments to SocketCreateListener so we don't need to cast to that when calling bind() Signed-off-by: Alan Coopersmith Part-of: commit 9ed4f5ec909cf262a2404012768858792f976e36 Author: Alan Coopersmith Date: Sat Aug 24 16:51:17 2024 -0700 LocalInitTransports: Fix -Wuseless-cast warning for getenv() call Signed-off-by: Alan Coopersmith Part-of: commit edd3f51328df9c621277168c9dd77b1e80ccfd7c Author: Robert Royals Date: Sun Jul 21 22:54:27 2024 +0100 Fix string length check Part-of: commit 656d27ed32af4082e8062c1d7c42b65ea3a6b80f Author: Kim Woelders Date: Thu Mar 28 18:01:20 2024 +0100 TRANS(GetHostname): Fix "‘strncpy’ output truncated.." warning Occurs when compiling xserver master with gcc 13.2.1. In file included from /local/stuff/xorg/include/X11/Xtrans/transport.c:69: In function ‘_XSERVTransGetHostname’, inlined from ‘_XSERVTransConvertAddress’ at /local/stuff/xorg/include/X11/Xtrans/Xtransutil.c:188:12: /local/stuff/xorg/include/X11/Xtrans/Xtrans.c:1352:5: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1352 | strncpy (buf, name.nodename, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /local/stuff/xorg/include/X11/Xtrans/Xtrans.c:1350:11: note: length computed here 1350 | len = strlen (name.nodename); | ^~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Kim Woelders Part-of: commit 6171150fe9f8edad3f1cfb14cec59e6a42a9c15b Author: Kim Woelders Date: Thu Mar 28 17:29:26 2024 +0100 TRANS(ParseAddress): Fix "assignment discards ‘const’ qualifier" warnings Occurs when compiling xserver master with gcc 13.2.1. In file included from /local/stuff/xorg/include/X11/Xtrans/transport.c:69, from ../os/xstrans.c:17: /local/stuff/xorg/include/X11/Xtrans/Xtrans.c: In function ‘_XSERVTransParseAddress’: /local/stuff/xorg/include/X11/Xtrans/Xtrans.c:216:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 216 | _host = ""; | ^ /local/stuff/xorg/include/X11/Xtrans/Xtrans.c:217:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 217 | _port = address; | ^ /local/stuff/xorg/include/X11/Xtrans/Xtrans.c:229:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 229 | _host = ""; | ^ /local/stuff/xorg/include/X11/Xtrans/Xtrans.c:230:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 230 | _port = address + 5; | ^ Signed-off-by: Kim Woelders Part-of: commit c219be946b1d8a641dcbc7a60904293f105e2866 Author: Enrico Weigelt, metux IT consult Date: Wed Apr 3 12:11:48 2024 +0200 update .gitignore Add some yet missing auto-generated files. Signed-off-by: Enrico Weigelt, metux IT consult commit 806f04c6e4529358f160e53135baf105e4ecf3b8 Author: Alan Coopersmith Date: Fri Oct 13 13:37:49 2023 -0700 gitlab CI: add libc-dev to required packages in build container Resolves configure failure: configure:3823: checking whether the C compiler works configure:3845: gcc conftest.c >&5 /usr/bin/ld: cannot find Scrt1.o: No such file or directory /usr/bin/ld: cannot find crti.o: No such file or directory collect2: error: ld returned 1 exit status configure:3849: $? = 1 configure:3889: result: no Signed-off-by: Alan Coopersmith commit 3aa3c318ded5da802e181f0d29b94ab6a692e387 Author: Alan Coopersmith Date: Fri Oct 13 13:32:15 2023 -0700 gitlab CI: collect config.log to help diagnose failures Signed-off-by: Alan Coopersmith commit 6d5a4512b5ee4757a474df3f5e938784da963de1 Author: Alan Coopersmith Date: Fri Oct 13 13:26:49 2023 -0700 gitlab CI: add xz-utils to container for "make distcheck" Also update to latest ci-templates Signed-off-by: Alan Coopersmith commit 3b3a3bd75d86aec78f6ef893b198c3efc378bc64 Author: Alan Coopersmith Date: Fri Jun 2 17:29:41 2023 -0700 xtrans 1.5.0 Signed-off-by: Alan Coopersmith commit 232a11a947564762689e63c3a6603d3f956f696d Author: Demi Marie Obenour Date: Thu Dec 15 14:48:13 2022 -0500 DISPLAY starting with unix: or / is always a socket path Do not consider anything else in this case. Signed-off-by: Demi Marie Obenour commit b898f415e7c31de5b4beb06b22a5498049852e53 Author: Demi Marie Obenour Date: Thu Dec 15 14:43:37 2022 -0500 Allow full paths to sockets on non-macOS This adds explicit checks for addresses that start with / or unix: and uses full paths in this case. Signed-off-by: Demi Marie Obenour commit e24adec1203cd25423ab2835a5be4f6b828b72a5 Author: Demi Marie Obenour Date: Thu Dec 17 03:28:45 2020 +0000 Remove client-side abstract socket support CVE-2020-25697 and the Flatpak documentation show that clients using abstract sockets without mutual authentication is unsafe. TRANS_ABSTRACT remains supported, but it is now a no-op on the client side. Abstract sockets are still supported for servers, as the X server authenticates the client via other methods. Signed-off-by: Demi Marie Obenour commit 9d77996f9f972da63c06099fd8c0f0529159b98f Author: Alan Coopersmith Date: Sat Feb 25 09:33:29 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 commit 9ae32feef793082a302e65d31514a958604c761d Author: Olivier Fourdan Date: Tue Jun 25 14:59:59 2019 +0200 Allow partial connection to succeed Xwayland can optionally be socket-activated by the Wayland compositor, in which case it would use only the sockets provided by the compositor. However, that prevents other transport protocols from working, because when it's given a socket from the Wayland compositor, it would disable all other connections and rely solely on the given socket. Change `MakeAllCOTSServerListeners` to allow for partial connections so that if `partial` is set to a non-zero value by the caller, we do not bail out in the address is already in use. That allows to continue trying with other protocols even if the local connection fails (as this is already handled by the socket from the Wayland compositor). Related: https://gitlab.freedesktop.org/xorg/xserver/issues/817 Signed-off-by: Olivier Fourdan commit c761c6505d49e8381a3eae94f2e5e118cbdf6487 Author: Keith Packard Date: Wed Jan 29 12:54:26 2014 -0800 Use font server ErrorF/VErrorF instead of private versions XTrans creates custom ErrorF/VErrorF functions when the including project doesn't provide them, however the test for that is weak and xtrans ends up using the private versions for the font server as well. This means that all xtrans error messages will not be included in the font server log. It also causes redefinition warnings when building the font server (which is how this problem was identified). However, the font server doesn't currently provide a VErrorF function, so instead of just always relying on the font server to provide these functions, this patch uses a new TRANS_HAS_ERRORF define to select whether the project-provided or internal versions will be used. A patch to the font server that adds VErrorF and defines TRANS_HAS_ERRORF will be required to fix this bug. Signed-off-by: Keith Packard commit 8c0f5228e75aa949963aa8d27dcfa2648db2e197 Author: Keith Packard Date: Wed Jan 29 12:54:25 2014 -0800 move is_numeric to Xtranssock.c and only define for TCPCONN or TRANS_REOPEN Don't define this function unless it is actually going to be used. Signed-off-by: Keith Packard commit 3309c75906a56de86607f59481304b3a2812162f Author: Alan Coopersmith Date: Tue May 10 09:18:15 2022 -0700 gitlab CI: add a basic build test Signed-off-by: Alan Coopersmith commit c069ede3c97f543d9bbe9ed67e56c74142921cc5 Author: Alan Coopersmith Date: Tue May 10 09:15:11 2022 -0700 Fix spelling/wording issues Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith commit 16a015524f3820f969362c2d10a3664999a12c3b Author: Alan Coopersmith Date: Tue May 10 09:11:07 2022 -0700 Build xz tarballs instead of bzip2 Signed-off-by: Alan Coopersmith commit 7898badde44cf518da6879c2622b6db9cd709c7d Author: Ray Strode Date: Fri May 6 14:23:59 2022 -0400 Automatically disable inet6 transport if ipv6 is disabled on machine If a machine is booted with ipv6.disable=1, trying to bind to an AF_INET6 socket will fail with AFNOSUPPORT. The tcp transport automatically falls back to ipv4 in this case, but the more specific inet6 transport just fails. This failure leads to MakeAllCOTSServerListeners returning a partial success. Unfortunately, the X server can't really contiue with partial successes from this function if -displayfd is in use, since that would, in other cases, potentially lead to the -displayfd electing a display number that is potentially partially in use by a rogue program. This commit addresses the issue by automatically disabling transports when they fail with AFNOSUPPORT, leading them to get ignored, rather than proceeding and ultimately returning from MakeAllCOTSServerListerns with partial=TRUE. commit 3b5df889f58a99980a35a7b4a18eb4e7d2abeac4 Author: Adam Jackson Date: Wed Oct 9 14:05:47 2019 -0400 TEST_t is never defined This didn't even correspond to any of the testing protocol extensions! Apparently there used to be some test programs in xtrans itself, and they've not been a thing since 1994: https://cgit.freedesktop.org/~alanc/xc-historical/commit/?id=73bf4832c427855b2ce111d47dd1f181564b8d06 Reviewed-by: Alan Coopersmith commit d0d471579ca69365d4cd5a548ce6fc8b4662d467 Author: Adam Jackson Date: Wed Sep 25 11:09:52 2019 -0400 Remove non-Solaris SysV support Reviewed-by: Alan Coopersmith commit 521682b8b72e3ad50c9ae66a9b35249100188eb2 Author: Adam Jackson Date: Tue Sep 24 21:29:46 2019 -0400 Delete SCO support Reviewed-by: Alan Coopersmith commit 3f8b27a9dff68792fdc448782459a6d41cade9ff Author: Adam Jackson Date: Tue Sep 24 19:48:17 2019 -0400 unifdef USG and NCR Reviewed-by: Alan Coopersmith commit c4262efc9688e495261d8b23a12f956ab38e006f Author: Alan Coopersmith Date: Sat Mar 16 14:25:35 2019 -0700 xtrans 1.4.0 Signed-off-by: Alan Coopersmith commit faa42207a0653535ab80825b0acb50b417702ec4 Author: Alan Coopersmith Date: Fri Dec 7 19:52:43 2018 -0800 Update configure.ac bug URL for gitlab migration Signed-off-by: Alan Coopersmith commit cd22de616c77328da3410b1eaab541c2d331ffdb Author: Alan Coopersmith Date: Mon Nov 19 23:12:07 2018 -0800 Update README for gitlab migration Signed-off-by: Alan Coopersmith commit 06cfa80fb3d03ca03fd92f9687a77958338e012c Author: Alan Coopersmith Date: Sun Sep 30 17:04:51 2018 -0700 Use fchmod() instead of chmod() when creating named pipes Signed-off-by: Alan Coopersmith commit 7bd504f7ab7799ab77ad50eb39f6afdbaf2f9e50 Author: Alan Coopersmith Date: Sat Aug 25 11:18:52 2018 -0700 Use strcasecmp if it's available, instead of lowercasing strings Signed-off-by: Alan Coopersmith commit 941cfa50bc2d45f20943fd21bab98e2eceeeb259 Author: Alan Coopersmith Date: Sat Aug 25 10:45:04 2018 -0700 Set freeXLOCAL to NULL after freeing it to prevent double frees We shouldn't be calling the LocalEndTransports routine twice, but just make sure if we do, we don't call free twice on the same pointer. Signed-off-by: Alan Coopersmith commit a97e5fc6e4f294294d75500068892aea11952773 Author: Rin Okuyama Date: Tue Feb 21 06:18:37 2017 +0000 avoid -Wformat errors from clang https://bugs.freedesktop.org/show_bug.cgi?id=99882 Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 28366676effaa512e43bfd2276a317389a992511 Author: Emil Velikov 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 Reviewed-by: Peter Hutterer Signed-off-by: Peter Hutterer commit 8554cf05262ab6ad6e8da5f11022e5dc2a452e38 Author: Peter Hutterer 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 Reviewed-by: Emil Velikov commit 560d7550e23e9b14056b4a9b2569c2f256015f8a Author: Jeremy Huddleston Sequoia Date: Sat Sep 10 22:09:51 2016 -0700 Update strlcpy macro check to also check HAVE_STRLCPY xorg-server moved from HAS_STRLCPY to HAVE_STRLCPY in 2011 cf-xserver: d829a7c5cb42c979b58f3547136df5b05d906423 Signed-off-by: Jeremy Huddleston Sequoia commit 2e4c338eda8ec6996b7bacc1d0c7dfe7de925864 Author: Adam Jackson Date: Thu Sep 1 09:28:58 2016 -0400 Revert "Make FreeConnInfo static" ajax: 75419e6b6d985ea8796f05d1acb5e154b065c9b9 of xtrans also seems to have broken xtest. And indeed it does, xts5 knows a fair amount about xlib internals for some reason. Whether that's cromulent or not, we want to be able to run automatic tests from top-of-tree, so we can't leave this broken. This reverts commit 75419e6b6d985ea8796f05d1acb5e154b065c9b9. Signed-off-by: Adam Jackson commit 3810e026323210df6ec6cf818f01832a63e9fbb9 Author: Adam Jackson Date: Wed May 18 12:58:31 2016 -0400 Remove GetMyAddr Again, pre-xcb libX11 was the only consumer. Reviewed-by: Keith Packard Signed-off-by: Adam Jackson commit 75419e6b6d985ea8796f05d1acb5e154b065c9b9 Author: Adam Jackson Date: Wed May 18 12:50:48 2016 -0400 Make FreeConnInfo static libX11 used to need this in the XOpenDisplay code, but hasn't since xcb became mandatory. Reviewed-by: Keith Packard Signed-off-by: Adam Jackson commit 0794b1b712a90b40e2b019c9edc6f96874493c52 Author: Adam Jackson Date: Wed May 18 12:41:41 2016 -0400 unifdef LBXPROXY_t and TEST_t LBX is dead, and TEST_t is unused. Reviewed-by: Keith Packard Signed-off-by: Adam Jackson commit 473e77563b16fa7c42db9403c1382e9483e3666c Author: Adam Jackson Date: Wed May 18 12:38:02 2016 -0400 Remove CLTS code Never been used, as far as I can tell. Reviewed-by: Keith Packard Signed-off-by: Adam Jackson commit b167145a51153eccc16a3e43f7ed0faea7e6c762 Author: Adam Jackson Date: Wed May 18 15:19:50 2016 -0400 autogen: Add a default patch prefix Signed-off-by: Adam Jackson commit cc29fbc1fe86ae4dfe2f4eaae7352ea86aa4acac Author: Alan Coopersmith Date: Sat Nov 28 13:04:21 2015 -0800 Remove support for SysV on x86 platforms other than Solaris & SCO No other x86 SysV platforms have ever been supported in the modular build systems, so we don't need to keep carrying around a bunch of ifdef's for them. Signed-off-by: Alan Coopersmith Reviewed-by: Mark Kettenis commit 3ba0b7a37b9053662ff42f0b4caa856856098475 Author: Richard PALO Date: Tue Nov 17 07:02:27 2015 +0100 Replace 'sun' with '__sun' Globally replace #ifdef and #if defined usage of 'sun' with '__sun' such that strict ISO compiler modes such as -ansi or -std=c99 can be used. Signed-off-by: Richard PALO Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 1d31b87e8045f3fc89b1914187a9a13861d35f2d Author: Julien Cristau Date: Wed Jul 29 20:36:13 2015 +0200 Make sure LONG64 is defined in Xtrans.h Xtrans.h defines BytesReadable_t as int or long depending on whether LONG64 is defined. We need to make sure Xmd.h is included so our idea of BytesReadable_t is consistent across compilation units. Debian bug#749120 Reported-by: Michael Tautschnig Signed-off-by: Julien Cristau Reviewed-by: Alan Coopersmith commit 7cbad9fe2e61cd9d5caeaf361826a6f4bd320f03 Author: Keith Packard Date: Sat Sep 20 10:02:05 2014 -0700 xtrans 1.3.5 Signed-off-by: Keith Packard commit fb7f198c88e97d22c8c89e76e9cd06b2b2720a96 Author: Keith Packard Date: Fri Sep 12 11:27:39 2014 -0700 Add TRANS(Listen) function to re-enable specific listen sockets This will allow a server to disable listeners by default and then let later configuration re-enable them. In particular, this lets the X server disable inet and unix listen sockets by default while still providing a '-listen' command line option to re-enable them later on. Signed-off-by: Keith Packard Reviewed-by: Hans de Goede commit 17491de45c352c833442cccf17a9bd65909889db Author: Alan Coopersmith Date: Sat Aug 23 12:28:14 2014 -0700 Add const qualifiers to TRANS(OpenC{L,O}TS{Server,Client}) args Signed-off-by: Alan Coopersmith commit 305d20f2ee888d1c890f902da978176b8ec58a8d Author: Alan Coopersmith Date: Sat Aug 23 12:10:48 2014 -0700 Add const qualifiers to TRANS(MakeAll*ServerListeners) port args Required also changing receive_listening_fds to specify port as const, which we can do now that TRANS(ReopenCOTSServer) takes it as const. Signed-off-by: Alan Coopersmith commit ba70d48951fb925fb3082d81afb08c330333aa51 Author: Alan Coopersmith Date: Sat Aug 23 11:33:57 2014 -0700 Add const qualifiers to TRANS(Connect) args Also required constifying UnixHostReallyLocal, since SocketUNIXConnect passes the host arg through to it. Signed-off-by: Alan Coopersmith commit 63b65a20706def951dd25e531949b7bc556419eb Author: Alan Coopersmith Date: Sat Aug 23 10:17:57 2014 -0700 Add const qualifiers to TRANS(CreateListener) port args Signed-off-by: Alan Coopersmith commit fd90a4e00321b22c96565cfa354b8b0efa376979 Author: Alan Coopersmith Date: Sat Aug 23 10:07:22 2014 -0700 Add const qualifiers to TRANS(Reopen...) port args Signed-off-by: Alan Coopersmith commit a56ec9d720a7964bada837790e9c1f6ceef97861 Author: Alan Coopersmith Date: Sat Aug 23 09:58:05 2014 -0700 Add const qualifiers to TRANS(Open...) address args Required also adding const to static TRANS(ParseAddress) function which they pass the address arg to for parsing. Signed-off-by: Alan Coopersmith commit 30b3fd74a27c80993e81dfcb33e33520ae8684fb Author: Alan Coopersmith Date: Sat Aug 23 12:46:44 2014 -0700 Update docs to note that TransName is now const char * Missed when the code was updated in commit eb9a8904fbef61a57ff0. Signed-off-by: Alan Coopersmith commit a57a7f62242e1ea972b81414741729bf3dbae0a4 Author: Hans de Goede Date: Mon Mar 31 12:37:43 2014 +0200 xtrans 1.3.4 Signed-off-by: Hans de Goede commit 1cd9cbe9b404e6c3e73dc0239d11547a5e2c02c4 Author: Mark Kettenis Date: Sat Mar 29 23:51:49 2014 +0100 Increase UNIX socket buffer size Some systems provide a really small default buffer size for UNIX sockets. Bump it up to 64k if necessary such that large transfers (such as XGetImage() on a 8-megapixel image) don't take tens of seconds. Signed-off-by: Hans de Goede commit 68f60238c4224f954ff6556ae778c72e420175f0 Author: Thomas Klausner Date: Wed Mar 26 13:21:49 2014 +0100 Add missing headers for free() and strlen(). Reviewed-by: Mark Kettenis Signed-off-by: Thomas Klausner commit 34463baacb3cafc096e0e0859bc10d6868cb2299 Author: Thomas Klausner Date: Wed Mar 26 13:21:23 2014 +0100 Cast ctype(3) function arguments to unsigned char. Fixes warnings on at least NetBSD. Reviewed-by: Mark Kettenis Signed-off-by: Thomas Klausner commit f20a9bb2ea25408ce9f1166b3b6e48759960fe86 Author: Hans de Goede Date: Mon Mar 3 08:42:45 2014 +0100 configure: Also add -D_DEFAULT_SOURCE to .pc cflags to shut up glibc warnings The latest glibc considers _BSD_SOURCE deprecated, leading to the following warning being issued for pretty much every C-file in the xserver: In file included from /usr/include/stdint.h:25:0, from /usr/lib/gcc/x86_64-redhat-linux/4.8.2/include/stdint.h:9, from ../include/misc.h:81, from miexpose.c:82: /usr/include/features.h:145:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ I've discussed this with the glibc developers and the prefered way of fixing this is by also defining _DEFAULT_SOURCE which is the new way of stating _BSD_SOURCE / _SVID_SOURCE . Signed-off-by: Hans de Goede Reviewed-by: Mark Kettenis Tested-by: Kristian Høgsberg Reviewed-by: Kristian Høgsberg commit 3f0de269abe59353acbd7a5587d68ce0da91db67 Author: Hans de Goede Date: Thu Jan 23 11:47:25 2014 +0100 xtrans 1.3.3 Signed-off-by: Hans de Goede commit 8f3bbed42c308f9c90293f23b7eaceff006aa232 Author: Jon TURNEY Date: Wed Jul 10 16:29:12 2013 +0100 Add TransIsListening() libxtrans provides TransNoListen() to set the 'don't listen' flag for a particular transport, but there is no interface to query the state of that flag This is a bit of a problem for the XWin server, as it wants to start some helper clients (for clipboard integration and integrated window management), so needs to know what transports the server is listening on to construct appropriate display names for those clients. Add TransIsListening() to discover if TransNoListen() has been called for a particular protocol or not HdG: -Invert the final check so that TransIsListening returns True when TRANS_NOLISTEN is not set, as one would expect of it. -Make the protocol argument a const char * as similar functions do -Fix "warning: too many arguments for format" warning Signed-off-by: Jon TURNEY Signed-off-by: Hans de Goede commit e1e6121a1638d43d9929589b4723da2b38cb6b44 Author: Łukasz Stelmach Date: Mon Nov 25 11:11:54 2013 +0100 Enable systemd socket activation Receive file descriptors of open sockets from systemd instead of creating them. Signed-off-by: Łukasz Stelmach Cc: Kyungmin Park Cc: MyungJoo Ham Cc: Piort Bereza Cc: Karol Lewandowski Cc: Lennart Poettering Cc: Zbigniew Jędrzejewski-Szmek Cc: Peter Hutterer Cc: walter harms Signed-off-by: Hans de Goede Acked-by: Peter Hutterer commit b895d45e225dd3d1bf9d598774d3ae4f29fcbc25 Author: Łukasz Stelmach Date: Thu Nov 28 12:57:21 2013 +0100 Define TRANS_RECEIVED flag for transports The flag is to be used to mark transports related to sockets received from systemd. Signed-off-by: Łukasz Stelmach Signed-off-by: Hans de Goede Acked-by: Peter Hutterer commit 2c0a7840a28ae696e80e73157856d7a049fdf6c7 Author: Gaetan Nadon Date: Sun Dec 15 19:49:59 2013 -0500 xtrans.m4: remove AC_TYPE_SIGNAL and Imake SIGNALRETURNSINT Assume signal handlers return void, as C89 requires Drops use of autoconf's obsolete AC_TYPE_SIGNAL and Imake's even more obsolete SIGNALRETURNSINT. None of the modules including xtrans.m4 uses RETSIGTYPE from autoconf. Signed-off-by: Gaetan Nadon commit 87547e43189301e3dd42feb9d7ff32a75d0e727f Author: Gaetan Nadon Date: Sun Dec 15 16:11:00 2013 -0500 xtrans.m4: replace deprecated AC_HAVE_LIBRARY with AC_CHECK_LIB The #define HAVE_LIBWS2_32 is still done and the lib ws2_32 is prepended to LIBS if found. Signed-off-by: Gaetan Nadon commit 88433eb1abe887000d34315c2f55aa42fcddfdee Author: Gaetan Nadon Date: Sun Dec 15 15:36:48 2013 -0500 xtrans.m4: fix warning by replacing obsolete AC_HELP_STRING with AS_HELP_STRING Signed-off-by: Gaetan Nadon commit 9487701904b71985549f60c9d8bc5df48682b55a Author: Mark Kettenis Date: Thu Nov 21 11:55:17 2013 +0100 Don't restrict FD passing to Linux & Solaris Signed-off-by: Mark Kettenis Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 8b2c8aabe27bcaa4de6432b53c4a1296010ea823 Author: Mark Kettenis Date: Mon Nov 11 23:18:01 2013 +0100 Fix alignment issues in FD passing code A char array on the stack is not guaranteed to have more than byte alignment. This means that casting it to a 'struct cmsghdr' and accessing its members may result in unaligned access. This will generate SIGBUS on strict alignment architectures like OpenBSD/sparc64. The solution is to use a union to force proper alignment. Signed-off-by: Mark Kettenis Reviewed-by: Matthieu Herrb commit 81662d2018a35a161a5e9707563ee7f503f8d3e0 Author: Mark Kettenis Date: Mon Nov 11 23:16:15 2013 +0100 Remove unused static inlines Signed-off-by: Mark Kettenis Reviewed-by: Matthieu Herrb commit 0153d1670e4a1883e1bb6dd971435d6268eac5ba Author: Alan Coopersmith Date: Thu Nov 7 20:16:53 2013 -0800 xtrans 1.3.2 Signed-off-by: Alan Coopersmith commit 426049c30162ed620cc16bb58edef6aac4e2ee5d Author: Alan Coopersmith Date: Thu Nov 7 19:17:44 2013 -0800 Allow XTRANS_SEND_FDS on Solaris as well Signed-off-by: Alan Coopersmith commit 76b4f4430f9a857a1b54bfde9ef57a95b87789f5 Author: Alan Coopersmith Date: Wed Nov 6 22:34:03 2013 -0800 Check if we need to define _XOPEN_SOURCE for struct msghdr.msg_control Required to expose the structure members in Solaris headers, since it was an XPG4/UNIX95 addition to the Solaris ABI. Signed-off-by: Alan Coopersmith commit 32070a64ba99fb89ec039e26444b1e026d6a978e Author: Alan Coopersmith Date: Wed Nov 6 21:52:21 2013 -0800 Add stubs for send/recv fd functions in local transports Signed-off-by: Alan Coopersmith commit 08bf85958fab64951a9ba9e27dcb6b8eb818cc7e Author: Keith Packard Date: Thu Nov 7 18:04:30 2013 -0800 Switch to CMSG_* macros for FD passing This should be portable to non-Linux systems Signed-off-by: Keith Packard Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 6b54b5cf8086f127aa87096e2bdd2263d1c81683 Author: Keith Packard Date: Thu Nov 7 03:49:05 2013 -0800 Actually disable all of the FD passing code unless XTRANS_SEND_FDS is set Stick all of the functions relating to FD passing inside Signed-off-by: Keith Packard commit f3709f3e0b883a0b4956313f89fa931e9264c346 Author: Keith Packard Date: Wed Nov 6 23:16:11 2013 -0800 Update to version 1.3.1 Signed-off-by: Keith Packard commit 074614940c570524e1446f55fc12a64415057e1f Author: Mark Kettenis Date: Wed Nov 6 23:13:28 2013 -0800 Don't include file descriptor passing code by default Leave it up to the consumer to request this functionality by defining XTRANS_SEND_FDS. Signed-off-by: Mark Kettenis Reviewed-by: Keith Packard Signed-off-by: Keith Packard v2 - make sure this is only defined on systems where the code actually works (Linux for now) commit a7094c389ac9fd5ca265996f76eb55cb1133974b Author: Keith Packard Date: Sat Nov 2 19:23:41 2013 -0700 Add SEND_FDS version of Readv Now that we've found that libFS uses readv, we can test whether this readv implementation works correctly. Signed-off-by: Keith Packard commit 58151f63553faf81babd1371770b7a7f33cecac1 Author: Keith Packard Date: Sat Nov 2 19:10:11 2013 -0700 Revert "Remove 'Readv' interface" This reverts commit 9e8d99c2e27f2c8acbbfb5b760649aa1bfad665e. libFS still uses this API... commit 1fb0fd555a16dd8fce4abc6d3fd22b315f46762a Author: Keith Packard Date: Thu Oct 31 17:21:53 2013 -0700 Update to version 1.3.0 Adds FD passing interfaces and pulls in current patches past 1.2.7 Signed-off-by: Keith Packard commit adf920aa25c1709998c7c9276927061bd58e2dfc Author: Keith Packard Date: Tue Jan 8 16:47:05 2013 -0800 Add APIs to send file descriptors through the network Exposes new TRANS(SendFd)/TRANS(RecvFd) APIs. Signed-off-by: Keith Packard commit 9e8d99c2e27f2c8acbbfb5b760649aa1bfad665e Author: Keith Packard Date: Fri Jan 18 16:47:30 2013 -0800 Remove 'Readv' interface No-one uses this, so there's no reason for it to be in the library Signed-off-by: Keith Packard commit f6a161f2a003f4da0a2e414b4faa0ee0de0c01f0 Author: Łukasz Stelmach Date: Tue Jul 9 16:24:43 2013 +0200 Add const qualifier to unix_nolisten Signed-off-by: Łukasz Stelmach Reviewed-by: Alan Coopersmith Reviewed-by: Peter Hutterer Signed-off-by: Alan Coopersmith commit bd53f4c8543faf910a7a151241ee07661b4d57ad Author: Alan Coopersmith Date: Sun Jan 27 22:11:40 2013 -0800 Docs: Drop pre-C89 TRANS() from docs since it's no longer in the headers Signed-off-by: Alan Coopersmith commit 3c4e0455425d5afd546c4a3f2cc9f8c7e60f2fca Author: Alan Coopersmith Date: Sun Jan 27 21:39:34 2013 -0800 Docs: convert function synopses to docbook funcsynopsis markup Also add some cross-reference links and various other markup improvements. Signed-off-by: Alan Coopersmith commit d9f3728ff74ceb956f6cf8dc24b38611f9a4868a Author: Colin Walters 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 commit 575e1e901ca842ba8ff7417f48175fb6a8d70859 Author: Adam Jackson Date: Tue Jan 15 14:28:48 2013 -0500 configure: Remove AM_MAINTAINER_MODE Signed-off-by: Adam Jackson commit ec3136232f7ce930f9ca812b6ab42a71b60af4af Author: Alan Coopersmith Date: Wed Dec 26 19:08:16 2012 -0800 Remove unused TLI ("STREAMSCONN") code from xtrans 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 commit 8ce5ecd33b05becc054dbd07f87e385165b6c979 Author: Alan Coopersmith Date: Thu Mar 22 20:04:07 2012 -0700 xtrans 1.2.7 Signed-off-by: Alan Coopersmith commit f8eea0bf256de59602790b6a7c7877b31520440f Author: Matt Dew Date: Wed Jan 11 22:23:32 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 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 commit 6086f6c1d0e0a1c9e590879acb2319dea0eb6e96 Author: Robert Bragg Date: Mon Dec 12 00:30:43 2011 +0000 Xtranssock.c: avoid buffer overrun in SocketReopen This function was constructing an address from a port string allocating a buffer according to the size of the string but then later copying the address according to sizeof(struct sockaddr). This patch ensures that we allocate a struct sockaddr buffer with enough space for the port string to be copied into sa_data[] and uses that combined length to determine how much should be copied at the end of the function. This fixes a crash when using xwayland which uses ListenOnOpenFD() that will call _XSERVTransReopenCOTSServer() with a short port string like ":1". Signed-off-by: Robert Bragg Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit a04a45cb94f7f569e6dd77df93258fa167d0a4ea Author: Alan Coopersmith Date: Wed Nov 30 18:40:46 2011 -0800 Remove unnecessary casts on malloc, calloc & free calls Signed-off-by: Alan Coopersmith Reviewed-by: Mark Kettenis commit a0bfb4fefd20b396e3d88eff0c60602fc436dad5 Author: Alan Coopersmith Date: Wed Nov 30 18:11:15 2011 -0800 Replace malloc(strlen)+strcpy with strdup Signed-off-by: Alan Coopersmith Reviewed-by: Mark Kettenis commit b89e1b45198c48996750b5da3d715c10f974243f Author: Alan Coopersmith Date: Wed Nov 30 18:05:05 2011 -0800 Finish conversion to standard C allocation functions Commit 4ac40cd5451 started this, by no longer special casing the xserver to include it's former custom allocation functions, this just takes the remaining #defines and pre-substitutes them into the code. Signed-off-by: Alan Coopersmith commit ff992be7b05483f9a0586a27ee0edb6d99580b84 Author: Alan Hourihane Date: Thu Dec 1 12:04:22 2011 +0000 Fix some resource & memory leaks in libxtrans. Signed-off-by: Alan Hourihane Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 29c9e101f7ad72556aa6b3dbc17d66a1ace9b2b1 Author: Matt Dew Date: Tue Oct 4 21:59:50 2011 -0600 Cleanup IDs and links in doc 1 - fix the capitalization of the ID attributes to match either the 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 0f942e5f015cb3270e6f2e17c308bee894cb5fe3 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Sep 25 11:39:13 2011 -0700 Convert a bunch of sprintf calls to snprintf Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> commit eb9a8904fbef61a57ff01c90627ead57055ed62b Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Sep 25 11:18:26 2011 -0700 Add const attributes to fix gcc -Wwrite-strings warnings Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> commit 4e610d4bbcf29cca9dc5dbad29ca820996aaa8c7 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Sep 25 10:59:45 2011 -0700 Fix warning: unused variable 'tmpport' with various configurations Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> commit a74c5d915c3095059356f83d1b845192e5c472c2 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Sep 25 10:57:00 2011 -0700 Add _X_UNUSED attributes to silence unused parameter warnings Not all the transport variants use all the arguments to every function, but as long as one transport type needs it, they all get the args passed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> commit 64f765de138cb9b757df315469b3136d32222ea2 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sat Sep 24 00:04:40 2011 -0700 Mark __xtransname strings for debug messages as const char * Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> commit ea921932dae7049b231bead7f8f3f088d7beaf9e Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Sep 23 23:03:09 2011 -0700 Fix unused variable warnings Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> commit c1968d10f97d62ac05d698822c2688151f70a9eb Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Sep 23 22:59:11 2011 -0700 Fix warning: ISO C90 forbids mixed declarations and code Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> commit 225c45b3accab56fab361104a3d14b80f6cec954 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Sep 23 22:57:56 2011 -0700 Fix printf format string warnings Now that prmsg lets arguments types actually be checked, fix the warnings found. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> commit b1b69ce8e8e4fe0f190c8bd85b537309e71055c8 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Sep 23 22:35:03 2011 -0700 Convert PRMSG macro to prmsg inline function Allows using varargs to have the correct number of arguments passed to get rid of the many gcc warnings about variable printf format strings, and to reduce the duplication from having 5 implementations of the PRMSG macro depending on the debug options defined & output method used. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> commit cbdb434033da1725a69014cc6e4d89c691a6fd95 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sat Sep 24 07:43:07 2011 -0700 Fix warnings about static functions declared but never defined Add #define XTRANS_TRANSPORT_C to transport.c and check for it before making static function declarations and other bits needed only when compiling the Xtrans code itself, not from other sources that include the Xtransint.h header for the struct definitions. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> commit cf39d738086b0a7c668fb3720d64de8d711a1a97 Author: Arvind Umrao <arvind.umrao@oracle.com> Date: Tue Sep 20 22:56:52 2011 +0530 Removing SUN specific code, let solaris create .X11-pipe with sticky bit on Alan told me, named pipe support was added around Solaris 2.6 when that was a much better performing transport than Unix sockets on the Solaris kernels of the time. By Solaris 10, Unix sockets had been reimplemented in the kernel to be faster, so they became the default again. In Solaris 11, we don't even have named pipe support in the libxcb library that implements X client connection code now, so the named pipes would only be accessed by code with a different libX11 or a statically linked libX11 from Solaris 2.6-9 Signed-off-by: Arvind Umrao <arvind.umrao@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit a477713b89686480cf59a9c75c0aaeeba2386d0a Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Sep 20 18:56:47 2011 -0400 specs: regroup <author> <editor> <othercredit> under authorgroup Some elements are not displayed when outside authorgroup Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 1ad48fb9bc18d0c7a8fbec1d2cd232877e945047 Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Sep 20 15:47:09 2011 -0400 specs: refactor copyright legal text for multi licensing we can use <copyright> markup for the first holder Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit bd93bf86fd914a9cc54e2bedec5b063e5a38b732 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 19 10:58:40 2011 -0400 doc: support multi licensed copyright notice and license text For documentation having multiple licenses, the copyright and legalnotice elements sequence cannot instantiated multiple times. The copyright notice and license text are therefore coded inside a legalnotice element. The role attribute on the paragraph is used to allow styling of the copyright notice text which should not be italicized. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit eb9ec458b7fb5332f7ae7b8faf59443a9075ec60 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Sep 16 22:54:41 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 36174eb06e805fa51c9c2e9e914fdfad4a99f50f Author: Gaetan Nadon <memsize@videotron.ca> Date: Wed Sep 14 15:29:19 2011 -0400 docs: fix authors affiliation Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 9b6c2473be2848ce0a4986ddaa59e5f5ef028bfc Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 12 16:37:24 2011 -0400 docs: use the &fullrelvers; entity to set X11 release information Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit b5754cdf64f3396a5853413eda1943cf75ff3cbd Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Sep 11 19:49:54 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 20f338c548e5fcb16650a4e2c25c2008c1fdac36 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 8eb827af1b57ec52be183cddaf32257968c02878 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 b710cdadc92fc212af361bee48f5af6333ec3e6d Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Jun 12 18:39:46 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 78d1f7d29145567e11b985042e917a435bef95f9 Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Jun 5 16:27:37 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 e05d7abbcf880099058b699ac52f65edcac95582 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Sun Apr 24 19:39:26 2011 -0700 Silence warnings when building with clang /usr/X11/include/X11/Xtrans/Xtransint.h:349:12: error: unused function 'is_numeric' [-Werror,-Wunused-function] static int is_numeric ( ^ /usr/X11/include/X11/Xtrans/Xtransint.h:354:12: error: unused function 'trans_mkdir' [-Werror,-Wunused-function] static int trans_mkdir ( ^ In file included from /usr/X11/include/X11/Xtrans/transport.c:67: ... fatal error: too many errors emitted, stopping now [-ferror-limit=] Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit 27ae0ad1406a33919ea9f76034495bca7cccf051 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 cc199c31465b258032bdb9083879699202db7ee9 Author: Adam Jackson <ajax@redhat.com> Date: Mon Feb 21 12:44:06 2011 -0500 Remove a decnet leftover Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Adam Jackson <ajax@redhat.com> commit 91620213d2bd75fe322df06c5b6f55b85a10e55a Author: Adam Jackson <ajax@redhat.com> Date: Tue Mar 15 15:47:08 2011 -0400 Remove K&R token pasting macros Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Adam Jackson <ajax@redhat.com> commit 4ac40cd5451983e6f62527700cdf9e2f8a29c013 Author: Adam Jackson <ajax@redhat.com> Date: Tue Mar 15 15:45:56 2011 -0400 Don't special-case allocation for the X server xserver uses malloc/free directly now, don't route through the Xalloc wrappers. Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Adam Jackson <ajax@redhat.com> commit 638caa2053330038c5ba5a5682ff02be6aa0faa6 Author: Gaetan Nadon <memsize@videotron.ca> Date: Wed Feb 2 11:43:46 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. Add AC_CONFIG_SRCDIR([Makefile.am]) This helps automated maintenance and release activities. Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines commit a26753b7b20cd5cadc1e7fa007cec063f39a49e8 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Dec 16 23:59:20 2010 -0800 doc: Correct column count in transport configuration table Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 59f57d1a19d4091fef115b9eafa139bf620332cb Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Nov 8 16:33:45 2010 -0800 xtrans 1.2.6 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 05cd71c899e83022147f27085ee652d26f5462cb Author: Jesse Adkins <jesserayadkins@gmail.com> Date: Sat Nov 6 12:53:24 2010 -0700 Remove ISCFuncs, fix SCOFuncs inclusion (bug 23324) ISCFuncs was removed by commit 339ddc413559d4cb117a72f87b2a70dae6911c32. SCOFuncs should be for SCO only, instead of !sun. Also, remove comments that suggest ISC support. Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 0e5a66c82535dd8e9beee9fc4c42c52f90d05f50 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sat Nov 6 13:22:59 2010 -0700 doc: Update for X11R7/modularization Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 1858516e9f0f3e65cc3d1f6cedfe8bfa614c8082 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sat Nov 6 11:22:15 2010 -0700 doc: Markup & typo cleanups Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 16bdc50ca85bbae065a32647e2410a5ca47b4924 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sat Nov 6 09:53:08 2010 -0700 doc: Correct legal notices Restore both copyright/license notices from troff version Move implementation note out of legalnotice section Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d01d081538d04ac60b9e14f6e2faa60fe6bed5ff Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sat Nov 6 09:23:26 2010 -0700 doc: Use installed css stylesheet instead of making another copy Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit ea6977f4a51612172ba51c3bd35aa150ad9ff158 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sat Nov 6 12:41:48 2010 -0700 Xtransint.h: Add missing ' in comment Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 862d2de24950d2658158ebc4cf8307e73f80bc8d Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Oct 29 18:22:33 2010 -0700 Sun's copyrights now belong to Oracle Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit cbb59ebc916d0be18c322eec782b694f4dc2e685 Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Jun 27 20:27:39 2010 -0400 Update README to reflect docs converted from nroff to DocBook XML Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 3441142714b2640d1e143fcb5d089a2a42bd5321 Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Jun 27 20:21:20 2010 -0400 doc: remove trailing spaces in xtrans.xml Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 7761846c7fd97f15d7207e1b9fd9d42c9e58a0c4 Author: Gaetan Nadon <memsize@videotron.ca> Date: Sat Jun 26 13:06:22 2010 -0400 doc: replace groff input format with docbook xml format Initial version of xtrans docbook xml. Requires util-macros 1.10 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 4f557036253ac5750576c88e5b9a86759a49d247 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Jun 18 21:47:52 2010 -0400 config: XORG_WITH_GROFF: use HAVE_GROFF_HTML conditional Groff uses grohtml to generate html output format. This program, in turn, uses a number of pnm* commands from the netpbm package, psselect from the psutils package and the ghostscript package. These are independently installed, so they could be missing. Skip the HTML output format if one of the dependencies is missing. The version 1.9 of the util-macros package is required. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 1e9b958a096682b1ec111d400bd25048e3f95ed4 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri May 21 18:54:20 2010 -0700 Update README to reflect docs moved here from xorg-docs module Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d400e69526c1c331e8e23893e2ba8658979376e8 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Mar 29 14:53:49 2010 -0400 config: remove the pkgconfig pc.in file from EXTRA_DIST Automake always includes it in the tarball. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 373922e1529b3d55513fbc0ec24527600f7b529c Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Feb 16 18:18:06 2010 -0500 doc: use HAVE_GROFF_MM to skip doc when 'm.tmac' macros missing This conditional is defined in XORG_WITH_GROFF macro. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit b531ff3ed2ad841b716ba370fd43bbe8f06f1185 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Jan 29 15:05:37 2010 -0500 doc: use new macros XORG_WITH_GROFF and PS2PDF These control the usage of doc tools Also use XORG_ENABLE_DOCS to control generation of docs Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 5922556f408fbcd14e7ad23bbe46db2ae8dcdee6 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Jan 14 21:11:43 2010 -0800 Update Sun license notices to current X.Org standard form Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit dab2bcdaf60977643ec55d71a81e67c1e3a162a9 Author: Rémi Cardona <remi@gentoo.org> Date: Thu Dec 17 08:31:20 2009 +0100 require autoconf 2.60 because of $(docdir) use Signed-off-by: Rémi Cardona <remi@gentoo.org> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Alan Coopersmith <alan.coopersmith@sun.com> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> commit 197ec0dc83e775e42fce4966142ae3a641f2db69 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Nov 27 20:56:05 2009 -0500 Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES Now that the INSTALL file is generated. Allows running make maintainer-clean. commit 27a18fb2c9356cc44bdd892f87200c3ea230109b Author: Gaetan Nadon <memsize@videotron.ca> Date: Wed Oct 28 14:09:11 2009 -0400 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 Add missing INSTALL file. Use standard GNU file on building tarball README may have been updated Remove AUTHORS file as it is empty and no content available yet. Remove NEWS file as it is empty and no content available yet. commit 92da89326d26e0924d4c6efe2ebd26ceb527f4f7 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Oct 26 22:08:43 2009 -0400 Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 ChangeLog filename is known to Automake and requires no further coding in the makefile. commit 9aeff40d0722b4fedc4ab9ccc1aaff75368020fe Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu Oct 22 12:34:20 2009 -0400 .gitignore: use common defaults with custom section # 24239 Using common defaults will reduce errors and maintenance. Only the very small or inexistent custom section need periodic maintenance when the structure of the component changes. Do not edit defaults. commit f0f7c47055eecac35786ec616c7632604da204b5 Author: Jeremy Huddleston <jeremyhu@freedesktop.org> Date: Wed Oct 21 12:47:27 2009 -0700 This is not a GNU project, so declare it foreign. On Wed, 2009-10-21 at 13:36 +1000, Peter Hutterer wrote: > On Tue, Oct 20, 2009 at 08:23:55PM -0700, Jeremy Huddleston wrote: > > I noticed an INSTALL file in xlsclients and libXvMC today, and it > > was quite annoying to work around since 'autoreconf -fvi' replaces > > it and git wants to commit it. Should these files even be in git? > > Can I nuke them for the betterment of humanity and since they get > > created by autoreconf anyways? > > See https://bugs.freedesktop.org/show_bug.cgi?id=24206 As an interim measure, replace AM_INIT_AUTOMAKE([dist-bzip2]) with AM_INIT_AUTOMAKE([foreign dist-bzip2]). This will prevent the generation of the INSTALL file. It is also part of the 24206 solution. Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org> commit 7d98b9b03c5fd5a82f9f4d215b10c0926edeab00 Author: Eric Sesterhenn <eric.sesterhenn@lsexperts.de> Date: Mon Oct 19 09:53:18 2009 -0700 Bug 24612: Memory & fd leaks in local transports X.Org bug #24612 <http://bugs.freedesktop.org/show_bug.cgi?id=24612> Patch #30548 <http://bugs.freedesktop.org/attachment.cgi?id=30548> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 1127b8ec766ed8c48cc49b0779647fb697a07ebd Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Oct 17 13:14:03 2009 -0700 xtrans 1.2.5 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 628b125ff9c72ec93090005b06228690f0dd6004 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Oct 17 13:06:26 2009 -0700 Move Xtrans interface docs from xorg-docs module Only built/installed if --enable-docs is requested, since few people should be writing code using xtrans interfaces directly. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 3b0fc7a5a6d4b4b6903a9ad6685e2441f9fe83a7 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Oct 15 17:07:10 2009 -0700 Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 69334376346a96beb3df120a3eeeb7935923c388 Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Date: Thu Oct 15 15:25:58 2009 -0500 Silence root ownership warnings on Cygwin XWin need not be run as root, nor do Administrators have uid of 0. Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> commit d009d995d85dc499dc3f1add34da551fdf703b60 Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Date: Thu Oct 15 15:25:57 2009 -0500 Don't use -lws2_32 on Cygwin On Cygwin, both the (builtin) *NIX socket API and WinSock (via w32api) are available, but they cannot be mixed. We use *NIX APIs for everything else, so we do not want to mix in WinSock here. Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> commit 773478581913bafa5e98a7bff3260efb0c4f2ab6 Author: Mikhail Gusarov <dottedmag@dottedmag.net> Date: Sat Sep 26 04:39:20 2009 +0700 Move xtrans.pc to /usr/share/pkg-config This fixes configuration in cross-compilation mode: pkg-config does not look for .pc in /usr/lib/pkg-config during cross-compilation to avoid picking up wrong libraries. Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Acked-by: Julien Cristau <jcristau@debian.org> commit 336d4cfb58c784a81beca74fe03a0af0abb224ba Author: Julien Cristau <jcristau@debian.org> Date: Fri Aug 7 16:58:58 2009 +0200 Xtranssock: assume that we have getaddrinfo if ipv6 is enabled If IPv6 is enabled at build time, assume that the C library will have getaddrinfo at runtime. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 4f82ca502d8ec33b0038700675d54539d85d723c Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Jul 31 17:24:25 2009 -0700 Version 1.2.4 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit e5f52f206916b7c5264b9371f9bd0113632a4a16 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Jul 30 16:07:39 2009 -0700 Fix ifdef checks for SVR4 to do the right thing on Solaris Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 6d1ad967b894a37f423fd52247df5fcc3bfab1a8 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon May 18 18:26:36 2009 -0700 xfs segfaults in _FontTransSocketReopen when cloning itself Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 1e32f79670a6dc0baae2c2622d2b562f41266ea5 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Apr 24 02:10:53 2009 -0700 Constify path argument to trans_mkdir() Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 732f3366c40c4bea258b11b96c4763f5948a4844 Author: Benjamin Close <Benjamin.Close@clearchain.com> Date: Mon Feb 9 16:34:00 2009 +1030 Update is_numeric base on the declaration change in 389e01fb51ba2d708015e27d8fc17c88a0e55802 Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com> commit 300893171ca7ad684472e5961a7b2ba0eb291f6b Author: Benjamin Close <Benjamin.Close@clearchain.com> Date: Mon Feb 9 16:33:59 2009 +1030 Revert "Fix "XXX declared 'static' but not defined"" This reverts commit d192bac409fe5ef99fa9fb9b5a0d5f656f0f1412. When transport.c is directly include (as in the case of libICE:icetrans.c:32) Xtranssock.c must be included before Xtransutil.c in order for the socket structures to be included. Including Xtransutil.c after Xtranssock.c requires is_number and trans_mkdir to be defined. This reintroduces the warning until a cleaner solution can be found but fixes the build. Found by: Tinderbox Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com> commit 389e01fb51ba2d708015e27d8fc17c88a0e55802 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Feb 6 11:31:06 2009 -0800 Constify string argument to is_numeric Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit cca91ddaae2121f42b2d5c08867bb93df8f9de13 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Feb 6 11:27:02 2009 -0800 Fix libICE build after code motion in d192bac409... The #ifdef ICE_t case in Xtransutil.c depended on some #includes that are done in files that transport.c previously included before Xtransutil.c but are now after Xtransutil.c is included. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit d192bac409fe5ef99fa9fb9b5a0d5f656f0f1412 Author: Tomas Carnecky <tom@dbservice.com> Date: Wed Feb 4 15:26:18 2009 +0100 Fix "XXX declared 'static' but not defined" The functions are declared static in Xtransint.h but are defined in Xtransutil.c. So when someone (xserver/os/connection.c) incuded Xtransint.h, gcc would throw the warning. I removed the declarations from the header and rearranged includes in transport.c so that Xtransutil.c is included just after Xtransint.h. This way the functions are still defined for the files that need them (Xtranssock.c, Xtranstli.c). Signed-off-by: Tomas Carnecky <tom@dbservice.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 77784ae71b6af1ec270198cfdd5f2eab1fe4a0c0 Author: Tomas Carnecky <tom@dbservice.com> Date: Wed Feb 4 15:22:28 2009 +0100 Fix "warning: format not a string literal and no format arguments" Signed-off-by: Tomas Carnecky <tom@dbservice.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit c893bc4aa7a674c6888aacc8249b3c4a8f6bf12a Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Fri Jan 30 18:47:32 2009 -0200 Janitor: Correct make distcheck and compiler warnings. Compiler warnings are spread on other packages, with a warning in the format: /usr/include/X11/Xtrans/Xtranssock.c:548: warning: 'ciptr' may be used uninitialized in this function so the code was slightly changed so that the compiler would not "think" it could be used without initialization. commit 1cf4a1a6716f2c0adf5ee4d0a194a1013be53105 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sun Jan 11 10:54:52 2009 -0800 Version 1.2.3 commit d0c5592142369afa93dcd58ca6f390dbd127a28a Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sun Jan 11 10:51:49 2009 -0800 Add bugzilla, mailing list & git repo pointers to README commit 9f12a154437554938a4fa18b7d3948c7dff8d631 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Dec 1 13:58:31 2008 -0800 Switch ChangeLog generation to use XORG_CHANGELOG from xorg-macros 1.2 commit 8c313881a0c586179c09922a7e00a1f8d669a68a Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Dec 1 08:37:42 2008 -0800 18748: xtrans.m4 causes configure --help to list --enable-ipv6 in wrong case. X.Org Bug #18748 <http://bugs.freedesktop.org/show_bug.cgi?id=18748> commit c626a4298e98f4988701dd587bc8355c62542ec4 Author: Alan Hourihane <alanh@tungstengraphics.com> Date: Wed Oct 15 11:19:41 2008 +0100 add winsock check for windows builds commit 005bd80a9eab736aea737869b8a1079c565e1cd6 Author: Adam Jackson <ajax@redhat.com> Date: Tue Oct 7 09:56:49 2008 -0400 xtrans 1.2.2 commit 1185dd2966521e1a19474dfd4206306cb383fc89 Author: Adam Jackson <ajax@redhat.com> Date: Tue Oct 7 09:55:22 2008 -0400 Finish removing OS/2 support commit 51b2e85aeb172f4a058d8ceceec91021ffd0b2a5 Author: Adam Jackson <ajax@redhat.com> Date: Tue Oct 7 09:51:27 2008 -0400 Remove DECNET support. This hasn't been consumed in the server or libs since 7.0. commit 892ec928da3a0653ae54c321e4c3b1aa06c4e678 Author: Adam Jackson <ajax@redhat.com> Date: Thu Aug 7 10:32:11 2008 -0400 Drastically simplify TRANS_OPEN_MAX. If your OS doesn't have sysconf(3), then life is already hard for you. commit 339ddc413559d4cb117a72f87b2a70dae6911c32 Author: Adam Jackson <ajax@redhat.com> Date: Thu Aug 7 10:23:19 2008 -0400 Massive ifdef cleanup, dropping a ton of unsupported platform code. commit a78b9819cbbbddccb4a6bf364b88ec4f27d25c1f Author: Jeremy Huddleston <jeremyhu@freedesktop.org> Date: Tue Aug 5 17:46:37 2008 -0700 Added a flag to enable "The OS already took care of securing this, please skip checking xauth" for use with Apple launchd sockets. commit 3db805979b476d233baa881e83950ef1d2731841 Author: Jeremy Huddleston <jeremyhu@freedesktop.org> Date: Tue Jul 15 16:56:12 2008 -0700 Apple: Allow Xquartz to provide an additional fd to xtrans since the dynamic addition code in the server isn't bulletproof yet. commit 81d8bdced6b45ab2ab3d3a0bc164ddbf1659fea1 Author: Adam Jackson <ajax@redhat.com> Date: Wed Jul 2 15:24:20 2008 -0400 xtrans 1.2.1 commit 302af17c4d5f0293a9af4d6c1097ab57a57d3f0f Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Jun 24 15:45:38 2008 -0700 Clear some pointer type mismatch warnings commit 4d184e41d30a8fe27380e04beb24f775d4a40782 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Jun 24 15:45:18 2008 -0700 LocalClose() takes a ConnInfoPtr, not an fd commit 177c2fd41727bd0110b493933dcbdbf21878fe09 Author: Jeremy Huddleston <jeremyhu@freedesktop.org> Date: Fri May 23 09:48:59 2008 -0700 Launchd: This functionality has been moved into xorg-server commit 02fcb08803dca5bb2df4f8be490a845659bd7ed3 Author: Adam Jackson <ajax@redhat.com> Date: Mon May 12 17:49:41 2008 -0400 Connection failure for abstract socket is ECONNREFUSED, not ENOENT. Apropos of bug #15884. commit 906294025573d07c739894fa3b2eedc82813a379 Author: Bill Nottingham <notting@redhat.com> Date: Mon May 12 17:43:36 2008 -0400 Ignore mkdir() errors when creating the abstract socket. Red Hat bug #445303. commit 08134c2ce72bc43c172b6ae134d8a94a40b45c9b Author: James Cloos <cloos@jhcloos.com> Date: Sat May 10 07:02:09 2008 -0400 Remove extraneous execute bit from .c file commit e75b9dad0ae4bc0869af81652d8259675a3c5cac Author: Julien Cristau <jcristau@debian.org> Date: Thu May 8 16:27:29 2008 +0200 Bump to 1.2 commit 962ad4d3f8096f5ffa14b32b3ee094f250790c77 Author: Alan Hourihane <alanh@tungstengraphics.com> Date: Mon Apr 28 23:46:05 2008 +0100 disable UNIXCONN on MINGW commit 9e8c0e3356bc6359368b7655d3a717d6c000387e Author: Alan Hourihane <alanh@tungstengraphics.com> Date: Sat Apr 26 16:23:19 2008 +0100 fix build for MAKEWORD commit 568c5ea02ee1de437833ee0b53a7b3fd7ece084f Author: Colin Harrison <colin.harrison-at-virgin.net> Date: Sat Apr 26 08:53:13 2008 +0100 Update to winsock2 commit 960902584a3ef125946beb5ebe331b54d697e9d9 Author: James Cloos <cloos@jhcloos.com> Date: Fri Apr 25 15:53:20 2008 -0400 Fix length calculation for the path for abstract unix domain sockets Since the struct has a fixed-lenght char[] its sizeof() contains trailing NUL octets which results in corrupt abstract sockets. Instead, take the strlen(3) of the path, plus the single NUL octet (which identifies the path as an abstract path rather than a file- system path) plus the offset from the start of the struct to the start of the char array. This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=15677 commit 3a2a5375b8aab85697b4f2644ab99c3ccf79e658 Author: Colin Harrison <colin.harrison-at-virgin.net> Date: Wed Apr 23 10:39:30 2008 +0100 Only call WSAGetLastError() if there has been an error condition. commit ac13a1a34b61247a21da130f0ba9922f35d3dc3b Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Apr 15 12:32:35 2008 -0700 Sun bug #6688467: _X11TransConvertAddress: Unknown family type on 64-bit SPARC Check for socklen_t definition and if found use it instead of size_t or int for the length argument to getpeername/getsockname/etc. <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6688467> commit 556a351de83fc6f401b02213dae95731553c216d Author: Loïc Minier <lool@dooz.org> Date: Mon Mar 24 15:38:27 2008 -0400 Bug #10489: Don't retry unix socket connect()s on ENOENT. If the socket isn't there, it's not gonna magically appear. Either it's a server socket and you should have just waited for the SIGUSR1 from the server, or it's a stale reference to an ICE socket. However, do retry once, so fallback from abstract to filesystem namespace works. Originally Debian bug #385976. commit 3de3e666e0653d4e8ae23fc3e6e31864ddad4059 Author: Julien Cristau <jcristau@debian.org> Date: Sun Mar 23 19:43:32 2008 +0100 BSD44SOCKETS is the wrong check for SOCK_MAXADDRLEN GNU/kFreeBSD defines BSD44SOCKETS, but doesn't have SOCK_MAXADDRLEN. Check for the latter directly. commit 662994b9096181117cec4cae88f24bf6da806159 Author: Adam Jackson <ajax@redhat.com> Date: Wed Mar 5 21:02:28 2008 -0500 xtrans 1.1 commit 2afe206ec9569e0d62caa6d91c3fb057b0efa23d Author: Adam Jackson <ajax@redhat.com> Date: Wed Mar 5 20:48:59 2008 -0500 Add support for the abstract socket namespace under Linux. Unlike normal unix sockets, the abstract namespace is not bound to the filesystem. This has some notable advantages; /tmp need not exist, the socket directory need not have magic permissions, etc. xtrans servers will listen on both the normal and abstract socket endpoints; clients will attempt to connect to the abstract socket before connecting to the corresponding filesystem socket. Based on a patch by Bill Crawford. commit c8ed67f16f71042ef134a4d2189c20dd200a0648 Author: Jeremy Huddleston <jeremy@tifa.local> Date: Sun Feb 10 19:04:40 2008 -0800 Fixed #ifdef checks that were using i386 to use __i386__ """ It's simply obsolete, sloppy, compiler namespace pollution. The compiler is not allowed to predefine symbols that might conflict with ordinary identifiers. For backwards compatibility gcc currently predefines i386 when compiling for x86 32-bit (but not 64-bit), but that will go away. It is also not defined if you specify -ansi when invoking the compiler, because then it is seriously standards compliant. Other compilers shouldn't define it either. Correct code shouldn't rely on it being defined. However __i386__ is safe and proper. """ commit 9970b5b6f8237685267b7972282319cf266661ea Author: Ben Byer <bbyer@bbyer.local> Date: Sun Dec 2 07:36:51 2007 -0800 make launchd error messages less scary commit cd1da5cec49fb7fe6238a00d9ba550b3ed78fa08 Author: Ben Byer <bbyer@bbyer.local> Date: Wed Nov 14 03:57:57 2007 -0800 Fix for incorrect processing of recycled launchd socket on OS X commit 3da4d6c1dc05f9e1291b023a97535eb67f0830e2 Author: Ben Byer <bbyer@bbyer.local> Date: Wed Nov 14 03:55:42 2007 -0800 removed cvs tags commit 496cf2c46d2123c3bed3e6878f8f9a62e87ce559 Author: Dodji Seketeli <dodji@seketeli.org> Date: Tue Sep 11 12:52:44 2007 +0200 libxtrans: fixed a typo in my last commit * Xtranssock.c: (SocketReopen): oops fix a typo in my last commit. commit 88e141225113fcc4ebe5e8fe361e75673cdbf9ff Author: Dodji Seketeli <dodji@seketeli.org> Date: Tue Sep 11 08:48:03 2007 +0200 libxtrans: fix linux compilation breakage * Xtranssock.c: (SocketReopen): protect use of BSD4.4 socket with BSD44SOCKETS macro. protect use of strlcnpy with HAVE_STRLCPY macro. That one is defined (or not) by the xserver configure. commit 6217f34977bfa17b66b89df5d45420774abedcb3 Author: Ben Byer <bbyer@bbyer.apple.com> Date: Wed Sep 5 18:29:44 2007 -0700 changes to support launchd on OS X commit 4d0cfe491046df26027db291530b247b7f24df5b Author: Ben Byer <bbyer@bbyer.apple.com> Date: Wed Sep 5 18:04:01 2007 -0700 suppress warning about socket directory ownership on OS X We don't need to warn the user about the fact that the socket directory is not owned by root under OS X; on that platform, it's never owned by root, as the X server runs as the normal user. commit de93d67f6d48c7c08f2554cb85515bcf7dfbffb2 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Aug 21 17:54:23 2007 -0700 Version bump: 1.0.4 commit 5e16b0ebccb233f7aeaf3928a853ee966b7cbb39 Author: Kean Johnston <kean@armory.com> Date: Wed Jul 18 09:27:06 2007 -0700 Fix typo in Xtranslcl.c (sprintf with size argument should be snprintf) commit 1abc981349140260d6fb643d29cf2b851fc06ac9 Author: Daniel Stone <daniel@fooishbar.org> Date: Sat Dec 16 01:15:21 2006 +0200 bump to 1.0.3 commit 8172528bb894856aa5b133f61444294dc5a347e6 Author: Daniel Stone <daniel@fooishbar.org> Date: Wed Dec 6 18:51:59 2006 +0200 Makefile.am: make ChangeLog hook safer Make ChangeLog hook as safe as possible. commit 5ffb704b1df9ec44a448d53d4c20b9d4c5d825d4 Author: Adam Jackson <ajax@benzedrine.nwnk.net> Date: Fri Oct 13 17:01:59 2006 -0400 Bump to 1.0.2 commit ae3b57953f5c1fa875d19fb42a2178d7e594ea44 Author: Adam Jackson <ajax@benzedrine.nwnk.net> Date: Thu Oct 12 20:36:52 2006 -0400 Fix the ChangeLog hook to distcheck. commit 4a2f176da3e2171f4feea2e6c8787e24fdf204f3 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Sep 15 14:59:15 2006 -0700 Remove GIT_DIR setting from git log command commit ec3abba0e351278876909bb5250d490b807d904a Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Sep 15 13:54:18 2006 -0700 Copy additional copyright/license statements from source to COPYING commit b4c6bd92b3a8bed746da641c59a9f040e1d83768 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Sep 13 14:09:22 2006 -0700 Bug 728: RUI in _X11TransSocketINETGetAddr in file "Xtranssock.c" Bug #728: <https://bugs.freedesktop.org/show_bug.cgi?id=728> Patch #3527: <https://bugs.freedesktop.org/attachment.cgi?id=3527> bzero sockaddr structures before passing to kernel to convince memory checkers that they are initialized before use commit 5d006baadf213e91f131ffedc53c88a973fb1cba Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Aug 24 17:40:24 2006 -0700 Use SUN_LEN if it is defined on non-BSD44SOCKETS systems commit 2495789d6c290e2037b2836f28b027786ea5b605 Author: Petr Salinger <petr.salinger@t-systems.cz> Date: Sun Apr 23 01:31:00 2006 -0700 Bug 4982: use offsetof for manipulating struct sockaddr_un X.Org Bugzilla #4982 <https://bugs.freedesktop.org/show_bug.cgi?id=4982> Patch #5424 <https://bugs.freedesktop.org/attachment.cgi?id=5424> commit 2633eaf8824828433a0eb9c9f3c4263b50342473 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Aug 24 16:53:08 2006 -0700 Try to capture the insanity of xtrans in a short README document commit 02ffb657b023d9b2a2c6c1d2417da8dcb96aa4b2 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Aug 24 14:46:42 2006 -0700 More sprintf -> snprintf conversions commit 3d5e7dd18c8836065c4835740211c10747b18abd Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Aug 23 19:14:35 2006 -0700 Replace static ChangeLog with dist-hook to generate from git-log commit 92807fe90aad2303cec4b54bec40ce6edf671654 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Aug 23 16:59:33 2006 -0700 Add ResetListener for named pipe transport (more merging of Xtrans code from Solaris xtrans) commit e11b861fcf3a295e5cb390cbac3a44d8ce4fad4f Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Aug 22 11:29:46 2006 -0700 Merge more fixes from Solaris xtrans Convert sprintf -> snprintf Don't use fake readv/writev on Solaris x86. commit 049932c0171855aa6d55222947f4d47495b6f173 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Aug 21 19:08:19 2006 -0700 Merge Solaris named pipe transport support into LOCALCONN Also clean up #ifdefs in Xtranslcl for which transport types are supported Add "pipe" alias for named pipe transport on Solaris to match Solaris Xlib. commit 11391a1ffe4c633507406d2a1ed5abe57c8698db Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Aug 21 19:05:49 2006 -0700 Add --enable-local-transport and set it on by default on SVR4 OS'es commit c0ebfcde0dd3f82c0e5712764e4403b2837e09b5 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Aug 21 19:04:54 2006 -0700 Add *~ to .gitignore to skip emacs droppings commit fe7054f2f5ce74ce9b8c1704899894bc1c9f32b7 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Jul 13 14:59:21 2006 -0700 renamed: .cvsignore -> .gitignore commit 0eea51ea11381ba07d5e6953c7bf6519a3ded829 Author: Donnie Berkholz <spyderous@gentoo.org> Date: Fri Jun 30 04:05:45 2006 +0000 Bump to 1.0.1. commit 8d37f63810fc12f113bfcf37065ac9da09702b46 Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Tue Jun 20 19:11:16 2006 +0000 Check setuild() return value. Bugzilla #7116. commit f9a47b508a89c647829266aacb19a0fc2dbb6158 Author: Jeremy C. Reed <reed@reedmedia.net> Date: Thu May 25 20:20:54 2006 +0000 No code change. Just fix comment that said SOCKCONN to become TCPCONN. (This dates back to 1994 or before.) commit 2b7124954f5bedc8625c2f144bbbab4bbba7701c Author: Kevin E Martin <kem@kem.org> Date: Thu Dec 15 00:24:36 2005 +0000 Update package version number for final X11R7 release candidate. commit 3d3228a24513ea75c73f6d58ba50097f32b297a1 Author: Kevin E Martin <kem@kem.org> Date: Wed Nov 9 21:19:14 2005 +0000 Update package version number for X11R7 RC2 release. commit 2cac02b2fe1ceaec2a2f1cd601d9ab4afcf3cb66 Author: Kean Johnson <kean@armory.com> Date: Tue Nov 8 06:33:26 2005 +0000 See ChangeLog entry 2005-11-07 for details. commit 063a39b0e1e615387fd7baa570265ed71ca87c22 Author: Kevin E Martin <kem@kem.org> Date: Wed Oct 19 02:48:13 2005 +0000 Update package version number for RC1 release. commit 21a498d25f567ada296d0321f65536dfc816482b Author: Alan Coopersmith <Alan.Coopersmith@sun.com> Date: Mon Oct 3 17:45:28 2005 +0000 Bug #3813 <https://bugs.freedesktop.org/show_bug.cgi?id=3813> GNU/kFreeBSD fix for xtrans (Robert Millan) commit e41835b4b2fe03d8a1997bd8e8eabab2a94bccd5 Author: Alan Coopersmith <Alan.Coopersmith@sun.com> Date: Sun Oct 2 21:01:35 2005 +0000 //bugs.freedesktop.org/show_bug.cgi?id=4256> Patch #3046 <https://bugs.freedesktop.org/attachment.cgi?id=3046> Define MAXHOSTNAMELEN if platform doesn't (Michael Banck) commit 4683f28f0c9d1a1ee0338a32011219ed1fb3c565 Author: Alan Coopersmith <Alan.Coopersmith@sun.com> Date: Fri Aug 19 23:53:22 2005 +0000 Bugzilla #3957 <https://bugs.freedesktop.org/show_bug.cgi?id=3957> Patch #2924 <https://bugs.freedesktop.org/attachment.cgi?id=2924> xtrans changes for AIX (Dan McNichol, IBM) Bugzilla #3957 <https://bugs.freedesktop.org/show_bug.cgi?id=3957> Patch #2925 <https://bugs.freedesktop.org/attachment.cgi?id=2925> xtrans changes for AIX (Dan McNichol, IBM) commit 79db37c65905823b66411533152ab54407f04004 Author: Eric Anholt <anholt@freebsd.org> Date: Wed Aug 17 19:10:49 2005 +0000 On FreeBSD, some of the symbols necessary for secure RPC support are in librpcsvc, so check for their presence in rpcsvc so that the library will be added. commit 5165ebdb8144cd5be706e49957f5c8b51b762821 Author: Alan Coopersmith <Alan.Coopersmith@sun.com> Date: Tue Aug 16 02:23:41 2005 +0000 Define BSD44SOCKETS if struct sockaddr_in has a sin_len member commit 4ce01dc794022e74b01aac7b902acbbfebc74ed1 Author: Kevin E Martin <kem@kem.org> Date: Fri Jul 29 21:22:54 2005 +0000 Various changes preparing packages for RC0: - Verify and update package version numbers as needed - Implement versioning scheme - Change bug address to point to bugzilla bug entry form - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to reenable it) - Fix makedepend to use pkgconfig and pass distcheck - Update build script to build macros first - Update modular Xorg version commit 4ddee2d488f8bdcee624be96fa52ca03a7e64b83 Author: Alan Coopersmith <Alan.Coopersmith@sun.com> Date: Tue Jul 26 18:59:11 2005 +0000 Use AC_TYPE_SIGNAL to replace Imake's SIGNAL_DEFINES (used in Xtransutil.c) commit 0a80fbc1eb80343eaff27c48f9531f5ba709b6ef Author: Alan Coopersmith <Alan.Coopersmith@sun.com> Date: Tue Jul 26 18:55:41 2005 +0000 Add config.h includes for modularization Use RETSIGTYPE if defined by autoconf in addition to Imake's SIGNALRETURNSINT. Use HAVE_WORKING_VFORK if defined by autoconf in addition to Imake's HAS_VFORK commit 9a44d60cb031f1779c228f13697fb17e17df10d5 Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Sat Jul 23 19:52:56 2005 +0000 typo commit 65ca78f15fe7f1640f3610245957eac9bca0bf04 Author: Alan Coopersmith <Alan.Coopersmith@sun.com> Date: Sun Jul 17 02:01:55 2005 +0000 Move AC_MSG_RESULT so it shows up in the right place, not after other tests are executed commit f1d56df5736087eafa3db255437c918f6b9075a1 Author: Alan Coopersmith <Alan.Coopersmith@sun.com> Date: Thu Jul 14 22:44:31 2005 +0000 Split out TCP library/IPv6 support checks into XTRANS_TCP_FLAGS for sharing with code like xdm that doesn't use Xtrans but accesses TCP sockets directly. Clean up --enable flags and report settings in configure output. commit 9552877bf0a7be02c781ef8fb2f271573a55e297 Author: Keith Packard <keithp@keithp.com> Date: Sat Jul 9 21:22:30 2005 +0000 Add .cvsignore files commit 586cc58eff6d3c68313e5c8aedb8ec2464069f2f Author: Daniel Stone <daniel@fooishbar.org> Date: Sun Jul 3 23:51:24 2005 +0000 Change <X11/os.h> to "os.h". commit 926367f82972bd94a64ef76c8e036f27ca61fb14 Author: Daniel Stone <daniel@fooishbar.org> Date: Sun Jul 3 07:01:01 2005 +0000 Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings. Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all source files in the xserver/xorg tree, predicated on defines of HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to <X11/fonts/foo.h>. commit 40b7e438e4b441204ff47e1e25755162921d7c3e Author: Daniel Stone <daniel@fooishbar.org> Date: Sat Jul 2 18:00:50 2005 +0000 Make includedir=@includedir@ in xtrans.pc.in, not with /X11/Xtrans. commit b413f4c1dddc467014adf16bfe31627e65508c12 Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Wed Jun 22 22:46:39 2005 +0000 Apply these patches from Theo van Klaveren: lib-dmx.patch lib-FS.patch lib-X11.patch lib-XRes.patch lib-XScrnSaver.patch lib-xtrans.patch to make the libraries distcheck. commit 57aac0006e27624a41f04c5d0c458b9f0108a084 Author: Alan Coopersmith <Alan.Coopersmith@sun.com> Date: Wed Jun 22 22:36:51 2005 +0000 Add the rest of my patch from bugzilla #1605 to define INADDR_NONE on platforms that don't define it in the system headers. commit f5a6a188407cec6e567070d192aac2db72cacd92 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed Jun 22 01:21:24 2005 +0000 Apply patch by Alan Coopersmith from #1605 to fix address resolution of hostnames starting with a digit for 64 bit architechtures. commit 5bad61831b1c06888d80d92a0bf34acbeecda026 Author: Alan Coopersmith <Alan.Coopersmith@sun.com> Date: Sat Jun 18 07:48:43 2005 +0000 Move Secure RPC flags from X11/configure.ac to xtrans/xtrans.m4 since multiple modules will need them commit 62438b14130e0f8de6939767a108ef12558653a3 Author: Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> Date: Thu Jun 9 15:56:48 2005 +0000 Use $(includedir)/X11/Xtrans for Xtransincludedir commit 7c8e397ddcbd0ae998cc4f23868726022d1aa47b Author: Eric Anholt <anholt@freebsd.org> Date: Wed Jun 8 06:24:53 2005 +0000 Install the xtrans.m4 to the directory returned by aclocal --print-ac-dir, so that the aclocal calls in other modules will pick it up if this prefix's aclocal dir is not in a default path for system aclocal. commit 58c7263ca5b64a21dc101bb4b24201ba67a8d068 Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Wed May 25 21:47:56 2005 +0000 - Add FSlib to symlink.sh - Change Xtrans includedir back to be X11/Xtrans, so that users of it can continue to include <X11/*> - Add build system for FSlib - Conditionally include config.h in xc/lib/FS - Remove redundant include of FSproto.h in xc/lib/FS - Add check to proto/X11/configure.ac whether -D_XOPEN_SOURCE is needed. commit b2e662de63948928e4cbc7e3ba90631f150c5137 Author: Josh Triplett <josh@speakeasy.net> Date: Mon May 23 01:53:21 2005 +0000 Change xtransincludedir in pkg-config file to match change in Makefile.am. commit 83d29f6e0c1587c8ad008672e7ae5631942559eb Author: Alan Coopersmith <Alan.Coopersmith@sun.com> Date: Sat May 21 23:07:48 2005 +0000 xtrans: Create autoconf macro XTRANS_CONNECTION_FLAGS to provide standard set of --enable flags for which transports to support and common place to update for required libraries for platforms that need certain libs for certain transports ICE: Add ICE_t #define required by Xtrans headers. Replace static defines of LOCALCONN & UNIXCONN with new XTRANS_CONNECTION_FLAGS macro. X11: Moved transport type checks to new macro XTRANS_CONNECTION_FLAGS in xtrans.m4 in xtrans module so they can be shared by all modules using xtrans. commit bd79d86fb50233e0cd41a57b553f12b6d490ac7e Author: Adam Jackson <ajax@nwnk.net> Date: Thu May 19 00:22:33 2005 +0000 revert last change, didn't do right thing at all, sorry for the noise commit 10776fa562c060d74fdd4434a16408fe4bd34ab9 Author: Adam Jackson <ajax@nwnk.net> Date: Thu May 19 00:10:08 2005 +0000 Require automake 1.7 in AM_INIT_AUTOMAKE commit daa7168e9e0cdff5eb06b0c9a7155f8880681fff Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Fri May 13 22:53:43 2005 +0000 - For now put xtrans in X11/Xtrans/X11, since libX11 is looking for it in <X11/...> - For Xcomposite and Xdamage, don't link the build system out of the xc tree - Link the public X11 headers into their own directory - Add links to XKeysymDB and XErrorDB - Add links to all the Xlib man pages - Add links to the lcUniConv subdirectory - Conditionally include config.h in Xlib source commit d11d95fa4faec21655625b7de27d8a71c08ffe2d Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Fri May 13 15:16:43 2005 +0000 Dummy changes to ChangeLog/configure.ac to see if that fixes group permissions commit b8a8c31f63a543d1c1c6bb4ae26a4019b4400edc Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Fri May 13 15:04:52 2005 +0000 Re-adding ChangeLog and configure.ac files commit 798c08054ce5a8238f35fee3e69218ece74441fa Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Fri May 13 15:02:19 2005 +0000 Temporarily remove ChangeLog configure.ac commit b3da86ae588df14dde916674a4f6593edf1964f7 Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Fri May 13 14:43:37 2005 +0000 Dummy commit to see if that fixes the group execute permissions commit ea04267da780c2c3f08a710d15468565897420c4 Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Thu May 12 16:12:34 2005 +0000 Make xtrans install in $(includedir)/X11/Xtrans. Remove all references to Xtransdef. Add Xdmcp build files Add Wrap.h to lib/dmcp part of symlink script. commit f25791629f3f443d2552bdb05bea1a960b530342 Author: Daniel Stone <daniel@fooishbar.org> Date: Thu May 12 02:49:16 2005 +0000 Add Xtransdef.h.in as an AM_CONFIG_HEADER. commit d628bf24f2bf0d017394b6961784d7ac5b33f46b Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Wed May 11 22:44:52 2005 +0000 lib/Xau: - Update AUTHORS, COPYING from Keith's tree - Don't use gcc specific "-include config.h" - Add autogen.sh lib/xtrans: - Add AUTHORS, COPYING, ChangeLog, Makefile.am, NEWS, README, autogen.sh, configure.ac, xtrans.pc.in xc/lib/Xau: - Add conditionalized #include <config.h> util/modular/symlink.sh - Add functions symlink_lib_xau() and symlink_lib_xtrans() util/modular/addconfig.h - New script that adds #include <config.h> to files commit c814f30e9a5dc48a24c20517334cf5f9c37e066a Author: Roland Mainz <roland.mainz@nrubsig.org> Date: Wed Mar 2 11:20:29 2005 +0000 xc/config/cf/DragonFly.cf xc/config/cf/Imake.cf xc/config/cf/Imakefile xc/config/imake/imake.c xc/config/imake/imakemdep.h xc/extras/drm/shared/drm.h xc/include/Xos_r.h xc/lib/xtrans/Xtranssock.c xc/programs/Xserver/hw/xfree86/os-support/xf86_OSlib.h xc/programs/Xserver/hw/xfree86/os-support/xf86_libc.h xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c //bugs.freedesktop.org/show_bug.cgi?id=1712) attachment #2004 (https://bugs.freedesktop.org/attachment.cgi?id=2004): Add support for DragonFly/BSD platform. Patch by Jeroen Ruigrok <asmodai@tendra.org> and Mike Verona <firedragonfly@gmail.com>. commit 92e80a5a67273fc60623b17a5f34c239f1ed6947 Author: Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> Date: Mon Nov 15 15:06:56 2004 +0000 Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added mingw (Win32) port commit d92a9d31416a8366cd065886d7ff352fefce646d Author: Egbert Eich <eich@suse.de> Date: Fri Aug 27 22:47:45 2004 +0000 Set the define XtransFailSoft to restore the old behavior to fail softly when socket directory cannot chowned/chmod to correct user/group. This should be added on a per OS basis which hasn't been done. commit 48ffd91cff9a07c68194f6d0b380dd2acd46a8ca Author: Egbert Eich <eich@suse.de> Date: Fri Jul 30 21:00:20 2004 +0000 fail hard if socket directories cannot be chowned to root or chmod'ed to the requested mode if 'sticky' bit is requested for this directory instead of just print a warning that will remain unnoticed most of the times. commit c3e50fa69ea7a2d08a298866e8a63c0f07c8248d Author: Egbert Eich <eich@suse.de> Date: Fri Jul 30 18:40:36 2004 +0000 Fixed typo in a comment. Deleted bogus comment. Added debugging support. commit 79d38d618406ecc5228730a57ad406b280a5a189 Author: Alan Coopersmith <Alan.Coopersmith@sun.com> Date: Sat Jul 17 01:13:31 2004 +0000 Fix typo in debug message in MakeAllCLTSServerListeners Add $(GETPEER_DEFINES) to DEPEND_DEFINES for makedepend Add "localuser" and "localgroup" access types to server-interpreted authentication scheme. commit 8d0820e2058545e27f95d9fdc581262822799193 Author: Egbert Eich <eich@suse.de> Date: Fri Apr 23 18:44:27 2004 +0000 Merging XORG-CURRENT into trunk commit c594d3393cd355f52545b05bcc27ee8a2c533caa Author: Egbert Eich <eich@suse.de> Date: Sun Mar 14 08:32:40 2004 +0000 Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004 commit 2d51220fae172d2b8d28b971a853605b41038533 Author: Egbert Eich <eich@suse.de> Date: Wed Mar 3 12:11:46 2004 +0000 Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004 commit 6e2cb92d192171961165c8e5a24b00f35f56aaeb Author: Egbert Eich <eich@suse.de> Date: Thu Feb 26 13:35:36 2004 +0000 readding XFree86's cvs IDs commit 93f13d69958cb9c9adfe1244e478521269f9258b Author: Egbert Eich <eich@suse.de> Date: Thu Feb 26 09:22:54 2004 +0000 Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004 commit 7a10db6531003055886e0e994c2ef8e46a010eb2 Author: Kaleb Keithley <kaleb@freedesktop.org> Date: Mon Feb 23 20:34:44 2004 +0000 Import most of XFree86 4.4RC3. This import excludes files which have the new license. If we want to, later we can import 4.4RC3 again and pick up the files that have the new license, but for now the vendor branch is "pure." commit 871b8c33f2ab8c98b95aa3324bb70055f5207c61 Author: Egbert Eich <eich@suse.de> Date: Thu Jan 29 08:08:15 2004 +0000 Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004 commit 352e5de72e125d7d474907f354462cc1442e0989 Author: Kaleb Keithley <kaleb@freedesktop.org> Date: Fri Dec 19 20:54:45 2003 +0000 XFree86 4.3.99.902 (RC 2) commit d223c1bb16c503e58f07dfef14b8e79fe7c358ff Author: Kaleb Keithley <kaleb@freedesktop.org> Date: Thu Dec 4 22:03:05 2003 +0000 XFree86 4.3.99.901 (RC 1) commit 6c36ea2d54ea6b6f0cbece06d867d0b884783d0c Author: Kaleb Keithley <kaleb@freedesktop.org> Date: Tue Nov 25 19:28:21 2003 +0000 XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks commit 3b0d3a905e39624abe9ddd1ce20542097601e4c2 Author: Kaleb Keithley <kaleb@freedesktop.org> Date: Tue Nov 25 19:28:21 2003 +0000 Initial revision commit 3bd236a07c0ebaabb7337dd5d56bc57a028a9c0e Author: Kaleb Keithley <kaleb@freedesktop.org> Date: Fri Nov 14 16:48:50 2003 +0000 XFree86 4.3.0.1 commit 26781c4f009a4b448dca3ab4912cbf01182e3d92 Author: Kaleb Keithley <kaleb@freedesktop.org> Date: Fri Nov 14 15:54:40 2003 +0000 R6.6 is the Xorg base-line