ChangeLog revision da1f2d5d
1da1f2d5dSmrgcommit 7e8120c0574ab1910f63474ff6be8de0ddc4ccac 2da1f2d5dSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3da1f2d5dSmrgDate: Fri Aug 26 15:23:32 2022 -0700 4da1f2d5dSmrg 5da1f2d5dSmrg libFS 1.0.9 6da1f2d5dSmrg 7da1f2d5dSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8da1f2d5dSmrg 9da1f2d5dSmrgcommit ee33ecf31706877e1ab7dc257fadbb3eb535da50 10da1f2d5dSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 11da1f2d5dSmrgDate: Sun May 8 12:35:00 2022 -0700 12da1f2d5dSmrg 13da1f2d5dSmrg Convert code to use FSmallocarray() & FSreallocarray() 14da1f2d5dSmrg 15da1f2d5dSmrg Provides automatic integer overflow checking in allocation size calculations 16da1f2d5dSmrg (Though we already have explicit checks before using values provided 17da1f2d5dSmrg over the protocol in calculations, so many were already manually checked.) 18da1f2d5dSmrg 19da1f2d5dSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 20da1f2d5dSmrg 21da1f2d5dSmrgcommit 4a1d0977dbb6eb960ca4deedba90940bcaeecefb 22da1f2d5dSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 23da1f2d5dSmrgDate: Sun May 8 12:20:58 2022 -0700 24da1f2d5dSmrg 25da1f2d5dSmrg Import reallocarray() from libX11 (originally from OpenBSD) 26da1f2d5dSmrg 27da1f2d5dSmrg Wrapper for realloc() that checks for overflow when multiplying 28da1f2d5dSmrg arguments together, so we don't have to add overflow checks to 29da1f2d5dSmrg every single call. For documentation on usage, see: 30da1f2d5dSmrg http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/calloc.3 31da1f2d5dSmrg 32da1f2d5dSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 33da1f2d5dSmrg 34da1f2d5dSmrgcommit 8896fbce317e454e578cc80300693737e39e00fc 35da1f2d5dSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 36da1f2d5dSmrgDate: Sun May 8 12:05:16 2022 -0700 37da1f2d5dSmrg 38da1f2d5dSmrg gitlab CI: add a basic build test 39da1f2d5dSmrg 40da1f2d5dSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 41da1f2d5dSmrg 42da1f2d5dSmrgcommit 29f790a5c98abde13b3daa5a7b1c1f53c4574550 43da1f2d5dSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 44da1f2d5dSmrgDate: Sun May 8 12:01:22 2022 -0700 45da1f2d5dSmrg 46da1f2d5dSmrg Fix spelling/wording issues 47da1f2d5dSmrg 48da1f2d5dSmrg Found by using: 49da1f2d5dSmrg codespell --builtin clear,rare,usage,informal,code,names 50da1f2d5dSmrg 51da1f2d5dSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 52da1f2d5dSmrg 53da1f2d5dSmrgcommit aea1ce86c4391ba72de4e8599f3862eccd3599f0 54da1f2d5dSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 55da1f2d5dSmrgDate: Sun May 8 12:00:23 2022 -0700 56da1f2d5dSmrg 57da1f2d5dSmrg Build xz tarballs instead of bzip2 58da1f2d5dSmrg 59da1f2d5dSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 60da1f2d5dSmrg 61fe4c343aSmrgcommit 02de7390e58f00a3701f656a2b205dc6c8dafb58 62fe4c343aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 63fe4c343aSmrgDate: Sun Mar 10 15:39:06 2019 -0700 64fe4c343aSmrg 65fe4c343aSmrg libFS 1.0.8 66fe4c343aSmrg 67fe4c343aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 68fe4c343aSmrg 69fe4c343aSmrgcommit e8642e3203f9793c2cca19b2df334b4160c56742 70fe4c343aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 71fe4c343aSmrgDate: Fri Dec 7 19:29:44 2018 -0800 72fe4c343aSmrg 73fe4c343aSmrg Update configure.ac bug URL for gitlab migration 74fe4c343aSmrg 75fe4c343aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 76fe4c343aSmrg 77fe4c343aSmrgcommit 6052aa6479be8059c9294ced6e3a33e2316bb2d5 78fe4c343aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 79fe4c343aSmrgDate: Sun Nov 18 21:46:25 2018 -0800 80fe4c343aSmrg 81fe4c343aSmrg Update README for gitlab migration 82fe4c343aSmrg 83fe4c343aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 84fe4c343aSmrg 85fe4c343aSmrgcommit d3af455fb236931fadb6e863e5a4ed509c61d868 86fe4c343aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 87fe4c343aSmrgDate: Sun Sep 23 19:26:02 2018 -0700 88fe4c343aSmrg 89fe4c343aSmrg Don't try to send strings larger than protocol allows in requests 90fe4c343aSmrg 91fe4c343aSmrg Also clears up all "Loss of precision on implicit conversion" warnings 92fe4c343aSmrg from Oracle's Parfait static analyser. 93fe4c343aSmrg 94fe4c343aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 95fe4c343aSmrg 96fe4c343aSmrgcommit 12d64c65200930885c694d018ec66d8946b3a214 97fe4c343aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 98fe4c343aSmrgDate: Sun Sep 23 13:51:25 2018 -0700 99fe4c343aSmrg 100fe4c343aSmrg Fix sign comparison warning in loop index in FSQueryXInfo 101fe4c343aSmrg 102fe4c343aSmrg FSQXInfo.c: In function ‘FSQueryXInfo’: 103fe4c343aSmrg FSQXInfo.c:110:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 104fe4c343aSmrg for (j=0; j<props->num_offsets; j++) 105fe4c343aSmrg ^ 106fe4c343aSmrg 107fe4c343aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 108fe4c343aSmrg 109fe4c343aSmrgcommit 3eb9c6bbfb4e6caf6efb5dec8744f257c2d63be7 110fe4c343aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 111fe4c343aSmrgDate: Sun Sep 23 13:47:35 2018 -0700 112fe4c343aSmrg 113fe4c343aSmrg Fix sign comparison warning in loop indexes in FSQueryXExtents{8,16} 114fe4c343aSmrg 115fe4c343aSmrg FSQXExt.c: In function ‘FSQueryXExtents8’: 116fe4c343aSmrg FSQXExt.c:105:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 117fe4c343aSmrg for (i = 0; i < reply.num_extents; i++) { 118fe4c343aSmrg ^ 119fe4c343aSmrg FSQXExt.c: In function ‘FSQueryXExtents16’: 120fe4c343aSmrg FSQXExt.c:141:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 121fe4c343aSmrg for (i = 0; i < str_len; i++) { 122fe4c343aSmrg ^ 123fe4c343aSmrg FSQXExt.c:165:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 124fe4c343aSmrg for (i = 0; i < reply.num_extents; i++) { 125fe4c343aSmrg ^ 126fe4c343aSmrg 127fe4c343aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 128fe4c343aSmrg 129fe4c343aSmrgcommit 8213b7070c039ea16d0112eff01cc7420031c089 130fe4c343aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 131fe4c343aSmrgDate: Sun Sep 23 13:44:59 2018 -0700 132fe4c343aSmrg 133fe4c343aSmrg Fix sign comparison warning in loop indexes in FSQueryXBitmaps{8,16} 134fe4c343aSmrg 135fe4c343aSmrg FSQGlyphs.c: In function ‘FSQueryXBitmaps8’: 136fe4c343aSmrg FSQGlyphs.c:113:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 137fe4c343aSmrg for (i=0; i<reply.num_chars; i++) 138fe4c343aSmrg ^ 139fe4c343aSmrg FSQGlyphs.c: In function ‘FSQueryXBitmaps16’: 140fe4c343aSmrg FSQGlyphs.c:160:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 141fe4c343aSmrg for (i = 0; i < str_len; i++) { 142fe4c343aSmrg ^ 143fe4c343aSmrg FSQGlyphs.c:198:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 144fe4c343aSmrg for (i=0; i<reply.num_chars; i++) 145fe4c343aSmrg ^ 146fe4c343aSmrg 147fe4c343aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 148fe4c343aSmrg 149fe4c343aSmrgcommit caee4c2bf188484f117e5bd866e3b56c8506593e 150fe4c343aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 151fe4c343aSmrgDate: Sun Sep 23 13:40:30 2018 -0700 152fe4c343aSmrg 153fe4c343aSmrg Fix sign comparison warning in loop index in FSListCatalogues 154fe4c343aSmrg 155fe4c343aSmrg FSListCats.c: In function ‘FSListCatalogues’: 156fe4c343aSmrg FSListCats.c:104:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 157fe4c343aSmrg for (i = 0; i < rep.num_catalogues; i++) { 158fe4c343aSmrg ^ 159fe4c343aSmrg 160fe4c343aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 161fe4c343aSmrg 162fe4c343aSmrgcommit b37bbeb7ca931b0f5170e877b0bbfd0959d344b7 163fe4c343aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 164fe4c343aSmrgDate: Sun Sep 23 13:34:04 2018 -0700 165fe4c343aSmrg 166fe4c343aSmrg Fix sign comparison warning in loop index in FSListFontsWithXInfo 167fe4c343aSmrg 168fe4c343aSmrg FSFontInfo.c: In function ‘FSListFontsWithXInfo’: 169fe4c343aSmrg FSFontInfo.c:182:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 170fe4c343aSmrg for (j=0; j<pi[i]->num_offsets; j++) 171fe4c343aSmrg ^ 172fe4c343aSmrg 173fe4c343aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 174fe4c343aSmrg 175fe4c343aSmrgcommit fed3794a5204eace3926f13573b10f0b51f85fbc 176fe4c343aSmrgAuthor: Mihail Konev <k.mvc@ya.ru> 177fe4c343aSmrgDate: Thu Jan 26 13:52:49 2017 +1000 178fe4c343aSmrg 179fe4c343aSmrg autogen: add default patch prefix 180fe4c343aSmrg 181fe4c343aSmrg Signed-off-by: Mihail Konev <k.mvc@ya.ru> 182fe4c343aSmrg 183fe4c343aSmrgcommit 89f456580ea831652f119158f8b257dfd531a7e1 184fe4c343aSmrgAuthor: Emil Velikov <emil.l.velikov@gmail.com> 185fe4c343aSmrgDate: Mon Mar 9 12:00:52 2015 +0000 186fe4c343aSmrg 187fe4c343aSmrg autogen.sh: use quoted string variables 188fe4c343aSmrg 189fe4c343aSmrg Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent 190fe4c343aSmrg fall-outs, when they contain space. 191fe4c343aSmrg 192fe4c343aSmrg Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 193fe4c343aSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 194fe4c343aSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 195fe4c343aSmrg 196fe4c343aSmrgcommit 4ef3748251ac2139b73b137dcef529421447652b 197fe4c343aSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 198fe4c343aSmrgDate: Tue Jan 24 10:32:07 2017 +1000 199fe4c343aSmrg 200fe4c343aSmrg autogen.sh: use exec instead of waiting for configure to finish 201fe4c343aSmrg 202fe4c343aSmrg Syncs the invocation of configure with the one from the server. 203fe4c343aSmrg 204fe4c343aSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 205fe4c343aSmrg Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 206fe4c343aSmrg 207298453a4Smrgcommit a9db12661e7412dd935706c92db6d7bc46238782 208298453a4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 209298453a4SmrgDate: Thu Apr 30 21:14:46 2015 -0700 210298453a4Smrg 211298453a4Smrg libFS 1.0.7 212298453a4Smrg 213298453a4Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 214298453a4Smrg 215298453a4Smrgcommit f1c9c18e2601151e3dfa7f83b4748edd2a5a3a6e 216298453a4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 217298453a4SmrgDate: Wed Nov 5 17:49:30 2014 -0800 218298453a4Smrg 219298453a4Smrg Use 'imdent' to realign cpp indentation levels in FSlibos.h 220298453a4Smrg 221298453a4Smrg Parts were indented, others weren't, now is more consistent. 222298453a4Smrg 'git diff -w' shows no non-whitespace changes in this commit 223298453a4Smrg 224298453a4Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 225298453a4Smrg 226298453a4Smrgcommit f2c0bb056dbfbc2ca5b753b8de87b6c73742a990 227298453a4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 228298453a4SmrgDate: Wed Nov 5 17:48:18 2014 -0800 229298453a4Smrg 230298453a4Smrg Remove unneeded checks for #ifndef X_NOT_POSIX 231298453a4Smrg 232298453a4Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 233298453a4Smrg 234298453a4Smrgcommit aef4c4f1330dc01d535cd88b9805c3d5d164b070 235298453a4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 236298453a4SmrgDate: Fri Jul 11 20:24:22 2014 -0700 237298453a4Smrg 238298453a4Smrg Fix typos & wording issues in source comments 239298453a4Smrg 240298453a4Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 241298453a4Smrg 242298453a4Smrgcommit dcf25b1ed387d7019d2cf7703eeb33554987d63f 243298453a4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 244298453a4SmrgDate: Thu Jun 5 14:20:07 2014 -0700 245298453a4Smrg 246298453a4Smrg Fix some sign/size conversion warnings from clang 247298453a4Smrg 248298453a4Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 249298453a4Smrg 250298453a4Smrgcommit fa577a18f189fe454995306d38059570e1ad8bf2 251298453a4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 252298453a4SmrgDate: Wed Jun 4 23:36:45 2014 -0700 253298453a4Smrg 254298453a4Smrg Constify some more strings in API arguments 255298453a4Smrg 256298453a4Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 257298453a4Smrg 258298453a4Smrgcommit 5e0f1b91edb97759e2c07ec233c2ce8639c8e0fe 259298453a4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 260298453a4SmrgDate: Fri May 23 23:20:03 2014 -0700 261298453a4Smrg 262298453a4Smrg Constify pattern argument to FSListCatalogues 263298453a4Smrg 264298453a4Smrg The contents of pattern are simply copied to the request sent to 265298453a4Smrg the font server and never touched again, so can be labeled read-only. 266298453a4Smrg 267298453a4Smrg Fixes compiler warning building xfsinfo: 268298453a4Smrg 269298453a4Smrg xfsinfo.c: In function ‘print_catalogue_info’: 270298453a4Smrg xfsinfo.c:158:5: warning: passing argument 2 of ‘FSListCatalogues’ discards 271298453a4Smrg ‘const’ qualifier from pointer target type [enabled by default] 272298453a4Smrg char **cats = FSListCatalogues(svr, "*", 1000, &n); 273298453a4Smrg ^ 274298453a4Smrg In file included from xfsinfo.c:66:0: 275298453a4Smrg FSlib.h:255:16: note: expected ‘char *’ but argument is of type ‘const char *’ 276298453a4Smrg extern char ** FSListCatalogues ( FSServer *svr, char *pattern, 277298453a4Smrg 278298453a4Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 279298453a4Smrg 2806af7124fSmrgcommit 88be5c37c40070305e64c4b8dc0a1c1f6ca80440 2816af7124fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2826af7124fSmrgDate: Sun Mar 16 10:44:14 2014 -0700 2836af7124fSmrg 2846af7124fSmrg libFS 1.0.6 2856af7124fSmrg 2866af7124fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2876af7124fSmrg 2886af7124fSmrgcommit e5be46eceee9c0c0d5f0363d3e08b19f86f85fcb 2896af7124fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2906af7124fSmrgDate: Fri Jan 3 23:07:12 2014 -0800 2916af7124fSmrg 2926af7124fSmrg Use strlcpy instead of strcpy/strncpy if it is available 2936af7124fSmrg 2946af7124fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2956af7124fSmrg 2966af7124fSmrgcommit e831ef9246684298c147f9b26de0810b8218c3cb 2976af7124fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2986af7124fSmrgDate: Fri Jan 3 21:33:10 2014 -0800 2996af7124fSmrg 3006af7124fSmrg Replace malloc(strlen + 1); strcpy() with strdup() 3016af7124fSmrg 3026af7124fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3036af7124fSmrg Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net> 3046af7124fSmrg 3056af7124fSmrgcommit 980cf8ac0c636ff7ef1fccb9e74f116ac5ea34ae 3066af7124fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3076af7124fSmrgDate: Fri Jan 3 21:13:30 2014 -0800 3086af7124fSmrg 3096af7124fSmrg Remove unused internal helper _FSWireToEvent 3106af7124fSmrg 3116af7124fSmrg Since we build with -export-symbols-regex '^FS.*', it wasn't available 3126af7124fSmrg to callers outside libFS, and was never called by anything inside libFS. 3136af7124fSmrg 3146af7124fSmrg Seems to have been imported from XlibInt.c without ever being used. 3156af7124fSmrg 3166af7124fSmrg Flagged by cppcheck 1.62: 3176af7124fSmrg [FSlibInt.c:753]: (style) The function '_FSWireToEvent' is never used. 3186af7124fSmrg 3196af7124fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3206af7124fSmrg Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net> 3216af7124fSmrg 3226af7124fSmrgcommit b9f27dc863c3ca01bb231ee48e84bc60b39d4f1f 3236af7124fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3246af7124fSmrgDate: Fri Jan 3 20:55:33 2014 -0800 3256af7124fSmrg 3266af7124fSmrg Remove unused internal helper _FSEventsQueued 3276af7124fSmrg 3286af7124fSmrg Since we build with -export-symbols-regex '^FS.*', it wasn't available 3296af7124fSmrg to callers outside libFS, and was never called by anything inside libFS. 3306af7124fSmrg 3316af7124fSmrg Seems to have been imported from XlibInt.c without ever being used. 3326af7124fSmrg 3336af7124fSmrg Flagged by cppcheck 1.62: 3346af7124fSmrg [FSlibInt.c:180]: (style) The function '_FSEventsQueued' is never used. 3356af7124fSmrg 3366af7124fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3376af7124fSmrg Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net> 3386af7124fSmrg 3396af7124fSmrgcommit 37772516acb95b3c9934252994b7dfdc147dfd23 3406af7124fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3416af7124fSmrgDate: Fri Jan 3 20:50:32 2014 -0800 3426af7124fSmrg 3436af7124fSmrg Remove unused internal helper _FSAllocScratch 3446af7124fSmrg 3456af7124fSmrg Since we build with -export-symbols-regex '^FS.*', it wasn't available 3466af7124fSmrg to callers outside libFS, and was never called by anything inside libFS. 3476af7124fSmrg 3486af7124fSmrg Seems to have been imported from XlibInt.c without ever being used. 3496af7124fSmrg The _FSserver fields that it used (and nothing else did) are replaced 3506af7124fSmrg with "unused" placeholders to maintain struct layout/size. 3516af7124fSmrg 3526af7124fSmrg Flagged by cppcheck 1.62: 3536af7124fSmrg [FSlibInt.c:973]: (style) The function '_FSAllocScratch' is never used. 3546af7124fSmrg 3556af7124fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3566af7124fSmrg Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net> 3576af7124fSmrg 3586af7124fSmrgcommit ac1eb6e3ea54724cf3ab3ad1ccf0595df9e34786 3596af7124fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3606af7124fSmrgDate: Fri Jan 3 20:46:48 2014 -0800 3616af7124fSmrg 3626af7124fSmrg Remove unused internal helper _FSGetHostname 3636af7124fSmrg 3646af7124fSmrg Since we build with -export-symbols-regex '^FS.*', it wasn't available 3656af7124fSmrg to callers outside libFS, and was never called by anything inside libFS. 3666af7124fSmrg 3676af7124fSmrg Xtrans provides it's own exact copy of this function, which gets 3686af7124fSmrg the name _FSTransGetHostname when built in libFS, nothing in libFS 3696af7124fSmrg outside the Xtrans code calls a gethostname() function. 3706af7124fSmrg 3716af7124fSmrg Flagged by cppcheck 1.62: 3726af7124fSmrg [FSlibInt.c:1060]: (style) The function '_FSGetHostname' is never used. 3736af7124fSmrg 3746af7124fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3756af7124fSmrg Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net> 3766af7124fSmrg 3776af7124fSmrgcommit a4c12fe0ca5cb359bffe08b26a92ddcf8e194441 3786af7124fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3796af7124fSmrgDate: Fri Jan 3 20:04:33 2014 -0800 3806af7124fSmrg 3816af7124fSmrg If EAGAIN == EWOULDBLOCK, only need to check errno for one of them 3826af7124fSmrg 3836af7124fSmrg Solaris <sys/errno.h> has: 3846af7124fSmrg #define EWOULDBLOCK EAGAIN 3856af7124fSmrg so checking (errno == EAGAIN || errno == EWOULDBLOCK) is overkill. 3866af7124fSmrg 3876af7124fSmrg This leads cppcheck 1.62 to complain: 3886af7124fSmrg [FSlibInt.c:153] -> [FSlibInt.c:153]: (style) Same expression on both sides of '||'. 3896af7124fSmrg [FSlibInt.c:301] -> [FSlibInt.c:301]: (style) Same expression on both sides of '||'. 3906af7124fSmrg [FSlibInt.c:379] -> [FSlibInt.c:379]: (style) Same expression on both sides of '||'. 3916af7124fSmrg [FSlibInt.c:472] -> [FSlibInt.c:472]: (style) Same expression on both sides of '||'. 3926af7124fSmrg 3936af7124fSmrg This quiets it, and reduces the number of calls Solaris Studio cc 3946af7124fSmrg generates to the __errno() function to get the thread-specific errno value. 3956af7124fSmrg 3966af7124fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3976af7124fSmrg Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net> 3986af7124fSmrg 3996af7124fSmrgcommit b6885f7aedc3b6eba62ffa1edac1e8488d938cea 4006af7124fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4016af7124fSmrgDate: Fri Jan 3 19:57:09 2014 -0800 4026af7124fSmrg 4036af7124fSmrg Reduce scope & remove unneeded assignment of defaultp in FSGetErrorText() 4046af7124fSmrg 4056af7124fSmrg Suggested by cppcheck 1.62 4066af7124fSmrg 4076af7124fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4086af7124fSmrg 4096af7124fSmrgcommit dcb6c39feb63dcf7e843bd2394a2544fd4e79f9f 4106af7124fSmrgAuthor: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 4116af7124fSmrgDate: Thu Jan 2 01:03:49 2014 -0800 4126af7124fSmrg 4136af7124fSmrg FSOpenServer: Fix double-free in error path 4146af7124fSmrg 4156af7124fSmrg FSOpenServ.c:266:5: warning: Use of memory after it is freed 4166af7124fSmrg OutOfMemory(svr, setup); 4176af7124fSmrg ^~~~~~~~~~~~~~~~~~~~~~~ 4186af7124fSmrg 4196af7124fSmrg Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 4206af7124fSmrg 4216af7124fSmrgcommit 4b0b74f953619164dc2863ee2cd3f09d15c65a51 4226af7124fSmrgAuthor: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 4236af7124fSmrgDate: Thu Jan 2 00:49:27 2014 -0800 4246af7124fSmrg 4256af7124fSmrg Update error loop to correctly handle error in i==0 case 4266af7124fSmrg 4276af7124fSmrg FSOpenServ.c:183:3: warning: Function call argument is an uninitialized value 4286af7124fSmrg FSfree(alts[i].name); 4296af7124fSmrg ^~~~~~~~~~~~~~~~~~~~ 4306af7124fSmrg ./FSlibos.h:273:21: note: expanded from macro 'FSfree' 4316af7124fSmrg ^~~~~~~~~~~ 4326af7124fSmrg 4336af7124fSmrg Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 4346af7124fSmrg 4356af7124fSmrgcommit 5ed8b4cf1f1c35ef35a3c94350e6b96646a2a0b7 4366af7124fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4376af7124fSmrgDate: Fri Dec 27 11:01:35 2013 -0800 4386af7124fSmrg 4396af7124fSmrg Add AC_USE_SYSTEM_EXTENSIONS to expose non-standard extensions 4406af7124fSmrg 4416af7124fSmrg Required on Solaris to expose fd_mask in <sys/select.h> now that 4426af7124fSmrg xtrans 1.3 defines _XOPEN_SOURCE to 600 on Solaris, since fd_mask 4436af7124fSmrg is not defined in that version of the XPG standards. 4446af7124fSmrg 4456af7124fSmrg Fixes build failure: 4466af7124fSmrg ../../src/FSConnServ.c: In function '_FSWaitForWritable': 4476af7124fSmrg ../../src/FSConnServ.c:166:6: error: 'fd_mask' undeclared (first use in this function) 4486af7124fSmrg ../../src/FSConnServ.c:166:6: note: each undeclared identifier is reported only once for each function it appears in 4496af7124fSmrg 4506af7124fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4516af7124fSmrg Reviewed-by: Daniel Stone <daniel@fooishbar.org> 4526af7124fSmrg 4536af7124fSmrgcommit 19ca53de0aae67b1f23085c832b445576c6a0b25 4546af7124fSmrgAuthor: Adam Jackson <ajax@redhat.com> 4556af7124fSmrgDate: Fri Nov 1 11:14:58 2013 -0400 4566af7124fSmrg 4576af7124fSmrg Fix build with xtrans 1.3 4586af7124fSmrg 4596af7124fSmrg ->Readv was in fact being used, oops. Just call straight down to 4606af7124fSmrg readv() instead. 4616af7124fSmrg 4626af7124fSmrg Reviewed-by: Peter Harris <pharris@opentext.com> 4636af7124fSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 4646af7124fSmrg 4656af7124fSmrgcommit 96243bfec19d0f543de3ef590a482f7f6dcdaa3d 4666af7124fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4676af7124fSmrgDate: Mon Jun 24 22:52:09 2013 -0700 4686af7124fSmrg 4696af7124fSmrg Drop Cray (WORD64/MUSTCOPY) support 4706af7124fSmrg 4716af7124fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4726af7124fSmrg 4736af7124fSmrgcommit d30a927b79ee0faa5f4547d5d60570f8fcd11fc2 4746af7124fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4756af7124fSmrgDate: Mon Jun 24 22:46:52 2013 -0700 4766af7124fSmrg 4776af7124fSmrg Fix a couple comment typos 4786af7124fSmrg 4796af7124fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4806af7124fSmrg 4816af7124fSmrgcommit 665fb8c34183bbaba5c7deb045863090082f814b 4826af7124fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4836af7124fSmrgDate: Mon Jun 24 22:42:56 2013 -0700 4846af7124fSmrg 4856af7124fSmrg Require ANSI C89 pre-processor, drop pre-C89 token pasting support 4866af7124fSmrg 4876af7124fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4886af7124fSmrg 4896af7124fSmrgcommit 279fbcc23d6cd462e034dec6a9d1378cb86247e3 4906af7124fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4916af7124fSmrgDate: Tue May 28 17:42:06 2013 -0700 4926af7124fSmrg 4936af7124fSmrg Fix typo in readme ("xfslsfonts" should be "fslsfonts") 4946af7124fSmrg 4956af7124fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4966af7124fSmrg 4971bedbe3fSmrgcommit 9d1458e02fe8dcac68b32917c9b10fa49d7161e7 4981bedbe3fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4991bedbe3fSmrgDate: Tue May 28 17:17:40 2013 -0700 5001bedbe3fSmrg 5011bedbe3fSmrg libFS 1.0.5 5021bedbe3fSmrg 5031bedbe3fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5041bedbe3fSmrg 5051bedbe3fSmrgcommit 26dc23446c2e7818fdebfb46e101bac4883df07e 5061bedbe3fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5071bedbe3fSmrgDate: Sun Apr 14 09:07:32 2013 -0700 5081bedbe3fSmrg 5091bedbe3fSmrg Sign extension issue and integer overflow in FSOpenServer() [CVE-2013-1996] 5101bedbe3fSmrg 5111bedbe3fSmrg > altlen = (int) *ad++; <-- if char is 0xff, will sign extend to int (0xffffffff == -1) 5121bedbe3fSmrg > alts[i].name = (char *) FSmalloc(altlen + 1); <-- -1 + 1 == 0 5131bedbe3fSmrg > ... 5141bedbe3fSmrg > memmove(alts[i].name, ad, altlen); <-- memory corruption 5151bedbe3fSmrg 5161bedbe3fSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5171bedbe3fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5181bedbe3fSmrg 5191bedbe3fSmrgcommit f6030dd569094fb29720a4bf54aec784b1edcac5 5201bedbe3fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5211bedbe3fSmrgDate: Wed Apr 10 21:43:40 2013 -0700 5221bedbe3fSmrg 5231bedbe3fSmrg Get rid of more duplication in error cleanup code in FSListFontsWithXInfo 5241bedbe3fSmrg 5251bedbe3fSmrg Also get rely on free() to handle null pointers in cleanup code instead 5261bedbe3fSmrg of checking each one ourselves. 5271bedbe3fSmrg 5281bedbe3fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5291bedbe3fSmrg 5301bedbe3fSmrgcommit 1f260bfdcb8d83d6c21db70ad6ed0fa94e5f5abf 5311bedbe3fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5321bedbe3fSmrgDate: Wed Apr 10 20:55:36 2013 -0700 5331bedbe3fSmrg 5341bedbe3fSmrg Avoid accessing freed memory on realloc failure in FSListFontsWithXInfo 5351bedbe3fSmrg 5361bedbe3fSmrg Since we realloc 5 things in a row, and then check for failure, it's 5371bedbe3fSmrg quite possible one of our old pointers is now pointing to something 5381bedbe3fSmrg completely different, so instead update the pointers as we successfully 5391bedbe3fSmrg realloc them and then jump to the normal error processing cleanup if 5401bedbe3fSmrg one fails. 5411bedbe3fSmrg 5421bedbe3fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5431bedbe3fSmrg 5441bedbe3fSmrgcommit 3022dfdcdac08a4950695ded9f372e845f2be008 5451bedbe3fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5461bedbe3fSmrgDate: Wed Apr 10 19:04:22 2013 -0700 5471bedbe3fSmrg 5481bedbe3fSmrg Avoid reading outside bounds when _FSReply receives an Error response 5491bedbe3fSmrg 5501bedbe3fSmrg Upon receiving a response, _FSReply copies the first 8 bytes into *rep 5511bedbe3fSmrg and then looks at them to determine what type of response. If it's an 5521bedbe3fSmrg error packet, it then converts to an error struct and reads the rest, 5531bedbe3fSmrg but it was copying 16 bytes out of *rep to begin with, due to sloppy 5541bedbe3fSmrg casting. Since we immediately overwrite the second 8 bytes with the 5551bedbe3fSmrg data coming off the wire, this isn't horrible, but it really freaks out 5561bedbe3fSmrg static analysis and memory debugging tools. 5571bedbe3fSmrg 5581bedbe3fSmrg Fixes parfait 1.1 warning: 5591bedbe3fSmrg 5601bedbe3fSmrg Error: Buffer overrun 5611bedbe3fSmrg Read Outside Array Bounds in STD C function: Read outside array bounds in call to llvm.memcpy.p0i8.p0i8.i64. Buffer ((char*)((union fsError*)rep)) of size ??? is read at an offset of 16 5621bedbe3fSmrg size(((char*)((union fsError*)rep))) is 8, 16 is 16 5631bedbe3fSmrg at line 751 of src/FSlibInt.c in function '_FSReply'. 5641bedbe3fSmrg called at line 67 of src/FSSync.c in function 'FSSync' with rep = ((union fsReply*)&rep). 5651bedbe3fSmrg 5661bedbe3fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5671bedbe3fSmrg 5681bedbe3fSmrgcommit 932131874109931bb6d50acc47ac94e51a2353de 5691bedbe3fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5701bedbe3fSmrgDate: Wed Apr 10 18:54:35 2013 -0700 5711bedbe3fSmrg 5721bedbe3fSmrg Use NULL instead of 0 for null pointers 5731bedbe3fSmrg 5741bedbe3fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5751bedbe3fSmrg 5761bedbe3fSmrgcommit 90b9754da977cb6804da4c38711ff33db772a9ca 5771bedbe3fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5781bedbe3fSmrgDate: Wed Apr 10 18:30:24 2013 -0700 5791bedbe3fSmrg 5801bedbe3fSmrg Get rid of unnecessary casts in FSfree calls 5811bedbe3fSmrg 5821bedbe3fSmrg No need to cast all other pointers to char *, since C89 free takes 5831bedbe3fSmrg any type of pointer. Casting all of them just hides errors if you 5841bedbe3fSmrg try to free something that's not really a pointer. 5851bedbe3fSmrg 5861bedbe3fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5871bedbe3fSmrg 5881bedbe3fSmrgcommit 2cf3ed903048758ee696d410aba6afefd1582dec 5891bedbe3fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5901bedbe3fSmrgDate: Wed Apr 10 18:26:22 2013 -0700 5911bedbe3fSmrg 5921bedbe3fSmrg Get rid of unnecessary casts in FS*alloc calls 5931bedbe3fSmrg 5941bedbe3fSmrg Stop taking 64-bit size_t, truncating to 32-bit unsigned int, and then 5951bedbe3fSmrg putting into a 64-bit size_t argument to underlying *alloc call. 5961bedbe3fSmrg 5971bedbe3fSmrg Also stop casting results, since in C, that just hides missing prototype 5981bedbe3fSmrg errors that can cause memory corruption when taking an implicit 32-bit 5991bedbe3fSmrg int return value and trying to make a 64-bit pointer out of it. 6001bedbe3fSmrg 6011bedbe3fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6021bedbe3fSmrg 6031bedbe3fSmrgcommit 0ef550010ad1cb08297951b385c0034010e89a9a 6041bedbe3fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6051bedbe3fSmrgDate: Fri Jan 18 23:18:47 2013 -0800 6061bedbe3fSmrg 6071bedbe3fSmrg Replace deprecated Automake INCLUDES variable with AM_CPPFLAGS 6081bedbe3fSmrg 6091bedbe3fSmrg Excerpt https://lists.gnu.org/archive/html/automake/2012-12/msg00038.html 6101bedbe3fSmrg 6111bedbe3fSmrg - Support for the long-deprecated INCLUDES variable will be removed 6121bedbe3fSmrg altogether in Automake 1.14. The AM_CPPFLAGS variable should be 6131bedbe3fSmrg used instead. 6141bedbe3fSmrg 6151bedbe3fSmrg This variable was deprecated in Automake releases prior to 1.10, which is 6161bedbe3fSmrg the current minimum level required to build X. 6171bedbe3fSmrg 6181bedbe3fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6191bedbe3fSmrg 6201bedbe3fSmrgcommit 464fb353a406cbb4c478fae89952979cb5c8775c 6211bedbe3fSmrgAuthor: Colin Walters <walters@verbum.org> 6221bedbe3fSmrgDate: Wed Jan 4 17:37:06 2012 -0500 6231bedbe3fSmrg 6241bedbe3fSmrg autogen.sh: Implement GNOME Build API 6251bedbe3fSmrg 6261bedbe3fSmrg http://people.gnome.org/~walters/docs/build-api.txt 6271bedbe3fSmrg 6281bedbe3fSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 6291bedbe3fSmrg 6301bedbe3fSmrgcommit 0e0109c5d035c9f803b52d2189151f600de59866 6311bedbe3fSmrgAuthor: Adam Jackson <ajax@redhat.com> 6321bedbe3fSmrgDate: Tue Jan 15 14:28:48 2013 -0500 6331bedbe3fSmrg 6341bedbe3fSmrg configure: Remove AM_MAINTAINER_MODE 6351bedbe3fSmrg 6361bedbe3fSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 6371bedbe3fSmrg 6381bedbe3fSmrgcommit 56c83935a873fa7c6bb0c8c7d9f755ee08439aa5 6391bedbe3fSmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 6401bedbe3fSmrgDate: Thu Jul 12 14:39:26 2012 +0200 6411bedbe3fSmrg 6421bedbe3fSmrg Fix a prototype error 6431bedbe3fSmrg 6441bedbe3fSmrg Per NetBSD PR 41899 from Henning Petersen. 6451bedbe3fSmrg 6461bedbe3fSmrg Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 6471bedbe3fSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 6481bedbe3fSmrg 6491bedbe3fSmrgcommit 589eea0713cacb7b6889d15e4dbcd2914684db9b 6501bedbe3fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6511bedbe3fSmrgDate: Fri Mar 2 19:47:42 2012 -0800 6521bedbe3fSmrg 6531bedbe3fSmrg libFS 1.0.4 6541bedbe3fSmrg 6551bedbe3fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6561bedbe3fSmrg 6571bedbe3fSmrgcommit 9e5c931053f261cc97e3d7b75a5c2f14990bbb9d 6581bedbe3fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6591bedbe3fSmrgDate: Fri Mar 2 19:42:18 2012 -0800 6601bedbe3fSmrg 6611bedbe3fSmrg Remove unneeded shadow definition of 'i' from FSQueryXBitmaps16 6621bedbe3fSmrg 6631bedbe3fSmrg Fixes gcc warning: 6641bedbe3fSmrg FSQGlyphs.c: In function 'FSQueryXBitmaps16': 6651bedbe3fSmrg FSQGlyphs.c:153:6: warning: declaration of 'i' shadows a previous local 6661bedbe3fSmrg FSQGlyphs.c:143:10: warning: shadowed declaration is here 6671bedbe3fSmrg 6681bedbe3fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6691bedbe3fSmrg 6701bedbe3fSmrgcommit 4ebfa48f74deb4f35490e02eeeb1e59ff56856ab 6711bedbe3fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6721bedbe3fSmrgDate: Sun Dec 4 08:54:38 2011 -0800 6731bedbe3fSmrg 6741bedbe3fSmrg Fix builds of FSlibInt.c with Solaris Studio compilers 6751bedbe3fSmrg 6761bedbe3fSmrg Required in order to build with Studio cc now that xorg-macros is 6771bedbe3fSmrg setting -errwarn=E_FUNC_HAS_NO_RETURN_STMT since a bug in the Solaris 6781bedbe3fSmrg system headers causes the noreturn attribute to not be correctly 6791bedbe3fSmrg applied to the exit() prototype in <stdlib.h> when building with 6801bedbe3fSmrg Studio instead of gcc. 6811bedbe3fSmrg 6821bedbe3fSmrg Otherwise compiler exits with error: 6831bedbe3fSmrg "FSlibInt.c", line 976: Function has no return statement : _FSDefaultIOError 6841bedbe3fSmrg 6851bedbe3fSmrg Uses Studio-specific pragma instead of adding another exit() prototype 6861bedbe3fSmrg with a noreturn attribute to avoid causing gcc to warn about having 6871bedbe3fSmrg a redundant prototype for the exit() function. 6881bedbe3fSmrg 6891bedbe3fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6901bedbe3fSmrg 6911bedbe3fSmrgcommit 447b3268bfb2d6a92d105ad75c2ac5462f1adecb 6921bedbe3fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6931bedbe3fSmrgDate: Fri Nov 11 22:54:21 2011 -0800 6941bedbe3fSmrg 6951bedbe3fSmrg Mark pattern argument to FSListFonts* as const char * 6961bedbe3fSmrg 6971bedbe3fSmrg Needed to fix gcc -Wwrite-strings warnings in clients such as fslsfonts 6981bedbe3fSmrg 6991bedbe3fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7001bedbe3fSmrg 7011bedbe3fSmrgcommit 5dae1f32a775c3f99f26571f3fab8fb4f0f2874f 7021bedbe3fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7031bedbe3fSmrgDate: Wed Sep 28 22:28:22 2011 -0700 7041bedbe3fSmrg 7051bedbe3fSmrg Change FSOpenServer and FSServerName to take const char * args. 7061bedbe3fSmrg 7071bedbe3fSmrg Almost matches the current versions of the XOpenDisplay & XDisplayName 7081bedbe3fSmrg functions they're modeled on - unlike XDisplayName, FSServerName now 7091bedbe3fSmrg returns const char * as well so we don't lose the constness of the 7101bedbe3fSmrg string passed in if we return it. 7111bedbe3fSmrg 7121bedbe3fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7131bedbe3fSmrg 7141bedbe3fSmrgcommit 1353bd6b52241857f9e37cc6403e1fee3c5e69e4 7151bedbe3fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7161bedbe3fSmrgDate: Mon Sep 26 15:07:57 2011 -0700 7171bedbe3fSmrg 7181bedbe3fSmrg Add const attributes to fix gcc -Wwrite-strings warnings 7191bedbe3fSmrg 7201bedbe3fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7211bedbe3fSmrg 7221bedbe3fSmrgcommit 750fbfe7562e94788e5dfecb6617e26d6d3f0157 7231bedbe3fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7241bedbe3fSmrgDate: Fri Sep 16 22:08:05 2011 -0700 7251bedbe3fSmrg 7261bedbe3fSmrg Strip trailing whitespace 7271bedbe3fSmrg 7281bedbe3fSmrg Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' 7291bedbe3fSmrg git diff -w & git diff -b show no diffs from this change 7301bedbe3fSmrg 7311bedbe3fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7321bedbe3fSmrg 7331bedbe3fSmrgcommit 06fd3e765d96fda0e323c11c7a6786b870655bbe 7341bedbe3fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 7351bedbe3fSmrgDate: Thu Apr 28 17:21:15 2011 -0700 7361bedbe3fSmrg 7371bedbe3fSmrg Silence clang's -Wformat-nonliteral around our error printing code 7381bedbe3fSmrg 7391bedbe3fSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 7401bedbe3fSmrg 7411bedbe3fSmrgcommit b39bb910ce7a8dc18922957bad7c0e7b1fe9c499 7421bedbe3fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 7431bedbe3fSmrgDate: Thu Apr 28 17:11:05 2011 -0700 7441bedbe3fSmrg 7451bedbe3fSmrg Annotate fatal errors with _X_NORETURN 7461bedbe3fSmrg 7471bedbe3fSmrg Fixes a false-positive with clang static analysis 7481bedbe3fSmrg 7491bedbe3fSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 7501bedbe3fSmrg 7511bedbe3fSmrgcommit 8607b9de7b331f7a97e623b1490194324a8b9a4b 7521bedbe3fSmrgAuthor: Cyril Brulebois <kibi@debian.org> 7531bedbe3fSmrgDate: Fri Feb 18 21:17:12 2011 +0100 7541bedbe3fSmrg 7551bedbe3fSmrg Silence gcc warning. 7561bedbe3fSmrg 7571bedbe3fSmrg Fix the build with CFLAGS="-Wall -Werror": 7581bedbe3fSmrg | CC FSGetErrorText.o 7591bedbe3fSmrg | cc1: warnings being treated as errors 7601bedbe3fSmrg | FSGetErrorText.c: In function ‘CheckErrorMessage’: 7611bedbe3fSmrg | FSGetErrorText.c:43: error: format ‘%d’ expects type ‘int’, but argument 5 has type ‘long unsigned int’ 7621bedbe3fSmrg 7631bedbe3fSmrg An int is likely to be sufficient for this buffer's size… 7641bedbe3fSmrg 7651bedbe3fSmrg Signed-off-by: Cyril Brulebois <kibi@debian.org> 7661bedbe3fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7671bedbe3fSmrg 7681bedbe3fSmrgcommit 07c1f9c135039606c63b88d51b93532199897ceb 7691bedbe3fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7701bedbe3fSmrgDate: Sun Feb 13 10:23:43 2011 -0800 7711bedbe3fSmrg 7721bedbe3fSmrg Off-by-one error on the other end of FSGetErrorText bounds check 7731bedbe3fSmrg 7741bedbe3fSmrg The Font Server protocol actually defines 0 as an error code too. 7751bedbe3fSmrg 7761bedbe3fSmrg Before this fix, test/FSGetErrorText printed: 7771bedbe3fSmrg 7781bedbe3fSmrg FSGetErrorText for code FSBadRequest (0) returned: 7791bedbe3fSmrg || 7801bedbe3fSmrg 7811bedbe3fSmrg Afterwards: 7821bedbe3fSmrg 7831bedbe3fSmrg FSGetErrorText for code FSBadRequest (0) returned: 7841bedbe3fSmrg |BadRequest, invalid request code or no such operation| 7851bedbe3fSmrg 7861bedbe3fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7871bedbe3fSmrg 7881bedbe3fSmrgcommit ba4f4e7604afc23431c62c3886ab9419d5913661 7891bedbe3fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7901bedbe3fSmrgDate: Sun Feb 13 10:20:48 2011 -0800 7911bedbe3fSmrg 7921bedbe3fSmrg Add simple test program for FSGetErrorText() 7931bedbe3fSmrg 7941bedbe3fSmrg When run with arguments, prints messages for the given codes. 7951bedbe3fSmrg When run with no arguments, prints messages for known valid error codes 7961bedbe3fSmrg and some invalid codes. 7971bedbe3fSmrg 7981bedbe3fSmrg Not run as part of "make check" since it requires a connection to an 7991bedbe3fSmrg xfs server to run, just available for developers to manually run when 8001bedbe3fSmrg needed. 8011bedbe3fSmrg 8021bedbe3fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8031bedbe3fSmrg 8041bedbe3fSmrgcommit 3deb5cb746e94854728f8265b6bb8eeaec367322 8051bedbe3fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8061bedbe3fSmrgDate: Fri Feb 11 18:32:08 2011 -0800 8071bedbe3fSmrg 8081bedbe3fSmrg Off-by-one error in FSGetErrorText bounds check 8091bedbe3fSmrg 8101bedbe3fSmrg Read outside array bounds (CWE 125): In array dereference of <unknown> with index 'code' 8111bedbe3fSmrg Array size is 12 elements (of 4 bytes each), index >= 1 and index <= 12 8121bedbe3fSmrg at line 108 of libFS/src/FSErrDis.c in function 'FSGetErrorText'. 8131bedbe3fSmrg 8141bedbe3fSmrg [ This bug was found by the Parfait 0.3.6 bug checking tool. 8151bedbe3fSmrg For more information see http://labs.oracle.com/projects/parfait/ ] 8161bedbe3fSmrg 8171bedbe3fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8181bedbe3fSmrg Reviewed-by: Julien Cristau <jcristau@debian.org> 8191bedbe3fSmrg 8201bedbe3fSmrgcommit ee8e378880e3fd3422f378b419bb77665626629c 8211bedbe3fSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 8221bedbe3fSmrgDate: Wed Feb 2 16:08:21 2011 -0500 8231bedbe3fSmrg 8241bedbe3fSmrg config: splitting FS and XTRANS compiler option no longer required 8251bedbe3fSmrg 8261bedbe3fSmrg This was done for the wrong reasons and fixed in commit: 8271bedbe3fSmrg 87c96993d17812a55d92ef32a91083614e258f02 8281bedbe3fSmrg where the libfs.pc.in was fixed. 8291bedbe3fSmrg 8301bedbe3fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8311bedbe3fSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8321bedbe3fSmrg 8331bedbe3fSmrgcommit 92a10dde49d707d79fe588bb9e5aba2534c0ab2c 8341bedbe3fSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 8351bedbe3fSmrgDate: Wed Feb 2 11:43:40 2011 -0500 8361bedbe3fSmrg 8371bedbe3fSmrg config: comment, minor upgrade, quote and layout configure.ac 8381bedbe3fSmrg 8391bedbe3fSmrg Group statements per section as per Autoconf standard layout 8401bedbe3fSmrg Quote statements where appropriate. 8411bedbe3fSmrg Autoconf recommends not using dnl instead of # for comments 8421bedbe3fSmrg 8431bedbe3fSmrg Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters. 8441bedbe3fSmrg Add AC_CONFIG_SRCDIR([Makefile.am]) 8451bedbe3fSmrg Update minimum version of util-macros to at least 1.8. 8461bedbe3fSmrg 8471bedbe3fSmrg This helps automated maintenance and release activities. 8481bedbe3fSmrg Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines 8491bedbe3fSmrg 8501bedbe3fSmrgcommit 195bc673e232e73b4cfa0fd34150a574683c69d1 8511bedbe3fSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 8521bedbe3fSmrgDate: Fri Jan 28 19:41:37 2011 -0500 8531bedbe3fSmrg 8541bedbe3fSmrg config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS 8551bedbe3fSmrg 8561bedbe3fSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8571bedbe3fSmrg 8581bedbe3fSmrgcommit 5895de6dedcb8603b6a415d3486395c29501868c 859da1f2d5dSmrgAuthor: Cristian Rodríguez <cristian.rodriguez@opensuse.org> 8601bedbe3fSmrgDate: Tue Dec 14 15:07:34 2010 -0500 8611bedbe3fSmrg 8621bedbe3fSmrg Export only public API symbols 8631bedbe3fSmrg 8641bedbe3fSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 8651bedbe3fSmrg Signed-off-by: Cristian Rodríguez <cristian.rodriguez@opensuse.org> 8661bedbe3fSmrg 867549e21daSmrgcommit 4218339a30a899ceb82a9a057c6b96bce624f917 868549e21daSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 869549e21daSmrgDate: Tue Oct 26 18:47:31 2010 -0700 870549e21daSmrg 871549e21daSmrg libFS 1.0.3 872549e21daSmrg 873549e21daSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 874549e21daSmrg 875549e21daSmrgcommit f6aacdb5143032a9e21b8bb09212fcf69c839a85 876549e21daSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 877549e21daSmrgDate: Tue Oct 26 18:45:48 2010 -0700 878549e21daSmrg 879549e21daSmrg Remove unnecessary calls from configure.ac 880549e21daSmrg 881549e21daSmrg AM_PROG_CC is already covered by XORG_DEFAULT_OPTIONS 882549e21daSmrg AC_SUBST of CFLAGS & LIBS is taken care of by PKG_CHECK_MODULES 883549e21daSmrg 884549e21daSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 885549e21daSmrg 886549e21daSmrgcommit c7c7dda28b61d9b008a2fab3baf8ed02662a6dbf 887549e21daSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 888549e21daSmrgDate: Mon Mar 29 16:50:33 2010 -0400 889549e21daSmrg 890549e21daSmrg config: update AC_PREREQ statement to 2.60 891549e21daSmrg 892549e21daSmrg Unrelated to the previous patches, the new value simply reflects 893549e21daSmrg the reality that the minimum level for autoconf to configure 894549e21daSmrg all x.org modules is 2.60 dated June 2006. 895549e21daSmrg 896549e21daSmrg ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz 897549e21daSmrg 898549e21daSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 899549e21daSmrg 900549e21daSmrgcommit dbe6f1912d77cd42ca0ac7ac5296113f84fc690e 901549e21daSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 902549e21daSmrgDate: Mon Mar 29 15:09:34 2010 -0400 903549e21daSmrg 904549e21daSmrg config: install in $docdir and distribute doc/FSlib.txt 905549e21daSmrg 906549e21daSmrg The dist_doc_DATA statement was designed for that purpose. 907549e21daSmrg 908549e21daSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 909549e21daSmrg 910549e21daSmrgcommit 315643e773d666d1cc2248fe7ba1bc979ec34c70 911549e21daSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 912549e21daSmrgDate: Mon Mar 29 14:53:48 2010 -0400 913549e21daSmrg 914549e21daSmrg config: remove the pkgconfig pc.in file from EXTRA_DIST 915549e21daSmrg 916549e21daSmrg Automake always includes it in the tarball. 917549e21daSmrg 918549e21daSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 919549e21daSmrg 920549e21daSmrgcommit a391fd191e207b4408ce230505df25570cf041d4 921549e21daSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 922549e21daSmrgDate: Fri Nov 27 20:56:03 2009 -0500 923549e21daSmrg 924549e21daSmrg Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES 925549e21daSmrg 926549e21daSmrg Now that the INSTALL file is generated. 927549e21daSmrg Allows running make maintainer-clean. 928549e21daSmrg 929549e21daSmrgcommit 15104bf1988d27e7dc4272d32dbd381455c0e9f7 930549e21daSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 931549e21daSmrgDate: Wed Oct 28 14:09:10 2009 -0400 932549e21daSmrg 933549e21daSmrg INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 934549e21daSmrg 935549e21daSmrg Add missing INSTALL file. Use standard GNU file on building tarball 936549e21daSmrg README may have been updated 937549e21daSmrg Remove AUTHORS file as it is empty and no content available yet. 938549e21daSmrg Remove NEWS file as it is empty and no content available yet. 939549e21daSmrg 940549e21daSmrgcommit 491adff64c38f940ca21f6be9e370ebe90f72c3e 941549e21daSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 942549e21daSmrgDate: Tue Oct 27 15:07:25 2009 -0400 943549e21daSmrg 944549e21daSmrg Deploy the new XORG_DEFAULT_OPTIONS #24242 945549e21daSmrg 946549e21daSmrg This macro aggregate a number of existing macros that sets commmon 947549e21daSmrg X.Org components configuration options. It shields the configuration file from 948549e21daSmrg future changes. 949549e21daSmrg 950549e21daSmrgcommit 1b6896d93de00ad79c28c537edead58309df0d31 951549e21daSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 952549e21daSmrgDate: Mon Oct 26 22:08:41 2009 -0400 953549e21daSmrg 954549e21daSmrg Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 955549e21daSmrg 956549e21daSmrg ChangeLog filename is known to Automake and requires no further 957549e21daSmrg coding in the makefile. 958549e21daSmrg 959549e21daSmrgcommit 40addd2ce521edadc6e6373b80c3c8c4f73c11c1 960549e21daSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 961549e21daSmrgDate: Thu Oct 22 12:34:18 2009 -0400 962549e21daSmrg 963549e21daSmrg .gitignore: use common defaults with custom section # 24239 964549e21daSmrg 965549e21daSmrg Using common defaults will reduce errors and maintenance. 966549e21daSmrg Only the very small or inexistent custom section need periodic maintenance 967549e21daSmrg when the structure of the component changes. Do not edit defaults. 968549e21daSmrg 969549e21daSmrgcommit be177a3bad2b3158c09ebfc0356e0944ca704732 970549e21daSmrgAuthor: Jeremy Huddleston <jeremyhu@freedesktop.org> 971549e21daSmrgDate: Wed Oct 21 12:47:23 2009 -0700 972549e21daSmrg 973549e21daSmrg This is not a GNU project, so declare it foreign. 974549e21daSmrg 975549e21daSmrg On Wed, 2009-10-21 at 13:36 +1000, Peter Hutterer wrote: 976549e21daSmrg > On Tue, Oct 20, 2009 at 08:23:55PM -0700, Jeremy Huddleston wrote: 977549e21daSmrg > > I noticed an INSTALL file in xlsclients and libXvMC today, and it 978549e21daSmrg > > was quite annoying to work around since 'autoreconf -fvi' replaces 979549e21daSmrg > > it and git wants to commit it. Should these files even be in git? 980549e21daSmrg > > Can I nuke them for the betterment of humanity and since they get 981549e21daSmrg > > created by autoreconf anyways? 982549e21daSmrg > 983549e21daSmrg > See https://bugs.freedesktop.org/show_bug.cgi?id=24206 984549e21daSmrg 985549e21daSmrg As an interim measure, replace AM_INIT_AUTOMAKE([dist-bzip2]) with 986549e21daSmrg AM_INIT_AUTOMAKE([foreign dist-bzip2]). This will prevent the generation 987549e21daSmrg of the INSTALL file. It is also part of the 24206 solution. 988549e21daSmrg 989549e21daSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org> 990549e21daSmrg 9912d8abe4fSmrgcommit 364af12a2426358461f5ed5b142c97411cad80c5 9922d8abe4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9932d8abe4fSmrgDate: Tue Jul 7 15:47:36 2009 -0700 9942d8abe4fSmrg 9952d8abe4fSmrg Version 1.0.2 9962d8abe4fSmrg 9972d8abe4fSmrgcommit 040bfd8f055f7e49f15e457842b8bca4f8d2020a 9982d8abe4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9992d8abe4fSmrgDate: Tue Jul 7 15:45:50 2009 -0700 10002d8abe4fSmrg 10012d8abe4fSmrg Move CWARNFLAGS to Makefile.am for easier build-time overriding 10022d8abe4fSmrg 10032d8abe4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10042d8abe4fSmrg 10052d8abe4fSmrgcommit 233b72428a47272b599a6be0708b06f7ed674f7c 10062d8abe4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 10072d8abe4fSmrgDate: Tue Jul 7 08:57:53 2009 -0700 10082d8abe4fSmrg 10092d8abe4fSmrg Strip out-of-date RCS/CVS & SCCS version tags 10102d8abe4fSmrg 10112d8abe4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10122d8abe4fSmrg 10132d8abe4fSmrgcommit f85f04b1287717d00cc29aaea2dc44bd59a2d2b3 10142d8abe4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 10152d8abe4fSmrgDate: Tue Jul 7 08:45:41 2009 -0700 10162d8abe4fSmrg 10172d8abe4fSmrg Constify FSErrorList 10182d8abe4fSmrg 10192d8abe4fSmrg Matches the code in libX11/src/ErrDes.c this is based on. 10202d8abe4fSmrg 10212d8abe4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10222d8abe4fSmrg 10232d8abe4fSmrgcommit b6c63181aded7f8e8879914b0f92767a47aa47cf 10242d8abe4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 10252d8abe4fSmrgDate: Wed Jun 17 16:05:03 2009 -0700 10262d8abe4fSmrg 10272d8abe4fSmrg Drop #ifdef USG checks for some truly ancient (pre-SVR4) SysV's 10282d8abe4fSmrg 10292d8abe4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10302d8abe4fSmrg 10312d8abe4fSmrgcommit b566d33d344876392254941d8ef73c848194c432 10322d8abe4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 10332d8abe4fSmrgDate: Wed Jun 17 15:36:54 2009 -0700 10342d8abe4fSmrg 10352d8abe4fSmrg Fix server name handling in IOError messages during connection setup 10362d8abe4fSmrg 10372d8abe4fSmrg - Don't try to sprintf a NULL string for the server name 10382d8abe4fSmrg - Initialize the server name pointer in the srv struct sooner, 10392d8abe4fSmrg so errors during connection initialization can print it instead 10402d8abe4fSmrg of a null string in the error message 10412d8abe4fSmrg 10422d8abe4fSmrg Had to update the error paths that freed the partially constructed 10432d8abe4fSmrg structure, so combined them into a common implmentation via "goto fail". 10442d8abe4fSmrg 10452d8abe4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10462d8abe4fSmrg 10472d8abe4fSmrgcommit eab796dabe05b4db2e193ab225deae613ac46a7b 10482d8abe4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 10492d8abe4fSmrgDate: Tue May 19 01:58:38 2009 -0700 10502d8abe4fSmrg 10512d8abe4fSmrg Make FSlib.txt prototypes match those in headers. 10522d8abe4fSmrg 10532d8abe4fSmrg Both conversion to ANSI C89 format and fixing some long standing mistakes. 10542d8abe4fSmrg 10552d8abe4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10562d8abe4fSmrg 10572d8abe4fSmrgcommit 39be8ae0ac4d5281a006de67ae11f7877f443bc8 10582d8abe4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 10592d8abe4fSmrgDate: Tue May 19 01:44:26 2009 -0700 10602d8abe4fSmrg 10612d8abe4fSmrg Move API doc from xorg-doc/doc/FSlib.doc 10622d8abe4fSmrg 10632d8abe4fSmrgcommit 84d71a733b6ab93318260a5641d7609dbc38a198 10642d8abe4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 10652d8abe4fSmrgDate: Mon Feb 2 20:34:29 2009 -0800 10662d8abe4fSmrg 10672d8abe4fSmrg Add README with pointers to mailing list, bugzilla & git repos 10682d8abe4fSmrg 10692d8abe4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10702d8abe4fSmrg 10712d8abe4fSmrgcommit 3779550c57db5fe845f955bec141ca24800f2fdb 10722d8abe4fSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 10732d8abe4fSmrgDate: Wed Jan 28 16:41:28 2009 -0200 10742d8abe4fSmrg 10752d8abe4fSmrg Janitor: Correct make distcheck and compiler warnings. 10762d8abe4fSmrg 10772d8abe4fSmrgcommit 84cd6e7402382862abb473e7686a375db29f4d99 10782d8abe4fSmrgAuthor: Peter Korsgaard <jacmet@sunsite.dk> 10792d8abe4fSmrgDate: Wed Oct 22 10:34:59 2008 -0400 10802d8abe4fSmrg 10812d8abe4fSmrg bcopy -> memmove 10822d8abe4fSmrg 1083ba6a1819Smrgcommit 9cbdb6ab49d8f9e6174a00d6b509bf6f1e3c1e78 1084ba6a1819SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 1085ba6a1819SmrgDate: Wed May 21 18:40:05 2008 -0700 1086ba6a1819Smrg 1087ba6a1819Smrg Version 1.0.1 1088ba6a1819Smrg 1089ba6a1819Smrgcommit 16c85877e9754dfc83b7c60c9892a85d1ac14eaa 1090ba6a1819SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 1091ba6a1819SmrgDate: Wed May 21 17:44:21 2008 -0700 1092ba6a1819Smrg 1093ba6a1819Smrg Replace sprintf with snprintf 1094ba6a1819Smrg 1095ba6a1819Smrgcommit 485308a08afe17e9486f8123c775b3e728d8d88f 1096ba6a1819SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 1097ba6a1819SmrgDate: Wed May 21 17:31:15 2008 -0700 1098ba6a1819Smrg 1099ba6a1819Smrg Add hooks to check code with static analyzers like lint & sparse 1100ba6a1819Smrg 1101ba6a1819Smrgcommit 0a64482e6dcd636b9c8b2f38ecfed7945adfdb39 1102ba6a1819SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 1103ba6a1819SmrgDate: Wed May 21 17:00:06 2008 -0700 1104ba6a1819Smrg 1105ba6a1819Smrg Put all copyright/license notices into COPYING file 1106ba6a1819Smrg 1107ba6a1819Smrgcommit 501f667cca6674704ad623a08918246ba2d2692d 1108ba6a1819SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1109ba6a1819SmrgDate: Tue Mar 4 17:41:18 2008 -0300 1110ba6a1819Smrg 1111ba6a1819Smrg libFS ansification. 1112ba6a1819Smrg 1113ba6a1819Smrgcommit 1513378c0f71caa42fc2620e439961cc82470a61 1114ba6a1819SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 1115ba6a1819SmrgDate: Sun Mar 9 00:16:17 2008 +0100 1116ba6a1819Smrg 1117ba6a1819Smrg nuke RCS Ids 1118ba6a1819Smrg 1119ba6a1819Smrgcommit 77f3fc68504451487bfc4ef8d393ccd95c823071 1120ba6a1819SmrgAuthor: James Cloos <cloos@jhcloos.com> 1121ba6a1819SmrgDate: Thu Dec 6 16:38:13 2007 -0500 1122ba6a1819Smrg 1123ba6a1819Smrg Replace static ChangeLog with dist-hook to generate from git log 1124ba6a1819Smrg 1125ba6a1819Smrgcommit 63fcbab9d8c6c3324d797e8ce5b52046484d2495 1126ba6a1819SmrgAuthor: James Cloos <cloos@jhcloos.com> 1127ba6a1819SmrgDate: Mon Sep 3 05:53:29 2007 -0400 1128ba6a1819Smrg 1129ba6a1819Smrg Add *~ to .gitignore to skip patch/emacs droppings 1130ba6a1819Smrg 1131ba6a1819Smrgcommit 3efa1082c4b58080b6d369882d3e6611adee8b5b 1132ba6a1819SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 1133ba6a1819SmrgDate: Thu Jul 13 14:58:43 2006 -0700 1134ba6a1819Smrg 1135ba6a1819Smrg renamed: .cvsignore -> .gitignore 1136ba6a1819Smrg 1137ba6a1819Smrgcommit df8de2bc08703b8de404e113cba4a47134bca68f 1138ba6a1819SmrgAuthor: Kevin E Martin <kem@kem.org> 1139ba6a1819SmrgDate: Thu Dec 15 00:24:27 2005 +0000 1140ba6a1819Smrg 1141ba6a1819Smrg Update package version number for final X11R7 release candidate. 1142ba6a1819Smrg 1143ba6a1819Smrgcommit ea190affa767ac2c64f70bc9a303929cf2eb6eff 1144ba6a1819SmrgAuthor: Kevin E Martin <kem@kem.org> 1145ba6a1819SmrgDate: Sat Dec 3 05:49:41 2005 +0000 1146ba6a1819Smrg 1147ba6a1819Smrg Update package version number for X11R7 RC3 release. 1148ba6a1819Smrg 1149ba6a1819Smrgcommit 11b1397e6c1356a70f42713f3a9779b866835d9e 1150ba6a1819SmrgAuthor: Kevin E Martin <kem@kem.org> 1151ba6a1819SmrgDate: Sat Dec 3 04:41:47 2005 +0000 1152ba6a1819Smrg 1153ba6a1819Smrg Add check and cflags for malloc(0) returning NULL. 1154ba6a1819Smrg 1155ba6a1819Smrgcommit 87c96993d17812a55d92ef32a91083614e258f02 1156ba6a1819SmrgAuthor: Kevin E Martin <kem@kem.org> 1157ba6a1819SmrgDate: Sat Nov 19 07:15:39 2005 +0000 1158ba6a1819Smrg 1159ba6a1819Smrg Update pkgconfig files to separate library build-time dependencies from 1160ba6a1819Smrg application build-time dependencies, and update package deps to work 1161ba6a1819Smrg with separate build roots. 1162ba6a1819Smrg 1163ba6a1819Smrgcommit 2404b41c83ea49dcbf654e6448ea99ab72c8d82b 1164ba6a1819SmrgAuthor: Kevin E Martin <kem@kem.org> 1165ba6a1819SmrgDate: Wed Nov 9 21:19:11 2005 +0000 1166ba6a1819Smrg 1167ba6a1819Smrg Update package version number for X11R7 RC2 release. 1168ba6a1819Smrg 1169ba6a1819Smrgcommit 516e8e27077b7c4b535189e398030f6c2c99300a 1170ba6a1819SmrgAuthor: Kean Johnson <kean@armory.com> 1171ba6a1819SmrgDate: Tue Nov 8 06:33:25 2005 +0000 1172ba6a1819Smrg 1173ba6a1819Smrg See ChangeLog entry 2005-11-07 for details. 1174ba6a1819Smrg 1175ba6a1819Smrgcommit b7c75dbf546e30fba6afba95b9a95fe4f50c6bba 1176ba6a1819SmrgAuthor: Kevin E Martin <kem@kem.org> 1177ba6a1819SmrgDate: Wed Oct 19 02:48:08 2005 +0000 1178ba6a1819Smrg 1179ba6a1819Smrg Update package version number for RC1 release. 1180ba6a1819Smrg 1181ba6a1819Smrgcommit 4902aa061cfdd2f2f35158240d9da9706698cf61 1182ba6a1819SmrgAuthor: Adam Jackson <ajax@nwnk.net> 1183ba6a1819SmrgDate: Wed Aug 3 03:28:00 2005 +0000 1184ba6a1819Smrg 1185ba6a1819Smrg Do PKG_CHECK_MODULES on a unique token instead of on "DEP", so builds with 1186ba6a1819Smrg a global configure cache don't get confused. 1187ba6a1819Smrg 1188ba6a1819Smrgcommit b15ff0fd68f67e37fc759742ebb637caac058f08 1189ba6a1819SmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 1190ba6a1819SmrgDate: Sat Jul 30 19:15:15 2005 +0000 1191ba6a1819Smrg 1192ba6a1819Smrg Add -D flags to clear various warnings (Stefan Dirsch) 1193ba6a1819Smrg 1194ba6a1819Smrgcommit 04ae86a006b608d2626ee90679cb84066cbc9710 1195ba6a1819SmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 1196ba6a1819SmrgDate: Sat Jul 30 19:09:37 2005 +0000 1197ba6a1819Smrg 1198ba6a1819Smrg Need to include "config.h" in fs_transport.c so Xtrans knows which 1199ba6a1819Smrg transport types to support 1200ba6a1819Smrg 1201ba6a1819Smrgcommit 35facec2fbd93d176f637dda5323c16a38350dfa 1202ba6a1819SmrgAuthor: Kevin E Martin <kem@kem.org> 1203ba6a1819SmrgDate: Fri Jul 29 21:22:49 2005 +0000 1204ba6a1819Smrg 1205ba6a1819Smrg Various changes preparing packages for RC0: 1206ba6a1819Smrg - Verify and update package version numbers as needed 1207ba6a1819Smrg - Implement versioning scheme 1208ba6a1819Smrg - Change bug address to point to bugzilla bug entry form 1209ba6a1819Smrg - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to 1210ba6a1819Smrg reenable it) 1211ba6a1819Smrg - Fix makedepend to use pkgconfig and pass distcheck 1212ba6a1819Smrg - Update build script to build macros first 1213ba6a1819Smrg - Update modular Xorg version 1214ba6a1819Smrg 1215ba6a1819Smrgcommit be058d899bb49c6319041d05d54ed8e289a62adf 1216ba6a1819SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 1217ba6a1819SmrgDate: Sat Jul 16 06:20:22 2005 +0000 1218ba6a1819Smrg 1219ba6a1819Smrg Set soversion to 6.0.0 using -version-number. 1220ba6a1819Smrg 1221ba6a1819Smrgcommit 227eb224880f912e7261d251ba2bf81992b7726f 1222ba6a1819SmrgAuthor: Keith Packard <keithp@keithp.com> 1223ba6a1819SmrgDate: Wed Jul 13 07:27:15 2005 +0000 1224ba6a1819Smrg 1225ba6a1819Smrg Eliminate xtrans CFLAGS from .pc file as xtrans is not part of the public 1226ba6a1819Smrg API. 1227ba6a1819Smrg 1228ba6a1819Smrgcommit 905552dfa2af617780bc2cd4d14edad845c3203b 1229ba6a1819SmrgAuthor: Keith Packard <keithp@keithp.com> 1230ba6a1819SmrgDate: Wed Jul 13 07:23:56 2005 +0000 1231ba6a1819Smrg 1232ba6a1819Smrg Make some minor source adjustments so that we don not need to use 1233ba6a1819Smrg -D_XOPEN_SOURCE -D_BSD_SOURCE everywhere as this will leak out of the 1234ba6a1819Smrg modular environment and into application build processes, potentially 1235ba6a1819Smrg foulling up their compiles. 1236ba6a1819Smrg 1237ba6a1819Smrgcommit 9a9aec0b9fb6315120c2ff87be94c6653802be76 1238ba6a1819SmrgAuthor: Keith Packard <keithp@keithp.com> 1239ba6a1819SmrgDate: Sat Jul 9 05:58:09 2005 +0000 1240ba6a1819Smrg 1241ba6a1819Smrg Add .cvsignore files Switch _la_CFLAGS for AM_CFLAGS to clean up directory 1242ba6a1819Smrg 1243ba6a1819Smrgcommit e5721d4ea9a1ef400f790583b33b0491a224733f 1244ba6a1819SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 1245ba6a1819SmrgDate: Sun Jul 3 07:00:55 2005 +0000 1246ba6a1819Smrg 1247ba6a1819Smrg Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings. 1248ba6a1819Smrg Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. 1249ba6a1819Smrg Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all 1250ba6a1819Smrg source files in the xserver/xorg tree, predicated on defines of 1251ba6a1819Smrg HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to 1252ba6a1819Smrg <X11/fonts/foo.h>. 1253ba6a1819Smrg 1254ba6a1819Smrgcommit 6847a3b405dd98a1aa7804e97e6b2ce13bbf8bd7 1255da1f2d5dSmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 1256ba6a1819SmrgDate: Wed Jun 22 22:46:31 2005 +0000 1257ba6a1819Smrg 1258ba6a1819Smrg Apply these patches from Theo van Klaveren: 1259ba6a1819Smrg lib-dmx.patch lib-FS.patch lib-X11.patch lib-XRes.patch 1260ba6a1819Smrg lib-XScrnSaver.patch lib-xtrans.patch 1261ba6a1819Smrg to make the libraries distcheck. 1262ba6a1819Smrg 1263ba6a1819Smrgcommit 5f6bbd9ed4002d9d6b5119a018bbc7345f47543a 1264ba6a1819SmrgAuthor: Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> 1265ba6a1819SmrgDate: Thu Jun 9 15:54:09 2005 +0000 1266ba6a1819Smrg 1267ba6a1819Smrg Replace <X11/transport.c> with <X11/Xtrans/transport.c> 1268ba6a1819Smrg 1269ba6a1819Smrgcommit e798bd7804c100232a927b075fcc58262c1e50f9 1270ba6a1819SmrgAuthor: Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> 1271ba6a1819SmrgDate: Thu Jun 9 15:52:02 2005 +0000 1272ba6a1819Smrg 1273ba6a1819Smrg Replace <X11/Xtrans.h> with <X11/Xtrans/Xtrans.h> 1274ba6a1819Smrg Copy Xtrans.h to exports/include/X11/Xtrans only 1275ba6a1819Smrg 1276ba6a1819Smrgcommit 6c0b06eddcffce31814cb103142f5cda2df9da91 1277da1f2d5dSmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 1278ba6a1819SmrgDate: Wed May 25 22:12:21 2005 +0000 1279ba6a1819Smrg 1280ba6a1819Smrg - Use XTRANS_CONNECTION_FLAGS macro in lib/FS/configure.ac 1281ba6a1819Smrg - Don't symlink transport.c, which is a generated file 1282ba6a1819Smrg - instead add a new file fs_transport.c that include Xtrans/X11/transport.c 1283ba6a1819Smrg 1284ba6a1819Smrgcommit 3a9234d968568f2009376cdb219ea47b90572c68 1285da1f2d5dSmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 1286ba6a1819SmrgDate: Wed May 25 21:47:56 2005 +0000 1287ba6a1819Smrg 1288ba6a1819Smrg - Add FSlib to symlink.sh 1289ba6a1819Smrg - Change Xtrans includedir back to be X11/Xtrans, so that users of it can 1290ba6a1819Smrg continue to include <X11/*> 1291ba6a1819Smrg - Add build system for FSlib 1292ba6a1819Smrg - Conditionally include config.h in xc/lib/FS 1293ba6a1819Smrg - Remove redundant include of FSproto.h in xc/lib/FS 1294ba6a1819Smrg - Add check to proto/X11/configure.ac whether -D_XOPEN_SOURCE is needed. 1295ba6a1819Smrg 1296ba6a1819Smrgcommit f4a1380add427a6ed7a0025d5acd5642c683900e 1297ba6a1819SmrgAuthor: Egbert Eich <eich@suse.de> 1298ba6a1819SmrgDate: Fri Apr 23 18:43:08 2004 +0000 1299ba6a1819Smrg 1300ba6a1819Smrg Merging XORG-CURRENT into trunk 1301ba6a1819Smrg 1302ba6a1819Smrgcommit 7642992f5eea63b270cb8a7cbb1d470417fc47ad 1303ba6a1819SmrgAuthor: Egbert Eich <eich@suse.de> 1304ba6a1819SmrgDate: Sun Mar 14 08:31:37 2004 +0000 1305ba6a1819Smrg 1306ba6a1819Smrg Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004 1307ba6a1819Smrg 1308ba6a1819Smrgcommit a0ded183f87e10b1202446c1824ba1b895beea9e 1309ba6a1819SmrgAuthor: Egbert Eich <eich@suse.de> 1310ba6a1819SmrgDate: Wed Mar 3 12:10:54 2004 +0000 1311ba6a1819Smrg 1312ba6a1819Smrg Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004 1313ba6a1819Smrg 1314ba6a1819Smrgcommit 6b3683787c2f47eaae68276e2919b2fbbbcf72c7 1315ba6a1819SmrgAuthor: Egbert Eich <eich@suse.de> 1316ba6a1819SmrgDate: Thu Feb 26 13:35:14 2004 +0000 1317ba6a1819Smrg 1318ba6a1819Smrg readding XFree86's cvs IDs 1319ba6a1819Smrg 1320ba6a1819Smrgcommit 7e0de805849b4bb1951376600d152d0121b06b52 1321ba6a1819SmrgAuthor: Egbert Eich <eich@suse.de> 1322ba6a1819SmrgDate: Thu Feb 26 09:22:28 2004 +0000 1323ba6a1819Smrg 1324ba6a1819Smrg Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004 1325ba6a1819Smrg 1326ba6a1819Smrgcommit 0c5c8c10d628f28943a9cde02fb079c486ed71a3 1327ba6a1819SmrgAuthor: Egbert Eich <eich@suse.de> 1328ba6a1819SmrgDate: Thu Jan 29 08:07:56 2004 +0000 1329ba6a1819Smrg 1330ba6a1819Smrg Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004 1331ba6a1819Smrg 1332ba6a1819Smrgcommit f0345958208586004bee80bac057b651162b8a27 1333ba6a1819SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 1334ba6a1819SmrgDate: Fri Dec 19 20:54:21 2003 +0000 1335ba6a1819Smrg 1336ba6a1819Smrg XFree86 4.3.99.902 (RC 2) 1337ba6a1819Smrg 1338ba6a1819Smrgcommit b84549f69b504b733592759c161d59a00de79ac3 1339ba6a1819SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 1340ba6a1819SmrgDate: Tue Nov 25 19:28:02 2003 +0000 1341ba6a1819Smrg 1342ba6a1819Smrg XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks 1343ba6a1819Smrg 1344ba6a1819Smrgcommit eec6ef2ff2462876d5c6df53691b6fb2e07dfcea 1345ba6a1819SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 1346ba6a1819SmrgDate: Fri Nov 14 16:48:44 2003 +0000 1347ba6a1819Smrg 1348ba6a1819Smrg XFree86 4.3.0.1 1349ba6a1819Smrg 1350ba6a1819Smrgcommit 9e8dd4f7585c334c5b08f05f01c8900b5e4edf52 1351ba6a1819SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 1352ba6a1819SmrgDate: Fri Nov 14 15:54:36 2003 +0000 1353ba6a1819Smrg 1354ba6a1819Smrg R6.6 is the Xorg base-line 1355