1a1910677Smrgcommit cf05ba4a10c90da2c63805a5375e983b174e28b0 2a1910677SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3a1910677SmrgDate: Sat Mar 8 16:07:43 2025 -0800 4a1910677Smrg 5a1910677Smrg xtrans 1.6.0 6a1910677Smrg 7a1910677Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8a1910677Smrg 9a1910677Smrgcommit c8c291390f4befb7d813d7fce6caeb6607561903 10a1910677SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 11a1910677SmrgDate: Mon Jan 20 09:54:21 2025 -0800 12a1910677Smrg 13a1910677Smrg is_numeric: Add defined(X11_t) to checks 14a1910677Smrg 15a1910677Smrg Fixes builds of XTS which still builds X11 client side code (unlike 16a1910677Smrg libX11 which relies on xcb instead of xtrans now for X11 connections). 17a1910677Smrg 18a1910677Smrg Fixes: 0f15306 ("is_numeric: Add TRANS_SERVER to required ifdefs") 19a1910677Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 20a1910677Smrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/28> 21a1910677Smrg 22a1910677Smrgcommit 633ac2f03369eb93b70958c783722cfe3e93aacc 23a1910677SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 24a1910677SmrgDate: Sat Jan 18 12:00:41 2025 -0800 25a1910677Smrg 26a1910677Smrg Convert one more IPv6 ifdef to HAVE_GETADDRINFO 27a1910677Smrg 28a1910677Smrg If getaddrinfo returned multiple addresses, try another when first fails, 29a1910677Smrg even if we're only using IPv4. 30a1910677Smrg 31a1910677Smrg Fixes: 0241531 ("if getaddrinfo() is available, use it, even if IPv6 support is disabled") 32a1910677Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 33a1910677Smrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/28> 34a1910677Smrg 35a1910677Smrgcommit 2c4a122ca0512936d4306ef449f6b7b2566d6785 36a1910677SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 37a1910677SmrgDate: Sat Jan 18 11:50:59 2025 -0800 38a1910677Smrg 39a1910677Smrg if sockaddr_storage is available, use it, even if IPv6 support is disabled 40a1910677Smrg 41a1910677Smrg Support for using sockaddr_storage was originally added to support IPv6, 42a1910677Smrg and only used if IPv6 support was enabled. Two decades later, support 43a1910677Smrg for sockaddr_storage is ubiquitous and can simplify our code paths, 44a1910677Smrg so use the modern interface whenever we can now. 45a1910677Smrg 46a1910677Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 47a1910677Smrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/28> 48a1910677Smrg 49a1910677Smrgcommit deb755c0ad4575a7542e2abcba986a003fddb198 50a1910677SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 51a1910677SmrgDate: Sat Jan 18 11:07:30 2025 -0800 52a1910677Smrg 53a1910677Smrg if inet_ntop() is available, use it, even if IPv6 support is disabled 54a1910677Smrg 55a1910677Smrg Support for using inet_ntop() was originally added to support IPv6, 56a1910677Smrg and only used if IPv6 support was enabled. Two decades later, support 57a1910677Smrg for inet_ntop() is ubiquitous and OS'es have marked inet_ntoa() 58a1910677Smrg as deprecated, so use the modern interface whenever we can now. 59a1910677Smrg 60a1910677Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 61a1910677Smrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/28> 62a1910677Smrg 63a1910677Smrgcommit 02415310dd4997b4a7943814381c0b52d91eb8de 64a1910677SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 65a1910677SmrgDate: Sat Jan 11 13:06:06 2025 -0800 66a1910677Smrg 67a1910677Smrg if getaddrinfo() is available, use it, even if IPv6 support is disabled 68a1910677Smrg 69a1910677Smrg Support for using getaddrinfo() was originally added to support IPv6, 70a1910677Smrg and only used if IPv6 support was enabled. Two decades later, support 71a1910677Smrg for getaddrinfo() is ubiquitous and OS'es have marked gethostbyname() 72a1910677Smrg as deprecated, so use the modern interface whenever we can now. 73a1910677Smrg 74a1910677Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 75a1910677Smrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/27> 76a1910677Smrg 77a1910677Smrgcommit 7aa12b634fadf2c414080f1ba3d373430cf2d8f2 78a1910677SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 79a1910677SmrgDate: Sat Jan 11 12:24:03 2025 -0800 80a1910677Smrg 81a1910677Smrg Simplify ifdefs for IPv6 support 82a1910677Smrg 83a1910677Smrg Instead of checking for AF_INET6 at every ifdef, just check once per file 84a1910677Smrg and report that IPv6 support is not available, instead of silently not 85a1910677Smrg building support for it that configure said we were going to build. 86a1910677Smrg 87a1910677Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 88a1910677Smrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/27> 89a1910677Smrg 90a1910677Smrgcommit e58ae2d27f7baee28319faa02b77cdc344e2f0ca 91a1910677SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 92a1910677SmrgDate: Sat Nov 16 16:37:06 2024 -0800 93a1910677Smrg 94a1910677Smrg SocketOpenCOTSServer: handle -Wconditional-uninitialized warning 95a1910677Smrg 96a1910677Smrg Clears warning from clang 13: 97a1910677Smrg 98a1910677Smrg .../include/X11/Xtrans/Xtranssock.c:670:14: warning: variable 'ciptr' 99a1910677Smrg may be uninitialized when used here [-Wconditional-uninitialized] 100a1910677Smrg setsockopt (ciptr->fd, SOL_SOCKET, SO_REUSEADDR, 101a1910677Smrg ^~~~~ 102a1910677Smrg .../include/X11/Xtrans/Xtranssock.c:624:25: note: initialize the 103a1910677Smrg variable 'ciptr' to silence this warning 104a1910677Smrg XtransConnInfo ciptr; 105a1910677Smrg ^ 106a1910677Smrg = NULL 107a1910677Smrg 108a1910677Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 109a1910677Smrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/26> 110a1910677Smrg 111a1910677Smrgcommit 3fc4f55eb36c02fab3a5b04610d91c481d6a5aec 112a1910677SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 113a1910677SmrgDate: Sat Nov 16 15:08:20 2024 -0800 114a1910677Smrg 115a1910677Smrg SocketOpenCOTSClientBase: handle -Wconditional-uninitialized warning 116a1910677Smrg 117a1910677Smrg Clears warning from clang 13: 118a1910677Smrg 119a1910677Smrg .../include/X11/Xtrans/Xtranssock.c:602:12: warning: variable 'ciptr' 120a1910677Smrg may be uninitialized when used here [-Wconditional-uninitialized] 121a1910677Smrg return ciptr; 122a1910677Smrg ^~~~~ 123a1910677Smrg .../include/X11/Xtrans/Xtranssock.c:575:25: note: initialize the 124a1910677Smrg variable 'ciptr' to silence this warning 125a1910677Smrg XtransConnInfo ciptr; 126a1910677Smrg ^ 127a1910677Smrg = NULL 128a1910677Smrg 129a1910677Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 130a1910677Smrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/26> 131a1910677Smrg 132a1910677Smrgcommit dc71da9eb353f2e41af96923f292c621aeddd37f 133a1910677SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 134a1910677SmrgDate: Sat Nov 16 14:46:29 2024 -0800 135a1910677Smrg 136a1910677Smrg Clear -Wmissing-variable-declarations from clang 13 137a1910677Smrg 138a1910677Smrg Silences 7 warnings of the form: 139a1910677Smrg 140a1910677Smrg .../include/X11/Xtrans/Xtranslcl.c:1347:12: warning: no previous extern 141a1910677Smrg declaration for non-static variable '_FSTransLocalFuncs' 142a1910677Smrg [-Wmissing-variable-declarations] 143a1910677Smrg Xtransport TRANS(LocalFuncs) = { 144a1910677Smrg ^ 145a1910677Smrg .../include/X11/Xtrans/Xtranslcl.c:1347:1: note: declare 'static' if the 146a1910677Smrg variable is not intended to be used outside of this translation unit 147a1910677Smrg 148a1910677Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 149a1910677Smrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/26> 150a1910677Smrg 151a1910677Smrgcommit 1dda77bb6ac9f473513a80e8ce5b32c4bde3448a 152a1910677SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 153a1910677SmrgDate: Sat Nov 16 14:23:25 2024 -0800 154a1910677Smrg 155a1910677Smrg Quiet -Wformat-pedantic warnings from clang 13 for non-void-* args to %p 156a1910677Smrg 157a1910677Smrg Clears 23 warnings of the form: 158a1910677Smrg .../include/X11/Xtrans/Xtrans.c:129:36: warning: format specifies type 159a1910677Smrg 'void *' but the argument has type 'XtransConnInfo' 160a1910677Smrg (aka 'struct _XtransConnInfo *') [-Wformat-pedantic] 161a1910677Smrg prmsg (3,"FreeConnInfo(%p)\n", ciptr); 162a1910677Smrg ~~ ^~~~~ 163a1910677Smrg 164a1910677Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 165a1910677Smrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/26> 166a1910677Smrg 167a1910677Smrgcommit e69d45306f38367ce3a0a5fa126beeb4e6370585 168a1910677SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 169a1910677SmrgDate: Sat Nov 9 09:17:22 2024 -0800 170a1910677Smrg 171a1910677Smrg accept const pointers for buf argument to TRANS(Write) 172a1910677Smrg 173a1910677Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 174a1910677Smrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/25> 175a1910677Smrg 17647a4502cSmrgcommit 0dc46e7ed5bdd876467f9dbb314ba6b8094e541b 17747a4502cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 17847a4502cSmrgDate: Sat Nov 9 09:04:34 2024 -0800 17947a4502cSmrg 18047a4502cSmrg xtrans 1.5.2 18147a4502cSmrg 18247a4502cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 18347a4502cSmrg 18447a4502cSmrgcommit d312424a6f2d5bff18f150dfecfc632b334fb878 18547a4502cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 18647a4502cSmrgDate: Tue Oct 22 14:44:46 2024 -0700 18747a4502cSmrg 18847a4502cSmrg is_numeric: Add !defined(IPv6) to checks 18947a4502cSmrg 19047a4502cSmrg Fixes builds without IPv6 support, since old IPv4 code uses is_numeric() 19147a4502cSmrg 19247a4502cSmrg Closes: #6 19347a4502cSmrg Fixes: 0f15306 ("is_numeric: Add TRANS_SERVER to required ifdefs") 19447a4502cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 19547a4502cSmrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/23> 19647a4502cSmrg 19747a4502cSmrgcommit ae99ac32f61e0db92a45179579030a23fe1b5770 19847a4502cSmrgAuthor: Peter Harris <pharris2@rocketsoftware.com> 19947a4502cSmrgDate: Tue Oct 15 09:51:33 2024 -0400 20047a4502cSmrg 20147a4502cSmrg Fix build when HAVE_STRCASECMP is not defined 20247a4502cSmrg 20347a4502cSmrg Regression introduced in commit 4792e9e798de327572aba1575438b6936a55c7ef 20447a4502cSmrg "Clear numerous -Wsign-compare warnings from gcc 14.1". 20547a4502cSmrg 20647a4502cSmrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/22> 20747a4502cSmrg 20847a4502cSmrgcommit df6ae7c7e0b6241a05ad2814bced637b00b1a83f 20947a4502cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 21047a4502cSmrgDate: Sat Oct 12 13:39:19 2024 -0700 21147a4502cSmrg 21247a4502cSmrg xtrans 1.5.1 21347a4502cSmrg 21447a4502cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 21547a4502cSmrg 21647a4502cSmrgcommit 0f153064bfa4bb69e86f3f2383f2f421f2360319 21747a4502cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 21847a4502cSmrgDate: Sat Aug 24 18:19:45 2024 -0700 21947a4502cSmrg 22047a4502cSmrg is_numeric: Add TRANS_SERVER to required ifdefs 22147a4502cSmrg 22247a4502cSmrg Avoids -Wunused-function warnings when only building for TRANS_CLIENT 22347a4502cSmrg code, such as libFS. 22447a4502cSmrg 22547a4502cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 22647a4502cSmrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/20> 22747a4502cSmrg 22847a4502cSmrgcommit 957adac35fb77d5a72f676d697f32ce94ab7392f 22947a4502cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 23047a4502cSmrgDate: Sat Aug 24 18:12:16 2024 -0700 23147a4502cSmrg 23247a4502cSmrg SocketOpen: avoid leak of out-of-range fd 23347a4502cSmrg 23447a4502cSmrg Clears gcc 14.1 warning: 23547a4502cSmrg 23647a4502cSmrg /usr/include/X11/Xtrans/Xtranssock.c: In function ‘_FSTransSocketOpen’: 23747a4502cSmrg /usr/include/X11/Xtrans/Xtranssock.c:425:9: warning: leak of file descriptor 23847a4502cSmrg [CWE-775] [-Wanalyzer-fd-leak] 23947a4502cSmrg 425 | free (ciptr); 24047a4502cSmrg | ^~~~~~~~~~~~ 24147a4502cSmrg [...] 24247a4502cSmrg | 415 | || ciptr->fd >= sysconf(_SC_OPEN_MAX) 24347a4502cSmrg | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24447a4502cSmrg | | | | 24547a4502cSmrg | | | (62) ...to here 24647a4502cSmrg | | (63) following ‘true’ branch... 24747a4502cSmrg [...] 24847a4502cSmrg 24947a4502cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 25047a4502cSmrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/20> 25147a4502cSmrg 25247a4502cSmrgcommit bea5a32105aebdc99f84f9ee4b70de7a116eb1d7 25347a4502cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 25447a4502cSmrgDate: Sat Aug 24 17:49:58 2024 -0700 25547a4502cSmrg 25647a4502cSmrg GetPeerNetworkId: avoid calling strlen() on a NULL pointer 25747a4502cSmrg 25847a4502cSmrg Various failure states may leave addr set to NULL instead of a string. 25947a4502cSmrg 26047a4502cSmrg Clears warnings from gcc 14.1: 26147a4502cSmrg 26247a4502cSmrg /usr/include/X11/Xtrans/Xtransutil.c: In function ‘_IceTransGetPeerNetworkId’: 26347a4502cSmrg /usr/include/X11/Xtrans/Xtransutil.c:402:62: warning: use of NULL ‘addr’ 26447a4502cSmrg where non-null expected [CWE-476] [-Wanalyzer-null-argument] 26547a4502cSmrg 402 | hostname = malloc (strlen (ciptr->transptr->TransName) + strlen (addr) + 2); 26647a4502cSmrg | ^~~~~~~~~~~~ 26747a4502cSmrg <built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null 26847a4502cSmrg 26947a4502cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 27047a4502cSmrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/20> 27147a4502cSmrg 27247a4502cSmrgcommit e5390ab716fb470ac4b5fd7a4133eabbfaac994e 27347a4502cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 27447a4502cSmrgDate: Sat Aug 24 17:44:41 2024 -0700 27547a4502cSmrg 27647a4502cSmrg GetPeerNetworkId: Avoid writing to NULL pointer if malloc() fails 27747a4502cSmrg 27847a4502cSmrg Clears gcc 14.1 warning: 27947a4502cSmrg 28047a4502cSmrg /usr/include/X11/Xtrans/Xtransutil.c:403:5: warning: use of possibly-NULL 28147a4502cSmrg ‘hostname’ where non-null expected [CWE-690] 28247a4502cSmrg [-Wanalyzer-possible-null-argument] 28347a4502cSmrg 403 | strcpy (hostname, ciptr->transptr->TransName); 28447a4502cSmrg | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28547a4502cSmrg <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null 28647a4502cSmrg 28747a4502cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 28847a4502cSmrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/20> 28947a4502cSmrg 29047a4502cSmrgcommit 215e8db07d05d425714b05b8a439c73735f9d04f 29147a4502cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 29247a4502cSmrgDate: Sat Aug 24 17:40:10 2024 -0700 29347a4502cSmrg 29447a4502cSmrg GetMyNetworkId: Avoid writing to NULL pointer if malloc() fails 29547a4502cSmrg 29647a4502cSmrg Clears warnings from gcc 14.1: 29747a4502cSmrg 29847a4502cSmrg In file included from /usr/include/X11/Xtrans/transport.c:70: 29947a4502cSmrg /usr/include/X11/Xtrans/Xtransutil.c: In function ‘_IceTransGetMyNetworkId’: 30047a4502cSmrg /usr/include/X11/Xtrans/Xtransutil.c:253:9: warning: use of possibly-NULL 30147a4502cSmrg ‘networkId’ where non-null expected [CWE-690] 30247a4502cSmrg [-Wanalyzer-possible-null-argument] 30347a4502cSmrg 253 | sprintf (networkId, "%s/%s:%s", transName, 30447a4502cSmrg | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30547a4502cSmrg 254 | hostnamebuf, saddr->sun_path); 30647a4502cSmrg | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30747a4502cSmrg <built-in>: note: argument 1 of ‘__builtin_sprintf’ must be non-null 30847a4502cSmrg 30947a4502cSmrg /usr/include/X11/Xtrans/Xtransutil.c:283:9: warning: use of possibly-NULL 31047a4502cSmrg ‘networkId’ where non-null expected [CWE-690] 31147a4502cSmrg [-Wanalyzer-possible-null-argument] 31247a4502cSmrg 283 | sprintf (networkId, "%s/%s:%s", transName, hostnamebuf, portnumbuf); 31347a4502cSmrg | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31447a4502cSmrg <built-in>: note: argument 1 of ‘__builtin_sprintf’ must be non-null 31547a4502cSmrg 31647a4502cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 31747a4502cSmrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/20> 31847a4502cSmrg 31947a4502cSmrgcommit 376744aa60ff8df0ddbcf090f0177c15706df71e 32047a4502cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 32147a4502cSmrgDate: Sat Aug 24 17:33:13 2024 -0700 32247a4502cSmrg 32347a4502cSmrg MakeAllCOTSServerListeners: Initialize temp_ciptrs 32447a4502cSmrg 32547a4502cSmrg I don't think this is strictly necessary, but it shouldn't hurt and 32647a4502cSmrg makes gcc 14.1 stop warning about: 32747a4502cSmrg 32847a4502cSmrg /usr/include/X11/Xtrans/Xtrans.c: In function 32947a4502cSmrg ‘_IceTransMakeAllCOTSServerListeners’: 33047a4502cSmrg /usr/include/X11/Xtrans/Xtrans.h:108:21: warning: use of uninitialized 33147a4502cSmrg value ‘temp_ciptrs[j]’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 33247a4502cSmrg 108 | #define TRANS(func) _IceTrans##func 33347a4502cSmrg /usr/include/X11/Xtrans/Xtrans.c:1203:21: note: in expansion of macro ‘TRANS’ 33447a4502cSmrg 1203 | TRANS(Close) (temp_ciptrs[j]); 33547a4502cSmrg | ^~~~~ 33647a4502cSmrg 33747a4502cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 33847a4502cSmrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/20> 33947a4502cSmrg 34047a4502cSmrgcommit 742462a572e524ae82a8c18106c03820da322102 34147a4502cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 34247a4502cSmrgDate: Sat Aug 24 17:23:10 2024 -0700 34347a4502cSmrg 34447a4502cSmrg ParseAddress: return failure when strdup() fails 34547a4502cSmrg 34647a4502cSmrg Clears warning from gcc 14.1: 34747a4502cSmrg In file included from /usr/include/X11/Xtrans/transport.c:69: 34847a4502cSmrg /usr/include/X11/Xtrans/Xtrans.c: In function ‘_IceTransParseAddress’: 34947a4502cSmrg /usr/include/X11/Xtrans/Xtrans.c:246:19: warning: use of possibly-NULL ‘mybuf’ 35047a4502cSmrg where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] 35147a4502cSmrg 246 | if ( ((mybuf = strchr (mybuf,'/')) == NULL) && 35247a4502cSmrg | ^~~~~~~~~~~~~~~~~~ 35347a4502cSmrg 35447a4502cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 35547a4502cSmrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/20> 35647a4502cSmrg 35747a4502cSmrgcommit e9ead32308c588e5c12dbfb6a6452e0f2c88bafd 35847a4502cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 35947a4502cSmrgDate: Sat Aug 24 17:18:01 2024 -0700 36047a4502cSmrg 36147a4502cSmrg SocketINETConnect: return failure when malloc() fails 36247a4502cSmrg 36347a4502cSmrg Clears warning from gcc 14.1: 36447a4502cSmrg In file included from /usr/include/X11/Xtrans/transport.c:67: 36547a4502cSmrg /usr/include/X11/Xtrans/Xtranssock.c: In function ‘_IceTransSocketINETConnect’: 36647a4502cSmrg /usr/include/X11/Xtrans/Xtranssock.c:1385:33: warning: dereference of 36747a4502cSmrg possibly-NULL ‘addrlist’ [CWE-690] [-Wanalyzer-possible-null-dereference] 36847a4502cSmrg 1385 | addrlist->firstaddr = NULL; 36947a4502cSmrg | ^ 37047a4502cSmrg 37147a4502cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 37247a4502cSmrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/20> 37347a4502cSmrg 37447a4502cSmrgcommit 4792e9e798de327572aba1575438b6936a55c7ef 37547a4502cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 37647a4502cSmrgDate: Sat Aug 24 17:11:28 2024 -0700 37747a4502cSmrg 37847a4502cSmrg Clear numerous -Wsign-compare warnings from gcc 14.1 37947a4502cSmrg 38047a4502cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 38147a4502cSmrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/20> 38247a4502cSmrg 38347a4502cSmrgcommit 9ad6c6764f0517f91492c04ae03a59f53229ef69 38447a4502cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 38547a4502cSmrgDate: Sat Aug 24 16:52:05 2024 -0700 38647a4502cSmrg 38747a4502cSmrg SocketCreateListener: Fix -Wuseless-cast warning in bind() call 38847a4502cSmrg 38947a4502cSmrg sockname is defined as struct sockaddr * in the arguments to 39047a4502cSmrg SocketCreateListener so we don't need to cast to that when calling bind() 39147a4502cSmrg 39247a4502cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 39347a4502cSmrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/20> 39447a4502cSmrg 39547a4502cSmrgcommit 9ed4f5ec909cf262a2404012768858792f976e36 39647a4502cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 39747a4502cSmrgDate: Sat Aug 24 16:51:17 2024 -0700 39847a4502cSmrg 39947a4502cSmrg LocalInitTransports: Fix -Wuseless-cast warning for getenv() call 40047a4502cSmrg 40147a4502cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 40247a4502cSmrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/20> 40347a4502cSmrg 40447a4502cSmrgcommit edd3f51328df9c621277168c9dd77b1e80ccfd7c 40547a4502cSmrgAuthor: Robert Royals <robert.royals@protonmail.com> 40647a4502cSmrgDate: Sun Jul 21 22:54:27 2024 +0100 40747a4502cSmrg 40847a4502cSmrg Fix string length check 40947a4502cSmrg 41047a4502cSmrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/19> 41147a4502cSmrg 41247a4502cSmrgcommit 656d27ed32af4082e8062c1d7c42b65ea3a6b80f 41347a4502cSmrgAuthor: Kim Woelders <kim@woelders.dk> 41447a4502cSmrgDate: Thu Mar 28 18:01:20 2024 +0100 41547a4502cSmrg 41647a4502cSmrg TRANS(GetHostname): Fix "‘strncpy’ output truncated.." warning 41747a4502cSmrg 41847a4502cSmrg Occurs when compiling xserver master with gcc 13.2.1. 41947a4502cSmrg 42047a4502cSmrg In file included from /local/stuff/xorg/include/X11/Xtrans/transport.c:69: 42147a4502cSmrg In function ‘_XSERVTransGetHostname’, 42247a4502cSmrg inlined from ‘_XSERVTransConvertAddress’ at /local/stuff/xorg/include/X11/Xtrans/Xtransutil.c:188:12: 42347a4502cSmrg /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] 42447a4502cSmrg 1352 | strncpy (buf, name.nodename, len); 42547a4502cSmrg | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 42647a4502cSmrg /local/stuff/xorg/include/X11/Xtrans/Xtrans.c:1350:11: note: length computed here 42747a4502cSmrg 1350 | len = strlen (name.nodename); 42847a4502cSmrg | ^~~~~~~~~~~~~~~~~~~~~~ 42947a4502cSmrg 43047a4502cSmrg Signed-off-by: Kim Woelders <kim@woelders.dk> 43147a4502cSmrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/16> 43247a4502cSmrg 43347a4502cSmrgcommit 6171150fe9f8edad3f1cfb14cec59e6a42a9c15b 43447a4502cSmrgAuthor: Kim Woelders <kim@woelders.dk> 43547a4502cSmrgDate: Thu Mar 28 17:29:26 2024 +0100 43647a4502cSmrg 43747a4502cSmrg TRANS(ParseAddress): Fix "assignment discards ‘const’ qualifier" warnings 43847a4502cSmrg 43947a4502cSmrg Occurs when compiling xserver master with gcc 13.2.1. 44047a4502cSmrg 44147a4502cSmrg In file included from /local/stuff/xorg/include/X11/Xtrans/transport.c:69, 44247a4502cSmrg from ../os/xstrans.c:17: 44347a4502cSmrg /local/stuff/xorg/include/X11/Xtrans/Xtrans.c: In function ‘_XSERVTransParseAddress’: 44447a4502cSmrg /local/stuff/xorg/include/X11/Xtrans/Xtrans.c:216:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 44547a4502cSmrg 216 | _host = ""; 44647a4502cSmrg | ^ 44747a4502cSmrg /local/stuff/xorg/include/X11/Xtrans/Xtrans.c:217:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 44847a4502cSmrg 217 | _port = address; 44947a4502cSmrg | ^ 45047a4502cSmrg /local/stuff/xorg/include/X11/Xtrans/Xtrans.c:229:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 45147a4502cSmrg 229 | _host = ""; 45247a4502cSmrg | ^ 45347a4502cSmrg /local/stuff/xorg/include/X11/Xtrans/Xtrans.c:230:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 45447a4502cSmrg 230 | _port = address + 5; 45547a4502cSmrg | ^ 45647a4502cSmrg 45747a4502cSmrg Signed-off-by: Kim Woelders <kim@woelders.dk> 45847a4502cSmrg Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/16> 45947a4502cSmrg 46047a4502cSmrgcommit c219be946b1d8a641dcbc7a60904293f105e2866 46147a4502cSmrgAuthor: Enrico Weigelt, metux IT consult <info@metux.net> 46247a4502cSmrgDate: Wed Apr 3 12:11:48 2024 +0200 46347a4502cSmrg 46447a4502cSmrg update .gitignore 46547a4502cSmrg 46647a4502cSmrg Add some yet missing auto-generated files. 46747a4502cSmrg 46847a4502cSmrg Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 46947a4502cSmrg 47047a4502cSmrgcommit 806f04c6e4529358f160e53135baf105e4ecf3b8 47147a4502cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 47247a4502cSmrgDate: Fri Oct 13 13:37:49 2023 -0700 47347a4502cSmrg 47447a4502cSmrg gitlab CI: add libc-dev to required packages in build container 47547a4502cSmrg 47647a4502cSmrg Resolves configure failure: 47747a4502cSmrg configure:3823: checking whether the C compiler works 47847a4502cSmrg configure:3845: gcc conftest.c >&5 47947a4502cSmrg /usr/bin/ld: cannot find Scrt1.o: No such file or directory 48047a4502cSmrg /usr/bin/ld: cannot find crti.o: No such file or directory 48147a4502cSmrg collect2: error: ld returned 1 exit status 48247a4502cSmrg configure:3849: $? = 1 48347a4502cSmrg configure:3889: result: no 48447a4502cSmrg 48547a4502cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 48647a4502cSmrg 48747a4502cSmrgcommit 3aa3c318ded5da802e181f0d29b94ab6a692e387 48847a4502cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 48947a4502cSmrgDate: Fri Oct 13 13:32:15 2023 -0700 49047a4502cSmrg 49147a4502cSmrg gitlab CI: collect config.log to help diagnose failures 49247a4502cSmrg 49347a4502cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 49447a4502cSmrg 49547a4502cSmrgcommit 6d5a4512b5ee4757a474df3f5e938784da963de1 49647a4502cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 49747a4502cSmrgDate: Fri Oct 13 13:26:49 2023 -0700 49847a4502cSmrg 49947a4502cSmrg gitlab CI: add xz-utils to container for "make distcheck" 50047a4502cSmrg 50147a4502cSmrg Also update to latest ci-templates 50247a4502cSmrg 50347a4502cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 50447a4502cSmrg 505e45ace2bSmrgcommit 3b3a3bd75d86aec78f6ef893b198c3efc378bc64 506e45ace2bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 507e45ace2bSmrgDate: Fri Jun 2 17:29:41 2023 -0700 508e45ace2bSmrg 509e45ace2bSmrg xtrans 1.5.0 510e45ace2bSmrg 511e45ace2bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 512e45ace2bSmrg 513e45ace2bSmrgcommit 232a11a947564762689e63c3a6603d3f956f696d 514e45ace2bSmrgAuthor: Demi Marie Obenour <demiobenour@gmail.com> 515e45ace2bSmrgDate: Thu Dec 15 14:48:13 2022 -0500 516e45ace2bSmrg 517e45ace2bSmrg DISPLAY starting with unix: or / is always a socket path 518e45ace2bSmrg 519e45ace2bSmrg Do not consider anything else in this case. 520e45ace2bSmrg 521e45ace2bSmrg Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com> 522e45ace2bSmrg 523e45ace2bSmrgcommit b898f415e7c31de5b4beb06b22a5498049852e53 524e45ace2bSmrgAuthor: Demi Marie Obenour <demiobenour@gmail.com> 525e45ace2bSmrgDate: Thu Dec 15 14:43:37 2022 -0500 526e45ace2bSmrg 527e45ace2bSmrg Allow full paths to sockets on non-macOS 528e45ace2bSmrg 529e45ace2bSmrg This adds explicit checks for addresses that start with / or unix: and 530e45ace2bSmrg uses full paths in this case. 531e45ace2bSmrg 532e45ace2bSmrg Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com> 533e45ace2bSmrg 534e45ace2bSmrgcommit e24adec1203cd25423ab2835a5be4f6b828b72a5 535e45ace2bSmrgAuthor: Demi Marie Obenour <demiobenour@gmail.com> 536e45ace2bSmrgDate: Thu Dec 17 03:28:45 2020 +0000 537e45ace2bSmrg 538e45ace2bSmrg Remove client-side abstract socket support 539e45ace2bSmrg 540e45ace2bSmrg CVE-2020-25697 and the Flatpak documentation show that clients using 541e45ace2bSmrg abstract sockets without mutual authentication is unsafe. 542e45ace2bSmrg TRANS_ABSTRACT remains supported, but it is now a no-op on the client 543e45ace2bSmrg side. Abstract sockets are still supported for servers, as the X server 544e45ace2bSmrg authenticates the client via other methods. 545e45ace2bSmrg 546e45ace2bSmrg Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com> 547e45ace2bSmrg 548e45ace2bSmrgcommit 9d77996f9f972da63c06099fd8c0f0529159b98f 549e45ace2bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 550e45ace2bSmrgDate: Sat Feb 25 09:33:29 2023 -0800 551e45ace2bSmrg 552e45ace2bSmrg Remove "All rights reserved" from Oracle copyright notices 553e45ace2bSmrg 554e45ace2bSmrg Oracle no longer includes this term in our copyright & license notices. 555e45ace2bSmrg 556e45ace2bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 557e45ace2bSmrg 558e45ace2bSmrgcommit 9ae32feef793082a302e65d31514a958604c761d 559e45ace2bSmrgAuthor: Olivier Fourdan <ofourdan@redhat.com> 560e45ace2bSmrgDate: Tue Jun 25 14:59:59 2019 +0200 561e45ace2bSmrg 562e45ace2bSmrg Allow partial connection to succeed 563e45ace2bSmrg 564e45ace2bSmrg Xwayland can optionally be socket-activated by the Wayland compositor, 565e45ace2bSmrg in which case it would use only the sockets provided by the compositor. 566e45ace2bSmrg 567e45ace2bSmrg However, that prevents other transport protocols from working, because 568e45ace2bSmrg when it's given a socket from the Wayland compositor, it would disable 569e45ace2bSmrg all other connections and rely solely on the given socket. 570e45ace2bSmrg 571e45ace2bSmrg Change `MakeAllCOTSServerListeners` to allow for partial connections so 572e45ace2bSmrg that if `partial` is set to a non-zero value by the caller, we do not 573e45ace2bSmrg bail out in the address is already in use. 574e45ace2bSmrg 575e45ace2bSmrg That allows to continue trying with other protocols even if the local 576e45ace2bSmrg connection fails (as this is already handled by the socket from the 577e45ace2bSmrg Wayland compositor). 578e45ace2bSmrg 579e45ace2bSmrg Related: https://gitlab.freedesktop.org/xorg/xserver/issues/817 580e45ace2bSmrg Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 581e45ace2bSmrg 582e45ace2bSmrgcommit c761c6505d49e8381a3eae94f2e5e118cbdf6487 583e45ace2bSmrgAuthor: Keith Packard <keithp@keithp.com> 584e45ace2bSmrgDate: Wed Jan 29 12:54:26 2014 -0800 585e45ace2bSmrg 586e45ace2bSmrg Use font server ErrorF/VErrorF instead of private versions 587e45ace2bSmrg 588e45ace2bSmrg XTrans creates custom ErrorF/VErrorF functions when the including 589e45ace2bSmrg project doesn't provide them, however the test for that is weak and xtrans 590e45ace2bSmrg ends up using the private versions for the font server as well. 591e45ace2bSmrg 592e45ace2bSmrg This means that all xtrans error messages will not be included in the 593e45ace2bSmrg font server log. It also causes redefinition warnings when building 594e45ace2bSmrg the font server (which is how this problem was identified). 595e45ace2bSmrg 596e45ace2bSmrg However, the font server doesn't currently provide a VErrorF function, 597e45ace2bSmrg so instead of just always relying on the font server to provide these 598e45ace2bSmrg functions, this patch uses a new TRANS_HAS_ERRORF define to select 599e45ace2bSmrg whether the project-provided or internal versions will be used. A 600e45ace2bSmrg patch to the font server that adds VErrorF and defines 601e45ace2bSmrg TRANS_HAS_ERRORF will be required to fix this bug. 602e45ace2bSmrg 603e45ace2bSmrg Signed-off-by: Keith Packard <keithp@keithp.com> 604e45ace2bSmrg 605e45ace2bSmrgcommit 8c0f5228e75aa949963aa8d27dcfa2648db2e197 606e45ace2bSmrgAuthor: Keith Packard <keithp@keithp.com> 607e45ace2bSmrgDate: Wed Jan 29 12:54:25 2014 -0800 608e45ace2bSmrg 609e45ace2bSmrg move is_numeric to Xtranssock.c and only define for TCPCONN or TRANS_REOPEN 610e45ace2bSmrg 611e45ace2bSmrg Don't define this function unless it is actually going to be used. 612e45ace2bSmrg 613e45ace2bSmrg Signed-off-by: Keith Packard <keithp@keithp.com> 614e45ace2bSmrg 615e45ace2bSmrgcommit 3309c75906a56de86607f59481304b3a2812162f 616e45ace2bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 617e45ace2bSmrgDate: Tue May 10 09:18:15 2022 -0700 618e45ace2bSmrg 619e45ace2bSmrg gitlab CI: add a basic build test 620e45ace2bSmrg 621e45ace2bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 622e45ace2bSmrg 623e45ace2bSmrgcommit c069ede3c97f543d9bbe9ed67e56c74142921cc5 624e45ace2bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 625e45ace2bSmrgDate: Tue May 10 09:15:11 2022 -0700 626e45ace2bSmrg 627e45ace2bSmrg Fix spelling/wording issues 628e45ace2bSmrg 629e45ace2bSmrg Found by using: 630e45ace2bSmrg codespell --builtin clear,rare,usage,informal,code,names 631e45ace2bSmrg 632e45ace2bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 633e45ace2bSmrg 634e45ace2bSmrgcommit 16a015524f3820f969362c2d10a3664999a12c3b 635e45ace2bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 636e45ace2bSmrgDate: Tue May 10 09:11:07 2022 -0700 637e45ace2bSmrg 638e45ace2bSmrg Build xz tarballs instead of bzip2 639e45ace2bSmrg 640e45ace2bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 641e45ace2bSmrg 642e45ace2bSmrgcommit 7898badde44cf518da6879c2622b6db9cd709c7d 643e45ace2bSmrgAuthor: Ray Strode <rstrode@redhat.com> 644e45ace2bSmrgDate: Fri May 6 14:23:59 2022 -0400 645e45ace2bSmrg 646e45ace2bSmrg Automatically disable inet6 transport if ipv6 is disabled on machine 647e45ace2bSmrg 648e45ace2bSmrg If a machine is booted with ipv6.disable=1, trying to bind to an 649e45ace2bSmrg AF_INET6 socket will fail with AFNOSUPPORT. 650e45ace2bSmrg 651e45ace2bSmrg The tcp transport automatically falls back to ipv4 in this case, but 652e45ace2bSmrg the more specific inet6 transport just fails. 653e45ace2bSmrg 654e45ace2bSmrg This failure leads to MakeAllCOTSServerListeners returning a partial 655e45ace2bSmrg success. 656e45ace2bSmrg 657e45ace2bSmrg Unfortunately, the X server can't really contiue with partial successes 658e45ace2bSmrg from this function if -displayfd is in use, since that would, in other 659e45ace2bSmrg cases, potentially lead to the -displayfd electing a display number that 660e45ace2bSmrg is potentially partially in use by a rogue program. 661e45ace2bSmrg 662e45ace2bSmrg This commit addresses the issue by automatically disabling transports 663e45ace2bSmrg when they fail with AFNOSUPPORT, leading them to get ignored, rather than 664e45ace2bSmrg proceeding and ultimately returning from MakeAllCOTSServerListerns with 665e45ace2bSmrg partial=TRUE. 666e45ace2bSmrg 667e45ace2bSmrgcommit 3b5df889f58a99980a35a7b4a18eb4e7d2abeac4 668e45ace2bSmrgAuthor: Adam Jackson <ajax@redhat.com> 669e45ace2bSmrgDate: Wed Oct 9 14:05:47 2019 -0400 670e45ace2bSmrg 671e45ace2bSmrg TEST_t is never defined 672e45ace2bSmrg 673e45ace2bSmrg This didn't even correspond to any of the testing protocol extensions! 674e45ace2bSmrg Apparently there used to be some test programs in xtrans itself, and 675e45ace2bSmrg they've not been a thing since 1994: 676e45ace2bSmrg 677e45ace2bSmrg https://cgit.freedesktop.org/~alanc/xc-historical/commit/?id=73bf4832c427855b2ce111d47dd1f181564b8d06 678e45ace2bSmrg 679e45ace2bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 680e45ace2bSmrg 681e45ace2bSmrgcommit d0d471579ca69365d4cd5a548ce6fc8b4662d467 682e45ace2bSmrgAuthor: Adam Jackson <ajax@redhat.com> 683e45ace2bSmrgDate: Wed Sep 25 11:09:52 2019 -0400 684e45ace2bSmrg 685e45ace2bSmrg Remove non-Solaris SysV support 686e45ace2bSmrg 687e45ace2bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 688e45ace2bSmrg 689e45ace2bSmrgcommit 521682b8b72e3ad50c9ae66a9b35249100188eb2 690e45ace2bSmrgAuthor: Adam Jackson <ajax@redhat.com> 691e45ace2bSmrgDate: Tue Sep 24 21:29:46 2019 -0400 692e45ace2bSmrg 693e45ace2bSmrg Delete SCO support 694e45ace2bSmrg 695e45ace2bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 696e45ace2bSmrg 697e45ace2bSmrgcommit 3f8b27a9dff68792fdc448782459a6d41cade9ff 698e45ace2bSmrgAuthor: Adam Jackson <ajax@redhat.com> 699e45ace2bSmrgDate: Tue Sep 24 19:48:17 2019 -0400 700e45ace2bSmrg 701e45ace2bSmrg unifdef USG and NCR 702e45ace2bSmrg 703e45ace2bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 704e45ace2bSmrg 7053d2ed3e3Smrgcommit c4262efc9688e495261d8b23a12f956ab38e006f 7063d2ed3e3SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7073d2ed3e3SmrgDate: Sat Mar 16 14:25:35 2019 -0700 7083d2ed3e3Smrg 7093d2ed3e3Smrg xtrans 1.4.0 7103d2ed3e3Smrg 7113d2ed3e3Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7123d2ed3e3Smrg 7133d2ed3e3Smrgcommit faa42207a0653535ab80825b0acb50b417702ec4 7143d2ed3e3SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7153d2ed3e3SmrgDate: Fri Dec 7 19:52:43 2018 -0800 7163d2ed3e3Smrg 7173d2ed3e3Smrg Update configure.ac bug URL for gitlab migration 7183d2ed3e3Smrg 7193d2ed3e3Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7203d2ed3e3Smrg 7213d2ed3e3Smrgcommit cd22de616c77328da3410b1eaab541c2d331ffdb 7223d2ed3e3SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7233d2ed3e3SmrgDate: Mon Nov 19 23:12:07 2018 -0800 7243d2ed3e3Smrg 7253d2ed3e3Smrg Update README for gitlab migration 7263d2ed3e3Smrg 7273d2ed3e3Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7283d2ed3e3Smrg 7293d2ed3e3Smrgcommit 06cfa80fb3d03ca03fd92f9687a77958338e012c 7303d2ed3e3SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7313d2ed3e3SmrgDate: Sun Sep 30 17:04:51 2018 -0700 7323d2ed3e3Smrg 7333d2ed3e3Smrg Use fchmod() instead of chmod() when creating named pipes 7343d2ed3e3Smrg 7353d2ed3e3Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7363d2ed3e3Smrg 7373d2ed3e3Smrgcommit 7bd504f7ab7799ab77ad50eb39f6afdbaf2f9e50 7383d2ed3e3SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7393d2ed3e3SmrgDate: Sat Aug 25 11:18:52 2018 -0700 7403d2ed3e3Smrg 7413d2ed3e3Smrg Use strcasecmp if it's available, instead of lowercasing strings 7423d2ed3e3Smrg 7433d2ed3e3Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7443d2ed3e3Smrg 7453d2ed3e3Smrgcommit 941cfa50bc2d45f20943fd21bab98e2eceeeb259 7463d2ed3e3SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7473d2ed3e3SmrgDate: Sat Aug 25 10:45:04 2018 -0700 7483d2ed3e3Smrg 7493d2ed3e3Smrg Set freeXLOCAL to NULL after freeing it to prevent double frees 7503d2ed3e3Smrg 7513d2ed3e3Smrg We shouldn't be calling the LocalEndTransports routine twice, but 7523d2ed3e3Smrg just make sure if we do, we don't call free twice on the same pointer. 7533d2ed3e3Smrg 7543d2ed3e3Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7553d2ed3e3Smrg 7563d2ed3e3Smrgcommit a97e5fc6e4f294294d75500068892aea11952773 7573d2ed3e3SmrgAuthor: Rin Okuyama <rin@NetBSD.org> 7583d2ed3e3SmrgDate: Tue Feb 21 06:18:37 2017 +0000 7593d2ed3e3Smrg 7603d2ed3e3Smrg avoid -Wformat errors from clang 7613d2ed3e3Smrg 7623d2ed3e3Smrg https://bugs.freedesktop.org/show_bug.cgi?id=99882 7633d2ed3e3Smrg 7643d2ed3e3Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7653d2ed3e3Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7663d2ed3e3Smrg 7673d2ed3e3Smrgcommit 28366676effaa512e43bfd2276a317389a992511 7683d2ed3e3SmrgAuthor: Emil Velikov <emil.l.velikov@gmail.com> 7693d2ed3e3SmrgDate: Mon Mar 9 12:00:52 2015 +0000 7703d2ed3e3Smrg 7713d2ed3e3Smrg autogen.sh: use quoted string variables 7723d2ed3e3Smrg 7733d2ed3e3Smrg Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent 7743d2ed3e3Smrg fall-outs, when they contain space. 7753d2ed3e3Smrg 7763d2ed3e3Smrg Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 7773d2ed3e3Smrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 7783d2ed3e3Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 7793d2ed3e3Smrg 7803d2ed3e3Smrgcommit 8554cf05262ab6ad6e8da5f11022e5dc2a452e38 7813d2ed3e3SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 7823d2ed3e3SmrgDate: Tue Jan 24 10:32:07 2017 +1000 7833d2ed3e3Smrg 7843d2ed3e3Smrg autogen.sh: use exec instead of waiting for configure to finish 7853d2ed3e3Smrg 7863d2ed3e3Smrg Syncs the invocation of configure with the one from the server. 7873d2ed3e3Smrg 7883d2ed3e3Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 7893d2ed3e3Smrg Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 7903d2ed3e3Smrg 7913d2ed3e3Smrgcommit 560d7550e23e9b14056b4a9b2569c2f256015f8a 7923d2ed3e3SmrgAuthor: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 7933d2ed3e3SmrgDate: Sat Sep 10 22:09:51 2016 -0700 7943d2ed3e3Smrg 7953d2ed3e3Smrg Update strlcpy macro check to also check HAVE_STRLCPY 7963d2ed3e3Smrg 7973d2ed3e3Smrg xorg-server moved from HAS_STRLCPY to HAVE_STRLCPY in 2011 7983d2ed3e3Smrg 7993d2ed3e3Smrg cf-xserver: d829a7c5cb42c979b58f3547136df5b05d906423 8003d2ed3e3Smrg 8013d2ed3e3Smrg Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 8023d2ed3e3Smrg 8033d2ed3e3Smrgcommit 2e4c338eda8ec6996b7bacc1d0c7dfe7de925864 8043d2ed3e3SmrgAuthor: Adam Jackson <ajax@redhat.com> 8053d2ed3e3SmrgDate: Thu Sep 1 09:28:58 2016 -0400 8063d2ed3e3Smrg 8073d2ed3e3Smrg Revert "Make FreeConnInfo static" 8083d2ed3e3Smrg 8093d2ed3e3Smrg <anholt> ajax: 75419e6b6d985ea8796f05d1acb5e154b065c9b9 of xtrans also 8103d2ed3e3Smrg seems to have broken xtest. 8113d2ed3e3Smrg 8123d2ed3e3Smrg And indeed it does, xts5 knows a fair amount about xlib internals for 8133d2ed3e3Smrg some reason. Whether that's cromulent or not, we want to be able to run 8143d2ed3e3Smrg automatic tests from top-of-tree, so we can't leave this broken. 8153d2ed3e3Smrg 8163d2ed3e3Smrg This reverts commit 75419e6b6d985ea8796f05d1acb5e154b065c9b9. 8173d2ed3e3Smrg 8183d2ed3e3Smrg Signed-off-by: Adam Jackson <ajax@redhat.com> 8193d2ed3e3Smrg 8203d2ed3e3Smrgcommit 3810e026323210df6ec6cf818f01832a63e9fbb9 8213d2ed3e3SmrgAuthor: Adam Jackson <ajax@redhat.com> 8223d2ed3e3SmrgDate: Wed May 18 12:58:31 2016 -0400 8233d2ed3e3Smrg 8243d2ed3e3Smrg Remove GetMyAddr 8253d2ed3e3Smrg 8263d2ed3e3Smrg Again, pre-xcb libX11 was the only consumer. 8273d2ed3e3Smrg 8283d2ed3e3Smrg Reviewed-by: Keith Packard <keithp@keithp.com> 8293d2ed3e3Smrg Signed-off-by: Adam Jackson <ajax@redhat.com> 8303d2ed3e3Smrg 8313d2ed3e3Smrgcommit 75419e6b6d985ea8796f05d1acb5e154b065c9b9 8323d2ed3e3SmrgAuthor: Adam Jackson <ajax@redhat.com> 8333d2ed3e3SmrgDate: Wed May 18 12:50:48 2016 -0400 8343d2ed3e3Smrg 8353d2ed3e3Smrg Make FreeConnInfo static 8363d2ed3e3Smrg 8373d2ed3e3Smrg libX11 used to need this in the XOpenDisplay code, but hasn't since xcb 8383d2ed3e3Smrg became mandatory. 8393d2ed3e3Smrg 8403d2ed3e3Smrg Reviewed-by: Keith Packard <keithp@keithp.com> 8413d2ed3e3Smrg Signed-off-by: Adam Jackson <ajax@redhat.com> 8423d2ed3e3Smrg 8433d2ed3e3Smrgcommit 0794b1b712a90b40e2b019c9edc6f96874493c52 8443d2ed3e3SmrgAuthor: Adam Jackson <ajax@redhat.com> 8453d2ed3e3SmrgDate: Wed May 18 12:41:41 2016 -0400 8463d2ed3e3Smrg 8473d2ed3e3Smrg unifdef LBXPROXY_t and TEST_t 8483d2ed3e3Smrg 8493d2ed3e3Smrg LBX is dead, and TEST_t is unused. 8503d2ed3e3Smrg 8513d2ed3e3Smrg Reviewed-by: Keith Packard <keithp@keithp.com> 8523d2ed3e3Smrg Signed-off-by: Adam Jackson <ajax@redhat.com> 8533d2ed3e3Smrg 8543d2ed3e3Smrgcommit 473e77563b16fa7c42db9403c1382e9483e3666c 8553d2ed3e3SmrgAuthor: Adam Jackson <ajax@redhat.com> 8563d2ed3e3SmrgDate: Wed May 18 12:38:02 2016 -0400 8573d2ed3e3Smrg 8583d2ed3e3Smrg Remove CLTS code 8593d2ed3e3Smrg 8603d2ed3e3Smrg Never been used, as far as I can tell. 8613d2ed3e3Smrg 8623d2ed3e3Smrg Reviewed-by: Keith Packard <keithp@keithp.com> 8633d2ed3e3Smrg Signed-off-by: Adam Jackson <ajax@redhat.com> 8643d2ed3e3Smrg 8653d2ed3e3Smrgcommit b167145a51153eccc16a3e43f7ed0faea7e6c762 8663d2ed3e3SmrgAuthor: Adam Jackson <ajax@redhat.com> 8673d2ed3e3SmrgDate: Wed May 18 15:19:50 2016 -0400 8683d2ed3e3Smrg 8693d2ed3e3Smrg autogen: Add a default patch prefix 8703d2ed3e3Smrg 8713d2ed3e3Smrg Signed-off-by: Adam Jackson <ajax@redhat.com> 8723d2ed3e3Smrg 8733d2ed3e3Smrgcommit cc29fbc1fe86ae4dfe2f4eaae7352ea86aa4acac 8743d2ed3e3SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8753d2ed3e3SmrgDate: Sat Nov 28 13:04:21 2015 -0800 8763d2ed3e3Smrg 8773d2ed3e3Smrg Remove support for SysV on x86 platforms other than Solaris & SCO 8783d2ed3e3Smrg 8793d2ed3e3Smrg No other x86 SysV platforms have ever been supported in the modular 8803d2ed3e3Smrg build systems, so we don't need to keep carrying around a bunch of 8813d2ed3e3Smrg ifdef's for them. 8823d2ed3e3Smrg 8833d2ed3e3Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8843d2ed3e3Smrg Reviewed-by: Mark Kettenis <kettenis@openbsd.org> 8853d2ed3e3Smrg 8863d2ed3e3Smrgcommit 3ba0b7a37b9053662ff42f0b4caa856856098475 8873d2ed3e3SmrgAuthor: Richard PALO <richard@NetBSD.org> 8883d2ed3e3SmrgDate: Tue Nov 17 07:02:27 2015 +0100 8893d2ed3e3Smrg 8903d2ed3e3Smrg Replace 'sun' with '__sun' 8913d2ed3e3Smrg 8923d2ed3e3Smrg Globally replace #ifdef and #if defined usage of 'sun' with '__sun' such 8933d2ed3e3Smrg that strict ISO compiler modes such as -ansi or -std=c99 can be used. 8943d2ed3e3Smrg 8953d2ed3e3Smrg Signed-off-by: Richard PALO <richard@NetBSD.org> 8963d2ed3e3Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8973d2ed3e3Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8983d2ed3e3Smrg 8993d2ed3e3Smrgcommit 1d31b87e8045f3fc89b1914187a9a13861d35f2d 9003d2ed3e3SmrgAuthor: Julien Cristau <jcristau@debian.org> 9013d2ed3e3SmrgDate: Wed Jul 29 20:36:13 2015 +0200 9023d2ed3e3Smrg 9033d2ed3e3Smrg Make sure LONG64 is defined in Xtrans.h 9043d2ed3e3Smrg 9053d2ed3e3Smrg Xtrans.h defines BytesReadable_t as int or long depending on whether 9063d2ed3e3Smrg LONG64 is defined. We need to make sure Xmd.h is included so our idea 9073d2ed3e3Smrg of BytesReadable_t is consistent across compilation units. 9083d2ed3e3Smrg 9093d2ed3e3Smrg Debian bug#749120 9103d2ed3e3Smrg 9113d2ed3e3Smrg Reported-by: Michael Tautschnig <mt@debian.org> 9123d2ed3e3Smrg Signed-off-by: Julien Cristau <jcristau@debian.org> 9133d2ed3e3Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9143d2ed3e3Smrg 9156a3641a6Ssnjcommit 7cbad9fe2e61cd9d5caeaf361826a6f4bd320f03 9166a3641a6SsnjAuthor: Keith Packard <keithp@keithp.com> 9176a3641a6SsnjDate: Sat Sep 20 10:02:05 2014 -0700 9186a3641a6Ssnj 9196a3641a6Ssnj xtrans 1.3.5 9206a3641a6Ssnj 9216a3641a6Ssnj Signed-off-by: Keith Packard <keithp@keithp.com> 9226a3641a6Ssnj 9236a3641a6Ssnjcommit fb7f198c88e97d22c8c89e76e9cd06b2b2720a96 9246a3641a6SsnjAuthor: Keith Packard <keithp@keithp.com> 9256a3641a6SsnjDate: Fri Sep 12 11:27:39 2014 -0700 9266a3641a6Ssnj 9276a3641a6Ssnj Add TRANS(Listen) function to re-enable specific listen sockets 9286a3641a6Ssnj 9296a3641a6Ssnj This will allow a server to disable listeners by default and then 9306a3641a6Ssnj let later configuration re-enable them. In particular, this lets the X 9316a3641a6Ssnj server disable inet and unix listen sockets by default while still 9326a3641a6Ssnj providing a '-listen' command line option to re-enable them later on. 9336a3641a6Ssnj 9346a3641a6Ssnj Signed-off-by: Keith Packard <keithp@keithp.com> 9356a3641a6Ssnj Reviewed-by: Hans de Goede <hdegoede@redhat.com> 9366a3641a6Ssnj 9376a3641a6Ssnjcommit 17491de45c352c833442cccf17a9bd65909889db 9386a3641a6SsnjAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9396a3641a6SsnjDate: Sat Aug 23 12:28:14 2014 -0700 9406a3641a6Ssnj 9416a3641a6Ssnj Add const qualifiers to TRANS(OpenC{L,O}TS{Server,Client}) args 9426a3641a6Ssnj 9436a3641a6Ssnj Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9446a3641a6Ssnj 9456a3641a6Ssnjcommit 305d20f2ee888d1c890f902da978176b8ec58a8d 9466a3641a6SsnjAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9476a3641a6SsnjDate: Sat Aug 23 12:10:48 2014 -0700 9486a3641a6Ssnj 9496a3641a6Ssnj Add const qualifiers to TRANS(MakeAll*ServerListeners) port args 9506a3641a6Ssnj 9516a3641a6Ssnj Required also changing receive_listening_fds to specify port as const, 9526a3641a6Ssnj which we can do now that TRANS(ReopenCOTSServer) takes it as const. 9536a3641a6Ssnj 9546a3641a6Ssnj Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9556a3641a6Ssnj 9566a3641a6Ssnjcommit ba70d48951fb925fb3082d81afb08c330333aa51 9576a3641a6SsnjAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9586a3641a6SsnjDate: Sat Aug 23 11:33:57 2014 -0700 9596a3641a6Ssnj 9606a3641a6Ssnj Add const qualifiers to TRANS(Connect) args 9616a3641a6Ssnj 9626a3641a6Ssnj Also required constifying UnixHostReallyLocal, since SocketUNIXConnect 9636a3641a6Ssnj passes the host arg through to it. 9646a3641a6Ssnj 9656a3641a6Ssnj Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9666a3641a6Ssnj 9676a3641a6Ssnjcommit 63b65a20706def951dd25e531949b7bc556419eb 9686a3641a6SsnjAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9696a3641a6SsnjDate: Sat Aug 23 10:17:57 2014 -0700 9706a3641a6Ssnj 9716a3641a6Ssnj Add const qualifiers to TRANS(CreateListener) port args 9726a3641a6Ssnj 9736a3641a6Ssnj Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9746a3641a6Ssnj 9756a3641a6Ssnjcommit fd90a4e00321b22c96565cfa354b8b0efa376979 9766a3641a6SsnjAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9776a3641a6SsnjDate: Sat Aug 23 10:07:22 2014 -0700 9786a3641a6Ssnj 9796a3641a6Ssnj Add const qualifiers to TRANS(Reopen...) port args 9806a3641a6Ssnj 9816a3641a6Ssnj Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9826a3641a6Ssnj 9836a3641a6Ssnjcommit a56ec9d720a7964bada837790e9c1f6ceef97861 9846a3641a6SsnjAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9856a3641a6SsnjDate: Sat Aug 23 09:58:05 2014 -0700 9866a3641a6Ssnj 9876a3641a6Ssnj Add const qualifiers to TRANS(Open...) address args 9886a3641a6Ssnj 9896a3641a6Ssnj Required also adding const to static TRANS(ParseAddress) function which 9906a3641a6Ssnj they pass the address arg to for parsing. 9916a3641a6Ssnj 9926a3641a6Ssnj Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9936a3641a6Ssnj 9946a3641a6Ssnjcommit 30b3fd74a27c80993e81dfcb33e33520ae8684fb 9956a3641a6SsnjAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9966a3641a6SsnjDate: Sat Aug 23 12:46:44 2014 -0700 9976a3641a6Ssnj 9986a3641a6Ssnj Update docs to note that TransName is now const char * 9996a3641a6Ssnj 10006a3641a6Ssnj Missed when the code was updated in commit eb9a8904fbef61a57ff0. 10016a3641a6Ssnj 10026a3641a6Ssnj Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10036a3641a6Ssnj 10048a0d9095Smrgcommit a57a7f62242e1ea972b81414741729bf3dbae0a4 10058a0d9095SmrgAuthor: Hans de Goede <hdegoede@redhat.com> 10068a0d9095SmrgDate: Mon Mar 31 12:37:43 2014 +0200 10078a0d9095Smrg 10088a0d9095Smrg xtrans 1.3.4 10098a0d9095Smrg 10108a0d9095Smrg Signed-off-by: Hans de Goede <hdegoede@redhat.com> 10118a0d9095Smrg 10128a0d9095Smrgcommit 1cd9cbe9b404e6c3e73dc0239d11547a5e2c02c4 10138a0d9095SmrgAuthor: Mark Kettenis <kettenis@openbsd.org> 10148a0d9095SmrgDate: Sat Mar 29 23:51:49 2014 +0100 10158a0d9095Smrg 10168a0d9095Smrg Increase UNIX socket buffer size 10178a0d9095Smrg 10188a0d9095Smrg Some systems provide a really small default buffer size for UNIX sockets. 10198a0d9095Smrg Bump it up to 64k if necessary such that large transfers (such as 10208a0d9095Smrg XGetImage() on a 8-megapixel image) don't take tens of seconds. 10218a0d9095Smrg 10228a0d9095Smrg Signed-off-by: Hans de Goede <hdegoede@redhat.com> 10238a0d9095Smrg 10248a0d9095Smrgcommit 68f60238c4224f954ff6556ae778c72e420175f0 10258a0d9095SmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 10268a0d9095SmrgDate: Wed Mar 26 13:21:49 2014 +0100 10278a0d9095Smrg 10288a0d9095Smrg Add missing headers for free() and strlen(). 10298a0d9095Smrg 10308a0d9095Smrg Reviewed-by: Mark Kettenis <kettenis@openbsd.org> 10318a0d9095Smrg Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 10328a0d9095Smrg 10338a0d9095Smrgcommit 34463baacb3cafc096e0e0859bc10d6868cb2299 10348a0d9095SmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 10358a0d9095SmrgDate: Wed Mar 26 13:21:23 2014 +0100 10368a0d9095Smrg 10378a0d9095Smrg Cast ctype(3) function arguments to unsigned char. 10388a0d9095Smrg 10398a0d9095Smrg Fixes warnings on at least NetBSD. 10408a0d9095Smrg 10418a0d9095Smrg Reviewed-by: Mark Kettenis <kettenis@openbsd.org> 10428a0d9095Smrg Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 10438a0d9095Smrg 10448a0d9095Smrgcommit f20a9bb2ea25408ce9f1166b3b6e48759960fe86 10458a0d9095SmrgAuthor: Hans de Goede <hdegoede@redhat.com> 10468a0d9095SmrgDate: Mon Mar 3 08:42:45 2014 +0100 10478a0d9095Smrg 10488a0d9095Smrg configure: Also add -D_DEFAULT_SOURCE to .pc cflags to shut up glibc warnings 10498a0d9095Smrg 10508a0d9095Smrg The latest glibc considers _BSD_SOURCE deprecated, leading to the following 10518a0d9095Smrg warning being issued for pretty much every C-file in the xserver: 10528a0d9095Smrg 10538a0d9095Smrg In file included from /usr/include/stdint.h:25:0, 10548a0d9095Smrg from /usr/lib/gcc/x86_64-redhat-linux/4.8.2/include/stdint.h:9, 10558a0d9095Smrg from ../include/misc.h:81, 10568a0d9095Smrg from miexpose.c:82: 10578a0d9095Smrg /usr/include/features.h:145:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 10588a0d9095Smrg # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" 10598a0d9095Smrg ^ 10608a0d9095Smrg 10618a0d9095Smrg I've discussed this with the glibc developers and the prefered way of fixing 10628a0d9095Smrg this is by also defining _DEFAULT_SOURCE which is the new way of stating 10638a0d9095Smrg _BSD_SOURCE / _SVID_SOURCE . 10648a0d9095Smrg 10658a0d9095Smrg Signed-off-by: Hans de Goede <hdegoede@redhat.com> 10668a0d9095Smrg Reviewed-by: Mark Kettenis <kettenis@openbsd.org> 10678a0d9095Smrg Tested-by: Kristian Høgsberg <krh@bitplanet.net> 10688a0d9095Smrg Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> 10698a0d9095Smrg 107075ebec6dSmrgcommit 3f0de269abe59353acbd7a5587d68ce0da91db67 107175ebec6dSmrgAuthor: Hans de Goede <hdegoede@redhat.com> 107275ebec6dSmrgDate: Thu Jan 23 11:47:25 2014 +0100 107375ebec6dSmrg 107475ebec6dSmrg xtrans 1.3.3 107575ebec6dSmrg 107675ebec6dSmrg Signed-off-by: Hans de Goede <hdegoede@redhat.com> 107775ebec6dSmrg 107875ebec6dSmrgcommit 8f3bbed42c308f9c90293f23b7eaceff006aa232 107975ebec6dSmrgAuthor: Jon TURNEY <jon.turney@dronecode.org.uk> 108075ebec6dSmrgDate: Wed Jul 10 16:29:12 2013 +0100 108175ebec6dSmrg 108275ebec6dSmrg Add TransIsListening() 108375ebec6dSmrg 108475ebec6dSmrg libxtrans provides TransNoListen() to set the 'don't listen' flag for a 108575ebec6dSmrg particular transport, but there is no interface to query the state of that flag 108675ebec6dSmrg 108775ebec6dSmrg This is a bit of a problem for the XWin server, as it wants to start some helper 108875ebec6dSmrg clients (for clipboard integration and integrated window management), so needs 108975ebec6dSmrg to know what transports the server is listening on to construct appropriate 109075ebec6dSmrg display names for those clients. 109175ebec6dSmrg 109275ebec6dSmrg Add TransIsListening() to discover if TransNoListen() has been called for a 109375ebec6dSmrg particular protocol or not 109475ebec6dSmrg 109575ebec6dSmrg HdG: 109675ebec6dSmrg -Invert the final check so that TransIsListening returns True when 109775ebec6dSmrg TRANS_NOLISTEN is not set, as one would expect of it. 109875ebec6dSmrg -Make the protocol argument a const char * as similar functions do 109975ebec6dSmrg -Fix "warning: too many arguments for format" warning 110075ebec6dSmrg 110175ebec6dSmrg Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 110275ebec6dSmrg Signed-off-by: Hans de Goede <hdegoede@redhat.com> 110375ebec6dSmrg 110475ebec6dSmrgcommit e1e6121a1638d43d9929589b4723da2b38cb6b44 110547a4502cSmrgAuthor: Łukasz Stelmach <l.stelmach@samsung.com> 110675ebec6dSmrgDate: Mon Nov 25 11:11:54 2013 +0100 110775ebec6dSmrg 110875ebec6dSmrg Enable systemd socket activation 110975ebec6dSmrg 111075ebec6dSmrg Receive file descriptors of open sockets from systemd instead of 111175ebec6dSmrg creating them. 111275ebec6dSmrg 111375ebec6dSmrg Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com> 111475ebec6dSmrg Cc: Kyungmin Park <kyungmin.park@samsung.com> 111575ebec6dSmrg Cc: MyungJoo Ham <myungjoo.ham@samsung.com> 111675ebec6dSmrg Cc: Piort Bereza <p.bereza@samsung.com> 111775ebec6dSmrg Cc: Karol Lewandowski <k.lewandowsk@samsung.com> 111875ebec6dSmrg Cc: Lennart Poettering <lennart@poettering.net> 111975ebec6dSmrg Cc: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> 112075ebec6dSmrg Cc: Peter Hutterer <peter.hutterer@who-t.net> 112175ebec6dSmrg Cc: walter harms <wharms@bfs.de> 112275ebec6dSmrg Signed-off-by: Hans de Goede <hdegoede@redhat.com> 112375ebec6dSmrg Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 112475ebec6dSmrg 112575ebec6dSmrgcommit b895d45e225dd3d1bf9d598774d3ae4f29fcbc25 112647a4502cSmrgAuthor: Łukasz Stelmach <l.stelmach@samsung.com> 112775ebec6dSmrgDate: Thu Nov 28 12:57:21 2013 +0100 112875ebec6dSmrg 112975ebec6dSmrg Define TRANS_RECEIVED flag for transports 113075ebec6dSmrg 113175ebec6dSmrg The flag is to be used to mark transports related to sockets 113275ebec6dSmrg received from systemd. 113375ebec6dSmrg 113475ebec6dSmrg Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com> 113575ebec6dSmrg Signed-off-by: Hans de Goede <hdegoede@redhat.com> 113675ebec6dSmrg Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 113775ebec6dSmrg 113875ebec6dSmrgcommit 2c0a7840a28ae696e80e73157856d7a049fdf6c7 113975ebec6dSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 114075ebec6dSmrgDate: Sun Dec 15 19:49:59 2013 -0500 114175ebec6dSmrg 114275ebec6dSmrg xtrans.m4: remove AC_TYPE_SIGNAL and Imake SIGNALRETURNSINT 114375ebec6dSmrg 114475ebec6dSmrg Assume signal handlers return void, as C89 requires 114575ebec6dSmrg 114675ebec6dSmrg Drops use of autoconf's obsolete AC_TYPE_SIGNAL and Imake's even more 114775ebec6dSmrg obsolete SIGNALRETURNSINT. 114875ebec6dSmrg 114975ebec6dSmrg None of the modules including xtrans.m4 uses RETSIGTYPE from autoconf. 115075ebec6dSmrg 115175ebec6dSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 115275ebec6dSmrg 115375ebec6dSmrgcommit 87547e43189301e3dd42feb9d7ff32a75d0e727f 115475ebec6dSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 115575ebec6dSmrgDate: Sun Dec 15 16:11:00 2013 -0500 115675ebec6dSmrg 115775ebec6dSmrg xtrans.m4: replace deprecated AC_HAVE_LIBRARY with AC_CHECK_LIB 115875ebec6dSmrg 115975ebec6dSmrg The #define HAVE_LIBWS2_32 is still done and the lib ws2_32 is 116075ebec6dSmrg prepended to LIBS if found. 116175ebec6dSmrg 116275ebec6dSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 116375ebec6dSmrg 116475ebec6dSmrgcommit 88433eb1abe887000d34315c2f55aa42fcddfdee 116575ebec6dSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 116675ebec6dSmrgDate: Sun Dec 15 15:36:48 2013 -0500 116775ebec6dSmrg 116875ebec6dSmrg xtrans.m4: fix warning by replacing obsolete AC_HELP_STRING 116975ebec6dSmrg 117075ebec6dSmrg with AS_HELP_STRING 117175ebec6dSmrg 117275ebec6dSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 117375ebec6dSmrg 117475ebec6dSmrgcommit 9487701904b71985549f60c9d8bc5df48682b55a 117575ebec6dSmrgAuthor: Mark Kettenis <kettenis@openbsd.org> 117675ebec6dSmrgDate: Thu Nov 21 11:55:17 2013 +0100 117775ebec6dSmrg 117875ebec6dSmrg Don't restrict FD passing to Linux & Solaris 117975ebec6dSmrg 118075ebec6dSmrg Signed-off-by: Mark Kettenis <kettenis@openbsd.org> 118175ebec6dSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 118275ebec6dSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 118375ebec6dSmrg 118475ebec6dSmrgcommit 8b2c8aabe27bcaa4de6432b53c4a1296010ea823 118575ebec6dSmrgAuthor: Mark Kettenis <kettenis@openbsd.org> 118675ebec6dSmrgDate: Mon Nov 11 23:18:01 2013 +0100 118775ebec6dSmrg 118875ebec6dSmrg Fix alignment issues in FD passing code 118975ebec6dSmrg 119075ebec6dSmrg A char array on the stack is not guaranteed to have more than byte 119175ebec6dSmrg alignment. This means that casting it to a 'struct cmsghdr' and 119275ebec6dSmrg accessing its members may result in unaligned access. This will 119375ebec6dSmrg generate SIGBUS on strict alignment architectures like OpenBSD/sparc64. 119475ebec6dSmrg The solution is to use a union to force proper alignment. 119575ebec6dSmrg 119675ebec6dSmrg Signed-off-by: Mark Kettenis <kettenis@openbsd.org> 119775ebec6dSmrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 119875ebec6dSmrg 119975ebec6dSmrgcommit 81662d2018a35a161a5e9707563ee7f503f8d3e0 120075ebec6dSmrgAuthor: Mark Kettenis <kettenis@openbsd.org> 120175ebec6dSmrgDate: Mon Nov 11 23:16:15 2013 +0100 120275ebec6dSmrg 120375ebec6dSmrg Remove unused static inlines 120475ebec6dSmrg 120575ebec6dSmrg Signed-off-by: Mark Kettenis <kettenis@openbsd.org> 120675ebec6dSmrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 120775ebec6dSmrg 120875ebec6dSmrgcommit 0153d1670e4a1883e1bb6dd971435d6268eac5ba 120975ebec6dSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 121075ebec6dSmrgDate: Thu Nov 7 20:16:53 2013 -0800 121175ebec6dSmrg 121275ebec6dSmrg xtrans 1.3.2 121375ebec6dSmrg 121475ebec6dSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 121575ebec6dSmrg 121675ebec6dSmrgcommit 426049c30162ed620cc16bb58edef6aac4e2ee5d 121775ebec6dSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 121875ebec6dSmrgDate: Thu Nov 7 19:17:44 2013 -0800 121975ebec6dSmrg 122075ebec6dSmrg Allow XTRANS_SEND_FDS on Solaris as well 122175ebec6dSmrg 122275ebec6dSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 122375ebec6dSmrg 122475ebec6dSmrgcommit 76b4f4430f9a857a1b54bfde9ef57a95b87789f5 122575ebec6dSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 122675ebec6dSmrgDate: Wed Nov 6 22:34:03 2013 -0800 122775ebec6dSmrg 122875ebec6dSmrg Check if we need to define _XOPEN_SOURCE for struct msghdr.msg_control 122975ebec6dSmrg 123075ebec6dSmrg Required to expose the structure members in Solaris headers, since it 123175ebec6dSmrg was an XPG4/UNIX95 addition to the Solaris ABI. 123275ebec6dSmrg 123375ebec6dSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 123475ebec6dSmrg 123575ebec6dSmrgcommit 32070a64ba99fb89ec039e26444b1e026d6a978e 123675ebec6dSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 123775ebec6dSmrgDate: Wed Nov 6 21:52:21 2013 -0800 123875ebec6dSmrg 123975ebec6dSmrg Add stubs for send/recv fd functions in local transports 124075ebec6dSmrg 124175ebec6dSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 124275ebec6dSmrg 124375ebec6dSmrgcommit 08bf85958fab64951a9ba9e27dcb6b8eb818cc7e 124475ebec6dSmrgAuthor: Keith Packard <keithp@keithp.com> 124575ebec6dSmrgDate: Thu Nov 7 18:04:30 2013 -0800 124675ebec6dSmrg 124775ebec6dSmrg Switch to CMSG_* macros for FD passing 124875ebec6dSmrg 124975ebec6dSmrg This should be portable to non-Linux systems 125075ebec6dSmrg 125175ebec6dSmrg Signed-off-by: Keith Packard <keithp@keithp.com> 125275ebec6dSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 125375ebec6dSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 125475ebec6dSmrg 125575ebec6dSmrgcommit 6b54b5cf8086f127aa87096e2bdd2263d1c81683 125675ebec6dSmrgAuthor: Keith Packard <keithp@keithp.com> 125775ebec6dSmrgDate: Thu Nov 7 03:49:05 2013 -0800 125875ebec6dSmrg 125975ebec6dSmrg Actually disable all of the FD passing code unless XTRANS_SEND_FDS is set 126075ebec6dSmrg 126175ebec6dSmrg Stick all of the functions relating to FD passing inside 126275ebec6dSmrg 126375ebec6dSmrg Signed-off-by: Keith Packard <keithp@keithp.com> 126475ebec6dSmrg 126575ebec6dSmrgcommit f3709f3e0b883a0b4956313f89fa931e9264c346 126675ebec6dSmrgAuthor: Keith Packard <keithp@keithp.com> 126775ebec6dSmrgDate: Wed Nov 6 23:16:11 2013 -0800 126875ebec6dSmrg 126975ebec6dSmrg Update to version 1.3.1 127075ebec6dSmrg 127175ebec6dSmrg Signed-off-by: Keith Packard <keithp@keithp.com> 127275ebec6dSmrg 127375ebec6dSmrgcommit 074614940c570524e1446f55fc12a64415057e1f 127475ebec6dSmrgAuthor: Mark Kettenis <kettenis@openbsd.org> 127575ebec6dSmrgDate: Wed Nov 6 23:13:28 2013 -0800 127675ebec6dSmrg 127775ebec6dSmrg Don't include file descriptor passing code by default 127875ebec6dSmrg 127975ebec6dSmrg Leave it up to the consumer to request this functionality by defining 128075ebec6dSmrg XTRANS_SEND_FDS. 128175ebec6dSmrg 128275ebec6dSmrg Signed-off-by: Mark Kettenis <kettenis@openbsd.org> 128375ebec6dSmrg Reviewed-by: Keith Packard <keithp@keithp.com> 128475ebec6dSmrg Signed-off-by: Keith Packard <keithp@keithp.com> 128575ebec6dSmrg 128675ebec6dSmrg v2 - make sure this is only defined on systems where the code actually 128775ebec6dSmrg works (Linux for now) 128875ebec6dSmrg 128975ebec6dSmrgcommit a7094c389ac9fd5ca265996f76eb55cb1133974b 129075ebec6dSmrgAuthor: Keith Packard <keithp@keithp.com> 129175ebec6dSmrgDate: Sat Nov 2 19:23:41 2013 -0700 129275ebec6dSmrg 129375ebec6dSmrg Add SEND_FDS version of Readv 129475ebec6dSmrg 129575ebec6dSmrg Now that we've found that libFS uses readv, we can test whether this 129675ebec6dSmrg readv implementation works correctly. 129775ebec6dSmrg 129875ebec6dSmrg Signed-off-by: Keith Packard <keithp@keithp.com> 129975ebec6dSmrg 130075ebec6dSmrgcommit 58151f63553faf81babd1371770b7a7f33cecac1 130175ebec6dSmrgAuthor: Keith Packard <keithp@keithp.com> 130275ebec6dSmrgDate: Sat Nov 2 19:10:11 2013 -0700 130375ebec6dSmrg 130475ebec6dSmrg Revert "Remove 'Readv' interface" 130575ebec6dSmrg 130675ebec6dSmrg This reverts commit 9e8d99c2e27f2c8acbbfb5b760649aa1bfad665e. 130775ebec6dSmrg 130875ebec6dSmrg libFS still uses this API... 130975ebec6dSmrg 131075ebec6dSmrgcommit 1fb0fd555a16dd8fce4abc6d3fd22b315f46762a 131175ebec6dSmrgAuthor: Keith Packard <keithp@keithp.com> 131275ebec6dSmrgDate: Thu Oct 31 17:21:53 2013 -0700 131375ebec6dSmrg 131475ebec6dSmrg Update to version 1.3.0 131575ebec6dSmrg 131675ebec6dSmrg Adds FD passing interfaces and pulls in current patches past 1.2.7 131775ebec6dSmrg 131875ebec6dSmrg Signed-off-by: Keith Packard <keithp@keithp.com> 131975ebec6dSmrg 132075ebec6dSmrgcommit adf920aa25c1709998c7c9276927061bd58e2dfc 132175ebec6dSmrgAuthor: Keith Packard <keithp@keithp.com> 132275ebec6dSmrgDate: Tue Jan 8 16:47:05 2013 -0800 132375ebec6dSmrg 132475ebec6dSmrg Add APIs to send file descriptors through the network 132575ebec6dSmrg 132675ebec6dSmrg Exposes new TRANS(SendFd)/TRANS(RecvFd) APIs. 132775ebec6dSmrg 132875ebec6dSmrg Signed-off-by: Keith Packard <keithp@keithp.com> 132975ebec6dSmrg 133075ebec6dSmrgcommit 9e8d99c2e27f2c8acbbfb5b760649aa1bfad665e 133175ebec6dSmrgAuthor: Keith Packard <keithp@keithp.com> 133275ebec6dSmrgDate: Fri Jan 18 16:47:30 2013 -0800 133375ebec6dSmrg 133475ebec6dSmrg Remove 'Readv' interface 133575ebec6dSmrg 133675ebec6dSmrg No-one uses this, so there's no reason for it to be in the library 133775ebec6dSmrg 133875ebec6dSmrg Signed-off-by: Keith Packard <keithp@keithp.com> 133975ebec6dSmrg 134075ebec6dSmrgcommit f6a161f2a003f4da0a2e414b4faa0ee0de0c01f0 134147a4502cSmrgAuthor: Łukasz Stelmach <l.stelmach@samsung.com> 134275ebec6dSmrgDate: Tue Jul 9 16:24:43 2013 +0200 134375ebec6dSmrg 134475ebec6dSmrg Add const qualifier to unix_nolisten 134575ebec6dSmrg 134675ebec6dSmrg Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com> 134775ebec6dSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 134875ebec6dSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 134975ebec6dSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 135075ebec6dSmrg 135175ebec6dSmrgcommit bd53f4c8543faf910a7a151241ee07661b4d57ad 135275ebec6dSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 135375ebec6dSmrgDate: Sun Jan 27 22:11:40 2013 -0800 135475ebec6dSmrg 135575ebec6dSmrg Docs: Drop pre-C89 TRANS() from docs since it's no longer in the headers 135675ebec6dSmrg 135775ebec6dSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 135875ebec6dSmrg 135975ebec6dSmrgcommit 3c4e0455425d5afd546c4a3f2cc9f8c7e60f2fca 136075ebec6dSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 136175ebec6dSmrgDate: Sun Jan 27 21:39:34 2013 -0800 136275ebec6dSmrg 136375ebec6dSmrg Docs: convert function synopses to docbook funcsynopsis markup 136475ebec6dSmrg 136575ebec6dSmrg Also add some cross-reference links and various other markup improvements. 136675ebec6dSmrg 136775ebec6dSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 136875ebec6dSmrg 136975ebec6dSmrgcommit d9f3728ff74ceb956f6cf8dc24b38611f9a4868a 137075ebec6dSmrgAuthor: Colin Walters <walters@verbum.org> 137175ebec6dSmrgDate: Wed Jan 4 17:37:06 2012 -0500 137275ebec6dSmrg 137375ebec6dSmrg autogen.sh: Implement GNOME Build API 137475ebec6dSmrg 137575ebec6dSmrg http://people.gnome.org/~walters/docs/build-api.txt 137675ebec6dSmrg 137775ebec6dSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 137875ebec6dSmrg 137975ebec6dSmrgcommit 575e1e901ca842ba8ff7417f48175fb6a8d70859 138075ebec6dSmrgAuthor: Adam Jackson <ajax@redhat.com> 138175ebec6dSmrgDate: Tue Jan 15 14:28:48 2013 -0500 138275ebec6dSmrg 138375ebec6dSmrg configure: Remove AM_MAINTAINER_MODE 138475ebec6dSmrg 138575ebec6dSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 138675ebec6dSmrg 138775ebec6dSmrgcommit ec3136232f7ce930f9ca812b6ab42a71b60af4af 138875ebec6dSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 138975ebec6dSmrgDate: Wed Dec 26 19:08:16 2012 -0800 139075ebec6dSmrg 139175ebec6dSmrg Remove unused TLI ("STREAMSCONN") code from xtrans 139275ebec6dSmrg 139375ebec6dSmrg Has never been converted to build in modular builds, so has been unusable 139475ebec6dSmrg since X11R7.0 release in 2005. All known platforms with TLI/XTI support 139575ebec6dSmrg that X11R7 & later releases run on also have (and mostly prefer) BSD 139675ebec6dSmrg socket support for their networking API. 139775ebec6dSmrg 139875ebec6dSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 139975ebec6dSmrg 1400fe567363Smrgcommit 8ce5ecd33b05becc054dbd07f87e385165b6c979 1401fe567363SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1402fe567363SmrgDate: Thu Mar 22 20:04:07 2012 -0700 1403fe567363Smrg 1404fe567363Smrg xtrans 1.2.7 1405fe567363Smrg 1406fe567363Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1407fe567363Smrg 1408fe567363Smrgcommit f8eea0bf256de59602790b6a7c7877b31520440f 1409fe567363SmrgAuthor: Matt Dew <marcoz@osource.org> 1410fe567363SmrgDate: Wed Jan 11 22:23:32 2012 -0700 1411fe567363Smrg 1412fe567363Smrg informaltable cleanup 1413fe567363Smrg 1414fe567363Smrg On certain tables, add top and bottom borders to table 1415fe567363Smrg header and a bottom border to the table. This matches 1416fe567363Smrg what those tables in the old pdfs looked like. 1417fe567363Smrg 1418fe567363Smrg the <?dbfo keep-together='always'> prevents tables from 1419fe567363Smrg splitting across pages. Useful for tiny tables. 1420fe567363Smrg 1421fe567363Smrg Converting the colwidth to a floating point, 1422fe567363Smrg IE, 1* -> 1.0* cleans up these build errors: 1423fe567363Smrg WARNING: table-layout="fixed" and column-width unspecified 1424fe567363Smrg => falling back to proportional-column-width(1) 1425fe567363Smrg 1426fe567363Smrg Signed-off-by: Matt Dew <marcoz@osource.org> 1427fe567363Smrg 1428fe567363Smrgcommit 6086f6c1d0e0a1c9e590879acb2319dea0eb6e96 1429fe567363SmrgAuthor: Robert Bragg <robert@linux.intel.com> 1430fe567363SmrgDate: Mon Dec 12 00:30:43 2011 +0000 1431fe567363Smrg 1432fe567363Smrg Xtranssock.c: avoid buffer overrun in SocketReopen 1433fe567363Smrg 1434fe567363Smrg This function was constructing an address from a port string allocating 1435fe567363Smrg a buffer according to the size of the string but then later copying 1436fe567363Smrg the address according to sizeof(struct sockaddr). 1437fe567363Smrg 1438fe567363Smrg This patch ensures that we allocate a struct sockaddr buffer with enough 1439fe567363Smrg space for the port string to be copied into sa_data[] and uses that 1440fe567363Smrg combined length to determine how much should be copied at the end of the 1441fe567363Smrg function. 1442fe567363Smrg 1443fe567363Smrg This fixes a crash when using xwayland which uses ListenOnOpenFD() that 1444fe567363Smrg will call _XSERVTransReopenCOTSServer() with a short port string like 1445fe567363Smrg ":1". 1446fe567363Smrg 1447fe567363Smrg Signed-off-by: Robert Bragg <robert@linux.intel.com> 1448fe567363Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1449fe567363Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1450fe567363Smrg 1451fe567363Smrgcommit a04a45cb94f7f569e6dd77df93258fa167d0a4ea 1452fe567363SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1453fe567363SmrgDate: Wed Nov 30 18:40:46 2011 -0800 1454fe567363Smrg 1455fe567363Smrg Remove unnecessary casts on malloc, calloc & free calls 1456fe567363Smrg 1457fe567363Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1458fe567363Smrg Reviewed-by: Mark Kettenis <kettenis@openbsd.org> 1459fe567363Smrg 1460fe567363Smrgcommit a0bfb4fefd20b396e3d88eff0c60602fc436dad5 1461fe567363SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1462fe567363SmrgDate: Wed Nov 30 18:11:15 2011 -0800 1463fe567363Smrg 1464fe567363Smrg Replace malloc(strlen)+strcpy with strdup 1465fe567363Smrg 1466fe567363Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1467fe567363Smrg Reviewed-by: Mark Kettenis <kettenis@openbsd.org> 1468fe567363Smrg 1469fe567363Smrgcommit b89e1b45198c48996750b5da3d715c10f974243f 1470fe567363SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1471fe567363SmrgDate: Wed Nov 30 18:05:05 2011 -0800 1472fe567363Smrg 1473fe567363Smrg Finish conversion to standard C allocation functions 1474fe567363Smrg 1475fe567363Smrg Commit 4ac40cd5451 started this, by no longer special casing the 1476fe567363Smrg xserver to include it's former custom allocation functions, this 1477fe567363Smrg just takes the remaining #defines and pre-substitutes them into 1478fe567363Smrg the code. 1479fe567363Smrg 1480fe567363Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1481fe567363Smrg 1482fe567363Smrgcommit ff992be7b05483f9a0586a27ee0edb6d99580b84 1483fe567363SmrgAuthor: Alan Hourihane <alanh@fairlite.co.uk> 1484fe567363SmrgDate: Thu Dec 1 12:04:22 2011 +0000 1485fe567363Smrg 1486fe567363Smrg Fix some resource & memory leaks in libxtrans. 1487fe567363Smrg 1488fe567363Smrg Signed-off-by: Alan Hourihane <alanh@vmware.com> 1489fe567363Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1490fe567363Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1491fe567363Smrg 1492fe567363Smrgcommit 29c9e101f7ad72556aa6b3dbc17d66a1ace9b2b1 1493fe567363SmrgAuthor: Matt Dew <marcoz@osource.org> 1494fe567363SmrgDate: Tue Oct 4 21:59:50 2011 -0600 1495fe567363Smrg 1496fe567363Smrg Cleanup IDs and links in doc 1497fe567363Smrg 1498fe567363Smrg 1 - fix the capitalization of the ID attributes to match either the 1499fe567363Smrg <title> or <funcdef> string it goes with. 1500fe567363Smrg 2 - fix any <linkend>'s that were affected by 1. 1501fe567363Smrg 3 - any <function> in the docs that has an actual funcdef, 1502fe567363Smrg will become an olink. 1503fe567363Smrg 1504fe567363Smrg Signed-off-by: Matt Dew <marcoz@osource.org> 1505fe567363Smrg 1506fe567363Smrgcommit 0f942e5f015cb3270e6f2e17c308bee894cb5fe3 1507fe567363SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1508fe567363SmrgDate: Sun Sep 25 11:39:13 2011 -0700 1509fe567363Smrg 1510fe567363Smrg Convert a bunch of sprintf calls to snprintf 1511fe567363Smrg 1512fe567363Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1513fe567363Smrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 1514fe567363Smrg 1515fe567363Smrgcommit eb9a8904fbef61a57ff01c90627ead57055ed62b 1516fe567363SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1517fe567363SmrgDate: Sun Sep 25 11:18:26 2011 -0700 1518fe567363Smrg 1519fe567363Smrg Add const attributes to fix gcc -Wwrite-strings warnings 1520fe567363Smrg 1521fe567363Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1522fe567363Smrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 1523fe567363Smrg 1524fe567363Smrgcommit 4e610d4bbcf29cca9dc5dbad29ca820996aaa8c7 1525fe567363SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1526fe567363SmrgDate: Sun Sep 25 10:59:45 2011 -0700 1527fe567363Smrg 1528fe567363Smrg Fix warning: unused variable 'tmpport' with various configurations 1529fe567363Smrg 1530fe567363Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1531fe567363Smrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 1532fe567363Smrg 1533fe567363Smrgcommit a74c5d915c3095059356f83d1b845192e5c472c2 1534fe567363SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1535fe567363SmrgDate: Sun Sep 25 10:57:00 2011 -0700 1536fe567363Smrg 1537fe567363Smrg Add _X_UNUSED attributes to silence unused parameter warnings 1538fe567363Smrg 1539fe567363Smrg Not all the transport variants use all the arguments to every function, 1540fe567363Smrg but as long as one transport type needs it, they all get the args passed. 1541fe567363Smrg 1542fe567363Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1543fe567363Smrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 1544fe567363Smrg 1545fe567363Smrgcommit 64f765de138cb9b757df315469b3136d32222ea2 1546fe567363SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1547fe567363SmrgDate: Sat Sep 24 00:04:40 2011 -0700 1548fe567363Smrg 1549fe567363Smrg Mark __xtransname strings for debug messages as const char * 1550fe567363Smrg 1551fe567363Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1552fe567363Smrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 1553fe567363Smrg 1554fe567363Smrgcommit ea921932dae7049b231bead7f8f3f088d7beaf9e 1555fe567363SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1556fe567363SmrgDate: Fri Sep 23 23:03:09 2011 -0700 1557fe567363Smrg 1558fe567363Smrg Fix unused variable warnings 1559fe567363Smrg 1560fe567363Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1561fe567363Smrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 1562fe567363Smrg 1563fe567363Smrgcommit c1968d10f97d62ac05d698822c2688151f70a9eb 1564fe567363SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1565fe567363SmrgDate: Fri Sep 23 22:59:11 2011 -0700 1566fe567363Smrg 1567fe567363Smrg Fix warning: ISO C90 forbids mixed declarations and code 1568fe567363Smrg 1569fe567363Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1570fe567363Smrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 1571fe567363Smrg 1572fe567363Smrgcommit 225c45b3accab56fab361104a3d14b80f6cec954 1573fe567363SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1574fe567363SmrgDate: Fri Sep 23 22:57:56 2011 -0700 1575fe567363Smrg 1576fe567363Smrg Fix printf format string warnings 1577fe567363Smrg 1578fe567363Smrg Now that prmsg lets arguments types actually be checked, fix 1579fe567363Smrg the warnings found. 1580fe567363Smrg 1581fe567363Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1582fe567363Smrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 1583fe567363Smrg 1584fe567363Smrgcommit b1b69ce8e8e4fe0f190c8bd85b537309e71055c8 1585fe567363SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1586fe567363SmrgDate: Fri Sep 23 22:35:03 2011 -0700 1587fe567363Smrg 1588fe567363Smrg Convert PRMSG macro to prmsg inline function 1589fe567363Smrg 1590fe567363Smrg Allows using varargs to have the correct number of arguments passed to 1591fe567363Smrg get rid of the many gcc warnings about variable printf format strings, 1592fe567363Smrg and to reduce the duplication from having 5 implementations of the 1593fe567363Smrg PRMSG macro depending on the debug options defined & output method used. 1594fe567363Smrg 1595fe567363Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1596fe567363Smrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 1597fe567363Smrg 1598fe567363Smrgcommit cbdb434033da1725a69014cc6e4d89c691a6fd95 1599fe567363SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1600fe567363SmrgDate: Sat Sep 24 07:43:07 2011 -0700 1601fe567363Smrg 1602fe567363Smrg Fix warnings about static functions declared but never defined 1603fe567363Smrg 1604fe567363Smrg Add #define XTRANS_TRANSPORT_C to transport.c and check for it 1605fe567363Smrg before making static function declarations and other bits needed 1606fe567363Smrg only when compiling the Xtrans code itself, not from other sources 1607fe567363Smrg that include the Xtransint.h header for the struct definitions. 1608fe567363Smrg 1609fe567363Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1610fe567363Smrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 1611fe567363Smrg 1612fe567363Smrgcommit cf39d738086b0a7c668fb3720d64de8d711a1a97 1613fe567363SmrgAuthor: Arvind Umrao <arvind.umrao@oracle.com> 1614fe567363SmrgDate: Tue Sep 20 22:56:52 2011 +0530 1615fe567363Smrg 1616fe567363Smrg Removing SUN specific code, let solaris create .X11-pipe with sticky bit on 1617fe567363Smrg 1618fe567363Smrg 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 1619fe567363Smrg 1620fe567363Smrg Signed-off-by: Arvind Umrao <arvind.umrao@oracle.com> 1621fe567363Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1622fe567363Smrg 1623fe567363Smrgcommit a477713b89686480cf59a9c75c0aaeeba2386d0a 1624fe567363SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1625fe567363SmrgDate: Tue Sep 20 18:56:47 2011 -0400 1626fe567363Smrg 1627fe567363Smrg specs: regroup <author> <editor> <othercredit> under authorgroup 1628fe567363Smrg 1629fe567363Smrg Some elements are not displayed when outside authorgroup 1630fe567363Smrg 1631fe567363Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1632fe567363Smrg 1633fe567363Smrgcommit 1ad48fb9bc18d0c7a8fbec1d2cd232877e945047 1634fe567363SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1635fe567363SmrgDate: Tue Sep 20 15:47:09 2011 -0400 1636fe567363Smrg 1637fe567363Smrg specs: refactor copyright legal text for multi licensing 1638fe567363Smrg 1639fe567363Smrg we can use <copyright> markup for the first holder 1640fe567363Smrg 1641fe567363Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1642fe567363Smrg 1643fe567363Smrgcommit bd93bf86fd914a9cc54e2bedec5b063e5a38b732 1644fe567363SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1645fe567363SmrgDate: Mon Sep 19 10:58:40 2011 -0400 1646fe567363Smrg 1647fe567363Smrg doc: support multi licensed copyright notice and license text 1648fe567363Smrg 1649fe567363Smrg For documentation having multiple licenses, the copyright and legalnotice 1650fe567363Smrg elements sequence cannot instantiated multiple times. 1651fe567363Smrg The copyright notice and license text are therefore coded inside a 1652fe567363Smrg legalnotice element. The role attribute on the paragraph is used to allow 1653fe567363Smrg styling of the copyright notice text which should not be italicized. 1654fe567363Smrg 1655fe567363Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1656fe567363Smrg 1657fe567363Smrgcommit eb9ec458b7fb5332f7ae7b8faf59443a9075ec60 1658fe567363SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1659fe567363SmrgDate: Fri Sep 16 22:54:41 2011 -0700 1660fe567363Smrg 1661fe567363Smrg Strip trailing whitespace 1662fe567363Smrg 1663fe567363Smrg Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' 1664fe567363Smrg git diff -w & git diff -b show no diffs from this change 1665fe567363Smrg 1666fe567363Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1667fe567363Smrg 1668fe567363Smrgcommit 36174eb06e805fa51c9c2e9e914fdfad4a99f50f 1669fe567363SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1670fe567363SmrgDate: Wed Sep 14 15:29:19 2011 -0400 1671fe567363Smrg 1672fe567363Smrg docs: fix authors affiliation 1673fe567363Smrg 1674fe567363Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1675fe567363Smrg 1676fe567363Smrgcommit 9b6c2473be2848ce0a4986ddaa59e5f5ef028bfc 1677fe567363SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1678fe567363SmrgDate: Mon Sep 12 16:37:24 2011 -0400 1679fe567363Smrg 1680fe567363Smrg docs: use the &fullrelvers; entity to set X11 release information 1681fe567363Smrg 1682fe567363Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1683fe567363Smrg 1684fe567363Smrgcommit b5754cdf64f3396a5853413eda1943cf75ff3cbd 1685fe567363SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1686fe567363SmrgDate: Sun Sep 11 19:49:54 2011 -0400 1687fe567363Smrg 1688fe567363Smrg docs: remove <productnumber> which is not used by default 1689fe567363Smrg 1690fe567363Smrg This element is not rendered by default on the title. A template 1691fe567363Smrg customization is required to display it. 1692fe567363Smrg X Window System does not have a product number. 1693fe567363Smrg 1694fe567363Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1695fe567363Smrg 1696fe567363Smrgcommit 20f338c548e5fcb16650a4e2c25c2008c1fdac36 1697fe567363SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1698fe567363SmrgDate: Thu Sep 8 20:00:00 2011 -0400 1699fe567363Smrg 1700fe567363Smrg docbook.am: embed css styles inside the HTML HEAD element 1701fe567363Smrg 1702fe567363Smrg Rather than referring to the external xorg.css stylesheet, embed the content 1703fe567363Smrg of the file in the html output produced. This is accomplished by using 1704fe567363Smrg version 1.10 of xorg-xhtml.xsl. 1705fe567363Smrg 1706fe567363Smrg This makes the whole html docs tree much more relocatable. 1707fe567363Smrg In addition, it eliminates xorg.css as a runtime file which makes 1708fe567363Smrg xorg-sgml-doctools a build time only package. 1709fe567363Smrg 1710fe567363Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1711fe567363Smrg 1712fe567363Smrgcommit 8eb827af1b57ec52be183cddaf32257968c02878 1713fe567363SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1714fe567363SmrgDate: Wed Sep 7 10:31:04 2011 -0400 1715fe567363Smrg 1716fe567363Smrg docbook.am: global maintenance update - entities, images and olinking 1717fe567363Smrg 1718fe567363Smrg Adding support in libX11 for html chunking caused a reorg of docbook.am 1719fe567363Smrg as well as the xorg-sgml-doctools masterdb for olinking. 1720fe567363Smrg The parameter img.src.path is added for pdf images. 1721fe567363Smrg A searchpath to the root builddir is added for local entities, if present. 1722fe567363Smrg 1723fe567363Smrg The docbook.am makefile hides all the details and is identical for 1724fe567363Smrg all 22 modules having DocBook documentation. It is included by a thin 1725fe567363Smrg Makefile.am which requires no docbook knowledge. 1726fe567363Smrg 1727fe567363Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1728fe567363Smrg 1729fe567363Smrgcommit b710cdadc92fc212af361bee48f5af6333ec3e6d 1730fe567363SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1731fe567363SmrgDate: Sun Jun 12 18:39:46 2011 -0400 1732fe567363Smrg 1733fe567363Smrg Install xml versions of specs even if HAVE_XMLTO is false 1734fe567363Smrg 1735fe567363Smrg DocBook/XML input source is also a usefull output format that can be viewed 1736fe567363Smrg with an XML viewer or editor and by some O/S help system. 1737fe567363Smrg 1738fe567363Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1739fe567363Smrg 1740fe567363Smrgcommit 78d1f7d29145567e11b985042e917a435bef95f9 1741fe567363SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1742fe567363SmrgDate: Sun Jun 5 16:27:37 2011 -0400 1743fe567363Smrg 1744fe567363Smrg Install target dbs alongside generated documents 1745fe567363Smrg 1746fe567363Smrg This matches a change in xorg-sgml-docs whereby the masterdb will look for 1747fe567363Smrg the target dbs into the same location as the generated documents. 1748fe567363Smrg 1749fe567363Smrg The target dbs are now installed alongside the generated documents. 1750fe567363Smrg Previously they are installed in $prefix/sgml/X11/dbs alongside masterdb which 1751fe567363Smrg has the potential of installing outside the package prefix and cause 1752fe567363Smrg distcheck to fail when user does not have write permission in this package. 1753fe567363Smrg 1754fe567363Smrg Requires XORG_CHECK_SGML_DOCTOOLS(1.8) which was released 2011-06-11 1755fe567363Smrg 1756fe567363Smrgcommit e05d7abbcf880099058b699ac52f65edcac95582 1757fe567363SmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 1758fe567363SmrgDate: Sun Apr 24 19:39:26 2011 -0700 1759fe567363Smrg 1760fe567363Smrg Silence warnings when building with clang 1761fe567363Smrg 1762fe567363Smrg /usr/X11/include/X11/Xtrans/Xtransint.h:349:12: error: unused function 'is_numeric' [-Werror,-Wunused-function] 1763fe567363Smrg static int is_numeric ( 1764fe567363Smrg ^ 1765fe567363Smrg /usr/X11/include/X11/Xtrans/Xtransint.h:354:12: error: unused function 'trans_mkdir' [-Werror,-Wunused-function] 1766fe567363Smrg static int trans_mkdir ( 1767fe567363Smrg ^ 1768fe567363Smrg 1769fe567363Smrg In file included from /usr/X11/include/X11/Xtrans/transport.c:67: 1770fe567363Smrg ... 1771fe567363Smrg fatal error: too many errors emitted, stopping now [-ferror-limit=] 1772fe567363Smrg 1773fe567363Smrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 1774fe567363Smrg 1775fe567363Smrgcommit 27ae0ad1406a33919ea9f76034495bca7cccf051 1776fe567363SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1777fe567363SmrgDate: Sun Feb 27 15:06:18 2011 -0500 1778fe567363Smrg 1779fe567363Smrg Documentation: add Docbook external references support 1780fe567363Smrg 1781fe567363Smrg When writing technical documentation, it is often necessary to cross 1782fe567363Smrg reference to other information. When that other information is not in the 1783fe567363Smrg current document, additional support is needed, namely <olink>. 1784fe567363Smrg 1785fe567363Smrg A new feature with version 1.7 of xorg-sgml-doctools adds references to 1786fe567363Smrg other documents within or outside this package. 1787fe567363Smrg 1788fe567363Smrg This patch adds technical support for this feature but does not change 1789fe567363Smrg the content of the documentation as seen by the end user. 1790fe567363Smrg 1791fe567363Smrg Each book or article must generate a database containing the href 1792fe567363Smrg of sections that can be referred to from another document. This database 1793fe567363Smrg is installed in DATAROOTDIR/sgml/X11/dbs. There is a requirement that 1794fe567363Smrg the value of DATAROOTDIR for xorg-sgml-doctools and for the package 1795fe567363Smrg documentation is the same. This forms a virtual document tree. 1796fe567363Smrg 1797fe567363Smrg This database is consulted by other documents while they are being generated 1798fe567363Smrg in order to fulfill the missing information for linking. 1799fe567363Smrg Refer to the xorg-sgml-doctools for further technical information. 1800fe567363Smrg 1801fe567363Smrg Co-authored-by: Matt Dew <marcoz@osource.org> 1802fe567363Smrg 1803fe567363Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1804fe567363Smrg 1805fe567363Smrgcommit cc199c31465b258032bdb9083879699202db7ee9 1806fe567363SmrgAuthor: Adam Jackson <ajax@redhat.com> 1807fe567363SmrgDate: Mon Feb 21 12:44:06 2011 -0500 1808fe567363Smrg 1809fe567363Smrg Remove a decnet leftover 1810fe567363Smrg 1811fe567363Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1812fe567363Smrg Reviewed-by: Daniel Stone <daniel@fooishbar.org> 1813fe567363Smrg Signed-off-by: Adam Jackson <ajax@redhat.com> 1814fe567363Smrg 1815fe567363Smrgcommit 91620213d2bd75fe322df06c5b6f55b85a10e55a 1816fe567363SmrgAuthor: Adam Jackson <ajax@redhat.com> 1817fe567363SmrgDate: Tue Mar 15 15:47:08 2011 -0400 1818fe567363Smrg 1819fe567363Smrg Remove K&R token pasting macros 1820fe567363Smrg 1821fe567363Smrg Reviewed-by: Julien Cristau <jcristau@debian.org> 1822fe567363Smrg Signed-off-by: Adam Jackson <ajax@redhat.com> 1823fe567363Smrg 1824fe567363Smrgcommit 4ac40cd5451983e6f62527700cdf9e2f8a29c013 1825fe567363SmrgAuthor: Adam Jackson <ajax@redhat.com> 1826fe567363SmrgDate: Tue Mar 15 15:45:56 2011 -0400 1827fe567363Smrg 1828fe567363Smrg Don't special-case allocation for the X server 1829fe567363Smrg 1830fe567363Smrg xserver uses malloc/free directly now, don't route through the Xalloc 1831fe567363Smrg wrappers. 1832fe567363Smrg 1833fe567363Smrg Reviewed-by: Julien Cristau <jcristau@debian.org> 1834fe567363Smrg Signed-off-by: Adam Jackson <ajax@redhat.com> 1835fe567363Smrg 1836fe567363Smrgcommit 638caa2053330038c5ba5a5682ff02be6aa0faa6 1837fe567363SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1838fe567363SmrgDate: Wed Feb 2 11:43:46 2011 -0500 1839fe567363Smrg 1840fe567363Smrg config: comment, minor upgrade, quote and layout configure.ac 1841fe567363Smrg 1842fe567363Smrg Group statements per section as per Autoconf standard layout 1843fe567363Smrg Quote statements where appropriate. 1844fe567363Smrg Autoconf recommends not using dnl instead of # for comments 1845fe567363Smrg 1846fe567363Smrg Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters. 1847fe567363Smrg Add AC_CONFIG_SRCDIR([Makefile.am]) 1848fe567363Smrg 1849fe567363Smrg This helps automated maintenance and release activities. 1850fe567363Smrg Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines 1851fe567363Smrg 1852fe567363Smrgcommit a26753b7b20cd5cadc1e7fa007cec063f39a49e8 1853fe567363SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1854fe567363SmrgDate: Thu Dec 16 23:59:20 2010 -0800 1855fe567363Smrg 1856fe567363Smrg doc: Correct column count in transport configuration table 1857fe567363Smrg 1858fe567363Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1859fe567363Smrg 1860af928962Smrgcommit 59f57d1a19d4091fef115b9eafa139bf620332cb 1861af928962SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1862af928962SmrgDate: Mon Nov 8 16:33:45 2010 -0800 1863af928962Smrg 1864af928962Smrg xtrans 1.2.6 1865af928962Smrg 1866af928962Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1867af928962Smrg 1868af928962Smrgcommit 05cd71c899e83022147f27085ee652d26f5462cb 1869af928962SmrgAuthor: Jesse Adkins <jesserayadkins@gmail.com> 1870af928962SmrgDate: Sat Nov 6 12:53:24 2010 -0700 1871af928962Smrg 1872af928962Smrg Remove ISCFuncs, fix SCOFuncs inclusion (bug 23324) 1873af928962Smrg 1874af928962Smrg ISCFuncs was removed by commit 339ddc413559d4cb117a72f87b2a70dae6911c32. 1875af928962Smrg SCOFuncs should be for SCO only, instead of !sun. 1876af928962Smrg 1877af928962Smrg Also, remove comments that suggest ISC support. 1878af928962Smrg 1879af928962Smrg Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com> 1880af928962Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1881af928962Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1882af928962Smrg 1883af928962Smrgcommit 0e5a66c82535dd8e9beee9fc4c42c52f90d05f50 1884af928962SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1885af928962SmrgDate: Sat Nov 6 13:22:59 2010 -0700 1886af928962Smrg 1887af928962Smrg doc: Update for X11R7/modularization 1888af928962Smrg 1889af928962Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1890af928962Smrg 1891af928962Smrgcommit 1858516e9f0f3e65cc3d1f6cedfe8bfa614c8082 1892af928962SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1893af928962SmrgDate: Sat Nov 6 11:22:15 2010 -0700 1894af928962Smrg 1895af928962Smrg doc: Markup & typo cleanups 1896af928962Smrg 1897af928962Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1898af928962Smrg 1899af928962Smrgcommit 16bdc50ca85bbae065a32647e2410a5ca47b4924 1900af928962SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1901af928962SmrgDate: Sat Nov 6 09:53:08 2010 -0700 1902af928962Smrg 1903af928962Smrg doc: Correct legal notices 1904af928962Smrg 1905af928962Smrg Restore both copyright/license notices from troff version 1906af928962Smrg Move implementation note out of legalnotice section 1907af928962Smrg 1908af928962Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1909af928962Smrg 1910af928962Smrgcommit d01d081538d04ac60b9e14f6e2faa60fe6bed5ff 1911af928962SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1912af928962SmrgDate: Sat Nov 6 09:23:26 2010 -0700 1913af928962Smrg 1914af928962Smrg doc: Use installed css stylesheet instead of making another copy 1915af928962Smrg 1916af928962Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1917af928962Smrg 1918af928962Smrgcommit ea6977f4a51612172ba51c3bd35aa150ad9ff158 1919af928962SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1920af928962SmrgDate: Sat Nov 6 12:41:48 2010 -0700 1921af928962Smrg 1922af928962Smrg Xtransint.h: Add missing ' in comment 1923af928962Smrg 1924af928962Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1925af928962Smrg 1926af928962Smrgcommit 862d2de24950d2658158ebc4cf8307e73f80bc8d 1927af928962SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1928af928962SmrgDate: Fri Oct 29 18:22:33 2010 -0700 1929af928962Smrg 1930af928962Smrg Sun's copyrights now belong to Oracle 1931af928962Smrg 1932af928962Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1933af928962Smrg 1934af928962Smrgcommit cbb59ebc916d0be18c322eec782b694f4dc2e685 1935af928962SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1936af928962SmrgDate: Sun Jun 27 20:27:39 2010 -0400 1937af928962Smrg 1938af928962Smrg Update README to reflect docs converted from nroff to DocBook XML 1939af928962Smrg 1940af928962Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1941af928962Smrg 1942af928962Smrgcommit 3441142714b2640d1e143fcb5d089a2a42bd5321 1943af928962SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1944af928962SmrgDate: Sun Jun 27 20:21:20 2010 -0400 1945af928962Smrg 1946af928962Smrg doc: remove trailing spaces in xtrans.xml 1947af928962Smrg 1948af928962Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1949af928962Smrg 1950af928962Smrgcommit 7761846c7fd97f15d7207e1b9fd9d42c9e58a0c4 1951af928962SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1952af928962SmrgDate: Sat Jun 26 13:06:22 2010 -0400 1953af928962Smrg 1954af928962Smrg doc: replace groff input format with docbook xml format 1955af928962Smrg 1956af928962Smrg Initial version of xtrans docbook xml. 1957af928962Smrg Requires util-macros 1.10 1958af928962Smrg 1959af928962Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1960af928962Smrg 1961af928962Smrgcommit 4f557036253ac5750576c88e5b9a86759a49d247 1962af928962SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1963af928962SmrgDate: Fri Jun 18 21:47:52 2010 -0400 1964af928962Smrg 1965af928962Smrg config: XORG_WITH_GROFF: use HAVE_GROFF_HTML conditional 1966af928962Smrg 1967af928962Smrg Groff uses grohtml to generate html output format. This program, in turn, 1968af928962Smrg uses a number of pnm* commands from the netpbm package, psselect 1969af928962Smrg from the psutils package and the ghostscript package. 1970af928962Smrg 1971af928962Smrg These are independently installed, so they could be missing. 1972af928962Smrg Skip the HTML output format if one of the dependencies is missing. 1973af928962Smrg The version 1.9 of the util-macros package is required. 1974af928962Smrg 1975af928962Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1976af928962Smrg 1977af928962Smrgcommit 1e9b958a096682b1ec111d400bd25048e3f95ed4 1978af928962SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1979af928962SmrgDate: Fri May 21 18:54:20 2010 -0700 1980af928962Smrg 1981af928962Smrg Update README to reflect docs moved here from xorg-docs module 1982af928962Smrg 1983af928962Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1984af928962Smrg 1985af928962Smrgcommit d400e69526c1c331e8e23893e2ba8658979376e8 1986af928962SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1987af928962SmrgDate: Mon Mar 29 14:53:49 2010 -0400 1988af928962Smrg 1989af928962Smrg config: remove the pkgconfig pc.in file from EXTRA_DIST 1990af928962Smrg 1991af928962Smrg Automake always includes it in the tarball. 1992af928962Smrg 1993af928962Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1994af928962Smrg 1995af928962Smrgcommit 373922e1529b3d55513fbc0ec24527600f7b529c 1996af928962SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1997af928962SmrgDate: Tue Feb 16 18:18:06 2010 -0500 1998af928962Smrg 1999af928962Smrg doc: use HAVE_GROFF_MM to skip doc when 'm.tmac' macros missing 2000af928962Smrg 2001af928962Smrg This conditional is defined in XORG_WITH_GROFF macro. 2002af928962Smrg 2003af928962Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 2004af928962Smrg 2005af928962Smrgcommit b531ff3ed2ad841b716ba370fd43bbe8f06f1185 2006af928962SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 2007af928962SmrgDate: Fri Jan 29 15:05:37 2010 -0500 2008af928962Smrg 2009af928962Smrg doc: use new macros XORG_WITH_GROFF and PS2PDF 2010af928962Smrg 2011af928962Smrg These control the usage of doc tools 2012af928962Smrg Also use XORG_ENABLE_DOCS to control generation of docs 2013af928962Smrg 2014af928962Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 2015af928962Smrg 2016af928962Smrgcommit 5922556f408fbcd14e7ad23bbe46db2ae8dcdee6 2017af928962SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 2018af928962SmrgDate: Thu Jan 14 21:11:43 2010 -0800 2019af928962Smrg 2020af928962Smrg Update Sun license notices to current X.Org standard form 2021af928962Smrg 2022af928962Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 2023af928962Smrg 2024af928962Smrgcommit dab2bcdaf60977643ec55d71a81e67c1e3a162a9 202547a4502cSmrgAuthor: Rémi Cardona <remi@gentoo.org> 2026af928962SmrgDate: Thu Dec 17 08:31:20 2009 +0100 2027af928962Smrg 2028af928962Smrg require autoconf 2.60 because of $(docdir) use 2029af928962Smrg 2030af928962Smrg Signed-off-by: Rémi Cardona <remi@gentoo.org> 2031af928962Smrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 2032af928962Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@sun.com> 2033af928962Smrg Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 2034af928962Smrg 2035af928962Smrgcommit 197ec0dc83e775e42fce4966142ae3a641f2db69 2036af928962SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 2037af928962SmrgDate: Fri Nov 27 20:56:05 2009 -0500 2038af928962Smrg 2039af928962Smrg Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES 2040af928962Smrg 2041af928962Smrg Now that the INSTALL file is generated. 2042af928962Smrg Allows running make maintainer-clean. 2043af928962Smrg 2044af928962Smrgcommit 27a18fb2c9356cc44bdd892f87200c3ea230109b 2045af928962SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 2046af928962SmrgDate: Wed Oct 28 14:09:11 2009 -0400 2047af928962Smrg 2048af928962Smrg INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 2049af928962Smrg 2050af928962Smrg Add missing INSTALL file. Use standard GNU file on building tarball 2051af928962Smrg README may have been updated 2052af928962Smrg Remove AUTHORS file as it is empty and no content available yet. 2053af928962Smrg Remove NEWS file as it is empty and no content available yet. 2054af928962Smrg 2055af928962Smrgcommit 92da89326d26e0924d4c6efe2ebd26ceb527f4f7 2056af928962SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 2057af928962SmrgDate: Mon Oct 26 22:08:43 2009 -0400 2058af928962Smrg 2059af928962Smrg Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 2060af928962Smrg 2061af928962Smrg ChangeLog filename is known to Automake and requires no further 2062af928962Smrg coding in the makefile. 2063af928962Smrg 2064af928962Smrgcommit 9aeff40d0722b4fedc4ab9ccc1aaff75368020fe 2065af928962SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 2066af928962SmrgDate: Thu Oct 22 12:34:20 2009 -0400 2067af928962Smrg 2068af928962Smrg .gitignore: use common defaults with custom section # 24239 2069af928962Smrg 2070af928962Smrg Using common defaults will reduce errors and maintenance. 2071af928962Smrg Only the very small or inexistent custom section need periodic maintenance 2072af928962Smrg when the structure of the component changes. Do not edit defaults. 2073af928962Smrg 2074af928962Smrgcommit f0f7c47055eecac35786ec616c7632604da204b5 2075af928962SmrgAuthor: Jeremy Huddleston <jeremyhu@freedesktop.org> 2076af928962SmrgDate: Wed Oct 21 12:47:27 2009 -0700 2077af928962Smrg 2078af928962Smrg This is not a GNU project, so declare it foreign. 2079af928962Smrg 2080af928962Smrg On Wed, 2009-10-21 at 13:36 +1000, Peter Hutterer wrote: 2081af928962Smrg > On Tue, Oct 20, 2009 at 08:23:55PM -0700, Jeremy Huddleston wrote: 2082af928962Smrg > > I noticed an INSTALL file in xlsclients and libXvMC today, and it 2083af928962Smrg > > was quite annoying to work around since 'autoreconf -fvi' replaces 2084af928962Smrg > > it and git wants to commit it. Should these files even be in git? 2085af928962Smrg > > Can I nuke them for the betterment of humanity and since they get 2086af928962Smrg > > created by autoreconf anyways? 2087af928962Smrg > 2088af928962Smrg > See https://bugs.freedesktop.org/show_bug.cgi?id=24206 2089af928962Smrg 2090af928962Smrg As an interim measure, replace AM_INIT_AUTOMAKE([dist-bzip2]) with 2091af928962Smrg AM_INIT_AUTOMAKE([foreign dist-bzip2]). This will prevent the generation 2092af928962Smrg of the INSTALL file. It is also part of the 24206 solution. 2093af928962Smrg 2094af928962Smrg Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org> 2095af928962Smrg 2096af928962Smrgcommit 7d98b9b03c5fd5a82f9f4d215b10c0926edeab00 2097af928962SmrgAuthor: Eric Sesterhenn <eric.sesterhenn@lsexperts.de> 2098af928962SmrgDate: Mon Oct 19 09:53:18 2009 -0700 2099af928962Smrg 2100af928962Smrg Bug 24612: Memory & fd leaks in local transports 2101af928962Smrg 2102af928962Smrg X.Org bug #24612 <http://bugs.freedesktop.org/show_bug.cgi?id=24612> 2103af928962Smrg Patch #30548 <http://bugs.freedesktop.org/attachment.cgi?id=30548> 2104af928962Smrg 2105af928962Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 2106af928962Smrg 2107b53e5eeaSmrgcommit 1127b8ec766ed8c48cc49b0779647fb697a07ebd 2108b53e5eeaSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 2109b53e5eeaSmrgDate: Sat Oct 17 13:14:03 2009 -0700 2110b53e5eeaSmrg 2111b53e5eeaSmrg xtrans 1.2.5 2112b53e5eeaSmrg 2113b53e5eeaSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 2114b53e5eeaSmrg 2115b53e5eeaSmrgcommit 628b125ff9c72ec93090005b06228690f0dd6004 2116b53e5eeaSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 2117b53e5eeaSmrgDate: Sat Oct 17 13:06:26 2009 -0700 2118b53e5eeaSmrg 2119b53e5eeaSmrg Move Xtrans interface docs from xorg-docs module 2120b53e5eeaSmrg 2121b53e5eeaSmrg Only built/installed if --enable-docs is requested, since few people should 2122b53e5eeaSmrg be writing code using xtrans interfaces directly. 2123b53e5eeaSmrg 2124b53e5eeaSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 2125b53e5eeaSmrg 2126b53e5eeaSmrgcommit 3b0fc7a5a6d4b4b6903a9ad6685e2441f9fe83a7 2127b53e5eeaSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 2128b53e5eeaSmrgDate: Thu Oct 15 17:07:10 2009 -0700 2129b53e5eeaSmrg 2130b53e5eeaSmrg Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS 2131b53e5eeaSmrg 2132b53e5eeaSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 2133b53e5eeaSmrg 2134b53e5eeaSmrgcommit 69334376346a96beb3df120a3eeeb7935923c388 2135b53e5eeaSmrgAuthor: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 2136b53e5eeaSmrgDate: Thu Oct 15 15:25:58 2009 -0500 2137b53e5eeaSmrg 2138b53e5eeaSmrg Silence root ownership warnings on Cygwin 2139b53e5eeaSmrg 2140b53e5eeaSmrg XWin need not be run as root, nor do Administrators have uid of 0. 2141b53e5eeaSmrg 2142b53e5eeaSmrg Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 2143b53e5eeaSmrg 2144b53e5eeaSmrgcommit d009d995d85dc499dc3f1add34da551fdf703b60 2145b53e5eeaSmrgAuthor: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 2146b53e5eeaSmrgDate: Thu Oct 15 15:25:57 2009 -0500 2147b53e5eeaSmrg 2148b53e5eeaSmrg Don't use -lws2_32 on Cygwin 2149b53e5eeaSmrg 2150b53e5eeaSmrg On Cygwin, both the (builtin) *NIX socket API and WinSock (via w32api) are 2151b53e5eeaSmrg available, but they cannot be mixed. We use *NIX APIs for everything else, 2152b53e5eeaSmrg so we do not want to mix in WinSock here. 2153b53e5eeaSmrg 2154b53e5eeaSmrg Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 2155b53e5eeaSmrg 2156b53e5eeaSmrgcommit 773478581913bafa5e98a7bff3260efb0c4f2ab6 2157b53e5eeaSmrgAuthor: Mikhail Gusarov <dottedmag@dottedmag.net> 2158b53e5eeaSmrgDate: Sat Sep 26 04:39:20 2009 +0700 2159b53e5eeaSmrg 2160b53e5eeaSmrg Move xtrans.pc to /usr/share/pkg-config 2161b53e5eeaSmrg 2162b53e5eeaSmrg This fixes configuration in cross-compilation mode: 2163b53e5eeaSmrg pkg-config does not look for .pc in /usr/lib/pkg-config during 2164b53e5eeaSmrg cross-compilation to avoid picking up wrong libraries. 2165b53e5eeaSmrg 2166b53e5eeaSmrg Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> 2167b53e5eeaSmrg Acked-by: Julien Cristau <jcristau@debian.org> 2168b53e5eeaSmrg 2169b53e5eeaSmrgcommit 336d4cfb58c784a81beca74fe03a0af0abb224ba 2170b53e5eeaSmrgAuthor: Julien Cristau <jcristau@debian.org> 2171b53e5eeaSmrgDate: Fri Aug 7 16:58:58 2009 +0200 2172b53e5eeaSmrg 2173b53e5eeaSmrg Xtranssock: assume that we have getaddrinfo if ipv6 is enabled 2174b53e5eeaSmrg 2175b53e5eeaSmrg If IPv6 is enabled at build time, assume that the C library will have 2176b53e5eeaSmrg getaddrinfo at runtime. 2177b53e5eeaSmrg 2178b53e5eeaSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 2179b53e5eeaSmrg 2180e8a71cdfSmrgcommit 4f82ca502d8ec33b0038700675d54539d85d723c 2181e8a71cdfSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 2182e8a71cdfSmrgDate: Fri Jul 31 17:24:25 2009 -0700 2183e8a71cdfSmrg 2184e8a71cdfSmrg Version 1.2.4 2185e8a71cdfSmrg 2186e8a71cdfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 2187e8a71cdfSmrg 2188e8a71cdfSmrgcommit e5f52f206916b7c5264b9371f9bd0113632a4a16 2189e8a71cdfSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 2190e8a71cdfSmrgDate: Thu Jul 30 16:07:39 2009 -0700 2191e8a71cdfSmrg 2192e8a71cdfSmrg Fix ifdef checks for SVR4 to do the right thing on Solaris 2193e8a71cdfSmrg 2194e8a71cdfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 2195e8a71cdfSmrg 2196e8a71cdfSmrgcommit 6d1ad967b894a37f423fd52247df5fcc3bfab1a8 2197e8a71cdfSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 2198e8a71cdfSmrgDate: Mon May 18 18:26:36 2009 -0700 2199e8a71cdfSmrg 2200e8a71cdfSmrg xfs segfaults in _FontTransSocketReopen when cloning itself 2201e8a71cdfSmrg 2202e8a71cdfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 2203e8a71cdfSmrg 2204e8a71cdfSmrgcommit 1e32f79670a6dc0baae2c2622d2b562f41266ea5 2205e8a71cdfSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 2206e8a71cdfSmrgDate: Fri Apr 24 02:10:53 2009 -0700 2207e8a71cdfSmrg 2208e8a71cdfSmrg Constify path argument to trans_mkdir() 2209e8a71cdfSmrg 2210e8a71cdfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 2211e8a71cdfSmrg 2212e8a71cdfSmrgcommit 732f3366c40c4bea258b11b96c4763f5948a4844 2213e8a71cdfSmrgAuthor: Benjamin Close <Benjamin.Close@clearchain.com> 2214e8a71cdfSmrgDate: Mon Feb 9 16:34:00 2009 +1030 2215e8a71cdfSmrg 2216e8a71cdfSmrg Update is_numeric base on the declaration change in 389e01fb51ba2d708015e27d8fc17c88a0e55802 2217e8a71cdfSmrg 2218e8a71cdfSmrg Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com> 2219e8a71cdfSmrg 2220e8a71cdfSmrgcommit 300893171ca7ad684472e5961a7b2ba0eb291f6b 2221e8a71cdfSmrgAuthor: Benjamin Close <Benjamin.Close@clearchain.com> 2222e8a71cdfSmrgDate: Mon Feb 9 16:33:59 2009 +1030 2223e8a71cdfSmrg 2224e8a71cdfSmrg Revert "Fix "XXX declared 'static' but not defined"" 2225e8a71cdfSmrg 2226e8a71cdfSmrg This reverts commit d192bac409fe5ef99fa9fb9b5a0d5f656f0f1412. 2227e8a71cdfSmrg 2228e8a71cdfSmrg When transport.c is directly include (as in the case of libICE:icetrans.c:32) 2229e8a71cdfSmrg Xtranssock.c must be included before Xtransutil.c in order for the socket 2230e8a71cdfSmrg structures to be included. Including Xtransutil.c after Xtranssock.c requires 2231e8a71cdfSmrg is_number and trans_mkdir to be defined. 2232e8a71cdfSmrg 2233e8a71cdfSmrg This reintroduces the warning until a cleaner solution can be found 2234e8a71cdfSmrg but fixes the build. 2235e8a71cdfSmrg 2236e8a71cdfSmrg Found by: Tinderbox 2237e8a71cdfSmrg 2238e8a71cdfSmrg Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com> 2239e8a71cdfSmrg 2240e8a71cdfSmrgcommit 389e01fb51ba2d708015e27d8fc17c88a0e55802 2241e8a71cdfSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 2242e8a71cdfSmrgDate: Fri Feb 6 11:31:06 2009 -0800 2243e8a71cdfSmrg 2244e8a71cdfSmrg Constify string argument to is_numeric 2245e8a71cdfSmrg 2246e8a71cdfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 2247e8a71cdfSmrg 2248e8a71cdfSmrgcommit cca91ddaae2121f42b2d5c08867bb93df8f9de13 2249e8a71cdfSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 2250e8a71cdfSmrgDate: Fri Feb 6 11:27:02 2009 -0800 2251e8a71cdfSmrg 2252e8a71cdfSmrg Fix libICE build after code motion in d192bac409... 2253e8a71cdfSmrg 2254e8a71cdfSmrg The #ifdef ICE_t case in Xtransutil.c depended on some #includes that 2255e8a71cdfSmrg are done in files that transport.c previously included before Xtransutil.c 2256e8a71cdfSmrg but are now after Xtransutil.c is included. 2257e8a71cdfSmrg 2258e8a71cdfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 2259e8a71cdfSmrg 2260e8a71cdfSmrgcommit d192bac409fe5ef99fa9fb9b5a0d5f656f0f1412 2261e8a71cdfSmrgAuthor: Tomas Carnecky <tom@dbservice.com> 2262e8a71cdfSmrgDate: Wed Feb 4 15:26:18 2009 +0100 2263e8a71cdfSmrg 2264e8a71cdfSmrg Fix "XXX declared 'static' but not defined" 2265e8a71cdfSmrg 2266e8a71cdfSmrg The functions are declared static in Xtransint.h but are defined 2267e8a71cdfSmrg in Xtransutil.c. So when someone (xserver/os/connection.c) 2268e8a71cdfSmrg incuded Xtransint.h, gcc would throw the warning. 2269e8a71cdfSmrg I removed the declarations from the header and rearranged includes 2270e8a71cdfSmrg in transport.c so that Xtransutil.c is included just after 2271e8a71cdfSmrg Xtransint.h. This way the functions are still defined for the 2272e8a71cdfSmrg files that need them (Xtranssock.c, Xtranstli.c). 2273e8a71cdfSmrg 2274e8a71cdfSmrg Signed-off-by: Tomas Carnecky <tom@dbservice.com> 2275e8a71cdfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 2276e8a71cdfSmrg 2277e8a71cdfSmrgcommit 77784ae71b6af1ec270198cfdd5f2eab1fe4a0c0 2278e8a71cdfSmrgAuthor: Tomas Carnecky <tom@dbservice.com> 2279e8a71cdfSmrgDate: Wed Feb 4 15:22:28 2009 +0100 2280e8a71cdfSmrg 2281e8a71cdfSmrg Fix "warning: format not a string literal and no format arguments" 2282e8a71cdfSmrg 2283e8a71cdfSmrg Signed-off-by: Tomas Carnecky <tom@dbservice.com> 2284e8a71cdfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 2285e8a71cdfSmrg 2286e8a71cdfSmrgcommit c893bc4aa7a674c6888aacc8249b3c4a8f6bf12a 2287e8a71cdfSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 2288e8a71cdfSmrgDate: Fri Jan 30 18:47:32 2009 -0200 2289e8a71cdfSmrg 2290e8a71cdfSmrg Janitor: Correct make distcheck and compiler warnings. 2291e8a71cdfSmrg 2292e8a71cdfSmrg Compiler warnings are spread on other packages, with a 2293e8a71cdfSmrg warning in the format: 2294e8a71cdfSmrg /usr/include/X11/Xtrans/Xtranssock.c:548: warning: 'ciptr' may be used uninitialized in this function 2295e8a71cdfSmrg so the code was slightly changed so that the compiler 2296e8a71cdfSmrg would not "think" it could be used without initialization. 2297e8a71cdfSmrg 22988d4c0f7bSmrgcommit 1cf4a1a6716f2c0adf5ee4d0a194a1013be53105 22998d4c0f7bSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 23008d4c0f7bSmrgDate: Sun Jan 11 10:54:52 2009 -0800 23018d4c0f7bSmrg 23028d4c0f7bSmrg Version 1.2.3 23038d4c0f7bSmrg 23048d4c0f7bSmrgcommit d0c5592142369afa93dcd58ca6f390dbd127a28a 23058d4c0f7bSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 23068d4c0f7bSmrgDate: Sun Jan 11 10:51:49 2009 -0800 23078d4c0f7bSmrg 23088d4c0f7bSmrg Add bugzilla, mailing list & git repo pointers to README 23098d4c0f7bSmrg 23108d4c0f7bSmrgcommit 9f12a154437554938a4fa18b7d3948c7dff8d631 23118d4c0f7bSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 23128d4c0f7bSmrgDate: Mon Dec 1 13:58:31 2008 -0800 23138d4c0f7bSmrg 23148d4c0f7bSmrg Switch ChangeLog generation to use XORG_CHANGELOG from xorg-macros 1.2 23158d4c0f7bSmrg 23168d4c0f7bSmrgcommit 8c313881a0c586179c09922a7e00a1f8d669a68a 23178d4c0f7bSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 23188d4c0f7bSmrgDate: Mon Dec 1 08:37:42 2008 -0800 23198d4c0f7bSmrg 23208d4c0f7bSmrg 18748: xtrans.m4 causes configure --help to list --enable-ipv6 in wrong case. 23218d4c0f7bSmrg 23228d4c0f7bSmrg X.Org Bug #18748 <http://bugs.freedesktop.org/show_bug.cgi?id=18748> 23238d4c0f7bSmrg 23248d4c0f7bSmrgcommit c626a4298e98f4988701dd587bc8355c62542ec4 23258d4c0f7bSmrgAuthor: Alan Hourihane <alanh@tungstengraphics.com> 23268d4c0f7bSmrgDate: Wed Oct 15 11:19:41 2008 +0100 23278d4c0f7bSmrg 23288d4c0f7bSmrg add winsock check for windows builds 23298d4c0f7bSmrg 23308d4c0f7bSmrgcommit 005bd80a9eab736aea737869b8a1079c565e1cd6 23318d4c0f7bSmrgAuthor: Adam Jackson <ajax@redhat.com> 23328d4c0f7bSmrgDate: Tue Oct 7 09:56:49 2008 -0400 23338d4c0f7bSmrg 23348d4c0f7bSmrg xtrans 1.2.2 23358d4c0f7bSmrg 23368d4c0f7bSmrgcommit 1185dd2966521e1a19474dfd4206306cb383fc89 23378d4c0f7bSmrgAuthor: Adam Jackson <ajax@redhat.com> 23388d4c0f7bSmrgDate: Tue Oct 7 09:55:22 2008 -0400 23398d4c0f7bSmrg 23408d4c0f7bSmrg Finish removing OS/2 support 23418d4c0f7bSmrg 23428d4c0f7bSmrgcommit 51b2e85aeb172f4a058d8ceceec91021ffd0b2a5 23438d4c0f7bSmrgAuthor: Adam Jackson <ajax@redhat.com> 23448d4c0f7bSmrgDate: Tue Oct 7 09:51:27 2008 -0400 23458d4c0f7bSmrg 23468d4c0f7bSmrg Remove DECNET support. 23478d4c0f7bSmrg 23488d4c0f7bSmrg This hasn't been consumed in the server or libs since 7.0. 23498d4c0f7bSmrg 23508d4c0f7bSmrgcommit 892ec928da3a0653ae54c321e4c3b1aa06c4e678 23518d4c0f7bSmrgAuthor: Adam Jackson <ajax@redhat.com> 23528d4c0f7bSmrgDate: Thu Aug 7 10:32:11 2008 -0400 23538d4c0f7bSmrg 23548d4c0f7bSmrg Drastically simplify TRANS_OPEN_MAX. 23558d4c0f7bSmrg 23568d4c0f7bSmrg If your OS doesn't have sysconf(3), then life is already hard for you. 23578d4c0f7bSmrg 23588d4c0f7bSmrgcommit 339ddc413559d4cb117a72f87b2a70dae6911c32 23598d4c0f7bSmrgAuthor: Adam Jackson <ajax@redhat.com> 23608d4c0f7bSmrgDate: Thu Aug 7 10:23:19 2008 -0400 23618d4c0f7bSmrg 23628d4c0f7bSmrg Massive ifdef cleanup, dropping a ton of unsupported platform code. 23638d4c0f7bSmrg 23648d4c0f7bSmrgcommit a78b9819cbbbddccb4a6bf364b88ec4f27d25c1f 23658d4c0f7bSmrgAuthor: Jeremy Huddleston <jeremyhu@freedesktop.org> 23668d4c0f7bSmrgDate: Tue Aug 5 17:46:37 2008 -0700 23678d4c0f7bSmrg 23688d4c0f7bSmrg Added a flag to enable "The OS already took care of securing this, please skip checking xauth" for use with Apple launchd sockets. 23698d4c0f7bSmrg 23708d4c0f7bSmrgcommit 3db805979b476d233baa881e83950ef1d2731841 23718d4c0f7bSmrgAuthor: Jeremy Huddleston <jeremyhu@freedesktop.org> 23728d4c0f7bSmrgDate: Tue Jul 15 16:56:12 2008 -0700 23738d4c0f7bSmrg 23748d4c0f7bSmrg Apple: Allow Xquartz to provide an additional fd to xtrans since the dynamic addition code in the server isn't bulletproof yet. 23758d4c0f7bSmrg 23768d4c0f7bSmrgcommit 81d8bdced6b45ab2ab3d3a0bc164ddbf1659fea1 23778d4c0f7bSmrgAuthor: Adam Jackson <ajax@redhat.com> 23788d4c0f7bSmrgDate: Wed Jul 2 15:24:20 2008 -0400 23798d4c0f7bSmrg 23808d4c0f7bSmrg xtrans 1.2.1 23818d4c0f7bSmrg 23828d4c0f7bSmrgcommit 302af17c4d5f0293a9af4d6c1097ab57a57d3f0f 23838d4c0f7bSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 23848d4c0f7bSmrgDate: Tue Jun 24 15:45:38 2008 -0700 23858d4c0f7bSmrg 23868d4c0f7bSmrg Clear some pointer type mismatch warnings 23878d4c0f7bSmrg 23888d4c0f7bSmrgcommit 4d184e41d30a8fe27380e04beb24f775d4a40782 23898d4c0f7bSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 23908d4c0f7bSmrgDate: Tue Jun 24 15:45:18 2008 -0700 23918d4c0f7bSmrg 23928d4c0f7bSmrg LocalClose() takes a ConnInfoPtr, not an fd 23938d4c0f7bSmrg 23948d4c0f7bSmrgcommit 177c2fd41727bd0110b493933dcbdbf21878fe09 23958d4c0f7bSmrgAuthor: Jeremy Huddleston <jeremyhu@freedesktop.org> 23968d4c0f7bSmrgDate: Fri May 23 09:48:59 2008 -0700 23978d4c0f7bSmrg 23988d4c0f7bSmrg Launchd: This functionality has been moved into xorg-server 23998d4c0f7bSmrg 24008d4c0f7bSmrgcommit 02fcb08803dca5bb2df4f8be490a845659bd7ed3 24018d4c0f7bSmrgAuthor: Adam Jackson <ajax@redhat.com> 24028d4c0f7bSmrgDate: Mon May 12 17:49:41 2008 -0400 24038d4c0f7bSmrg 24048d4c0f7bSmrg Connection failure for abstract socket is ECONNREFUSED, not ENOENT. 24058d4c0f7bSmrg 24068d4c0f7bSmrg Apropos of bug #15884. 24078d4c0f7bSmrg 24088d4c0f7bSmrgcommit 906294025573d07c739894fa3b2eedc82813a379 24098d4c0f7bSmrgAuthor: Bill Nottingham <notting@redhat.com> 24108d4c0f7bSmrgDate: Mon May 12 17:43:36 2008 -0400 24118d4c0f7bSmrg 24128d4c0f7bSmrg Ignore mkdir() errors when creating the abstract socket. 24138d4c0f7bSmrg 24148d4c0f7bSmrg Red Hat bug #445303. 24158d4c0f7bSmrg 24168d4c0f7bSmrgcommit 08134c2ce72bc43c172b6ae134d8a94a40b45c9b 24178d4c0f7bSmrgAuthor: James Cloos <cloos@jhcloos.com> 24188d4c0f7bSmrgDate: Sat May 10 07:02:09 2008 -0400 24198d4c0f7bSmrg 24208d4c0f7bSmrg Remove extraneous execute bit from .c file 24218d4c0f7bSmrg 242273143b9aSmrgcommit e75b9dad0ae4bc0869af81652d8259675a3c5cac 242373143b9aSmrgAuthor: Julien Cristau <jcristau@debian.org> 242473143b9aSmrgDate: Thu May 8 16:27:29 2008 +0200 242573143b9aSmrg 242673143b9aSmrg Bump to 1.2 242773143b9aSmrg 242873143b9aSmrgcommit 962ad4d3f8096f5ffa14b32b3ee094f250790c77 242973143b9aSmrgAuthor: Alan Hourihane <alanh@tungstengraphics.com> 243073143b9aSmrgDate: Mon Apr 28 23:46:05 2008 +0100 243173143b9aSmrg 243273143b9aSmrg disable UNIXCONN on MINGW 243373143b9aSmrg 243473143b9aSmrgcommit 9e8c0e3356bc6359368b7655d3a717d6c000387e 243573143b9aSmrgAuthor: Alan Hourihane <alanh@tungstengraphics.com> 243673143b9aSmrgDate: Sat Apr 26 16:23:19 2008 +0100 243773143b9aSmrg 243873143b9aSmrg fix build for MAKEWORD 243973143b9aSmrg 244073143b9aSmrgcommit 568c5ea02ee1de437833ee0b53a7b3fd7ece084f 244173143b9aSmrgAuthor: Colin Harrison <colin.harrison-at-virgin.net> 244273143b9aSmrgDate: Sat Apr 26 08:53:13 2008 +0100 244373143b9aSmrg 244473143b9aSmrg Update to winsock2 244573143b9aSmrg 244673143b9aSmrgcommit 960902584a3ef125946beb5ebe331b54d697e9d9 244773143b9aSmrgAuthor: James Cloos <cloos@jhcloos.com> 244873143b9aSmrgDate: Fri Apr 25 15:53:20 2008 -0400 244973143b9aSmrg 245073143b9aSmrg Fix length calculation for the path for abstract unix domain sockets 245173143b9aSmrg 245273143b9aSmrg Since the struct has a fixed-lenght char[] its sizeof() contains 245373143b9aSmrg trailing NUL octets which results in corrupt abstract sockets. 245473143b9aSmrg 245573143b9aSmrg Instead, take the strlen(3) of the path, plus the single NUL octet 245673143b9aSmrg (which identifies the path as an abstract path rather than a file- 245773143b9aSmrg system path) plus the offset from the start of the struct to the 245873143b9aSmrg start of the char array. 245973143b9aSmrg 246073143b9aSmrg This fixes: 246173143b9aSmrg 246273143b9aSmrg https://bugs.freedesktop.org/show_bug.cgi?id=15677 246373143b9aSmrg 246473143b9aSmrgcommit 3a2a5375b8aab85697b4f2644ab99c3ccf79e658 246573143b9aSmrgAuthor: Colin Harrison <colin.harrison-at-virgin.net> 246673143b9aSmrgDate: Wed Apr 23 10:39:30 2008 +0100 246773143b9aSmrg 246873143b9aSmrg Only call WSAGetLastError() if there has been an 246973143b9aSmrg error condition. 247073143b9aSmrg 247173143b9aSmrgcommit ac13a1a34b61247a21da130f0ba9922f35d3dc3b 247273143b9aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 247373143b9aSmrgDate: Tue Apr 15 12:32:35 2008 -0700 247473143b9aSmrg 247573143b9aSmrg Sun bug #6688467: _X11TransConvertAddress: Unknown family type on 64-bit SPARC 247673143b9aSmrg 247773143b9aSmrg Check for socklen_t definition and if found use it instead of size_t or 247873143b9aSmrg int for the length argument to getpeername/getsockname/etc. 247973143b9aSmrg 248073143b9aSmrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6688467> 248173143b9aSmrg 248273143b9aSmrgcommit 556a351de83fc6f401b02213dae95731553c216d 248347a4502cSmrgAuthor: Loïc Minier <lool@dooz.org> 248473143b9aSmrgDate: Mon Mar 24 15:38:27 2008 -0400 248573143b9aSmrg 248673143b9aSmrg Bug #10489: Don't retry unix socket connect()s on ENOENT. 248773143b9aSmrg 248873143b9aSmrg If the socket isn't there, it's not gonna magically appear. Either it's 248973143b9aSmrg a server socket and you should have just waited for the SIGUSR1 from the 249073143b9aSmrg server, or it's a stale reference to an ICE socket. 249173143b9aSmrg 249273143b9aSmrg However, do retry once, so fallback from abstract to filesystem namespace 249373143b9aSmrg works. 249473143b9aSmrg 249573143b9aSmrg Originally Debian bug #385976. 249673143b9aSmrg 249773143b9aSmrgcommit 3de3e666e0653d4e8ae23fc3e6e31864ddad4059 249873143b9aSmrgAuthor: Julien Cristau <jcristau@debian.org> 249973143b9aSmrgDate: Sun Mar 23 19:43:32 2008 +0100 250073143b9aSmrg 250173143b9aSmrg BSD44SOCKETS is the wrong check for SOCK_MAXADDRLEN 250273143b9aSmrg 250373143b9aSmrg GNU/kFreeBSD defines BSD44SOCKETS, but doesn't have SOCK_MAXADDRLEN. 250473143b9aSmrg Check for the latter directly. 250573143b9aSmrg 250673143b9aSmrgcommit 662994b9096181117cec4cae88f24bf6da806159 250773143b9aSmrgAuthor: Adam Jackson <ajax@redhat.com> 250873143b9aSmrgDate: Wed Mar 5 21:02:28 2008 -0500 250973143b9aSmrg 251073143b9aSmrg xtrans 1.1 251173143b9aSmrg 251273143b9aSmrgcommit 2afe206ec9569e0d62caa6d91c3fb057b0efa23d 251373143b9aSmrgAuthor: Adam Jackson <ajax@redhat.com> 251473143b9aSmrgDate: Wed Mar 5 20:48:59 2008 -0500 251573143b9aSmrg 251673143b9aSmrg Add support for the abstract socket namespace under Linux. 251773143b9aSmrg 251873143b9aSmrg Unlike normal unix sockets, the abstract namespace is not bound to the 251973143b9aSmrg filesystem. This has some notable advantages; /tmp need not exist, the 252073143b9aSmrg socket directory need not have magic permissions, etc. xtrans servers 252173143b9aSmrg will listen on both the normal and abstract socket endpoints; clients 252273143b9aSmrg will attempt to connect to the abstract socket before connecting to the 252373143b9aSmrg corresponding filesystem socket. 252473143b9aSmrg 252573143b9aSmrg Based on a patch by Bill Crawford. 252673143b9aSmrg 252773143b9aSmrgcommit c8ed67f16f71042ef134a4d2189c20dd200a0648 252873143b9aSmrgAuthor: Jeremy Huddleston <jeremy@tifa.local> 252973143b9aSmrgDate: Sun Feb 10 19:04:40 2008 -0800 253073143b9aSmrg 253173143b9aSmrg Fixed #ifdef checks that were using i386 to use __i386__ 253273143b9aSmrg 253373143b9aSmrg """ 253473143b9aSmrg 253573143b9aSmrg It's simply obsolete, sloppy, compiler namespace pollution. The 253673143b9aSmrg compiler is not allowed to predefine symbols that might conflict with 253773143b9aSmrg ordinary identifiers. For backwards compatibility gcc currently 253873143b9aSmrg predefines i386 when compiling for x86 32-bit (but not 64-bit), but that 253973143b9aSmrg will go away. It is also not defined if you specify -ansi when invoking 254073143b9aSmrg the compiler, because then it is seriously standards compliant. Other 254173143b9aSmrg compilers shouldn't define it either. Correct code shouldn't rely on it 254273143b9aSmrg being defined. However __i386__ is safe and proper. 254373143b9aSmrg 254473143b9aSmrg """ 254573143b9aSmrg 254673143b9aSmrgcommit 9970b5b6f8237685267b7972282319cf266661ea 254773143b9aSmrgAuthor: Ben Byer <bbyer@bbyer.local> 254873143b9aSmrgDate: Sun Dec 2 07:36:51 2007 -0800 254973143b9aSmrg 255073143b9aSmrg make launchd error messages less scary 255173143b9aSmrg 255273143b9aSmrgcommit cd1da5cec49fb7fe6238a00d9ba550b3ed78fa08 255373143b9aSmrgAuthor: Ben Byer <bbyer@bbyer.local> 255473143b9aSmrgDate: Wed Nov 14 03:57:57 2007 -0800 255573143b9aSmrg 255673143b9aSmrg Fix for incorrect processing of recycled launchd socket on OS X 255773143b9aSmrg 255873143b9aSmrgcommit 3da4d6c1dc05f9e1291b023a97535eb67f0830e2 255973143b9aSmrgAuthor: Ben Byer <bbyer@bbyer.local> 256073143b9aSmrgDate: Wed Nov 14 03:55:42 2007 -0800 256173143b9aSmrg 256273143b9aSmrg removed cvs tags 256373143b9aSmrg 256473143b9aSmrgcommit 496cf2c46d2123c3bed3e6878f8f9a62e87ce559 256573143b9aSmrgAuthor: Dodji Seketeli <dodji@seketeli.org> 256673143b9aSmrgDate: Tue Sep 11 12:52:44 2007 +0200 256773143b9aSmrg 256873143b9aSmrg libxtrans: fixed a typo in my last commit 256973143b9aSmrg 257073143b9aSmrg * Xtranssock.c: (SocketReopen): oops fix a typo in my last commit. 257173143b9aSmrg 257273143b9aSmrgcommit 88e141225113fcc4ebe5e8fe361e75673cdbf9ff 257373143b9aSmrgAuthor: Dodji Seketeli <dodji@seketeli.org> 257473143b9aSmrgDate: Tue Sep 11 08:48:03 2007 +0200 257573143b9aSmrg 257673143b9aSmrg libxtrans: fix linux compilation breakage 257773143b9aSmrg 257873143b9aSmrg * Xtranssock.c: 257973143b9aSmrg (SocketReopen): protect use of BSD4.4 socket with BSD44SOCKETS macro. 258073143b9aSmrg protect use of strlcnpy with HAVE_STRLCPY macro. 258173143b9aSmrg That one is defined (or not) by the xserver configure. 258273143b9aSmrg 258373143b9aSmrgcommit 6217f34977bfa17b66b89df5d45420774abedcb3 258473143b9aSmrgAuthor: Ben Byer <bbyer@bbyer.apple.com> 258573143b9aSmrgDate: Wed Sep 5 18:29:44 2007 -0700 258673143b9aSmrg 258773143b9aSmrg changes to support launchd on OS X 258873143b9aSmrg 258973143b9aSmrgcommit 4d0cfe491046df26027db291530b247b7f24df5b 259073143b9aSmrgAuthor: Ben Byer <bbyer@bbyer.apple.com> 259173143b9aSmrgDate: Wed Sep 5 18:04:01 2007 -0700 259273143b9aSmrg 259373143b9aSmrg suppress warning about socket directory ownership on OS X 259473143b9aSmrg 259573143b9aSmrg We don't need to warn the user about the fact that the socket 259673143b9aSmrg directory is not owned by root under OS X; on that platform, 259773143b9aSmrg it's never owned by root, as the X server runs as the normal user. 259873143b9aSmrg 259973143b9aSmrgcommit de93d67f6d48c7c08f2554cb85515bcf7dfbffb2 260073143b9aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 260173143b9aSmrgDate: Tue Aug 21 17:54:23 2007 -0700 260273143b9aSmrg 260373143b9aSmrg Version bump: 1.0.4 260473143b9aSmrg 260573143b9aSmrgcommit 5e16b0ebccb233f7aeaf3928a853ee966b7cbb39 260673143b9aSmrgAuthor: Kean Johnston <kean@armory.com> 260773143b9aSmrgDate: Wed Jul 18 09:27:06 2007 -0700 260873143b9aSmrg 260973143b9aSmrg Fix typo in Xtranslcl.c (sprintf with size argument should be snprintf) 261073143b9aSmrg 261173143b9aSmrgcommit 1abc981349140260d6fb643d29cf2b851fc06ac9 261273143b9aSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 261373143b9aSmrgDate: Sat Dec 16 01:15:21 2006 +0200 261473143b9aSmrg 261573143b9aSmrg bump to 1.0.3 261673143b9aSmrg 261773143b9aSmrgcommit 8172528bb894856aa5b133f61444294dc5a347e6 261873143b9aSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 261973143b9aSmrgDate: Wed Dec 6 18:51:59 2006 +0200 262073143b9aSmrg 262173143b9aSmrg Makefile.am: make ChangeLog hook safer 262273143b9aSmrg Make ChangeLog hook as safe as possible. 262373143b9aSmrg 262473143b9aSmrgcommit 5ffb704b1df9ec44a448d53d4c20b9d4c5d825d4 262573143b9aSmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net> 262673143b9aSmrgDate: Fri Oct 13 17:01:59 2006 -0400 262773143b9aSmrg 262873143b9aSmrg Bump to 1.0.2 262973143b9aSmrg 263073143b9aSmrgcommit ae3b57953f5c1fa875d19fb42a2178d7e594ea44 263173143b9aSmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net> 263273143b9aSmrgDate: Thu Oct 12 20:36:52 2006 -0400 263373143b9aSmrg 263473143b9aSmrg Fix the ChangeLog hook to distcheck. 263573143b9aSmrg 263673143b9aSmrgcommit 4a2f176da3e2171f4feea2e6c8787e24fdf204f3 263773143b9aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 263873143b9aSmrgDate: Fri Sep 15 14:59:15 2006 -0700 263973143b9aSmrg 264073143b9aSmrg Remove GIT_DIR setting from git log command 264173143b9aSmrg 264273143b9aSmrgcommit ec3abba0e351278876909bb5250d490b807d904a 264373143b9aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 264473143b9aSmrgDate: Fri Sep 15 13:54:18 2006 -0700 264573143b9aSmrg 264673143b9aSmrg Copy additional copyright/license statements from source to COPYING 264773143b9aSmrg 264873143b9aSmrgcommit b4c6bd92b3a8bed746da641c59a9f040e1d83768 264973143b9aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 265073143b9aSmrgDate: Wed Sep 13 14:09:22 2006 -0700 265173143b9aSmrg 265273143b9aSmrg Bug 728: RUI in _X11TransSocketINETGetAddr in file "Xtranssock.c" 265373143b9aSmrg 265473143b9aSmrg Bug #728: <https://bugs.freedesktop.org/show_bug.cgi?id=728> 265573143b9aSmrg Patch #3527: <https://bugs.freedesktop.org/attachment.cgi?id=3527> 265673143b9aSmrg bzero sockaddr structures before passing to kernel to convince memory 265773143b9aSmrg checkers that they are initialized before use 265873143b9aSmrg 265973143b9aSmrgcommit 5d006baadf213e91f131ffedc53c88a973fb1cba 266073143b9aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 266173143b9aSmrgDate: Thu Aug 24 17:40:24 2006 -0700 266273143b9aSmrg 266373143b9aSmrg Use SUN_LEN if it is defined on non-BSD44SOCKETS systems 266473143b9aSmrg 266573143b9aSmrgcommit 2495789d6c290e2037b2836f28b027786ea5b605 266673143b9aSmrgAuthor: Petr Salinger <petr.salinger@t-systems.cz> 266773143b9aSmrgDate: Sun Apr 23 01:31:00 2006 -0700 266873143b9aSmrg 266973143b9aSmrg Bug 4982: use offsetof for manipulating struct sockaddr_un 267073143b9aSmrg 267173143b9aSmrg X.Org Bugzilla #4982 <https://bugs.freedesktop.org/show_bug.cgi?id=4982> 267273143b9aSmrg Patch #5424 <https://bugs.freedesktop.org/attachment.cgi?id=5424> 267373143b9aSmrg 267473143b9aSmrgcommit 2633eaf8824828433a0eb9c9f3c4263b50342473 267573143b9aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 267673143b9aSmrgDate: Thu Aug 24 16:53:08 2006 -0700 267773143b9aSmrg 267873143b9aSmrg Try to capture the insanity of xtrans in a short README document 267973143b9aSmrg 268073143b9aSmrgcommit 02ffb657b023d9b2a2c6c1d2417da8dcb96aa4b2 268173143b9aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 268273143b9aSmrgDate: Thu Aug 24 14:46:42 2006 -0700 268373143b9aSmrg 268473143b9aSmrg More sprintf -> snprintf conversions 268573143b9aSmrg 268673143b9aSmrgcommit 3d5e7dd18c8836065c4835740211c10747b18abd 268773143b9aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 268873143b9aSmrgDate: Wed Aug 23 19:14:35 2006 -0700 268973143b9aSmrg 269073143b9aSmrg Replace static ChangeLog with dist-hook to generate from git-log 269173143b9aSmrg 269273143b9aSmrgcommit 92807fe90aad2303cec4b54bec40ce6edf671654 269373143b9aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 269473143b9aSmrgDate: Wed Aug 23 16:59:33 2006 -0700 269573143b9aSmrg 269673143b9aSmrg Add ResetListener for named pipe transport 269773143b9aSmrg 269873143b9aSmrg (more merging of Xtrans code from Solaris xtrans) 269973143b9aSmrg 270073143b9aSmrgcommit e11b861fcf3a295e5cb390cbac3a44d8ce4fad4f 270173143b9aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 270273143b9aSmrgDate: Tue Aug 22 11:29:46 2006 -0700 270373143b9aSmrg 270473143b9aSmrg Merge more fixes from Solaris xtrans 270573143b9aSmrg 270673143b9aSmrg Convert sprintf -> snprintf 270773143b9aSmrg Don't use fake readv/writev on Solaris x86. 270873143b9aSmrg 270973143b9aSmrgcommit 049932c0171855aa6d55222947f4d47495b6f173 271073143b9aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 271173143b9aSmrgDate: Mon Aug 21 19:08:19 2006 -0700 271273143b9aSmrg 271373143b9aSmrg Merge Solaris named pipe transport support into LOCALCONN 271473143b9aSmrg 271573143b9aSmrg Also clean up #ifdefs in Xtranslcl for which transport types are supported 271673143b9aSmrg Add "pipe" alias for named pipe transport on Solaris to match Solaris Xlib. 271773143b9aSmrg 271873143b9aSmrgcommit 11391a1ffe4c633507406d2a1ed5abe57c8698db 271973143b9aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 272073143b9aSmrgDate: Mon Aug 21 19:05:49 2006 -0700 272173143b9aSmrg 272273143b9aSmrg Add --enable-local-transport and set it on by default on SVR4 OS'es 272373143b9aSmrg 272473143b9aSmrgcommit c0ebfcde0dd3f82c0e5712764e4403b2837e09b5 272573143b9aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 272673143b9aSmrgDate: Mon Aug 21 19:04:54 2006 -0700 272773143b9aSmrg 272873143b9aSmrg Add *~ to .gitignore to skip emacs droppings 272973143b9aSmrg 273073143b9aSmrgcommit fe7054f2f5ce74ce9b8c1704899894bc1c9f32b7 273173143b9aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 273273143b9aSmrgDate: Thu Jul 13 14:59:21 2006 -0700 273373143b9aSmrg 273473143b9aSmrg renamed: .cvsignore -> .gitignore 273573143b9aSmrg 273673143b9aSmrgcommit 0eea51ea11381ba07d5e6953c7bf6519a3ded829 273773143b9aSmrgAuthor: Donnie Berkholz <spyderous@gentoo.org> 273873143b9aSmrgDate: Fri Jun 30 04:05:45 2006 +0000 273973143b9aSmrg 274073143b9aSmrg Bump to 1.0.1. 274173143b9aSmrg 274273143b9aSmrgcommit 8d37f63810fc12f113bfcf37065ac9da09702b46 274373143b9aSmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 274473143b9aSmrgDate: Tue Jun 20 19:11:16 2006 +0000 274573143b9aSmrg 274673143b9aSmrg Check setuild() return value. Bugzilla #7116. 274773143b9aSmrg 274873143b9aSmrgcommit f9a47b508a89c647829266aacb19a0fc2dbb6158 274973143b9aSmrgAuthor: Jeremy C. Reed <reed@reedmedia.net> 275073143b9aSmrgDate: Thu May 25 20:20:54 2006 +0000 275173143b9aSmrg 275273143b9aSmrg No code change. Just fix comment that said SOCKCONN to become TCPCONN. 275373143b9aSmrg (This dates back to 1994 or before.) 275473143b9aSmrg 275573143b9aSmrgcommit 2b7124954f5bedc8625c2f144bbbab4bbba7701c 275673143b9aSmrgAuthor: Kevin E Martin <kem@kem.org> 275773143b9aSmrgDate: Thu Dec 15 00:24:36 2005 +0000 275873143b9aSmrg 275973143b9aSmrg Update package version number for final X11R7 release candidate. 276073143b9aSmrg 276173143b9aSmrgcommit 3d3228a24513ea75c73f6d58ba50097f32b297a1 276273143b9aSmrgAuthor: Kevin E Martin <kem@kem.org> 276373143b9aSmrgDate: Wed Nov 9 21:19:14 2005 +0000 276473143b9aSmrg 276573143b9aSmrg Update package version number for X11R7 RC2 release. 276673143b9aSmrg 276773143b9aSmrgcommit 2cac02b2fe1ceaec2a2f1cd601d9ab4afcf3cb66 276873143b9aSmrgAuthor: Kean Johnson <kean@armory.com> 276973143b9aSmrgDate: Tue Nov 8 06:33:26 2005 +0000 277073143b9aSmrg 277173143b9aSmrg See ChangeLog entry 2005-11-07 for details. 277273143b9aSmrg 277373143b9aSmrgcommit 063a39b0e1e615387fd7baa570265ed71ca87c22 277473143b9aSmrgAuthor: Kevin E Martin <kem@kem.org> 277573143b9aSmrgDate: Wed Oct 19 02:48:13 2005 +0000 277673143b9aSmrg 277773143b9aSmrg Update package version number for RC1 release. 277873143b9aSmrg 277973143b9aSmrgcommit 21a498d25f567ada296d0321f65536dfc816482b 278073143b9aSmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 278173143b9aSmrgDate: Mon Oct 3 17:45:28 2005 +0000 278273143b9aSmrg 278373143b9aSmrg Bug #3813 <https://bugs.freedesktop.org/show_bug.cgi?id=3813> GNU/kFreeBSD 278473143b9aSmrg fix for xtrans (Robert Millan) 278573143b9aSmrg 278673143b9aSmrgcommit e41835b4b2fe03d8a1997bd8e8eabab2a94bccd5 278773143b9aSmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 278873143b9aSmrgDate: Sun Oct 2 21:01:35 2005 +0000 278973143b9aSmrg 279073143b9aSmrg //bugs.freedesktop.org/show_bug.cgi?id=4256> Patch #3046 279173143b9aSmrg <https://bugs.freedesktop.org/attachment.cgi?id=3046> Define 279273143b9aSmrg MAXHOSTNAMELEN if platform doesn't (Michael Banck) 279373143b9aSmrg 279473143b9aSmrgcommit 4683f28f0c9d1a1ee0338a32011219ed1fb3c565 279573143b9aSmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 279673143b9aSmrgDate: Fri Aug 19 23:53:22 2005 +0000 279773143b9aSmrg 279873143b9aSmrg Bugzilla #3957 <https://bugs.freedesktop.org/show_bug.cgi?id=3957> Patch 279973143b9aSmrg #2924 <https://bugs.freedesktop.org/attachment.cgi?id=2924> xtrans 280073143b9aSmrg changes for AIX (Dan McNichol, IBM) 280173143b9aSmrg Bugzilla #3957 <https://bugs.freedesktop.org/show_bug.cgi?id=3957> Patch 280273143b9aSmrg #2925 <https://bugs.freedesktop.org/attachment.cgi?id=2925> xtrans 280373143b9aSmrg changes for AIX (Dan McNichol, IBM) 280473143b9aSmrg 280573143b9aSmrgcommit 79db37c65905823b66411533152ab54407f04004 280673143b9aSmrgAuthor: Eric Anholt <anholt@freebsd.org> 280773143b9aSmrgDate: Wed Aug 17 19:10:49 2005 +0000 280873143b9aSmrg 280973143b9aSmrg On FreeBSD, some of the symbols necessary for secure RPC support are in 281073143b9aSmrg librpcsvc, so check for their presence in rpcsvc so that the library 281173143b9aSmrg will be added. 281273143b9aSmrg 281373143b9aSmrgcommit 5165ebdb8144cd5be706e49957f5c8b51b762821 281473143b9aSmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 281573143b9aSmrgDate: Tue Aug 16 02:23:41 2005 +0000 281673143b9aSmrg 281773143b9aSmrg Define BSD44SOCKETS if struct sockaddr_in has a sin_len member 281873143b9aSmrg 281973143b9aSmrgcommit 4ce01dc794022e74b01aac7b902acbbfebc74ed1 282073143b9aSmrgAuthor: Kevin E Martin <kem@kem.org> 282173143b9aSmrgDate: Fri Jul 29 21:22:54 2005 +0000 282273143b9aSmrg 282373143b9aSmrg Various changes preparing packages for RC0: 282473143b9aSmrg - Verify and update package version numbers as needed 282573143b9aSmrg - Implement versioning scheme 282673143b9aSmrg - Change bug address to point to bugzilla bug entry form 282773143b9aSmrg - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to 282873143b9aSmrg reenable it) 282973143b9aSmrg - Fix makedepend to use pkgconfig and pass distcheck 283073143b9aSmrg - Update build script to build macros first 283173143b9aSmrg - Update modular Xorg version 283273143b9aSmrg 283373143b9aSmrgcommit 4ddee2d488f8bdcee624be96fa52ca03a7e64b83 283473143b9aSmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 283573143b9aSmrgDate: Tue Jul 26 18:59:11 2005 +0000 283673143b9aSmrg 283773143b9aSmrg Use AC_TYPE_SIGNAL to replace Imake's SIGNAL_DEFINES (used in Xtransutil.c) 283873143b9aSmrg 283973143b9aSmrgcommit 0a80fbc1eb80343eaff27c48f9531f5ba709b6ef 284073143b9aSmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 284173143b9aSmrgDate: Tue Jul 26 18:55:41 2005 +0000 284273143b9aSmrg 284373143b9aSmrg Add config.h includes for modularization Use RETSIGTYPE if defined by 284473143b9aSmrg autoconf in addition to Imake's SIGNALRETURNSINT. Use 284573143b9aSmrg HAVE_WORKING_VFORK if defined by autoconf in addition to Imake's 284673143b9aSmrg HAS_VFORK 284773143b9aSmrg 284873143b9aSmrgcommit 9a44d60cb031f1779c228f13697fb17e17df10d5 284973143b9aSmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 285073143b9aSmrgDate: Sat Jul 23 19:52:56 2005 +0000 285173143b9aSmrg 285273143b9aSmrg typo 285373143b9aSmrg 285473143b9aSmrgcommit 65ca78f15fe7f1640f3610245957eac9bca0bf04 285573143b9aSmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 285673143b9aSmrgDate: Sun Jul 17 02:01:55 2005 +0000 285773143b9aSmrg 285873143b9aSmrg Move AC_MSG_RESULT so it shows up in the right place, not after other tests 285973143b9aSmrg are executed 286073143b9aSmrg 286173143b9aSmrgcommit f1d56df5736087eafa3db255437c918f6b9075a1 286273143b9aSmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 286373143b9aSmrgDate: Thu Jul 14 22:44:31 2005 +0000 286473143b9aSmrg 286573143b9aSmrg Split out TCP library/IPv6 support checks into XTRANS_TCP_FLAGS for sharing 286673143b9aSmrg with code like xdm that doesn't use Xtrans but accesses TCP sockets 286773143b9aSmrg directly. Clean up --enable flags and report settings in configure 286873143b9aSmrg output. 286973143b9aSmrg 287073143b9aSmrgcommit 9552877bf0a7be02c781ef8fb2f271573a55e297 287173143b9aSmrgAuthor: Keith Packard <keithp@keithp.com> 287273143b9aSmrgDate: Sat Jul 9 21:22:30 2005 +0000 287373143b9aSmrg 287473143b9aSmrg Add .cvsignore files 287573143b9aSmrg 287673143b9aSmrgcommit 586cc58eff6d3c68313e5c8aedb8ec2464069f2f 287773143b9aSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 287873143b9aSmrgDate: Sun Jul 3 23:51:24 2005 +0000 287973143b9aSmrg 288073143b9aSmrg Change <X11/os.h> to "os.h". 288173143b9aSmrg 288273143b9aSmrgcommit 926367f82972bd94a64ef76c8e036f27ca61fb14 288373143b9aSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 288473143b9aSmrgDate: Sun Jul 3 07:01:01 2005 +0000 288573143b9aSmrg 288673143b9aSmrg Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings. 288773143b9aSmrg Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. 288873143b9aSmrg Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all 288973143b9aSmrg source files in the xserver/xorg tree, predicated on defines of 289073143b9aSmrg HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to 289173143b9aSmrg <X11/fonts/foo.h>. 289273143b9aSmrg 289373143b9aSmrgcommit 40b7e438e4b441204ff47e1e25755162921d7c3e 289473143b9aSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 289573143b9aSmrgDate: Sat Jul 2 18:00:50 2005 +0000 289673143b9aSmrg 289773143b9aSmrg Make includedir=@includedir@ in xtrans.pc.in, not with /X11/Xtrans. 289873143b9aSmrg 289973143b9aSmrgcommit b413f4c1dddc467014adf16bfe31627e65508c12 290047a4502cSmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 290173143b9aSmrgDate: Wed Jun 22 22:46:39 2005 +0000 290273143b9aSmrg 290373143b9aSmrg Apply these patches from Theo van Klaveren: 290473143b9aSmrg lib-dmx.patch lib-FS.patch lib-X11.patch lib-XRes.patch 290573143b9aSmrg lib-XScrnSaver.patch lib-xtrans.patch 290673143b9aSmrg to make the libraries distcheck. 290773143b9aSmrg 290873143b9aSmrgcommit 57aac0006e27624a41f04c5d0c458b9f0108a084 290973143b9aSmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 291073143b9aSmrgDate: Wed Jun 22 22:36:51 2005 +0000 291173143b9aSmrg 291273143b9aSmrg Add the rest of my patch from bugzilla #1605 to define INADDR_NONE on 291373143b9aSmrg platforms that don't define it in the system headers. 291473143b9aSmrg 291573143b9aSmrgcommit f5a6a188407cec6e567070d192aac2db72cacd92 291647a4502cSmrgAuthor: Kristian Høgsberg <krh@redhat.com> 291773143b9aSmrgDate: Wed Jun 22 01:21:24 2005 +0000 291873143b9aSmrg 291973143b9aSmrg Apply patch by Alan Coopersmith from #1605 to fix address resolution of 292073143b9aSmrg hostnames starting with a digit for 64 bit architechtures. 292173143b9aSmrg 292273143b9aSmrgcommit 5bad61831b1c06888d80d92a0bf34acbeecda026 292373143b9aSmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 292473143b9aSmrgDate: Sat Jun 18 07:48:43 2005 +0000 292573143b9aSmrg 292673143b9aSmrg Move Secure RPC flags from X11/configure.ac to xtrans/xtrans.m4 since 292773143b9aSmrg multiple modules will need them 292873143b9aSmrg 292973143b9aSmrgcommit 62438b14130e0f8de6939767a108ef12558653a3 293073143b9aSmrgAuthor: Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> 293173143b9aSmrgDate: Thu Jun 9 15:56:48 2005 +0000 293273143b9aSmrg 293373143b9aSmrg Use $(includedir)/X11/Xtrans for Xtransincludedir 293473143b9aSmrg 293573143b9aSmrgcommit 7c8e397ddcbd0ae998cc4f23868726022d1aa47b 293673143b9aSmrgAuthor: Eric Anholt <anholt@freebsd.org> 293773143b9aSmrgDate: Wed Jun 8 06:24:53 2005 +0000 293873143b9aSmrg 293973143b9aSmrg Install the xtrans.m4 to the directory returned by aclocal --print-ac-dir, 294073143b9aSmrg so that the aclocal calls in other modules will pick it up if this 294173143b9aSmrg prefix's aclocal dir is not in a default path for system aclocal. 294273143b9aSmrg 294373143b9aSmrgcommit 58c7263ca5b64a21dc101bb4b24201ba67a8d068 294447a4502cSmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 294573143b9aSmrgDate: Wed May 25 21:47:56 2005 +0000 294673143b9aSmrg 294773143b9aSmrg - Add FSlib to symlink.sh 294873143b9aSmrg - Change Xtrans includedir back to be X11/Xtrans, so that users of it can 294973143b9aSmrg continue to include <X11/*> 295073143b9aSmrg - Add build system for FSlib 295173143b9aSmrg - Conditionally include config.h in xc/lib/FS 295273143b9aSmrg - Remove redundant include of FSproto.h in xc/lib/FS 295373143b9aSmrg - Add check to proto/X11/configure.ac whether -D_XOPEN_SOURCE is needed. 295473143b9aSmrg 295573143b9aSmrgcommit b2e662de63948928e4cbc7e3ba90631f150c5137 295673143b9aSmrgAuthor: Josh Triplett <josh@speakeasy.net> 295773143b9aSmrgDate: Mon May 23 01:53:21 2005 +0000 295873143b9aSmrg 295973143b9aSmrg Change xtransincludedir in pkg-config file to match change in Makefile.am. 296073143b9aSmrg 296173143b9aSmrgcommit 83d29f6e0c1587c8ad008672e7ae5631942559eb 296273143b9aSmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 296373143b9aSmrgDate: Sat May 21 23:07:48 2005 +0000 296473143b9aSmrg 296573143b9aSmrg xtrans: 296673143b9aSmrg Create autoconf macro XTRANS_CONNECTION_FLAGS to provide standard set of 296773143b9aSmrg --enable flags for which transports to support and common place to 296873143b9aSmrg update for required libraries for platforms that need certain libs for 296973143b9aSmrg certain transports 297073143b9aSmrg ICE: 297173143b9aSmrg Add ICE_t #define required by Xtrans headers. Replace static defines of 297273143b9aSmrg LOCALCONN & UNIXCONN with new XTRANS_CONNECTION_FLAGS macro. 297373143b9aSmrg X11: 297473143b9aSmrg Moved transport type checks to new macro XTRANS_CONNECTION_FLAGS in 297573143b9aSmrg xtrans.m4 in xtrans module so they can be shared by all modules using 297673143b9aSmrg xtrans. 297773143b9aSmrg 297873143b9aSmrgcommit bd79d86fb50233e0cd41a57b553f12b6d490ac7e 297973143b9aSmrgAuthor: Adam Jackson <ajax@nwnk.net> 298073143b9aSmrgDate: Thu May 19 00:22:33 2005 +0000 298173143b9aSmrg 298273143b9aSmrg revert last change, didn't do right thing at all, sorry for the noise 298373143b9aSmrg 298473143b9aSmrgcommit 10776fa562c060d74fdd4434a16408fe4bd34ab9 298573143b9aSmrgAuthor: Adam Jackson <ajax@nwnk.net> 298673143b9aSmrgDate: Thu May 19 00:10:08 2005 +0000 298773143b9aSmrg 298873143b9aSmrg Require automake 1.7 in AM_INIT_AUTOMAKE 298973143b9aSmrg 299073143b9aSmrgcommit daa7168e9e0cdff5eb06b0c9a7155f8880681fff 299147a4502cSmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 299273143b9aSmrgDate: Fri May 13 22:53:43 2005 +0000 299373143b9aSmrg 299473143b9aSmrg - For now put xtrans in X11/Xtrans/X11, since libX11 is looking for it in 299573143b9aSmrg <X11/...> 299673143b9aSmrg - For Xcomposite and Xdamage, don't link the build system out of the xc 299773143b9aSmrg tree 299873143b9aSmrg - Link the public X11 headers into their own directory 299973143b9aSmrg - Add links to XKeysymDB and XErrorDB 300073143b9aSmrg - Add links to all the Xlib man pages 300173143b9aSmrg - Add links to the lcUniConv subdirectory 300273143b9aSmrg - Conditionally include config.h in Xlib source 300373143b9aSmrg 300473143b9aSmrgcommit d11d95fa4faec21655625b7de27d8a71c08ffe2d 300547a4502cSmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 300673143b9aSmrgDate: Fri May 13 15:16:43 2005 +0000 300773143b9aSmrg 300873143b9aSmrg Dummy changes to ChangeLog/configure.ac to see if that fixes group 300973143b9aSmrg permissions 301073143b9aSmrg 301173143b9aSmrgcommit b8a8c31f63a543d1c1c6bb4ae26a4019b4400edc 301247a4502cSmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 301373143b9aSmrgDate: Fri May 13 15:04:52 2005 +0000 301473143b9aSmrg 301573143b9aSmrg Re-adding ChangeLog and configure.ac files 301673143b9aSmrg 301773143b9aSmrgcommit 798c08054ce5a8238f35fee3e69218ece74441fa 301847a4502cSmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 301973143b9aSmrgDate: Fri May 13 15:02:19 2005 +0000 302073143b9aSmrg 302173143b9aSmrg Temporarily remove ChangeLog configure.ac 302273143b9aSmrg 302373143b9aSmrgcommit b3da86ae588df14dde916674a4f6593edf1964f7 302447a4502cSmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 302573143b9aSmrgDate: Fri May 13 14:43:37 2005 +0000 302673143b9aSmrg 302773143b9aSmrg Dummy commit to see if that fixes the group execute permissions 302873143b9aSmrg 302973143b9aSmrgcommit ea04267da780c2c3f08a710d15468565897420c4 303047a4502cSmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 303173143b9aSmrgDate: Thu May 12 16:12:34 2005 +0000 303273143b9aSmrg 303373143b9aSmrg Make xtrans install in $(includedir)/X11/Xtrans. Remove all references to 303473143b9aSmrg Xtransdef. 303573143b9aSmrg Add Xdmcp build files 303673143b9aSmrg Add Wrap.h to lib/dmcp part of symlink script. 303773143b9aSmrg 303873143b9aSmrgcommit f25791629f3f443d2552bdb05bea1a960b530342 303973143b9aSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 304073143b9aSmrgDate: Thu May 12 02:49:16 2005 +0000 304173143b9aSmrg 304273143b9aSmrg Add Xtransdef.h.in as an AM_CONFIG_HEADER. 304373143b9aSmrg 304473143b9aSmrgcommit d628bf24f2bf0d017394b6961784d7ac5b33f46b 304547a4502cSmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 304673143b9aSmrgDate: Wed May 11 22:44:52 2005 +0000 304773143b9aSmrg 304873143b9aSmrg lib/Xau: 304973143b9aSmrg - Update AUTHORS, COPYING from Keith's tree 305073143b9aSmrg - Don't use gcc specific "-include config.h" 305173143b9aSmrg - Add autogen.sh 305273143b9aSmrg lib/xtrans: 305373143b9aSmrg - Add AUTHORS, COPYING, ChangeLog, Makefile.am, NEWS, README, autogen.sh, 305473143b9aSmrg configure.ac, xtrans.pc.in 305573143b9aSmrg xc/lib/Xau: 305673143b9aSmrg - Add conditionalized #include <config.h> 305773143b9aSmrg util/modular/symlink.sh 305873143b9aSmrg - Add functions symlink_lib_xau() and symlink_lib_xtrans() 305973143b9aSmrg util/modular/addconfig.h 306073143b9aSmrg - New script that adds #include <config.h> to files 306173143b9aSmrg 306273143b9aSmrgcommit c814f30e9a5dc48a24c20517334cf5f9c37e066a 306373143b9aSmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org> 306473143b9aSmrgDate: Wed Mar 2 11:20:29 2005 +0000 306573143b9aSmrg 306673143b9aSmrg xc/config/cf/DragonFly.cf 306773143b9aSmrg xc/config/cf/Imake.cf 306873143b9aSmrg xc/config/cf/Imakefile 306973143b9aSmrg xc/config/imake/imake.c 307073143b9aSmrg xc/config/imake/imakemdep.h 307173143b9aSmrg xc/extras/drm/shared/drm.h 307273143b9aSmrg xc/include/Xos_r.h 307373143b9aSmrg xc/lib/xtrans/Xtranssock.c 307473143b9aSmrg xc/programs/Xserver/hw/xfree86/os-support/xf86_OSlib.h 307573143b9aSmrg xc/programs/Xserver/hw/xfree86/os-support/xf86_libc.h 307673143b9aSmrg xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c 307773143b9aSmrg //bugs.freedesktop.org/show_bug.cgi?id=1712) attachment #2004 307873143b9aSmrg (https://bugs.freedesktop.org/attachment.cgi?id=2004): Add support for 307973143b9aSmrg DragonFly/BSD platform. Patch by Jeroen Ruigrok <asmodai@tendra.org> 308073143b9aSmrg and Mike Verona <firedragonfly@gmail.com>. 308173143b9aSmrg 308273143b9aSmrgcommit 92e80a5a67273fc60623b17a5f34c239f1ed6947 308373143b9aSmrgAuthor: Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> 308473143b9aSmrgDate: Mon Nov 15 15:06:56 2004 +0000 308573143b9aSmrg 308673143b9aSmrg Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added 308773143b9aSmrg mingw (Win32) port 308873143b9aSmrg 308973143b9aSmrgcommit d92a9d31416a8366cd065886d7ff352fefce646d 309073143b9aSmrgAuthor: Egbert Eich <eich@suse.de> 309173143b9aSmrgDate: Fri Aug 27 22:47:45 2004 +0000 309273143b9aSmrg 309373143b9aSmrg Set the define XtransFailSoft to restore the old behavior to fail softly 309473143b9aSmrg when socket directory cannot chowned/chmod to correct user/group. This 309573143b9aSmrg should be added on a per OS basis which hasn't been done. 309673143b9aSmrg 309773143b9aSmrgcommit 48ffd91cff9a07c68194f6d0b380dd2acd46a8ca 309873143b9aSmrgAuthor: Egbert Eich <eich@suse.de> 309973143b9aSmrgDate: Fri Jul 30 21:00:20 2004 +0000 310073143b9aSmrg 310173143b9aSmrg fail hard if socket directories cannot be chowned to root or chmod'ed to 310273143b9aSmrg the requested mode if 'sticky' bit is requested for this directory 310373143b9aSmrg instead of just print a warning that will remain unnoticed most of the 310473143b9aSmrg times. 310573143b9aSmrg 310673143b9aSmrgcommit c3e50fa69ea7a2d08a298866e8a63c0f07c8248d 310773143b9aSmrgAuthor: Egbert Eich <eich@suse.de> 310873143b9aSmrgDate: Fri Jul 30 18:40:36 2004 +0000 310973143b9aSmrg 311073143b9aSmrg Fixed typo in a comment. 311173143b9aSmrg Deleted bogus comment. 311273143b9aSmrg Added debugging support. 311373143b9aSmrg 311473143b9aSmrgcommit 79d38d618406ecc5228730a57ad406b280a5a189 311573143b9aSmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 311673143b9aSmrgDate: Sat Jul 17 01:13:31 2004 +0000 311773143b9aSmrg 311873143b9aSmrg Fix typo in debug message in MakeAllCLTSServerListeners 311973143b9aSmrg Add $(GETPEER_DEFINES) to DEPEND_DEFINES for makedepend 312073143b9aSmrg Add "localuser" and "localgroup" access types to server-interpreted 312173143b9aSmrg authentication scheme. 312273143b9aSmrg 312373143b9aSmrgcommit 8d0820e2058545e27f95d9fdc581262822799193 312473143b9aSmrgAuthor: Egbert Eich <eich@suse.de> 312573143b9aSmrgDate: Fri Apr 23 18:44:27 2004 +0000 312673143b9aSmrg 312773143b9aSmrg Merging XORG-CURRENT into trunk 312873143b9aSmrg 312973143b9aSmrgcommit c594d3393cd355f52545b05bcc27ee8a2c533caa 313073143b9aSmrgAuthor: Egbert Eich <eich@suse.de> 313173143b9aSmrgDate: Sun Mar 14 08:32:40 2004 +0000 313273143b9aSmrg 313373143b9aSmrg Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004 313473143b9aSmrg 313573143b9aSmrgcommit 2d51220fae172d2b8d28b971a853605b41038533 313673143b9aSmrgAuthor: Egbert Eich <eich@suse.de> 313773143b9aSmrgDate: Wed Mar 3 12:11:46 2004 +0000 313873143b9aSmrg 313973143b9aSmrg Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004 314073143b9aSmrg 314173143b9aSmrgcommit 6e2cb92d192171961165c8e5a24b00f35f56aaeb 314273143b9aSmrgAuthor: Egbert Eich <eich@suse.de> 314373143b9aSmrgDate: Thu Feb 26 13:35:36 2004 +0000 314473143b9aSmrg 314573143b9aSmrg readding XFree86's cvs IDs 314673143b9aSmrg 314773143b9aSmrgcommit 93f13d69958cb9c9adfe1244e478521269f9258b 314873143b9aSmrgAuthor: Egbert Eich <eich@suse.de> 314973143b9aSmrgDate: Thu Feb 26 09:22:54 2004 +0000 315073143b9aSmrg 315173143b9aSmrg Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004 315273143b9aSmrg 315373143b9aSmrgcommit 7a10db6531003055886e0e994c2ef8e46a010eb2 315473143b9aSmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 315573143b9aSmrgDate: Mon Feb 23 20:34:44 2004 +0000 315673143b9aSmrg 315773143b9aSmrg Import most of XFree86 4.4RC3. This import excludes files which have the 315873143b9aSmrg new license. If we want to, later we can import 4.4RC3 again and pick 315973143b9aSmrg up the files that have the new license, but for now the vendor branch 316073143b9aSmrg is "pure." 316173143b9aSmrg 316273143b9aSmrgcommit 871b8c33f2ab8c98b95aa3324bb70055f5207c61 316373143b9aSmrgAuthor: Egbert Eich <eich@suse.de> 316473143b9aSmrgDate: Thu Jan 29 08:08:15 2004 +0000 316573143b9aSmrg 316673143b9aSmrg Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004 316773143b9aSmrg 316873143b9aSmrgcommit 352e5de72e125d7d474907f354462cc1442e0989 316973143b9aSmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 317073143b9aSmrgDate: Fri Dec 19 20:54:45 2003 +0000 317173143b9aSmrg 317273143b9aSmrg XFree86 4.3.99.902 (RC 2) 317373143b9aSmrg 317473143b9aSmrgcommit d223c1bb16c503e58f07dfef14b8e79fe7c358ff 317573143b9aSmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 317673143b9aSmrgDate: Thu Dec 4 22:03:05 2003 +0000 317773143b9aSmrg 317873143b9aSmrg XFree86 4.3.99.901 (RC 1) 317973143b9aSmrg 318073143b9aSmrgcommit 6c36ea2d54ea6b6f0cbece06d867d0b884783d0c 318173143b9aSmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 318273143b9aSmrgDate: Tue Nov 25 19:28:21 2003 +0000 318373143b9aSmrg 318473143b9aSmrg XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks 318573143b9aSmrg 318673143b9aSmrgcommit 3b0d3a905e39624abe9ddd1ce20542097601e4c2 318773143b9aSmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 318873143b9aSmrgDate: Tue Nov 25 19:28:21 2003 +0000 318973143b9aSmrg 319073143b9aSmrg Initial revision 319173143b9aSmrg 319273143b9aSmrgcommit 3bd236a07c0ebaabb7337dd5d56bc57a028a9c0e 319373143b9aSmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 319473143b9aSmrgDate: Fri Nov 14 16:48:50 2003 +0000 319573143b9aSmrg 319673143b9aSmrg XFree86 4.3.0.1 319773143b9aSmrg 319873143b9aSmrgcommit 26781c4f009a4b448dca3ab4912cbf01182e3d92 319973143b9aSmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 320073143b9aSmrgDate: Fri Nov 14 15:54:40 2003 +0000 320173143b9aSmrg 320273143b9aSmrg R6.6 is the Xorg base-line 3203